From 8421183361739fd2315864edddc29d57bfc70cfe Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:00 -0800 Subject: [PATCH 01/28] feat: Generate Google.Apis.AccessContextManager.v1 version 1.68.0.3594 --- DiscoveryJson/accesscontextmanager.v1.json | 59 ++-------------- .../Google.Apis.AccessContextManager.v1.cs | 69 +++---------------- ...Google.Apis.AccessContextManager.v1.csproj | 2 +- 3 files changed, 18 insertions(+), 112 deletions(-) diff --git a/DiscoveryJson/accesscontextmanager.v1.json b/DiscoveryJson/accesscontextmanager.v1.json index 1845db22da..cd6d11f21e 100644 --- a/DiscoveryJson/accesscontextmanager.v1.json +++ b/DiscoveryJson/accesscontextmanager.v1.json @@ -1295,7 +1295,7 @@ } } }, - "revision": "20241028", + "revision": "20241103", "rootUrl": "https://accesscontextmanager.googleapis.com/", "schemas": { "AccessContextManagerOperationMetadata": { @@ -1384,13 +1384,9 @@ }, "type": "array" }, - "reauthSettings": { - "$ref": "ReauthSettings", - "description": "Optional. Reauth settings applied to user access on a given AccessScope." - }, "sessionSettings": { "$ref": "SessionSettings", - "description": "Optional. Session settings applied to user access on a given AccessScope. Migrated from ReauthSettings" + "description": "Optional. Session settings applied to user access on a given AccessScope." } }, "type": "object" @@ -1909,10 +1905,6 @@ "description": "Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: \"organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N\"", "type": "string" }, - "reauthSettings": { - "$ref": "ReauthSettings", - "description": "Optional. GCSL policy for the group key." - }, "restrictedClientApplications": { "description": "Optional. A list of applications that are subject to this binding's restrictions. If the list is empty, the binding restrictions will universally apply to all applications.", "items": { @@ -1929,7 +1921,7 @@ }, "sessionSettings": { "$ref": "SessionSettings", - "description": "Optional. GCSL policy for the group key. Migrated from ReauthSettings" + "description": "Optional. GCSL policy for the group key." } }, "type": "object" @@ -2295,47 +2287,6 @@ }, "type": "object" }, - "ReauthSettings": { - "description": "Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings.", - "id": "ReauthSettings", - "properties": { - "maxInactivity": { - "description": "Optional. How long a user is allowed to take between actions before a new access token must be issued. Presently only set for Cloud Apps.", - "format": "google-duration", - "type": "string" - }, - "reauthMethod": { - "description": "Optional. Reauth method when users GCP session is up.", - "enum": [ - "REAUTH_METHOD_UNSPECIFIED", - "LOGIN", - "SECURITY_KEY", - "PASSWORD" - ], - "enumDescriptions": [ - "If method undefined in API, we will use LOGIN by default.", - "The user will prompted to perform regular login. Users who are enrolled for two-step verification and haven't chosen to \"Remember this computer\" will be prompted for their second factor.", - "The user will be prompted to autheticate using their security key. If no security key has been configured, then we will fallback to LOGIN.", - "The user will be prompted for their password." - ], - "type": "string" - }, - "sessionLength": { - "description": "Optional. The session length. Setting this field to zero is equal to disabling. Reauth. Also can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age param.", - "format": "google-duration", - "type": "string" - }, - "sessionLengthEnabled": { - "description": "Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the session length is basically infinite.", - "type": "boolean" - }, - "useOidcMaxAge": { - "description": "Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.", - "type": "boolean" - } - }, - "type": "object" - }, "ReplaceAccessLevelsRequest": { "description": "A request to replace all existing Access Levels in an Access Policy with the Access Levels provided. This is done atomically.", "id": "ReplaceAccessLevelsRequest", @@ -2427,6 +2378,10 @@ "description": "Description of the `ServicePerimeter` and its use. Does not affect behavior.", "type": "string" }, + "etag": { + "description": "Optional. An opaque identifier for the current version of the `ServicePerimeter`. Clients should not expect this to be in any specific format. If etag is not provided, the operation will be performed as if a valid etag is provided.", + "type": "string" + }, "name": { "description": "Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", "type": "string" diff --git a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs index 76974a4999..e67810a7b7 100644 --- a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs +++ b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs @@ -3175,13 +3175,7 @@ public class AccessSettings : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("accessLevels")] public virtual System.Collections.Generic.IList AccessLevels { get; set; } - /// Optional. Reauth settings applied to user access on a given AccessScope. - [Newtonsoft.Json.JsonPropertyAttribute("reauthSettings")] - public virtual ReauthSettings ReauthSettings { get; set; } - - /// - /// Optional. Session settings applied to user access on a given AccessScope. Migrated from ReauthSettings - /// + /// Optional. Session settings applied to user access on a given AccessScope. [Newtonsoft.Json.JsonPropertyAttribute("sessionSettings")] public virtual SessionSettings SessionSettings { get; set; } @@ -3808,10 +3802,6 @@ public class GcpUserAccessBinding : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } - /// Optional. GCSL policy for the group key. - [Newtonsoft.Json.JsonPropertyAttribute("reauthSettings")] - public virtual ReauthSettings ReauthSettings { get; set; } - /// /// Optional. A list of applications that are subject to this binding's restrictions. If the list is empty, the /// binding restrictions will universally apply to all applications. @@ -3826,7 +3816,7 @@ public class GcpUserAccessBinding : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("scopedAccessSettings")] public virtual System.Collections.Generic.IList ScopedAccessSettings { get; set; } - /// Optional. GCSL policy for the group key. Migrated from ReauthSettings + /// Optional. GCSL policy for the group key. [Newtonsoft.Json.JsonPropertyAttribute("sessionSettings")] public virtual SessionSettings SessionSettings { get; set; } @@ -4262,50 +4252,6 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable Version { get; set; } } - /// - /// Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. - /// method) they should face when their session expires, and other related settings. - /// - public class ReauthSettings : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. How long a user is allowed to take between actions before a new access token must be issued. - /// Presently only set for Cloud Apps. - /// - [Newtonsoft.Json.JsonPropertyAttribute("maxInactivity")] - public virtual object MaxInactivity { get; set; } - - /// Optional. Reauth method when users GCP session is up. - [Newtonsoft.Json.JsonPropertyAttribute("reauthMethod")] - public virtual string ReauthMethod { get; set; } - - /// - /// Optional. The session length. Setting this field to zero is equal to disabling. Reauth. Also can set - /// infinite session by flipping the enabled bit to false below. If use_oidc_max_age is true, for OIDC apps, the - /// session length will be the minimum of this field and OIDC max_age param. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sessionLength")] - public virtual object SessionLength { get; set; } - - /// - /// Optional. Big red button to turn off GCSL. When false, all fields set above will be disregarded and the - /// session length is basically infinite. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sessionLengthEnabled")] - public virtual System.Nullable SessionLengthEnabled { get; set; } - - /// - /// Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication - /// request will be ignored. When true, the re-auth period will be the minimum of the session_length field and - /// the max_age OIDC param. - /// - [Newtonsoft.Json.JsonPropertyAttribute("useOidcMaxAge")] - public virtual System.Nullable UseOidcMaxAge { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// A request to replace all existing Access Levels in an Access Policy with the Access Levels provided. This is /// done atomically. @@ -4420,6 +4366,14 @@ public class ServicePerimeter : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } + /// + /// Optional. An opaque identifier for the current version of the `ServicePerimeter`. Clients should not expect + /// this to be in any specific format. If etag is not provided, the operation will be performed as if a valid + /// etag is provided. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + /// /// Identifier. Resource name for the `ServicePerimeter`. Format: /// `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component @@ -4468,9 +4422,6 @@ public class ServicePerimeter : Google.Apis.Requests.IDirectResponseSchema /// [Newtonsoft.Json.JsonPropertyAttribute("useExplicitDryRunSpec")] public virtual System.Nullable UseExplicitDryRunSpec { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } } /// diff --git a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj index 994eaebd91..18d03fa5a8 100644 --- a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj +++ b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AccessContextManager.v1 Client Library - 1.68.0.3588 + 1.68.0.3594 Google LLC Copyright 2024 Google LLC Google From 70d6529b573803253a4e6f44ee2e0db7d67796d2 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:04 -0800 Subject: [PATCH 02/28] feat: Generate Google.Apis.AddressValidation.v1 version 1.68.0.3597 --- DiscoveryJson/addressvalidation.v1.json | 6 +++--- .../Google.Apis.AddressValidation.v1.cs | 10 +++++++--- .../Google.Apis.AddressValidation.v1.csproj | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/DiscoveryJson/addressvalidation.v1.json b/DiscoveryJson/addressvalidation.v1.json index 8ff0fe30b1..05d7500b41 100644 --- a/DiscoveryJson/addressvalidation.v1.json +++ b/DiscoveryJson/addressvalidation.v1.json @@ -151,7 +151,7 @@ } } }, - "revision": "20240703", + "revision": "20241106", "rootUrl": "https://addressvalidation.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -181,7 +181,7 @@ "type": "array" }, "formattedAddress": { - "description": "The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located.", + "description": "The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located. Note: the format of this address may not match the format of the address in the `postal_address` field. For example, the `postal_address` will always represent the country as a 2 letter `region_code` (ex. \"US\" or \"CA\"), whereas this field will use a longer form of the country name (ex. \"USA or \"Canada\").", "type": "string" }, "missingComponentTypes": { @@ -203,7 +203,7 @@ "type": "array" }, "unresolvedTokens": { - "description": "Any tokens in the input that could not be resolved. This might be an input that was not recognized as a valid part of an address (for example in an input like \"123235253253 Main St, San Francisco, CA, 94105\", the unresolved tokens may look like `[\"123235253253\"]` since that does not look like a valid street number.", + "description": "Any tokens in the input that could not be resolved. This might be an input that was not recognized as a valid part of an address (for example in an input like \"Parcel 0000123123 & 0000456456 Str # Guthrie Center IA 50115 US\", the unresolved tokens may look like `[\"Parcel\", \"0000123123\", \"&\", \"0000456456\"]`.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.AddressValidation.v1/Google.Apis.AddressValidation.v1.cs b/Src/Generated/Google.Apis.AddressValidation.v1/Google.Apis.AddressValidation.v1.cs index 3d945b1f41..06500bb1e7 100644 --- a/Src/Generated/Google.Apis.AddressValidation.v1/Google.Apis.AddressValidation.v1.cs +++ b/Src/Generated/Google.Apis.AddressValidation.v1/Google.Apis.AddressValidation.v1.cs @@ -417,7 +417,10 @@ public class GoogleMapsAddressvalidationV1Address : Google.Apis.Requests.IDirect /// /// The post-processed address, formatted as a single-line address following the address formatting rules of the - /// region where the address is located. + /// region where the address is located. Note: the format of this address may not match the format of the + /// address in the `postal_address` field. For example, the `postal_address` will always represent the country + /// as a 2 letter `region_code` (ex. "US" or "CA"), whereas this field will use a longer form of the country + /// name (ex. "USA or "Canada"). /// [Newtonsoft.Json.JsonPropertyAttribute("formattedAddress")] public virtual string FormattedAddress { get; set; } @@ -448,8 +451,9 @@ public class GoogleMapsAddressvalidationV1Address : Google.Apis.Requests.IDirect /// /// Any tokens in the input that could not be resolved. This might be an input that was not recognized as a - /// valid part of an address (for example in an input like "123235253253 Main St, San Francisco, CA, 94105", the - /// unresolved tokens may look like `["123235253253"]` since that does not look like a valid street number. + /// valid part of an address (for example in an input like "Parcel 0000123123 &amp; 0000456456 Str # Guthrie + /// Center IA 50115 US", the unresolved tokens may look like `["Parcel", "0000123123", "&amp;", + /// "0000456456"]`. /// [Newtonsoft.Json.JsonPropertyAttribute("unresolvedTokens")] public virtual System.Collections.Generic.IList UnresolvedTokens { get; set; } diff --git a/Src/Generated/Google.Apis.AddressValidation.v1/Google.Apis.AddressValidation.v1.csproj b/Src/Generated/Google.Apis.AddressValidation.v1/Google.Apis.AddressValidation.v1.csproj index 61105893a6..fb4934a293 100644 --- a/Src/Generated/Google.Apis.AddressValidation.v1/Google.Apis.AddressValidation.v1.csproj +++ b/Src/Generated/Google.Apis.AddressValidation.v1/Google.Apis.AddressValidation.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AddressValidation.v1 Client Library - 1.68.0.3471 + 1.68.0.3597 Google LLC Copyright 2024 Google LLC Google From 846c8ee993d5d5317194994516860e0f6158beda Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:07 -0800 Subject: [PATCH 03/28] feat: Generate Google.Apis.Assuredworkloads.v1 version 1.68.0.3598 --- DiscoveryJson/assuredworkloads.v1.json | 62 +++++++++++++++++-- .../Google.Apis.Assuredworkloads.v1.csproj | 2 +- 2 files changed, 58 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/assuredworkloads.v1.json b/DiscoveryJson/assuredworkloads.v1.json index 0abe571475..616957ff34 100644 --- a/DiscoveryJson/assuredworkloads.v1.json +++ b/DiscoveryJson/assuredworkloads.v1.json @@ -591,7 +591,7 @@ } } }, - "revision": "20241007", + "revision": "20241107", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { @@ -702,6 +702,32 @@ "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", "IRS_1075" ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enumDescriptions": [ "Unknown compliance regime.", "Information protection as per DoD IL4 requirements.", @@ -709,8 +735,8 @@ "FedRAMP High data protection controls", "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", - "Health Insurance Portability and Accountability Act controls", - "Health Information Trust Alliance controls", + "[DEPRECATED] Health Insurance Portability and Accountability Act controls", + "[DEPRECATED] Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", @@ -1191,6 +1217,32 @@ "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", "IRS_1075" ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enumDescriptions": [ "Unknown compliance regime.", "Information protection as per DoD IL4 requirements.", @@ -1198,8 +1250,8 @@ "FedRAMP High data protection controls", "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", - "Health Insurance Portability and Accountability Act controls", - "Health Information Trust Alliance controls", + "[DEPRECATED] Health Insurance Portability and Accountability Act controls", + "[DEPRECATED] Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", diff --git a/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.csproj b/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.csproj index c195557049..0c2a9e4f0e 100644 --- a/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.csproj +++ b/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Assuredworkloads.v1 Client Library - 1.68.0.3567 + 1.68.0.3598 Google LLC Copyright 2024 Google LLC Google From f199e0c36d3c7c059e1638ed2dc5b531c8b235d9 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:10 -0800 Subject: [PATCH 04/28] feat: Generate Google.Apis.Assuredworkloads.v1beta1 version 1.68.0.3598 --- DiscoveryJson/assuredworkloads.v1beta1.json | 62 +++++++++++++++++-- ...oogle.Apis.Assuredworkloads.v1beta1.csproj | 2 +- 2 files changed, 58 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/assuredworkloads.v1beta1.json b/DiscoveryJson/assuredworkloads.v1beta1.json index ef94d913aa..f949b4a5f0 100644 --- a/DiscoveryJson/assuredworkloads.v1beta1.json +++ b/DiscoveryJson/assuredworkloads.v1beta1.json @@ -656,7 +656,7 @@ } } }, - "revision": "20241007", + "revision": "20241107", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": { @@ -826,6 +826,32 @@ "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", "IRS_1075" ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enumDescriptions": [ "Unknown compliance regime.", "Information protection as per DoD IL4 requirements.", @@ -833,8 +859,8 @@ "FedRAMP High data protection controls", "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", - "Health Insurance Portability and Accountability Act controls", - "Health Information Trust Alliance controls", + "[DEPRECATED] Health Insurance Portability and Accountability Act controls", + "[DEPRECATED] Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", @@ -1434,6 +1460,32 @@ "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_US_SUPPORT", "IRS_1075" ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enumDescriptions": [ "Unknown compliance regime.", "Information protection as per DoD IL4 requirements.", @@ -1441,8 +1493,8 @@ "FedRAMP High data protection controls", "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", - "Health Insurance Portability and Accountability Act controls", - "Health Information Trust Alliance controls", + "[DEPRECATED] Health Insurance Portability and Accountability Act controls", + "[DEPRECATED] Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", diff --git a/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.csproj b/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.csproj index e58f1669fa..8bd81a4817 100644 --- a/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Assuredworkloads.v1beta1 Client Library - 1.68.0.3567 + 1.68.0.3598 Google LLC Copyright 2024 Google LLC Google From d5710906479c0b4c334b3d451423571443f7b1da Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:13 -0800 Subject: [PATCH 05/28] feat: Generate Google.Apis.Bigquery.v2 version 1.68.0.3587 --- DiscoveryJson/bigquery.v2.json | 16 ++++++++-------- .../Google.Apis.Bigquery.v2.cs | 12 ++++++------ .../Google.Apis.Bigquery.v2.csproj | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/DiscoveryJson/bigquery.v2.json b/DiscoveryJson/bigquery.v2.json index 3f555ab414..338e0c7514 100644 --- a/DiscoveryJson/bigquery.v2.json +++ b/DiscoveryJson/bigquery.v2.json @@ -2009,7 +2009,7 @@ } } }, - "revision": "20241013", + "revision": "20241027", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -2087,13 +2087,13 @@ "enumDescriptions": [ "Default value.", "The argument is a variable with fully specified type, which can be a struct or an array, but not a table.", - "The argument is any type, including struct or array, but not a table. To be added: FIXED_TABLE, ANY_TABLE" + "The argument is any type, including struct or array, but not a table." ], "type": "string" }, "dataType": { "$ref": "StandardSqlDataType", - "description": "Required unless argument_kind = ANY_TYPE." + "description": "Set if argument_kind == FIXED_TYPE." }, "isAggregate": { "description": "Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding \"NOT AGGREGATE\" clause in DDL; Otherwise, it is equivalent to omitting \"NOT AGGREGATE\" clause in DDL.", @@ -2592,11 +2592,11 @@ "id": "BigLakeConfiguration", "properties": { "connectionId": { - "description": "Required. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection_id can have the form `{project}.{location}.{connection_id}` or `projects/{project}/locations/{location}/connections/{connection_id}\".", + "description": "Optional. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection_id can have the form `{project}.{location}.{connection_id}` or `projects/{project}/locations/{location}/connections/{connection_id}\".", "type": "string" }, "fileFormat": { - "description": "Required. The file format the table data is stored in.", + "description": "Optional. The file format the table data is stored in.", "enum": [ "FILE_FORMAT_UNSPECIFIED", "PARQUET" @@ -2608,11 +2608,11 @@ "type": "string" }, "storageUri": { - "description": "Required. The fully qualified location prefix of the external folder where table data is stored. The '*' wildcard character is not allowed. The URI should be in the format `gs://bucket/path_to_table/`", + "description": "Optional. The fully qualified location prefix of the external folder where table data is stored. The '*' wildcard character is not allowed. The URI should be in the format `gs://bucket/path_to_table/`", "type": "string" }, "tableFormat": { - "description": "Required. The table format the metadata only snapshots are stored in.", + "description": "Optional. The table format the metadata only snapshots are stored in.", "enum": [ "TABLE_FORMAT_UNSPECIFIED", "ICEBERG" @@ -9407,7 +9407,7 @@ "type": "number" }, "contributionMetric": { - "description": "The contribution metric. Applies to contribution analysis models. Allowed formats supported are for summable and summable ratio contribution metrics. These include expressions such as \"SUM(x)\" or \"SUM(x)/SUM(y)\", where x and y are column names from the base table.", + "description": "The contribution metric. Applies to contribution analysis models. Allowed formats supported are for summable and summable ratio contribution metrics. These include expressions such as `SUM(x)` or `SUM(x)/SUM(y)`, where x and y are column names from the base table.", "type": "string" }, "dartNormalizeType": { diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs index 5909d62369..4488af676e 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs +++ b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs @@ -4281,7 +4281,7 @@ public class Argument : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("argumentKind")] public virtual string ArgumentKind { get; set; } - /// Required unless argument_kind = ANY_TYPE. + /// Set if argument_kind == FIXED_TYPE. [Newtonsoft.Json.JsonPropertyAttribute("dataType")] public virtual StandardSqlDataType DataType { get; set; } @@ -4634,25 +4634,25 @@ public class BiEngineStatistics : Google.Apis.Requests.IDirectResponseSchema public class BigLakeConfiguration : Google.Apis.Requests.IDirectResponseSchema { /// - /// Required. The connection specifying the credentials to be used to read and write to external storage, such + /// Optional. The connection specifying the credentials to be used to read and write to external storage, such /// as Cloud Storage. The connection_id can have the form `{project}.{location}.{connection_id}` or /// `projects/{project}/locations/{location}/connections/{connection_id}". /// [Newtonsoft.Json.JsonPropertyAttribute("connectionId")] public virtual string ConnectionId { get; set; } - /// Required. The file format the table data is stored in. + /// Optional. The file format the table data is stored in. [Newtonsoft.Json.JsonPropertyAttribute("fileFormat")] public virtual string FileFormat { get; set; } /// - /// Required. The fully qualified location prefix of the external folder where table data is stored. The '*' + /// Optional. The fully qualified location prefix of the external folder where table data is stored. The '*' /// wildcard character is not allowed. The URI should be in the format `gs://bucket/path_to_table/` /// [Newtonsoft.Json.JsonPropertyAttribute("storageUri")] public virtual string StorageUri { get; set; } - /// Required. The table format the metadata only snapshots are stored in. + /// Optional. The table format the metadata only snapshots are stored in. [Newtonsoft.Json.JsonPropertyAttribute("tableFormat")] public virtual string TableFormat { get; set; } @@ -12046,7 +12046,7 @@ public class TrainingOptions : Google.Apis.Requests.IDirectResponseSchema /// /// The contribution metric. Applies to contribution analysis models. Allowed formats supported are for summable - /// and summable ratio contribution metrics. These include expressions such as "SUM(x)" or "SUM(x)/SUM(y)", + /// and summable ratio contribution metrics. These include expressions such as `SUM(x)` or `SUM(x)/SUM(y)`, /// where x and y are column names from the base table. /// [Newtonsoft.Json.JsonPropertyAttribute("contributionMetric")] diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj index b0b2b5141d..c1f72e76a1 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj +++ b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Bigquery.v2 Client Library - 1.68.0.3573 + 1.68.0.3587 Google LLC Copyright 2024 Google LLC Google From 34b03794b463ae47ac3e012fe222ffc8a3a0ec3d Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:17 -0800 Subject: [PATCH 06/28] feat: Generate Google.Apis.Calendar.v3 version 1.68.0.3592 --- DiscoveryJson/calendar.v3.json | 25 ++++++++++++- .../Google.Apis.Calendar.v3.cs | 35 +++++++++++++++++++ .../Google.Apis.Calendar.v3.csproj | 2 +- 3 files changed, 60 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/calendar.v3.json b/DiscoveryJson/calendar.v3.json index 5b4b20d757..c5abdfa984 100644 --- a/DiscoveryJson/calendar.v3.json +++ b/DiscoveryJson/calendar.v3.json @@ -1767,7 +1767,7 @@ } } }, - "revision": "20240927", + "revision": "20241101", "rootUrl": "https://www.googleapis.com/", "schemas": { "Acl": { @@ -2362,6 +2362,10 @@ "description": "Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.", "type": "boolean" }, + "birthdayProperties": { + "$ref": "EventBirthdayProperties", + "description": "Birthday or special event data. Used if eventType is \"birthday\". Immutable." + }, "colorId": { "description": "The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.", "type": "string" @@ -2748,6 +2752,25 @@ }, "type": "object" }, + "EventBirthdayProperties": { + "id": "EventBirthdayProperties", + "properties": { + "contact": { + "description": "Resource name of the contact this birthday event is linked to. This can be used to fetch contact details from People API. Format: \"people/c12345\". Read-only.", + "type": "string" + }, + "customTypeName": { + "description": "Custom type label specified for this event. This is populated if birthdayProperties.type is set to \"custom\". Read-only.", + "type": "string" + }, + "type": { + "default": "birthday", + "description": "Type of birthday or special event. Possible values are: \n- \"anniversary\" - An anniversary other than birthday. Always has a contact. \n- \"birthday\" - A birthday event. This is the default value. \n- \"custom\" - A special date whose label is further specified in the customTypeName field. Always has a contact. \n- \"other\" - A special date which does not fall into the other categories, and does not have a custom label. Always has a contact. \n- \"self\" - Calendar owner's own birthday. Cannot have a contact. The Calendar API only supports creating events with the type \"birthday\". The type cannot be changed after the event is created.", + "type": "string" + } + }, + "type": "object" + }, "EventDateTime": { "id": "EventDateTime", "properties": { diff --git a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs index 64ca8c0557..317fad0a47 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs +++ b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs @@ -5176,6 +5176,10 @@ public class Event : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("attendeesOmitted")] public virtual System.Nullable AttendeesOmitted { get; set; } + /// Birthday or special event data. Used if eventType is "birthday". Immutable. + [Newtonsoft.Json.JsonPropertyAttribute("birthdayProperties")] + public virtual EventBirthdayProperties BirthdayProperties { get; set; } + /// /// The color of the event. This is an ID referring to an entry in the event section of the colors definition /// (see the colors endpoint). Optional. @@ -5713,6 +5717,37 @@ public class EventAttendee : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + public class EventBirthdayProperties : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Resource name of the contact this birthday event is linked to. This can be used to fetch contact details + /// from People API. Format: "people/c12345". Read-only. + /// + [Newtonsoft.Json.JsonPropertyAttribute("contact")] + public virtual string Contact { get; set; } + + /// + /// Custom type label specified for this event. This is populated if birthdayProperties.type is set to "custom". + /// Read-only. + /// + [Newtonsoft.Json.JsonPropertyAttribute("customTypeName")] + public virtual string CustomTypeName { get; set; } + + /// + /// Type of birthday or special event. Possible values are: - "anniversary" - An anniversary other than + /// birthday. Always has a contact. - "birthday" - A birthday event. This is the default value. - "custom" - A + /// special date whose label is further specified in the customTypeName field. Always has a contact. - "other" + /// - A special date which does not fall into the other categories, and does not have a custom label. Always has + /// a contact. - "self" - Calendar owner's own birthday. Cannot have a contact. The Calendar API only supports + /// creating events with the type "birthday". The type cannot be changed after the event is created. + /// + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class EventDateTime : Google.Apis.Requests.IDirectResponseSchema { /// The date, in the format "yyyy-mm-dd", if this is an all-day event. diff --git a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.csproj b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.csproj index 1e7fa4a735..b210850bae 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.csproj +++ b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Calendar.v3 Client Library - 1.68.0.3557 + 1.68.0.3592 Google LLC Copyright 2024 Google LLC Google From e6f03bd9a6ee80831000bc916d6a807a948362d2 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:20 -0800 Subject: [PATCH 07/28] feat: Generate Google.Apis.HangoutsChat.v1 version 1.68.0.3596 --- DiscoveryJson/chat.v1.json | 103 ++++---- .../Google.Apis.HangoutsChat.v1.cs | 245 +++++++++--------- .../Google.Apis.HangoutsChat.v1.csproj | 2 +- 3 files changed, 182 insertions(+), 168 deletions(-) diff --git a/DiscoveryJson/chat.v1.json b/DiscoveryJson/chat.v1.json index 7fd212e61a..6e014ed56a 100644 --- a/DiscoveryJson/chat.v1.json +++ b/DiscoveryJson/chat.v1.json @@ -334,7 +334,7 @@ "type": "string" }, "useAdminAccess": { - "description": "When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.delete` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).", + "description": "Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.delete` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).", "location": "query", "type": "boolean" } @@ -390,7 +390,7 @@ "type": "string" }, "useAdminAccess": { - "description": "When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` or `chat.admin.spaces.readonly` [OAuth 2.0 scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).", + "description": "Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` or `chat.admin.spaces.readonly` [OAuth 2.0 scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).", "location": "query", "type": "boolean" } @@ -452,7 +452,7 @@ ], "parameters": { "name": { - "description": "Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID for the space. You can obtain the space ID by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) method or from the space URL. For example, if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`.", + "description": "Identifier. Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID for the space. You can obtain the space ID by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) method or from the space URL. For example, if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`.", "location": "path", "pattern": "^spaces/[^/]+$", "required": true, @@ -465,7 +465,7 @@ "type": "string" }, "useAdminAccess": { - "description": "When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). Some `FieldMask` values are not supported using admin access. For details, see the description of `update_mask`.", + "description": "Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). Some `FieldMask` values are not supported using admin access. For details, see the description of `update_mask`.", "location": "query", "type": "boolean" } @@ -777,7 +777,7 @@ "type": "string" }, "messageReplyOption": { - "description": "Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.", + "description": "Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces. When [responding to user interactions](https://developers.google.com/workspace/chat/receive-respond-interactions), this field is ignored. For interactions within a thread, the reply is created in the same thread. Otherwise, the reply is created as a new thread.", "enum": [ "MESSAGE_REPLY_OPTION_UNSPECIFIED", "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", @@ -834,7 +834,7 @@ ], "parameters": { "force": { - "description": "When `true`, deleting a message also deletes its threaded replies. When `false`, if a message has threaded replies, deletion fails. Only applies when [authenticating as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Has no effect when [authenticating as a Chat app] (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).", + "description": "Optional. When `true`, deleting a message also deletes its threaded replies. When `false`, if a message has threaded replies, deletion fails. Only applies when [authenticating as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Has no effect when [authenticating as a Chat app] (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).", "location": "query", "type": "boolean" }, @@ -893,23 +893,23 @@ ], "parameters": { "filter": { - "description": "A query filter. You can filter messages by date (`create_time`) and thread (`thread.name`). To filter messages by the date they were created, specify the `create_time` with a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and double quotation marks. For example, `\"2023-04-21T11:30:00-04:00\"`. You can use the greater than operator `>` to list messages that were created after a timestamp, or the less than operator `<` to list messages that were created before a timestamp. To filter messages within a time interval, use the `AND` operator between two timestamps. To filter by thread, specify the `thread.name`, formatted as `spaces/{space}/threads/{thread}`. You can only specify one `thread.name` per query. To filter by both thread and date, use the `AND` operator in your query. For example, the following queries are valid: ``` create_time > \"2012-04-21T11:30:00-04:00\" create_time > \"2012-04-21T11:30:00-04:00\" AND thread.name = spaces/AAAAAAAAAAA/threads/123 create_time > \"2012-04-21T11:30:00+00:00\" AND create_time < \"2013-01-01T00:00:00+00:00\" AND thread.name = spaces/AAAAAAAAAAA/threads/123 thread.name = spaces/AAAAAAAAAAA/threads/123 ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.", + "description": "Optional. A query filter. You can filter messages by date (`create_time`) and thread (`thread.name`). To filter messages by the date they were created, specify the `create_time` with a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and double quotation marks. For example, `\"2023-04-21T11:30:00-04:00\"`. You can use the greater than operator `>` to list messages that were created after a timestamp, or the less than operator `<` to list messages that were created before a timestamp. To filter messages within a time interval, use the `AND` operator between two timestamps. To filter by thread, specify the `thread.name`, formatted as `spaces/{space}/threads/{thread}`. You can only specify one `thread.name` per query. To filter by both thread and date, use the `AND` operator in your query. For example, the following queries are valid: ``` create_time > \"2012-04-21T11:30:00-04:00\" create_time > \"2012-04-21T11:30:00-04:00\" AND thread.name = spaces/AAAAAAAAAAA/threads/123 create_time > \"2012-04-21T11:30:00+00:00\" AND create_time < \"2013-01-01T00:00:00+00:00\" AND thread.name = spaces/AAAAAAAAAAA/threads/123 thread.name = spaces/AAAAAAAAAAA/threads/123 ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.", "location": "query", "type": "string" }, "orderBy": { - "description": "Optional, if resuming from a previous query. How the list of messages is ordered. Specify a value to order by an ordering operation. Valid ordering operation values are as follows: - `ASC` for ascending. - `DESC` for descending. The default ordering is `create_time ASC`.", + "description": "Optional. Optional, if resuming from a previous query. How the list of messages is ordered. Specify a value to order by an ordering operation. Valid ordering operation values are as follows: - `ASC` for ascending. - `DESC` for descending. The default ordering is `create_time ASC`.", "location": "query", "type": "string" }, "pageSize": { - "description": "The maximum number of messages returned. The service might return fewer messages than this value. If unspecified, at most 25 are returned. The maximum value is 1000. If you use a value more than 1000, it's automatically changed to 1000. Negative values return an `INVALID_ARGUMENT` error.", + "description": "Optional. The maximum number of messages returned. The service might return fewer messages than this value. If unspecified, at most 25 are returned. The maximum value is 1000. If you use a value more than 1000, it's automatically changed to 1000. Negative values return an `INVALID_ARGUMENT` error.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Optional, if resuming from a previous query. A page token received from a previous list messages call. Provide this parameter to retrieve the subsequent page. When paginating, all other parameters provided should match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.", + "description": "Optional. Optional, if resuming from a previous query. A page token received from a previous list messages call. Provide this parameter to retrieve the subsequent page. When paginating, all other parameters provided should match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.", "location": "query", "type": "string" }, @@ -921,7 +921,7 @@ "type": "string" }, "showDeleted": { - "description": "Whether to include deleted messages. Deleted messages include deleted time and metadata about their deletion, but message content is unavailable.", + "description": "Optional. Whether to include deleted messages. Deleted messages include deleted time and metadata about their deletion, but message content is unavailable.", "location": "query", "type": "boolean" } @@ -951,7 +951,7 @@ "type": "boolean" }, "name": { - "description": "Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", + "description": "Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", "location": "path", "pattern": "^spaces/[^/]+/messages/[^/]+$", "required": true, @@ -992,7 +992,7 @@ "type": "boolean" }, "name": { - "description": "Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", + "description": "Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", "location": "path", "pattern": "^spaces/[^/]+/messages/[^/]+$", "required": true, @@ -1344,7 +1344,7 @@ } } }, - "revision": "20241031", + "revision": "20241105", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -1556,7 +1556,7 @@ "properties": { "attachmentDataRef": { "$ref": "AttachmentDataRef", - "description": "A reference to the attachment data. This field is used with the media API to download the attachment data." + "description": "Optional. A reference to the attachment data. This field is used to create or update messages with attachments, or with the media API to download the attachment data." }, "contentName": { "description": "Output only. The original file name for the content, not the full path.", @@ -1579,7 +1579,7 @@ "readOnly": true }, "name": { - "description": "Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.", + "description": "Optional. Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.", "type": "string" }, "source": { @@ -1610,11 +1610,11 @@ "id": "AttachmentDataRef", "properties": { "attachmentUploadToken": { - "description": "Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.", + "description": "Optional. Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.", "type": "string" }, "resourceName": { - "description": "The resource name of the attachment data. This field is used with the media API to download the attachment data.", + "description": "Optional. The resource name of the attachment data. This field is used with the media API to download the attachment data.", "type": "string" } }, @@ -3070,7 +3070,7 @@ "properties": { "externalDataSource": { "$ref": "GoogleAppsCardV1Action", - "description": "An external data source, such as a relational data base." + "description": "An external data source, such as a relational database." }, "items": { "description": "An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.", @@ -3089,7 +3089,7 @@ "type": "integer" }, "multiSelectMinQueryLength": { - "description": "For multiselect menus, the number of text characters that a user inputs before the app queries autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters for static data sources and 3 characters for external data sources.", + "description": "For multiselect menus, the number of text characters that a user inputs before the menu returns suggested selection items. If unset, the multiselect menu uses the following default values: * If the menu uses a static array of `SelectionInput` items, defaults to 0 characters and immediately populates items from the array. * If the menu uses a dynamic data source (`multi_select_data_source`), defaults to 3 characters before querying the data source to return suggested items.", "format": "int32", "type": "integer" }, @@ -3119,7 +3119,7 @@ "A set of radio buttons. Users can select one radio button.", "A set of switches. Users can turn on one or more switches.", "A dropdown menu. Users can select one item from the menu.", - "A multiselect menu for static or dynamic data. From the menu bar, users select one or more items. Users can also input values to populate dynamic data. For example, users can start typing the name of a Google Chat space and the widget autosuggests the space. To populate items for a multiselect menu, you can use one of the following types of data sources: * Static data: Items are specified as `SelectionItem` objects in the widget. Up to 100 items. * Google Workspace data: Items are populated using data from Google Workspace, such as Google Workspace users or Google Chat spaces. * External data: Items are populated from an external data source outside of Google Workspace. For examples of how to implement multiselect menus, see [Add a multiselect menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#multiselect-menu). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):" + "A menu with a text box. Users can type and select one or more items. For Google Workspace Add-ons, you must populate items using a static array of `SelectionItem` objects. For Google Chat apps, you can also populate items using a dynamic data source and autosuggest items as users type in the menu. For example, users can start typing the name of a Google Chat space and the widget autosuggests the space. To dynamically populate items for a multiselect menu, use one of the following types of data sources: * Google Workspace data: Items are populated using data from Google Workspace, such as Google Workspace users or Google Chat spaces. * External data: Items are populated from an external data source outside of Google Workspace. For examples of how to implement multiselect menus for Chat apps, see [Add a multiselect menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#multiselect-menu). [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):" ], "type": "string" } @@ -3127,7 +3127,7 @@ "type": "object" }, "GoogleAppsCardV1SelectionItem": { - "description": "An item that users can select in a selection input, such as a checkbox or switch. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):", + "description": "An item that users can select in a selection input, such as a checkbox or switch. Supports up to 100 items. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):", "id": "GoogleAppsCardV1SelectionItem", "properties": { "bottomText": { @@ -3867,13 +3867,15 @@ "id": "MembershipCount", "properties": { "joinedDirectHumanUserCount": { - "description": "Count of human users that have directly joined the space, not counting users joined by having membership in a joined group.", + "description": "Output only. Count of human users that have directly joined the space, not counting users joined by having membership in a joined group.", "format": "int32", + "readOnly": true, "type": "integer" }, "joinedGroupCount": { - "description": "Count of all groups that have directly joined the space.", + "description": "Output only. Count of all groups that have directly joined the space.", "format": "int32", + "readOnly": true, "type": "integer" } }, @@ -3917,7 +3919,7 @@ "id": "Message", "properties": { "accessoryWidgets": { - "description": "One or more interactive widgets that appear at the bottom of a message. You can add accessory widgets to messages that contain text, cards, or both text and cards. Not supported for messages that contain dialogs. For details, see [Add interactive widgets at the bottom of a message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets). Creating a message with accessory widgets requires [app authentication] (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).", + "description": "Optional. One or more interactive widgets that appear at the bottom of a message. You can add accessory widgets to messages that contain text, cards, or both text and cards. Not supported for messages that contain dialogs. For details, see [Add interactive widgets at the bottom of a message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets). Creating a message with accessory widgets requires [app authentication] (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).", "items": { "$ref": "AccessoryWidget" }, @@ -3949,7 +3951,7 @@ "type": "array" }, "attachment": { - "description": "User-uploaded attachment.", + "description": "Optional. User-uploaded attachment.", "items": { "$ref": "Attachment" }, @@ -3964,14 +3966,14 @@ "type": "array" }, "cardsV2": { - "description": "An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Only Chat apps can create cards. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the messages can't contain cards. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder)", + "description": "Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Only Chat apps can create cards. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the messages can't contain cards. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder)", "items": { "$ref": "CardWithId" }, "type": "array" }, "clientAssignedMessageId": { - "description": "Optional. A custom ID for the message. You can use field to identify a message, or to get, delete, or update a message. To set a custom ID, specify the [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when you create the message. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", + "description": "Optional. Optional. A custom ID for the message. You can use field to identify a message, or to get, delete, or update a message. To set a custom ID, specify the [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when you create the message. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", "type": "string" }, "createTime": { @@ -3999,7 +4001,7 @@ "type": "array" }, "fallbackText": { - "description": "A plain-text description of the message's cards, used when the actual cards can't be displayed\u2014for example, mobile notifications.", + "description": "Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed\u2014for example, mobile notifications.", "type": "string" }, "formattedText": { @@ -4019,12 +4021,12 @@ "readOnly": true }, "name": { - "description": "Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", + "description": "Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", "type": "string" }, "privateMessageViewer": { "$ref": "User", - "description": "Immutable. Input for creating a message, otherwise output only. The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. To include this field in your request, you must call the Chat API using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and omit the following: * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments) * [Accessory widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget) For details, see [Send a message privately](https://developers.google.com/workspace/chat/create-messages#private)." + "description": "Optional. Immutable. Input for creating a message, otherwise output only. The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. To include this field in your request, you must call the Chat API using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and omit the following: * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments) * [Accessory widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget) For details, see [Send a message privately](https://developers.google.com/workspace/chat/create-messages#private)." }, "quotedMessageMetadata": { "$ref": "QuotedMessageMetadata", @@ -4043,10 +4045,11 @@ }, "space": { "$ref": "Space", - "description": "If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output populates the [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces) `name`." + "description": "Output only. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output only populates the [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces) `name`.", + "readOnly": true }, "text": { - "description": "Plain-text body of the message. The first link to an image, video, or web page generates a [preview chip](https://developers.google.com/workspace/chat/preview-links). You can also [@mention a Google Chat user](https://developers.google.com/workspace/chat/format-messages#messages-@mention), or everyone in the space. To learn about creating text messages, see [Send a message](https://developers.google.com/workspace/chat/create-messages).", + "description": "Optional. Plain-text body of the message. The first link to an image, video, or web page generates a [preview chip](https://developers.google.com/workspace/chat/preview-links). You can also [@mention a Google Chat user](https://developers.google.com/workspace/chat/format-messages#messages-@mention), or everyone in the space. To learn about creating text messages, see [Send a message](https://developers.google.com/workspace/chat/create-messages).", "type": "string" }, "thread": { @@ -4167,11 +4170,11 @@ "id": "PermissionSetting", "properties": { "managersAllowed": { - "description": "Whether spaces managers have this permission.", + "description": "Optional. Whether spaces managers have this permission.", "type": "boolean" }, "membersAllowed": { - "description": "Whether non-manager members have this permission.", + "description": "Optional. Whether non-manager members have this permission.", "type": "boolean" } }, @@ -4183,19 +4186,19 @@ "properties": { "manageApps": { "$ref": "PermissionSetting", - "description": "Setting for managing apps in a space." + "description": "Optional. Setting for managing apps in a space." }, "manageMembersAndGroups": { "$ref": "PermissionSetting", - "description": "Setting for managing members and groups in a space." + "description": "Optional. Setting for managing members and groups in a space." }, "manageWebhooks": { "$ref": "PermissionSetting", - "description": "Setting for managing webhooks in a space." + "description": "Optional. Setting for managing webhooks in a space." }, "modifySpaceDetails": { "$ref": "PermissionSetting", - "description": "Setting for updating space name, avatar, description and guidelines." + "description": "Optional. Setting for updating space name, avatar, description and guidelines." }, "postMessages": { "$ref": "PermissionSetting", @@ -4204,15 +4207,15 @@ }, "replyMessages": { "$ref": "PermissionSetting", - "description": "Setting for replying to messages in a space." + "description": "Optional. Setting for replying to messages in a space." }, "toggleHistory": { "$ref": "PermissionSetting", - "description": "Setting for toggling space history on and off." + "description": "Optional. Setting for toggling space history on and off." }, "useAtMentionAll": { "$ref": "PermissionSetting", - "description": "Setting for using @all in a space." + "description": "Optional. Setting for using @all in a space." } }, "type": "object" @@ -4484,11 +4487,11 @@ "type": "string" }, "displayName": { - "description": "The space's display name. Required when [creating a space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create) with a `spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS` when creating a space or updating the `displayName`, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. For direct messages, this field might be empty. Supports up to 128 characters.", + "description": "Optional. The space's display name. Required when [creating a space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create) with a `spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS` when creating a space or updating the `displayName`, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. For direct messages, this field might be empty. Supports up to 128 characters.", "type": "string" }, "externalUserAllowed": { - "description": "Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a Google Workspace organization. Omit this field when creating spaces in the following conditions: * The authenticated user uses a consumer account (unmanaged user account). By default, a space created by a consumer account permits any Google Chat user. For existing spaces, this field is output only.", + "description": "Optional. Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a Google Workspace organization. Omit this field when creating spaces in the following conditions: * The authenticated user uses a consumer account (unmanaged user account). By default, a space created by a consumer account permits any Google Chat user. For existing spaces, this field is output only.", "type": "boolean" }, "importMode": { @@ -4507,7 +4510,7 @@ "readOnly": true }, "name": { - "description": "Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID for the space. You can obtain the space ID by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) method or from the space URL. For example, if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`.", + "description": "Identifier. Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID for the space. You can obtain the space ID by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) method or from the space URL. For example, if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`.", "type": "string" }, "permissionSettings": { @@ -4534,10 +4537,10 @@ }, "spaceDetails": { "$ref": "SpaceDetails", - "description": "Details about the space including description and rules." + "description": "Optional. Details about the space including description and rules." }, "spaceHistoryState": { - "description": "The message history state for messages and threads in this space.", + "description": "Optional. The message history state for messages and threads in this space.", "enum": [ "HISTORY_STATE_UNSPECIFIED", "HISTORY_OFF", @@ -4568,7 +4571,7 @@ "type": "string" }, "spaceType": { - "description": "The type of space. Required when creating a space or updating the space type of a space. Output only for other usage.", + "description": "Optional. The type of space. Required when creating a space or updating the space type of a space. Output only for other usage.", "enum": [ "SPACE_TYPE_UNSPECIFIED", "SPACE", @@ -4843,7 +4846,7 @@ "id": "Thread", "properties": { "name": { - "description": "Resource name of the thread. Example: `spaces/{space}/threads/{thread}`", + "description": "Identifier. Resource name of the thread. Example: `spaces/{space}/threads/{thread}`", "type": "string" }, "threadKey": { @@ -4903,7 +4906,7 @@ "type": "object" }, "UpdatedWidget": { - "description": "The response of the updated widget. Used to provide autocomplete options for a widget.", + "description": "For `selectionInput` widgets, returns autocomplete suggestions for a multiselect menu.", "id": "UpdatedWidget", "properties": { "suggestions": { diff --git a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs index f1647a7246..a5fb10ed55 100644 --- a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs +++ b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs @@ -1934,14 +1934,20 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Ha /// /// Optional. Specifies whether a message starts a thread or replies to one. Only supported in named - /// spaces. + /// spaces. When [responding to user + /// interactions](https://developers.google.com/workspace/chat/receive-respond-interactions), this field + /// is ignored. For interactions within a thread, the reply is created in the same thread. Otherwise, + /// the reply is created as a new thread. /// [Google.Apis.Util.RequestParameterAttribute("messageReplyOption", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable MessageReplyOption { get; set; } /// /// Optional. Specifies whether a message starts a thread or replies to one. Only supported in named - /// spaces. + /// spaces. When [responding to user + /// interactions](https://developers.google.com/workspace/chat/receive-respond-interactions), this field + /// is ignored. For interactions within a thread, the reply is created in the same thread. Otherwise, + /// the reply is created as a new thread. /// public enum MessageReplyOptionEnum { @@ -2092,8 +2098,8 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : public virtual string Name { get; private set; } /// - /// When `true`, deleting a message also deletes its threaded replies. When `false`, if a message has - /// threaded replies, deletion fails. Only applies when [authenticating as a + /// Optional. When `true`, deleting a message also deletes its threaded replies. When `false`, if a + /// message has threaded replies, deletion fails. Only applies when [authenticating as a /// user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Has no effect /// when [authenticating as a Chat app] /// (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). @@ -2240,13 +2246,13 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : public virtual string Parent { get; private set; } /// - /// A query filter. You can filter messages by date (`create_time`) and thread (`thread.name`). To - /// filter messages by the date they were created, specify the `create_time` with a timestamp in - /// [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and double quotation marks. For example, - /// `"2023-04-21T11:30:00-04:00"`. You can use the greater than operator `&gt;` to list messages - /// that were created after a timestamp, or the less than operator `&lt;` to list messages that were - /// created before a timestamp. To filter messages within a time interval, use the `AND` operator - /// between two timestamps. To filter by thread, specify the `thread.name`, formatted as + /// Optional. A query filter. You can filter messages by date (`create_time`) and thread + /// (`thread.name`). To filter messages by the date they were created, specify the `create_time` with a + /// timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and double quotation marks. + /// For example, `"2023-04-21T11:30:00-04:00"`. You can use the greater than operator `&gt;` to list + /// messages that were created after a timestamp, or the less than operator `&lt;` to list messages + /// that were created before a timestamp. To filter messages within a time interval, use the `AND` + /// operator between two timestamps. To filter by thread, specify the `thread.name`, formatted as /// `spaces/{space}/threads/{thread}`. You can only specify one `thread.name` per query. To filter by /// both thread and date, use the `AND` operator in your query. For example, the following queries are /// valid: @@ -2263,33 +2269,33 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : public virtual string Filter { get; set; } /// - /// Optional, if resuming from a previous query. How the list of messages is ordered. Specify a value to - /// order by an ordering operation. Valid ordering operation values are as follows: - `ASC` for - /// ascending. - `DESC` for descending. The default ordering is `create_time ASC`. + /// Optional. Optional, if resuming from a previous query. How the list of messages is ordered. Specify + /// a value to order by an ordering operation. Valid ordering operation values are as follows: - `ASC` + /// for ascending. - `DESC` for descending. The default ordering is `create_time ASC`. /// [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] public virtual string OrderBy { get; set; } /// - /// The maximum number of messages returned. The service might return fewer messages than this value. If - /// unspecified, at most 25 are returned. The maximum value is 1000. If you use a value more than 1000, - /// it's automatically changed to 1000. Negative values return an `INVALID_ARGUMENT` error. + /// Optional. The maximum number of messages returned. The service might return fewer messages than this + /// value. If unspecified, at most 25 are returned. The maximum value is 1000. If you use a value more + /// than 1000, it's automatically changed to 1000. Negative values return an `INVALID_ARGUMENT` error. /// [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// - /// Optional, if resuming from a previous query. A page token received from a previous list messages - /// call. Provide this parameter to retrieve the subsequent page. When paginating, all other parameters - /// provided should match the call that provided the page token. Passing different values to the other - /// parameters might lead to unexpected results. + /// Optional. Optional, if resuming from a previous query. A page token received from a previous list + /// messages call. Provide this parameter to retrieve the subsequent page. When paginating, all other + /// parameters provided should match the call that provided the page token. Passing different values to + /// the other parameters might lead to unexpected results. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// - /// Whether to include deleted messages. Deleted messages include deleted time and metadata about their - /// deletion, but message content is unavailable. + /// Optional. Whether to include deleted messages. Deleted messages include deleted time and metadata + /// about their deletion, but message content is unavailable. /// [Google.Apis.Util.RequestParameterAttribute("showDeleted", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ShowDeleted { get; set; } @@ -2370,12 +2376,12 @@ protected override void InitParameters() /// /// The body of the request. /// - /// Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of - /// the space where the message is posted and `{message}` is a system-assigned ID for the message. For - /// example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a - /// message, you can use this ID to specify the message in a request by replacing `{message}` with the value - /// from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. - /// For details, see [Name a + /// Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is + /// the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. + /// For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you + /// create a message, you can use this ID to specify the message in a request by replacing `{message}` with + /// the value from the `clientAssignedMessageId` field. For example, + /// `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a /// message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). /// public virtual PatchRequest Patch(Google.Apis.HangoutsChat.v1.Data.Message body, string name) @@ -2404,11 +2410,11 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Han } /// - /// Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID - /// of the space where the message is posted and `{message}` is a system-assigned ID for the message. - /// For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you - /// create a message, you can use this ID to specify the message in a request by replacing `{message}` - /// with the value from the `clientAssignedMessageId` field. For example, + /// Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where + /// `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID + /// for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a + /// custom ID when you create a message, you can use this ID to specify the message in a request by + /// replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, /// `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a /// message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). /// @@ -2492,12 +2498,12 @@ protected override void InitParameters() /// /// The body of the request. /// - /// Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of - /// the space where the message is posted and `{message}` is a system-assigned ID for the message. For - /// example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a - /// message, you can use this ID to specify the message in a request by replacing `{message}` with the value - /// from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. - /// For details, see [Name a + /// Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is + /// the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. + /// For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you + /// create a message, you can use this ID to specify the message in a request by replacing `{message}` with + /// the value from the `clientAssignedMessageId` field. For example, + /// `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a /// message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). /// public virtual UpdateRequest Update(Google.Apis.HangoutsChat.v1.Data.Message body, string name) @@ -2526,11 +2532,11 @@ public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.Ha } /// - /// Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID - /// of the space where the message is posted and `{message}` is a system-assigned ID for the message. - /// For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you - /// create a message, you can use this ID to specify the message in a request by replacing `{message}` - /// with the value from the `clientAssignedMessageId` field. For example, + /// Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where + /// `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID + /// for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a + /// custom ID when you create a message, you can use this ID to specify the message in a request by + /// replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, /// `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a /// message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). /// @@ -3029,8 +3035,8 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : public virtual string Name { get; private set; } /// - /// When `true`, the method runs using the user's Google Workspace administrator privileges. The calling - /// user must be a Google Workspace administrator with the [manage chat and spaces conversations + /// Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The + /// calling user must be a Google Workspace administrator with the [manage chat and spaces conversations /// privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.delete` [OAuth 2.0 /// scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). /// @@ -3186,8 +3192,8 @@ public GetRequest(Google.Apis.Services.IClientService service, string name) : ba public virtual string Name { get; private set; } /// - /// When `true`, the method runs using the user's Google Workspace administrator privileges. The calling - /// user must be a Google Workspace administrator with the [manage chat and spaces conversations + /// Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The + /// calling user must be a Google Workspace administrator with the [manage chat and spaces conversations /// privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` or /// `chat.admin.spaces.readonly` [OAuth 2.0 /// scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). @@ -3347,8 +3353,8 @@ protected override void InitParameters() /// /// The body of the request. /// - /// Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID for - /// the space. You can obtain the space ID by calling the + /// Identifier. Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the + /// system-assigned ID for the space. You can obtain the space ID by calling the /// [`spaces.list()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) method or /// from the space URL. For example, if the space URL is /// `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`. @@ -3382,8 +3388,8 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Han } /// - /// Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID - /// for the space. You can obtain the space ID by calling the + /// Identifier. Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the + /// system-assigned ID for the space. You can obtain the space ID by calling the /// [`spaces.list()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) method /// or from the space URL. For example, if the space URL is /// `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`. @@ -3427,8 +3433,8 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Han public virtual object UpdateMask { get; set; } /// - /// When `true`, the method runs using the user's Google Workspace administrator privileges. The calling - /// user must be a Google Workspace administrator with the [manage chat and spaces conversations + /// Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The + /// calling user must be a Google Workspace administrator with the [manage chat and spaces conversations /// privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` [OAuth 2.0 /// scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). Some /// `FieldMask` values are not supported using admin access. For details, see the description of @@ -4193,7 +4199,8 @@ public class AttachedGif : Google.Apis.Requests.IDirectResponseSchema public class Attachment : Google.Apis.Requests.IDirectResponseSchema { /// - /// A reference to the attachment data. This field is used with the media API to download the attachment data. + /// Optional. A reference to the attachment data. This field is used to create or update messages with + /// attachments, or with the media API to download the attachment data. /// [Newtonsoft.Json.JsonPropertyAttribute("attachmentDataRef")] public virtual AttachmentDataRef AttachmentDataRef { get; set; } @@ -4220,7 +4227,8 @@ public class Attachment : Google.Apis.Requests.IDirectResponseSchema public virtual DriveDataRef DriveDataRef { get; set; } /// - /// Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`. + /// Optional. Resource name of the attachment, in the form + /// `spaces/{space}/messages/{message}/attachments/{attachment}`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -4244,15 +4252,15 @@ public class Attachment : Google.Apis.Requests.IDirectResponseSchema public class AttachmentDataRef : Google.Apis.Requests.IDirectResponseSchema { /// - /// Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and - /// used to create or update Chat messages with attachments. + /// Optional. Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque + /// string and used to create or update Chat messages with attachments. /// [Newtonsoft.Json.JsonPropertyAttribute("attachmentUploadToken")] public virtual string AttachmentUploadToken { get; set; } /// - /// The resource name of the attachment data. This field is used with the media API to download the attachment - /// data. + /// Optional. The resource name of the attachment data. This field is used with the media API to download the + /// attachment data. /// [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] public virtual string ResourceName { get; set; } @@ -6006,7 +6014,7 @@ public class GoogleAppsCardV1Section : Google.Apis.Requests.IDirectResponseSchem /// public class GoogleAppsCardV1SelectionInput : Google.Apis.Requests.IDirectResponseSchema { - /// An external data source, such as a relational data base. + /// An external data source, such as a relational database. [Newtonsoft.Json.JsonPropertyAttribute("externalDataSource")] public virtual GoogleAppsCardV1Action ExternalDataSource { get; set; } @@ -6033,9 +6041,11 @@ public class GoogleAppsCardV1SelectionInput : Google.Apis.Requests.IDirectRespon public virtual System.Nullable MultiSelectMaxSelectedItems { get; set; } /// - /// For multiselect menus, the number of text characters that a user inputs before the app queries autocomplete - /// and displays suggested items in the menu. If unspecified, defaults to 0 characters for static data sources - /// and 3 characters for external data sources. + /// For multiselect menus, the number of text characters that a user inputs before the menu returns suggested + /// selection items. If unset, the multiselect menu uses the following default values: * If the menu uses a + /// static array of `SelectionInput` items, defaults to 0 characters and immediately populates items from the + /// array. * If the menu uses a dynamic data source (`multi_select_data_source`), defaults to 3 characters + /// before querying the data source to return suggested items. /// [Newtonsoft.Json.JsonPropertyAttribute("multiSelectMinQueryLength")] public virtual System.Nullable MultiSelectMinQueryLength { get; set; } @@ -6072,8 +6082,8 @@ public class GoogleAppsCardV1SelectionInput : Google.Apis.Requests.IDirectRespon } /// - /// An item that users can select in a selection input, such as a checkbox or switch. [Google Workspace Add-ons and - /// Chat apps](https://developers.google.com/workspace/extend): + /// An item that users can select in a selection input, such as a checkbox or switch. Supports up to 100 items. + /// [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend): /// public class GoogleAppsCardV1SelectionItem : Google.Apis.Requests.IDirectResponseSchema { @@ -6979,13 +6989,13 @@ public class MembershipBatchUpdatedEventData : Google.Apis.Requests.IDirectRespo public class MembershipCount : Google.Apis.Requests.IDirectResponseSchema { /// - /// Count of human users that have directly joined the space, not counting users joined by having membership in - /// a joined group. + /// Output only. Count of human users that have directly joined the space, not counting users joined by having + /// membership in a joined group. /// [Newtonsoft.Json.JsonPropertyAttribute("joinedDirectHumanUserCount")] public virtual System.Nullable JoinedDirectHumanUserCount { get; set; } - /// Count of all groups that have directly joined the space. + /// Output only. Count of all groups that have directly joined the space. [Newtonsoft.Json.JsonPropertyAttribute("joinedGroupCount")] public virtual System.Nullable JoinedGroupCount { get; set; } @@ -7036,9 +7046,9 @@ public class MembershipUpdatedEventData : Google.Apis.Requests.IDirectResponseSc public class Message : Google.Apis.Requests.IDirectResponseSchema { /// - /// One or more interactive widgets that appear at the bottom of a message. You can add accessory widgets to - /// messages that contain text, cards, or both text and cards. Not supported for messages that contain dialogs. - /// For details, see [Add interactive widgets at the bottom of a + /// Optional. One or more interactive widgets that appear at the bottom of a message. You can add accessory + /// widgets to messages that contain text, cards, or both text and cards. Not supported for messages that + /// contain dialogs. For details, see [Add interactive widgets at the bottom of a /// message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets). Creating a /// message with accessory widgets requires [app authentication] /// (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). @@ -7062,7 +7072,7 @@ public class Message : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("attachedGifs")] public virtual System.Collections.Generic.IList AttachedGifs { get; set; } - /// User-uploaded attachment. + /// Optional. User-uploaded attachment. [Newtonsoft.Json.JsonPropertyAttribute("attachment")] public virtual System.Collections.Generic.IList Attachment { get; set; } @@ -7075,8 +7085,8 @@ public class Message : Google.Apis.Requests.IDirectResponseSchema public virtual System.Collections.Generic.IList Cards { get; set; } /// - /// An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Only Chat - /// apps can create cards. If your Chat app [authenticates as a + /// Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). + /// Only Chat apps can create cards. If your Chat app [authenticates as a /// user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the messages can't /// contain cards. To learn how to create a message that contains cards, see [Send a /// message](https://developers.google.com/workspace/chat/create-messages). [Card @@ -7086,8 +7096,8 @@ public class Message : Google.Apis.Requests.IDirectResponseSchema public virtual System.Collections.Generic.IList CardsV2 { get; set; } /// - /// Optional. A custom ID for the message. You can use field to identify a message, or to get, delete, or update - /// a message. To set a custom ID, specify the + /// Optional. Optional. A custom ID for the message. You can use field to identify a message, or to get, delete, + /// or update a message. To set a custom ID, specify the /// [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id) /// field when you create the message. For details, see [Name a /// message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). @@ -7188,8 +7198,8 @@ public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset public virtual System.Collections.Generic.IList EmojiReactionSummaries { get; set; } /// - /// A plain-text description of the message's cards, used when the actual cards can't be displayed—for example, - /// mobile notifications. + /// Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed—for + /// example, mobile notifications. /// [Newtonsoft.Json.JsonPropertyAttribute("fallbackText")] public virtual string FallbackText { get; set; } @@ -7259,20 +7269,21 @@ public virtual System.DateTimeOffset? LastUpdateTimeDateTimeOffset public virtual MatchedUrl MatchedUrl { get; set; } /// - /// Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the - /// space where the message is posted and `{message}` is a system-assigned ID for the message. For example, - /// `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you - /// can use this ID to specify the message in a request by replacing `{message}` with the value from the - /// `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, - /// see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). + /// Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the + /// ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For + /// example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a + /// message, you can use this ID to specify the message in a request by replacing `{message}` with the value + /// from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For + /// details, see [Name a + /// message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message). /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// - /// Immutable. Input for creating a message, otherwise output only. The user that can view the message. When - /// set, the message is private and only visible to the specified user and the Chat app. To include this field - /// in your request, you must call the Chat API using [app + /// Optional. Immutable. Input for creating a message, otherwise output only. The user that can view the + /// message. When set, the message is private and only visible to the specified user and the Chat app. To + /// include this field in your request, you must call the Chat API using [app /// authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and omit the /// following: * /// [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments) @@ -7304,18 +7315,18 @@ public virtual System.DateTimeOffset? LastUpdateTimeDateTimeOffset public virtual SlashCommand SlashCommand { get; set; } /// - /// If your Chat app [authenticates as a - /// user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output populates - /// the [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces) `name`. + /// Output only. If your Chat app [authenticates as a + /// user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output only + /// populates the [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces) `name`. /// [Newtonsoft.Json.JsonPropertyAttribute("space")] public virtual Space Space { get; set; } /// - /// Plain-text body of the message. The first link to an image, video, or web page generates a [preview - /// chip](https://developers.google.com/workspace/chat/preview-links). You can also [@mention a Google Chat - /// user](https://developers.google.com/workspace/chat/format-messages#messages-@mention), or everyone in the - /// space. To learn about creating text messages, see [Send a + /// Optional. Plain-text body of the message. The first link to an image, video, or web page generates a + /// [preview chip](https://developers.google.com/workspace/chat/preview-links). You can also [@mention a Google + /// Chat user](https://developers.google.com/workspace/chat/format-messages#messages-@mention), or everyone in + /// the space. To learn about creating text messages, see [Send a /// message](https://developers.google.com/workspace/chat/create-messages). /// [Newtonsoft.Json.JsonPropertyAttribute("text")] @@ -7444,11 +7455,11 @@ public class OpenLink : Google.Apis.Requests.IDirectResponseSchema /// Represents a space permission setting. public class PermissionSetting : Google.Apis.Requests.IDirectResponseSchema { - /// Whether spaces managers have this permission. + /// Optional. Whether spaces managers have this permission. [Newtonsoft.Json.JsonPropertyAttribute("managersAllowed")] public virtual System.Nullable ManagersAllowed { get; set; } - /// Whether non-manager members have this permission. + /// Optional. Whether non-manager members have this permission. [Newtonsoft.Json.JsonPropertyAttribute("membersAllowed")] public virtual System.Nullable MembersAllowed { get; set; } @@ -7463,19 +7474,19 @@ public class PermissionSetting : Google.Apis.Requests.IDirectResponseSchema /// public class PermissionSettings : Google.Apis.Requests.IDirectResponseSchema { - /// Setting for managing apps in a space. + /// Optional. Setting for managing apps in a space. [Newtonsoft.Json.JsonPropertyAttribute("manageApps")] public virtual PermissionSetting ManageApps { get; set; } - /// Setting for managing members and groups in a space. + /// Optional. Setting for managing members and groups in a space. [Newtonsoft.Json.JsonPropertyAttribute("manageMembersAndGroups")] public virtual PermissionSetting ManageMembersAndGroups { get; set; } - /// Setting for managing webhooks in a space. + /// Optional. Setting for managing webhooks in a space. [Newtonsoft.Json.JsonPropertyAttribute("manageWebhooks")] public virtual PermissionSetting ManageWebhooks { get; set; } - /// Setting for updating space name, avatar, description and guidelines. + /// Optional. Setting for updating space name, avatar, description and guidelines. [Newtonsoft.Json.JsonPropertyAttribute("modifySpaceDetails")] public virtual PermissionSetting ModifySpaceDetails { get; set; } @@ -7483,15 +7494,15 @@ public class PermissionSettings : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("postMessages")] public virtual PermissionSetting PostMessages { get; set; } - /// Setting for replying to messages in a space. + /// Optional. Setting for replying to messages in a space. [Newtonsoft.Json.JsonPropertyAttribute("replyMessages")] public virtual PermissionSetting ReplyMessages { get; set; } - /// Setting for toggling space history on and off. + /// Optional. Setting for toggling space history on and off. [Newtonsoft.Json.JsonPropertyAttribute("toggleHistory")] public virtual PermissionSetting ToggleHistory { get; set; } - /// Setting for using @all in a space. + /// Optional. Setting for using @all in a space. [Newtonsoft.Json.JsonPropertyAttribute("useAtMentionAll")] public virtual PermissionSetting UseAtMentionAll { get; set; } @@ -7858,7 +7869,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset } /// - /// The space's display name. Required when [creating a + /// Optional. The space's display name. Required when [creating a /// space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create) with a `spaceType` /// of `SPACE`. If you receive the error message `ALREADY_EXISTS` when creating a space or updating the /// `displayName`, try a different `displayName`. An existing space within the Google Workspace organization @@ -7869,9 +7880,9 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string DisplayName { get; set; } /// - /// Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a - /// Google Workspace organization. Omit this field when creating spaces in the following conditions: * The - /// authenticated user uses a consumer account (unmanaged user account). By default, a space created by a + /// Optional. Immutable. Whether this space permits any Google Chat user as a member. Input when creating a + /// space in a Google Workspace organization. Omit this field when creating spaces in the following conditions: + /// * The authenticated user uses a consumer account (unmanaged user account). By default, a space created by a /// consumer account permits any Google Chat user. For existing spaces, this field is output only. /// [Newtonsoft.Json.JsonPropertyAttribute("externalUserAllowed")] @@ -7933,8 +7944,8 @@ public virtual System.DateTimeOffset? LastActiveTimeDateTimeOffset public virtual MembershipCount MembershipCount { get; set; } /// - /// Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID for - /// the space. You can obtain the space ID by calling the + /// Identifier. Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the + /// system-assigned ID for the space. You can obtain the space ID by calling the /// [`spaces.list()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) method or /// from the space URL. For example, if the space URL is /// `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`. @@ -7961,11 +7972,11 @@ public virtual System.DateTimeOffset? LastActiveTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("singleUserBotDm")] public virtual System.Nullable SingleUserBotDm { get; set; } - /// Details about the space including description and rules. + /// Optional. Details about the space including description and rules. [Newtonsoft.Json.JsonPropertyAttribute("spaceDetails")] public virtual SpaceDetails SpaceDetails { get; set; } - /// The message history state for messages and threads in this space. + /// Optional. The message history state for messages and threads in this space. [Newtonsoft.Json.JsonPropertyAttribute("spaceHistoryState")] public virtual string SpaceHistoryState { get; set; } @@ -7974,8 +7985,8 @@ public virtual System.DateTimeOffset? LastActiveTimeDateTimeOffset public virtual string SpaceThreadingState { get; set; } /// - /// The type of space. Required when creating a space or updating the space type of a space. Output only for - /// other usage. + /// Optional. The type of space. Required when creating a space or updating the space type of a space. Output + /// only for other usage. /// [Newtonsoft.Json.JsonPropertyAttribute("spaceType")] public virtual string SpaceType { get; set; } @@ -8378,7 +8389,7 @@ public class TextParagraph : Google.Apis.Requests.IDirectResponseSchema /// public class Thread : Google.Apis.Requests.IDirectResponseSchema { - /// Resource name of the thread. Example: `spaces/{space}/threads/{thread}` + /// Identifier. Resource name of the thread. Example: `spaces/{space}/threads/{thread}` [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -8486,7 +8497,7 @@ public class TimeZone : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// The response of the updated widget. Used to provide autocomplete options for a widget. + /// For `selectionInput` widgets, returns autocomplete suggestions for a multiselect menu. public class UpdatedWidget : Google.Apis.Requests.IDirectResponseSchema { /// List of widget autocomplete results diff --git a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj index db70893782..f18a704451 100644 --- a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj +++ b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.HangoutsChat.v1 Client Library - 1.68.0.3591 + 1.68.0.3596 Google LLC Copyright 2024 Google LLC Google From d296d32ea159928a9ceaafde088c16447a16393c Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:23 -0800 Subject: [PATCH 08/28] feat: Generate Google.Apis.ChromeManagement.v1 version 1.68.0.3598 --- DiscoveryJson/chromemanagement.v1.json | 8 +++++--- .../Google.Apis.ChromeManagement.v1.csproj | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/chromemanagement.v1.json b/DiscoveryJson/chromemanagement.v1.json index 6869088cb3..feb7b0479f 100644 --- a/DiscoveryJson/chromemanagement.v1.json +++ b/DiscoveryJson/chromemanagement.v1.json @@ -1172,7 +1172,7 @@ } } }, - "revision": "20241023", + "revision": "20241107", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -3778,7 +3778,8 @@ "APPLICATION_LAUNCH_SOURCE_WELCOME_TOUR", "APPLICATION_LAUNCH_SOURCE_FOCUS_MODE", "APPLICATION_LAUNCH_SOURCE_SPARKY", - "APPLICATION_LAUNCH_SOURCE_NAVIGATION_CAPTURING" + "APPLICATION_LAUNCH_SOURCE_NAVIGATION_CAPTURING", + "APPLICATION_LAUNCH_SOURCE_WEB_INSTALL_API" ], "enumDescriptions": [ "Application launch source unknown.", @@ -3823,7 +3824,8 @@ "Application launched from welcome tour.", "Applicationed launched from focus panel.", "Application launched from experimental feature Sparky.", - "Application launched from navigation capturing." + "Application launched from navigation capturing.", + "Application launched from web install API." ], "type": "string" }, diff --git a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj index 7180bd7844..655ea908aa 100644 --- a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ChromeManagement.v1 Client Library - 1.68.0.3583 + 1.68.0.3598 Google LLC Copyright 2024 Google LLC Google From cfafe4856569023d0e022ab26b48f0c72c52631a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:27 -0800 Subject: [PATCH 09/28] feat: Generate Google.Apis.Compute.alpha version 1.68.0.3596 --- DiscoveryJson/compute.alpha.json | 56 ++++-------------- .../Google.Apis.Compute.alpha.cs | 59 ++++++++----------- .../Google.Apis.Compute.alpha.csproj | 2 +- 3 files changed, 39 insertions(+), 78 deletions(-) diff --git a/DiscoveryJson/compute.alpha.json b/DiscoveryJson/compute.alpha.json index 5a6c00a817..5924e39171 100644 --- a/DiscoveryJson/compute.alpha.json +++ b/DiscoveryJson/compute.alpha.json @@ -11621,7 +11621,7 @@ ] }, "addNetworkInterface": { - "description": "Adds one dynamic network interface to an active instance.", + "description": "Adds a network interface to an instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface", "httpMethod": "POST", "id": "compute.instances.addNetworkInterface", @@ -11996,7 +11996,7 @@ ] }, "deleteNetworkInterface": { - "description": "Deletes one dynamic network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using project+zone+resource_id fields; - dynamic network interface to be deleted, using network_interface_name field;", + "description": "Deletes one network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using project+zone+resource_id fields; - network interface to be deleted, using network_interface_name field; Only VLAN interface deletion is supported for now.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface", "httpMethod": "POST", "id": "compute.instances.deleteNetworkInterface", @@ -12014,7 +12014,7 @@ "type": "string" }, "networkInterfaceName": { - "description": "The name of the dynamic network interface to be deleted from the instance.", + "description": "The name of the network interface to be deleted from the instance. Only VLAN network interface deletion is supported.", "location": "query", "required": true, "type": "string" @@ -12438,7 +12438,7 @@ "type": "string" }, "start": { - "description": "Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console. Note that the negative start is bounded by the retained buffer size, and the returned serial console output will not exceed the max buffer size.", + "description": "Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.", "format": "int64", "location": "query", "type": "string" @@ -47179,7 +47179,7 @@ } } }, - "revision": "20241021", + "revision": "20241105", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -50161,7 +50161,7 @@ "description": "The CacheKeyPolicy for this CdnPolicy." }, "cacheMode": { - "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.", + "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", "enum": [ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", @@ -51152,7 +51152,7 @@ "description": "The CacheKeyPolicy for this CdnPolicy." }, "cacheMode": { - "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.", + "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", "enum": [ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", @@ -52944,6 +52944,7 @@ "COMPUTE_OPTIMIZED_H3", "GENERAL_PURPOSE", "GENERAL_PURPOSE_C4", + "GENERAL_PURPOSE_C4A", "GENERAL_PURPOSE_E2", "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", @@ -52984,6 +52985,7 @@ "", "", "", + "", "" ], "type": "string" @@ -75595,23 +75597,19 @@ "enum": [ "GVNIC", "IDPF", - "IRDMA", - "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ], "enumDescriptions": [ "GVNIC", "IDPF", - "IRDMA", - "MRDMA", "No type specified.", "VIRTIO" ], "type": "string" }, "parentNicName": { - "description": "Name of the parent network interface of a dynamic network interface.", + "description": "Name of the parent network interface of a VLAN based nic. If this field is specified, vlan must be set.", "type": "string" }, "queueCount": { @@ -75645,7 +75643,7 @@ "type": "string" }, "vlan": { - "description": "VLAN tag of a dynamic network interface, must be in range from 2 to 4094 inclusively.", + "description": "VLAN tag of a VLAN based network interface, must be in range from 2 to 4094 inclusively. This field is mandatory if the parent network interface name is set.", "format": "int32", "type": "integer" } @@ -75966,10 +75964,6 @@ "description": "[Output Only] Type of the resource. Always compute#networkProfile for network profiles.", "type": "string" }, - "location": { - "$ref": "NetworkProfileLocation", - "description": "[Output Only] Location to which the network is restricted." - }, "name": { "description": "[Output Only] Name of the resource.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", @@ -75990,26 +75984,6 @@ }, "type": "object" }, - "NetworkProfileLocation": { - "id": "NetworkProfileLocation", - "properties": { - "name": { - "type": "string" - }, - "scope": { - "enum": [ - "REGION", - "ZONE" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, "NetworkProfileNetworkFeatures": { "id": "NetworkProfileNetworkFeatures", "properties": { @@ -76252,16 +76226,12 @@ "enum": [ "GVNIC", "IDPF", - "IRDMA", - "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ], "enumDescriptions": [ "GVNIC", "IDPF", - "IRDMA", - "MRDMA", "No type specified.", "VIRTIO" ], @@ -97298,7 +97268,7 @@ "type": "string" }, "purpose": { - "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", + "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", "enum": [ "AGGREGATE", "CLOUD_EXTENSION", @@ -102955,7 +102925,7 @@ "type": "string" }, "purpose": { - "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", + "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", "enum": [ "AGGREGATE", "CLOUD_EXTENSION", diff --git a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs index 6c85968042..ad51aa39c8 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs +++ b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs @@ -27140,7 +27140,7 @@ protected override void InitParameters() } } - /// Adds one dynamic network interface to an active instance. + /// Adds a network interface to an instance. /// The body of the request. /// Project ID for this request. /// The name of the zone for this request. @@ -27153,7 +27153,7 @@ public virtual AddNetworkInterfaceRequest AddNetworkInterface(Google.Apis.Comput return new AddNetworkInterfaceRequest(this.service, body, project, zone, instance); } - /// Adds one dynamic network interface to an active instance. + /// Adds a network interface to an instance. public class AddNetworkInterfaceRequest : ComputeBaseServiceRequest { /// Constructs a new AddNetworkInterface request. @@ -27998,9 +27998,9 @@ protected override void InitParameters() } /// - /// Deletes one dynamic network interface from an active instance. InstancesDeleteNetworkInterfaceRequest - /// indicates: - instance from which to delete, using project+zone+resource_id fields; - dynamic network - /// interface to be deleted, using network_interface_name field; + /// Deletes one network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - + /// instance from which to delete, using project+zone+resource_id fields; - network interface to be deleted, + /// using network_interface_name field; Only VLAN interface deletion is supported for now. /// /// Project ID for this request. /// The name of the zone for this request. @@ -28009,7 +28009,8 @@ protected override void InitParameters() /// long integer. /// /// - /// The name of the dynamic network interface to be deleted from the instance. + /// The name of the network interface to be deleted from the instance. Only VLAN network interface deletion is + /// supported. /// public virtual DeleteNetworkInterfaceRequest DeleteNetworkInterface(string project, string zone, string instance, string networkInterfaceName) { @@ -28017,9 +28018,9 @@ public virtual DeleteNetworkInterfaceRequest DeleteNetworkInterface(string proje } /// - /// Deletes one dynamic network interface from an active instance. InstancesDeleteNetworkInterfaceRequest - /// indicates: - instance from which to delete, using project+zone+resource_id fields; - dynamic network - /// interface to be deleted, using network_interface_name field; + /// Deletes one network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - + /// instance from which to delete, using project+zone+resource_id fields; - network interface to be deleted, + /// using network_interface_name field; Only VLAN interface deletion is supported for now. /// public class DeleteNetworkInterfaceRequest : ComputeBaseServiceRequest { @@ -28048,7 +28049,10 @@ public DeleteNetworkInterfaceRequest(Google.Apis.Services.IClientService service [Google.Apis.Util.RequestParameterAttribute("instance", Google.Apis.Util.RequestParameterType.Path)] public virtual string Instance { get; private set; } - /// The name of the dynamic network interface to be deleted from the instance. + /// + /// The name of the network interface to be deleted from the instance. Only VLAN network interface deletion + /// is supported. + /// [Google.Apis.Util.RequestParameterAttribute("networkInterfaceName", Google.Apis.Util.RequestParameterType.Query)] public virtual string NetworkInterfaceName { get; private set; } @@ -28811,8 +28815,6 @@ public GetSerialPortOutputRequest(Google.Apis.Services.IClientService service, s /// still available, and the adjusted start position is returned as the `start` property value. You can also /// provide a negative start position, which translates to the most recent number of bytes written to the /// serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console. - /// Note that the negative start is bounded by the retained buffer size, and the returned serial console - /// output will not exceed the max buffer size. /// [Google.Apis.Util.RequestParameterAttribute("start", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable Start { get; set; } @@ -108592,7 +108594,7 @@ public class BackendBucketCdnPolicy : Google.Apis.Requests.IDirectResponseSchema /// result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically /// cache static content, including common image formats, media (video and audio), and web assets (JavaScript /// and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including - /// HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC. + /// HTML), will not be cached. /// [Newtonsoft.Json.JsonPropertyAttribute("cacheMode")] public virtual string CacheMode { get; set; } @@ -109481,7 +109483,7 @@ public class BackendServiceCdnPolicy : Google.Apis.Requests.IDirectResponseSchem /// result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically /// cache static content, including common image formats, media (video and audio), and web assets (JavaScript /// and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including - /// HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC. + /// HTML), will not be cached. /// [Newtonsoft.Json.JsonPropertyAttribute("cacheMode")] public virtual string CacheMode { get; set; } @@ -129192,7 +129194,9 @@ public class NetworkInterface : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("nicType")] public virtual string NicType { get; set; } - /// Name of the parent network interface of a dynamic network interface. + /// + /// Name of the parent network interface of a VLAN based nic. If this field is specified, vlan must be set. + /// [Newtonsoft.Json.JsonPropertyAttribute("parentNicName")] public virtual string ParentNicName { get; set; } @@ -129230,7 +129234,10 @@ public class NetworkInterface : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("subnetwork")] public virtual string Subnetwork { get; set; } - /// VLAN tag of a dynamic network interface, must be in range from 2 to 4094 inclusively. + /// + /// VLAN tag of a VLAN based network interface, must be in range from 2 to 4094 inclusively. This field is + /// mandatory if the parent network interface name is set. + /// [Newtonsoft.Json.JsonPropertyAttribute("vlan")] public virtual System.Nullable Vlan { get; set; } @@ -129480,10 +129487,6 @@ public class NetworkProfile : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("kind")] public virtual string Kind { get; set; } - /// [Output Only] Location to which the network is restricted. - [Newtonsoft.Json.JsonPropertyAttribute("location")] - public virtual NetworkProfileLocation Location { get; set; } - /// [Output Only] Name of the resource. [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -129504,18 +129507,6 @@ public class NetworkProfile : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class NetworkProfileLocation : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("scope")] - public virtual string Scope { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - public class NetworkProfileNetworkFeatures : Google.Apis.Requests.IDirectResponseSchema { /// @@ -144483,7 +144474,7 @@ public class Subnetwork : Google.Apis.Requests.IDirectResponseSchema /// /// The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, - /// or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are + /// PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are /// automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or /// REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A /// subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service @@ -148392,7 +148383,7 @@ public class UsableSubnetwork : Google.Apis.Requests.IDirectResponseSchema /// /// The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, - /// or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are + /// PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are /// automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or /// REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A /// subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service diff --git a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj index 50ad5270f0..88b6cd1b55 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj +++ b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.alpha Client Library - 1.68.0.3581 + 1.68.0.3596 Google LLC Copyright 2024 Google LLC Google From 4ba4e8a1051287eeb23a81785ce887494469902d Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:31 -0800 Subject: [PATCH 10/28] feat: Generate Google.Apis.Compute.v1 version 1.68.0.3596 --- DiscoveryJson/compute.v1.json | 66 +++---------------- .../Google.Apis.Compute.v1.cs | 52 ++------------- .../Google.Apis.Compute.v1.csproj | 2 +- 3 files changed, 13 insertions(+), 107 deletions(-) diff --git a/DiscoveryJson/compute.v1.json b/DiscoveryJson/compute.v1.json index ea854b6a41..1ac03e84ff 100644 --- a/DiscoveryJson/compute.v1.json +++ b/DiscoveryJson/compute.v1.json @@ -10446,7 +10446,7 @@ "type": "string" }, "start": { - "description": "Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console. Note that the negative start is bounded by the retained buffer size, and the returned serial console output will not exceed the max buffer size.", + "description": "Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.", "format": "int64", "location": "query", "type": "string" @@ -37421,7 +37421,7 @@ } } }, - "revision": "20241021", + "revision": "20241105", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -40146,7 +40146,7 @@ "description": "The CacheKeyPolicy for this CdnPolicy." }, "cacheMode": { - "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.", + "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", "enum": [ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", @@ -40908,7 +40908,7 @@ "description": "The CacheKeyPolicy for this CdnPolicy." }, "cacheMode": { - "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.", + "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", "enum": [ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", @@ -42304,6 +42304,7 @@ "COMPUTE_OPTIMIZED_H3", "GENERAL_PURPOSE", "GENERAL_PURPOSE_C4", + "GENERAL_PURPOSE_C4A", "GENERAL_PURPOSE_E2", "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", @@ -42335,6 +42336,7 @@ "", "", "", + "", "" ], "type": "string" @@ -60238,34 +60240,6 @@ "description": "A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.", "id": "NetworkRoutingConfig", "properties": { - "bgpAlwaysCompareMed": { - "description": "Enable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm.", - "type": "boolean" - }, - "bgpBestPathSelectionMode": { - "description": "The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD.", - "enum": [ - "LEGACY", - "STANDARD" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "bgpInterRegionCost": { - "description": "Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT or ADD_COST_TO_MED.", - "enum": [ - "ADD_COST_TO_MED", - "DEFAULT" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, "routingMode": { "description": "The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.", "enum": [ @@ -69155,38 +69129,14 @@ "description": "The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/", "type": "string" }, - "nextHopInterRegionCost": { - "description": "[Output only] Internal fixed region-to-region cost that Google Cloud calculates based on factors such as network performance, distance, and available bandwidth between regions.", - "format": "uint32", - "type": "integer" - }, "nextHopIp": { "description": "The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.", "type": "string" }, - "nextHopMed": { - "description": "[Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular route in a network.", - "format": "uint32", - "type": "integer" - }, "nextHopNetwork": { "description": "The URL of the local network if it should handle matching packets.", "type": "string" }, - "nextHopOrigin": { - "description": "[Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.", - "enum": [ - "EGP", - "IGP", - "INCOMPLETE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string" - }, "nextHopPeering": { "description": "[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.", "type": "string" @@ -76972,7 +76922,7 @@ "type": "string" }, "purpose": { - "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", + "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", "enum": [ "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", @@ -82167,7 +82117,7 @@ "type": "string" }, "purpose": { - "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", + "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", "enum": [ "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", diff --git a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs index d403c798d9..988809fd6d 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs +++ b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs @@ -24435,8 +24435,6 @@ public GetSerialPortOutputRequest(Google.Apis.Services.IClientService service, s /// still available, and the adjusted start position is returned as the `start` property value. You can also /// provide a negative start position, which translates to the most recent number of bytes written to the /// serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console. - /// Note that the negative start is bounded by the retained buffer size, and the returned serial console - /// output will not exceed the max buffer size. /// [Google.Apis.Util.RequestParameterAttribute("start", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable Start { get; set; } @@ -87446,7 +87444,7 @@ public class BackendBucketCdnPolicy : Google.Apis.Requests.IDirectResponseSchema /// result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically /// cache static content, including common image formats, media (video and audio), and web assets (JavaScript /// and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including - /// HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC. + /// HTML), will not be cached. /// [Newtonsoft.Json.JsonPropertyAttribute("cacheMode")] public virtual string CacheMode { get; set; } @@ -88168,7 +88166,7 @@ public class BackendServiceCdnPolicy : Google.Apis.Requests.IDirectResponseSchem /// result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically /// cache static content, including common image formats, media (video and audio), and web assets (JavaScript /// and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including - /// HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC. + /// HTML), will not be cached. /// [Newtonsoft.Json.JsonPropertyAttribute("cacheMode")] public virtual string CacheMode { get; set; } @@ -103697,27 +103695,6 @@ public class NetworkPerformanceConfig : Google.Apis.Requests.IDirectResponseSche /// public class NetworkRoutingConfig : Google.Apis.Requests.IDirectResponseSchema { - /// - /// Enable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using - /// the STANDARD BGP best path selection algorithm. - /// - [Newtonsoft.Json.JsonPropertyAttribute("bgpAlwaysCompareMed")] - public virtual System.Nullable BgpAlwaysCompareMed { get; set; } - - /// - /// The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud - /// Routers. Can be LEGACY (default) or STANDARD. - /// - [Newtonsoft.Json.JsonPropertyAttribute("bgpBestPathSelectionMode")] - public virtual string BgpBestPathSelectionMode { get; set; } - - /// - /// Allows to define a preferred approach for handling inter-region cost in the selection process when using the - /// STANDARD BGP best path selection algorithm. Can be DEFAULT or ADD_COST_TO_MED. - /// - [Newtonsoft.Json.JsonPropertyAttribute("bgpInterRegionCost")] - public virtual string BgpInterRegionCost { get; set; } - /// /// The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise /// routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud @@ -109678,13 +109655,6 @@ public class Route : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("nextHopInstance")] public virtual string NextHopInstance { get; set; } - /// - /// [Output only] Internal fixed region-to-region cost that Google Cloud calculates based on factors such as - /// network performance, distance, and available bandwidth between regions. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextHopInterRegionCost")] - public virtual System.Nullable NextHopInterRegionCost { get; set; } - /// /// The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 /// addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 @@ -109695,24 +109665,10 @@ public class Route : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("nextHopIp")] public virtual string NextHopIp { get; set; } - /// - /// [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the desirability of a particular - /// route in a network. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextHopMed")] - public virtual System.Nullable NextHopMed { get; set; } - /// The URL of the local network if it should handle matching packets. [Newtonsoft.Json.JsonPropertyAttribute("nextHopNetwork")] public virtual string NextHopNetwork { get; set; } - /// - /// [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway Protocol), EGP (Exterior - /// Gateway Protocol), or INCOMPLETE. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextHopOrigin")] - public virtual string NextHopOrigin { get; set; } - /// /// [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035. /// @@ -115475,7 +115431,7 @@ public class Subnetwork : Google.Apis.Requests.IDirectResponseSchema /// /// The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, - /// or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are + /// PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are /// automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or /// REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A /// subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service @@ -119034,7 +118990,7 @@ public class UsableSubnetwork : Google.Apis.Requests.IDirectResponseSchema /// /// The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, - /// or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are + /// PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are /// automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or /// REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A /// subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service diff --git a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj index 67edf97ab2..d12f6b7ced 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj +++ b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.v1 Client Library - 1.68.0.3581 + 1.68.0.3596 Google LLC Copyright 2024 Google LLC Google From 2d9c9bcf9cc09aca6cc73e3225f40962126a5cfb Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:34 -0800 Subject: [PATCH 11/28] feat: Generate Google.Apis.Container.v1 version 1.68.0.3584 --- DiscoveryJson/container.v1.json | 103 ++++++++++++- .../Google.Apis.Container.v1.cs | 144 +++++++++++++++++- .../Google.Apis.Container.v1.csproj | 2 +- 3 files changed, 236 insertions(+), 13 deletions(-) diff --git a/DiscoveryJson/container.v1.json b/DiscoveryJson/container.v1.json index 7f69358980..08c8d8db86 100644 --- a/DiscoveryJson/container.v1.json +++ b/DiscoveryJson/container.v1.json @@ -2540,7 +2540,7 @@ } } }, - "revision": "20241017", + "revision": "20241024", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3747,6 +3747,10 @@ "$ref": "NodeKubeletConfig", "description": "The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." }, + "desiredNodePoolAutoConfigLinuxNodeConfig": { + "$ref": "LinuxNodeConfig", + "description": "The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here." + }, "desiredNodePoolAutoConfigNetworkTags": { "$ref": "NetworkTags", "description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." @@ -5631,6 +5635,20 @@ "format": "int32", "type": "integer" }, + "localSsdEncryptionMode": { + "description": "Specifies which method should be used for encrypting the Local SSDs attahced to the node.", + "enum": [ + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + "EPHEMERAL_KEY_ENCRYPTION" + ], + "enumDescriptions": [ + "The given node will be encrypted using keys managed by Google infrastructure and the keys will be deleted when the node is deleted.", + "The given node will be encrypted using keys managed by Google infrastructure and the keys will be deleted when the node is deleted.", + "The given node will opt-in for using ephemeral key for encryption of Local SSDs. The Local SSDs will not be able to recover data in case of node crash." + ], + "type": "string" + }, "loggingConfig": { "$ref": "NodePoolLoggingConfig", "description": "Logging configuration." @@ -6009,6 +6027,11 @@ "description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.", "id": "NodePoolAutoConfig", "properties": { + "linuxNodeConfig": { + "$ref": "LinuxNodeConfig", + "description": "Output only. Configuration options for Linux nodes.", + "readOnly": true + }, "networkTags": { "$ref": "NetworkTags", "description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035." @@ -6051,22 +6074,22 @@ "type": "string" }, "maxNodeCount": { - "description": "Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.", + "description": "Maximum number of nodes for one location in the node pool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.", "format": "int32", "type": "integer" }, "minNodeCount": { - "description": "Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.", + "description": "Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0 and less than or equal to max_node_count.", "format": "int32", "type": "integer" }, "totalMaxNodeCount": { - "description": "Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", + "description": "Maximum number of nodes in the node pool. Must be greater than or equal to total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", "format": "int32", "type": "integer" }, "totalMinNodeCount": { - "description": "Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", + "description": "Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", "format": "int32", "type": "integer" } @@ -7974,6 +7997,76 @@ }, "type": "object" }, + "UpgradeInfoEvent": { + "description": "UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource.", + "id": "UpgradeInfoEvent", + "properties": { + "currentVersion": { + "description": "The current version before the upgrade.", + "type": "string" + }, + "description": { + "description": "A brief description of the event.", + "type": "string" + }, + "endTime": { + "description": "The time when the operation ended.", + "format": "google-datetime", + "type": "string" + }, + "operation": { + "description": "The operation associated with this upgrade.", + "type": "string" + }, + "resource": { + "description": "Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.", + "type": "string" + }, + "resourceType": { + "description": "The resource type associated with the upgrade.", + "enum": [ + "UPGRADE_RESOURCE_TYPE_UNSPECIFIED", + "MASTER", + "NODE_POOL" + ], + "enumDescriptions": [ + "Default value. This shouldn't be used.", + "Master / control plane", + "Node pool" + ], + "type": "string" + }, + "startTime": { + "description": "The time when the operation was started.", + "format": "google-datetime", + "type": "string" + }, + "state": { + "description": "Output only. The state of the upgrade.", + "enum": [ + "STATE_UNSPECIFIED", + "STARTED", + "SUCCEEDED", + "FAILED", + "CANCELED" + ], + "enumDescriptions": [ + "STATE_UNSPECIFIED indicates the state is unspecified.", + "STARTED indicates the upgrade has started.", + "SUCCEEDED indicates the upgrade has completed successfully.", + "FAILED indicates the upgrade has failed.", + "CANCELED indicates the upgrade has canceled." + ], + "readOnly": true, + "type": "string" + }, + "targetVersion": { + "description": "The target version for the upgrade.", + "type": "string" + } + }, + "type": "object" + }, "UpgradeSettings": { "description": "These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available. These upgrade settings configure the upgrade strategy for the node pool. Use strategy to switch between the strategies applied to the node pool. If the strategy is ROLLING, use max_surge and max_unavailable to control the level of parallelism and the level of disruption caused by upgrade. 1. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. 2. maxUnavailable controls the number of nodes that can be simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). If the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-green upgrade related settings. 1. standard_rollout_policy is the default policy. The policy is used to control the way blue pool gets drained. The draining is executed in the batch mode. The batch size could be specified as either percentage of the node pool size or the number of nodes. batch_soak_duration is the soak time after each batch gets drained. 2. node_pool_soak_duration is the soak time after all blue nodes are drained. After this period, the blue pool nodes will be deleted.", "id": "UpgradeSettings", diff --git a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs index 8bcab844ba..b67c82cbd8 100644 --- a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs +++ b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs @@ -7553,6 +7553,13 @@ public class ClusterUpdate : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("desiredNodePoolAutoConfigKubeletConfig")] public virtual NodeKubeletConfig DesiredNodePoolAutoConfigKubeletConfig { get; set; } + /// + /// The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node + /// auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here. + /// + [Newtonsoft.Json.JsonPropertyAttribute("desiredNodePoolAutoConfigLinuxNodeConfig")] + public virtual LinuxNodeConfig DesiredNodePoolAutoConfigLinuxNodeConfig { get; set; } + /// /// The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node /// auto-provisioning enabled clusters. @@ -9374,6 +9381,10 @@ public class NodeConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("localSsdCount")] public virtual System.Nullable LocalSsdCount { get; set; } + /// Specifies which method should be used for encrypting the Local SSDs attahced to the node. + [Newtonsoft.Json.JsonPropertyAttribute("localSsdEncryptionMode")] + public virtual string LocalSsdEncryptionMode { get; set; } + /// Logging configuration. [Newtonsoft.Json.JsonPropertyAttribute("loggingConfig")] public virtual NodePoolLoggingConfig LoggingConfig { get; set; } @@ -9837,6 +9848,10 @@ public class NodePool : Google.Apis.Requests.IDirectResponseSchema /// public class NodePoolAutoConfig : Google.Apis.Requests.IDirectResponseSchema { + /// Output only. Configuration options for Linux nodes. + [Newtonsoft.Json.JsonPropertyAttribute("linuxNodeConfig")] + public virtual LinuxNodeConfig LinuxNodeConfig { get; set; } + /// /// The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for /// network firewalls and are specified by the client during cluster creation. Each tag within the list must @@ -9882,29 +9897,30 @@ public class NodePoolAutoscaling : Google.Apis.Requests.IDirectResponseSchema public virtual string LocationPolicy { get; set; } /// - /// Maximum number of nodes for one location in the NodePool. Must be &gt;= min_node_count. There has to be + /// Maximum number of nodes for one location in the node pool. Must be &gt;= min_node_count. There has to be /// enough quota to scale up the cluster. /// [Newtonsoft.Json.JsonPropertyAttribute("maxNodeCount")] public virtual System.Nullable MaxNodeCount { get; set; } /// - /// Minimum number of nodes for one location in the NodePool. Must be &gt;= 1 and &lt;= max_node_count. + /// Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0 and less than + /// or equal to max_node_count. /// [Newtonsoft.Json.JsonPropertyAttribute("minNodeCount")] public virtual System.Nullable MinNodeCount { get; set; } /// - /// Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough - /// quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count - /// fields. + /// Maximum number of nodes in the node pool. Must be greater than or equal to total_min_node_count. There has + /// to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the + /// *_node_count fields. /// [Newtonsoft.Json.JsonPropertyAttribute("totalMaxNodeCount")] public virtual System.Nullable TotalMaxNodeCount { get; set; } /// - /// Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The - /// total_*_node_count fields are mutually exclusive with the *_node_count fields. + /// Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or equal to + /// total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields. /// [Newtonsoft.Json.JsonPropertyAttribute("totalMinNodeCount")] public virtual System.Nullable TotalMinNodeCount { get; set; } @@ -12040,6 +12056,120 @@ public virtual System.DateTimeOffset? OperationStartTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource. + /// + public class UpgradeInfoEvent : Google.Apis.Requests.IDirectResponseSchema + { + /// The current version before the upgrade. + [Newtonsoft.Json.JsonPropertyAttribute("currentVersion")] + public virtual string CurrentVersion { get; set; } + + /// A brief description of the event. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + private string _endTimeRaw; + + private object _endTime; + + /// The time when the operation ended. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual string EndTimeRaw + { + get => _endTimeRaw; + set + { + _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _endTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] + public virtual object EndTime + { + get => _endTime; + set + { + _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _endTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? EndTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(EndTimeRaw); + set => EndTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The operation associated with this upgrade. + [Newtonsoft.Json.JsonPropertyAttribute("operation")] + public virtual string Operation { get; set; } + + /// + /// Optional relative path to the resource. For example in node pool upgrades, the relative path of the node + /// pool. + /// + [Newtonsoft.Json.JsonPropertyAttribute("resource")] + public virtual string Resource { get; set; } + + /// The resource type associated with the upgrade. + [Newtonsoft.Json.JsonPropertyAttribute("resourceType")] + public virtual string ResourceType { get; set; } + + private string _startTimeRaw; + + private object _startTime; + + /// The time when the operation was started. + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual string StartTimeRaw + { + get => _startTimeRaw; + set + { + _startTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _startTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")] + public virtual object StartTime + { + get => _startTime; + set + { + _startTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _startTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? StartTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(StartTimeRaw); + set => StartTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Output only. The state of the upgrade. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// The target version for the upgrade. + [Newtonsoft.Json.JsonPropertyAttribute("targetVersion")] + public virtual string TargetVersion { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. /// maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number diff --git a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj index 4a4f04d3b1..7008a58ef0 100644 --- a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj +++ b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Container.v1 Client Library - 1.68.0.3577 + 1.68.0.3584 Google LLC Copyright 2024 Google LLC Google From 2e9a3e2ff3c125d40a965680e186a9a6de5c906d Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:37 -0800 Subject: [PATCH 12/28] feat: Generate Google.Apis.Container.v1beta1 version 1.68.0.3582 --- DiscoveryJson/container.v1beta1.json | 103 ++++++++++++- .../Google.Apis.Container.v1beta1.cs | 144 +++++++++++++++++- .../Google.Apis.Container.v1beta1.csproj | 2 +- 3 files changed, 236 insertions(+), 13 deletions(-) diff --git a/DiscoveryJson/container.v1beta1.json b/DiscoveryJson/container.v1beta1.json index ff03ff006e..7ebd6f7961 100644 --- a/DiscoveryJson/container.v1beta1.json +++ b/DiscoveryJson/container.v1beta1.json @@ -2685,7 +2685,7 @@ } } }, - "revision": "20241017", + "revision": "20241022", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -4071,6 +4071,10 @@ "$ref": "NodeKubeletConfig", "description": "The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." }, + "desiredNodePoolAutoConfigLinuxNodeConfig": { + "$ref": "LinuxNodeConfig", + "description": "The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here." + }, "desiredNodePoolAutoConfigNetworkTags": { "$ref": "NetworkTags", "description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." @@ -6255,6 +6259,20 @@ "format": "int32", "type": "integer" }, + "localSsdEncryptionMode": { + "description": "Specifies which method should be used for encrypting the Local SSDs attahced to the node.", + "enum": [ + "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", + "STANDARD_ENCRYPTION", + "EPHEMERAL_KEY_ENCRYPTION" + ], + "enumDescriptions": [ + "The given node will be encrypted using keys managed by Google infrastructure and the keys will be deleted when the node is deleted.", + "The given node will be encrypted using keys managed by Google infrastructure and the keys will be deleted when the node is deleted.", + "The given node will opt-in for using ephemeral key for encryption of Local SSDs. The Local SSDs will not be able to recover data in case of node crash." + ], + "type": "string" + }, "loggingConfig": { "$ref": "NodePoolLoggingConfig", "description": "Logging configuration." @@ -6637,6 +6655,11 @@ "description": "node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters", "id": "NodePoolAutoConfig", "properties": { + "linuxNodeConfig": { + "$ref": "LinuxNodeConfig", + "description": "Output only. Configuration options for Linux nodes.", + "readOnly": true + }, "networkTags": { "$ref": "NetworkTags", "description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035." @@ -6679,22 +6702,22 @@ "type": "string" }, "maxNodeCount": { - "description": "Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.", + "description": "Maximum number of nodes for one location in the node pool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.", "format": "int32", "type": "integer" }, "minNodeCount": { - "description": "Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.", + "description": "Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0 and less than or equal to max_node_count.", "format": "int32", "type": "integer" }, "totalMaxNodeCount": { - "description": "Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", + "description": "Maximum number of nodes in the node pool. Must be greater than or equal to total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", "format": "int32", "type": "integer" }, "totalMinNodeCount": { - "description": "Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", + "description": "Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", "format": "int32", "type": "integer" } @@ -8847,6 +8870,76 @@ }, "type": "object" }, + "UpgradeInfoEvent": { + "description": "UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource.", + "id": "UpgradeInfoEvent", + "properties": { + "currentVersion": { + "description": "The current version before the upgrade.", + "type": "string" + }, + "description": { + "description": "A brief description of the event.", + "type": "string" + }, + "endTime": { + "description": "The time when the operation ended.", + "format": "google-datetime", + "type": "string" + }, + "operation": { + "description": "The operation associated with this upgrade.", + "type": "string" + }, + "resource": { + "description": "Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.", + "type": "string" + }, + "resourceType": { + "description": "The resource type associated with the upgrade.", + "enum": [ + "UPGRADE_RESOURCE_TYPE_UNSPECIFIED", + "MASTER", + "NODE_POOL" + ], + "enumDescriptions": [ + "Default value. This shouldn't be used.", + "Master / control plane", + "Node pool" + ], + "type": "string" + }, + "startTime": { + "description": "The time when the operation was started.", + "format": "google-datetime", + "type": "string" + }, + "state": { + "description": "Output only. The state of the upgrade.", + "enum": [ + "STATE_UNSPECIFIED", + "STARTED", + "SUCCEEDED", + "FAILED", + "CANCELED" + ], + "enumDescriptions": [ + "STATE_UNSPECIFIED indicates the state is unspecified.", + "STARTED indicates the upgrade has started.", + "SUCCEEDED indicates the upgrade has completed successfully.", + "FAILED indicates the upgrade has failed.", + "CANCELED indicates the upgrade has canceled." + ], + "readOnly": true, + "type": "string" + }, + "targetVersion": { + "description": "The target version for the upgrade.", + "type": "string" + } + }, + "type": "object" + }, "UpgradeSettings": { "description": "These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available. These upgrade settings configure the upgrade strategy for the node pool. Use strategy to switch between the strategies applied to the node pool. If the strategy is SURGE, use max_surge and max_unavailable to control the level of parallelism and the level of disruption caused by upgrade. 1. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. 2. maxUnavailable controls the number of nodes that can be simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). If the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-green upgrade related settings. 1. standard_rollout_policy is the default policy. The policy is used to control the way blue pool gets drained. The draining is executed in the batch mode. The batch size could be specified as either percentage of the node pool size or the number of nodes. batch_soak_duration is the soak time after each batch gets drained. 2. node_pool_soak_duration is the soak time after all blue nodes are drained. After this period, the blue pool nodes will be deleted.", "id": "UpgradeSettings", diff --git a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs index c430ac9e60..b8fe300a19 100644 --- a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs +++ b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs @@ -8025,6 +8025,13 @@ public class ClusterUpdate : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("desiredNodePoolAutoConfigKubeletConfig")] public virtual NodeKubeletConfig DesiredNodePoolAutoConfigKubeletConfig { get; set; } + /// + /// The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node + /// auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here. + /// + [Newtonsoft.Json.JsonPropertyAttribute("desiredNodePoolAutoConfigLinuxNodeConfig")] + public virtual LinuxNodeConfig DesiredNodePoolAutoConfigLinuxNodeConfig { get; set; } + /// /// The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node /// auto-provisioning enabled clusters. @@ -10092,6 +10099,10 @@ public class NodeConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("localSsdCount")] public virtual System.Nullable LocalSsdCount { get; set; } + /// Specifies which method should be used for encrypting the Local SSDs attahced to the node. + [Newtonsoft.Json.JsonPropertyAttribute("localSsdEncryptionMode")] + public virtual string LocalSsdEncryptionMode { get; set; } + /// Logging configuration. [Newtonsoft.Json.JsonPropertyAttribute("loggingConfig")] public virtual NodePoolLoggingConfig LoggingConfig { get; set; } @@ -10554,6 +10565,10 @@ public class NodePool : Google.Apis.Requests.IDirectResponseSchema /// public class NodePoolAutoConfig : Google.Apis.Requests.IDirectResponseSchema { + /// Output only. Configuration options for Linux nodes. + [Newtonsoft.Json.JsonPropertyAttribute("linuxNodeConfig")] + public virtual LinuxNodeConfig LinuxNodeConfig { get; set; } + /// /// The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for /// network firewalls and are specified by the client during cluster creation. Each tag within the list must @@ -10599,29 +10614,30 @@ public class NodePoolAutoscaling : Google.Apis.Requests.IDirectResponseSchema public virtual string LocationPolicy { get; set; } /// - /// Maximum number of nodes for one location in the NodePool. Must be &gt;= min_node_count. There has to be + /// Maximum number of nodes for one location in the node pool. Must be &gt;= min_node_count. There has to be /// enough quota to scale up the cluster. /// [Newtonsoft.Json.JsonPropertyAttribute("maxNodeCount")] public virtual System.Nullable MaxNodeCount { get; set; } /// - /// Minimum number of nodes for one location in the NodePool. Must be &gt;= 1 and &lt;= max_node_count. + /// Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0 and less than + /// or equal to max_node_count. /// [Newtonsoft.Json.JsonPropertyAttribute("minNodeCount")] public virtual System.Nullable MinNodeCount { get; set; } /// - /// Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough - /// quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count - /// fields. + /// Maximum number of nodes in the node pool. Must be greater than or equal to total_min_node_count. There has + /// to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the + /// *_node_count fields. /// [Newtonsoft.Json.JsonPropertyAttribute("totalMaxNodeCount")] public virtual System.Nullable TotalMaxNodeCount { get; set; } /// - /// Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The - /// total_*_node_count fields are mutually exclusive with the *_node_count fields. + /// Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or equal to + /// total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields. /// [Newtonsoft.Json.JsonPropertyAttribute("totalMinNodeCount")] public virtual System.Nullable TotalMinNodeCount { get; set; } @@ -13006,6 +13022,120 @@ public virtual System.DateTimeOffset? OperationStartTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource. + /// + public class UpgradeInfoEvent : Google.Apis.Requests.IDirectResponseSchema + { + /// The current version before the upgrade. + [Newtonsoft.Json.JsonPropertyAttribute("currentVersion")] + public virtual string CurrentVersion { get; set; } + + /// A brief description of the event. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + private string _endTimeRaw; + + private object _endTime; + + /// The time when the operation ended. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual string EndTimeRaw + { + get => _endTimeRaw; + set + { + _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _endTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] + public virtual object EndTime + { + get => _endTime; + set + { + _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _endTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? EndTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(EndTimeRaw); + set => EndTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The operation associated with this upgrade. + [Newtonsoft.Json.JsonPropertyAttribute("operation")] + public virtual string Operation { get; set; } + + /// + /// Optional relative path to the resource. For example in node pool upgrades, the relative path of the node + /// pool. + /// + [Newtonsoft.Json.JsonPropertyAttribute("resource")] + public virtual string Resource { get; set; } + + /// The resource type associated with the upgrade. + [Newtonsoft.Json.JsonPropertyAttribute("resourceType")] + public virtual string ResourceType { get; set; } + + private string _startTimeRaw; + + private object _startTime; + + /// The time when the operation was started. + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual string StartTimeRaw + { + get => _startTimeRaw; + set + { + _startTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _startTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")] + public virtual object StartTime + { + get => _startTime; + set + { + _startTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _startTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? StartTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(StartTimeRaw); + set => StartTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Output only. The state of the upgrade. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// The target version for the upgrade. + [Newtonsoft.Json.JsonPropertyAttribute("targetVersion")] + public virtual string TargetVersion { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. /// maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number diff --git a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj index efeac37825..4d3f83ac0d 100644 --- a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Container.v1beta1 Client Library - 1.68.0.3577 + 1.68.0.3582 Google LLC Copyright 2024 Google LLC Google From c9a6b3cbf039624ddf0477b95088892122a06f36 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:41 -0800 Subject: [PATCH 13/28] feat: Generate Google.Apis.Css.v1 version 1.68.0.3595 --- DiscoveryJson/css.v1.json | 4 ++-- Src/Generated/Google.Apis.Css.v1/Google.Apis.Css.v1.cs | 4 ++-- Src/Generated/Google.Apis.Css.v1/Google.Apis.Css.v1.csproj | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DiscoveryJson/css.v1.json b/DiscoveryJson/css.v1.json index 2acd6f562b..09ad7bd98e 100644 --- a/DiscoveryJson/css.v1.json +++ b/DiscoveryJson/css.v1.json @@ -404,7 +404,7 @@ ] }, "list": { - "description": "Lists the labels assigned to an account.", + "description": "Lists the labels owned by an account.", "flatPath": "v1/accounts/{accountsId}/labels", "httpMethod": "GET", "id": "css.accounts.labels.list", @@ -472,7 +472,7 @@ } } }, - "revision": "20240909", + "revision": "20241104", "rootUrl": "https://css.googleapis.com/", "schemas": { "Account": { diff --git a/Src/Generated/Google.Apis.Css.v1/Google.Apis.Css.v1.cs b/Src/Generated/Google.Apis.Css.v1/Google.Apis.Css.v1.cs index 82432917ce..a4d2dc30c1 100644 --- a/Src/Generated/Google.Apis.Css.v1/Google.Apis.Css.v1.cs +++ b/Src/Generated/Google.Apis.Css.v1/Google.Apis.Css.v1.cs @@ -727,14 +727,14 @@ protected override void InitParameters() } } - /// Lists the labels assigned to an account. + /// Lists the labels owned by an account. /// Required. The parent account. Format: accounts/{account} public virtual ListRequest List(string parent) { return new ListRequest(this.service, parent); } - /// Lists the labels assigned to an account. + /// Lists the labels owned by an account. public class ListRequest : CssBaseServiceRequest { /// Constructs a new List request. diff --git a/Src/Generated/Google.Apis.Css.v1/Google.Apis.Css.v1.csproj b/Src/Generated/Google.Apis.Css.v1/Google.Apis.Css.v1.csproj index a173e1f207..27113f0c5f 100644 --- a/Src/Generated/Google.Apis.Css.v1/Google.Apis.Css.v1.csproj +++ b/Src/Generated/Google.Apis.Css.v1/Google.Apis.Css.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Css.v1 Client Library - 1.68.0.3539 + 1.68.0.3595 Google LLC Copyright 2024 Google LLC Google From 4402740ad638e72ab1927f8e662e4f786ba23c61 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:44 -0800 Subject: [PATCH 14/28] feat: Generate Google.Apis.CloudDataplex.v1 version 1.68.0.3597 --- DiscoveryJson/dataplex.v1.json | 37 ++++++++++++++++--- .../Google.Apis.CloudDataplex.v1.cs | 18 ++++++++- .../Google.Apis.CloudDataplex.v1.csproj | 2 +- 3 files changed, 48 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/dataplex.v1.json b/DiscoveryJson/dataplex.v1.json index 329fa70929..1fa1b14108 100644 --- a/DiscoveryJson/dataplex.v1.json +++ b/DiscoveryJson/dataplex.v1.json @@ -240,6 +240,16 @@ "description": "Regional Endpoint", "endpointUrl": "https://dataplex.us-west8.rep.googleapis.com/", "location": "us-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataplex.us.rep.googleapis.com/", + "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataplex.eu.rep.googleapis.com/", + "location": "eu" } ], "fullyEncodeReservedExpansion": true, @@ -6010,6 +6020,11 @@ "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" + }, + "validateOnly": { + "description": "Optional. The service validates the request without performing any mutations. The default is false.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+parent}/metadataJobs", @@ -6224,7 +6239,7 @@ } } }, - "revision": "20241019", + "revision": "20241106", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -8534,7 +8549,7 @@ "type": "object" }, "GoogleCloudDataplexV1DataScanEvent": { - "description": "These messages contain information about the execution of a datascan. The monitored resource is 'DataScan' Next ID: 13", + "description": "These messages contain information about the execution of a datascan. The monitored resource is 'DataScan'", "id": "GoogleCloudDataplexV1DataScanEvent", "properties": { "createTime": { @@ -8641,12 +8656,14 @@ "enum": [ "SCAN_TYPE_UNSPECIFIED", "DATA_PROFILE", - "DATA_QUALITY" + "DATA_QUALITY", + "DATA_DISCOVERY" ], "enumDescriptions": [ "An unspecified data scan type.", "Data scan for data profile.", - "Data scan for data quality." + "Data scan for data quality.", + "Data scan for data discovery." ], "type": "string" } @@ -9059,7 +9076,11 @@ "ENTITY_DELETED", "PARTITION_CREATED", "PARTITION_UPDATED", - "PARTITION_DELETED" + "PARTITION_DELETED", + "TABLE_PUBLISHED", + "TABLE_UPDATED", + "TABLE_IGNORED", + "TABLE_DELETED" ], "enumDescriptions": [ "An unspecified event type.", @@ -9069,7 +9090,11 @@ "An event representing a metadata entity being deleted.", "An event representing a partition being created.", "An event representing a partition being updated.", - "An event representing a partition being deleted." + "An event representing a partition being deleted.", + "An event representing a table being published.", + "An event representing a table being updated.", + "An event representing a table being skipped in publishing.", + "An event representing a table being deleted." ], "type": "string" }, diff --git a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs index 083e856b7d..c4952dde9a 100644 --- a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs +++ b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs @@ -13342,6 +13342,13 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Cl [Google.Apis.Util.RequestParameterAttribute("metadataJobId", Google.Apis.Util.RequestParameterType.Query)] public virtual string MetadataJobId { get; set; } + /// + /// Optional. The service validates the request without performing any mutations. The default is + /// false. + /// + [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ValidateOnly { get; set; } + /// Gets or sets the body of this request. Google.Apis.CloudDataplex.v1.Data.GoogleCloudDataplexV1MetadataJob Body { get; set; } @@ -13377,6 +13384,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter + { + Name = "validateOnly", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -17220,8 +17235,7 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset } /// - /// These messages contain information about the execution of a datascan. The monitored resource is 'DataScan' Next - /// ID: 13 + /// These messages contain information about the execution of a datascan. The monitored resource is 'DataScan' /// public class GoogleCloudDataplexV1DataScanEvent : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj index e75132e2f9..9e7e6a18ad 100644 --- a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj +++ b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDataplex.v1 Client Library - 1.68.0.3579 + 1.68.0.3597 Google LLC Copyright 2024 Google LLC Google From 88bf0efab5175d48d75e4a0efda2c3ba5df6c2dd Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:47 -0800 Subject: [PATCH 15/28] feat: Generate Google.Apis.DeploymentManager.alpha version 1.68.0.3591 --- DiscoveryJson/deploymentmanager.alpha.json | 401 ++++++++++++++- .../Google.Apis.DeploymentManager.alpha.cs | 468 +++++++++++++++++- ...Google.Apis.DeploymentManager.alpha.csproj | 2 +- 3 files changed, 861 insertions(+), 10 deletions(-) diff --git a/DiscoveryJson/deploymentmanager.alpha.json b/DiscoveryJson/deploymentmanager.alpha.json index 8152890376..7e87ce879d 100644 --- a/DiscoveryJson/deploymentmanager.alpha.json +++ b/DiscoveryJson/deploymentmanager.alpha.json @@ -132,6 +132,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -166,6 +170,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -194,6 +202,10 @@ "project" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -282,6 +294,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -319,6 +335,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -410,6 +430,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -444,6 +468,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -473,6 +501,10 @@ "resource" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "optionsRequestedPolicyVersion": { "description": "Requested IAM Policy version.", "format": "int32", @@ -528,6 +560,10 @@ "location": "query", "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "preview": { "description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the `update()` method or you can use the `cancelPreview()` method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", "location": "query", @@ -651,6 +687,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "preview": { "default": "false", "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", @@ -761,6 +801,10 @@ "resource" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "Project ID for this request.", "location": "path", @@ -835,6 +879,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "preview": { "default": "false", "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", @@ -883,6 +931,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "manifest": { "description": "The name of the manifest for this request.", "location": "path", @@ -982,6 +1034,10 @@ "operation" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "operation": { "description": "The name of the operation for this request.", "location": "path", @@ -1080,6 +1136,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1178,6 +1238,10 @@ "typeProvider" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1212,6 +1276,10 @@ "typeProvider" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1249,6 +1317,10 @@ "type" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1290,6 +1362,10 @@ "project" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1430,6 +1506,10 @@ "typeProvider" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1467,6 +1547,10 @@ "typeProvider" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1508,6 +1592,10 @@ "type" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1588,7 +1676,7 @@ } } }, - "revision": "20240214", + "revision": "20241031", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AsyncOptions": { @@ -1895,6 +1983,24 @@ }, "type": "object" }, + "DebugInfo": { + "description": "Describes additional debugging info.", + "id": "DebugInfo", + "properties": { + "detail": { + "description": "Additional debugging information provided by the server.", + "type": "string" + }, + "stackEntries": { + "description": "The stack trace entries indicating where the error occurred.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Deployment": { "id": "Deployment", "properties": { @@ -2100,6 +2206,28 @@ }, "type": "object" }, + "ErrorInfo": { + "description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }", + "id": "ErrorInfo", + "properties": { + "domain": { + "description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {\"instanceLimit\": \"100/request\"}, should be returned as, {\"instanceLimitPerRequest\": \"100\"}, if the client exceeds the number of instances that can be created in a single (batch) request.", + "type": "object" + }, + "reason": { + "description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", + "type": "string" + } + }, + "type": "object" + }, "Expr": { "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", "id": "Expr", @@ -2141,6 +2269,39 @@ "policy": { "$ref": "Policy", "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them." + }, + "updateMask": { + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "Help": { + "description": "Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.", + "id": "Help", + "properties": { + "links": { + "description": "URL(s) pointing to additional information on handling the current error.", + "items": { + "$ref": "HelpLink" + }, + "type": "array" + } + }, + "type": "object" + }, + "HelpLink": { + "description": "Describes a URL link.", + "id": "HelpLink", + "properties": { + "description": { + "description": "Describes what the link offers.", + "type": "string" + }, + "url": { + "description": "The URL of the link.", + "type": "string" } }, "type": "object" @@ -2209,6 +2370,21 @@ }, "type": "object" }, + "LocalizedMessage": { + "description": "Provides a localized error message that is safe to return to the user which can be attached to an RPC error.", + "id": "LocalizedMessage", + "properties": { + "locale": { + "description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", + "type": "string" + }, + "message": { + "description": "The localized error message in the above locale.", + "type": "string" + } + }, + "type": "object" + }, "Manifest": { "id": "Manifest", "properties": { @@ -2332,10 +2508,41 @@ "description": "[Output Only] The array of errors encountered while processing this operation.", "items": { "properties": { + "arguments": { + "description": "[Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only (like componentization) (thus the visibility \"none\") and in case of public exposure it is strongly recommended to follow pattern of: https://aip.dev/193 and expose as details field.", + "items": { + "type": "string" + }, + "type": "array" + }, "code": { "description": "[Output Only] The error type identifier for this error.", "type": "string" }, + "debugInfo": { + "$ref": "DebugInfo" + }, + "errorDetails": { + "description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", + "items": { + "properties": { + "errorInfo": { + "$ref": "ErrorInfo" + }, + "help": { + "$ref": "Help" + }, + "localizedMessage": { + "$ref": "LocalizedMessage" + }, + "quotaInfo": { + "$ref": "QuotaExceededInfo" + } + }, + "type": "object" + }, + "type": "array" + }, "location": { "description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", "type": "string" @@ -2403,6 +2610,10 @@ "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, + "selfLinkWithId": { + "description": "[Output Only] Server-defined URL for this resource with the resource id.", + "type": "string" + }, "setCommonInstanceMetadataOperationMetadata": { "$ref": "SetCommonInstanceMetadataOperationMetadata", "description": "[Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state." @@ -2435,7 +2646,7 @@ "type": "string" }, "targetLink": { - "description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.", + "description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from.", "type": "string" }, "user": { @@ -2466,6 +2677,10 @@ "CLEANUP_FAILED", "FIELD_VALUE_OVERRIDEN", "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "NETWORK_ENDPOINT_NOT_DETACHED", + "PAGE_MISSING_RESULTS", + "SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", + "RESOURCE_NOT_FOUND_WARNING", "MISSING_TYPE_DEPENDENCY", "EXTERNAL_API_WARNING", "SCHEMA_VALIDATION_IGNORED", @@ -2476,7 +2691,14 @@ "LARGE_DEPLOYMENT_WARNING", "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LIST_OVERHEAD_QUOTA_EXCEED" + "LIST_OVERHEAD_QUOTA_EXCEED", + "QUOTA_INFO_UNAVAILABLE", + "RESOURCE_USES_GLOBAL_DNS", + "RESERVED_ENTRY_134", + "RESERVED_ENTRY_135", + "RESERVED_ENTRY_136", + "RESERVED_ENTRY_139", + "RESERVED_ENTRY_141" ], "enumDeprecated": [ false, @@ -2506,6 +2728,17 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -2526,6 +2759,10 @@ "Warning about failed cleanup of transient changes made by a failed operation.", "Warning that value of a field has been overridden. Deprecated unused field.", "Warning that a resource is in use.", + "Warning that network endpoint was not detached.", + "Current page contains less results than requested but a next page token exists.", + "Warning that SSL policy resource in the response does not contain information about the list of enabled features.", + "Warning that a resource is not found.", "A resource depends on a missing type", "Warning that is present in an external api call", "When a resource schema validation is ignored.", @@ -2536,7 +2773,14 @@ "When deploying a deployment with a exceedingly large number of resources", "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter." + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "Quota information is not available to client requests (e.g: regions.list).", + "Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", + "Reserved entries for quickly adding new warnings without breaking dependent clients.", + "", + "", + "", + "" ], "type": "string" }, @@ -2680,6 +2924,50 @@ }, "type": "object" }, + "QuotaExceededInfo": { + "description": "Additional details for quota exceeded error for resource quota.", + "id": "QuotaExceededInfo", + "properties": { + "dimensions": { + "additionalProperties": { + "type": "string" + }, + "description": "The map holding related quota dimensions.", + "type": "object" + }, + "futureLimit": { + "description": "Future quota limit being rolled out. The limit's unit depends on the quota type or metric.", + "format": "double", + "type": "number" + }, + "limit": { + "description": "Current effective quota limit. The limit's unit depends on the quota type or metric.", + "format": "double", + "type": "number" + }, + "limitName": { + "description": "The name of the quota limit.", + "type": "string" + }, + "metricName": { + "description": "The Compute Engine quota metric name.", + "type": "string" + }, + "rolloutStatus": { + "description": "Rollout status of the future quota limit.", + "enum": [ + "ROLLOUT_STATUS_UNSPECIFIED", + "IN_PROGRESS" + ], + "enumDescriptions": [ + "ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default value.", + "IN_PROGRESS - A rollout is in process which will change the limit value to future limit." + ], + "type": "string" + } + }, + "type": "object" + }, "Resource": { "id": "Resource", "properties": { @@ -2774,6 +3062,10 @@ "CLEANUP_FAILED", "FIELD_VALUE_OVERRIDEN", "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "NETWORK_ENDPOINT_NOT_DETACHED", + "PAGE_MISSING_RESULTS", + "SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", + "RESOURCE_NOT_FOUND_WARNING", "MISSING_TYPE_DEPENDENCY", "EXTERNAL_API_WARNING", "SCHEMA_VALIDATION_IGNORED", @@ -2784,7 +3076,14 @@ "LARGE_DEPLOYMENT_WARNING", "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LIST_OVERHEAD_QUOTA_EXCEED" + "LIST_OVERHEAD_QUOTA_EXCEED", + "QUOTA_INFO_UNAVAILABLE", + "RESOURCE_USES_GLOBAL_DNS", + "RESERVED_ENTRY_134", + "RESERVED_ENTRY_135", + "RESERVED_ENTRY_136", + "RESERVED_ENTRY_139", + "RESERVED_ENTRY_141" ], "enumDeprecated": [ false, @@ -2814,6 +3113,17 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -2834,6 +3144,10 @@ "Warning about failed cleanup of transient changes made by a failed operation.", "Warning that value of a field has been overridden. Deprecated unused field.", "Warning that a resource is in use.", + "Warning that network endpoint was not detached.", + "Current page contains less results than requested but a next page token exists.", + "Warning that SSL policy resource in the response does not contain information about the list of enabled features.", + "Warning that a resource is not found.", "A resource depends on a missing type", "Warning that is present in an external api call", "When a resource schema validation is ignored.", @@ -2844,7 +3158,14 @@ "When deploying a deployment with a exceedingly large number of resources", "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter." + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "Quota information is not available to client requests (e.g: regions.list).", + "Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", + "Reserved entries for quickly adding new warnings without breaking dependent clients.", + "", + "", + "", + "" ], "type": "string" }, @@ -2906,10 +3227,41 @@ "description": "[Output Only] The array of errors encountered while processing this operation.", "items": { "properties": { + "arguments": { + "description": "[Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only (like componentization) (thus the visibility \"none\") and in case of public exposure it is strongly recommended to follow pattern of: https://aip.dev/193 and expose as details field.", + "items": { + "type": "string" + }, + "type": "array" + }, "code": { "description": "[Output Only] The error type identifier for this error.", "type": "string" }, + "debugInfo": { + "$ref": "DebugInfo" + }, + "errorDetails": { + "description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", + "items": { + "properties": { + "errorInfo": { + "$ref": "ErrorInfo" + }, + "help": { + "$ref": "Help" + }, + "localizedMessage": { + "$ref": "LocalizedMessage" + }, + "quotaInfo": { + "$ref": "QuotaExceededInfo" + } + }, + "type": "object" + }, + "type": "array" + }, "location": { "description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", "type": "string" @@ -3019,6 +3371,10 @@ "CLEANUP_FAILED", "FIELD_VALUE_OVERRIDEN", "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "NETWORK_ENDPOINT_NOT_DETACHED", + "PAGE_MISSING_RESULTS", + "SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", + "RESOURCE_NOT_FOUND_WARNING", "MISSING_TYPE_DEPENDENCY", "EXTERNAL_API_WARNING", "SCHEMA_VALIDATION_IGNORED", @@ -3029,7 +3385,14 @@ "LARGE_DEPLOYMENT_WARNING", "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LIST_OVERHEAD_QUOTA_EXCEED" + "LIST_OVERHEAD_QUOTA_EXCEED", + "QUOTA_INFO_UNAVAILABLE", + "RESOURCE_USES_GLOBAL_DNS", + "RESERVED_ENTRY_134", + "RESERVED_ENTRY_135", + "RESERVED_ENTRY_136", + "RESERVED_ENTRY_139", + "RESERVED_ENTRY_141" ], "enumDeprecated": [ false, @@ -3059,6 +3422,17 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -3079,6 +3453,10 @@ "Warning about failed cleanup of transient changes made by a failed operation.", "Warning that value of a field has been overridden. Deprecated unused field.", "Warning that a resource is in use.", + "Warning that network endpoint was not detached.", + "Current page contains less results than requested but a next page token exists.", + "Warning that SSL policy resource in the response does not contain information about the list of enabled features.", + "Warning that a resource is not found.", "A resource depends on a missing type", "Warning that is present in an external api call", "When a resource schema validation is ignored.", @@ -3089,7 +3467,14 @@ "When deploying a deployment with a exceedingly large number of resources", "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter." + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "Quota information is not available to client requests (e.g: regions.list).", + "Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", + "Reserved entries for quickly adding new warnings without breaking dependent clients.", + "", + "", + "", + "" ], "type": "string" }, diff --git a/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.cs b/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.cs index 9b9d369ff2..932be1e451 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.cs +++ b/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.cs @@ -357,6 +357,9 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string project [Google.Apis.Util.RequestParameterAttribute("compositeType", Google.Apis.Util.RequestParameterType.Path)] public virtual string CompositeType { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "delete"; @@ -386,6 +389,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -416,6 +427,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("compositeType", Google.Apis.Util.RequestParameterType.Path)] public virtual string CompositeType { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -445,6 +459,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -471,6 +493,9 @@ public InsertRequest(Google.Apis.Services.IClientService service, Google.Apis.De [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] public virtual string Project { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.alpha.Data.CompositeType Body { get; set; } @@ -498,6 +523,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -671,6 +704,9 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Dep [Google.Apis.Util.RequestParameterAttribute("compositeType", Google.Apis.Util.RequestParameterType.Path)] public virtual string CompositeType { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.alpha.Data.CompositeType Body { get; set; } @@ -706,6 +742,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -738,6 +782,9 @@ public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.De [Google.Apis.Util.RequestParameterAttribute("compositeType", Google.Apis.Util.RequestParameterType.Path)] public virtual string CompositeType { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.alpha.Data.CompositeType Body { get; set; } @@ -773,6 +820,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } } @@ -901,6 +956,9 @@ public enum DeletePolicyEnum ABANDON = 1, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "delete"; @@ -938,6 +996,14 @@ protected override void InitParameters() DefaultValue = "DELETE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -968,6 +1034,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("deployment", Google.Apis.Util.RequestParameterType.Path)] public virtual string Deployment { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -997,6 +1066,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -1031,6 +1108,9 @@ public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string p [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Requested IAM Policy version. [Google.Apis.Util.RequestParameterAttribute("optionsRequestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } @@ -1064,6 +1144,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("optionsRequestedPolicyVersion", new Google.Apis.Discovery.Parameter { Name = "optionsRequestedPolicyVersion", @@ -1118,6 +1206,9 @@ public enum CreatePolicyEnum CREATE = 2, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// /// If set to true, creates a deployment and creates "shell" resources but does not actually instantiate /// these resources. This allows you to preview what your deployment looks like. After previewing a @@ -1163,6 +1254,14 @@ protected override void InitParameters() DefaultValue = "CREATE_OR_ACQUIRE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("preview", new Google.Apis.Discovery.Parameter { Name = "preview", @@ -1380,6 +1479,9 @@ public enum DeletePolicyEnum ABANDON = 1, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// /// If set to true, updates the deployment and creates and updates the "shell" resources but does not /// actually alter or instantiate these resources. This allows you to preview what your deployment will look @@ -1443,6 +1545,14 @@ protected override void InitParameters() DefaultValue = "DELETE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("preview", new Google.Apis.Discovery.Parameter { Name = "preview", @@ -1623,6 +1733,9 @@ public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Go [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.alpha.Data.TestPermissionsRequest Body { get; set; } @@ -1658,6 +1771,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -1726,6 +1847,9 @@ public enum DeletePolicyEnum ABANDON = 1, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// /// If set to true, updates the deployment and creates and updates the "shell" resources but does not /// actually alter or instantiate these resources. This allows you to preview what your deployment will look @@ -1789,6 +1913,14 @@ protected override void InitParameters() DefaultValue = "DELETE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("preview", new Google.Apis.Discovery.Parameter { Name = "preview", @@ -1848,6 +1980,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("manifest", Google.Apis.Util.RequestParameterType.Path)] public virtual string Manifest { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -1885,6 +2020,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2085,6 +2228,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("operation", Google.Apis.Util.RequestParameterType.Path)] public virtual string Operation { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -2114,6 +2260,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2306,6 +2460,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -2343,6 +2500,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2543,6 +2708,9 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string project [Google.Apis.Util.RequestParameterAttribute("typeProvider", Google.Apis.Util.RequestParameterType.Path)] public virtual string TypeProvider { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "delete"; @@ -2572,6 +2740,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2602,6 +2778,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("typeProvider", Google.Apis.Util.RequestParameterType.Path)] public virtual string TypeProvider { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -2631,6 +2810,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2667,6 +2854,9 @@ public GetTypeRequest(Google.Apis.Services.IClientService service, string projec [Google.Apis.Util.RequestParameterAttribute("type", Google.Apis.Util.RequestParameterType.Path)] public virtual string Type { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "getType"; @@ -2704,6 +2894,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2730,6 +2928,9 @@ public InsertRequest(Google.Apis.Services.IClientService service, Google.Apis.De [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] public virtual string Project { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.alpha.Data.TypeProvider Body { get; set; } @@ -2757,6 +2958,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -3085,6 +3294,9 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Dep [Google.Apis.Util.RequestParameterAttribute("typeProvider", Google.Apis.Util.RequestParameterType.Path)] public virtual string TypeProvider { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.alpha.Data.TypeProvider Body { get; set; } @@ -3120,6 +3332,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -3152,6 +3372,9 @@ public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.De [Google.Apis.Util.RequestParameterAttribute("typeProvider", Google.Apis.Util.RequestParameterType.Path)] public virtual string TypeProvider { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.alpha.Data.TypeProvider Body { get; set; } @@ -3187,6 +3410,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } } @@ -3232,6 +3463,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("type", Google.Apis.Util.RequestParameterType.Path)] public virtual string Type { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -3261,6 +3495,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -3750,6 +3992,21 @@ public class Credential : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Describes additional debugging info. + public class DebugInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// Additional debugging information provided by the server. + [Newtonsoft.Json.JsonPropertyAttribute("detail")] + public virtual string Detail { get; set; } + + /// The stack trace entries indicating where the error occurred. + [Newtonsoft.Json.JsonPropertyAttribute("stackEntries")] + public virtual System.Collections.Generic.IList StackEntries { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class Deployment : Google.Apis.Requests.IDirectResponseSchema { /// User provided default credential for the deployment. @@ -3986,6 +4243,47 @@ public class Diagnostic : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// Describes the cause of the error with structured details. Example of an error when contacting the + /// "pubsub.googleapis.com" API when it is not enabled: { "reason": "API_DISABLED" "domain": "googleapis.com" + /// "metadata": { "resource": "projects/123", "service": "pubsub.googleapis.com" } } This response indicates that + /// the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a + /// Spanner instance in a region that is out of stock: { "reason": "STOCKOUT" "domain": "spanner.googleapis.com", + /// "metadata": { "availableRegions": "us-central1,us-east2" } } + /// + public class ErrorInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The logical grouping to which the "reason" belongs. The error domain is typically the registered service + /// name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is + /// generated by some common infrastructure, the error domain must be a globally unique value that identifies + /// the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". + /// + [Newtonsoft.Json.JsonPropertyAttribute("domain")] + public virtual string Domain { get; set; } + + /// + /// Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. + /// Also they must be limited to 64 characters in length. When identifying the current value of an exceeded + /// limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": + /// "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number + /// of instances that can be created in a single (batch) request. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// + /// The reason of the error. This is a constant value that identifies the proximate cause of the error. Error + /// reasons are unique within a particular domain of errors. This should be at most 63 characters and match a + /// regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. + /// + [Newtonsoft.Json.JsonPropertyAttribute("reason")] + public virtual string Reason { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression /// language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example @@ -4051,6 +4349,39 @@ public class GlobalSetPolicyRequest : Google.Apis.Requests.IDirectResponseSchema /// [Newtonsoft.Json.JsonPropertyAttribute("policy")] public virtual Policy Policy { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] + public virtual object UpdateMask { get; set; } + } + + /// + /// Provides links to documentation or for performing an out of band action. For example, if a quota check failed + /// with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL + /// pointing directly to the right place in the developer console to flip the bit. + /// + public class Help : Google.Apis.Requests.IDirectResponseSchema + { + /// URL(s) pointing to additional information on handling the current error. + [Newtonsoft.Json.JsonPropertyAttribute("links")] + public virtual System.Collections.Generic.IList Links { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describes a URL link. + public class HelpLink : Google.Apis.Requests.IDirectResponseSchema + { + /// Describes what the link offers. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// The URL of the link. + [Newtonsoft.Json.JsonPropertyAttribute("url")] + public virtual string Url { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } } public class ImportFile : Google.Apis.Requests.IDirectResponseSchema @@ -4103,6 +4434,26 @@ public class InstancesBulkInsertOperationMetadata : Google.Apis.Requests.IDirect public virtual string ETag { get; set; } } + /// + /// Provides a localized error message that is safe to return to the user which can be attached to an RPC error. + /// + public class LocalizedMessage : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. + /// Examples are: "en-US", "fr-CH", "es-MX" + /// + [Newtonsoft.Json.JsonPropertyAttribute("locale")] + public virtual string Locale { get; set; } + + /// The localized error message in the above locale. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class Manifest : Google.Apis.Requests.IDirectResponseSchema { /// Output only. The YAML configuration for this manifest. @@ -4305,6 +4656,10 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] public virtual string SelfLink { get; set; } + /// [Output Only] Server-defined URL for this resource with the resource id. + [Newtonsoft.Json.JsonPropertyAttribute("selfLinkWithId")] + public virtual string SelfLinkWithId { get; set; } + /// /// [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain /// information on all underlying zonal actions and their state. @@ -4337,7 +4692,7 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema /// /// [Output Only] The URL of the resource that the operation modifies. For operations related to creating a - /// snapshot, this points to the persistent disk that the snapshot was created from. + /// snapshot, this points to the disk that the snapshot was created from. /// [Newtonsoft.Json.JsonPropertyAttribute("targetLink")] public virtual string TargetLink { get; set; } @@ -4378,10 +4733,29 @@ public class ErrorData /// [Output Only] The array of errors encountered while processing this operation. public class ErrorsData { + /// + /// [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only + /// (like componentization) (thus the visibility "none") and in case of public exposure it is strongly + /// recommended to follow pattern of: https://aip.dev/193 and expose as details field. + /// + [Newtonsoft.Json.JsonPropertyAttribute("arguments")] + public virtual System.Collections.Generic.IList Arguments { get; set; } + /// [Output Only] The error type identifier for this error. [Newtonsoft.Json.JsonPropertyAttribute("code")] public virtual string Code { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("debugInfo")] + public virtual DebugInfo DebugInfo { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + [Newtonsoft.Json.JsonPropertyAttribute("errorDetails")] + public virtual System.Collections.Generic.IList ErrorDetails { get; set; } + /// /// [Output Only] Indicates the field in the request that caused the error. This property is optional. /// @@ -4391,6 +4765,26 @@ public class ErrorsData /// [Output Only] An optional, human-readable error message. [Newtonsoft.Json.JsonPropertyAttribute("message")] public virtual string Message { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + public class ErrorDetailsData + { + [Newtonsoft.Json.JsonPropertyAttribute("errorInfo")] + public virtual ErrorInfo ErrorInfo { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("help")] + public virtual Help Help { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("localizedMessage")] + public virtual LocalizedMessage LocalizedMessage { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("quotaInfo")] + public virtual QuotaExceededInfo QuotaInfo { get; set; } + } } } @@ -4591,6 +4985,39 @@ public class PollingOptions : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Additional details for quota exceeded error for resource quota. + public class QuotaExceededInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// The map holding related quota dimensions. + [Newtonsoft.Json.JsonPropertyAttribute("dimensions")] + public virtual System.Collections.Generic.IDictionary Dimensions { get; set; } + + /// + /// Future quota limit being rolled out. The limit's unit depends on the quota type or metric. + /// + [Newtonsoft.Json.JsonPropertyAttribute("futureLimit")] + public virtual System.Nullable FutureLimit { get; set; } + + /// Current effective quota limit. The limit's unit depends on the quota type or metric. + [Newtonsoft.Json.JsonPropertyAttribute("limit")] + public virtual System.Nullable Limit { get; set; } + + /// The name of the quota limit. + [Newtonsoft.Json.JsonPropertyAttribute("limitName")] + public virtual string LimitName { get; set; } + + /// The Compute Engine quota metric name. + [Newtonsoft.Json.JsonPropertyAttribute("metricName")] + public virtual string MetricName { get; set; } + + /// Rollout status of the future quota limit. + [Newtonsoft.Json.JsonPropertyAttribute("rolloutStatus")] + public virtual string RolloutStatus { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class Resource : Google.Apis.Requests.IDirectResponseSchema { /// The Access Control Policy set on this resource. @@ -4797,10 +5224,29 @@ public class ErrorData /// [Output Only] The array of errors encountered while processing this operation. public class ErrorsData { + /// + /// [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only + /// (like componentization) (thus the visibility "none") and in case of public exposure it is strongly + /// recommended to follow pattern of: https://aip.dev/193 and expose as details field. + /// + [Newtonsoft.Json.JsonPropertyAttribute("arguments")] + public virtual System.Collections.Generic.IList Arguments { get; set; } + /// [Output Only] The error type identifier for this error. [Newtonsoft.Json.JsonPropertyAttribute("code")] public virtual string Code { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("debugInfo")] + public virtual DebugInfo DebugInfo { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + [Newtonsoft.Json.JsonPropertyAttribute("errorDetails")] + public virtual System.Collections.Generic.IList ErrorDetails { get; set; } + /// /// [Output Only] Indicates the field in the request that caused the error. This property is optional. /// @@ -4810,6 +5256,26 @@ public class ErrorsData /// [Output Only] An optional, human-readable error message. [Newtonsoft.Json.JsonPropertyAttribute("message")] public virtual string Message { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + public class ErrorDetailsData + { + [Newtonsoft.Json.JsonPropertyAttribute("errorInfo")] + public virtual ErrorInfo ErrorInfo { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("help")] + public virtual Help Help { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("localizedMessage")] + public virtual LocalizedMessage LocalizedMessage { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("quotaInfo")] + public virtual QuotaExceededInfo QuotaInfo { get; set; } + } } } diff --git a/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.csproj b/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.csproj index ea66c5f768..eb3eec1af8 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.csproj +++ b/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.DeploymentManager.alpha Client Library - 1.68.0.3331 + 1.68.0.3591 Google LLC Copyright 2024 Google LLC Google From f0a7d4925f8557b2d8b0391d799962da64138fc0 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:51 -0800 Subject: [PATCH 16/28] feat: Generate Google.Apis.DeploymentManager.v2 version 1.68.0.3591 --- DiscoveryJson/deploymentmanager.v2.json | 353 +++++++++++++++++- .../Google.Apis.DeploymentManager.v2.cs | 336 ++++++++++++++++- .../Google.Apis.DeploymentManager.v2.csproj | 2 +- 3 files changed, 681 insertions(+), 10 deletions(-) diff --git a/DiscoveryJson/deploymentmanager.v2.json b/DiscoveryJson/deploymentmanager.v2.json index f464e86bc2..d2b064d41b 100644 --- a/DiscoveryJson/deploymentmanager.v2.json +++ b/DiscoveryJson/deploymentmanager.v2.json @@ -182,6 +182,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -216,6 +220,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -245,6 +253,10 @@ "resource" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "optionsRequestedPolicyVersion": { "description": "Requested IAM Policy version.", "format": "int32", @@ -298,6 +310,10 @@ "location": "query", "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "preview": { "description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the `update()` method or you can use the `cancelPreview()` method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", "location": "query", @@ -419,6 +435,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "preview": { "default": "false", "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", @@ -529,6 +549,10 @@ "resource" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "Project ID for this request.", "location": "path", @@ -601,6 +625,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "preview": { "default": "false", "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", @@ -649,6 +677,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "manifest": { "description": "The name of the manifest for this request.", "location": "path", @@ -748,6 +780,10 @@ "operation" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "operation": { "description": "The name of the operation for this request.", "location": "path", @@ -846,6 +882,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -988,7 +1028,7 @@ } } }, - "revision": "20240214", + "revision": "20241031", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -1113,6 +1153,24 @@ }, "type": "object" }, + "DebugInfo": { + "description": "Describes additional debugging info.", + "id": "DebugInfo", + "properties": { + "detail": { + "description": "Additional debugging information provided by the server.", + "type": "string" + }, + "stackEntries": { + "description": "The stack trace entries indicating where the error occurred.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Deployment": { "id": "Deployment", "properties": { @@ -1262,6 +1320,28 @@ }, "type": "object" }, + "ErrorInfo": { + "description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }", + "id": "ErrorInfo", + "properties": { + "domain": { + "description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {\"instanceLimit\": \"100/request\"}, should be returned as, {\"instanceLimitPerRequest\": \"100\"}, if the client exceeds the number of instances that can be created in a single (batch) request.", + "type": "object" + }, + "reason": { + "description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", + "type": "string" + } + }, + "type": "object" + }, "Expr": { "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", "id": "Expr", @@ -1303,6 +1383,39 @@ "policy": { "$ref": "Policy", "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them." + }, + "updateMask": { + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "Help": { + "description": "Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.", + "id": "Help", + "properties": { + "links": { + "description": "URL(s) pointing to additional information on handling the current error.", + "items": { + "$ref": "HelpLink" + }, + "type": "array" + } + }, + "type": "object" + }, + "HelpLink": { + "description": "Describes a URL link.", + "id": "HelpLink", + "properties": { + "description": { + "description": "Describes what the link offers.", + "type": "string" + }, + "url": { + "description": "The URL of the link.", + "type": "string" } }, "type": "object" @@ -1334,6 +1447,21 @@ }, "type": "object" }, + "LocalizedMessage": { + "description": "Provides a localized error message that is safe to return to the user which can be attached to an RPC error.", + "id": "LocalizedMessage", + "properties": { + "locale": { + "description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", + "type": "string" + }, + "message": { + "description": "The localized error message in the above locale.", + "type": "string" + } + }, + "type": "object" + }, "Manifest": { "id": "Manifest", "properties": { @@ -1430,10 +1558,41 @@ "description": "[Output Only] The array of errors encountered while processing this operation.", "items": { "properties": { + "arguments": { + "description": "[Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only (like componentization) (thus the visibility \"none\") and in case of public exposure it is strongly recommended to follow pattern of: https://aip.dev/193 and expose as details field.", + "items": { + "type": "string" + }, + "type": "array" + }, "code": { "description": "[Output Only] The error type identifier for this error.", "type": "string" }, + "debugInfo": { + "$ref": "DebugInfo" + }, + "errorDetails": { + "description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", + "items": { + "properties": { + "errorInfo": { + "$ref": "ErrorInfo" + }, + "help": { + "$ref": "Help" + }, + "localizedMessage": { + "$ref": "LocalizedMessage" + }, + "quotaInfo": { + "$ref": "QuotaExceededInfo" + } + }, + "type": "object" + }, + "type": "array" + }, "location": { "description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", "type": "string" @@ -1501,6 +1660,10 @@ "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, + "selfLinkWithId": { + "description": "[Output Only] Server-defined URL for this resource with the resource id.", + "type": "string" + }, "setCommonInstanceMetadataOperationMetadata": { "$ref": "SetCommonInstanceMetadataOperationMetadata", "description": "[Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state." @@ -1533,7 +1696,7 @@ "type": "string" }, "targetLink": { - "description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.", + "description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from.", "type": "string" }, "user": { @@ -1564,6 +1727,10 @@ "CLEANUP_FAILED", "FIELD_VALUE_OVERRIDEN", "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "NETWORK_ENDPOINT_NOT_DETACHED", + "PAGE_MISSING_RESULTS", + "SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", + "RESOURCE_NOT_FOUND_WARNING", "MISSING_TYPE_DEPENDENCY", "EXTERNAL_API_WARNING", "SCHEMA_VALIDATION_IGNORED", @@ -1574,7 +1741,14 @@ "LARGE_DEPLOYMENT_WARNING", "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LIST_OVERHEAD_QUOTA_EXCEED" + "LIST_OVERHEAD_QUOTA_EXCEED", + "QUOTA_INFO_UNAVAILABLE", + "RESOURCE_USES_GLOBAL_DNS", + "RESERVED_ENTRY_134", + "RESERVED_ENTRY_135", + "RESERVED_ENTRY_136", + "RESERVED_ENTRY_139", + "RESERVED_ENTRY_141" ], "enumDeprecated": [ false, @@ -1604,6 +1778,17 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -1624,6 +1809,10 @@ "Warning about failed cleanup of transient changes made by a failed operation.", "Warning that value of a field has been overridden. Deprecated unused field.", "Warning that a resource is in use.", + "Warning that network endpoint was not detached.", + "Current page contains less results than requested but a next page token exists.", + "Warning that SSL policy resource in the response does not contain information about the list of enabled features.", + "Warning that a resource is not found.", "A resource depends on a missing type", "Warning that is present in an external api call", "When a resource schema validation is ignored.", @@ -1634,7 +1823,14 @@ "When deploying a deployment with a exceedingly large number of resources", "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter." + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "Quota information is not available to client requests (e.g: regions.list).", + "Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", + "Reserved entries for quickly adding new warnings without breaking dependent clients.", + "", + "", + "", + "" ], "type": "string" }, @@ -1720,6 +1916,50 @@ }, "type": "object" }, + "QuotaExceededInfo": { + "description": "Additional details for quota exceeded error for resource quota.", + "id": "QuotaExceededInfo", + "properties": { + "dimensions": { + "additionalProperties": { + "type": "string" + }, + "description": "The map holding related quota dimensions.", + "type": "object" + }, + "futureLimit": { + "description": "Future quota limit being rolled out. The limit's unit depends on the quota type or metric.", + "format": "double", + "type": "number" + }, + "limit": { + "description": "Current effective quota limit. The limit's unit depends on the quota type or metric.", + "format": "double", + "type": "number" + }, + "limitName": { + "description": "The name of the quota limit.", + "type": "string" + }, + "metricName": { + "description": "The Compute Engine quota metric name.", + "type": "string" + }, + "rolloutStatus": { + "description": "Rollout status of the future quota limit.", + "enum": [ + "ROLLOUT_STATUS_UNSPECIFIED", + "IN_PROGRESS" + ], + "enumDescriptions": [ + "ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default value.", + "IN_PROGRESS - A rollout is in process which will change the limit value to future limit." + ], + "type": "string" + } + }, + "type": "object" + }, "Resource": { "id": "Resource", "properties": { @@ -1791,6 +2031,10 @@ "CLEANUP_FAILED", "FIELD_VALUE_OVERRIDEN", "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "NETWORK_ENDPOINT_NOT_DETACHED", + "PAGE_MISSING_RESULTS", + "SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", + "RESOURCE_NOT_FOUND_WARNING", "MISSING_TYPE_DEPENDENCY", "EXTERNAL_API_WARNING", "SCHEMA_VALIDATION_IGNORED", @@ -1801,7 +2045,14 @@ "LARGE_DEPLOYMENT_WARNING", "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LIST_OVERHEAD_QUOTA_EXCEED" + "LIST_OVERHEAD_QUOTA_EXCEED", + "QUOTA_INFO_UNAVAILABLE", + "RESOURCE_USES_GLOBAL_DNS", + "RESERVED_ENTRY_134", + "RESERVED_ENTRY_135", + "RESERVED_ENTRY_136", + "RESERVED_ENTRY_139", + "RESERVED_ENTRY_141" ], "enumDeprecated": [ false, @@ -1831,6 +2082,17 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -1851,6 +2113,10 @@ "Warning about failed cleanup of transient changes made by a failed operation.", "Warning that value of a field has been overridden. Deprecated unused field.", "Warning that a resource is in use.", + "Warning that network endpoint was not detached.", + "Current page contains less results than requested but a next page token exists.", + "Warning that SSL policy resource in the response does not contain information about the list of enabled features.", + "Warning that a resource is not found.", "A resource depends on a missing type", "Warning that is present in an external api call", "When a resource schema validation is ignored.", @@ -1861,7 +2127,14 @@ "When deploying a deployment with a exceedingly large number of resources", "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter." + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "Quota information is not available to client requests (e.g: regions.list).", + "Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", + "Reserved entries for quickly adding new warnings without breaking dependent clients.", + "", + "", + "", + "" ], "type": "string" }, @@ -1919,10 +2192,41 @@ "description": "[Output Only] The array of errors encountered while processing this operation.", "items": { "properties": { + "arguments": { + "description": "[Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only (like componentization) (thus the visibility \"none\") and in case of public exposure it is strongly recommended to follow pattern of: https://aip.dev/193 and expose as details field.", + "items": { + "type": "string" + }, + "type": "array" + }, "code": { "description": "[Output Only] The error type identifier for this error.", "type": "string" }, + "debugInfo": { + "$ref": "DebugInfo" + }, + "errorDetails": { + "description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", + "items": { + "properties": { + "errorInfo": { + "$ref": "ErrorInfo" + }, + "help": { + "$ref": "Help" + }, + "localizedMessage": { + "$ref": "LocalizedMessage" + }, + "quotaInfo": { + "$ref": "QuotaExceededInfo" + } + }, + "type": "object" + }, + "type": "array" + }, "location": { "description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", "type": "string" @@ -2013,6 +2317,10 @@ "CLEANUP_FAILED", "FIELD_VALUE_OVERRIDEN", "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "NETWORK_ENDPOINT_NOT_DETACHED", + "PAGE_MISSING_RESULTS", + "SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", + "RESOURCE_NOT_FOUND_WARNING", "MISSING_TYPE_DEPENDENCY", "EXTERNAL_API_WARNING", "SCHEMA_VALIDATION_IGNORED", @@ -2023,7 +2331,14 @@ "LARGE_DEPLOYMENT_WARNING", "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LIST_OVERHEAD_QUOTA_EXCEED" + "LIST_OVERHEAD_QUOTA_EXCEED", + "QUOTA_INFO_UNAVAILABLE", + "RESOURCE_USES_GLOBAL_DNS", + "RESERVED_ENTRY_134", + "RESERVED_ENTRY_135", + "RESERVED_ENTRY_136", + "RESERVED_ENTRY_139", + "RESERVED_ENTRY_141" ], "enumDeprecated": [ false, @@ -2053,6 +2368,17 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -2073,6 +2399,10 @@ "Warning about failed cleanup of transient changes made by a failed operation.", "Warning that value of a field has been overridden. Deprecated unused field.", "Warning that a resource is in use.", + "Warning that network endpoint was not detached.", + "Current page contains less results than requested but a next page token exists.", + "Warning that SSL policy resource in the response does not contain information about the list of enabled features.", + "Warning that a resource is not found.", "A resource depends on a missing type", "Warning that is present in an external api call", "When a resource schema validation is ignored.", @@ -2083,7 +2413,14 @@ "When deploying a deployment with a exceedingly large number of resources", "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter." + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "Quota information is not available to client requests (e.g: regions.list).", + "Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", + "Reserved entries for quickly adding new warnings without breaking dependent clients.", + "", + "", + "", + "" ], "type": "string" }, diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs index dcf3c8cfd2..92d0ddbed7 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs @@ -432,6 +432,9 @@ public enum DeletePolicyEnum ABANDON = 1, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "delete"; @@ -469,6 +472,14 @@ protected override void InitParameters() DefaultValue = "DELETE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -499,6 +510,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("deployment", Google.Apis.Util.RequestParameterType.Path)] public virtual string Deployment { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -528,6 +542,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -562,6 +584,9 @@ public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string p [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Requested IAM Policy version. [Google.Apis.Util.RequestParameterAttribute("optionsRequestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } @@ -595,6 +620,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("optionsRequestedPolicyVersion", new Google.Apis.Discovery.Parameter { Name = "optionsRequestedPolicyVersion", @@ -645,6 +678,9 @@ public enum CreatePolicyEnum ACQUIRE = 1, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// /// If set to true, creates a deployment and creates "shell" resources but does not actually instantiate /// these resources. This allows you to preview what your deployment looks like. After previewing a @@ -690,6 +726,14 @@ protected override void InitParameters() DefaultValue = "CREATE_OR_ACQUIRE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("preview", new Google.Apis.Discovery.Parameter { Name = "preview", @@ -903,6 +947,9 @@ public enum DeletePolicyEnum ABANDON = 1, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// /// If set to true, updates the deployment and creates and updates the "shell" resources but does not /// actually alter or instantiate these resources. This allows you to preview what your deployment will look @@ -966,6 +1013,14 @@ protected override void InitParameters() DefaultValue = "DELETE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("preview", new Google.Apis.Discovery.Parameter { Name = "preview", @@ -1146,6 +1201,9 @@ public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Go [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.v2.Data.TestPermissionsRequest Body { get; set; } @@ -1181,6 +1239,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -1245,6 +1311,9 @@ public enum DeletePolicyEnum ABANDON = 1, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// /// If set to true, updates the deployment and creates and updates the "shell" resources but does not /// actually alter or instantiate these resources. This allows you to preview what your deployment will look @@ -1308,6 +1377,14 @@ protected override void InitParameters() DefaultValue = "DELETE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("preview", new Google.Apis.Discovery.Parameter { Name = "preview", @@ -1367,6 +1444,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("manifest", Google.Apis.Util.RequestParameterType.Path)] public virtual string Manifest { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -1404,6 +1484,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -1604,6 +1692,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("operation", Google.Apis.Util.RequestParameterType.Path)] public virtual string Operation { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -1633,6 +1724,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -1825,6 +1924,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -1862,6 +1964,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2343,6 +2453,21 @@ public class ConfigFile : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Describes additional debugging info. + public class DebugInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// Additional debugging information provided by the server. + [Newtonsoft.Json.JsonPropertyAttribute("detail")] + public virtual string Detail { get; set; } + + /// The stack trace entries indicating where the error occurred. + [Newtonsoft.Json.JsonPropertyAttribute("stackEntries")] + public virtual System.Collections.Generic.IList StackEntries { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class Deployment : Google.Apis.Requests.IDirectResponseSchema { /// An optional user-provided description of the deployment. @@ -2535,6 +2660,47 @@ public class DeploymentsStopRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// Describes the cause of the error with structured details. Example of an error when contacting the + /// "pubsub.googleapis.com" API when it is not enabled: { "reason": "API_DISABLED" "domain": "googleapis.com" + /// "metadata": { "resource": "projects/123", "service": "pubsub.googleapis.com" } } This response indicates that + /// the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a + /// Spanner instance in a region that is out of stock: { "reason": "STOCKOUT" "domain": "spanner.googleapis.com", + /// "metadata": { "availableRegions": "us-central1,us-east2" } } + /// + public class ErrorInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The logical grouping to which the "reason" belongs. The error domain is typically the registered service + /// name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is + /// generated by some common infrastructure, the error domain must be a globally unique value that identifies + /// the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". + /// + [Newtonsoft.Json.JsonPropertyAttribute("domain")] + public virtual string Domain { get; set; } + + /// + /// Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. + /// Also they must be limited to 64 characters in length. When identifying the current value of an exceeded + /// limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": + /// "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number + /// of instances that can be created in a single (batch) request. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// + /// The reason of the error. This is a constant value that identifies the proximate cause of the error. Error + /// reasons are unique within a particular domain of errors. This should be at most 63 characters and match a + /// regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. + /// + [Newtonsoft.Json.JsonPropertyAttribute("reason")] + public virtual string Reason { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression /// language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example @@ -2600,6 +2766,39 @@ public class GlobalSetPolicyRequest : Google.Apis.Requests.IDirectResponseSchema /// [Newtonsoft.Json.JsonPropertyAttribute("policy")] public virtual Policy Policy { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] + public virtual object UpdateMask { get; set; } + } + + /// + /// Provides links to documentation or for performing an out of band action. For example, if a quota check failed + /// with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL + /// pointing directly to the right place in the developer console to flip the bit. + /// + public class Help : Google.Apis.Requests.IDirectResponseSchema + { + /// URL(s) pointing to additional information on handling the current error. + [Newtonsoft.Json.JsonPropertyAttribute("links")] + public virtual System.Collections.Generic.IList Links { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describes a URL link. + public class HelpLink : Google.Apis.Requests.IDirectResponseSchema + { + /// Describes what the link offers. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// The URL of the link. + [Newtonsoft.Json.JsonPropertyAttribute("url")] + public virtual string Url { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } } public class ImportFile : Google.Apis.Requests.IDirectResponseSchema @@ -2626,6 +2825,26 @@ public class InstancesBulkInsertOperationMetadata : Google.Apis.Requests.IDirect public virtual string ETag { get; set; } } + /// + /// Provides a localized error message that is safe to return to the user which can be attached to an RPC error. + /// + public class LocalizedMessage : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. + /// Examples are: "en-US", "fr-CH", "es-MX" + /// + [Newtonsoft.Json.JsonPropertyAttribute("locale")] + public virtual string Locale { get; set; } + + /// The localized error message in the above locale. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class Manifest : Google.Apis.Requests.IDirectResponseSchema { /// Output only. The YAML configuration for this manifest. @@ -2799,6 +3018,10 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] public virtual string SelfLink { get; set; } + /// [Output Only] Server-defined URL for this resource with the resource id. + [Newtonsoft.Json.JsonPropertyAttribute("selfLinkWithId")] + public virtual string SelfLinkWithId { get; set; } + /// /// [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain /// information on all underlying zonal actions and their state. @@ -2831,7 +3054,7 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema /// /// [Output Only] The URL of the resource that the operation modifies. For operations related to creating a - /// snapshot, this points to the persistent disk that the snapshot was created from. + /// snapshot, this points to the disk that the snapshot was created from. /// [Newtonsoft.Json.JsonPropertyAttribute("targetLink")] public virtual string TargetLink { get; set; } @@ -2872,10 +3095,29 @@ public class ErrorData /// [Output Only] The array of errors encountered while processing this operation. public class ErrorsData { + /// + /// [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only + /// (like componentization) (thus the visibility "none") and in case of public exposure it is strongly + /// recommended to follow pattern of: https://aip.dev/193 and expose as details field. + /// + [Newtonsoft.Json.JsonPropertyAttribute("arguments")] + public virtual System.Collections.Generic.IList Arguments { get; set; } + /// [Output Only] The error type identifier for this error. [Newtonsoft.Json.JsonPropertyAttribute("code")] public virtual string Code { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("debugInfo")] + public virtual DebugInfo DebugInfo { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + [Newtonsoft.Json.JsonPropertyAttribute("errorDetails")] + public virtual System.Collections.Generic.IList ErrorDetails { get; set; } + /// /// [Output Only] Indicates the field in the request that caused the error. This property is optional. /// @@ -2885,6 +3127,26 @@ public class ErrorsData /// [Output Only] An optional, human-readable error message. [Newtonsoft.Json.JsonPropertyAttribute("message")] public virtual string Message { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + public class ErrorDetailsData + { + [Newtonsoft.Json.JsonPropertyAttribute("errorInfo")] + public virtual ErrorInfo ErrorInfo { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("help")] + public virtual Help Help { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("localizedMessage")] + public virtual LocalizedMessage LocalizedMessage { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("quotaInfo")] + public virtual QuotaExceededInfo QuotaInfo { get; set; } + } } } @@ -3030,6 +3292,39 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable Version { get; set; } } + /// Additional details for quota exceeded error for resource quota. + public class QuotaExceededInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// The map holding related quota dimensions. + [Newtonsoft.Json.JsonPropertyAttribute("dimensions")] + public virtual System.Collections.Generic.IDictionary Dimensions { get; set; } + + /// + /// Future quota limit being rolled out. The limit's unit depends on the quota type or metric. + /// + [Newtonsoft.Json.JsonPropertyAttribute("futureLimit")] + public virtual System.Nullable FutureLimit { get; set; } + + /// Current effective quota limit. The limit's unit depends on the quota type or metric. + [Newtonsoft.Json.JsonPropertyAttribute("limit")] + public virtual System.Nullable Limit { get; set; } + + /// The name of the quota limit. + [Newtonsoft.Json.JsonPropertyAttribute("limitName")] + public virtual string LimitName { get; set; } + + /// The Compute Engine quota metric name. + [Newtonsoft.Json.JsonPropertyAttribute("metricName")] + public virtual string MetricName { get; set; } + + /// Rollout status of the future quota limit. + [Newtonsoft.Json.JsonPropertyAttribute("rolloutStatus")] + public virtual string RolloutStatus { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class Resource : Google.Apis.Requests.IDirectResponseSchema { /// The Access Control Policy set on this resource. @@ -3214,10 +3509,29 @@ public class ErrorData /// [Output Only] The array of errors encountered while processing this operation. public class ErrorsData { + /// + /// [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only + /// (like componentization) (thus the visibility "none") and in case of public exposure it is strongly + /// recommended to follow pattern of: https://aip.dev/193 and expose as details field. + /// + [Newtonsoft.Json.JsonPropertyAttribute("arguments")] + public virtual System.Collections.Generic.IList Arguments { get; set; } + /// [Output Only] The error type identifier for this error. [Newtonsoft.Json.JsonPropertyAttribute("code")] public virtual string Code { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("debugInfo")] + public virtual DebugInfo DebugInfo { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + [Newtonsoft.Json.JsonPropertyAttribute("errorDetails")] + public virtual System.Collections.Generic.IList ErrorDetails { get; set; } + /// /// [Output Only] Indicates the field in the request that caused the error. This property is optional. /// @@ -3227,6 +3541,26 @@ public class ErrorsData /// [Output Only] An optional, human-readable error message. [Newtonsoft.Json.JsonPropertyAttribute("message")] public virtual string Message { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + public class ErrorDetailsData + { + [Newtonsoft.Json.JsonPropertyAttribute("errorInfo")] + public virtual ErrorInfo ErrorInfo { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("help")] + public virtual Help Help { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("localizedMessage")] + public virtual LocalizedMessage LocalizedMessage { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("quotaInfo")] + public virtual QuotaExceededInfo QuotaInfo { get; set; } + } } } diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.csproj b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.csproj index 84192c96b4..a9b97533c0 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.csproj +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.DeploymentManager.v2 Client Library - 1.68.0.3331 + 1.68.0.3591 Google LLC Copyright 2024 Google LLC Google From 2fcc40f0db6c1ac6f5453459e8467364c1f5eb2e Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:54 -0800 Subject: [PATCH 17/28] feat: Generate Google.Apis.DeploymentManager.v2beta version 1.68.0.3591 --- DiscoveryJson/deploymentmanager.v2beta.json | 397 ++++++++++++++- .../Google.Apis.DeploymentManager.v2beta.cs | 457 +++++++++++++++++- ...oogle.Apis.DeploymentManager.v2beta.csproj | 2 +- 3 files changed, 846 insertions(+), 10 deletions(-) diff --git a/DiscoveryJson/deploymentmanager.v2beta.json b/DiscoveryJson/deploymentmanager.v2beta.json index 43e7789b07..2846903b93 100644 --- a/DiscoveryJson/deploymentmanager.v2beta.json +++ b/DiscoveryJson/deploymentmanager.v2beta.json @@ -132,6 +132,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -166,6 +170,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -194,6 +202,10 @@ "project" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -282,6 +294,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -319,6 +335,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -410,6 +430,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -444,6 +468,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -473,6 +501,10 @@ "resource" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "optionsRequestedPolicyVersion": { "description": "Requested IAM Policy version.", "format": "int32", @@ -528,6 +560,10 @@ "location": "query", "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "preview": { "description": "If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the `update()` method or you can use the `cancelPreview()` method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", "location": "query", @@ -651,6 +687,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "preview": { "default": "false", "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", @@ -761,6 +801,10 @@ "resource" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "Project ID for this request.", "location": "path", @@ -835,6 +879,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "preview": { "default": "false", "description": "If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a `target.config` with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the `update()` or you can `cancelPreview()` to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.", @@ -883,6 +931,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "manifest": { "description": "The name of the manifest for this request.", "location": "path", @@ -982,6 +1034,10 @@ "operation" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "operation": { "description": "The name of the operation for this request.", "location": "path", @@ -1080,6 +1136,10 @@ "required": true, "type": "string" }, + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1178,6 +1238,10 @@ "typeProvider" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1212,6 +1276,10 @@ "typeProvider" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1249,6 +1317,10 @@ "type" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1290,6 +1362,10 @@ "project" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1430,6 +1506,10 @@ "typeProvider" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1467,6 +1547,10 @@ "typeProvider" ], "parameters": { + "header.bypassBillingFilter": { + "location": "query", + "type": "boolean" + }, "project": { "description": "The project ID for this request.", "location": "path", @@ -1552,7 +1636,7 @@ } } }, - "revision": "20240214", + "revision": "20241031", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AsyncOptions": { @@ -1855,6 +1939,24 @@ }, "type": "object" }, + "DebugInfo": { + "description": "Describes additional debugging info.", + "id": "DebugInfo", + "properties": { + "detail": { + "description": "Additional debugging information provided by the server.", + "type": "string" + }, + "stackEntries": { + "description": "The stack trace entries indicating where the error occurred.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Deployment": { "id": "Deployment", "properties": { @@ -2030,6 +2132,28 @@ }, "type": "object" }, + "ErrorInfo": { + "description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }", + "id": "ErrorInfo", + "properties": { + "domain": { + "description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {\"instanceLimit\": \"100/request\"}, should be returned as, {\"instanceLimitPerRequest\": \"100\"}, if the client exceeds the number of instances that can be created in a single (batch) request.", + "type": "object" + }, + "reason": { + "description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", + "type": "string" + } + }, + "type": "object" + }, "Expr": { "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", "id": "Expr", @@ -2071,6 +2195,39 @@ "policy": { "$ref": "Policy", "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them." + }, + "updateMask": { + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "Help": { + "description": "Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.", + "id": "Help", + "properties": { + "links": { + "description": "URL(s) pointing to additional information on handling the current error.", + "items": { + "$ref": "HelpLink" + }, + "type": "array" + } + }, + "type": "object" + }, + "HelpLink": { + "description": "Describes a URL link.", + "id": "HelpLink", + "properties": { + "description": { + "description": "Describes what the link offers.", + "type": "string" + }, + "url": { + "description": "The URL of the link.", + "type": "string" } }, "type": "object" @@ -2139,6 +2296,21 @@ }, "type": "object" }, + "LocalizedMessage": { + "description": "Provides a localized error message that is safe to return to the user which can be attached to an RPC error.", + "id": "LocalizedMessage", + "properties": { + "locale": { + "description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", + "type": "string" + }, + "message": { + "description": "The localized error message in the above locale.", + "type": "string" + } + }, + "type": "object" + }, "Manifest": { "id": "Manifest", "properties": { @@ -2235,10 +2407,41 @@ "description": "[Output Only] The array of errors encountered while processing this operation.", "items": { "properties": { + "arguments": { + "description": "[Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only (like componentization) (thus the visibility \"none\") and in case of public exposure it is strongly recommended to follow pattern of: https://aip.dev/193 and expose as details field.", + "items": { + "type": "string" + }, + "type": "array" + }, "code": { "description": "[Output Only] The error type identifier for this error.", "type": "string" }, + "debugInfo": { + "$ref": "DebugInfo" + }, + "errorDetails": { + "description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", + "items": { + "properties": { + "errorInfo": { + "$ref": "ErrorInfo" + }, + "help": { + "$ref": "Help" + }, + "localizedMessage": { + "$ref": "LocalizedMessage" + }, + "quotaInfo": { + "$ref": "QuotaExceededInfo" + } + }, + "type": "object" + }, + "type": "array" + }, "location": { "description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", "type": "string" @@ -2306,6 +2509,10 @@ "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, + "selfLinkWithId": { + "description": "[Output Only] Server-defined URL for this resource with the resource id.", + "type": "string" + }, "setCommonInstanceMetadataOperationMetadata": { "$ref": "SetCommonInstanceMetadataOperationMetadata", "description": "[Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state." @@ -2338,7 +2545,7 @@ "type": "string" }, "targetLink": { - "description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.", + "description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from.", "type": "string" }, "user": { @@ -2369,6 +2576,10 @@ "CLEANUP_FAILED", "FIELD_VALUE_OVERRIDEN", "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "NETWORK_ENDPOINT_NOT_DETACHED", + "PAGE_MISSING_RESULTS", + "SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", + "RESOURCE_NOT_FOUND_WARNING", "MISSING_TYPE_DEPENDENCY", "EXTERNAL_API_WARNING", "SCHEMA_VALIDATION_IGNORED", @@ -2379,7 +2590,14 @@ "LARGE_DEPLOYMENT_WARNING", "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LIST_OVERHEAD_QUOTA_EXCEED" + "LIST_OVERHEAD_QUOTA_EXCEED", + "QUOTA_INFO_UNAVAILABLE", + "RESOURCE_USES_GLOBAL_DNS", + "RESERVED_ENTRY_134", + "RESERVED_ENTRY_135", + "RESERVED_ENTRY_136", + "RESERVED_ENTRY_139", + "RESERVED_ENTRY_141" ], "enumDeprecated": [ false, @@ -2409,6 +2627,17 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -2429,6 +2658,10 @@ "Warning about failed cleanup of transient changes made by a failed operation.", "Warning that value of a field has been overridden. Deprecated unused field.", "Warning that a resource is in use.", + "Warning that network endpoint was not detached.", + "Current page contains less results than requested but a next page token exists.", + "Warning that SSL policy resource in the response does not contain information about the list of enabled features.", + "Warning that a resource is not found.", "A resource depends on a missing type", "Warning that is present in an external api call", "When a resource schema validation is ignored.", @@ -2439,7 +2672,14 @@ "When deploying a deployment with a exceedingly large number of resources", "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter." + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "Quota information is not available to client requests (e.g: regions.list).", + "Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", + "Reserved entries for quickly adding new warnings without breaking dependent clients.", + "", + "", + "", + "" ], "type": "string" }, @@ -2583,6 +2823,50 @@ }, "type": "object" }, + "QuotaExceededInfo": { + "description": "Additional details for quota exceeded error for resource quota.", + "id": "QuotaExceededInfo", + "properties": { + "dimensions": { + "additionalProperties": { + "type": "string" + }, + "description": "The map holding related quota dimensions.", + "type": "object" + }, + "futureLimit": { + "description": "Future quota limit being rolled out. The limit's unit depends on the quota type or metric.", + "format": "double", + "type": "number" + }, + "limit": { + "description": "Current effective quota limit. The limit's unit depends on the quota type or metric.", + "format": "double", + "type": "number" + }, + "limitName": { + "description": "The name of the quota limit.", + "type": "string" + }, + "metricName": { + "description": "The Compute Engine quota metric name.", + "type": "string" + }, + "rolloutStatus": { + "description": "Rollout status of the future quota limit.", + "enum": [ + "ROLLOUT_STATUS_UNSPECIFIED", + "IN_PROGRESS" + ], + "enumDescriptions": [ + "ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default value.", + "IN_PROGRESS - A rollout is in process which will change the limit value to future limit." + ], + "type": "string" + } + }, + "type": "object" + }, "Resource": { "id": "Resource", "properties": { @@ -2654,6 +2938,10 @@ "CLEANUP_FAILED", "FIELD_VALUE_OVERRIDEN", "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "NETWORK_ENDPOINT_NOT_DETACHED", + "PAGE_MISSING_RESULTS", + "SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", + "RESOURCE_NOT_FOUND_WARNING", "MISSING_TYPE_DEPENDENCY", "EXTERNAL_API_WARNING", "SCHEMA_VALIDATION_IGNORED", @@ -2664,7 +2952,14 @@ "LARGE_DEPLOYMENT_WARNING", "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LIST_OVERHEAD_QUOTA_EXCEED" + "LIST_OVERHEAD_QUOTA_EXCEED", + "QUOTA_INFO_UNAVAILABLE", + "RESOURCE_USES_GLOBAL_DNS", + "RESERVED_ENTRY_134", + "RESERVED_ENTRY_135", + "RESERVED_ENTRY_136", + "RESERVED_ENTRY_139", + "RESERVED_ENTRY_141" ], "enumDeprecated": [ false, @@ -2694,6 +2989,17 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -2714,6 +3020,10 @@ "Warning about failed cleanup of transient changes made by a failed operation.", "Warning that value of a field has been overridden. Deprecated unused field.", "Warning that a resource is in use.", + "Warning that network endpoint was not detached.", + "Current page contains less results than requested but a next page token exists.", + "Warning that SSL policy resource in the response does not contain information about the list of enabled features.", + "Warning that a resource is not found.", "A resource depends on a missing type", "Warning that is present in an external api call", "When a resource schema validation is ignored.", @@ -2724,7 +3034,14 @@ "When deploying a deployment with a exceedingly large number of resources", "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter." + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "Quota information is not available to client requests (e.g: regions.list).", + "Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", + "Reserved entries for quickly adding new warnings without breaking dependent clients.", + "", + "", + "", + "" ], "type": "string" }, @@ -2782,10 +3099,41 @@ "description": "[Output Only] The array of errors encountered while processing this operation.", "items": { "properties": { + "arguments": { + "description": "[Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only (like componentization) (thus the visibility \"none\") and in case of public exposure it is strongly recommended to follow pattern of: https://aip.dev/193 and expose as details field.", + "items": { + "type": "string" + }, + "type": "array" + }, "code": { "description": "[Output Only] The error type identifier for this error.", "type": "string" }, + "debugInfo": { + "$ref": "DebugInfo" + }, + "errorDetails": { + "description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", + "items": { + "properties": { + "errorInfo": { + "$ref": "ErrorInfo" + }, + "help": { + "$ref": "Help" + }, + "localizedMessage": { + "$ref": "LocalizedMessage" + }, + "quotaInfo": { + "$ref": "QuotaExceededInfo" + } + }, + "type": "object" + }, + "type": "array" + }, "location": { "description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", "type": "string" @@ -2876,6 +3224,10 @@ "CLEANUP_FAILED", "FIELD_VALUE_OVERRIDEN", "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "NETWORK_ENDPOINT_NOT_DETACHED", + "PAGE_MISSING_RESULTS", + "SSL_POLICY_ENABLED_FEATURES_NOT_FETCHED", + "RESOURCE_NOT_FOUND_WARNING", "MISSING_TYPE_DEPENDENCY", "EXTERNAL_API_WARNING", "SCHEMA_VALIDATION_IGNORED", @@ -2886,7 +3238,14 @@ "LARGE_DEPLOYMENT_WARNING", "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LIST_OVERHEAD_QUOTA_EXCEED" + "LIST_OVERHEAD_QUOTA_EXCEED", + "QUOTA_INFO_UNAVAILABLE", + "RESOURCE_USES_GLOBAL_DNS", + "RESERVED_ENTRY_134", + "RESERVED_ENTRY_135", + "RESERVED_ENTRY_136", + "RESERVED_ENTRY_139", + "RESERVED_ENTRY_141" ], "enumDeprecated": [ false, @@ -2916,6 +3275,17 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -2936,6 +3306,10 @@ "Warning about failed cleanup of transient changes made by a failed operation.", "Warning that value of a field has been overridden. Deprecated unused field.", "Warning that a resource is in use.", + "Warning that network endpoint was not detached.", + "Current page contains less results than requested but a next page token exists.", + "Warning that SSL policy resource in the response does not contain information about the list of enabled features.", + "Warning that a resource is not found.", "A resource depends on a missing type", "Warning that is present in an external api call", "When a resource schema validation is ignored.", @@ -2946,7 +3320,14 @@ "When deploying a deployment with a exceedingly large number of resources", "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter." + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "Quota information is not available to client requests (e.g: regions.list).", + "Indicates that a VM is using global DNS. Can also be used to indicate that a resource has attributes that could result in the creation of a VM that uses global DNS.", + "Reserved entries for quickly adding new warnings without breaking dependent clients.", + "", + "", + "", + "" ], "type": "string" }, diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.cs b/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.cs index f49c57bea5..846886f03b 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.cs +++ b/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.cs @@ -357,6 +357,9 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string project [Google.Apis.Util.RequestParameterAttribute("compositeType", Google.Apis.Util.RequestParameterType.Path)] public virtual string CompositeType { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "delete"; @@ -386,6 +389,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -416,6 +427,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("compositeType", Google.Apis.Util.RequestParameterType.Path)] public virtual string CompositeType { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -445,6 +459,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -471,6 +493,9 @@ public InsertRequest(Google.Apis.Services.IClientService service, Google.Apis.De [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] public virtual string Project { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.v2beta.Data.CompositeType Body { get; set; } @@ -498,6 +523,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -671,6 +704,9 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Dep [Google.Apis.Util.RequestParameterAttribute("compositeType", Google.Apis.Util.RequestParameterType.Path)] public virtual string CompositeType { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.v2beta.Data.CompositeType Body { get; set; } @@ -706,6 +742,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -738,6 +782,9 @@ public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.De [Google.Apis.Util.RequestParameterAttribute("compositeType", Google.Apis.Util.RequestParameterType.Path)] public virtual string CompositeType { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.v2beta.Data.CompositeType Body { get; set; } @@ -773,6 +820,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } } @@ -901,6 +956,9 @@ public enum DeletePolicyEnum ABANDON = 1, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "delete"; @@ -938,6 +996,14 @@ protected override void InitParameters() DefaultValue = "DELETE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -968,6 +1034,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("deployment", Google.Apis.Util.RequestParameterType.Path)] public virtual string Deployment { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -997,6 +1066,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -1031,6 +1108,9 @@ public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string p [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Requested IAM Policy version. [Google.Apis.Util.RequestParameterAttribute("optionsRequestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } @@ -1064,6 +1144,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("optionsRequestedPolicyVersion", new Google.Apis.Discovery.Parameter { Name = "optionsRequestedPolicyVersion", @@ -1118,6 +1206,9 @@ public enum CreatePolicyEnum CREATE = 2, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// /// If set to true, creates a deployment and creates "shell" resources but does not actually instantiate /// these resources. This allows you to preview what your deployment looks like. After previewing a @@ -1163,6 +1254,14 @@ protected override void InitParameters() DefaultValue = "CREATE_OR_ACQUIRE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("preview", new Google.Apis.Discovery.Parameter { Name = "preview", @@ -1380,6 +1479,9 @@ public enum DeletePolicyEnum ABANDON = 1, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// /// If set to true, updates the deployment and creates and updates the "shell" resources but does not /// actually alter or instantiate these resources. This allows you to preview what your deployment will look @@ -1443,6 +1545,14 @@ protected override void InitParameters() DefaultValue = "DELETE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("preview", new Google.Apis.Discovery.Parameter { Name = "preview", @@ -1623,6 +1733,9 @@ public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Go [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.v2beta.Data.TestPermissionsRequest Body { get; set; } @@ -1658,6 +1771,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -1726,6 +1847,9 @@ public enum DeletePolicyEnum ABANDON = 1, } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// /// If set to true, updates the deployment and creates and updates the "shell" resources but does not /// actually alter or instantiate these resources. This allows you to preview what your deployment will look @@ -1789,6 +1913,14 @@ protected override void InitParameters() DefaultValue = "DELETE", Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("preview", new Google.Apis.Discovery.Parameter { Name = "preview", @@ -1848,6 +1980,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("manifest", Google.Apis.Util.RequestParameterType.Path)] public virtual string Manifest { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -1885,6 +2020,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2085,6 +2228,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("operation", Google.Apis.Util.RequestParameterType.Path)] public virtual string Operation { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -2114,6 +2260,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2306,6 +2460,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] public virtual string Resource { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -2343,6 +2500,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2543,6 +2708,9 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string project [Google.Apis.Util.RequestParameterAttribute("typeProvider", Google.Apis.Util.RequestParameterType.Path)] public virtual string TypeProvider { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "delete"; @@ -2572,6 +2740,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2602,6 +2778,9 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("typeProvider", Google.Apis.Util.RequestParameterType.Path)] public virtual string TypeProvider { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "get"; @@ -2631,6 +2810,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2667,6 +2854,9 @@ public GetTypeRequest(Google.Apis.Services.IClientService service, string projec [Google.Apis.Util.RequestParameterAttribute("type", Google.Apis.Util.RequestParameterType.Path)] public virtual string Type { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets the method name. public override string MethodName => "getType"; @@ -2704,6 +2894,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -2730,6 +2928,9 @@ public InsertRequest(Google.Apis.Services.IClientService service, Google.Apis.De [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] public virtual string Project { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.v2beta.Data.TypeProvider Body { get; set; } @@ -2757,6 +2958,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -3085,6 +3294,9 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Dep [Google.Apis.Util.RequestParameterAttribute("typeProvider", Google.Apis.Util.RequestParameterType.Path)] public virtual string TypeProvider { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.v2beta.Data.TypeProvider Body { get; set; } @@ -3120,6 +3332,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -3152,6 +3372,9 @@ public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.De [Google.Apis.Util.RequestParameterAttribute("typeProvider", Google.Apis.Util.RequestParameterType.Path)] public virtual string TypeProvider { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("header.bypassBillingFilter", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable HeaderBypassBillingFilter { get; set; } + /// Gets or sets the body of this request. Google.Apis.DeploymentManager.v2beta.Data.TypeProvider Body { get; set; } @@ -3187,6 +3410,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", }); + RequestParameters.Add("header.bypassBillingFilter", new Google.Apis.Discovery.Parameter + { + Name = "header.bypassBillingFilter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } } @@ -3687,6 +3918,21 @@ public class Credential : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Describes additional debugging info. + public class DebugInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// Additional debugging information provided by the server. + [Newtonsoft.Json.JsonPropertyAttribute("detail")] + public virtual string Detail { get; set; } + + /// The stack trace entries indicating where the error occurred. + [Newtonsoft.Json.JsonPropertyAttribute("stackEntries")] + public virtual System.Collections.Generic.IList StackEntries { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class Deployment : Google.Apis.Requests.IDirectResponseSchema { /// An optional user-provided description of the deployment. @@ -3896,6 +4142,47 @@ public class Diagnostic : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// Describes the cause of the error with structured details. Example of an error when contacting the + /// "pubsub.googleapis.com" API when it is not enabled: { "reason": "API_DISABLED" "domain": "googleapis.com" + /// "metadata": { "resource": "projects/123", "service": "pubsub.googleapis.com" } } This response indicates that + /// the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a + /// Spanner instance in a region that is out of stock: { "reason": "STOCKOUT" "domain": "spanner.googleapis.com", + /// "metadata": { "availableRegions": "us-central1,us-east2" } } + /// + public class ErrorInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The logical grouping to which the "reason" belongs. The error domain is typically the registered service + /// name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is + /// generated by some common infrastructure, the error domain must be a globally unique value that identifies + /// the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". + /// + [Newtonsoft.Json.JsonPropertyAttribute("domain")] + public virtual string Domain { get; set; } + + /// + /// Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. + /// Also they must be limited to 64 characters in length. When identifying the current value of an exceeded + /// limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": + /// "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number + /// of instances that can be created in a single (batch) request. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// + /// The reason of the error. This is a constant value that identifies the proximate cause of the error. Error + /// reasons are unique within a particular domain of errors. This should be at most 63 characters and match a + /// regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. + /// + [Newtonsoft.Json.JsonPropertyAttribute("reason")] + public virtual string Reason { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression /// language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example @@ -3961,6 +4248,39 @@ public class GlobalSetPolicyRequest : Google.Apis.Requests.IDirectResponseSchema /// [Newtonsoft.Json.JsonPropertyAttribute("policy")] public virtual Policy Policy { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] + public virtual object UpdateMask { get; set; } + } + + /// + /// Provides links to documentation or for performing an out of band action. For example, if a quota check failed + /// with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL + /// pointing directly to the right place in the developer console to flip the bit. + /// + public class Help : Google.Apis.Requests.IDirectResponseSchema + { + /// URL(s) pointing to additional information on handling the current error. + [Newtonsoft.Json.JsonPropertyAttribute("links")] + public virtual System.Collections.Generic.IList Links { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describes a URL link. + public class HelpLink : Google.Apis.Requests.IDirectResponseSchema + { + /// Describes what the link offers. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// The URL of the link. + [Newtonsoft.Json.JsonPropertyAttribute("url")] + public virtual string Url { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } } public class ImportFile : Google.Apis.Requests.IDirectResponseSchema @@ -4013,6 +4333,26 @@ public class InstancesBulkInsertOperationMetadata : Google.Apis.Requests.IDirect public virtual string ETag { get; set; } } + /// + /// Provides a localized error message that is safe to return to the user which can be attached to an RPC error. + /// + public class LocalizedMessage : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. + /// Examples are: "en-US", "fr-CH", "es-MX" + /// + [Newtonsoft.Json.JsonPropertyAttribute("locale")] + public virtual string Locale { get; set; } + + /// The localized error message in the above locale. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class Manifest : Google.Apis.Requests.IDirectResponseSchema { /// Output only. The YAML configuration for this manifest. @@ -4186,6 +4526,10 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] public virtual string SelfLink { get; set; } + /// [Output Only] Server-defined URL for this resource with the resource id. + [Newtonsoft.Json.JsonPropertyAttribute("selfLinkWithId")] + public virtual string SelfLinkWithId { get; set; } + /// /// [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain /// information on all underlying zonal actions and their state. @@ -4218,7 +4562,7 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema /// /// [Output Only] The URL of the resource that the operation modifies. For operations related to creating a - /// snapshot, this points to the persistent disk that the snapshot was created from. + /// snapshot, this points to the disk that the snapshot was created from. /// [Newtonsoft.Json.JsonPropertyAttribute("targetLink")] public virtual string TargetLink { get; set; } @@ -4259,10 +4603,29 @@ public class ErrorData /// [Output Only] The array of errors encountered while processing this operation. public class ErrorsData { + /// + /// [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only + /// (like componentization) (thus the visibility "none") and in case of public exposure it is strongly + /// recommended to follow pattern of: https://aip.dev/193 and expose as details field. + /// + [Newtonsoft.Json.JsonPropertyAttribute("arguments")] + public virtual System.Collections.Generic.IList Arguments { get; set; } + /// [Output Only] The error type identifier for this error. [Newtonsoft.Json.JsonPropertyAttribute("code")] public virtual string Code { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("debugInfo")] + public virtual DebugInfo DebugInfo { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + [Newtonsoft.Json.JsonPropertyAttribute("errorDetails")] + public virtual System.Collections.Generic.IList ErrorDetails { get; set; } + /// /// [Output Only] Indicates the field in the request that caused the error. This property is optional. /// @@ -4272,6 +4635,26 @@ public class ErrorsData /// [Output Only] An optional, human-readable error message. [Newtonsoft.Json.JsonPropertyAttribute("message")] public virtual string Message { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + public class ErrorDetailsData + { + [Newtonsoft.Json.JsonPropertyAttribute("errorInfo")] + public virtual ErrorInfo ErrorInfo { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("help")] + public virtual Help Help { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("localizedMessage")] + public virtual LocalizedMessage LocalizedMessage { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("quotaInfo")] + public virtual QuotaExceededInfo QuotaInfo { get; set; } + } } } @@ -4475,6 +4858,39 @@ public class PollingOptions : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Additional details for quota exceeded error for resource quota. + public class QuotaExceededInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// The map holding related quota dimensions. + [Newtonsoft.Json.JsonPropertyAttribute("dimensions")] + public virtual System.Collections.Generic.IDictionary Dimensions { get; set; } + + /// + /// Future quota limit being rolled out. The limit's unit depends on the quota type or metric. + /// + [Newtonsoft.Json.JsonPropertyAttribute("futureLimit")] + public virtual System.Nullable FutureLimit { get; set; } + + /// Current effective quota limit. The limit's unit depends on the quota type or metric. + [Newtonsoft.Json.JsonPropertyAttribute("limit")] + public virtual System.Nullable Limit { get; set; } + + /// The name of the quota limit. + [Newtonsoft.Json.JsonPropertyAttribute("limitName")] + public virtual string LimitName { get; set; } + + /// The Compute Engine quota metric name. + [Newtonsoft.Json.JsonPropertyAttribute("metricName")] + public virtual string MetricName { get; set; } + + /// Rollout status of the future quota limit. + [Newtonsoft.Json.JsonPropertyAttribute("rolloutStatus")] + public virtual string RolloutStatus { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class Resource : Google.Apis.Requests.IDirectResponseSchema { /// The Access Control Policy set on this resource. @@ -4659,10 +5075,29 @@ public class ErrorData /// [Output Only] The array of errors encountered while processing this operation. public class ErrorsData { + /// + /// [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for internal use-only + /// (like componentization) (thus the visibility "none") and in case of public exposure it is strongly + /// recommended to follow pattern of: https://aip.dev/193 and expose as details field. + /// + [Newtonsoft.Json.JsonPropertyAttribute("arguments")] + public virtual System.Collections.Generic.IList Arguments { get; set; } + /// [Output Only] The error type identifier for this error. [Newtonsoft.Json.JsonPropertyAttribute("code")] public virtual string Code { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("debugInfo")] + public virtual DebugInfo DebugInfo { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + [Newtonsoft.Json.JsonPropertyAttribute("errorDetails")] + public virtual System.Collections.Generic.IList ErrorDetails { get; set; } + /// /// [Output Only] Indicates the field in the request that caused the error. This property is optional. /// @@ -4672,6 +5107,26 @@ public class ErrorsData /// [Output Only] An optional, human-readable error message. [Newtonsoft.Json.JsonPropertyAttribute("message")] public virtual string Message { get; set; } + + /// + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined + /// message types to use for providing details.The syntax depends on the error code. For example, + /// QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// + public class ErrorDetailsData + { + [Newtonsoft.Json.JsonPropertyAttribute("errorInfo")] + public virtual ErrorInfo ErrorInfo { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("help")] + public virtual Help Help { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("localizedMessage")] + public virtual LocalizedMessage LocalizedMessage { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("quotaInfo")] + public virtual QuotaExceededInfo QuotaInfo { get; set; } + } } } diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.csproj b/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.csproj index 4ab501a736..f2acecf54d 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.csproj +++ b/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.DeploymentManager.v2beta Client Library - 1.68.0.3331 + 1.68.0.3591 Google LLC Copyright 2024 Google LLC Google From a4421a545f338a068989ad6193087f9e256423fc Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:08:57 -0800 Subject: [PATCH 18/28] feat: Generate Google.Apis.FirebaseManagement.v1beta1 version 1.68.0.3598 --- DiscoveryJson/firebase.v1beta1.json | 66 ++-- .../Google.Apis.FirebaseManagement.v1beta1.cs | 372 ++++++++++-------- ...gle.Apis.FirebaseManagement.v1beta1.csproj | 2 +- 3 files changed, 232 insertions(+), 208 deletions(-) diff --git a/DiscoveryJson/firebase.v1beta1.json b/DiscoveryJson/firebase.v1beta1.json index 9520c6f85f..1b14bcf948 100644 --- a/DiscoveryJson/firebase.v1beta1.json +++ b/DiscoveryJson/firebase.v1beta1.json @@ -117,7 +117,7 @@ "availableProjects": { "methods": { "list": { - "description": "Lists each [Google Cloud Platform (GCP) `Project`] (https://cloud.google.com/resource-manager/reference/rest/v1/projects) that can have Firebase resources added to it. A Project will only be listed if: - The caller has sufficient [Google IAM](https://cloud.google.com/iam) permissions to call AddFirebase. - The Project is not already a FirebaseProject. - The Project is not in an Organization which has policies that prevent Firebase resources from being added. ", + "description": "Lists each [Google Cloud `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects) that can have Firebase resources added and Firebase services enabled. A Project will only be listed if: - The caller has sufficient [Google IAM](https://cloud.google.com/iam) permissions to call AddFirebase. - The Project is not already a FirebaseProject. - The Project is not in an Organization which has policies that prevent Firebase resources from being added. ", "flatPath": "v1beta1/availableProjects", "httpMethod": "GET", "id": "firebase.availableProjects.list", @@ -183,7 +183,7 @@ "projects": { "methods": { "addFirebase": { - "description": "Adds Firebase resources to the specified existing [Google Cloud Platform (GCP) `Project`] (https://cloud.google.com/resource-manager/reference/rest/v1/projects). Since a FirebaseProject is actually also a GCP `Project`, a `FirebaseProject` has the same underlying GCP identifiers (`projectNumber` and `projectId`). This allows for easy interop with Google APIs. The result of this call is an [`Operation`](../../v1beta1/operations). Poll the `Operation` to track the provisioning process by calling GetOperation until [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When `done` is `true`, the `Operation` has either succeeded or failed. If the `Operation` succeeded, its [`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to a FirebaseProject; if the `Operation` failed, its [`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a google.rpc.Status. The `Operation` is automatically deleted after completion, so there is no need to call DeleteOperation. This method does not modify any billing account information on the underlying GCP `Project`. To call `AddFirebase`, a project member or service account must have the following permissions (the IAM roles of Editor and Owner contain these permissions): `firebase.projects.update`, `resourcemanager.projects.get`, `serviceusage.services.enable`, and `serviceusage.services.get`.", + "description": "Adds Firebase resources and enables Firebase services in the specified existing [Google Cloud `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects). Since a FirebaseProject is actually also a Google Cloud `Project`, a `FirebaseProject` has the same underlying Google Cloud identifiers (`projectNumber` and `projectId`). This allows for easy interop with Google APIs. The result of this call is an [`Operation`](../../v1beta1/operations). Poll the `Operation` to track the provisioning process by calling GetOperation until [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When `done` is `true`, the `Operation` has either succeeded or failed. If the `Operation` succeeded, its [`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to a FirebaseProject; if the `Operation` failed, its [`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a google.rpc.Status. The `Operation` is automatically deleted after completion, so there is no need to call DeleteOperation. This method does not modify any billing account information on the underlying Google Cloud `Project`. To call `AddFirebase`, a project member or service account must have the following permissions (the IAM roles of Editor and Owner contain these permissions): `firebase.projects.update`, `resourcemanager.projects.get`, `serviceusage.services.enable`, and `serviceusage.services.get`.", "flatPath": "v1beta1/projects/{projectsId}:addFirebase", "httpMethod": "POST", "id": "firebase.projects.addFirebase", @@ -192,7 +192,7 @@ ], "parameters": { "project": { - "description": "The resource name of the GCP `Project` to which Firebase resources will be added, in the format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values. After calling `AddFirebase`, the unique Project identifiers ( [`projectNumber`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_number) and [`projectId`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_id)) of the underlying GCP `Project` are also the identifiers of the FirebaseProject.", + "description": "The resource name of the Google Cloud `Project` in which Firebase resources will be added and Firebase services enabled, in the format: projects/ PROJECT_IDENTIFIER Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values. After calling `AddFirebase`, the unique Project identifiers ( [`projectNumber`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_number) and [`projectId`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_id)) of the underlying Google Cloud `Project` are also the identifiers of the FirebaseProject.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -794,7 +794,7 @@ "methods": { "list": { "deprecated": true, - "description": "**DEPRECATED.** _Instead, use the applicable resource-specific REST API (or associated documentation, as needed) to determine valid locations for each resource used in your Project._ Lists the valid Google Cloud Platform (GCP) resource locations for the specified Project (including a FirebaseProject). One of these locations can be selected as the Project's [_default_ GCP resource location](https://firebase.google.com/docs/projects/locations), which is the geographical location where the Project's resources, such as Cloud Firestore, will be provisioned by default. However, if the default GCP resource location has already been set for the Project, then this setting cannot be changed. This call checks for any possible [location restrictions](https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations) for the specified Project and, thus, might return a subset of all possible GCP resource locations. To list all GCP resource locations (regardless of any restrictions), call the endpoint without specifying a unique project identifier (that is, `/v1beta1/{parent=projects/-}/listAvailableLocations`). To call `ListAvailableLocations` with a specified project, a member must be at minimum a Viewer of the Project. Calls without a specified project do not require any specific project permissions.", + "description": "**DECOMMISSIONED.** **If called, this endpoint will return a 404 error.** _Instead, use the applicable resource-specific REST API (or associated documentation, as needed) to determine valid locations for each resource used in your Project._ Lists the valid [\"locations for default Google Cloud resources\"](https://firebase.google.com/docs/projects/locations#default-cloud-location) for the specified Project (including a FirebaseProject). One of these locations can be selected as the Project's location for default Google Cloud resources, which is the geographical location where the Project's resources associated with Google App Engine (such as the default Cloud Firestore instance) will be provisioned by default. However, if the location for default Google Cloud resources has already been set for the Project, then this setting cannot be changed. This call checks for any possible [location restrictions](https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations) for the specified Project and, thus, might return a subset of all possible locations. To list all locations (regardless of any restrictions), call the endpoint without specifying a unique project identifier (that is, `/v1beta1/{parent=projects/-}/listAvailableLocations`). To call `ListAvailableLocations` with a specified project, a member must be at minimum a Viewer of the Project. Calls without a specified project do not require any specific project permissions.", "flatPath": "v1beta1/projects/{projectsId}/availableLocations", "httpMethod": "GET", "id": "firebase.projects.availableLocations.list", @@ -814,7 +814,7 @@ "type": "string" }, "parent": { - "description": "The FirebaseProject for which to list GCP resource locations, in the format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values. If no unique project identifier is specified (that is, `projects/-`), the returned list does not take into account org-specific or project-specific location restrictions.", + "description": "The FirebaseProject for which to list [locations for default Google Cloud resources](https://firebase.google.com/docs/projects/locations#default-cloud-location), in the format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values. If no unique project identifier is specified (that is, `projects/-`), the returned list does not take into account org-specific or project-specific location restrictions.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -839,7 +839,7 @@ "methods": { "finalize": { "deprecated": true, - "description": "**DEPRECATED.** _Instead, use the applicable resource-specific REST API to set the location for each resource used in your Project._ Sets the default Google Cloud Platform (GCP) resource location for the specified FirebaseProject. This method creates an App Engine application with a [default Cloud Storage bucket](https://cloud.google.com/appengine/docs/standard/python/googlecloudstorageclient/setting-up-cloud-storage#activating_a_cloud_storage_bucket), located in the specified [`locationId`](#body.request_body.FIELDS.location_id). This location must be one of the available [GCP resource locations](https://firebase.google.com/docs/projects/locations). After the default GCP resource location is finalized, or if it was already set, it cannot be changed. The default GCP resource location for the specified `FirebaseProject` might already be set because either the underlying GCP `Project` already has an App Engine application or `FinalizeDefaultLocation` was previously called with a specified `locationId`. Any new calls to `FinalizeDefaultLocation` with a *different* specified `locationId` will return a 409 error. The result of this call is an [`Operation`](../../v1beta1/operations), which can be used to track the provisioning process. The [`response`](../../v1beta1/operations#Operation.FIELDS.response) type of the `Operation` is google.protobuf.Empty. The `Operation` can be polled by its `name` using GetOperation until `done` is true. When `done` is true, the `Operation` has either succeeded or failed. If the `Operation` has succeeded, its [`response`](../../v1beta1/operations#Operation.FIELDS.response) will be set to a google.protobuf.Empty; if the `Operation` has failed, its `error` will be set to a google.rpc.Status. The `Operation` is automatically deleted after completion, so there is no need to call DeleteOperation. All fields listed in the [request body](#request-body) are required. To call `FinalizeDefaultLocation`, a member must be an Owner of the Project.", + "description": "**DECOMMISSIONED.** **If called, this endpoint will return a 404 error.** _Instead, use the applicable resource-specific REST API to set the location for each resource used in your Project._ Sets the [\"location for default Google Cloud resources\"](https://firebase.google.com/docs/projects/locations#default-cloud-location) for the specified FirebaseProject. This method creates a Google App Engine application with a [default Cloud Storage bucket](https://cloud.google.com/appengine/docs/standard/python/googlecloudstorageclient/setting-up-cloud-storage#activating_a_cloud_storage_bucket), located in the specified [`locationId`](#body.request_body.FIELDS.location_id). This location must be one of the available [App Engine locations](https://cloud.google.com/about/locations#region). After the location for default Google Cloud resources is finalized, or if it was already set, it cannot be changed. The location for default Google Cloud resources for the specified `FirebaseProject` might already be set because either the underlying Google Cloud `Project` already has an App Engine application or `FinalizeDefaultLocation` was previously called with a specified `locationId`. The result of this call is an [`Operation`](../../v1beta1/operations), which can be used to track the provisioning process. The [`response`](../../v1beta1/operations#Operation.FIELDS.response) type of the `Operation` is google.protobuf.Empty. The `Operation` can be polled by its `name` using GetOperation until `done` is true. When `done` is true, the `Operation` has either succeeded or failed. If the `Operation` has succeeded, its [`response`](../../v1beta1/operations#Operation.FIELDS.response) will be set to a google.protobuf.Empty; if the `Operation` has failed, its `error` will be set to a google.rpc.Status. The `Operation` is automatically deleted after completion, so there is no need to call DeleteOperation. All fields listed in the [request body](#request-body) are required. To call `FinalizeDefaultLocation`, a member must be an Owner of the Project.", "flatPath": "v1beta1/projects/{projectsId}/defaultLocation:finalize", "httpMethod": "POST", "id": "firebase.projects.defaultLocation.finalize", @@ -848,7 +848,7 @@ ], "parameters": { "parent": { - "description": "The resource name of the FirebaseProject for which the default GCP resource location will be set, in the format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values.", + "description": "The resource name of the FirebaseProject for which the [\"location for default Google Cloud resources\"](https://firebase.google.com/docs/projects/locations#default-cloud-location) will be set, in the format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -1324,7 +1324,7 @@ } } }, - "revision": "20241025", + "revision": "20241107", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { @@ -1332,7 +1332,7 @@ "id": "AddFirebaseRequest", "properties": { "locationId": { - "description": "Deprecated. Instead, to set a Project's default GCP resource location, call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase resources to the GCP `Project`. The ID of the Project's default GCP resource location. The location must be one of the available [GCP resource locations](https://firebase.google.com/docs/projects/locations).", + "description": "**DEPRECATED.** _Instead, use product-specific REST APIs to work with the location of each resource in a Project. This field may be ignored, especially for newly provisioned projects after October 30, 2024._ The ID of the Project's [\"location for default Google Cloud resources\"](https://firebase.google.com/docs/projects/locations#default-cloud-location), which are resources associated with Google App Engine. The location must be one of the available [Google App Engine locations](https://cloud.google.com/about/locations#region).", "type": "string" } }, @@ -1357,12 +1357,12 @@ "properties": { "databaseURL": { "deprecated": true, - "description": "**DEPRECATED.** _Instead, find the default Firebase Realtime Database instance name using the [list endpoint](https://firebase.google.com/docs/reference/rest/database/database-management/rest/v1beta/projects.locations.instances/list) within the Firebase Realtime Database REST API. Note that the default instance for the Project might not yet be provisioned, so the return might not contain a default instance._ The default Firebase Realtime Database URL.", + "description": "**DEPRECATED.** _Instead, find the URL of the default Realtime Database instance using the [list endpoint](https://firebase.google.com/docs/reference/rest/database/database-management/rest/v1beta/projects.locations.instances/list) within the Firebase Realtime Database REST API. If the default instance for the Project has not yet been provisioned, the return might not contain a default instance. Note that the config that's generated for the Firebase console or the Firebase CLI uses the Realtime Database endpoint to populate this value for that config._ The URL of the default Firebase Realtime Database instance.", "type": "string" }, "locationId": { "deprecated": true, - "description": "**DEPRECATED.** _Instead, use product-specific REST APIs to find the location of resources._ The ID of the Project's default GCP resource location. The location is one of the available [GCP resource locations](https://firebase.google.com/docs/projects/locations). This field is omitted if the default GCP resource location has not been finalized yet. To set a Project's default GCP resource location, call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase resources to the Project.", + "description": "**DEPRECATED.** _Instead, use product-specific REST APIs to find the location of each resource in a Project. This field may not be populated, especially for newly provisioned projects after October 30, 2024._ The ID of the Project's [\"location for default Google Cloud resources\"](https://firebase.google.com/docs/projects/locations#default-cloud-location), which are resources associated with Google App Engine. The location is one of the available [App Engine locations](https://cloud.google.com/about/locations#region). This field is omitted if the location for default Google Cloud resources has not been set.", "type": "string" }, "projectId": { @@ -1371,7 +1371,7 @@ }, "storageBucket": { "deprecated": true, - "description": "**DEPRECATED.** _Instead, find the default Cloud Storage for Firebase bucket using the [list endpoint](https://firebase.google.com/docs/reference/rest/storage/rest/v1beta/projects.buckets/list) within the Cloud Storage for Firebase REST API. Note that the default bucket for the Project might not yet be provisioned, so the return might not contain a default bucket._ The default Cloud Storage for Firebase storage bucket name.", + "description": "**DEPRECATED.** _Instead, find the name of the default Cloud Storage for Firebase bucket using the [list endpoint](https://firebase.google.com/docs/reference/rest/storage/rest/v1beta/projects.buckets/list) within the Cloud Storage for Firebase REST API. If the default bucket for the Project has not yet been provisioned, the return might not contain a default bucket. Note that the config that's generated for the Firebase console or the Firebase CLI uses the Cloud Storage for Firebase endpoint to populate this value for that config._ The name of the default Cloud Storage for Firebase bucket.", "type": "string" } }, @@ -1509,25 +1509,25 @@ "properties": { "hostingSite": { "deprecated": true, - "description": "Output only. **DEPRECATED.** _Instead, find the default Firebase Hosting site name using the [ListSites](https://firebase.google.com/docs/reference/hosting/rest/v1beta1/projects.sites/list) within the Firebase Hosting REST API. Note that the default site for the Project might not yet be provisioned, so the return might not contain a default site._ The default Firebase Hosting site name, in the format: PROJECT_ID Though rare, your `projectId` might already be used as the name for an existing Hosting site in another project (learn more about creating non-default, [additional sites](https://firebase.google.com/docs/hosting/multisites)). In these cases, your `projectId` is appended with a hyphen then five alphanumeric characters to create your default Hosting site name. For example, if your `projectId` is `myproject123`, your default Hosting site name might be: `myproject123-a5c16`", + "description": "Output only. **DEPRECATED.** _Instead, find the name of the default Firebase Hosting site using [ListSites](https://firebase.google.com/docs/reference/hosting/rest/v1beta1/projects.sites/list) within the Firebase Hosting REST API. If the default Hosting site for the Project has not yet been provisioned, the return might not contain a default site._ The name of the default Firebase Hosting site, in the format: PROJECT_ID Though rare, your `projectId` might already be used as the name for an existing Hosting site in another project (learn more about creating non-default, [additional sites](https://firebase.google.com/docs/hosting/multisites)). In these cases, your `projectId` is appended with a hyphen then five alphanumeric characters to create your default Hosting site name. For example, if your `projectId` is `myproject123`, your default Hosting site name might be: `myproject123-a5c16`", "readOnly": true, "type": "string" }, "locationId": { "deprecated": true, - "description": "Output only. **DEPRECATED.** _Instead, use product-specific REST APIs to find the location of resources._ The ID of the Project's default GCP resource location. The location is one of the available [GCP resource locations](https://firebase.google.com/docs/projects/locations). This field is omitted if the default GCP resource location has not been finalized yet. To set a Project's default GCP resource location, call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase resources to the Project.", + "description": "Output only. **DEPRECATED.** _Instead, use product-specific REST APIs to find the location of each resource in a Project. This field may not be populated, especially for newly provisioned projects after October 30, 2024._ The ID of the Project's [\"location for default Google Cloud resources\"](https://firebase.google.com/docs/projects/locations#default-cloud-location), which are resources associated with Google App Engine. The location is one of the available [Google App Engine locations](https://cloud.google.com/about/locations#region). This field is omitted if the location for default Google Cloud resources has not been set.", "readOnly": true, "type": "string" }, "realtimeDatabaseInstance": { "deprecated": true, - "description": "Output only. **DEPRECATED.** _Instead, find the default Firebase Realtime Database instance name using the [list endpoint](https://firebase.google.com/docs/reference/rest/database/database-management/rest/v1beta/projects.locations.instances/list) within the Firebase Realtime Database REST API. Note that the default instance for the Project might not yet be provisioned, so the return might not contain a default instance._ The default Firebase Realtime Database instance name, in the format: PROJECT_ID Though rare, your `projectId` might already be used as the name for an existing Realtime Database instance in another project (learn more about [database sharding](https://firebase.google.com/docs/database/usage/sharding)). In these cases, your `projectId` is appended with a hyphen then five alphanumeric characters to create your default Realtime Database instance name. For example, if your `projectId` is `myproject123`, your default database instance name might be: `myproject123-a5c16`", + "description": "Output only. **DEPRECATED.** _Instead, find the name of the default Realtime Database instance using the [list endpoint](https://firebase.google.com/docs/reference/rest/database/database-management/rest/v1beta/projects.locations.instances/list) within the Firebase Realtime Database REST API. If the default Realtime Database instance for a Project has not yet been provisioned, the return might not contain a default instance._ The default Firebase Realtime Database instance name, in the format: PROJECT_ID Though rare, your `projectId` might already be used as the name for an existing Realtime Database instance in another project (learn more about [database sharding](https://firebase.google.com/docs/database/usage/sharding)). In these cases, your `projectId` is appended with a hyphen then five alphanumeric characters to create your default Realtime Database instance name. For example, if your `projectId` is `myproject123`, your default database instance name might be: `myproject123-a5c16`", "readOnly": true, "type": "string" }, "storageBucket": { "deprecated": true, - "description": "Output only. **DEPRECATED.** _Instead, find the default Cloud Storage for Firebase bucket using the [list endpoint](https://firebase.google.com/docs/reference/rest/storage/rest/v1beta/projects.buckets/list) within the Cloud Storage for Firebase REST API. Note that the default bucket for the Project might not yet be provisioned, so the return might not contain a default bucket._ The default Cloud Storage for Firebase storage bucket, in the format: PROJECT_ID.appspot.com", + "description": "Output only. **DEPRECATED.** _Instead, find the name of the default Cloud Storage for Firebase bucket using the [list endpoint](https://firebase.google.com/docs/reference/rest/storage/rest/v1beta/projects.buckets/list) within the Cloud Storage for Firebase REST API. If the default bucket for the Project has not yet been provisioned, the return might not contain a default bucket._ The name of the default Cloud Storage for Firebase bucket, in one of the following formats: * If provisioned _before_ October 30, 2024: PROJECT_ID.firebasestorage.app * If provisioned _on or after_ October 30, 2024: PROJECT_ID.firebasestorage.app", "readOnly": true, "type": "string" } @@ -1545,7 +1545,7 @@ "id": "FinalizeDefaultLocationRequest", "properties": { "locationId": { - "description": "The ID of the Project's default GCP resource location. The location must be one of the available [GCP resource locations](https://firebase.google.com/docs/projects/locations).", + "description": "**DEPRECATED** The ID of the Project's [\"location for default Google Cloud resources\"](https://firebase.google.com/docs/projects/locations#default-cloud-location), which are resources associated with Google App Engine. The location must be one of the available [Google App Engine locations](https://cloud.google.com/about/locations#region).", "type": "string" } }, @@ -1618,7 +1618,7 @@ "type": "object" }, "FirebaseProject": { - "description": "A `FirebaseProject` is the top-level Firebase entity. It is the container for Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime Database, Cloud Firestore, Cloud Storage buckets), and other Firebase and Google Cloud Platform (GCP) resources. You create a `FirebaseProject` by calling AddFirebase and specifying an *existing* [GCP `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects). This adds Firebase resources to the existing GCP `Project`. Since a FirebaseProject is actually also a GCP `Project`, a `FirebaseProject` has the same underlying GCP identifiers (`projectNumber` and `projectId`). This allows for easy interop with Google APIs.", + "description": "A `FirebaseProject` is the top-level Firebase entity. It is the container for Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime Database, Cloud Firestore, Cloud Storage buckets), and other Firebase and Google Cloud resources. You create a `FirebaseProject` by calling AddFirebase and specifying an *existing* [Google Cloud `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects). This adds Firebase resources to the existing Google Cloud `Project`. Since a FirebaseProject is actually also a Google Cloud `Project`, a `FirebaseProject` has the same underlying Google Cloud identifiers (`projectNumber` and `projectId`). This allows for easy interop with Google APIs.", "id": "FirebaseProject", "properties": { "annotations": { @@ -1800,7 +1800,7 @@ "type": "string" }, "projectInfo": { - "description": "The list of GCP `Projects` which can have Firebase resources added to them.", + "description": "The list of Google Cloud `Projects` which can have Firebase resources added to them.", "items": { "$ref": "ProjectInfo" }, @@ -1875,11 +1875,11 @@ }, "Location": { "deprecated": true, - "description": "**DEPRECATED.** _This Location is no longer used to determine Firebase resource locations. Instead, consult product documentation to determine valid locations for each resource used in your Project._ A GCP resource location that can be selected for a FirebaseProject.", + "description": "**DEPRECATED.** _This Location is no longer used to determine Firebase resource locations. Instead, consult product documentation to determine valid locations for each resource used in your Project._ A [\"location for default Google Cloud resources\"](https://firebase.google.com/docs/projects/locations#default-cloud-location) that can be selected for a FirebaseProject. These are resources associated with Google App Engine.", "id": "Location", "properties": { "features": { - "description": "Products and services that are available in the GCP resource location.", + "description": "Products and services that are available in the location for default Google Cloud resources.", "items": { "enum": [ "LOCATION_FEATURE_UNSPECIFIED", @@ -1889,8 +1889,8 @@ ], "enumDescriptions": [ "Used internally for distinguishing unset values and is not intended for external use.", - "This location supports Cloud Firestore database instances. App Engine is available in this location, so it can be a Project's [default GCP resource location](//firebase.google.com/docs/projects/locations#default-cloud-location).", - "This location supports default Cloud Storage buckets. App Engine is available in this location, so it can be a Project's [default GCP resource location](//firebase.google.com/docs/projects/locations#default-cloud-location).", + "This location supports Cloud Firestore database instances. Google App Engine is available in this location, so it can be a Project's location for default Google Cloud resources.", + "This location supports default Cloud Storage buckets. Google App Engine is available in this location, so it can be a Project's location for default Google Cloud resources.", "Cloud Functions for Firebase is available in this location." ], "type": "string" @@ -1898,11 +1898,11 @@ "type": "array" }, "locationId": { - "description": "The ID of the GCP resource location. It will be one of the available [GCP resource locations](https://firebase.google.com/docs/projects/locations#types).", + "description": "The ID of the Project's location for default Google Cloud resources. It will be one of the available [Google App Engine locations](https://cloud.google.com/about/locations#region).", "type": "string" }, "type": { - "description": "Indicates whether the GCP resource location is a [regional or multi-regional location](https://firebase.google.com/docs/projects/locations#types) for data replication.", + "description": "Indicates whether the location for default Google Cloud resources is a [regional or multi-regional location](https://firebase.google.com/docs/projects/locations#types) for data replication.", "enum": [ "LOCATION_TYPE_UNSPECIFIED", "REGIONAL", @@ -1980,19 +1980,19 @@ "type": "object" }, "ProjectInfo": { - "description": "A reference to a Google Cloud Platform (GCP) `Project`.", + "description": "A reference to a Google Cloud `Project`.", "id": "ProjectInfo", "properties": { "displayName": { - "description": "The user-assigned display name of the GCP `Project`, for example: `My App`", + "description": "The user-assigned display name of the Google Cloud `Project`, for example: `My App`.", "type": "string" }, "locationId": { - "description": "The ID of the Project's default GCP resource location. The location is one of the available [GCP resource locations](https://firebase.google.com/docs/projects/locations). Not all Projects will have this field populated. If it is not populated, it means that the Project does not yet have a default GCP resource location. To set a Project's default GCP resource location, call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase resources to the Project.", + "description": "**DEPRECATED** _Instead, use product-specific REST APIs to work with the location of each resource in a Project. This field may not be populated, especially for newly provisioned projects after October 30, 2024._ The ID of the Project's [\"location for default Google Cloud resources\"](https://firebase.google.com/docs/projects/locations#default-cloud-location). The location is one of the available [Google App Engine locations](https://cloud.google.com/about/locations#region). Not all Projects will have this field populated. If it is not populated, it means that the Project does not yet have a location for default Google Cloud resources.", "type": "string" }, "project": { - "description": "The resource name of the GCP `Project` to which Firebase resources can be added, in the format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values.", + "description": "The resource name of the Google Cloud `Project` to which Firebase resources can be added, in the format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values.", "type": "string" } }, @@ -2323,12 +2323,12 @@ }, "databaseURL": { "deprecated": true, - "description": "**DEPRECATED.** _Instead, find the default Firebase Realtime Database instance name using the [list endpoint](https://firebase.google.com/docs/reference/rest/database/database-management/rest/v1beta/projects.locations.instances/list) within the Firebase Realtime Database REST API. Note that the default instance for the Project might not yet be provisioned, so the return might not contain a default instance._ The default Firebase Realtime Database URL.", + "description": "**DEPRECATED.** _Instead, find the URL of the default Realtime Database instance using the [list endpoint](https://firebase.google.com/docs/reference/rest/database/database-management/rest/v1beta/projects.locations.instances/list) within the Firebase Realtime Database REST API. If the default instance for the Project has not yet been provisioned, the return might not contain a default instance. Note that the config that's generated for the Firebase console or the Firebase CLI uses the Realtime Database endpoint to populate this value for that config._ The URL of the default Firebase Realtime Database instance.", "type": "string" }, "locationId": { "deprecated": true, - "description": "**DEPRECATED.** _Instead, use product-specific REST APIs to find the location of resources._ The ID of the Project's default GCP resource location. The location is one of the available [GCP resource locations](https://firebase.google.com/docs/projects/locations). This field is omitted if the default GCP resource location has not been finalized yet. To set a Project's default GCP resource location, call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase resources to the Project.", + "description": "**DEPRECATED.** _Instead, use product-specific REST APIs to find the location of each resource in a Project. This field may not be populated, especially for newly provisioned projects after October 30, 2024._ The ID of the Project's [\"location for default Google Cloud resources\"](https://firebase.google.com/docs/projects/locations#default-cloud-location), which are resources associated with Google App Engine. The location is one of the available [App Engine locations](https://cloud.google.com/about/locations#region). This field is omitted if the location for default Google Cloud resources has not been set.", "type": "string" }, "measurementId": { @@ -2349,12 +2349,12 @@ "type": "string" }, "realtimeDatabaseUrl": { - "description": "Optional. Duplicate field for the URL of the default RTDB instances (if there is one) that uses the same field name as the unified V2 config file format. We wanted to make a single config file format for all the app platforms (Android, iOS and web) and we had to pick consistent names for all the fields since there was some varience between the platforms. If the request asks for the V2 format we will populate this field instead of realtime_database_instance_uri.", + "description": "Optional. Duplicate field for the URL of the default Realtime Database instances (if the default instance has been provisioned). If the request asks for the V2 config format, this field will be populated instead of `realtime_database_instance_uri`.", "type": "string" }, "storageBucket": { "deprecated": true, - "description": "**DEPRECATED.** _Instead, find the default Cloud Storage for Firebase bucket using the [list endpoint](https://firebase.google.com/docs/reference/rest/storage/rest/v1beta/projects.buckets/list) within the Cloud Storage for Firebase REST API. Note that the default bucket for the Project might not yet be provisioned, so the return might not contain a default bucket._ The default Cloud Storage for Firebase storage bucket name.", + "description": "**DEPRECATED.** _Instead, find the name of the default Cloud Storage for Firebase bucket using the [list endpoint](https://firebase.google.com/docs/reference/rest/storage/rest/v1beta/projects.buckets/list) within the Cloud Storage for Firebase REST API. If the default bucket for the Project has not yet been provisioned, the return might not contain a default bucket. Note that the config that's generated for the Firebase console or the Firebase CLI uses the Cloud Storage for Firebase endpoint to populate this value for that config._ The name of the default Cloud Storage for Firebase bucket.", "type": "string" }, "version": { diff --git a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs index c95f8e687b..23f7727b39 100644 --- a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs +++ b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs @@ -307,12 +307,11 @@ public AvailableProjectsResource(Google.Apis.Services.IClientService service) } /// - /// Lists each [Google Cloud Platform (GCP) `Project`] - /// (https://cloud.google.com/resource-manager/reference/rest/v1/projects) that can have Firebase resources - /// added to it. A Project will only be listed if: - The caller has sufficient [Google - /// IAM](https://cloud.google.com/iam) permissions to call AddFirebase. - The Project is not already a - /// FirebaseProject. - The Project is not in an Organization which has policies that prevent Firebase resources - /// from being added. + /// Lists each [Google Cloud `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects) + /// that can have Firebase resources added and Firebase services enabled. A Project will only be listed if: - + /// The caller has sufficient [Google IAM](https://cloud.google.com/iam) permissions to call AddFirebase. - The + /// Project is not already a FirebaseProject. - The Project is not in an Organization which has policies that + /// prevent Firebase resources from being added. /// public virtual ListRequest List() { @@ -320,12 +319,11 @@ public virtual ListRequest List() } /// - /// Lists each [Google Cloud Platform (GCP) `Project`] - /// (https://cloud.google.com/resource-manager/reference/rest/v1/projects) that can have Firebase resources - /// added to it. A Project will only be listed if: - The caller has sufficient [Google - /// IAM](https://cloud.google.com/iam) permissions to call AddFirebase. - The Project is not already a - /// FirebaseProject. - The Project is not in an Organization which has policies that prevent Firebase resources - /// from being added. + /// Lists each [Google Cloud `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects) + /// that can have Firebase resources added and Firebase services enabled. A Project will only be listed if: - + /// The caller has sufficient [Google IAM](https://cloud.google.com/iam) permissions to call AddFirebase. - The + /// Project is not already a FirebaseProject. - The Project is not in an Organization which has policies that + /// prevent Firebase resources from being added. /// public class ListRequest : FirebaseManagementBaseServiceRequest { @@ -1217,26 +1215,29 @@ public AvailableLocationsResource(Google.Apis.Services.IClientService service) } /// - /// **DEPRECATED.** _Instead, use the applicable resource-specific REST API (or associated documentation, as - /// needed) to determine valid locations for each resource used in your Project._ Lists the valid Google - /// Cloud Platform (GCP) resource locations for the specified Project (including a FirebaseProject). One of - /// these locations can be selected as the Project's [_default_ GCP resource - /// location](https://firebase.google.com/docs/projects/locations), which is the geographical location where - /// the Project's resources, such as Cloud Firestore, will be provisioned by default. However, if the - /// default GCP resource location has already been set for the Project, then this setting cannot be changed. - /// This call checks for any possible [location + /// **DECOMMISSIONED.** **If called, this endpoint will return a 404 error.** _Instead, use the applicable + /// resource-specific REST API (or associated documentation, as needed) to determine valid locations for + /// each resource used in your Project._ Lists the valid ["locations for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location) for the + /// specified Project (including a FirebaseProject). One of these locations can be selected as the Project's + /// location for default Google Cloud resources, which is the geographical location where the Project's + /// resources associated with Google App Engine (such as the default Cloud Firestore instance) will be + /// provisioned by default. However, if the location for default Google Cloud resources has already been set + /// for the Project, then this setting cannot be changed. This call checks for any possible [location /// restrictions](https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations) for - /// the specified Project and, thus, might return a subset of all possible GCP resource locations. To list - /// all GCP resource locations (regardless of any restrictions), call the endpoint without specifying a - /// unique project identifier (that is, `/v1beta1/{parent=projects/-}/listAvailableLocations`). To call - /// `ListAvailableLocations` with a specified project, a member must be at minimum a Viewer of the Project. - /// Calls without a specified project do not require any specific project permissions. + /// the specified Project and, thus, might return a subset of all possible locations. To list all locations + /// (regardless of any restrictions), call the endpoint without specifying a unique project identifier (that + /// is, `/v1beta1/{parent=projects/-}/listAvailableLocations`). To call `ListAvailableLocations` with a + /// specified project, a member must be at minimum a Viewer of the Project. Calls without a specified + /// project do not require any specific project permissions. /// /// - /// The FirebaseProject for which to list GCP resource locations, in the format: projects/PROJECT_IDENTIFIER - /// Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) field for details about - /// PROJECT_IDENTIFIER values. If no unique project identifier is specified (that is, `projects/-`), the - /// returned list does not take into account org-specific or project-specific location restrictions. + /// The FirebaseProject for which to list [locations for default Google Cloud + /// resources](https://firebase.google.com/docs/projects/locations#default-cloud-location), in the format: + /// projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` + /// [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values. If + /// no unique project identifier is specified (that is, `projects/-`), the returned list does not take into + /// account org-specific or project-specific location restrictions. /// public virtual ListRequest List(string parent) { @@ -1244,20 +1245,21 @@ public virtual ListRequest List(string parent) } /// - /// **DEPRECATED.** _Instead, use the applicable resource-specific REST API (or associated documentation, as - /// needed) to determine valid locations for each resource used in your Project._ Lists the valid Google - /// Cloud Platform (GCP) resource locations for the specified Project (including a FirebaseProject). One of - /// these locations can be selected as the Project's [_default_ GCP resource - /// location](https://firebase.google.com/docs/projects/locations), which is the geographical location where - /// the Project's resources, such as Cloud Firestore, will be provisioned by default. However, if the - /// default GCP resource location has already been set for the Project, then this setting cannot be changed. - /// This call checks for any possible [location + /// **DECOMMISSIONED.** **If called, this endpoint will return a 404 error.** _Instead, use the applicable + /// resource-specific REST API (or associated documentation, as needed) to determine valid locations for + /// each resource used in your Project._ Lists the valid ["locations for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location) for the + /// specified Project (including a FirebaseProject). One of these locations can be selected as the Project's + /// location for default Google Cloud resources, which is the geographical location where the Project's + /// resources associated with Google App Engine (such as the default Cloud Firestore instance) will be + /// provisioned by default. However, if the location for default Google Cloud resources has already been set + /// for the Project, then this setting cannot be changed. This call checks for any possible [location /// restrictions](https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations) for - /// the specified Project and, thus, might return a subset of all possible GCP resource locations. To list - /// all GCP resource locations (regardless of any restrictions), call the endpoint without specifying a - /// unique project identifier (that is, `/v1beta1/{parent=projects/-}/listAvailableLocations`). To call - /// `ListAvailableLocations` with a specified project, a member must be at minimum a Viewer of the Project. - /// Calls without a specified project do not require any specific project permissions. + /// the specified Project and, thus, might return a subset of all possible locations. To list all locations + /// (regardless of any restrictions), call the endpoint without specifying a unique project identifier (that + /// is, `/v1beta1/{parent=projects/-}/listAvailableLocations`). To call `ListAvailableLocations` with a + /// specified project, a member must be at minimum a Viewer of the Project. Calls without a specified + /// project do not require any specific project permissions. /// public class ListRequest : FirebaseManagementBaseServiceRequest { @@ -1269,8 +1271,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : } /// - /// The FirebaseProject for which to list GCP resource locations, in the format: - /// projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` + /// The FirebaseProject for which to list [locations for default Google Cloud + /// resources](https://firebase.google.com/docs/projects/locations#default-cloud-location), in the + /// format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` /// [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values. /// If no unique project identifier is specified (that is, `projects/-`), the returned list does not /// take into account org-specific or project-specific location restrictions. @@ -1352,19 +1355,21 @@ public DefaultLocationResource(Google.Apis.Services.IClientService service) } /// - /// **DEPRECATED.** _Instead, use the applicable resource-specific REST API to set the location for each - /// resource used in your Project._ Sets the default Google Cloud Platform (GCP) resource location for the - /// specified FirebaseProject. This method creates an App Engine application with a [default Cloud Storage + /// **DECOMMISSIONED.** **If called, this endpoint will return a 404 error.** _Instead, use the applicable + /// resource-specific REST API to set the location for each resource used in your Project._ Sets the + /// ["location for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location) for the + /// specified FirebaseProject. This method creates a Google App Engine application with a [default Cloud + /// Storage /// bucket](https://cloud.google.com/appengine/docs/standard/python/googlecloudstorageclient/setting-up-cloud-storage#activating_a_cloud_storage_bucket), /// located in the specified [`locationId`](#body.request_body.FIELDS.location_id). This location must be - /// one of the available [GCP resource locations](https://firebase.google.com/docs/projects/locations). - /// After the default GCP resource location is finalized, or if it was already set, it cannot be changed. - /// The default GCP resource location for the specified `FirebaseProject` might already be set because - /// either the underlying GCP `Project` already has an App Engine application or `FinalizeDefaultLocation` - /// was previously called with a specified `locationId`. Any new calls to `FinalizeDefaultLocation` with a - /// *different* specified `locationId` will return a 409 error. The result of this call is an - /// [`Operation`](../../v1beta1/operations), which can be used to track the provisioning process. The - /// [`response`](../../v1beta1/operations#Operation.FIELDS.response) type of the `Operation` is + /// one of the available [App Engine locations](https://cloud.google.com/about/locations#region). After the + /// location for default Google Cloud resources is finalized, or if it was already set, it cannot be + /// changed. The location for default Google Cloud resources for the specified `FirebaseProject` might + /// already be set because either the underlying Google Cloud `Project` already has an App Engine + /// application or `FinalizeDefaultLocation` was previously called with a specified `locationId`. The result + /// of this call is an [`Operation`](../../v1beta1/operations), which can be used to track the provisioning + /// process. The [`response`](../../v1beta1/operations#Operation.FIELDS.response) type of the `Operation` is /// google.protobuf.Empty. The `Operation` can be polled by its `name` using GetOperation until `done` is /// true. When `done` is true, the `Operation` has either succeeded or failed. If the `Operation` has /// succeeded, its [`response`](../../v1beta1/operations#Operation.FIELDS.response) will be set to a @@ -1375,8 +1380,9 @@ public DefaultLocationResource(Google.Apis.Services.IClientService service) /// /// The body of the request. /// - /// The resource name of the FirebaseProject for which the default GCP resource location will be set, in the - /// format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` + /// The resource name of the FirebaseProject for which the ["location for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location) will be set, in + /// the format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` /// [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values. /// public virtual FinalizeRequest Finalize(Google.Apis.FirebaseManagement.v1beta1.Data.FinalizeDefaultLocationRequest body, string parent) @@ -1385,19 +1391,21 @@ public virtual FinalizeRequest Finalize(Google.Apis.FirebaseManagement.v1beta1.D } /// - /// **DEPRECATED.** _Instead, use the applicable resource-specific REST API to set the location for each - /// resource used in your Project._ Sets the default Google Cloud Platform (GCP) resource location for the - /// specified FirebaseProject. This method creates an App Engine application with a [default Cloud Storage + /// **DECOMMISSIONED.** **If called, this endpoint will return a 404 error.** _Instead, use the applicable + /// resource-specific REST API to set the location for each resource used in your Project._ Sets the + /// ["location for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location) for the + /// specified FirebaseProject. This method creates a Google App Engine application with a [default Cloud + /// Storage /// bucket](https://cloud.google.com/appengine/docs/standard/python/googlecloudstorageclient/setting-up-cloud-storage#activating_a_cloud_storage_bucket), /// located in the specified [`locationId`](#body.request_body.FIELDS.location_id). This location must be - /// one of the available [GCP resource locations](https://firebase.google.com/docs/projects/locations). - /// After the default GCP resource location is finalized, or if it was already set, it cannot be changed. - /// The default GCP resource location for the specified `FirebaseProject` might already be set because - /// either the underlying GCP `Project` already has an App Engine application or `FinalizeDefaultLocation` - /// was previously called with a specified `locationId`. Any new calls to `FinalizeDefaultLocation` with a - /// *different* specified `locationId` will return a 409 error. The result of this call is an - /// [`Operation`](../../v1beta1/operations), which can be used to track the provisioning process. The - /// [`response`](../../v1beta1/operations#Operation.FIELDS.response) type of the `Operation` is + /// one of the available [App Engine locations](https://cloud.google.com/about/locations#region). After the + /// location for default Google Cloud resources is finalized, or if it was already set, it cannot be + /// changed. The location for default Google Cloud resources for the specified `FirebaseProject` might + /// already be set because either the underlying Google Cloud `Project` already has an App Engine + /// application or `FinalizeDefaultLocation` was previously called with a specified `locationId`. The result + /// of this call is an [`Operation`](../../v1beta1/operations), which can be used to track the provisioning + /// process. The [`response`](../../v1beta1/operations#Operation.FIELDS.response) type of the `Operation` is /// google.protobuf.Empty. The `Operation` can be polled by its `name` using GetOperation until `done` is /// true. When `done` is true, the `Operation` has either succeeded or failed. If the `Operation` has /// succeeded, its [`response`](../../v1beta1/operations#Operation.FIELDS.response) will be set to a @@ -1417,8 +1425,9 @@ public FinalizeRequest(Google.Apis.Services.IClientService service, Google.Apis. } /// - /// The resource name of the FirebaseProject for which the default GCP resource location will be set, in - /// the format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` + /// The resource name of the FirebaseProject for which the ["location for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location) will be set, + /// in the format: projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` /// [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] @@ -2502,31 +2511,31 @@ protected override void InitParameters() } /// - /// Adds Firebase resources to the specified existing [Google Cloud Platform (GCP) `Project`] - /// (https://cloud.google.com/resource-manager/reference/rest/v1/projects). Since a FirebaseProject is actually - /// also a GCP `Project`, a `FirebaseProject` has the same underlying GCP identifiers (`projectNumber` and - /// `projectId`). This allows for easy interop with Google APIs. The result of this call is an - /// [`Operation`](../../v1beta1/operations). Poll the `Operation` to track the provisioning process by calling - /// GetOperation until [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When `done` is - /// `true`, the `Operation` has either succeeded or failed. If the `Operation` succeeded, its + /// Adds Firebase resources and enables Firebase services in the specified existing [Google Cloud + /// `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects). Since a FirebaseProject is + /// actually also a Google Cloud `Project`, a `FirebaseProject` has the same underlying Google Cloud identifiers + /// (`projectNumber` and `projectId`). This allows for easy interop with Google APIs. The result of this call is + /// an [`Operation`](../../v1beta1/operations). Poll the `Operation` to track the provisioning process by + /// calling GetOperation until [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When `done` + /// is `true`, the `Operation` has either succeeded or failed. If the `Operation` succeeded, its /// [`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to a FirebaseProject; if the /// `Operation` failed, its [`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a /// google.rpc.Status. The `Operation` is automatically deleted after completion, so there is no need to call - /// DeleteOperation. This method does not modify any billing account information on the underlying GCP + /// DeleteOperation. This method does not modify any billing account information on the underlying Google Cloud /// `Project`. To call `AddFirebase`, a project member or service account must have the following permissions /// (the IAM roles of Editor and Owner contain these permissions): `firebase.projects.update`, /// `resourcemanager.projects.get`, `serviceusage.services.enable`, and `serviceusage.services.get`. /// /// The body of the request. /// - /// The resource name of the GCP `Project` to which Firebase resources will be added, in the format: - /// projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) - /// field for details about PROJECT_IDENTIFIER values. After calling `AddFirebase`, the unique Project - /// identifiers ( + /// The resource name of the Google Cloud `Project` in which Firebase resources will be added and Firebase + /// services enabled, in the format: projects/ PROJECT_IDENTIFIER Refer to the `FirebaseProject` + /// [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values. After + /// calling `AddFirebase`, the unique Project identifiers ( /// [`projectNumber`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_number) /// and /// [`projectId`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_id)) - /// of the underlying GCP `Project` are also the identifiers of the FirebaseProject. + /// of the underlying Google Cloud `Project` are also the identifiers of the FirebaseProject. /// public virtual AddFirebaseRequest AddFirebase(Google.Apis.FirebaseManagement.v1beta1.Data.AddFirebaseRequest body, string project) { @@ -2534,17 +2543,17 @@ public virtual AddFirebaseRequest AddFirebase(Google.Apis.FirebaseManagement.v1b } /// - /// Adds Firebase resources to the specified existing [Google Cloud Platform (GCP) `Project`] - /// (https://cloud.google.com/resource-manager/reference/rest/v1/projects). Since a FirebaseProject is actually - /// also a GCP `Project`, a `FirebaseProject` has the same underlying GCP identifiers (`projectNumber` and - /// `projectId`). This allows for easy interop with Google APIs. The result of this call is an - /// [`Operation`](../../v1beta1/operations). Poll the `Operation` to track the provisioning process by calling - /// GetOperation until [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When `done` is - /// `true`, the `Operation` has either succeeded or failed. If the `Operation` succeeded, its + /// Adds Firebase resources and enables Firebase services in the specified existing [Google Cloud + /// `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects). Since a FirebaseProject is + /// actually also a Google Cloud `Project`, a `FirebaseProject` has the same underlying Google Cloud identifiers + /// (`projectNumber` and `projectId`). This allows for easy interop with Google APIs. The result of this call is + /// an [`Operation`](../../v1beta1/operations). Poll the `Operation` to track the provisioning process by + /// calling GetOperation until [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When `done` + /// is `true`, the `Operation` has either succeeded or failed. If the `Operation` succeeded, its /// [`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to a FirebaseProject; if the /// `Operation` failed, its [`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a /// google.rpc.Status. The `Operation` is automatically deleted after completion, so there is no need to call - /// DeleteOperation. This method does not modify any billing account information on the underlying GCP + /// DeleteOperation. This method does not modify any billing account information on the underlying Google Cloud /// `Project`. To call `AddFirebase`, a project member or service account must have the following permissions /// (the IAM roles of Editor and Owner contain these permissions): `firebase.projects.update`, /// `resourcemanager.projects.get`, `serviceusage.services.enable`, and `serviceusage.services.get`. @@ -2560,14 +2569,14 @@ public AddFirebaseRequest(Google.Apis.Services.IClientService service, Google.Ap } /// - /// The resource name of the GCP `Project` to which Firebase resources will be added, in the format: - /// projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` + /// The resource name of the Google Cloud `Project` in which Firebase resources will be added and Firebase + /// services enabled, in the format: projects/ PROJECT_IDENTIFIER Refer to the `FirebaseProject` /// [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER values. /// After calling `AddFirebase`, the unique Project identifiers ( /// [`projectNumber`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_number) /// and /// [`projectId`](https://cloud.google.com/resource-manager/reference/rest/v1/projects#Project.FIELDS.project_id)) - /// of the underlying GCP `Project` are also the identifiers of the FirebaseProject. + /// of the underlying Google Cloud `Project` are also the identifiers of the FirebaseProject. /// [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] public virtual string Project { get; private set; } @@ -3287,10 +3296,12 @@ namespace Google.Apis.FirebaseManagement.v1beta1.Data public class AddFirebaseRequest : Google.Apis.Requests.IDirectResponseSchema { /// - /// Deprecated. Instead, to set a Project's default GCP resource location, call - /// [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase resources to the - /// GCP `Project`. The ID of the Project's default GCP resource location. The location must be one of the - /// available [GCP resource locations](https://firebase.google.com/docs/projects/locations). + /// **DEPRECATED.** _Instead, use product-specific REST APIs to work with the location of each resource in a + /// Project. This field may be ignored, especially for newly provisioned projects after October 30, 2024._ The + /// ID of the Project's ["location for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location), which are resources + /// associated with Google App Engine. The location must be one of the available [Google App Engine + /// locations](https://cloud.google.com/about/locations#region). /// [Newtonsoft.Json.JsonPropertyAttribute("locationId")] public virtual string LocationId { get; set; } @@ -3322,22 +3333,24 @@ public class AddGoogleAnalyticsRequest : Google.Apis.Requests.IDirectResponseSch public class AdminSdkConfig : Google.Apis.Requests.IDirectResponseSchema { /// - /// **DEPRECATED.** _Instead, find the default Firebase Realtime Database instance name using the [list + /// **DEPRECATED.** _Instead, find the URL of the default Realtime Database instance using the [list /// endpoint](https://firebase.google.com/docs/reference/rest/database/database-management/rest/v1beta/projects.locations.instances/list) - /// within the Firebase Realtime Database REST API. Note that the default instance for the Project might not yet - /// be provisioned, so the return might not contain a default instance._ The default Firebase Realtime Database - /// URL. + /// within the Firebase Realtime Database REST API. If the default instance for the Project has not yet been + /// provisioned, the return might not contain a default instance. Note that the config that's generated for the + /// Firebase console or the Firebase CLI uses the Realtime Database endpoint to populate this value for that + /// config._ The URL of the default Firebase Realtime Database instance. /// [Newtonsoft.Json.JsonPropertyAttribute("databaseURL")] public virtual string DatabaseURL { get; set; } /// - /// **DEPRECATED.** _Instead, use product-specific REST APIs to find the location of resources._ The ID of the - /// Project's default GCP resource location. The location is one of the available [GCP resource - /// locations](https://firebase.google.com/docs/projects/locations). This field is omitted if the default GCP - /// resource location has not been finalized yet. To set a Project's default GCP resource location, call - /// [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase resources to the - /// Project. + /// **DEPRECATED.** _Instead, use product-specific REST APIs to find the location of each resource in a Project. + /// This field may not be populated, especially for newly provisioned projects after October 30, 2024._ The ID + /// of the Project's ["location for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location), which are resources + /// associated with Google App Engine. The location is one of the available [App Engine + /// locations](https://cloud.google.com/about/locations#region). This field is omitted if the location for + /// default Google Cloud resources has not been set. /// [Newtonsoft.Json.JsonPropertyAttribute("locationId")] public virtual string LocationId { get; set; } @@ -3351,11 +3364,12 @@ public class AdminSdkConfig : Google.Apis.Requests.IDirectResponseSchema public virtual string ProjectId { get; set; } /// - /// **DEPRECATED.** _Instead, find the default Cloud Storage for Firebase bucket using the [list + /// **DEPRECATED.** _Instead, find the name of the default Cloud Storage for Firebase bucket using the [list /// endpoint](https://firebase.google.com/docs/reference/rest/storage/rest/v1beta/projects.buckets/list) within - /// the Cloud Storage for Firebase REST API. Note that the default bucket for the Project might not yet be - /// provisioned, so the return might not contain a default bucket._ The default Cloud Storage for Firebase - /// storage bucket name. + /// the Cloud Storage for Firebase REST API. If the default bucket for the Project has not yet been provisioned, + /// the return might not contain a default bucket. Note that the config that's generated for the Firebase + /// console or the Firebase CLI uses the Cloud Storage for Firebase endpoint to populate this value for that + /// config._ The name of the default Cloud Storage for Firebase bucket. /// [Newtonsoft.Json.JsonPropertyAttribute("storageBucket")] public virtual string StorageBucket { get; set; } @@ -3560,12 +3574,12 @@ public class AndroidAppConfig : Google.Apis.Requests.IDirectResponseSchema public class DefaultResources : Google.Apis.Requests.IDirectResponseSchema { /// - /// Output only. **DEPRECATED.** _Instead, find the default Firebase Hosting site name using the + /// Output only. **DEPRECATED.** _Instead, find the name of the default Firebase Hosting site using /// [ListSites](https://firebase.google.com/docs/reference/hosting/rest/v1beta1/projects.sites/list) within the - /// Firebase Hosting REST API. Note that the default site for the Project might not yet be provisioned, so the - /// return might not contain a default site._ The default Firebase Hosting site name, in the format: PROJECT_ID - /// Though rare, your `projectId` might already be used as the name for an existing Hosting site in another - /// project (learn more about creating non-default, [additional + /// Firebase Hosting REST API. If the default Hosting site for the Project has not yet been provisioned, the + /// return might not contain a default site._ The name of the default Firebase Hosting site, in the format: + /// PROJECT_ID Though rare, your `projectId` might already be used as the name for an existing Hosting site in + /// another project (learn more about creating non-default, [additional /// sites](https://firebase.google.com/docs/hosting/multisites)). In these cases, your `projectId` is appended /// with a hyphen then five alphanumeric characters to create your default Hosting site name. For example, if /// your `projectId` is `myproject123`, your default Hosting site name might be: `myproject123-a5c16` @@ -3574,24 +3588,25 @@ public class DefaultResources : Google.Apis.Requests.IDirectResponseSchema public virtual string HostingSite { get; set; } /// - /// Output only. **DEPRECATED.** _Instead, use product-specific REST APIs to find the location of resources._ - /// The ID of the Project's default GCP resource location. The location is one of the available [GCP resource - /// locations](https://firebase.google.com/docs/projects/locations). This field is omitted if the default GCP - /// resource location has not been finalized yet. To set a Project's default GCP resource location, call - /// [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase resources to the - /// Project. + /// Output only. **DEPRECATED.** _Instead, use product-specific REST APIs to find the location of each resource + /// in a Project. This field may not be populated, especially for newly provisioned projects after October 30, + /// 2024._ The ID of the Project's ["location for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location), which are resources + /// associated with Google App Engine. The location is one of the available [Google App Engine + /// locations](https://cloud.google.com/about/locations#region). This field is omitted if the location for + /// default Google Cloud resources has not been set. /// [Newtonsoft.Json.JsonPropertyAttribute("locationId")] public virtual string LocationId { get; set; } /// - /// Output only. **DEPRECATED.** _Instead, find the default Firebase Realtime Database instance name using the + /// Output only. **DEPRECATED.** _Instead, find the name of the default Realtime Database instance using the /// [list /// endpoint](https://firebase.google.com/docs/reference/rest/database/database-management/rest/v1beta/projects.locations.instances/list) - /// within the Firebase Realtime Database REST API. Note that the default instance for the Project might not yet - /// be provisioned, so the return might not contain a default instance._ The default Firebase Realtime Database - /// instance name, in the format: PROJECT_ID Though rare, your `projectId` might already be used as the name for - /// an existing Realtime Database instance in another project (learn more about [database + /// within the Firebase Realtime Database REST API. If the default Realtime Database instance for a Project has + /// not yet been provisioned, the return might not contain a default instance._ The default Firebase Realtime + /// Database instance name, in the format: PROJECT_ID Though rare, your `projectId` might already be used as the + /// name for an existing Realtime Database instance in another project (learn more about [database /// sharding](https://firebase.google.com/docs/database/usage/sharding)). In these cases, your `projectId` is /// appended with a hyphen then five alphanumeric characters to create your default Realtime Database instance /// name. For example, if your `projectId` is `myproject123`, your default database instance name might be: @@ -3601,11 +3616,13 @@ public class DefaultResources : Google.Apis.Requests.IDirectResponseSchema public virtual string RealtimeDatabaseInstance { get; set; } /// - /// Output only. **DEPRECATED.** _Instead, find the default Cloud Storage for Firebase bucket using the [list + /// Output only. **DEPRECATED.** _Instead, find the name of the default Cloud Storage for Firebase bucket using + /// the [list /// endpoint](https://firebase.google.com/docs/reference/rest/storage/rest/v1beta/projects.buckets/list) within - /// the Cloud Storage for Firebase REST API. Note that the default bucket for the Project might not yet be - /// provisioned, so the return might not contain a default bucket._ The default Cloud Storage for Firebase - /// storage bucket, in the format: PROJECT_ID.appspot.com + /// the Cloud Storage for Firebase REST API. If the default bucket for the Project has not yet been provisioned, + /// the return might not contain a default bucket._ The name of the default Cloud Storage for Firebase bucket, + /// in one of the following formats: * If provisioned _before_ October 30, 2024: PROJECT_ID.firebasestorage.app + /// * If provisioned _on or after_ October 30, 2024: PROJECT_ID.firebasestorage.app /// [Newtonsoft.Json.JsonPropertyAttribute("storageBucket")] public virtual string StorageBucket { get; set; } @@ -3628,8 +3645,10 @@ public class Empty : Google.Apis.Requests.IDirectResponseSchema public class FinalizeDefaultLocationRequest : Google.Apis.Requests.IDirectResponseSchema { /// - /// The ID of the Project's default GCP resource location. The location must be one of the available [GCP - /// resource locations](https://firebase.google.com/docs/projects/locations). + /// **DEPRECATED** The ID of the Project's ["location for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location), which are resources + /// associated with Google App Engine. The location must be one of the available [Google App Engine + /// locations](https://cloud.google.com/about/locations#region). /// [Newtonsoft.Json.JsonPropertyAttribute("locationId")] public virtual string LocationId { get; set; } @@ -3742,11 +3761,11 @@ public virtual System.DateTimeOffset? ExpireTimeDateTimeOffset /// /// A `FirebaseProject` is the top-level Firebase entity. It is the container for Firebase Apps, Firebase Hosting /// sites, storage systems (Firebase Realtime Database, Cloud Firestore, Cloud Storage buckets), and other Firebase - /// and Google Cloud Platform (GCP) resources. You create a `FirebaseProject` by calling AddFirebase and specifying - /// an *existing* [GCP `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects). This adds - /// Firebase resources to the existing GCP `Project`. Since a FirebaseProject is actually also a GCP `Project`, a - /// `FirebaseProject` has the same underlying GCP identifiers (`projectNumber` and `projectId`). This allows for - /// easy interop with Google APIs. + /// and Google Cloud resources. You create a `FirebaseProject` by calling AddFirebase and specifying an *existing* + /// [Google Cloud `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects). This adds + /// Firebase resources to the existing Google Cloud `Project`. Since a FirebaseProject is actually also a Google + /// Cloud `Project`, a `FirebaseProject` has the same underlying Google Cloud identifiers (`projectNumber` and + /// `projectId`). This allows for easy interop with Google APIs. /// public class FirebaseProject : Google.Apis.Requests.IDirectResponseSchema { @@ -3992,7 +4011,7 @@ public class ListAvailableProjectsResponse : Google.Apis.Requests.IDirectRespons [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } - /// The list of GCP `Projects` which can have Firebase resources added to them. + /// The list of Google Cloud `Projects` which can have Firebase resources added to them. [Newtonsoft.Json.JsonPropertyAttribute("projectInfo")] public virtual System.Collections.Generic.IList ProjectInfo { get; set; } @@ -4067,24 +4086,27 @@ public class ListWebAppsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// **DEPRECATED.** _This Location is no longer used to determine Firebase resource locations. Instead, consult - /// product documentation to determine valid locations for each resource used in your Project._ A GCP resource - /// location that can be selected for a FirebaseProject. + /// product documentation to determine valid locations for each resource used in your Project._ A ["location for + /// default Google Cloud resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location) + /// that can be selected for a FirebaseProject. These are resources associated with Google App Engine. /// public class Location : Google.Apis.Requests.IDirectResponseSchema { - /// Products and services that are available in the GCP resource location. + /// + /// Products and services that are available in the location for default Google Cloud resources. + /// [Newtonsoft.Json.JsonPropertyAttribute("features")] public virtual System.Collections.Generic.IList Features { get; set; } /// - /// The ID of the GCP resource location. It will be one of the available [GCP resource - /// locations](https://firebase.google.com/docs/projects/locations#types). + /// The ID of the Project's location for default Google Cloud resources. It will be one of the available [Google + /// App Engine locations](https://cloud.google.com/about/locations#region). /// [Newtonsoft.Json.JsonPropertyAttribute("locationId")] public virtual string LocationId { get; set; } /// - /// Indicates whether the GCP resource location is a [regional or multi-regional + /// Indicates whether the location for default Google Cloud resources is a [regional or multi-regional /// location](https://firebase.google.com/docs/projects/locations#types) for data replication. /// [Newtonsoft.Json.JsonPropertyAttribute("type")] @@ -4162,26 +4184,27 @@ public class ProductMetadata : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// A reference to a Google Cloud Platform (GCP) `Project`. + /// A reference to a Google Cloud `Project`. public class ProjectInfo : Google.Apis.Requests.IDirectResponseSchema { - /// The user-assigned display name of the GCP `Project`, for example: `My App` + /// The user-assigned display name of the Google Cloud `Project`, for example: `My App`. [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } /// - /// The ID of the Project's default GCP resource location. The location is one of the available [GCP resource - /// locations](https://firebase.google.com/docs/projects/locations). Not all Projects will have this field - /// populated. If it is not populated, it means that the Project does not yet have a default GCP resource - /// location. To set a Project's default GCP resource location, call - /// [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase resources to the - /// Project. + /// **DEPRECATED** _Instead, use product-specific REST APIs to work with the location of each resource in a + /// Project. This field may not be populated, especially for newly provisioned projects after October 30, 2024._ + /// The ID of the Project's ["location for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location). The location is one + /// of the available [Google App Engine locations](https://cloud.google.com/about/locations#region). Not all + /// Projects will have this field populated. If it is not populated, it means that the Project does not yet have + /// a location for default Google Cloud resources. /// [Newtonsoft.Json.JsonPropertyAttribute("locationId")] public virtual string LocationId { get; set; } /// - /// The resource name of the GCP `Project` to which Firebase resources can be added, in the format: + /// The resource name of the Google Cloud `Project` to which Firebase resources can be added, in the format: /// projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) /// field for details about PROJECT_IDENTIFIER values. /// @@ -4619,22 +4642,24 @@ public class WebAppConfig : Google.Apis.Requests.IDirectResponseSchema public virtual string AuthDomain { get; set; } /// - /// **DEPRECATED.** _Instead, find the default Firebase Realtime Database instance name using the [list + /// **DEPRECATED.** _Instead, find the URL of the default Realtime Database instance using the [list /// endpoint](https://firebase.google.com/docs/reference/rest/database/database-management/rest/v1beta/projects.locations.instances/list) - /// within the Firebase Realtime Database REST API. Note that the default instance for the Project might not yet - /// be provisioned, so the return might not contain a default instance._ The default Firebase Realtime Database - /// URL. + /// within the Firebase Realtime Database REST API. If the default instance for the Project has not yet been + /// provisioned, the return might not contain a default instance. Note that the config that's generated for the + /// Firebase console or the Firebase CLI uses the Realtime Database endpoint to populate this value for that + /// config._ The URL of the default Firebase Realtime Database instance. /// [Newtonsoft.Json.JsonPropertyAttribute("databaseURL")] public virtual string DatabaseURL { get; set; } /// - /// **DEPRECATED.** _Instead, use product-specific REST APIs to find the location of resources._ The ID of the - /// Project's default GCP resource location. The location is one of the available [GCP resource - /// locations](https://firebase.google.com/docs/projects/locations). This field is omitted if the default GCP - /// resource location has not been finalized yet. To set a Project's default GCP resource location, call - /// [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase resources to the - /// Project. + /// **DEPRECATED.** _Instead, use product-specific REST APIs to find the location of each resource in a Project. + /// This field may not be populated, especially for newly provisioned projects after October 30, 2024._ The ID + /// of the Project's ["location for default Google Cloud + /// resources"](https://firebase.google.com/docs/projects/locations#default-cloud-location), which are resources + /// associated with Google App Engine. The location is one of the available [App Engine + /// locations](https://cloud.google.com/about/locations#region). This field is omitted if the location for + /// default Google Cloud resources has not been set. /// [Newtonsoft.Json.JsonPropertyAttribute("locationId")] public virtual string LocationId { get; set; } @@ -4669,21 +4694,20 @@ public class WebAppConfig : Google.Apis.Requests.IDirectResponseSchema public virtual string ProjectNumber { get; set; } /// - /// Optional. Duplicate field for the URL of the default RTDB instances (if there is one) that uses the same - /// field name as the unified V2 config file format. We wanted to make a single config file format for all the - /// app platforms (Android, iOS and web) and we had to pick consistent names for all the fields since there was - /// some varience between the platforms. If the request asks for the V2 format we will populate this field - /// instead of realtime_database_instance_uri. + /// Optional. Duplicate field for the URL of the default Realtime Database instances (if the default instance + /// has been provisioned). If the request asks for the V2 config format, this field will be populated instead of + /// `realtime_database_instance_uri`. /// [Newtonsoft.Json.JsonPropertyAttribute("realtimeDatabaseUrl")] public virtual string RealtimeDatabaseUrl { get; set; } /// - /// **DEPRECATED.** _Instead, find the default Cloud Storage for Firebase bucket using the [list + /// **DEPRECATED.** _Instead, find the name of the default Cloud Storage for Firebase bucket using the [list /// endpoint](https://firebase.google.com/docs/reference/rest/storage/rest/v1beta/projects.buckets/list) within - /// the Cloud Storage for Firebase REST API. Note that the default bucket for the Project might not yet be - /// provisioned, so the return might not contain a default bucket._ The default Cloud Storage for Firebase - /// storage bucket name. + /// the Cloud Storage for Firebase REST API. If the default bucket for the Project has not yet been provisioned, + /// the return might not contain a default bucket. Note that the config that's generated for the Firebase + /// console or the Firebase CLI uses the Cloud Storage for Firebase endpoint to populate this value for that + /// config._ The name of the default Cloud Storage for Firebase bucket. /// [Newtonsoft.Json.JsonPropertyAttribute("storageBucket")] public virtual string StorageBucket { get; set; } diff --git a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj index 72a91b5073..24505781e4 100644 --- a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj +++ b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseManagement.v1beta1 Client Library - 1.68.0.3585 + 1.68.0.3598 Google LLC Copyright 2024 Google LLC Google From cb06988d02e07090e7d9ca6ca4c1393ac75b9cf6 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:09:00 -0800 Subject: [PATCH 19/28] feat: Generate Google.Apis.Merchant.accounts_v1beta version 1.68.0.3595 --- .../merchantapi.accounts_v1beta.json | 742 +----------- .../Google.Apis.Merchant.accounts_v1beta.cs | 1006 +---------------- ...oogle.Apis.Merchant.accounts_v1beta.csproj | 2 +- 3 files changed, 4 insertions(+), 1746 deletions(-) diff --git a/DiscoveryJson/merchantapi.accounts_v1beta.json b/DiscoveryJson/merchantapi.accounts_v1beta.json index 9d8b49beb9..033eb252c3 100644 --- a/DiscoveryJson/merchantapi.accounts_v1beta.json +++ b/DiscoveryJson/merchantapi.accounts_v1beta.json @@ -705,299 +705,6 @@ } } }, - "omnichannelSettings": { - "methods": { - "create": { - "description": "Create the omnichannel settings for a given merchant.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings", - "httpMethod": "POST", - "id": "merchantapi.accounts.omnichannelSettings.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The parent resource where this omnichannel setting will be created. Format: `accounts/{account}`", - "location": "path", - "pattern": "^accounts/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+parent}/omnichannelSettings", - "request": { - "$ref": "OmnichannelSetting" - }, - "response": { - "$ref": "OmnichannelSetting" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Get the omnichannel settings for a given merchant.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}", - "httpMethod": "GET", - "id": "merchantapi.accounts.omnichannelSettings.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the omnichannel setting to retrieve. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", - "location": "path", - "pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}", - "response": { - "$ref": "OmnichannelSetting" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "List all the omnichannel settings for a given merchant.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings", - "httpMethod": "GET", - "id": "merchantapi.accounts.omnichannelSettings.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "Optional. The maximum number of omnichannel settings to return. The service may return fewer than this value. If unspecified, at most 50 omnichannel settings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous `ListOmnichannelSettings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListOmnichannelSettings` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The parent, which owns this collection of omnichannel settings. Format: `accounts/{account}`", - "location": "path", - "pattern": "^accounts/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+parent}/omnichannelSettings", - "response": { - "$ref": "ListOmnichannelSettingsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "patch": { - "description": "Update the omnichannel setting for a given merchant in a given country.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}", - "httpMethod": "PATCH", - "id": "merchantapi.accounts.omnichannelSettings.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Identifier. The resource name of the omnichannel setting. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", - "location": "path", - "pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Optional. The list of fields to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}", - "request": { - "$ref": "OmnichannelSetting" - }, - "response": { - "$ref": "OmnichannelSetting" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "requestInventoryVerification": { - "description": "Requests inventory verification for a given merchant in a given country.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}:requestInventoryVerification", - "httpMethod": "POST", - "id": "merchantapi.accounts.omnichannelSettings.requestInventoryVerification", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the omnichannel setting to request inventory verification. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", - "location": "path", - "pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}:requestInventoryVerification", - "request": { - "$ref": "RequestInventoryVerificationRequest" - }, - "response": { - "$ref": "RequestInventoryVerificationResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - }, - "resources": { - "gbpAccounts": { - "methods": { - "linkGbpAccount": { - "description": "Link the specified merchant to a GBP account for all countries.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}/gbpAccounts:linkGbpAccount", - "httpMethod": "POST", - "id": "merchantapi.accounts.omnichannelSettings.gbpAccounts.linkGbpAccount", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The name of the parent resource under which the GBP accounts are listed. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`.", - "location": "path", - "pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+parent}/gbpAccounts:linkGbpAccount", - "request": { - "$ref": "LinkGbpAccountRequest" - }, - "response": { - "$ref": "LinkGbpAccountResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "List the GBP accounts for a given merchant.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}/gbpAccounts", - "httpMethod": "GET", - "id": "merchantapi.accounts.omnichannelSettings.gbpAccounts.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "Optional. The maximum number of `GbpAccount` resources to return. The service returns fewer than this value if the number of gbp accounts is less that than the `pageSize`. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous `ListGbpAccounts` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListGbpAccounts` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The name of the parent resource under which the GBP accounts are listed. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`.", - "location": "path", - "pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+parent}/gbpAccounts", - "response": { - "$ref": "ListGbpAccountsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "lfpProviders": { - "methods": { - "linkLfpProvider": { - "description": "Link the specified merchant to a LFP provider for the specified country.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}/lfpProviders:linkLfpProvider", - "httpMethod": "POST", - "id": "merchantapi.accounts.omnichannelSettings.lfpProviders.linkLfpProvider", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The name of the parent resource under which the LFP provider is linked. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`.", - "location": "path", - "pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+parent}/lfpProviders:linkLfpProvider", - "request": { - "$ref": "LinkLfpProviderRequest" - }, - "response": { - "$ref": "LinkLfpProviderResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "List the LFP provider settings for a given merchant in a given country.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/omnichannelSettings/{omnichannelSettingsId}/lfpProviders", - "httpMethod": "GET", - "id": "merchantapi.accounts.omnichannelSettings.lfpProviders.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "Optional. The maximum number of `LfpProvider` resources to return. The service returns fewer than this value if the number of lfp providers is less that than the `pageSize`. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A page token, received from a previous `ListLfpProviders` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListLfpProviders` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The name of the parent resource under which the LFP providers are listed. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`.", - "location": "path", - "pattern": "^accounts/[^/]+/omnichannelSettings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+parent}/lfpProviders", - "response": { - "$ref": "ListLfpProvidersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - } - } - }, "onlineReturnPolicies": { "methods": { "get": { @@ -1710,37 +1417,9 @@ } } }, - "revision": "20241101", + "revision": "20241104", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { - "About": { - "description": "Collection of information related to the about page ([impressum](https://support.google.com/merchants/answer/14675634?hl=en&ref_topic=15145634&sjid=6892280366904591178-NC)).", - "id": "About", - "properties": { - "state": { - "description": "Output only. The state of the URI.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "FAILED", - "RUNNING" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "The review process is active.", - "The review process failed.", - "The review process is running." - ], - "readOnly": true, - "type": "string" - }, - "uri": { - "description": "Required. The about page URI.", - "type": "string" - } - }, - "type": "object" - }, "Accepted": { "description": "Describes the accepted terms of service.", "id": "Accepted", @@ -1963,7 +1642,7 @@ "type": "string" }, "promotionsConsent": { - "description": "Optional. Whether the identity attributes may be used for promotions.", + "description": "Required. Whether the identity attributes may be used for promotions.", "enum": [ "PROMOTIONS_CONSENT_UNSPECIFIED", "PROMOTIONS_CONSENT_GIVEN", @@ -2323,48 +2002,6 @@ "properties": {}, "type": "object" }, - "GbpAccount": { - "description": "Collection of information related to a Google Business Profile (GBP) account.", - "id": "GbpAccount", - "properties": { - "email": { - "description": "The email which identifies the Business Profile.", - "type": "string" - }, - "gbpAccountId": { - "description": "The id of the GBP account.", - "type": "string" - }, - "gbpAccountName": { - "description": "The name of the Business Profile. For personal accounts: Email id of the owner. For Business accounts: Name of the Business Account.", - "type": "string" - }, - "listingCount": { - "description": "Number of listings under this account.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Identifier. The resource name of the GBP account. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}/gbpAccount/{gbp_account}`", - "type": "string" - }, - "type": { - "description": "The type of the Business Profile.", - "enum": [ - "TYPE_UNSPECIFIED", - "USER", - "BUSINESS_ACCOUNT" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "The GBP account is a user account.", - "The GBP account is a business account." - ], - "type": "string" - } - }, - "type": "object" - }, "GeoTargetArea": { "description": "A list of geotargets that defines the region area.", "id": "GeoTargetArea", @@ -2568,144 +2205,6 @@ }, "type": "object" }, - "InventoryVerification": { - "description": "Collection of information related to [inventory verification](https://support.google.com/merchants/answer/14684499?hl=en&ref_topic=15145634&sjid=6892280366904591178-NC).", - "id": "InventoryVerification", - "properties": { - "contact": { - "description": "Required. The name of the contact for the inventory verification process.", - "type": "string" - }, - "contactEmail": { - "description": "Required. The email address of the contact for the inventory verification process.", - "type": "string" - }, - "contactState": { - "description": "Output only. The state of the contact verification.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "FAILED", - "RUNNING" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "The review process is active.", - "The review process failed.", - "The review process is running." - ], - "readOnly": true, - "type": "string" - }, - "state": { - "description": "Output only. The state of the inventory verification process.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTION_REQUIRED", - "RUNNING", - "SUCCEEDED", - "SUSPENDED" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "When merchant fails the inventory verification process, but still have remaining attempts.", - "The inventory verification process is running.", - "The inventory verification process succeeded.", - "When merchant fails the inventory verification process and all attempts are exhausted." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "LfpLink": { - "description": "Collection of information related to the LFP link.", - "id": "LfpLink", - "properties": { - "externalAccountId": { - "description": "Required. The account ID by which this merchant is known to the LFP provider.", - "type": "string" - }, - "providerId": { - "description": "Required. The ID of the LFP provider.", - "type": "string" - } - }, - "type": "object" - }, - "LfpProvider": { - "description": "Collection of information related to a Local Feed Partnership (LFP) provider.", - "id": "LfpProvider", - "properties": { - "displayName": { - "description": "The display name of the LFP provider.", - "type": "string" - }, - "lfpProviderId": { - "description": "The ID of the LFP provider.", - "type": "string" - }, - "name": { - "description": "Identifier. The resource name of the LFP provider. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}`", - "type": "string" - }, - "regionCode": { - "description": "Output only. Region code defined by [CLDR](https://cldr.unicode.org/).", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "LinkGbpAccountRequest": { - "description": "Request message for the LinkGbpAccount method.", - "id": "LinkGbpAccountRequest", - "properties": { - "gbpEmail": { - "description": "Required. The email address of the Business Profile account.", - "type": "string" - } - }, - "type": "object" - }, - "LinkGbpAccountResponse": { - "description": "Response message for the LinkGbpAccount method.", - "id": "LinkGbpAccountResponse", - "properties": { - "response": { - "$ref": "Empty", - "description": "Empty response." - } - }, - "type": "object" - }, - "LinkLfpProviderRequest": { - "description": "Request message for the LinkLfpProvider method.", - "id": "LinkLfpProviderRequest", - "properties": { - "externalAccountId": { - "description": "Required. The external account ID by which this merchant is known to the LFP provider.", - "type": "string" - }, - "lfpProviderId": { - "description": "Required. The id of the LFP provider to link.", - "type": "string" - } - }, - "type": "object" - }, - "LinkLfpProviderResponse": { - "description": "Response message for the LinkLfpProvider method.", - "id": "LinkLfpProviderResponse", - "properties": { - "response": { - "$ref": "Empty", - "description": "Empty response." - } - }, - "type": "object" - }, "ListAccountIssuesResponse": { "description": "Response message for the `ListAccountIssues` method.", "id": "ListAccountIssuesResponse", @@ -2742,60 +2241,6 @@ }, "type": "object" }, - "ListGbpAccountsResponse": { - "description": "Response message for the ListGbpAccounts method.", - "id": "ListGbpAccountsResponse", - "properties": { - "gbpAccounts": { - "description": "The GBP accounts from the specified merchant in the specified country.", - "items": { - "$ref": "GbpAccount" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - } - }, - "type": "object" - }, - "ListLfpProvidersResponse": { - "description": "Response message for the ListLfpProviders method.", - "id": "ListLfpProvidersResponse", - "properties": { - "lfpProviders": { - "description": "The LFP providers from the specified merchant in the specified country.", - "items": { - "$ref": "LfpProvider" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - } - }, - "type": "object" - }, - "ListOmnichannelSettingsResponse": { - "description": "Response message for the ListOmnichannelSettings method.", - "id": "ListOmnichannelSettingsResponse", - "properties": { - "nextPageToken": { - "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", - "type": "string" - }, - "omnichannelSettings": { - "description": "The omnichannel settings from the specified merchant.", - "items": { - "$ref": "OmnichannelSetting" - }, - "type": "array" - } - }, - "type": "object" - }, "ListOnlineReturnPoliciesResponse": { "description": "Response message for the `ListOnlineReturnPolicies` method.", "id": "ListOnlineReturnPoliciesResponse", @@ -2946,46 +2391,6 @@ }, "type": "object" }, - "LsfType": { - "description": "Collection of information related to the Local Store Front (LSF) type.", - "id": "LsfType", - "properties": { - "lsfType": { - "description": "Required. The Local Store Front (LSF) type.", - "enum": [ - "TYPE_UNSPECIFIED", - "GHLSF", - "MHLSF_BASIC", - "MHLSF_FULL" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "Google-Hosted Local Store Front.", - "Merchant-Hosted Local Store Front Basic.", - "Merchant-Hosted Local Store Front Full." - ], - "type": "string" - }, - "state": { - "description": "Output only. The state of the LSF.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "FAILED", - "RUNNING" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "The review process is active.", - "The review process failed.", - "The review process is running." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, "MinimumOrderValueTable": { "description": "Table of per store minimum order values for the pickup fulfillment type.", "id": "MinimumOrderValueTable", @@ -3000,94 +2405,6 @@ }, "type": "object" }, - "OmnichannelSetting": { - "description": "Collection of information related to the omnichannel settings of a merchant.", - "id": "OmnichannelSetting", - "properties": { - "about": { - "$ref": "About", - "description": "Optional. The about page URI and state for this country." - }, - "inventoryVerification": { - "$ref": "InventoryVerification", - "description": "Optional. The inventory verification process state for this country." - }, - "lfpLink": { - "$ref": "LfpLink", - "description": "Output only. The established link to a LFP provider.", - "readOnly": true - }, - "lsfType": { - "$ref": "LsfType", - "description": "Optional. The Local Store Front ([LSF](https://support.google.com/merchants/answer/7178526)) type and state for this country." - }, - "name": { - "description": "Identifier. The resource name of the omnichannel setting. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`", - "type": "string" - }, - "odo": { - "$ref": "OnDisplayToOrder", - "description": "Optional. The on display to order (ODO) policy URI and state for this country." - }, - "pickupTypes": { - "description": "Optional. The Pickup types asnd state for this country.", - "items": { - "$ref": "PickupType" - }, - "type": "array" - }, - "regionCode": { - "description": "Immutable. Region code defined by [CLDR](https://cldr.unicode.org/).", - "type": "string" - }, - "state": { - "description": "Output only. The state of the omnichannel setting.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "ACTION_REQUIRED", - "RUNNING" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "The merchant's omnichannel setting is active.", - "The merchant's omnichannel setting requires action.", - "The merchant's omnichannel setting is running." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "OnDisplayToOrder": { - "description": "Collection of information related to the on display to order ([ODO](https://support.google.com/merchants/answer/14615056?hl=en&ref_topic=15145747&sjid=6892280366904591178-NC)).", - "id": "OnDisplayToOrder", - "properties": { - "state": { - "description": "Output only. The state of the URI.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "FAILED", - "RUNNING" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "The review process is active.", - "The review process failed.", - "The review process is running." - ], - "readOnly": true, - "type": "string" - }, - "uri": { - "description": "Required. The on display to order (ODO) policy URI.", - "type": "string" - } - }, - "type": "object" - }, "OnlineReturnPolicy": { "description": "[Online return policy](https://support.google.com/merchants/answer/10220642) object. This is currently used to represent return policies for ads and free listings programs.", "id": "OnlineReturnPolicy", @@ -3199,44 +2516,6 @@ }, "type": "object" }, - "PickupType": { - "description": "Collection of information related to the pickup type.", - "id": "PickupType", - "properties": { - "pickupType": { - "description": "Required. The type of the pickup.", - "enum": [ - "TYPE_UNSPECIFIED", - "PICKUP_TODAY", - "PICKUP_LATER" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "[Pickup today](https://support.google.com/merchants/answer/14634281?hl=en&ref_topic=15145747&sjid=6892280366904591178-NC#).", - "[Pickup later](https://support.google.com/merchants/answer/14634020?hl=en&ref_topic=15145747&sjid=6892280366904591178-NC#)." - ], - "type": "string" - }, - "state": { - "description": "Output only. The state of the PickupType.", - "enum": [ - "STATE_UNSPECIFIED", - "ACTIVE", - "FAILED", - "RUNNING" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "The review process is active.", - "The review process failed.", - "The review process is running." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, "Policy": { "description": "The available policies.", "id": "Policy", @@ -3636,23 +2915,6 @@ }, "type": "object" }, - "RequestInventoryVerificationRequest": { - "description": "Request message for the RequestInventoryVerification method.", - "id": "RequestInventoryVerificationRequest", - "properties": {}, - "type": "object" - }, - "RequestInventoryVerificationResponse": { - "description": "Response message for the RequestInventoryVerification method.", - "id": "RequestInventoryVerificationResponse", - "properties": { - "omnichannelSetting": { - "$ref": "OmnichannelSetting", - "description": "The omnichannel setting that was updated." - } - }, - "type": "object" - }, "Required": { "description": "Describes the terms of service which are required to be accepted.", "id": "Required", diff --git a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs index 020ea0912c..9b0508b378 100644 --- a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs @@ -278,7 +278,6 @@ public AccountsResource(Google.Apis.Services.IClientService service) EmailPreferences = new EmailPreferencesResource(service); Homepage = new HomepageResource(service); Issues = new IssuesResource(service); - OmnichannelSettings = new OmnichannelSettingsResource(service); OnlineReturnPolicies = new OnlineReturnPoliciesResource(service); Programs = new ProgramsResource(service); Regions = new RegionsResource(service); @@ -1270,670 +1269,6 @@ protected override void InitParameters() } } - /// Gets the OmnichannelSettings resource. - public virtual OmnichannelSettingsResource OmnichannelSettings { get; } - - /// The "omnichannelSettings" collection of methods. - public class OmnichannelSettingsResource - { - private const string Resource = "omnichannelSettings"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public OmnichannelSettingsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - GbpAccounts = new GbpAccountsResource(service); - LfpProviders = new LfpProvidersResource(service); - } - - /// Gets the GbpAccounts resource. - public virtual GbpAccountsResource GbpAccounts { get; } - - /// The "gbpAccounts" collection of methods. - public class GbpAccountsResource - { - private const string Resource = "gbpAccounts"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public GbpAccountsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Link the specified merchant to a GBP account for all countries. - /// The body of the request. - /// - /// Required. The name of the parent resource under which the GBP accounts are listed. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - /// - public virtual LinkGbpAccountRequest LinkGbpAccount(Google.Apis.Merchant.accounts_v1beta.Data.LinkGbpAccountRequest body, string parent) - { - return new LinkGbpAccountRequest(this.service, body, parent); - } - - /// Link the specified merchant to a GBP account for all countries. - public class LinkGbpAccountRequest : MerchantBaseServiceRequest - { - /// Constructs a new LinkGbpAccount request. - public LinkGbpAccountRequest(Google.Apis.Services.IClientService service, Google.Apis.Merchant.accounts_v1beta.Data.LinkGbpAccountRequest body, string parent) : base(service) - { - Parent = parent; - Body = body; - InitParameters(); - } - - /// - /// Required. The name of the parent resource under which the GBP accounts are listed. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - /// - [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Parent { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.Merchant.accounts_v1beta.Data.LinkGbpAccountRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "linkGbpAccount"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "accounts/v1beta/{+parent}/gbpAccounts:linkGbpAccount"; - - /// Initializes LinkGbpAccount parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter - { - Name = "parent", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^accounts/[^/]+/omnichannelSettings/[^/]+$", - }); - } - } - - /// List the GBP accounts for a given merchant. - /// - /// Required. The name of the parent resource under which the GBP accounts are listed. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - /// - public virtual ListRequest List(string parent) - { - return new ListRequest(this.service, parent); - } - - /// List the GBP accounts for a given merchant. - public class ListRequest : MerchantBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) - { - Parent = parent; - InitParameters(); - } - - /// - /// Required. The name of the parent resource under which the GBP accounts are listed. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - /// - [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Parent { get; private set; } - - /// - /// Optional. The maximum number of `GbpAccount` resources to return. The service returns fewer than - /// this value if the number of gbp accounts is less that than the `pageSize`. The default value is - /// 50. The maximum value is 1000; If a value higher than the maximum is specified, then the - /// `pageSize` will default to the maximum. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// Optional. A page token, received from a previous `ListGbpAccounts` call. Provide the page token - /// to retrieve the subsequent page. When paginating, all other parameters provided to - /// `ListGbpAccounts` must match the call that provided the page token. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Gets the method name. - public override string MethodName => "list"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "accounts/v1beta/{+parent}/gbpAccounts"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter - { - Name = "parent", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^accounts/[^/]+/omnichannelSettings/[^/]+$", - }); - RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter - { - Name = "pageSize", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter - { - Name = "pageToken", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the LfpProviders resource. - public virtual LfpProvidersResource LfpProviders { get; } - - /// The "lfpProviders" collection of methods. - public class LfpProvidersResource - { - private const string Resource = "lfpProviders"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public LfpProvidersResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Link the specified merchant to a LFP provider for the specified country. - /// The body of the request. - /// - /// Required. The name of the parent resource under which the LFP provider is linked. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - /// - public virtual LinkLfpProviderRequest LinkLfpProvider(Google.Apis.Merchant.accounts_v1beta.Data.LinkLfpProviderRequest body, string parent) - { - return new LinkLfpProviderRequest(this.service, body, parent); - } - - /// Link the specified merchant to a LFP provider for the specified country. - public class LinkLfpProviderRequest : MerchantBaseServiceRequest - { - /// Constructs a new LinkLfpProvider request. - public LinkLfpProviderRequest(Google.Apis.Services.IClientService service, Google.Apis.Merchant.accounts_v1beta.Data.LinkLfpProviderRequest body, string parent) : base(service) - { - Parent = parent; - Body = body; - InitParameters(); - } - - /// - /// Required. The name of the parent resource under which the LFP provider is linked. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - /// - [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Parent { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.Merchant.accounts_v1beta.Data.LinkLfpProviderRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "linkLfpProvider"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "accounts/v1beta/{+parent}/lfpProviders:linkLfpProvider"; - - /// Initializes LinkLfpProvider parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter - { - Name = "parent", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^accounts/[^/]+/omnichannelSettings/[^/]+$", - }); - } - } - - /// List the LFP provider settings for a given merchant in a given country. - /// - /// Required. The name of the parent resource under which the LFP providers are listed. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - /// - public virtual ListRequest List(string parent) - { - return new ListRequest(this.service, parent); - } - - /// List the LFP provider settings for a given merchant in a given country. - public class ListRequest : MerchantBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) - { - Parent = parent; - InitParameters(); - } - - /// - /// Required. The name of the parent resource under which the LFP providers are listed. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - /// - [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Parent { get; private set; } - - /// - /// Optional. The maximum number of `LfpProvider` resources to return. The service returns fewer - /// than this value if the number of lfp providers is less that than the `pageSize`. The default - /// value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then - /// the `pageSize` will default to the maximum. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// Optional. A page token, received from a previous `ListLfpProviders` call. Provide the page token - /// to retrieve the subsequent page. When paginating, all other parameters provided to - /// `ListLfpProviders` must match the call that provided the page token. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Gets the method name. - public override string MethodName => "list"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "accounts/v1beta/{+parent}/lfpProviders"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter - { - Name = "parent", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^accounts/[^/]+/omnichannelSettings/[^/]+$", - }); - RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter - { - Name = "pageSize", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter - { - Name = "pageToken", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Create the omnichannel settings for a given merchant. - /// The body of the request. - /// - /// Required. The parent resource where this omnichannel setting will be created. Format: - /// `accounts/{account}` - /// - public virtual CreateRequest Create(Google.Apis.Merchant.accounts_v1beta.Data.OmnichannelSetting body, string parent) - { - return new CreateRequest(this.service, body, parent); - } - - /// Create the omnichannel settings for a given merchant. - public class CreateRequest : MerchantBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Merchant.accounts_v1beta.Data.OmnichannelSetting body, string parent) : base(service) - { - Parent = parent; - Body = body; - InitParameters(); - } - - /// - /// Required. The parent resource where this omnichannel setting will be created. Format: - /// `accounts/{account}` - /// - [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Parent { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.Merchant.accounts_v1beta.Data.OmnichannelSetting Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "create"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "accounts/v1beta/{+parent}/omnichannelSettings"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter - { - Name = "parent", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^accounts/[^/]+$", - }); - } - } - - /// Get the omnichannel settings for a given merchant. - /// - /// Required. The name of the omnichannel setting to retrieve. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - /// - public virtual GetRequest Get(string name) - { - return new GetRequest(this.service, name); - } - - /// Get the omnichannel settings for a given merchant. - public class GetRequest : MerchantBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - InitParameters(); - } - - /// - /// Required. The name of the omnichannel setting to retrieve. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - /// - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// Gets the method name. - public override string MethodName => "get"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "accounts/v1beta/{+name}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter - { - Name = "name", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^accounts/[^/]+/omnichannelSettings/[^/]+$", - }); - } - } - - /// List all the omnichannel settings for a given merchant. - /// - /// Required. The parent, which owns this collection of omnichannel settings. Format: `accounts/{account}` - /// - public virtual ListRequest List(string parent) - { - return new ListRequest(this.service, parent); - } - - /// List all the omnichannel settings for a given merchant. - public class ListRequest : MerchantBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) - { - Parent = parent; - InitParameters(); - } - - /// - /// Required. The parent, which owns this collection of omnichannel settings. Format: - /// `accounts/{account}` - /// - [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Parent { get; private set; } - - /// - /// Optional. The maximum number of omnichannel settings to return. The service may return fewer than - /// this value. If unspecified, at most 50 omnichannel settings will be returned. The maximum value is - /// 1000; values above 1000 will be coerced to 1000. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// Optional. A page token, received from a previous `ListOmnichannelSettings` call. Provide this to - /// retrieve the subsequent page. When paginating, all other parameters provided to - /// `ListOmnichannelSettings` must match the call that provided the page token. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Gets the method name. - public override string MethodName => "list"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "accounts/v1beta/{+parent}/omnichannelSettings"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter - { - Name = "parent", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^accounts/[^/]+$", - }); - RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter - { - Name = "pageSize", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter - { - Name = "pageToken", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Update the omnichannel setting for a given merchant in a given country. - /// The body of the request. - /// - /// Identifier. The resource name of the omnichannel setting. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - /// - public virtual PatchRequest Patch(Google.Apis.Merchant.accounts_v1beta.Data.OmnichannelSetting body, string name) - { - return new PatchRequest(this.service, body, name); - } - - /// Update the omnichannel setting for a given merchant in a given country. - public class PatchRequest : MerchantBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Merchant.accounts_v1beta.Data.OmnichannelSetting body, string name) : base(service) - { - Name = name; - Body = body; - InitParameters(); - } - - /// - /// Identifier. The resource name of the omnichannel setting. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - /// - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// Optional. The list of fields to be updated. - [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] - public virtual object UpdateMask { get; set; } - - /// Gets or sets the body of this request. - Google.Apis.Merchant.accounts_v1beta.Data.OmnichannelSetting Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "patch"; - - /// Gets the HTTP method. - public override string HttpMethod => "PATCH"; - - /// Gets the REST path. - public override string RestPath => "accounts/v1beta/{+name}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter - { - Name = "name", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^accounts/[^/]+/omnichannelSettings/[^/]+$", - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Requests inventory verification for a given merchant in a given country. - /// The body of the request. - /// - /// Required. The name of the omnichannel setting to request inventory verification. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - /// - public virtual RequestInventoryVerificationRequest RequestInventoryVerification(Google.Apis.Merchant.accounts_v1beta.Data.RequestInventoryVerificationRequest body, string name) - { - return new RequestInventoryVerificationRequest(this.service, body, name); - } - - /// Requests inventory verification for a given merchant in a given country. - public class RequestInventoryVerificationRequest : MerchantBaseServiceRequest - { - /// Constructs a new RequestInventoryVerification request. - public RequestInventoryVerificationRequest(Google.Apis.Services.IClientService service, Google.Apis.Merchant.accounts_v1beta.Data.RequestInventoryVerificationRequest body, string name) : base(service) - { - Name = name; - Body = body; - InitParameters(); - } - - /// - /// Required. The name of the omnichannel setting to request inventory verification. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - /// - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.Merchant.accounts_v1beta.Data.RequestInventoryVerificationRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "requestInventoryVerification"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "accounts/v1beta/{+name}:requestInventoryVerification"; - - /// Initializes RequestInventoryVerification parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter - { - Name = "name", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^accounts/[^/]+/omnichannelSettings/[^/]+$", - }); - } - } - } - /// Gets the OnlineReturnPolicies resource. public virtual OnlineReturnPoliciesResource OnlineReturnPolicies { get; } @@ -3950,24 +3285,6 @@ protected override void InitParameters() } namespace Google.Apis.Merchant.accounts_v1beta.Data { - /// - /// Collection of information related to the about page - /// ([impressum](https://support.google.com/merchants/answer/14675634?hl=en&amp;ref_topic=15145634&amp;sjid=6892280366904591178-NC)). - /// - public class About : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The state of the URI. - [Newtonsoft.Json.JsonPropertyAttribute("state")] - public virtual string State { get; set; } - - /// Required. The about page URI. - [Newtonsoft.Json.JsonPropertyAttribute("uri")] - public virtual string Uri { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Describes the accepted terms of service. public class Accepted : Google.Apis.Requests.IDirectResponseSchema { @@ -4217,7 +3534,7 @@ public class BusinessIdentity : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } - /// Optional. Whether the identity attributes may be used for promotions. + /// Required. Whether the identity attributes may be used for promotions. [Newtonsoft.Json.JsonPropertyAttribute("promotionsConsent")] public virtual string PromotionsConsent { get; set; } @@ -4624,43 +3941,6 @@ public class EnableProgramRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Collection of information related to a Google Business Profile (GBP) account. - public class GbpAccount : Google.Apis.Requests.IDirectResponseSchema - { - /// The email which identifies the Business Profile. - [Newtonsoft.Json.JsonPropertyAttribute("email")] - public virtual string Email { get; set; } - - /// The id of the GBP account. - [Newtonsoft.Json.JsonPropertyAttribute("gbpAccountId")] - public virtual string GbpAccountId { get; set; } - - /// - /// The name of the Business Profile. For personal accounts: Email id of the owner. For Business accounts: Name - /// of the Business Account. - /// - [Newtonsoft.Json.JsonPropertyAttribute("gbpAccountName")] - public virtual string GbpAccountName { get; set; } - - /// Number of listings under this account. - [Newtonsoft.Json.JsonPropertyAttribute("listingCount")] - public virtual System.Nullable ListingCount { get; set; } - - /// - /// Identifier. The resource name of the GBP account. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}/gbpAccount/{gbp_account}` - /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The type of the Business Profile. - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// A list of geotargets that defines the region area. public class GeoTargetArea : Google.Apis.Requests.IDirectResponseSchema { @@ -4793,121 +4073,6 @@ public class ImpactedDestination : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// - /// Collection of information related to [inventory - /// verification](https://support.google.com/merchants/answer/14684499?hl=en&amp;ref_topic=15145634&amp;sjid=6892280366904591178-NC). - /// - public class InventoryVerification : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The name of the contact for the inventory verification process. - [Newtonsoft.Json.JsonPropertyAttribute("contact")] - public virtual string Contact { get; set; } - - /// Required. The email address of the contact for the inventory verification process. - [Newtonsoft.Json.JsonPropertyAttribute("contactEmail")] - public virtual string ContactEmail { get; set; } - - /// Output only. The state of the contact verification. - [Newtonsoft.Json.JsonPropertyAttribute("contactState")] - public virtual string ContactState { get; set; } - - /// Output only. The state of the inventory verification process. - [Newtonsoft.Json.JsonPropertyAttribute("state")] - public virtual string State { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Collection of information related to the LFP link. - public class LfpLink : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The account ID by which this merchant is known to the LFP provider. - [Newtonsoft.Json.JsonPropertyAttribute("externalAccountId")] - public virtual string ExternalAccountId { get; set; } - - /// Required. The ID of the LFP provider. - [Newtonsoft.Json.JsonPropertyAttribute("providerId")] - public virtual string ProviderId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Collection of information related to a Local Feed Partnership (LFP) provider. - public class LfpProvider : Google.Apis.Requests.IDirectResponseSchema - { - /// The display name of the LFP provider. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The ID of the LFP provider. - [Newtonsoft.Json.JsonPropertyAttribute("lfpProviderId")] - public virtual string LfpProviderId { get; set; } - - /// - /// Identifier. The resource name of the LFP provider. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}` - /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Output only. Region code defined by [CLDR](https://cldr.unicode.org/). - [Newtonsoft.Json.JsonPropertyAttribute("regionCode")] - public virtual string RegionCode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for the LinkGbpAccount method. - public class LinkGbpAccountRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The email address of the Business Profile account. - [Newtonsoft.Json.JsonPropertyAttribute("gbpEmail")] - public virtual string GbpEmail { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for the LinkGbpAccount method. - public class LinkGbpAccountResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Empty response. - [Newtonsoft.Json.JsonPropertyAttribute("response")] - public virtual Empty Response { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for the LinkLfpProvider method. - public class LinkLfpProviderRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The external account ID by which this merchant is known to the LFP provider. - [Newtonsoft.Json.JsonPropertyAttribute("externalAccountId")] - public virtual string ExternalAccountId { get; set; } - - /// Required. The id of the LFP provider to link. - [Newtonsoft.Json.JsonPropertyAttribute("lfpProviderId")] - public virtual string LfpProviderId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for the LinkLfpProvider method. - public class LinkLfpProviderResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Empty response. - [Newtonsoft.Json.JsonPropertyAttribute("response")] - public virtual Empty Response { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Response message for the `ListAccountIssues` method. public class ListAccountIssuesResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -4944,60 +4109,6 @@ public class ListAccountsResponse : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Response message for the ListGbpAccounts method. - public class ListGbpAccountsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The GBP accounts from the specified merchant in the specified country. - [Newtonsoft.Json.JsonPropertyAttribute("gbpAccounts")] - public virtual System.Collections.Generic.IList GbpAccounts { get; set; } - - /// - /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no - /// subsequent pages. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for the ListLfpProviders method. - public class ListLfpProvidersResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The LFP providers from the specified merchant in the specified country. - [Newtonsoft.Json.JsonPropertyAttribute("lfpProviders")] - public virtual System.Collections.Generic.IList LfpProviders { get; set; } - - /// - /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no - /// subsequent pages. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for the ListOmnichannelSettings method. - public class ListOmnichannelSettingsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no - /// subsequent pages. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The omnichannel settings from the specified merchant. - [Newtonsoft.Json.JsonPropertyAttribute("omnichannelSettings")] - public virtual System.Collections.Generic.IList OmnichannelSettings { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Response message for the `ListOnlineReturnPolicies` method. public class ListOnlineReturnPoliciesResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -5155,21 +4266,6 @@ public class LoyaltyProgramTiers : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Collection of information related to the Local Store Front (LSF) type. - public class LsfType : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The Local Store Front (LSF) type. - [Newtonsoft.Json.JsonPropertyAttribute("lsfType")] - public virtual string LsfTypeValue { get; set; } - - /// Output only. The state of the LSF. - [Newtonsoft.Json.JsonPropertyAttribute("state")] - public virtual string State { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Table of per store minimum order values for the pickup fulfillment type. public class MinimumOrderValueTable : Google.Apis.Requests.IDirectResponseSchema { @@ -5185,73 +4281,6 @@ public class MinimumOrderValueTable : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Collection of information related to the omnichannel settings of a merchant. - public class OmnichannelSetting : Google.Apis.Requests.IDirectResponseSchema - { - /// Optional. The about page URI and state for this country. - [Newtonsoft.Json.JsonPropertyAttribute("about")] - public virtual About About { get; set; } - - /// Optional. The inventory verification process state for this country. - [Newtonsoft.Json.JsonPropertyAttribute("inventoryVerification")] - public virtual InventoryVerification InventoryVerification { get; set; } - - /// Output only. The established link to a LFP provider. - [Newtonsoft.Json.JsonPropertyAttribute("lfpLink")] - public virtual LfpLink LfpLink { get; set; } - - /// - /// Optional. The Local Store Front ([LSF](https://support.google.com/merchants/answer/7178526)) type and state - /// for this country. - /// - [Newtonsoft.Json.JsonPropertyAttribute("lsfType")] - public virtual LsfType LsfType { get; set; } - - /// - /// Identifier. The resource name of the omnichannel setting. Format: - /// `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Optional. The on display to order (ODO) policy URI and state for this country. - [Newtonsoft.Json.JsonPropertyAttribute("odo")] - public virtual OnDisplayToOrder Odo { get; set; } - - /// Optional. The Pickup types asnd state for this country. - [Newtonsoft.Json.JsonPropertyAttribute("pickupTypes")] - public virtual System.Collections.Generic.IList PickupTypes { get; set; } - - /// Immutable. Region code defined by [CLDR](https://cldr.unicode.org/). - [Newtonsoft.Json.JsonPropertyAttribute("regionCode")] - public virtual string RegionCode { get; set; } - - /// Output only. The state of the omnichannel setting. - [Newtonsoft.Json.JsonPropertyAttribute("state")] - public virtual string State { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Collection of information related to the on display to order - /// ([ODO](https://support.google.com/merchants/answer/14615056?hl=en&amp;ref_topic=15145747&amp;sjid=6892280366904591178-NC)). - /// - public class OnDisplayToOrder : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The state of the URI. - [Newtonsoft.Json.JsonPropertyAttribute("state")] - public virtual string State { get; set; } - - /// Required. The on display to order (ODO) policy URI. - [Newtonsoft.Json.JsonPropertyAttribute("uri")] - public virtual string Uri { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// [Online return policy](https://support.google.com/merchants/answer/10220642) object. This is currently used to /// represent return policies for ads and free listings programs. @@ -5386,21 +4415,6 @@ public class PhoneNumber : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Collection of information related to the pickup type. - public class PickupType : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The type of the pickup. - [Newtonsoft.Json.JsonPropertyAttribute("pickupType")] - public virtual string PickupTypeValue { get; set; } - - /// Output only. The state of the PickupType. - [Newtonsoft.Json.JsonPropertyAttribute("state")] - public virtual string State { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// The available policies. public class Policy : Google.Apis.Requests.IDirectResponseSchema { @@ -5830,24 +4844,6 @@ public class Region : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Request message for the RequestInventoryVerification method. - public class RequestInventoryVerificationRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for the RequestInventoryVerification method. - public class RequestInventoryVerificationResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The omnichannel setting that was updated. - [Newtonsoft.Json.JsonPropertyAttribute("omnichannelSetting")] - public virtual OmnichannelSetting OmnichannelSetting { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Describes the terms of service which are required to be accepted. public class Required : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj index 5b71542e1f..19ef2f4e3a 100644 --- a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.accounts_v1beta Client Library - 1.68.0.3592 + 1.68.0.3595 Google LLC Copyright 2024 Google LLC Google From f4081f558c09ce32f0877375255880ce7d708c65 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:09:03 -0800 Subject: [PATCH 20/28] feat: Generate Google.Apis.Networkconnectivity.v1 version 1.68.0.3590 --- DiscoveryJson/networkconnectivity.v1.json | 182 ++++++++++++++- .../Google.Apis.Networkconnectivity.v1.cs | 213 +++++++++++++++++- .../Google.Apis.Networkconnectivity.v1.csproj | 2 +- 3 files changed, 376 insertions(+), 21 deletions(-) diff --git a/DiscoveryJson/networkconnectivity.v1.json b/DiscoveryJson/networkconnectivity.v1.json index bdf8083971..9818897a19 100644 --- a/DiscoveryJson/networkconnectivity.v1.json +++ b/DiscoveryJson/networkconnectivity.v1.json @@ -485,6 +485,57 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "queryStatus": { + "description": "Query PSC propagation status the status of a Network Connectivity Center hub.", + "flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}:queryStatus", + "httpMethod": "GET", + "id": "networkconnectivity.projects.locations.global.hubs.queryStatus", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of results. The filter can be used to filter the results by the following fields: * psc_propagation_status.source_spoke * psc_propagation_status.source_group * psc_propagation_status.source_forwarding_rule * psc_propagation_status.target_spoke * psc_propagation_status.target_group * psc_propagation_status.code * psc_propagation_status.message", + "location": "query", + "type": "string" + }, + "groupBy": { + "description": "Optional. A field that counts are grouped by. A comma-separated list of any of these fields: * psc_propagation_status.source_spoke * psc_propagation_status.source_group * psc_propagation_status.source_forwarding_rule * psc_propagation_status.target_spoke * psc_propagation_status.target_group * psc_propagation_status.code", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the hub.", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", + "required": true, + "type": "string" + }, + "orderBy": { + "description": "Optional. Sort the results in the ascending order by specific fields returned in the response. A comma-separated list of any of these fields: * psc_propagation_status.source_spoke * psc_propagation_status.source_group * psc_propagation_status.source_forwarding_rule * psc_propagation_status.target_spoke * psc_propagation_status.target_group * psc_propagation_status.code If `group_by` is set, the value of the `order_by` field must be the same as or a subset of the `group_by` field.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return per page.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}:queryStatus", + "response": { + "$ref": "QueryHubStatusResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "rejectSpoke": { "description": "Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the `ACTIVE` state, it transitions to the `INACTIVE` state and is no longer able to connect to other spokes that are attached to the hub.", "flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}:rejectSpoke", @@ -2812,7 +2863,7 @@ } } }, - "revision": "20241009", + "revision": "20241030", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AcceptHubSpokeRequest": { @@ -3475,6 +3526,26 @@ }, "type": "object" }, + "HubStatusEntry": { + "description": "The hub status entry.", + "id": "HubStatusEntry", + "properties": { + "count": { + "description": "The number of status. If group_by is not set in the request, the default is 1.", + "format": "int32", + "type": "integer" + }, + "groupBy": { + "description": "The same group_by field from the request.", + "type": "string" + }, + "pscPropagationStatus": { + "$ref": "PscPropagationStatus", + "description": "The PSC propagation status." + } + }, + "type": "object" + }, "InterconnectAttachment": { "description": "InterconnectAttachment that this route applies to.", "id": "InterconnectAttachment", @@ -3630,7 +3701,6 @@ "type": "object" }, "LinkedProducerVpcNetwork": { - "description": "Next ID: 7", "id": "LinkedProducerVpcNetwork", "properties": { "excludeExportRanges": { @@ -3640,6 +3710,13 @@ }, "type": "array" }, + "includeExportRanges": { + "description": "Optional. IP ranges allowed to be included from peering.", + "items": { + "type": "string" + }, + "type": "array" + }, "network": { "description": "Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with.", "type": "string" @@ -4562,6 +4639,77 @@ }, "type": "object" }, + "PscPropagationStatus": { + "description": "The PSC propagation status in a hub.", + "id": "PscPropagationStatus", + "properties": { + "code": { + "description": "The propagation status.", + "enum": [ + "CODE_UNSPECIFIED", + "READY", + "PROPAGATING", + "ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED", + "ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED", + "ERROR_PRODUCER_QUOTA_EXCEEDED", + "ERROR_CONSUMER_QUOTA_EXCEEDED" + ], + "enumDescriptions": [ + "The code is unspecified.", + "The propagated PSC connection is ready.", + "PSC connection is propagating. This is a transient state.", + "The PSC connection propagation failed because the VPC network or the project of the target spoke has exceeded the connection limit set by the producer.", + "The PSC connection propagation failed because the NAT IP subnet space has been exhausted. It is equivalent to the `Needs attention` status of the PSC connection. See https://cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#connection-statuses.", + "PSC connection propagation failed because the `PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK` quota in the producer VPC network has been exceeded.", + "The PSC connection propagation failed because the `PSC_PROPAGATED_CONNECTIONS_PER_VPC_NETWORK` quota in the consumer VPC network has been exceeded." + ], + "type": "string" + }, + "message": { + "description": "The human-readable summary of the PSC connection propagation status.", + "type": "string" + }, + "sourceForwardingRule": { + "description": "The name of the forwarding rule exported to the hub.", + "type": "string" + }, + "sourceGroup": { + "description": "The name of the group that the source spoke belongs to.", + "type": "string" + }, + "sourceSpoke": { + "description": "The name of the spoke that the source forwarding rule belongs to.", + "type": "string" + }, + "targetGroup": { + "description": "The name of the group that the target spoke belongs to.", + "type": "string" + }, + "targetSpoke": { + "description": "The name of the spoke that the source forwarding rule propagates to.", + "type": "string" + } + }, + "type": "object" + }, + "QueryHubStatusResponse": { + "description": "The response for HubService.QueryHubStatus.", + "id": "QueryHubStatusResponse", + "properties": { + "hubStatusEntries": { + "description": "The list of hub status.", + "items": { + "$ref": "HubStatusEntry" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.", + "type": "string" + } + }, + "type": "object" + }, "RegionalEndpoint": { "description": "The RegionalEndpoint resource.", "id": "RegionalEndpoint", @@ -4883,7 +5031,7 @@ "type": "object" }, "ServiceClass": { - "description": "The ServiceClass resource. Next id: 9", + "description": "The ServiceClass resource.", "id": "ServiceClass", "properties": { "createTime": { @@ -4926,7 +5074,7 @@ "type": "object" }, "ServiceConnectionMap": { - "description": "The ServiceConnectionMap resource. Next id: 15", + "description": "The ServiceConnectionMap resource.", "id": "ServiceConnectionMap", "properties": { "consumerPscConfigs": { @@ -5012,7 +5160,7 @@ "type": "object" }, "ServiceConnectionPolicy": { - "description": "The ServiceConnectionPolicy resource. Next id: 12", + "description": "The ServiceConnectionPolicy resource.", "id": "ServiceConnectionPolicy", "properties": { "createTime": { @@ -5083,7 +5231,7 @@ "type": "object" }, "ServiceConnectionToken": { - "description": "The ServiceConnectionToken resource. Next id: 10", + "description": "The ServiceConnectionToken resource.", "id": "ServiceConnectionToken", "properties": { "createTime": { @@ -5205,7 +5353,7 @@ "type": "string" }, "reasons": { - "description": "Output only. The reasons for current state of the spoke. Only present when the spoke is in the `INACTIVE` state.", + "description": "Output only. The reasons for current state of the spoke.", "items": { "$ref": "StateReason" }, @@ -5331,14 +5479,20 @@ "PENDING_REVIEW", "REJECTED", "PAUSED", - "FAILED" + "FAILED", + "UPDATE_PENDING_REVIEW", + "UPDATE_REJECTED", + "UPDATE_FAILED" ], "enumDescriptions": [ "No information available.", "The proposed spoke is pending review.", "The proposed spoke has been rejected by the hub administrator.", "The spoke has been deactivated internally.", - "Network Connectivity Center encountered errors while accepting the spoke." + "Network Connectivity Center encountered errors while accepting the spoke.", + "The proposed spoke update is pending review.", + "The proposed spoke update has been rejected by the hub administrator.", + "Network Connectivity Center encountered errors while accepting the spoke update." ], "readOnly": true, "type": "string" @@ -5422,14 +5576,20 @@ "PENDING_REVIEW", "REJECTED", "PAUSED", - "FAILED" + "FAILED", + "UPDATE_PENDING_REVIEW", + "UPDATE_REJECTED", + "UPDATE_FAILED" ], "enumDescriptions": [ "No information available.", "The proposed spoke is pending review.", "The proposed spoke has been rejected by the hub administrator.", "The spoke has been deactivated internally.", - "Network Connectivity Center encountered errors while accepting the spoke." + "Network Connectivity Center encountered errors while accepting the spoke.", + "The proposed spoke update is pending review.", + "The proposed spoke update has been rejected by the hub administrator.", + "Network Connectivity Center encountered errors while accepting the spoke update." ], "type": "string" }, diff --git a/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.cs b/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.cs index 37f5e531bc..b9ee732d93 100644 --- a/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.cs +++ b/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.cs @@ -1813,6 +1813,129 @@ protected override void InitParameters() } } + /// Query PSC propagation status the status of a Network Connectivity Center hub. + /// Required. The name of the hub. + public virtual QueryStatusRequest QueryStatus(string name) + { + return new QueryStatusRequest(this.service, name); + } + + /// Query PSC propagation status the status of a Network Connectivity Center hub. + public class QueryStatusRequest : NetworkconnectivityBaseServiceRequest + { + /// Constructs a new QueryStatus request. + public QueryStatusRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The name of the hub. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. An expression that filters the list of results. The filter can be used to filter + /// the results by the following fields: * psc_propagation_status.source_spoke * + /// psc_propagation_status.source_group * psc_propagation_status.source_forwarding_rule * + /// psc_propagation_status.target_spoke * psc_propagation_status.target_group * + /// psc_propagation_status.code * psc_propagation_status.message + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Optional. A field that counts are grouped by. A comma-separated list of any of these fields: + /// * psc_propagation_status.source_spoke * psc_propagation_status.source_group * + /// psc_propagation_status.source_forwarding_rule * psc_propagation_status.target_spoke * + /// psc_propagation_status.target_group * psc_propagation_status.code + /// + [Google.Apis.Util.RequestParameterAttribute("groupBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string GroupBy { get; set; } + + /// + /// Optional. Sort the results in the ascending order by specific fields returned in the + /// response. A comma-separated list of any of these fields: * + /// psc_propagation_status.source_spoke * psc_propagation_status.source_group * + /// psc_propagation_status.source_forwarding_rule * psc_propagation_status.target_spoke * + /// psc_propagation_status.target_group * psc_propagation_status.code If `group_by` is set, the + /// value of the `order_by` field must be the same as or a subset of the `group_by` field. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// Optional. The maximum number of results to return per page. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// Optional. The page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "queryStatus"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:queryStatus"; + + /// Initializes QueryStatus parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/global/hubs/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("groupBy", new Google.Apis.Discovery.Parameter + { + Name = "groupBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was /// previously in the `ACTIVE` state, it transitions to the `INACTIVE` state and is no longer able @@ -7346,6 +7469,25 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// The hub status entry. + public class HubStatusEntry : Google.Apis.Requests.IDirectResponseSchema + { + /// The number of status. If group_by is not set in the request, the default is 1. + [Newtonsoft.Json.JsonPropertyAttribute("count")] + public virtual System.Nullable Count { get; set; } + + /// The same group_by field from the request. + [Newtonsoft.Json.JsonPropertyAttribute("groupBy")] + public virtual string GroupBy { get; set; } + + /// The PSC propagation status. + [Newtonsoft.Json.JsonPropertyAttribute("pscPropagationStatus")] + public virtual PscPropagationStatus PscPropagationStatus { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// InterconnectAttachment that this route applies to. public class InterconnectAttachment : Google.Apis.Requests.IDirectResponseSchema { @@ -7557,13 +7699,16 @@ public class LinkedInterconnectAttachments : Google.Apis.Requests.IDirectRespons public virtual string ETag { get; set; } } - /// Next ID: 7 public class LinkedProducerVpcNetwork : Google.Apis.Requests.IDirectResponseSchema { /// Optional. IP ranges encompassing the subnets to be excluded from peering. [Newtonsoft.Json.JsonPropertyAttribute("excludeExportRanges")] public virtual System.Collections.Generic.IList ExcludeExportRanges { get; set; } + /// Optional. IP ranges allowed to be included from peering. + [Newtonsoft.Json.JsonPropertyAttribute("includeExportRanges")] + public virtual System.Collections.Generic.IList IncludeExportRanges { get; set; } + /// Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with. [Newtonsoft.Json.JsonPropertyAttribute("network")] public virtual string Network { get; set; } @@ -8599,6 +8744,59 @@ public class PscConnection : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// The PSC propagation status in a hub. + public class PscPropagationStatus : Google.Apis.Requests.IDirectResponseSchema + { + /// The propagation status. + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual string Code { get; set; } + + /// The human-readable summary of the PSC connection propagation status. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// The name of the forwarding rule exported to the hub. + [Newtonsoft.Json.JsonPropertyAttribute("sourceForwardingRule")] + public virtual string SourceForwardingRule { get; set; } + + /// The name of the group that the source spoke belongs to. + [Newtonsoft.Json.JsonPropertyAttribute("sourceGroup")] + public virtual string SourceGroup { get; set; } + + /// The name of the spoke that the source forwarding rule belongs to. + [Newtonsoft.Json.JsonPropertyAttribute("sourceSpoke")] + public virtual string SourceSpoke { get; set; } + + /// The name of the group that the target spoke belongs to. + [Newtonsoft.Json.JsonPropertyAttribute("targetGroup")] + public virtual string TargetGroup { get; set; } + + /// The name of the spoke that the source forwarding rule propagates to. + [Newtonsoft.Json.JsonPropertyAttribute("targetSpoke")] + public virtual string TargetSpoke { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response for HubService.QueryHubStatus. + public class QueryHubStatusResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The list of hub status. + [Newtonsoft.Json.JsonPropertyAttribute("hubStatusEntries")] + public virtual System.Collections.Generic.IList HubStatusEntries { get; set; } + + /// + /// The token for the next page of the response. To see more results, use this value as the page_token for your + /// next request. If this value is empty, there are no more results. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The RegionalEndpoint resource. public class RegionalEndpoint : Google.Apis.Requests.IDirectResponseSchema { @@ -9096,7 +9294,7 @@ public class RoutingVPC : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// The ServiceClass resource. Next id: 9 + /// The ServiceClass resource. public class ServiceClass : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -9204,7 +9402,7 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset } } - /// The ServiceConnectionMap resource. Next id: 15 + /// The ServiceConnectionMap resource. public class ServiceConnectionMap : Google.Apis.Requests.IDirectResponseSchema { /// The PSC configurations on consumer side. @@ -9339,7 +9537,7 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset } } - /// The ServiceConnectionPolicy resource. Next id: 12 + /// The ServiceConnectionPolicy resource. public class ServiceConnectionPolicy : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -9470,7 +9668,7 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset } } - /// The ServiceConnectionToken resource. Next id: 10 + /// The ServiceConnectionToken resource. public class ServiceConnectionToken : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -9731,10 +9929,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } - /// - /// Output only. The reasons for current state of the spoke. Only present when the spoke is in the `INACTIVE` - /// state. - /// + /// Output only. The reasons for current state of the spoke. [Newtonsoft.Json.JsonPropertyAttribute("reasons")] public virtual System.Collections.Generic.IList Reasons { get; set; } diff --git a/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.csproj b/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.csproj index 6d8f708e5d..1f56a07227 100644 --- a/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.csproj +++ b/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Networkconnectivity.v1 Client Library - 1.68.0.3569 + 1.68.0.3590 Google LLC Copyright 2024 Google LLC Google From 719106aa85b07dea1d51fcf4f08f3f56ccb376d4 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:09:07 -0800 Subject: [PATCH 21/28] feat: Generate Google.Apis.Networkconnectivity.v1alpha1 version 1.68.0.3590 --- DiscoveryJson/networkconnectivity.v1alpha1.json | 6 +++++- .../Google.Apis.Networkconnectivity.v1alpha1.cs | 6 ++++++ .../Google.Apis.Networkconnectivity.v1alpha1.csproj | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/networkconnectivity.v1alpha1.json b/DiscoveryJson/networkconnectivity.v1alpha1.json index faeef46995..4e4c971eb6 100644 --- a/DiscoveryJson/networkconnectivity.v1alpha1.json +++ b/DiscoveryJson/networkconnectivity.v1alpha1.json @@ -1116,7 +1116,7 @@ } } }, - "revision": "20241009", + "revision": "20241030", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { @@ -1382,6 +1382,10 @@ "description": "A description of this resource.", "type": "string" }, + "immutable": { + "description": "Optional. Immutable ranges cannot have their fields modified, except for labels and description.", + "type": "boolean" + }, "ipCidrRange": { "description": "IP range that this internal range defines. NOTE: IPv6 ranges are limited to usage=EXTERNAL_TO_VPC and peering=FOR_SELF. NOTE: For IPv6 Ranges this field is compulsory, i.e. the address range must be specified explicitly.", "type": "string" diff --git a/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.cs b/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.cs index c8d58285c0..08e04341e8 100644 --- a/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.cs +++ b/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.cs @@ -3040,6 +3040,12 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } + /// + /// Optional. Immutable ranges cannot have their fields modified, except for labels and description. + /// + [Newtonsoft.Json.JsonPropertyAttribute("immutable")] + public virtual System.Nullable Immutable { get; set; } + /// /// IP range that this internal range defines. NOTE: IPv6 ranges are limited to usage=EXTERNAL_TO_VPC and /// peering=FOR_SELF. NOTE: For IPv6 Ranges this field is compulsory, i.e. the address range must be specified diff --git a/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.csproj b/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.csproj index 230ee1a20c..48d49d0618 100644 --- a/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.Networkconnectivity.v1alpha1 Client Library - 1.68.0.3569 + 1.68.0.3590 Google LLC Copyright 2024 Google LLC Google From 8940884d234a86a985e04c84628e6d5aa781dabe Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:09:10 -0800 Subject: [PATCH 22/28] feat: Generate Google.Apis.PaymentsResellerSubscription.v1 version 1.68.0.3596 --- .../paymentsresellersubscription.v1.json | 119 +++++++++- ...le.Apis.PaymentsResellerSubscription.v1.cs | 219 ++++++++++++++++++ ...pis.PaymentsResellerSubscription.v1.csproj | 2 +- 3 files changed, 338 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/paymentsresellersubscription.v1.json b/DiscoveryJson/paymentsresellersubscription.v1.json index 3cfbe47e20..a25383d7dc 100644 --- a/DiscoveryJson/paymentsresellersubscription.v1.json +++ b/DiscoveryJson/paymentsresellersubscription.v1.json @@ -431,11 +431,43 @@ ] } } + }, + "userSessions": { + "methods": { + "generate": { + "description": "This API replaces user authorized OAuth consnet based APIs (Create, Entitle). Generates a short-lived token for a user session based on the user intent. You can use the session token to redirect the user to Google to finish the signup flow. You can re-generate new session token repeatedly for same request if necessary, regardless of the previous tokens being expired or not.", + "flatPath": "v1/partners/{partnersId}/userSessions:generate", + "httpMethod": "POST", + "id": "paymentsresellersubscription.partners.userSessions.generate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent, the partner that can resell. Format: partners/{partner}", + "location": "path", + "pattern": "^partners/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/userSessions:generate", + "request": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest" + }, + "response": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse" + }, + "scopes": [ + "openid" + ] + } + } } } } }, - "revision": "20240922", + "revision": "20241105", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { "GoogleCloudPaymentsResellerSubscriptionV1Amount": { @@ -506,6 +538,25 @@ }, "type": "object" }, + "GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent": { + "description": "Intent message for creating a Subscription resource.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent", + "properties": { + "parent": { + "description": "Required. The parent resource name, which is the identifier of the partner.", + "type": "string" + }, + "subscription": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1Subscription", + "description": "Required. The Subscription to be created." + }, + "subscriptionId": { + "description": "Required. Identifies the subscription resource on the Partner side. The value is restricted to 63 ASCII characters at the maximum. If a subscription was previously created with the same subscription_id, we will directly return that one.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudPaymentsResellerSubscriptionV1Duration": { "description": "Describes the length of a period of a time.", "id": "GoogleCloudPaymentsResellerSubscriptionV1Duration", @@ -534,6 +585,17 @@ }, "type": "object" }, + "GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent": { + "description": "Intent for entitling the previously provisioned subscription to an end user.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent", + "properties": { + "name": { + "description": "Required. The name of the subscription resource that is entitled to the current end user.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest": { "description": "LINT.IfChange Partner request for entitling the previously provisioned subscription to an end user. The end user identity is inferred from the request OAuth context.", "id": "GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest", @@ -681,6 +743,28 @@ }, "type": "object" }, + "GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest": { + "description": "[Preview only] Request to generate a user session.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest", + "properties": { + "intentPayload": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1IntentPayload", + "description": "The user intent to generate the user session." + } + }, + "type": "object" + }, + "GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse": { + "description": "[Preview only] Response that contains the details for generated user session.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse", + "properties": { + "userSession": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1UserSession", + "description": "The generated user session. The token size of proportional to the size of the intent payload. Therefore, please be mindful of keeping the request intent payload reasonably small." + } + }, + "type": "object" + }, "GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload": { "description": "Payload specific to Google One products.", "id": "GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload", @@ -735,6 +819,21 @@ }, "type": "object" }, + "GoogleCloudPaymentsResellerSubscriptionV1IntentPayload": { + "description": "The payload that describes the user intent.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1IntentPayload", + "properties": { + "createIntent": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent", + "description": "The request to create a subscription." + }, + "entitleIntent": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent", + "description": "The request to entitle a subscription." + } + }, + "type": "object" + }, "GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse": { "description": "Response that contains the products.", "id": "GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse", @@ -1406,6 +1505,24 @@ }, "type": "object" }, + "GoogleCloudPaymentsResellerSubscriptionV1UserSession": { + "description": "A user session contains a short-lived token that includes information required to interact with Google Payments Reseller Platform using the following web endpoints. - A user session token should be generated dynamically for an authenticated user. You should refrain from sharing a token directly with a user in an unauthenticated context, such as SMS, or email. - You can re-generate new session tokens repeatedly for same `generate` request if necessary, regardless of the previous tokens being expired or not. You don't need to worry about multiple sessions resulting in duplicate fulfillments as guaranteed by the same subscription id. Please refer to the [Google Managed Signup](/payments/reseller/subscription/reference/index/User.Signup.Integration/Google.Managed.Signup.\\(In.Preview\\)) documentation for additional integration details.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1UserSession", + "properties": { + "expireTime": { + "description": "Output only. The time at which the user session expires.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "token": { + "description": "Output only. The encrypted token of the user session, including the information of the user's intent and request. This token should be provided when redirecting the user to Google.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload": { "description": "Payload specific to Youtube products.", "id": "GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload", diff --git a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs index a90f201ac1..f2c29e9599 100644 --- a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs +++ b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs @@ -271,6 +271,7 @@ public PartnersResource(Google.Apis.Services.IClientService service) Products = new ProductsResource(service); Promotions = new PromotionsResource(service); Subscriptions = new SubscriptionsResource(service); + UserSessions = new UserSessionsResource(service); } /// Gets the Products resource. @@ -1089,6 +1090,89 @@ protected override void InitParameters() } } } + + /// Gets the UserSessions resource. + public virtual UserSessionsResource UserSessions { get; } + + /// The "userSessions" collection of methods. + public class UserSessionsResource + { + private const string Resource = "userSessions"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public UserSessionsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// This API replaces user authorized OAuth consnet based APIs (Create, Entitle). Generates a short-lived + /// token for a user session based on the user intent. You can use the session token to redirect the user to + /// Google to finish the signup flow. You can re-generate new session token repeatedly for same request if + /// necessary, regardless of the previous tokens being expired or not. + /// + /// The body of the request. + /// + /// Required. The parent, the partner that can resell. Format: partners/{partner} + /// + public virtual GenerateRequest Generate(Google.Apis.PaymentsResellerSubscription.v1.Data.GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest body, string parent) + { + return new GenerateRequest(this.service, body, parent); + } + + /// + /// This API replaces user authorized OAuth consnet based APIs (Create, Entitle). Generates a short-lived + /// token for a user session based on the user intent. You can use the session token to redirect the user to + /// Google to finish the signup flow. You can re-generate new session token repeatedly for same request if + /// necessary, regardless of the previous tokens being expired or not. + /// + public class GenerateRequest : PaymentsResellerSubscriptionBaseServiceRequest + { + /// Constructs a new Generate request. + public GenerateRequest(Google.Apis.Services.IClientService service, Google.Apis.PaymentsResellerSubscription.v1.Data.GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// Required. The parent, the partner that can resell. Format: partners/{partner} + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.PaymentsResellerSubscription.v1.Data.GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "generate"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/userSessions:generate"; + + /// Initializes Generate parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^partners/[^/]+$", + }); + } + } + } } } namespace Google.Apis.PaymentsResellerSubscription.v1.Data @@ -1142,6 +1226,29 @@ public class GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse public virtual string ETag { get; set; } } + /// Intent message for creating a Subscription resource. + public class GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The parent resource name, which is the identifier of the partner. + [Newtonsoft.Json.JsonPropertyAttribute("parent")] + public virtual string Parent { get; set; } + + /// Required. The Subscription to be created. + [Newtonsoft.Json.JsonPropertyAttribute("subscription")] + public virtual GoogleCloudPaymentsResellerSubscriptionV1Subscription Subscription { get; set; } + + /// + /// Required. Identifies the subscription resource on the Partner side. The value is restricted to 63 ASCII + /// characters at the maximum. If a subscription was previously created with the same subscription_id, we will + /// directly return that one. + /// + [Newtonsoft.Json.JsonPropertyAttribute("subscriptionId")] + public virtual string SubscriptionId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Describes the length of a period of a time. public class GoogleCloudPaymentsResellerSubscriptionV1Duration : Google.Apis.Requests.IDirectResponseSchema { @@ -1157,6 +1264,17 @@ public class GoogleCloudPaymentsResellerSubscriptionV1Duration : Google.Apis.Req public virtual string ETag { get; set; } } + /// Intent for entitling the previously provisioned subscription to an end user. + public class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The name of the subscription resource that is entitled to the current end user. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// LINT.IfChange Partner request for entitling the previously provisioned subscription to an end user. The end user /// identity is inferred from the request OAuth context. @@ -1439,6 +1557,31 @@ public class GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails public virtual string ETag { get; set; } } + /// [Preview only] Request to generate a user session. + public class GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The user intent to generate the user session. + [Newtonsoft.Json.JsonPropertyAttribute("intentPayload")] + public virtual GoogleCloudPaymentsResellerSubscriptionV1IntentPayload IntentPayload { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// [Preview only] Response that contains the details for generated user session. + public class GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The generated user session. The token size of proportional to the size of the intent payload. Therefore, + /// please be mindful of keeping the request intent payload reasonably small. + /// + [Newtonsoft.Json.JsonPropertyAttribute("userSession")] + public virtual GoogleCloudPaymentsResellerSubscriptionV1UserSession UserSession { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Payload specific to Google One products. public class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload : Google.Apis.Requests.IDirectResponseSchema { @@ -1462,6 +1605,21 @@ public class GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload : Google. public virtual string ETag { get; set; } } + /// The payload that describes the user intent. + public class GoogleCloudPaymentsResellerSubscriptionV1IntentPayload : Google.Apis.Requests.IDirectResponseSchema + { + /// The request to create a subscription. + [Newtonsoft.Json.JsonPropertyAttribute("createIntent")] + public virtual GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent CreateIntent { get; set; } + + /// The request to entitle a subscription. + [Newtonsoft.Json.JsonPropertyAttribute("entitleIntent")] + public virtual GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent EntitleIntent { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response that contains the products. public class GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -2440,6 +2598,67 @@ public class GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResp public virtual string ETag { get; set; } } + /// + /// A user session contains a short-lived token that includes information required to interact with Google Payments + /// Reseller Platform using the following web endpoints. - A user session token should be generated dynamically for + /// an authenticated user. You should refrain from sharing a token directly with a user in an unauthenticated + /// context, such as SMS, or email. - You can re-generate new session tokens repeatedly for same `generate` request + /// if necessary, regardless of the previous tokens being expired or not. You don't need to worry about multiple + /// sessions resulting in duplicate fulfillments as guaranteed by the same subscription id. Please refer to the + /// [Google Managed + /// Signup](/payments/reseller/subscription/reference/index/User.Signup.Integration/Google.Managed.Signup.\(In.Preview\)) + /// documentation for additional integration details. + /// + public class GoogleCloudPaymentsResellerSubscriptionV1UserSession : Google.Apis.Requests.IDirectResponseSchema + { + private string _expireTimeRaw; + + private object _expireTime; + + /// Output only. The time at which the user session expires. + [Newtonsoft.Json.JsonPropertyAttribute("expireTime")] + public virtual string ExpireTimeRaw + { + get => _expireTimeRaw; + set + { + _expireTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expireTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")] + public virtual object ExpireTime + { + get => _expireTime; + set + { + _expireTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expireTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpireTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpireTimeRaw); + set => ExpireTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Output only. The encrypted token of the user session, including the information of the user's intent and + /// request. This token should be provided when redirecting the user to Google. + /// + [Newtonsoft.Json.JsonPropertyAttribute("token")] + public virtual string Token { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Payload specific to Youtube products. public class GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj index 24414016ca..f150bdaf84 100644 --- a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj +++ b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PaymentsResellerSubscription.v1 Client Library - 1.68.0.3552 + 1.68.0.3596 Google LLC Copyright 2024 Google LLC Google From c670b1e91d950921196914e612cd549d9a7f4cb8 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:09:13 -0800 Subject: [PATCH 23/28] feat: Generate Google.Apis.MapsPlaces.v1 version 1.68.0.3597 --- DiscoveryJson/places.v1.json | 66 +++++++- .../Google.Apis.MapsPlaces.v1.cs | 151 ++++++++++++++++++ .../Google.Apis.MapsPlaces.v1.csproj | 2 +- 3 files changed, 217 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/places.v1.json b/DiscoveryJson/places.v1.json index 5a5d5a290b..1389571fcb 100644 --- a/DiscoveryJson/places.v1.json +++ b/DiscoveryJson/places.v1.json @@ -280,7 +280,7 @@ } } }, - "revision": "20241029", + "revision": "20241106", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -435,6 +435,10 @@ "description": "Request proto for AutocompletePlaces.", "id": "GoogleMapsPlacesV1AutocompletePlacesRequest", "properties": { + "includePureServiceAreaBusinesses": { + "description": "Optional. Include pure service area businesses if the field is set to true. Pure service area business is a business that visits or delivers to customers directly but does not serve customers at their business address. For example, businesses like cleaning services or plumbers. Those businesses do not have a physical address or location on Google Maps. Places will not return fields including `location`, `plus_code`, and other location related fields for these businesses.", + "type": "boolean" + }, "includeQueryPredictions": { "description": "Optional. If true, the response will include both Place and query predictions. Otherwise the response will only return Place predictions.", "type": "boolean" @@ -1036,6 +1040,7 @@ "type": "array" }, "businessStatus": { + "description": "The business status for the place.", "enum": [ "BUSINESS_STATUS_UNSPECIFIED", "OPERATIONAL", @@ -1050,6 +1055,13 @@ ], "type": "string" }, + "containingPlaces": { + "description": "List of places in which the current place is located.", + "items": { + "$ref": "GoogleMapsPlacesV1PlaceContainingPlace" + }, + "type": "array" + }, "curbsidePickup": { "description": "Specifies if the business supports curbside pickup.", "type": "boolean" @@ -1196,6 +1208,10 @@ ], "type": "string" }, + "priceRange": { + "$ref": "GoogleMapsPlacesV1PriceRange", + "description": "The price range associated with a Place." + }, "primaryType": { "description": "The primary type of the given result. This type must one of the Places API supported types. For example, \"restaurant\", \"cafe\", \"airport\", etc. A place can only have a single primary type. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types", "type": "string" @@ -1204,6 +1220,10 @@ "$ref": "GoogleTypeLocalizedText", "description": "The display name of the primary type, localized to the request language if applicable. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types" }, + "pureServiceAreaBusiness": { + "description": "Indicates whether the place is a pure service area business. Pure service area business is a business that visits or delivers to customers directly but does not serve customers at their business address. For example, businesses like cleaning services or plumbers. Those businesses may not have a physical address or location on Google Maps.", + "type": "boolean" + }, "rating": { "description": "A rating between 1.0 and 5.0, based on user reviews of this place.", "format": "double", @@ -1400,6 +1420,21 @@ }, "type": "object" }, + "GoogleMapsPlacesV1PlaceContainingPlace": { + "description": "Info about the place in which this place is located.", + "id": "GoogleMapsPlacesV1PlaceContainingPlace", + "properties": { + "id": { + "description": "The place id of the place in which this place is located.", + "type": "string" + }, + "name": { + "description": "The resource name of the place in which this place is located.", + "type": "string" + } + }, + "type": "object" + }, "GoogleMapsPlacesV1PlaceGenerativeSummary": { "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. AI-generated summary of the place.", "id": "GoogleMapsPlacesV1PlaceGenerativeSummary", @@ -1458,6 +1493,16 @@ "description": "Information about business hour of the place.", "id": "GoogleMapsPlacesV1PlaceOpeningHours", "properties": { + "nextCloseTime": { + "description": "The next time the current opening hours period ends up to 7 days in the future. This field is only populated if the opening hours period is active at the time of serving the request.", + "format": "google-datetime", + "type": "string" + }, + "nextOpenTime": { + "description": "The next time the current opening hours period starts up to 7 days in the future. This field is only populated if the opening hours period is not active at the time of serving the request.", + "format": "google-datetime", + "type": "string" + }, "openNow": { "description": "Whether the opening hours period is currently active. For regular opening hours and current opening hours, this field means whether the place is open. For secondary opening hours and current secondary opening hours, this field means whether the secondary hours of this place is active.", "type": "boolean" @@ -1677,6 +1722,21 @@ }, "type": "object" }, + "GoogleMapsPlacesV1PriceRange": { + "description": "The price range associated with a Place. `end_price` could be unset, which indicates a range without upper bound (e.g. \"More than $100\").", + "id": "GoogleMapsPlacesV1PriceRange", + "properties": { + "endPrice": { + "$ref": "GoogleTypeMoney", + "description": "The high end of the price range (exclusive). Price should be lower than this amount." + }, + "startPrice": { + "$ref": "GoogleTypeMoney", + "description": "The low end of the price range (inclusive). Price should be at or above this amount." + } + }, + "type": "object" + }, "GoogleMapsPlacesV1References": { "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. Reference that the generative content is related to.", "id": "GoogleMapsPlacesV1References", @@ -1960,6 +2020,10 @@ "$ref": "GoogleMapsPlacesV1SearchTextRequestEVOptions", "description": "Optional. Set the searchable EV options of a place search request." }, + "includePureServiceAreaBusinesses": { + "description": "Optional. Include pure service area businesses if the field is set to true. Pure service area business is a business that visits or delivers to customers directly but does not serve customers at their business address. For example, businesses like cleaning services or plumbers. Those businesses do not have a physical address or location on Google Maps. Places will not return fields including `location`, `plus_code`, and other location related fields for these businesses.", + "type": "boolean" + }, "includedType": { "description": "The requested place type. Full list of types supported: https://developers.google.com/maps/documentation/places/web-service/place-types. Only support one included type.", "type": "string" diff --git a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs index 34dd23e3dc..dc38f1b5ee 100644 --- a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs +++ b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs @@ -816,6 +816,16 @@ public class GoogleMapsPlacesV1AuthorAttribution : Google.Apis.Requests.IDirectR /// Request proto for AutocompletePlaces. public class GoogleMapsPlacesV1AutocompletePlacesRequest : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional. Include pure service area businesses if the field is set to true. Pure service area business is a + /// business that visits or delivers to customers directly but does not serve customers at their business + /// address. For example, businesses like cleaning services or plumbers. Those businesses do not have a physical + /// address or location on Google Maps. Places will not return fields including `location`, `plus_code`, and + /// other location related fields for these businesses. + /// + [Newtonsoft.Json.JsonPropertyAttribute("includePureServiceAreaBusinesses")] + public virtual System.Nullable IncludePureServiceAreaBusinesses { get; set; } + /// /// Optional. If true, the response will include both Place and query predictions. Otherwise the response will /// only return Place predictions. @@ -1549,9 +1559,14 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("attributions")] public virtual System.Collections.Generic.IList Attributions { get; set; } + /// The business status for the place. [Newtonsoft.Json.JsonPropertyAttribute("businessStatus")] public virtual string BusinessStatus { get; set; } + /// List of places in which the current place is located. + [Newtonsoft.Json.JsonPropertyAttribute("containingPlaces")] + public virtual System.Collections.Generic.IList ContainingPlaces { get; set; } + /// Specifies if the business supports curbside pickup. [Newtonsoft.Json.JsonPropertyAttribute("curbsidePickup")] public virtual System.Nullable CurbsidePickup { get; set; } @@ -1710,6 +1725,10 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("priceLevel")] public virtual string PriceLevel { get; set; } + /// The price range associated with a Place. + [Newtonsoft.Json.JsonPropertyAttribute("priceRange")] + public virtual GoogleMapsPlacesV1PriceRange PriceRange { get; set; } + /// /// The primary type of the given result. This type must one of the Places API supported types. For example, /// "restaurant", "cafe", "airport", etc. A place can only have a single primary type. For the complete list of @@ -1727,6 +1746,15 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("primaryTypeDisplayName")] public virtual GoogleTypeLocalizedText PrimaryTypeDisplayName { get; set; } + /// + /// Indicates whether the place is a pure service area business. Pure service area business is a business that + /// visits or delivers to customers directly but does not serve customers at their business address. For + /// example, businesses like cleaning services or plumbers. Those businesses may not have a physical address or + /// location on Google Maps. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pureServiceAreaBusiness")] + public virtual System.Nullable PureServiceAreaBusiness { get; set; } + /// A rating between 1.0 and 5.0, based on user reviews of this place. [Newtonsoft.Json.JsonPropertyAttribute("rating")] public virtual System.Nullable Rating { get; set; } @@ -1936,6 +1964,21 @@ public class GoogleMapsPlacesV1PlaceAttribution : Google.Apis.Requests.IDirectRe public virtual string ETag { get; set; } } + /// Info about the place in which this place is located. + public class GoogleMapsPlacesV1PlaceContainingPlace : Google.Apis.Requests.IDirectResponseSchema + { + /// The place id of the place in which this place is located. + [Newtonsoft.Json.JsonPropertyAttribute("id")] + public virtual string Id { get; set; } + + /// The resource name of the place in which this place is located. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Experimental: See /// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more @@ -2009,6 +2052,86 @@ public class GoogleMapsPlacesV1PlaceGoogleMapsLinks : Google.Apis.Requests.IDire /// Information about business hour of the place. public class GoogleMapsPlacesV1PlaceOpeningHours : Google.Apis.Requests.IDirectResponseSchema { + private string _nextCloseTimeRaw; + + private object _nextCloseTime; + + /// + /// The next time the current opening hours period ends up to 7 days in the future. This field is only populated + /// if the opening hours period is active at the time of serving the request. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextCloseTime")] + public virtual string NextCloseTimeRaw + { + get => _nextCloseTimeRaw; + set + { + _nextCloseTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _nextCloseTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use NextCloseTimeDateTimeOffset instead.")] + public virtual object NextCloseTime + { + get => _nextCloseTime; + set + { + _nextCloseTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _nextCloseTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? NextCloseTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(NextCloseTimeRaw); + set => NextCloseTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + private string _nextOpenTimeRaw; + + private object _nextOpenTime; + + /// + /// The next time the current opening hours period starts up to 7 days in the future. This field is only + /// populated if the opening hours period is not active at the time of serving the request. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextOpenTime")] + public virtual string NextOpenTimeRaw + { + get => _nextOpenTimeRaw; + set + { + _nextOpenTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _nextOpenTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use NextOpenTimeDateTimeOffset instead.")] + public virtual object NextOpenTime + { + get => _nextOpenTime; + set + { + _nextOpenTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _nextOpenTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? NextOpenTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(NextOpenTimeRaw); + set => NextOpenTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + /// /// Whether the opening hours period is currently active. For regular opening hours and current opening hours, /// this field means whether the place is open. For secondary opening hours and current secondary opening hours, @@ -2234,6 +2357,24 @@ public class GoogleMapsPlacesV1Polyline : Google.Apis.Requests.IDirectResponseSc public virtual string ETag { get; set; } } + /// + /// The price range associated with a Place. `end_price` could be unset, which indicates a range without upper bound + /// (e.g. "More than $100"). + /// + public class GoogleMapsPlacesV1PriceRange : Google.Apis.Requests.IDirectResponseSchema + { + /// The high end of the price range (exclusive). Price should be lower than this amount. + [Newtonsoft.Json.JsonPropertyAttribute("endPrice")] + public virtual GoogleTypeMoney EndPrice { get; set; } + + /// The low end of the price range (inclusive). Price should be at or above this amount. + [Newtonsoft.Json.JsonPropertyAttribute("startPrice")] + public virtual GoogleTypeMoney StartPrice { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Experimental: See /// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more @@ -2593,6 +2734,16 @@ public class GoogleMapsPlacesV1SearchTextRequest : Google.Apis.Requests.IDirectR [Newtonsoft.Json.JsonPropertyAttribute("evOptions")] public virtual GoogleMapsPlacesV1SearchTextRequestEVOptions EvOptions { get; set; } + /// + /// Optional. Include pure service area businesses if the field is set to true. Pure service area business is a + /// business that visits or delivers to customers directly but does not serve customers at their business + /// address. For example, businesses like cleaning services or plumbers. Those businesses do not have a physical + /// address or location on Google Maps. Places will not return fields including `location`, `plus_code`, and + /// other location related fields for these businesses. + /// + [Newtonsoft.Json.JsonPropertyAttribute("includePureServiceAreaBusinesses")] + public virtual System.Nullable IncludePureServiceAreaBusinesses { get; set; } + /// /// The requested place type. Full list of types supported: /// https://developers.google.com/maps/documentation/places/web-service/place-types. Only support one included diff --git a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj index 691deff60d..913a6ec2b7 100644 --- a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj +++ b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MapsPlaces.v1 Client Library - 1.68.0.3589 + 1.68.0.3597 Google LLC Copyright 2024 Google LLC Google From 0393ca4e17e3559bc7be11b7d88530063d353863 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:09:17 -0800 Subject: [PATCH 24/28] feat: Generate Google.Apis.SA360.v0 version 1.68.0.3599 --- DiscoveryJson/searchads360.v0.json | 103 +++++++++++++++- .../Google.Apis.SA360.v0.cs | 111 ++++++++++++++++++ .../Google.Apis.SA360.v0.csproj | 2 +- 3 files changed, 214 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/searchads360.v0.json b/DiscoveryJson/searchads360.v0.json index 22fd45fb47..ae3328c6d7 100644 --- a/DiscoveryJson/searchads360.v0.json +++ b/DiscoveryJson/searchads360.v0.json @@ -260,7 +260,7 @@ } } }, - "revision": "20241002", + "revision": "20241108", "rootUrl": "https://searchads360.googleapis.com/", "schemas": { "GoogleAdsSearchads360V0Common__AdScheduleInfo": { @@ -4225,6 +4225,14 @@ "readOnly": true, "type": "string" }, + "effectiveLabels": { + "description": "Output only. The resource names of effective labels attached to this ad. An effective label is a label inherited or directly assigned to this ad.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "engineId": { "description": "Output only. ID of the ad in the external engine account. This field is for Search Ads 360 account only, for example, Yahoo Japan, Microsoft, Baidu etc. For non-Search Ads 360 entity, use \"ad_group_ad.ad.id\" instead.", "readOnly": true, @@ -4336,6 +4344,31 @@ }, "type": "object" }, + "GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel": { + "description": "A relationship between an ad group ad and an effective label. An effective label is a label inherited or directly assigned to this ad group ad.", + "id": "GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel", + "properties": { + "adGroupAd": { + "description": "Immutable. The ad group ad to which the effective label is attached.", + "type": "string" + }, + "label": { + "description": "Immutable. The effective label assigned to the ad group ad.", + "type": "string" + }, + "ownerCustomerId": { + "description": "Output only. The ID of the Customer which owns the effective label.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "resourceName": { + "description": "Immutable. The resource name of the ad group ad effective label. Ad group ad effective label resource names have the form: `customers/{customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}`", + "type": "string" + } + }, + "type": "object" + }, "GoogleAdsSearchads360V0Resources__AdGroupAdLabel": { "description": "A relationship between an ad group ad and a label.", "id": "GoogleAdsSearchads360V0Resources__AdGroupAdLabel", @@ -4505,6 +4538,14 @@ "readOnly": true, "type": "string" }, + "effectiveLabels": { + "description": "Output only. The resource names of effective labels attached to this ad group criterion. An effective label is a label inherited or directly assigned to this ad group criterion.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "engineId": { "description": "Output only. ID of the ad group criterion in the external engine account. This field is for non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use \"ad_group_criterion.criterion_id\" instead.", "readOnly": true, @@ -4764,6 +4805,31 @@ }, "type": "object" }, + "GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel": { + "description": "A relationship between an ad group criterion and an effective label. An effective label is a label inherited or directly assigned to this ad group criterion.", + "id": "GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel", + "properties": { + "adGroupCriterion": { + "description": "Immutable. The ad group criterion to which the effective label is attached.", + "type": "string" + }, + "label": { + "description": "Immutable. The effective label assigned to the ad group criterion.", + "type": "string" + }, + "ownerCustomerId": { + "description": "Output only. The ID of the Customer which owns the effective label.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "resourceName": { + "description": "Immutable. The resource name of the ad group criterion effective label. Ad group criterion effective label resource names have the form: `customers/{customer_id}/adGroupCriterionEffectiveLabels/{ad_group_id}~{criterion_id}~{label_id}`", + "type": "string" + } + }, + "type": "object" + }, "GoogleAdsSearchads360V0Resources__AdGroupCriterionLabel": { "description": "A relationship between an ad group criterion and a label.", "id": "GoogleAdsSearchads360V0Resources__AdGroupCriterionLabel", @@ -8099,6 +8165,29 @@ }, "type": "object" }, + "GoogleAdsSearchads360V0Resources__UserLocationView": { + "description": "A user location view. User Location View includes all metrics aggregated at the country level, one row per country. It reports metrics at the actual physical location of the user by targeted or not targeted location. If other segment fields are used, you may get more than one row per country.", + "id": "GoogleAdsSearchads360V0Resources__UserLocationView", + "properties": { + "countryCriterionId": { + "description": "Output only. Criterion Id for the country.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "resourceName": { + "description": "Output only. The resource name of the user location view. UserLocation view resource names have the form: `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}`", + "readOnly": true, + "type": "string" + }, + "targetingLocation": { + "description": "Output only. Indicates whether location was targeted or not.", + "readOnly": true, + "type": "boolean" + } + }, + "type": "object" + }, "GoogleAdsSearchads360V0Resources__Visit": { "description": "A visit.", "id": "GoogleAdsSearchads360V0Resources__Visit", @@ -8397,6 +8486,10 @@ "$ref": "GoogleAdsSearchads360V0Resources__AdGroupAd", "description": "The ad referenced in the query." }, + "adGroupAdEffectiveLabel": { + "$ref": "GoogleAdsSearchads360V0Resources__AdGroupAdEffectiveLabel", + "description": "The ad group ad effective label referenced in the query." + }, "adGroupAdLabel": { "$ref": "GoogleAdsSearchads360V0Resources__AdGroupAdLabel", "description": "The ad group ad label referenced in the query." @@ -8421,6 +8514,10 @@ "$ref": "GoogleAdsSearchads360V0Resources__AdGroupCriterion", "description": "The criterion referenced in the query." }, + "adGroupCriterionEffectiveLabel": { + "$ref": "GoogleAdsSearchads360V0Resources__AdGroupCriterionEffectiveLabel", + "description": "The ad group criterion effective label referenced in the query." + }, "adGroupCriterionLabel": { "$ref": "GoogleAdsSearchads360V0Resources__AdGroupCriterionLabel", "description": "The ad group criterion label referenced in the query." @@ -8604,6 +8701,10 @@ "$ref": "GoogleAdsSearchads360V0Resources__UserList", "description": "The user list referenced in the query." }, + "userLocationView": { + "$ref": "GoogleAdsSearchads360V0Resources__UserLocationView", + "description": "The user location view referenced in the query." + }, "visit": { "$ref": "GoogleAdsSearchads360V0Resources__Visit", "description": "The event level visit referenced in the query." diff --git a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs index a3b3e06080..70b71cdb64 100644 --- a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs +++ b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs @@ -3321,6 +3321,13 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupAd : Google.Apis.Requests.ID [Newtonsoft.Json.JsonPropertyAttribute("creationTime")] public virtual string CreationTime { get; set; } + /// + /// Output only. The resource names of effective labels attached to this ad. An effective label is a label + /// inherited or directly assigned to this ad. + /// + [Newtonsoft.Json.JsonPropertyAttribute("effectiveLabels")] + public virtual System.Collections.Generic.IList EffectiveLabels { get; set; } + /// /// Output only. ID of the ad in the external engine account. This field is for Search Ads 360 account only, for /// example, Yahoo Japan, Microsoft, Baidu etc. For non-Search Ads 360 entity, use "ad_group_ad.ad.id" instead. @@ -3361,6 +3368,35 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupAd : Google.Apis.Requests.ID public virtual string ETag { get; set; } } + /// + /// A relationship between an ad group ad and an effective label. An effective label is a label inherited or + /// directly assigned to this ad group ad. + /// + public class GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel : Google.Apis.Requests.IDirectResponseSchema + { + /// Immutable. The ad group ad to which the effective label is attached. + [Newtonsoft.Json.JsonPropertyAttribute("adGroupAd")] + public virtual string AdGroupAd { get; set; } + + /// Immutable. The effective label assigned to the ad group ad. + [Newtonsoft.Json.JsonPropertyAttribute("label")] + public virtual string Label { get; set; } + + /// Output only. The ID of the Customer which owns the effective label. + [Newtonsoft.Json.JsonPropertyAttribute("ownerCustomerId")] + public virtual System.Nullable OwnerCustomerId { get; set; } + + /// + /// Immutable. The resource name of the ad group ad effective label. Ad group ad effective label resource names + /// have the form: `customers/{customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] + public virtual string ResourceName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A relationship between an ad group ad and a label. public class GoogleAdsSearchads360V0ResourcesAdGroupAdLabel : Google.Apis.Requests.IDirectResponseSchema { @@ -3524,6 +3560,13 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupCriterion : Google.Apis.Requ [Newtonsoft.Json.JsonPropertyAttribute("effectiveCpcBidMicros")] public virtual System.Nullable EffectiveCpcBidMicros { get; set; } + /// + /// Output only. The resource names of effective labels attached to this ad group criterion. An effective label + /// is a label inherited or directly assigned to this ad group criterion. + /// + [Newtonsoft.Json.JsonPropertyAttribute("effectiveLabels")] + public virtual System.Collections.Generic.IList EffectiveLabels { get; set; } + /// /// Output only. ID of the ad group criterion in the external engine account. This field is for non-Google Ads /// account only, for example, Yahoo Japan, Microsoft, Baidu etc. For Google Ads entity, use @@ -3624,6 +3667,36 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupCriterion : Google.Apis.Requ public virtual string ETag { get; set; } } + /// + /// A relationship between an ad group criterion and an effective label. An effective label is a label inherited or + /// directly assigned to this ad group criterion. + /// + public class GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel : Google.Apis.Requests.IDirectResponseSchema + { + /// Immutable. The ad group criterion to which the effective label is attached. + [Newtonsoft.Json.JsonPropertyAttribute("adGroupCriterion")] + public virtual string AdGroupCriterion { get; set; } + + /// Immutable. The effective label assigned to the ad group criterion. + [Newtonsoft.Json.JsonPropertyAttribute("label")] + public virtual string Label { get; set; } + + /// Output only. The ID of the Customer which owns the effective label. + [Newtonsoft.Json.JsonPropertyAttribute("ownerCustomerId")] + public virtual System.Nullable OwnerCustomerId { get; set; } + + /// + /// Immutable. The resource name of the ad group criterion effective label. Ad group criterion effective label + /// resource names have the form: + /// `customers/{customer_id}/adGroupCriterionEffectiveLabels/{ad_group_id}~{criterion_id}~{label_id}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] + public virtual string ResourceName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A relationship between an ad group criterion and a label. public class GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel : Google.Apis.Requests.IDirectResponseSchema { @@ -6231,6 +6304,32 @@ public class GoogleAdsSearchads360V0ResourcesUserList : Google.Apis.Requests.IDi public virtual string ETag { get; set; } } + /// + /// A user location view. User Location View includes all metrics aggregated at the country level, one row per + /// country. It reports metrics at the actual physical location of the user by targeted or not targeted location. If + /// other segment fields are used, you may get more than one row per country. + /// + public class GoogleAdsSearchads360V0ResourcesUserLocationView : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. Criterion Id for the country. + [Newtonsoft.Json.JsonPropertyAttribute("countryCriterionId")] + public virtual System.Nullable CountryCriterionId { get; set; } + + /// + /// Output only. The resource name of the user location view. UserLocation view resource names have the form: + /// `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] + public virtual string ResourceName { get; set; } + + /// Output only. Indicates whether location was targeted or not. + [Newtonsoft.Json.JsonPropertyAttribute("targetingLocation")] + public virtual System.Nullable TargetingLocation { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A visit. public class GoogleAdsSearchads360V0ResourcesVisit : Google.Apis.Requests.IDirectResponseSchema { @@ -6447,6 +6546,10 @@ public class GoogleAdsSearchads360V0ServicesSearchAds360Row : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("adGroupAd")] public virtual GoogleAdsSearchads360V0ResourcesAdGroupAd AdGroupAd { get; set; } + /// The ad group ad effective label referenced in the query. + [Newtonsoft.Json.JsonPropertyAttribute("adGroupAdEffectiveLabel")] + public virtual GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel AdGroupAdEffectiveLabel { get; set; } + /// The ad group ad label referenced in the query. [Newtonsoft.Json.JsonPropertyAttribute("adGroupAdLabel")] public virtual GoogleAdsSearchads360V0ResourcesAdGroupAdLabel AdGroupAdLabel { get; set; } @@ -6471,6 +6574,10 @@ public class GoogleAdsSearchads360V0ServicesSearchAds360Row : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("adGroupCriterion")] public virtual GoogleAdsSearchads360V0ResourcesAdGroupCriterion AdGroupCriterion { get; set; } + /// The ad group criterion effective label referenced in the query. + [Newtonsoft.Json.JsonPropertyAttribute("adGroupCriterionEffectiveLabel")] + public virtual GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel AdGroupCriterionEffectiveLabel { get; set; } + /// The ad group criterion label referenced in the query. [Newtonsoft.Json.JsonPropertyAttribute("adGroupCriterionLabel")] public virtual GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel AdGroupCriterionLabel { get; set; } @@ -6651,6 +6758,10 @@ public class GoogleAdsSearchads360V0ServicesSearchAds360Row : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("userList")] public virtual GoogleAdsSearchads360V0ResourcesUserList UserList { get; set; } + /// The user location view referenced in the query. + [Newtonsoft.Json.JsonPropertyAttribute("userLocationView")] + public virtual GoogleAdsSearchads360V0ResourcesUserLocationView UserLocationView { get; set; } + /// The event level visit referenced in the query. [Newtonsoft.Json.JsonPropertyAttribute("visit")] public virtual GoogleAdsSearchads360V0ResourcesVisit Visit { get; set; } diff --git a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj index 65e78bb6ef..96f621b04a 100644 --- a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj +++ b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj @@ -3,7 +3,7 @@ Google.Apis.SA360.v0 Client Library - 1.68.0.3562 + 1.68.0.3599 Google LLC Copyright 2024 Google LLC Google From 0cdc4847a1e6dc94fda6c80320058e74ed3f2314 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:09:20 -0800 Subject: [PATCH 25/28] feat: Generate Google.Apis.ServiceNetworking.v1 version 1.68.0.3596 --- DiscoveryJson/servicenetworking.v1.json | 6 +++++- .../Google.Apis.ServiceNetworking.v1.cs | 8 ++++++++ .../Google.Apis.ServiceNetworking.v1.csproj | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/servicenetworking.v1.json b/DiscoveryJson/servicenetworking.v1.json index 76f22b085b..6217e857df 100644 --- a/DiscoveryJson/servicenetworking.v1.json +++ b/DiscoveryJson/servicenetworking.v1.json @@ -1029,7 +1029,7 @@ } } }, - "revision": "20241103", + "revision": "20241105", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -2194,6 +2194,10 @@ "description": "Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.", "id": "ExperimentalFeatures", "properties": { + "protobufPythonicTypesEnabled": { + "description": "Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.", + "type": "boolean" + }, "restAsyncIoEnabled": { "description": "Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.", "type": "boolean" diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs index 6ea3d0ebeb..1ad52c9d6c 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs @@ -3935,6 +3935,14 @@ public class EnumValue : Google.Apis.Requests.IDirectResponseSchema /// public class ExperimentalFeatures : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Enables generation of protobuf code using new types that are more Pythonic which are included in + /// `protobuf&gt;=5.29.x`. This feature will be enabled by default 1 month after launching the feature in + /// preview packages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("protobufPythonicTypesEnabled")] + public virtual System.Nullable ProtobufPythonicTypesEnabled { get; set; } + /// /// Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous /// REST clients will not be generated. This feature will be enabled by default 1 month after launching the diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj index 39848319f9..bd41c439fa 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceNetworking.v1 Client Library - 1.68.0.3594 + 1.68.0.3596 Google LLC Copyright 2024 Google LLC Google From de6637059bea572e33e3a8bd0b7cb074effecbde Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:09:23 -0800 Subject: [PATCH 26/28] feat: Generate Google.Apis.ServiceNetworking.v1beta version 1.68.0.3596 --- DiscoveryJson/servicenetworking.v1beta.json | 6 +++++- .../Google.Apis.ServiceNetworking.v1beta.cs | 8 ++++++++ .../Google.Apis.ServiceNetworking.v1beta.csproj | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/servicenetworking.v1beta.json b/DiscoveryJson/servicenetworking.v1beta.json index e604a27442..7cf565a38f 100644 --- a/DiscoveryJson/servicenetworking.v1beta.json +++ b/DiscoveryJson/servicenetworking.v1beta.json @@ -307,7 +307,7 @@ } } }, - "revision": "20241103", + "revision": "20241105", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -1289,6 +1289,10 @@ "description": "Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.", "id": "ExperimentalFeatures", "properties": { + "protobufPythonicTypesEnabled": { + "description": "Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.", + "type": "boolean" + }, "restAsyncIoEnabled": { "description": "Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.", "type": "boolean" diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs index 5bb25806f2..a9deee02d3 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs @@ -1898,6 +1898,14 @@ public class EnumValue : Google.Apis.Requests.IDirectResponseSchema /// public class ExperimentalFeatures : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Enables generation of protobuf code using new types that are more Pythonic which are included in + /// `protobuf&gt;=5.29.x`. This feature will be enabled by default 1 month after launching the feature in + /// preview packages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("protobufPythonicTypesEnabled")] + public virtual System.Nullable ProtobufPythonicTypesEnabled { get; set; } + /// /// Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous /// REST clients will not be generated. This feature will be enabled by default 1 month after launching the diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj index 52a7d3a399..462578ea3c 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceNetworking.v1beta Client Library - 1.68.0.3594 + 1.68.0.3596 Google LLC Copyright 2024 Google LLC Google From ad6d3a19f890f36bd9507479568eb1b0f0b9cdb3 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:09:26 -0800 Subject: [PATCH 27/28] feat: Generate Google.Apis.Testing.v1 version 1.68.0.3596 --- DiscoveryJson/testing.v1.json | 26 +++++++++++++++++-- .../Google.Apis.Testing.v1.cs | 22 +++++++++++++++- .../Google.Apis.Testing.v1.csproj | 2 +- 3 files changed, 46 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/testing.v1.json b/DiscoveryJson/testing.v1.json index b967907f13..c78c3e9ce8 100644 --- a/DiscoveryJson/testing.v1.json +++ b/DiscoveryJson/testing.v1.json @@ -449,7 +449,7 @@ } } }, - "revision": "20240917", + "revision": "20241105", "rootUrl": "https://testing.googleapis.com/", "schemas": { "Account": { @@ -972,12 +972,18 @@ "type": "array" }, "usesPermission": { - "description": "Permissions declared to be used by the application", "items": { "type": "string" }, "type": "array" }, + "usesPermissionTags": { + "description": "Permissions declared to be used by the application", + "items": { + "$ref": "UsesPermissionTag" + }, + "type": "array" + }, "versionCode": { "description": "Version number used internally by the app.", "format": "int64", @@ -2819,6 +2825,22 @@ }, "type": "object" }, + "UsesPermissionTag": { + "description": "The tag within a manifest. https://developer.android.com/guide/topics/manifest/uses-permission-element.html", + "id": "UsesPermissionTag", + "properties": { + "maxSdkVersion": { + "description": "The android:name value", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "The android:name value", + "type": "string" + } + }, + "type": "object" + }, "XcodeVersion": { "description": "An Xcode version that an iOS version is compatible with.", "id": "XcodeVersion", diff --git a/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.cs b/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.cs index 04087682ef..3e4c23b4ae 100644 --- a/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.cs +++ b/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.cs @@ -1573,10 +1573,13 @@ public class ApkManifest : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("usesFeature")] public virtual System.Collections.Generic.IList UsesFeature { get; set; } - /// Permissions declared to be used by the application [Newtonsoft.Json.JsonPropertyAttribute("usesPermission")] public virtual System.Collections.Generic.IList UsesPermission { get; set; } + /// Permissions declared to be used by the application + [Newtonsoft.Json.JsonPropertyAttribute("usesPermissionTags")] + public virtual System.Collections.Generic.IList UsesPermissionTags { get; set; } + /// Version number used internally by the app. [Newtonsoft.Json.JsonPropertyAttribute("versionCode")] public virtual System.Nullable VersionCode { get; set; } @@ -3437,6 +3440,23 @@ public class UsesFeature : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// The tag within a manifest. https://developer.android.com/guide/topics/manifest/uses-permission-element.html + /// + public class UsesPermissionTag : Google.Apis.Requests.IDirectResponseSchema + { + /// The android:name value + [Newtonsoft.Json.JsonPropertyAttribute("maxSdkVersion")] + public virtual System.Nullable MaxSdkVersion { get; set; } + + /// The android:name value + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// An Xcode version that an iOS version is compatible with. public class XcodeVersion : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj b/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj index d899cd8f30..c7affc80fa 100644 --- a/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj +++ b/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Testing.v1 Client Library - 1.68.0.3547 + 1.68.0.3596 Google LLC Copyright 2024 Google LLC Google From 048e02f8248a151e9e9dfc7d2a8e61639932477d Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Mon, 11 Nov 2024 01:09:30 -0800 Subject: [PATCH 28/28] feat: Generate Google.Apis.YouTube.v3 version 1.68.0.3596 --- DiscoveryJson/youtube.v3.json | 4 ++-- .../Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs | 2 +- .../Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/youtube.v3.json b/DiscoveryJson/youtube.v3.json index 085553dd66..e3c0596dc5 100644 --- a/DiscoveryJson/youtube.v3.json +++ b/DiscoveryJson/youtube.v3.json @@ -4133,7 +4133,7 @@ } } }, - "revision": "20241031", + "revision": "20241105", "rootUrl": "https://youtube.googleapis.com/", "schemas": { "AbuseReport": { @@ -11705,7 +11705,7 @@ "type": "string" }, "scheduledEndTime": { - "description": "The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to contiue indefinitely.", + "description": "The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then the broadcast is scheduled to continue indefinitely.", "format": "date-time", "type": "string" }, diff --git a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs index 7db40b077b..29c01f9276 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs +++ b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs @@ -17052,7 +17052,7 @@ public virtual System.DateTime? ActualStartTime /// /// The time that the broadcast is scheduled to end. If the value is empty or the property is not present, then - /// the broadcast is scheduled to contiue indefinitely. + /// the broadcast is scheduled to continue indefinitely. /// [Newtonsoft.Json.JsonPropertyAttribute("scheduledEndTime")] public virtual string ScheduledEndTimeRaw { get; set; } diff --git a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj index 7a9fc1e2b7..14d4fdce4b 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj +++ b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.YouTube.v3 Client Library - 1.68.0.3591 + 1.68.0.3596 Google LLC Copyright 2024 Google LLC Google