Skip to content

Commit

Permalink
feat: Generate Google.Apis.Storage.v1 version 1.68.0.3508
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tarafa authored and jskeet committed Aug 14, 2024
1 parent 1f8b016 commit 586f660
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 30 deletions.
24 changes: 12 additions & 12 deletions DiscoveryJson/storage.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"location": "me-central2"
}
],
"etag": "\"33353536373136383133343537373736313839\"",
"etag": "\"34373939373134303235393739323331393435\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
Expand Down Expand Up @@ -3107,7 +3107,7 @@
"type": "string"
},
"versions": {
"description": "If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning.",
"description": "If true, lists all versions of an object as distinct results. The default is false. For more information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning).",
"location": "query",
"type": "boolean"
}
Expand Down Expand Up @@ -3286,7 +3286,7 @@
"type": "string"
},
"object": {
"description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.",
"description": "Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).",
"location": "path",
"required": true,
"type": "string"
Expand Down Expand Up @@ -3755,7 +3755,7 @@
"type": "string"
},
"versions": {
"description": "If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning.",
"description": "If true, lists all versions of an object as distinct results. The default is false. For more information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning).",
"location": "query",
"type": "boolean"
}
Expand Down Expand Up @@ -4057,7 +4057,7 @@
]
},
"update": {
"description": "Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.",
"description": "Updates the state of an HMAC key. See the [HMAC Key resource descriptor](https://cloud.google.com/storage/docs/json_api/v1/projects/hmacKeys/update#request-body) for valid states.",
"httpMethod": "PUT",
"id": "storage.projects.hmacKeys.update",
"parameterOrder": [
Expand Down Expand Up @@ -4136,7 +4136,7 @@
}
}
},
"revision": "20240805",
"revision": "20240809",
"rootUrl": "https://storage.googleapis.com/",
"schemas": {
"AnywhereCache": {
Expand Down Expand Up @@ -4460,7 +4460,7 @@
"type": "object"
},
"lifecycle": {
"description": "The bucket's lifecycle configuration. See lifecycle management for more information.",
"description": "The bucket's lifecycle configuration. See [Lifecycle Management](https://cloud.google.com/storage/docs/lifecycle) for more information.",
"properties": {
"rule": {
"description": "A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken.",
Expand Down Expand Up @@ -4559,7 +4559,7 @@
"type": "object"
},
"location": {
"description": "The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the developer's guide for the authoritative list.",
"description": "The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Defaults to US. See the [Developer's Guide](https://cloud.google.com/storage/docs/locations) for the authoritative list.",
"type": "string"
},
"locationType": {
Expand Down Expand Up @@ -4676,7 +4676,7 @@
"type": "object"
},
"storageClass": {
"description": "The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see storage classes.",
"description": "The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see [Storage Classes](https://cloud.google.com/storage/docs/storage-classes).",
"type": "string"
},
"timeCreated": {
Expand All @@ -4700,7 +4700,7 @@
"type": "object"
},
"website": {
"description": "The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.",
"description": "The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the [Static Website Examples](https://cloud.google.com/storage/docs/static-website) for more information.",
"properties": {
"mainPageSuffix": {
"description": "If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages.",
Expand Down Expand Up @@ -5495,7 +5495,7 @@
"type": "string"
},
"crc32c": {
"description": "CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.",
"description": "CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see [Data Validation and Change Detection](https://cloud.google.com/storage/docs/data-validation).",
"type": "string"
},
"customTime": {
Expand Down Expand Up @@ -5549,7 +5549,7 @@
"type": "string"
},
"md5Hash": {
"description": "MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.",
"description": "MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see [Data Validation and Change Detection](https://cloud.google.com/storage/docs/data-validation).",
"type": "string"
},
"mediaLink": {
Expand Down
48 changes: 31 additions & 17 deletions Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6865,7 +6865,7 @@ public enum ProjectionEnum

/// <summary>
/// If true, lists all versions of an object as distinct results. The default is false. For more
/// information, see Object Versioning.
/// information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning).
/// </summary>
[Google.Apis.Util.RequestParameterAttribute("versions", Google.Apis.Util.RequestParameterType.Query)]
public virtual System.Nullable<bool> Versions { get; set; }
Expand Down Expand Up @@ -7241,8 +7241,8 @@ protected override void InitParameters()
/// <summary>Restores a soft-deleted object.</summary>
/// <param name="bucket">Name of the bucket in which the object resides.</param>
/// <param name="storageObject">
/// Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI
/// Path Parts.
/// Name of the object. For information about how to URL encode object names to be path safe, see [Encoding URI
/// Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).
/// </param>
/// <param name="generation">Selects a specific revision of this object.</param>
public virtual RestoreRequest Restore(string bucket, string storageObject, long generation)
Expand All @@ -7267,8 +7267,8 @@ public RestoreRequest(Google.Apis.Services.IClientService service, string bucket
public virtual string Bucket { get; private set; }

/// <summary>
/// Name of the object. For information about how to URL encode object names to be path safe, see Encoding
/// URI Path Parts.
/// Name of the object. For information about how to URL encode object names to be path safe, see [Encoding
/// URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).
/// </summary>
[Google.Apis.Util.RequestParameterAttribute("object", Google.Apis.Util.RequestParameterType.Path)]
public virtual string Object { get; private set; }
Expand Down Expand Up @@ -8355,7 +8355,7 @@ public enum ProjectionEnum

/// <summary>
/// If true, lists all versions of an object as distinct results. The default is false. For more
/// information, see Object Versioning.
/// information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning).
/// </summary>
[Google.Apis.Util.RequestParameterAttribute("versions", Google.Apis.Util.RequestParameterType.Query)]
public virtual System.Nullable<bool> Versions { get; set; }
Expand Down Expand Up @@ -9058,7 +9058,9 @@ protected override void InitParameters()
}

/// <summary>
/// Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.
/// Updates the state of an HMAC key. See the [HMAC Key resource
/// descriptor](https://cloud.google.com/storage/docs/json_api/v1/projects/hmacKeys/update#request-body) for
/// valid states.
/// </summary>
/// <param name="body">The body of the request.</param>
/// <param name="projectId">Project ID owning the service account of the updated key.</param>
Expand All @@ -9069,7 +9071,9 @@ public virtual UpdateRequest Update(Google.Apis.Storage.v1.Data.HmacKeyMetadata
}

/// <summary>
/// Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states.
/// Updates the state of an HMAC key. See the [HMAC Key resource
/// descriptor](https://cloud.google.com/storage/docs/json_api/v1/projects/hmacKeys/update#request-body) for
/// valid states.
/// </summary>
public class UpdateRequest : StorageBaseServiceRequest<Google.Apis.Storage.v1.Data.HmacKeyMetadata>
{
Expand Down Expand Up @@ -9413,13 +9417,17 @@ public class Bucket : Google.Apis.Requests.IDirectResponseSchema
[Newtonsoft.Json.JsonPropertyAttribute("labels")]
public virtual System.Collections.Generic.IDictionary<string, string> Labels { get; set; }

/// <summary>The bucket's lifecycle configuration. See lifecycle management for more information.</summary>
/// <summary>
/// The bucket's lifecycle configuration. See [Lifecycle
/// Management](https://cloud.google.com/storage/docs/lifecycle) for more information.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("lifecycle")]
public virtual LifecycleData Lifecycle { get; set; }

/// <summary>
/// The location of the bucket. Object data for objects in the bucket resides in physical storage within this
/// region. Defaults to US. See the developer's guide for the authoritative list.
/// region. Defaults to US. See the [Developer's Guide](https://cloud.google.com/storage/docs/locations) for the
/// authoritative list.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("location")]
public virtual string Location { get; set; }
Expand Down Expand Up @@ -9497,7 +9505,7 @@ public class Bucket : Google.Apis.Requests.IDirectResponseSchema
/// This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Values
/// include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLE_REDUCED_AVAILABILITY.
/// If this value is not specified when the bucket is created, it will default to STANDARD. For more
/// information, see storage classes.
/// information, see [Storage Classes](https://cloud.google.com/storage/docs/storage-classes).
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("storageClass")]
public virtual string StorageClass { get; set; }
Expand Down Expand Up @@ -9550,7 +9558,8 @@ public virtual System.DateTime? Updated

/// <summary>
/// The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a
/// web site. See the Static Website Examples for more information.
/// web site. See the [Static Website Examples](https://cloud.google.com/storage/docs/static-website) for more
/// information.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("website")]
public virtual WebsiteData Website { get; set; }
Expand Down Expand Up @@ -9835,7 +9844,10 @@ public class VpcNetworkSourcesData
}
}

/// <summary>The bucket's lifecycle configuration. See lifecycle management for more information.</summary>
/// <summary>
/// The bucket's lifecycle configuration. See [Lifecycle
/// Management](https://cloud.google.com/storage/docs/lifecycle) for more information.
/// </summary>
public class LifecycleData
{
/// <summary>
Expand Down Expand Up @@ -10105,7 +10117,8 @@ public class VersioningData

/// <summary>
/// The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a
/// web site. See the Static Website Examples for more information.
/// web site. See the [Static Website Examples](https://cloud.google.com/storage/docs/static-website) for more
/// information.
/// </summary>
public class WebsiteData
{
Expand Down Expand Up @@ -11050,7 +11063,8 @@ public class Object : Google.Apis.Requests.IDirectResponseSchema

/// <summary>
/// CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For
/// more information about using the CRC32c checksum, see Hashes and ETags: Best Practices.
/// more information about using the CRC32c checksum, see [Data Validation and Change
/// Detection](https://cloud.google.com/storage/docs/data-validation).
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("crc32c")]
public virtual string Crc32c { get; set; }
Expand Down Expand Up @@ -11143,8 +11157,8 @@ public virtual System.DateTime? HardDeleteTime
public virtual string KmsKeyName { get; set; }

/// <summary>
/// MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and
/// ETags: Best Practices.
/// MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see [Data
/// Validation and Change Detection](https://cloud.google.com/storage/docs/data-validation).
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("md5Hash")]
public virtual string Md5Hash { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- nupkg information -->
<PropertyGroup>
<Title>Google.Apis.Storage.v1 Client Library</Title>
<Version>1.68.0.3504</Version>
<Version>1.68.0.3508</Version>
<Authors>Google LLC</Authors>
<Copyright>Copyright 2024 Google LLC</Copyright>
<PackageTags>Google</PackageTags>
Expand Down

0 comments on commit 586f660

Please sign in to comment.