diff --git a/DiscoveryJson/admob_v1beta.json b/DiscoveryJson/admob_v1beta.json index 77ac8fb9735..e6da0c3e2c1 100644 --- a/DiscoveryJson/admob_v1beta.json +++ b/DiscoveryJson/admob_v1beta.json @@ -758,7 +758,7 @@ } } }, - "revision": "20230906", + "revision": "20230907", "rootUrl": "https://admob.googleapis.com/", "schemas": { "AdSource": { @@ -1075,6 +1075,7 @@ "DIMENSION_UNSPECIFIED", "DATE", "CAMPAIGN_ID", + "CAMPAIGN_NAME", "AD_ID", "AD_NAME", "PLACEMENT_ID", @@ -1087,6 +1088,7 @@ "Default value of an unspecified dimension. Do not use.", "A date in the YYYYMMDD format (for example, \"20210701\").", "The unique ID of the campaign, for example \"123456789\", which is consistent with the campaign id from campaign list api.", + "The name of the campaign.", "The unique ID of the ad, for example \"123456789\".", "The name of the ad, which may not be unique.", "The vendor-specific unique ID of the app where the ad is placed. For example, com.goog.bar for Android and 123456789 for iOS apps.", diff --git a/DiscoveryJson/analyticshub_v1.json b/DiscoveryJson/analyticshub_v1.json index f704759ead0..e7cf8735038 100644 --- a/DiscoveryJson/analyticshub_v1.json +++ b/DiscoveryJson/analyticshub_v1.json @@ -964,7 +964,7 @@ } } }, - "revision": "20230804", + "revision": "20230821", "rootUrl": "https://analyticshub.googleapis.com/", "schemas": { "AuditConfig": { @@ -1719,7 +1719,7 @@ "type": "object" }, "Subscription": { - "description": "A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets. TODO(b/267528977) Consider port the new resource to v1beta1 and dataexchange APIs.", + "description": "A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets.", "id": "Subscription", "properties": { "creationTime": { diff --git a/DiscoveryJson/analyticshub_v1beta1.json b/DiscoveryJson/analyticshub_v1beta1.json index 7259f21aab5..ff4a1ea4224 100644 --- a/DiscoveryJson/analyticshub_v1beta1.json +++ b/DiscoveryJson/analyticshub_v1beta1.json @@ -695,7 +695,7 @@ } } }, - "revision": "20230804", + "revision": "20230821", "rootUrl": "https://analyticshub.googleapis.com/", "schemas": { "AuditConfig": { @@ -1279,7 +1279,7 @@ "type": "object" }, "Subscription": { - "description": "A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets. TODO(b/267528977) Consider port the new resource to v1beta1 and dataexchange APIs.", + "description": "A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets.", "id": "Subscription", "properties": { "creationTime": { diff --git a/DiscoveryJson/artifactregistry_v1.json b/DiscoveryJson/artifactregistry_v1.json index bd528435529..f97fd2af6f8 100644 --- a/DiscoveryJson/artifactregistry_v1.json +++ b/DiscoveryJson/artifactregistry_v1.json @@ -1661,7 +1661,7 @@ } } }, - "revision": "20230809", + "revision": "20230905", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -3069,10 +3069,6 @@ "readOnly": true, "type": "boolean" }, - "sbomConfig": { - "$ref": "SbomConfig", - "description": "Optional. Config and state for sbom generation for resources within this Repository." - }, "sizeBytes": { "description": "Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.", "format": "int64", @@ -3092,33 +3088,6 @@ }, "type": "object" }, - "SbomConfig": { - "description": "Config for whether to generate SBOMs for resources in this repository, as well as output fields describing current state.", - "id": "SbomConfig", - "properties": { - "enablementConfig": { - "description": "Optional. Config for whether this repository has sbom generation disabled.", - "enum": [ - "ENABLEMENT_CONFIG_UNSPECIFIED", - "INHERITED", - "DISABLED" - ], - "enumDescriptions": [ - "Unspecified config was not set. This will be interpreted as DISABLED.", - "Inherited indicates the repository is allowed for SBOM generation, however the actual state will be inherited from the API enablement state.", - "Disabled indicates the repository will not generate SBOMs." - ], - "type": "string" - }, - "lastEnableTime": { - "description": "Output only. The last time this repository config was set to INHERITED.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", @@ -3360,7 +3329,7 @@ "id": "UploadYumArtifactResponse", "properties": { "yumArtifacts": { - "description": "The Apt artifacts updated.", + "description": "The Yum artifacts updated.", "items": { "$ref": "YumArtifact" }, diff --git a/DiscoveryJson/artifactregistry_v1beta2.json b/DiscoveryJson/artifactregistry_v1beta2.json index b61f0cb1053..23282535db6 100644 --- a/DiscoveryJson/artifactregistry_v1beta2.json +++ b/DiscoveryJson/artifactregistry_v1beta2.json @@ -1135,7 +1135,7 @@ } } }, - "revision": "20230803", + "revision": "20230905", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -1957,7 +1957,7 @@ "id": "UploadYumArtifactResponse", "properties": { "yumArtifacts": { - "description": "The Apt artifacts updated.", + "description": "The Yum artifacts updated.", "items": { "$ref": "YumArtifact" }, diff --git a/DiscoveryJson/beyondcorp_v1.json b/DiscoveryJson/beyondcorp_v1.json index c62e1ab8743..c9d7b069107 100644 --- a/DiscoveryJson/beyondcorp_v1.json +++ b/DiscoveryJson/beyondcorp_v1.json @@ -109,6 +109,194 @@ "resources": { "locations": { "resources": { + "global": { + "resources": { + "partnerTenants": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/organizations/{organizationsId}/locations/global/partnerTenants/{partnerTenantsId}:getIamPolicy", + "httpMethod": "GET", + "id": "beyondcorp.organizations.locations.global.partnerTenants.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/global/partnerTenants/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/organizations/{organizationsId}/locations/global/partnerTenants/{partnerTenantsId}:setIamPolicy", + "httpMethod": "POST", + "id": "beyondcorp.organizations.locations.global.partnerTenants.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/global/partnerTenants/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "GoogleIamV1SetIamPolicyRequest" + }, + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/organizations/{organizationsId}/locations/global/partnerTenants/{partnerTenantsId}:testIamPermissions", + "httpMethod": "POST", + "id": "beyondcorp.organizations.locations.global.partnerTenants.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/global/partnerTenants/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "GoogleIamV1TestIamPermissionsRequest" + }, + "response": { + "$ref": "GoogleIamV1TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "proxyConfigs": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/organizations/{organizationsId}/locations/global/partnerTenants/{partnerTenantsId}/proxyConfigs/{proxyConfigsId}:getIamPolicy", + "httpMethod": "GET", + "id": "beyondcorp.organizations.locations.global.partnerTenants.proxyConfigs.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/global/partnerTenants/[^/]+/proxyConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/organizations/{organizationsId}/locations/global/partnerTenants/{partnerTenantsId}/proxyConfigs/{proxyConfigsId}:setIamPolicy", + "httpMethod": "POST", + "id": "beyondcorp.organizations.locations.global.partnerTenants.proxyConfigs.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/global/partnerTenants/[^/]+/proxyConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "GoogleIamV1SetIamPolicyRequest" + }, + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/organizations/{organizationsId}/locations/global/partnerTenants/{partnerTenantsId}/proxyConfigs/{proxyConfigsId}:testIamPermissions", + "httpMethod": "POST", + "id": "beyondcorp.organizations.locations.global.partnerTenants.proxyConfigs.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/global/partnerTenants/[^/]+/proxyConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "GoogleIamV1TestIamPermissionsRequest" + }, + "response": { + "$ref": "GoogleIamV1TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + }, "operations": { "methods": { "cancel": { @@ -1525,7 +1713,7 @@ } } }, - "revision": "20230802", + "revision": "20230823", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { diff --git a/DiscoveryJson/beyondcorp_v1alpha.json b/DiscoveryJson/beyondcorp_v1alpha.json index 1e2aef648bf..78326116be8 100644 --- a/DiscoveryJson/beyondcorp_v1alpha.json +++ b/DiscoveryJson/beyondcorp_v1alpha.json @@ -2229,6 +2229,97 @@ } } }, + "applicationDomains": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applicationDomains/{applicationDomainsId}:getIamPolicy", + "httpMethod": "GET", + "id": "beyondcorp.projects.locations.applicationDomains.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/applicationDomains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+resource}:getIamPolicy", + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applicationDomains/{applicationDomainsId}:setIamPolicy", + "httpMethod": "POST", + "id": "beyondcorp.projects.locations.applicationDomains.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/applicationDomains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+resource}:setIamPolicy", + "request": { + "$ref": "GoogleIamV1SetIamPolicyRequest" + }, + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/applicationDomains/{applicationDomainsId}:testIamPermissions", + "httpMethod": "POST", + "id": "beyondcorp.projects.locations.applicationDomains.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/applicationDomains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+resource}:testIamPermissions", + "request": { + "$ref": "GoogleIamV1TestIamPermissionsRequest" + }, + "response": { + "$ref": "GoogleIamV1TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "applications": { "methods": { "getIamPolicy": { @@ -3583,7 +3674,7 @@ } } }, - "revision": "20230802", + "revision": "20230823", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { diff --git a/DiscoveryJson/bigquerydatatransfer_v1.json b/DiscoveryJson/bigquerydatatransfer_v1.json index d7954cb7581..4e113b50669 100644 --- a/DiscoveryJson/bigquerydatatransfer_v1.json +++ b/DiscoveryJson/bigquerydatatransfer_v1.json @@ -602,7 +602,7 @@ "type": "string" }, "name": { - "description": "The resource name of the transfer config. Transfer config names have the form `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. Where `config_id` is usually a uuid, even though it is not guaranteed or required. The name is ignored when creating a transfer config.", + "description": "The resource name of the transfer config. Transfer config names have the form either `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", "required": true, @@ -1050,7 +1050,7 @@ "type": "string" }, "name": { - "description": "The resource name of the transfer config. Transfer config names have the form `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. Where `config_id` is usually a uuid, even though it is not guaranteed or required. The name is ignored when creating a transfer config.", + "description": "The resource name of the transfer config. Transfer config names have the form either `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.", "location": "path", "pattern": "^projects/[^/]+/transferConfigs/[^/]+$", "required": true, @@ -1342,7 +1342,7 @@ } } }, - "revision": "20230722", + "revision": "20230905", "rootUrl": "https://bigquerydatatransfer.googleapis.com/", "schemas": { "CheckValidCredsRequest": { @@ -1922,7 +1922,7 @@ "description": "The encryption configuration part. Currently, it is only used for the optional KMS key name. The BigQuery service account of your project must be granted permissions to use the key. Read methods will return the key name applied in effect. Write methods will apply the key if it is present, or otherwise try to apply project default keys if it is absent." }, "name": { - "description": "The resource name of the transfer config. Transfer config names have the form `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. Where `config_id` is usually a uuid, even though it is not guaranteed or required. The name is ignored when creating a transfer config.", + "description": "The resource name of the transfer config. Transfer config names have the form either `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.", "type": "string" }, "nextRunTime": { diff --git a/DiscoveryJson/chat_v1.json b/DiscoveryJson/chat_v1.json index 862d71933d2..ce3bd52b268 100644 --- a/DiscoveryJson/chat_v1.json +++ b/DiscoveryJson/chat_v1.json @@ -955,7 +955,7 @@ } } }, - "revision": "20230829", + "revision": "20230905", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { @@ -3203,7 +3203,7 @@ "description": "If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [space](https://developers.google.com/chat/api/reference/rest/v1/spaces) `name`." }, "text": { - "description": "Plain-text body of the message. The first link to an image, video, or web page generates a preview chip. You can also @mention a Google Chat user, or everyone in the space. To learn about creating text messages, see [Create a text message](https://developers.google.com/chat/api/guides/message-formats/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/chat/how-tos/preview-links). You can also [@mention a Google Chat user](https://developers.google.com/chat/api/guides/message-formats/text#messages-@mention), or everyone in the space. To learn about creating text messages, see [Create a text message](https://developers.google.com/chat/api/guides/message-formats/text).", "type": "string" }, "thread": { diff --git a/DiscoveryJson/checks_v1alpha.json b/DiscoveryJson/checks_v1alpha.json index 4c76ee05d0f..cf281216a20 100644 --- a/DiscoveryJson/checks_v1alpha.json +++ b/DiscoveryJson/checks_v1alpha.json @@ -412,270 +412,23 @@ "supportsMediaUpload": true } } - }, - "privacypolicy": { - "methods": { - "analyze": { - "description": "Performs a synchronous analysis of a privacy policy, where the policy content is mapped to privacy categories, data types, and purposes.", - "flatPath": "v1alpha/privacypolicy:analyze", - "httpMethod": "POST", - "id": "checks.privacypolicy.analyze", - "parameterOrder": [], - "parameters": {}, - "path": "v1alpha/privacypolicy:analyze", - "request": { - "$ref": "AnalyzePrivacyPolicyRequest" - }, - "response": { - "$ref": "AnalyzePrivacyPolicyResponse" - } - } - } - }, - "projects": { - "resources": { - "privacypolicy": { - "resources": { - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v1alpha/projects/{projectsId}/privacypolicy/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "checks.projects.privacypolicy.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/privacypolicy/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:cancel", - "response": { - "$ref": "Empty" - } - }, - "delete": { - "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", - "flatPath": "v1alpha/projects/{projectsId}/privacypolicy/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "checks.projects.privacypolicy.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^projects/[^/]+/privacypolicy/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "Empty" - } - }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1alpha/projects/{projectsId}/privacypolicy/operations/{operationsId}", - "httpMethod": "GET", - "id": "checks.projects.privacypolicy.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^projects/[^/]+/privacypolicy/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}", - "response": { - "$ref": "Operation" - } - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", - "flatPath": "v1alpha/projects/{projectsId}/privacypolicy/operations", - "httpMethod": "GET", - "id": "checks.projects.privacypolicy.operations.list", - "parameterOrder": [ - "name" - ], - "parameters": { - "filter": { - "description": "The standard list filter.", - "location": "query", - "type": "string" - }, - "name": { - "description": "The name of the operation's parent resource.", - "location": "path", - "pattern": "^projects/[^/]+$", - "required": true, - "type": "string" - }, - "pageSize": { - "description": "The standard list page size.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "The standard list page token.", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}/privacypolicy/operations", - "response": { - "$ref": "ListOperationsResponse" - } - }, - "wait": { - "description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", - "flatPath": "v1alpha/projects/{projectsId}/privacypolicy/operations/{operationsId}:wait", - "httpMethod": "POST", - "id": "checks.projects.privacypolicy.operations.wait", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to wait on.", - "location": "path", - "pattern": "^projects/[^/]+/privacypolicy/operations/[^/]+$", - "required": true, - "type": "string" - }, - "timeout": { - "description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", - "format": "google-duration", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}:wait", - "response": { - "$ref": "Operation" - } - } - } - } - } - } - } } }, - "revision": "20230831", + "revision": "20230907", "rootUrl": "https://checks.googleapis.com/", "schemas": { - "AnalyzePrivacyPolicyRequest": { - "description": "Request for the AnalyzePrivacyPolicy method.", - "id": "AnalyzePrivacyPolicyRequest", - "properties": { - "privacyPolicyPageContent": { - "description": "The HTML content of the privacy policy. This is useful if you'd like to manage the crawling and rendering of the privacy policy.", - "type": "string" - }, - "privacyPolicyUri": { - "description": "The URI that points to the web page for the privacy policy.", - "type": "string" - } - }, - "type": "object" - }, - "AnalyzePrivacyPolicyResponse": { - "description": "Response containing the analyzed privacy policy for the AnalyzePrivacyPolicy method.", - "id": "AnalyzePrivacyPolicyResponse", - "properties": { - "dataPurposeAnnotations": { - "description": "A list of detected purposes in the privacy policy.", - "items": { - "$ref": "PolicyPurposeOfUseAnnotation" - }, - "type": "array" - }, - "dataTypeAnnotations": { - "description": "A list of detected data types in the privacy policy.", - "items": { - "$ref": "PolicyDataTypeAnnotation" - }, - "type": "array" - }, - "htmlContent": { - "description": "HTML content for the privacy policy page. The byte offsets in each annotated section will match this content.", - "type": "string" - }, - "lastUpdatedDateInfo": { - "$ref": "LastUpdatedDate", - "description": "Information about the date when the privacy policy was last updated." - }, - "sectionAnnotations": { - "description": "A list of detected topics in the privacy policy.", - "items": { - "$ref": "PolicySectionAnnotation" - }, - "type": "array" - } - }, - "type": "object" - }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", "properties": {}, "type": "object" }, - "Date": { - "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", - "id": "Date", - "properties": { - "day": { - "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", - "format": "int32", - "type": "integer" - }, - "month": { - "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", - "format": "int32", - "type": "integer" - }, - "year": { - "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", "properties": {}, "type": "object" }, - "FindPrivacyPolicyResponse": { - "description": "Response containing the analyzed privacy policy for the FindPrivacyPolicy method.", - "id": "FindPrivacyPolicyResponse", - "properties": { - "privacyPolicy": { - "description": "Resource name of the PrivacyPolicy that was found.", - "type": "string" - } - }, - "type": "object" - }, "GoogleChecksAccountV1alphaApp": { "description": "Represents an app in Checks.", "id": "GoogleChecksAccountV1alphaApp", @@ -1878,31 +1631,6 @@ }, "type": "object" }, - "LastUpdatedDate": { - "description": "Information about the date when the privacy policy was last updated.", - "id": "LastUpdatedDate", - "properties": { - "endOffset": { - "description": "Byte offsets for the end of the date text inside the full text.", - "format": "int64", - "type": "string" - }, - "lastUpdatedDate": { - "$ref": "Date", - "description": "Date when the privacy policy was last updated." - }, - "startOffset": { - "description": "Byte offsets for the start of the date text inside the full text.", - "format": "int64", - "type": "string" - }, - "textContent": { - "description": "The bytes of actual text content in the section. Note: - This will correspond to the whole sentence that includes the date. - This field might contain HTML and it is not sanitized.", - "type": "string" - } - }, - "type": "object" - }, "ListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "ListOperationsResponse", @@ -1956,303 +1684,6 @@ }, "type": "object" }, - "PolicyDataTypeAnnotation": { - "id": "PolicyDataTypeAnnotation", - "properties": { - "dataType": { - "description": "Type of the data mentioned in the policy.", - "enum": [ - "DATA_TYPE_UNSPECIFIED", - "CONTACT_INFO_NAME", - "CONTACT_INFO_EMAIL_ADDRESS", - "CONTACT_INFO_PHONE_NUMBER", - "CONTACT_INFO_MAILING_ADDRESS", - "CONTACT_INFO_OTHER", - "IDENTITY_INFO_OTHER", - "USER_CONTENT_EMAIL_MESSAGES", - "USER_CONTENT_TEXT_MESSAGES", - "USER_CONTENT_OTHER_IN_APP_MESSAGES", - "USER_CONTENT_PHOTOS", - "USER_CONTENT_VIDEOS", - "USER_CONTENT_MUSIC_FILES", - "USER_CONTENT_VOICE_OR_SOUND_RECORDINGS", - "USER_CONTENT_OTHER_AUDIO_FILES", - "USER_CONTENT_FILES_AND_DOCS", - "USER_CONTENT_GAMEPLAY_DATA", - "USER_CONTENT_CUSTOMER_SUPPORT", - "COOKIES_AND_TRACKING_ELEMENTS", - "BROWSING_HISTORY", - "SEARCH_HISTORY", - "PURCHASE_HISTORY", - "PRODUCT_INTERACTION", - "USER_GENERATED_CONTENT_OTHER", - "IN_APP_ACTIONS_OTHER", - "ADVERTISING", - "APP_CRASH_LOGS", - "APP_DIAGNOSTICS", - "APP_PERFORMANCE_OTHER", - "USER_IDENTIFIERS", - "DEVICE_IDENTIFIERS", - "IP_ADDRESS", - "CONTACTS", - "AUTHENTICATION_DATA", - "CALENDAR_EVENTS_OR_NOTES", - "HEALTH", - "FITNESS", - "LOCATION_PRECISE", - "LOCATION_COARSE", - "LOCATION_GENERAL", - "APPS_ON_DEVICE", - "FINANCIAL_PAYMENT_INFO", - "FINANCIAL_CREDIT_INFO", - "FINANCIAL_OTHER", - "PERSONAL_INFO_RACE_AND_ETHNICITY", - "PERSONAL_INFO_POLITICAL_OR_RELIGIOUS_BELIEFS", - "PERSONAL_INFO_SEXUAL_ORIENTATION", - "PERSONAL_INFO_OTHER", - "GENERIC_PERSONAL_INFORMATION", - "UNSPECIFIED_INFORMATION", - "OTHER_DATA" - ], - "enumDescriptions": [ - "Default value. Checks cannot determine specific data type.", - "Data type on the privacy policy describing Contact Info: name.", - "Data type on the privacy policy describing Contact Info: email address.", - "Data type on the privacy policy describing Contact Info: phone number.", - "Data type on the privacy policy describing Contact Info: mailing address.", - "Data type on the privacy policy describing Contact Info: other.", - "Data type on the privacy policy describing Identity Info: other.", - "Data type on the privacy policy describing User Content: email messages.", - "Data type on the privacy policy describing User Content: text messages.", - "Data type on the privacy policy describing User Content: other in-app messages.", - "Data type on the privacy policy describing User Content: photos.", - "Data type on the privacy policy describing User Content: videos.", - "Data type on the privacy policy describing User Content: music files.", - "Data type on the privacy policy describing User Content: voice or sound recordings.", - "Data type on the privacy policy describing User Content: other audio files.", - "Data type on the privacy policy describing User Content: files or documents.", - "Data type on the privacy policy describing User Content: gameplay data.", - "Data type on the privacy policy describing User Content: customer support.", - "Data type on the privacy policy describing Cookies and other tracking elements, e.g. web beacons.", - "Data type on the privacy policy describing Browsing History.", - "Data type on the privacy policy describing Search History.", - "Data type on the privacy policy describing Purchase History.", - "Data type on the privacy policy describing Product Interaction data.", - "Data type on the privacy policy describing other User Generated Content.", - "Data type on the privacy policy describing other In App Actions.", - "Data type on the privacy policy describing Advertising data.", - "Data type on the privacy policy describing Crash Logs data.", - "Data type on the privacy policy describing App Diagnostics data.", - "Data type on the privacy policy describing other App Performance data.", - "Data type on the privacy policy describing User or account-level IDs.", - "Data type on the privacy policy describing device-level IDs.", - "Data type on the privacy policy describing IP Addresses.", - "Data type on the privacy policy describing Contacts data.", - "Data type on the privacy policy describing Authentication data, e.g. passwords.", - "Data type on the privacy policy describing Calendar events or notes.", - "Data type on the privacy policy describing Health data.", - "Data type on the privacy policy describing Fitness data.", - "Data type on the privacy policy describing Precise Location data.", - "Data type on the privacy policy describing Coarse Location data.", - "Data type on the privacy policy describing general Location data, without specifying precise or coarse.", - "Data type on the privacy policy describing Apps on Device.", - "Data type on the privacy policy describing Financial Payment info.", - "Data type on the privacy policy describing Financial Credit info.", - "Data type on the privacy policy describing Financial other data.", - "Data type on the privacy policy describing a user\u2019s race or ethnicity.", - "Data type on the privacy policy describing a user\u2019s political or religious beliefs.", - "Data type on the privacy policy describing a user\u2019s sexual orientation.", - "Data type on the privacy policy describing Personal Info other.", - "Data type on the privacy policy describing generic personal information, e.g. \"we collection your personal information.\"", - "Data type on the privacy policy describing information in general with no speicific type, e.g. \"we collect information you voluntarily provide.\"", - "Data type on the privacy policy describing specific types of data that are not covered by others labels, or ambiguous cases where no clear type exists, e.g. \"we collect your movement data,\" which could be location, fitness, or even product interaction, depending on the context." - ], - "type": "string" - }, - "endOffset": { - "description": "Byte offsets for the end of the data type sentence inside the full text.", - "format": "int64", - "type": "string" - }, - "score": { - "description": "Score given by the model representing how confident it was regarding this `text_content` being of `data_type`.", - "format": "float", - "type": "number" - }, - "startOffset": { - "description": "Byte offsets for the start of the data type sentence inside the full text.", - "format": "int64", - "type": "string" - }, - "textContent": { - "description": "Actual text content in the section. This makes it much easier to consume the information. NOTE: This field might contain HTML and does not guarantee a SafeHtml security contract go/safehtmltypecontracts#safehtml.", - "type": "string" - } - }, - "type": "object" - }, - "PolicyPurposeOfUseAnnotation": { - "id": "PolicyPurposeOfUseAnnotation", - "properties": { - "endOffset": { - "description": "Byte offsets for the end of the purpose of use sentence inside the full text.", - "format": "int64", - "type": "string" - }, - "purposeOfUse": { - "description": "Purpose of use mentioned in the policy.", - "enum": [ - "PURPOSE_OF_USE_UNSPECIFIED", - "APP_FUNCTIONALITY", - "APP_DIAGNOSTICS_AND_PERFORMANCE", - "FRAUD_PREVENTION_AND_SECURITY", - "PRODUCT_PERSONALIZATION", - "ANALYTICS", - "DEVELOPERS_COMMUNICATION_AND_MARKETING", - "THIRD_PARTY_ADVERTISING", - "GENERAL_ADVERTISING", - "LEGAL_COMPLIANCE", - "MERGERS_AND_ACQUISITIONS", - "OTHER_SPECIFIED_PURPOSE", - "NO_PURPOSE_MENTIONED" - ], - "enumDescriptions": [ - "Default value. Checks cannot determine specific purpose of use.", - "Data is used for general app functions, or interface with the user, e.g. customer support.", - "Data is used for minimizing app crashes, enabling scalability and performance, etc.", - "Data is used for fraud prevention, protecting user accounts, or other security purposes.", - "Data is used for personalizing/customizing what the user sees.", - "Data is used for evaluating user behavior, measuring audience size, etc.", - "Data is used for sending marketing communications directly to your users, notifications, reminders, or update notices.", - "Data is used by a third-party to display ads in the app (or elsewhere).", - "Data is used for displaying ads in the app, or sharing data with entities who display ads.", - "Data is used for compliance with legal obligations, e.g., regulations, government data requests, law enforcement requests in general, etc.", - "If a company/organization merges or is acquired it transfers users' information to another company/organization.", - "Any other specific purposes that are not listed above.", - "The purpose of use is not explicitly stated or unclear." - ], - "type": "string" - }, - "score": { - "description": "Score given by the model representing how confident it was regarding this `text_content` being of `purpose_of_use`.", - "format": "float", - "type": "number" - }, - "startOffset": { - "description": "Byte offsets for the start of the purpose of use sentence inside the full text.", - "format": "int64", - "type": "string" - }, - "textContent": { - "description": "The bytes of actual text content in the sentence that mentions the purpose of use. This makes it much easier to consume the information.", - "type": "string" - } - }, - "type": "object" - }, - "PolicySectionAnnotation": { - "id": "PolicySectionAnnotation", - "properties": { - "endOffset": { - "description": "Byte offsets for the end of the section inside the full text.", - "format": "int64", - "type": "string" - }, - "score": { - "description": "Score given by the model representing how confident it was regarding this `text_content` being of `section_type`.", - "format": "float", - "type": "number" - }, - "sectionType": { - "description": "Detected type of the high-level topic in the policy.", - "enum": [ - "SECTION_TYPE_UNSPECIFIED", - "FIRST_PARTY_COLLECTION", - "FIRST_PARTY_USE", - "THIRD_PARTY_SHARING", - "CHILDREN_RELATED", - "DATA_RETENTION", - "PRIVACY_CONTACT", - "RIGHT_TO_DELETE", - "RIGHT_TO_RESTRICT_PROCESSING", - "RIGHT_TO_ACCESS", - "RIGHT_TO_RECTIFICATION", - "RIGHT_TO_KNOW_ABOUT_SELLING", - "RIGHT_TO_KNOW_ABOUT_SHARING", - "RIGHT_TO_OPT_OUT_FROM_SELLING", - "RIGHT_TO_OPT_OUT_FROM_SHARING", - "METHOD_TO_OPT_OUT_FROM_SELLING_OR_SHARING", - "AUTHORIZED_AGENT", - "CCPA_CPRA_REFERENCE", - "DATA_PROTECTION_OFFICER", - "DATA_CONTROLLER", - "DO_NOT_SELL", - "GDPR_REFERENCE", - "LAWFUL_LEGAL_BASIS", - "PRIVACY_SHIELD", - "RIGHT_TO_LODGE_A_COMPLAINT", - "TRANSFER_MECHANISMS", - "NO_CHILDREN_DATA_COLLECTION", - "NO_CHILDREN_DATA_SHARING", - "CHILDREN_INFORMATION_PUBLICITY", - "PARENTS_METHOD_OF_INFORMATION_DELETION", - "PARENTS_METHOD_TO_INFORMATION_REVIEW", - "PARENTS_METHOD_TO_STOP_FURTHER_INFORMATION_COLLECTION_USE", - "PARENTS_RIGHT_TO_INFORMATION_DELETION", - "PARENTS_RIGHT_TO_INFORMATION_REVIEW", - "PARENTS_RIGHT_TO_STOP_FURTHER_INFORMATION_COLLECTION_USE" - ], - "enumDescriptions": [ - "Default value. Checks cannot determine specific section type.", - "Section of the privacy policy describes 1st party collection practices.", - "Section of the privacy policy describes 1st party use practices.", - "Section of the privacy policy describes 3rd party sharing practices.", - "Section of the privacy policy describing content related to children.", - "Section of the privacy policy describes data retention practices.", - "Section of the privacy policy references privacy contact information.", - "Section of the privacy policy describes users' right of data deletion.", - "Section of the privacy policy about users' right to restrict processing.", - "Section of the privacy policy about users' right to access their data.", - "Section of the privacy policy about users' right to correct inaccuracies.", - "Section of the privacy policy about users' right to know about information selling.", - "Section of the privacy policy about users' right to know about information sharing.", - "Section of the privacy policy about users' right to opt out from information selling.", - "Section of the privacy policy about users' right to opt out from information sharing.", - "Section of the privacy policy about the method to opt out from selling or sharing.", - "Section of the privacy policy about the authorized agent designated by user.", - "Section of the privacy policy about the mentions of the CCPA or CPRA.", - "Section of the privacy policy about the mentions of data protection officer (DPO).", - "Section of the privacy policy about the mentions of a data controller.", - "Section of the privacy policy stating that the company does not sell data in general (or as defined by the CCPA), without exceptions.", - "Section of the privacy policy about the mentions of the GDPR (General Data Protection Regulation).", - "Section of the privacy policy about lawful/legal basis for data processing.", - "Section of the privacy policy about the Privacy Shielf framework.", - "Section of the privacy policy about the right to lodge a complaint with a supervisory authority.", - "Section of the privacy policy about transfer mechanisms of data from the EU to third countries", - "Section of the privacy policy stating that the company does not collect data from children.", - "Section of the privacy policy stating that the company does not share data from children.", - "Section of the privacy policy stating whether the app allows children to make their personal information publicly available.", - "Section of the privacy policy stating to parents/caregivers/guardians how they can request the deletion of their child's personal information.", - "Section of the privacy policy stating to parents/guardians/caregivers how they can review their child's personal information.", - "Section of the privacy policy stating to parents/caregivers/guardians how they can stop the further collection or use of their child's personal information.", - "Section of the privacy policy stating that a parent/caregiver/guardian has the right to request the deletion of their child's personal. information.", - "Section of the privacy policy stating to parents/guardians/caregivers that they have a right to review their child's personal information.", - "Section of the privacy policy stating to parents/caregivers/guardians that they have the right to stop the further collection or use of their child's personal information." - ], - "type": "string" - }, - "startOffset": { - "description": "Byte offsets for the start of the section inside the full text.", - "format": "int64", - "type": "string" - }, - "textContent": { - "description": "Actual text content in the section.", - "type": "string" - } - }, - "type": "object" - }, "Status": { "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", "id": "Status", diff --git a/DiscoveryJson/chromepolicy_v1.json b/DiscoveryJson/chromepolicy_v1.json index f599732a5be..06021e32ff7 100644 --- a/DiscoveryJson/chromepolicy_v1.json +++ b/DiscoveryJson/chromepolicy_v1.json @@ -557,7 +557,7 @@ } } }, - "revision": "20230801", + "revision": "20230907", "rootUrl": "https://chromepolicy.googleapis.com/", "schemas": { "ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle": { @@ -1678,6 +1678,28 @@ "description": "Describes a complete .proto file.", "id": "Proto2FileDescriptorProto", "properties": { + "editionEnum": { + "description": "The edition of the proto file.", + "enum": [ + "EDITION_UNKNOWN", + "EDITION_2023", + "EDITION_1_TEST_ONLY", + "EDITION_2_TEST_ONLY", + "EDITION_99997_TEST_ONLY", + "EDITION_99998_TEST_ONLY", + "EDITION_99999_TEST_ONLY" + ], + "enumDescriptions": [ + "A placeholder for an unknown edition value.", + "Editions that have been released. The specific values are arbitrary and should not be depended on, but they will always be time-ordered for easy comparison.", + "Placeholder editions for testing feature resolution. These should not be used or relyed on outside of tests.", + "", + "", + "", + "" + ], + "type": "string" + }, "enumType": { "items": { "$ref": "Proto2EnumDescriptorProto" diff --git a/DiscoveryJson/composer_v1.json b/DiscoveryJson/composer_v1.json index 36c61f75638..c74d5f2d553 100644 --- a/DiscoveryJson/composer_v1.json +++ b/DiscoveryJson/composer_v1.json @@ -599,7 +599,7 @@ } } }, - "revision": "20230806", + "revision": "20230906", "rootUrl": "https://composer.googleapis.com/", "schemas": { "AllowedIpRange": { @@ -781,6 +781,10 @@ ], "type": "string" }, + "storageConfig": { + "$ref": "StorageConfig", + "description": "Optional. Storage configuration for this environment." + }, "updateTime": { "description": "Output only. The time at which this environment was last modified.", "format": "google-datetime", @@ -1663,6 +1667,12 @@ }, "type": "object" }, + "StorageConfig": { + "description": "The configuration for data storage in the environment.", + "id": "StorageConfig", + "properties": {}, + "type": "object" + }, "WebServerConfig": { "description": "The configuration settings for the Airflow web server App Engine instance. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*", "id": "WebServerConfig", diff --git a/DiscoveryJson/compute_alpha.json b/DiscoveryJson/compute_alpha.json index 5c6fd37ef85..403fdba0b17 100644 --- a/DiscoveryJson/compute_alpha.json +++ b/DiscoveryJson/compute_alpha.json @@ -1982,6 +1982,61 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "listUsable": { + "description": "Retrieves an aggregated list of all usable backend services in the specified project.", + "flatPath": "projects/{project}/global/backendServices/listUsable", + "httpMethod": "GET", + "id": "compute.backendServices.listUsable", + "parameterOrder": [ + "project" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "path": "projects/{project}/global/backendServices/listUsable", + "response": { + "$ref": "BackendServiceListUsable" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "patch": { "description": "Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", "flatPath": "projects/{project}/global/backendServices/{backendService}", @@ -28178,6 +28233,12 @@ "firewallPolicy" ], "parameters": { + "associatedPolicyToBeReplaced": { + "description": "Name of the firewall policy associated with the target network to swap association with. This field is mutually exclusive with 'replace_existing_association'.", + "location": "query", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "type": "string" + }, "firewallPolicy": { "description": "Name of the firewall policy to update.", "location": "path", @@ -32891,47 +32952,6 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, - "getNetworkCapacityConstraints": { - "description": "Returns the network capacity constraints for the specified placement policies.", - "flatPath": "projects/{project}/regions/{region}/resourcePolicies/getNetworkCapacityConstraints", - "httpMethod": "POST", - "id": "compute.resourcePolicies.getNetworkCapacityConstraints", - "parameterOrder": [ - "project", - "region" - ], - "parameters": { - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string" - }, - "region": { - "description": "Name of the region for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string" - }, - "resourcePolicies": { - "description": "Partial or full URL of the resource policies for which to retrieve the network capacity constraints.", - "location": "query", - "repeated": true, - "type": "string" - } - }, - "path": "projects/{project}/regions/{region}/resourcePolicies/getNetworkCapacityConstraints", - "response": { - "$ref": "GetNetworkCapacityConstraintsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, "insert": { "description": "Creates a new resource policy.", "flatPath": "projects/{project}/regions/{region}/resourcePolicies", @@ -33300,17 +33320,22 @@ "https://www.googleapis.com/auth/compute" ] }, - "get": { - "description": "Returns the specified Router resource.", - "flatPath": "projects/{project}/regions/{region}/routers/{router}", - "httpMethod": "GET", - "id": "compute.routers.get", + "deleteRoutePolicy": { + "description": "Deletes Route Policy", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/deleteRoutePolicy", + "httpMethod": "POST", + "id": "compute.routers.deleteRoutePolicy", "parameterOrder": [ "project", "region", "router" ], "parameters": { + "policy": { + "description": "The Policy name for this request. Name must conform to RFC1035", + "location": "query", + "type": "string" + }, "project": { "description": "Project ID for this request.", "location": "path", @@ -33325,40 +33350,39 @@ "required": true, "type": "string" }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, "router": { - "description": "Name of the Router resource to return.", + "description": "Name of the Router resource where Route Policy is defined.", "location": "path", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, "type": "string" } }, - "path": "projects/{project}/regions/{region}/routers/{router}", + "path": "projects/{project}/regions/{region}/routers/{router}/deleteRoutePolicy", "response": { - "$ref": "Router" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, - "getNatIpInfo": { - "description": "Retrieves runtime NAT IP information.", - "flatPath": "projects/{project}/regions/{region}/routers/{router}/getNatIpInfo", + "get": { + "description": "Returns the specified Router resource.", + "flatPath": "projects/{project}/regions/{region}/routers/{router}", "httpMethod": "GET", - "id": "compute.routers.getNatIpInfo", + "id": "compute.routers.get", "parameterOrder": [ "project", "region", "router" ], "parameters": { - "natName": { - "description": "Name of the nat service to filter the NAT IP information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035.", - "location": "query", - "type": "string" - }, "project": { "description": "Project ID for this request.", "location": "path", @@ -33374,15 +33398,16 @@ "type": "string" }, "router": { - "description": "Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.", + "description": "Name of the Router resource to return.", "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, "type": "string" } }, - "path": "projects/{project}/regions/{region}/routers/{router}/getNatIpInfo", + "path": "projects/{project}/regions/{region}/routers/{router}", "response": { - "$ref": "NatIpInfoResponse" + "$ref": "Router" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -33390,42 +33415,19 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, - "getNatMappingInfo": { - "description": "Retrieves runtime Nat mapping information of VM endpoints.", - "flatPath": "projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo", + "getNatIpInfo": { + "description": "Retrieves runtime NAT IP information.", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/getNatIpInfo", "httpMethod": "GET", - "id": "compute.routers.getNatMappingInfo", + "id": "compute.routers.getNatIpInfo", "parameterOrder": [ "project", "region", "router" ], "parameters": { - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "location": "query", - "minimum": "0", - "type": "integer" - }, "natName": { - "description": "Name of the nat service to filter the Nat Mapping information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "description": "Name of the nat service to filter the NAT IP information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035.", "location": "query", "type": "string" }, @@ -33443,22 +33445,16 @@ "required": true, "type": "string" }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query", - "type": "boolean" - }, "router": { - "description": "Name of the Router resource to query for Nat Mapping information of VM endpoints.", + "description": "Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, "type": "string" } }, - "path": "projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo", + "path": "projects/{project}/regions/{region}/routers/{router}/getNatIpInfo", "response": { - "$ref": "VmEndpointNatMappingsList" + "$ref": "NatIpInfoResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -33466,100 +33462,223 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, - "getRouterStatus": { - "description": "Retrieves runtime information of the specified router.", - "flatPath": "projects/{project}/regions/{region}/routers/{router}/getRouterStatus", + "getNatMappingInfo": { + "description": "Retrieves runtime Nat mapping information of VM endpoints.", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo", "httpMethod": "GET", - "id": "compute.routers.getRouterStatus", + "id": "compute.routers.getNatMappingInfo", "parameterOrder": [ "project", "region", "router" ], - "parameters": { - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string" - }, - "region": { - "description": "Name of the region for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string" - }, - "router": { - "description": "Name of the Router resource to query.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string" - } - }, - "path": "projects/{project}/regions/{region}/routers/{router}/getRouterStatus", - "response": { - "$ref": "RouterStatusResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "insert": { - "description": "Creates a Router resource in the specified project and region using the data included in the request.", - "flatPath": "projects/{project}/regions/{region}/routers", - "httpMethod": "POST", - "id": "compute.routers.insert", - "parameterOrder": [ - "project", - "region" - ], - "parameters": { - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string" - }, - "region": { - "description": "Name of the region for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - } - }, - "path": "projects/{project}/regions/{region}/routers", - "request": { - "$ref": "Router" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "list": { - "description": "Retrieves a list of Router resources available to the specified project.", - "flatPath": "projects/{project}/regions/{region}/routers", - "httpMethod": "GET", - "id": "compute.routers.list", - "parameterOrder": [ - "project", - "region" - ], + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "natName": { + "description": "Name of the nat service to filter the Nat Mapping information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "router": { + "description": "Name of the Router resource to query for Nat Mapping information of VM endpoints.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo", + "response": { + "$ref": "VmEndpointNatMappingsList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "getRoutePolicy": { + "description": "Returns specified Route Policy", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/getRoutePolicy", + "httpMethod": "GET", + "id": "compute.routers.getRoutePolicy", + "parameterOrder": [ + "project", + "region", + "router" + ], + "parameters": { + "policy": { + "description": "The Policy name for this request. Name must conform to RFC1035", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "router": { + "description": "Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/routers/{router}/getRoutePolicy", + "response": { + "$ref": "RoutersGetRoutePolicyResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "getRouterStatus": { + "description": "Retrieves runtime information of the specified router.", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/getRouterStatus", + "httpMethod": "GET", + "id": "compute.routers.getRouterStatus", + "parameterOrder": [ + "project", + "region", + "router" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "router": { + "description": "Name of the Router resource to query.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/routers/{router}/getRouterStatus", + "response": { + "$ref": "RouterStatusResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "insert": { + "description": "Creates a Router resource in the specified project and region using the data included in the request.", + "flatPath": "projects/{project}/regions/{region}/routers", + "httpMethod": "POST", + "id": "compute.routers.insert", + "parameterOrder": [ + "project", + "region" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/routers", + "request": { + "$ref": "Router" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "list": { + "description": "Retrieves a list of Router resources available to the specified project.", + "flatPath": "projects/{project}/regions/{region}/routers", + "httpMethod": "GET", + "id": "compute.routers.list", + "parameterOrder": [ + "project", + "region" + ], "parameters": { "filter": { "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", @@ -33614,6 +33733,196 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "listBgpRoutes": { + "description": "Retrieves a list of router bgp routes available to the specified project.", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/listBgpRoutes", + "httpMethod": "GET", + "id": "compute.routers.listBgpRoutes", + "parameterOrder": [ + "project", + "region", + "router" + ], + "parameters": { + "addressFamily": { + "default": "UNSPECIFIED_IP_VERSION", + "description": "(Required) limit results to this address family (either IPv4 or IPv6)", + "enum": [ + "IPV4", + "IPV6", + "UNSPECIFIED_IP_VERSION" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "location": "query", + "type": "string" + }, + "destinationPrefix": { + "description": "Limit results to destinations that are subnets of this CIDR range", + "location": "query", + "type": "string" + }, + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "peer": { + "description": "(Required) limit results to the BGP peer with the given name. Name should conform to RFC1035.", + "location": "query", + "type": "string" + }, + "policyApplied": { + "default": "true", + "description": "When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes.", + "location": "query", + "type": "boolean" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "routeType": { + "default": "UNSPECIFIED_ROUTE_TYPE", + "description": "(Required) limit results to this type of route (either LEARNED or ADVERTISED)", + "enum": [ + "ADVERTISED", + "LEARNED", + "UNSPECIFIED_ROUTE_TYPE" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "location": "query", + "type": "string" + }, + "router": { + "description": "Name or id of the resource for this request. Name should conform to RFC1035.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/routers/{router}/listBgpRoutes", + "response": { + "$ref": "RoutersListBgpRoutes" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "listRoutePolicies": { + "description": "Retrieves a list of router route policy subresources available to the specified project.", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/listRoutePolicies", + "httpMethod": "GET", + "id": "compute.routers.listRoutePolicies", + "parameterOrder": [ + "project", + "region", + "router" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "router": { + "description": "Name or id of the resource for this request. Name should conform to RFC1035.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/routers/{router}/listRoutePolicies", + "response": { + "$ref": "RoutersListRoutePolicies" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "patch": { "description": "Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", "flatPath": "projects/{project}/regions/{region}/routers/{router}", @@ -33645,7 +33954,149 @@ "type": "string" }, "router": { - "description": "Name of the Router resource to patch.", + "description": "Name of the Router resource to patch.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/routers/{router}", + "request": { + "$ref": "Router" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "preview": { + "description": "Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/preview", + "httpMethod": "POST", + "id": "compute.routers.preview", + "parameterOrder": [ + "project", + "region", + "router" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "router": { + "description": "Name of the Router resource to query.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/routers/{router}/preview", + "request": { + "$ref": "Router" + }, + "response": { + "$ref": "RoutersPreviewResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/regions/{region}/routers/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.routers.testIamPermissions", + "parameterOrder": [ + "project", + "region", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/routers/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "update": { + "description": "Updates the specified Router resource with the data included in the request. This method conforms to PUT semantics, which requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload.", + "flatPath": "projects/{project}/regions/{region}/routers/{router}", + "httpMethod": "PUT", + "id": "compute.routers.update", + "parameterOrder": [ + "project", + "region", + "router" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "router": { + "description": "Name of the Router resource to update.", "location": "path", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, @@ -33664,103 +34115,11 @@ "https://www.googleapis.com/auth/compute" ] }, - "preview": { - "description": "Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.", - "flatPath": "projects/{project}/regions/{region}/routers/{router}/preview", + "updateRoutePolicy": { + "description": "Updates or creates new Route Policy", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/updateRoutePolicy", "httpMethod": "POST", - "id": "compute.routers.preview", - "parameterOrder": [ - "project", - "region", - "router" - ], - "parameters": { - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string" - }, - "region": { - "description": "Name of the region for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string" - }, - "router": { - "description": "Name of the Router resource to query.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string" - } - }, - "path": "projects/{project}/regions/{region}/routers/{router}/preview", - "request": { - "$ref": "Router" - }, - "response": { - "$ref": "RoutersPreviewResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource.", - "flatPath": "projects/{project}/regions/{region}/routers/{resource}/testIamPermissions", - "httpMethod": "POST", - "id": "compute.routers.testIamPermissions", - "parameterOrder": [ - "project", - "region", - "resource" - ], - "parameters": { - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string" - }, - "region": { - "description": "The name of the region for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string" - }, - "resource": { - "description": "Name or id of the resource for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string" - } - }, - "path": "projects/{project}/regions/{region}/routers/{resource}/testIamPermissions", - "request": { - "$ref": "TestPermissionsRequest" - }, - "response": { - "$ref": "TestPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "update": { - "description": "Updates the specified Router resource with the data included in the request. This method conforms to PUT semantics, which requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload.", - "flatPath": "projects/{project}/regions/{region}/routers/{router}", - "httpMethod": "PUT", - "id": "compute.routers.update", + "id": "compute.routers.updateRoutePolicy", "parameterOrder": [ "project", "region", @@ -33787,16 +34146,16 @@ "type": "string" }, "router": { - "description": "Name of the Router resource to update.", + "description": "Name of the Router resource where Route Policy is defined.", "location": "path", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, "type": "string" } }, - "path": "projects/{project}/regions/{region}/routers/{router}", + "path": "projects/{project}/regions/{region}/routers/{router}/updateRoutePolicy", "request": { - "$ref": "Router" + "$ref": "RoutePolicy" }, "response": { "$ref": "Operation" @@ -42266,7 +42625,7 @@ } } }, - "revision": "20230814", + "revision": "20230829", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -45019,7 +45378,7 @@ "type": "string" }, "timeZone": { - "description": "The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of \u201cUTC\u201d if left empty.", + "description": "The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of \u201cUTC\u201d if left empty.", "type": "string" } }, @@ -46351,6 +46710,13 @@ "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, + "items": { + "description": "A list of BackendService resources.", + "items": { + "$ref": "BackendService" + }, + "type": "array" + }, "kind": { "default": "compute#usableBackendServiceList", "description": "[Output Only] Type of resource. Always compute#usableBackendServiceList for lists of usable backend services.", @@ -47018,6 +47384,91 @@ }, "type": "object" }, + "BgpRoute": { + "id": "BgpRoute", + "properties": { + "asPaths": { + "description": "[Output only] AS-PATH for the route", + "items": { + "$ref": "BgpRouteAsPath" + }, + "type": "array" + }, + "communities": { + "description": "[Output only] BGP communities in human-readable A:B format.", + "items": { + "type": "string" + }, + "type": "array" + }, + "destination": { + "$ref": "BgpRouteNetworkLayerReachabilityInformation", + "description": "[Output only] Destination IP range for the route, in human-readable CIDR format" + }, + "med": { + "description": "[Output only] BGP multi-exit discriminator", + "format": "uint32", + "type": "integer" + }, + "origin": { + "description": "[Output only] BGP origin (EGP, IGP or INCOMPLETE)", + "enum": [ + "BGP_ORIGIN_EGP", + "BGP_ORIGIN_IGP", + "BGP_ORIGIN_INCOMPLETE" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "BgpRouteAsPath": { + "id": "BgpRouteAsPath", + "properties": { + "asns": { + "description": "[Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "type": { + "description": "[Output only] Type of AS-PATH segment (SEQUENCE or SET)", + "enum": [ + "AS_PATH_TYPE_SEQUENCE", + "AS_PATH_TYPE_SET" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "BgpRouteNetworkLayerReachabilityInformation": { + "description": "Network Layer Reachability Information (NLRI) for a route.", + "id": "BgpRouteNetworkLayerReachabilityInformation", + "properties": { + "destination": { + "description": "Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.", + "type": "string" + }, + "pathId": { + "description": "If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.", + "format": "uint32", + "type": "integer" + } + }, + "type": "object" + }, "Binding": { "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", @@ -47252,55 +47703,6 @@ }, "type": "object" }, - "CapacityConstraint": { - "description": "Represents the network information between workload placements.", - "id": "CapacityConstraint", - "properties": { - "constraintMetadata": { - "enum": [ - "CONSTRAINT_TYPE_UNSPECIFIED", - "OFF_CHAIN_CONSTRAINT", - "ON_CHAIN_CONSTRAINT" - ], - "enumDescriptions": [ - "", - "Constraints for off-chain superblocks. Can be used to mark constraints for secondary workloads.", - "Constraints related to the capacity between the Astrophel chain superblocks." - ], - "type": "string" - }, - "maxSumGbps": { - "description": "Weighted sum of BandwidthTerms (each term is coefficient * term) must be less than or equal to max_sum.", - "format": "double", - "type": "number" - }, - "terms": { - "items": { - "$ref": "CapacityConstraintConstraintTerm" - }, - "type": "array" - } - }, - "type": "object" - }, - "CapacityConstraintConstraintTerm": { - "id": "CapacityConstraintConstraintTerm", - "properties": { - "coefficient": { - "description": "Coefficient of this term in the linear expression. The value of the term will be coefficient * (demand from src to dst in Gbps).", - "format": "double", - "type": "number" - }, - "destinationNode": { - "$ref": "PlacementLocation" - }, - "sourceNode": { - "$ref": "PlacementLocation", - "description": "Source and destination nodes." - } - }, - "type": "object" - }, "ChannelCredentials": { "description": "[Deprecated] gRPC channel credentials to access the SDS server. gRPC channel credentials to access the SDS server.", "id": "ChannelCredentials", @@ -52860,19 +53262,6 @@ }, "type": "object" }, - "GetNetworkCapacityConstraintsResponse": { - "id": "GetNetworkCapacityConstraintsResponse", - "properties": { - "capacityConstraints": { - "description": "Set of capacity constraints that describe network adjacency.", - "items": { - "$ref": "CapacityConstraint" - }, - "type": "array" - } - }, - "type": "object" - }, "GetOwnerInstanceResponse": { "id": "GetOwnerInstanceResponse", "properties": { @@ -55094,7 +55483,7 @@ }, "faultInjectionPolicy": { "$ref": "HttpFaultInjection", - "description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the global external HTTP(S) load balancer (classic). To see which load balancers support fault injection, see Load balancing: Routing and traffic management features." + "description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features." }, "maxStreamDuration": { "$ref": "Duration", @@ -55114,7 +55503,7 @@ }, "urlRewrite": { "$ref": "UrlRewrite", - "description": "The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for external HTTP(S) load balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." + "description": "The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." }, "weightedBackendServices": { "description": "A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.", @@ -55132,7 +55521,7 @@ "properties": { "customErrorResponsePolicy": { "$ref": "CustomErrorResponsePolicy", - "description": "customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing." + "description": "customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers." }, "description": { "description": "The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.", @@ -55170,7 +55559,7 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a route rule's routeAction." + "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction." }, "service": { "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", @@ -66753,7 +67142,7 @@ "type": "object" }, "NetworkEndpointGroup": { - "description": "Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs.", + "description": "Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs for different use cases, see Network endpoint groups overview.", "id": "NetworkEndpointGroup", "properties": { "annotations": { @@ -67791,11 +68180,13 @@ "description": "The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is used. This field can be both set at instance creation and update network interface operations.", "enum": [ "IPV4_IPV6", - "IPV4_ONLY" + "IPV4_ONLY", + "IPV6_ONLY" ], "enumDescriptions": [ "The network interface can have both IPv4 and IPv6 addresses.", - "The network interface will be assigned IPv4 address." + "The network interface will be assigned IPv4 address.", + "The network interface will only be assigned IPv6 addresses." ], "type": "string" }, @@ -68110,6 +68501,22 @@ "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" + }, "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": [ @@ -72337,11 +72744,11 @@ "properties": { "defaultCustomErrorResponsePolicy": { "$ref": "CustomErrorResponsePolicy", - "description": "defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load balancing." + "description": "defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers." }, "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction." + "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction." }, "defaultService": { "description": "The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use ", @@ -72386,7 +72793,7 @@ "properties": { "customErrorResponsePolicy": { "$ref": "CustomErrorResponsePolicy", - "description": "customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing." + "description": "customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers." }, "paths": { "description": "The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.", @@ -72397,7 +72804,7 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction." + "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction." }, "service": { "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", @@ -72548,20 +72955,6 @@ }, "type": "object" }, - "PlacementLocation": { - "id": "PlacementLocation", - "properties": { - "aggregationBlockId": { - "description": "Aggregation block id of the placement group.", - "type": "string" - }, - "resourcePolicy": { - "description": "Partial or full URL of the resource policy for the placement group.", - "type": "string" - } - }, - "type": "object" - }, "Policy": { "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", @@ -78843,6 +79236,61 @@ }, "type": "object" }, + "RoutePolicy": { + "id": "RoutePolicy", + "properties": { + "fingerprint": { + "description": "A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.", + "format": "byte", + "type": "string" + }, + "name": { + "description": "Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.", + "type": "string" + }, + "terms": { + "description": "List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.", + "items": { + "$ref": "RoutePolicyPolicyTerm" + }, + "type": "array" + }, + "type": { + "enum": [ + "ROUTE_POLICY_TYPE_EXPORT", + "ROUTE_POLICY_TYPE_IMPORT" + ], + "enumDescriptions": [ + "The Route Policy is an Export Policy.", + "The Route Policy is an Import Policy." + ], + "type": "string" + } + }, + "type": "object" + }, + "RoutePolicyPolicyTerm": { + "id": "RoutePolicyPolicyTerm", + "properties": { + "actions": { + "description": "CEL expressions to evaluate to modify a route when this term matches.", + "items": { + "$ref": "Expr" + }, + "type": "array" + }, + "match": { + "$ref": "Expr", + "description": "CEL expression evaluated against a route to determine if this term applies. When not set, the term applies to all routes." + }, + "priority": { + "description": "The evaluation priority for this term, which must be between 0 (inclusive) and 2^31 (exclusive), and unique within the list.", + "format": "uint32", + "type": "integer" + } + }, + "type": "object" + }, "Router": { "description": "Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview.", "id": "Router", @@ -78876,7 +79324,7 @@ "type": "string" }, "interfaces": { - "description": "Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.", + "description": "Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.", "items": { "$ref": "RouterInterface" }, @@ -79414,11 +79862,11 @@ "type": "string" }, "linkedInterconnectAttachment": { - "description": "URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance.", + "description": "URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.", "type": "string" }, "linkedVpnTunnel": { - "description": "URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance.", + "description": "URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.", "type": "string" }, "managementType": { @@ -79630,7 +80078,7 @@ "compute.routers.update" ] }, - "description": "Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.", + "description": "Name used to identify the key. Must be unique within a router. Must be referenced by exactly one bgpPeer. Must comply with RFC1035.", "type": "string" } }, @@ -80156,6 +80604,341 @@ }, "type": "object" }, + "RoutersGetRoutePolicyResponse": { + "id": "RoutersGetRoutePolicyResponse", + "properties": { + "etag": { + "description": "end_interface: MixerGetResponseWithEtagBuilder", + "type": "string" + }, + "resource": { + "$ref": "RoutePolicy" + } + }, + "type": "object" + }, + "RoutersListBgpRoutes": { + "id": "RoutersListBgpRoutes", + "properties": { + "etag": { + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string" + }, + "kind": { + "default": "compute#routersListBgpRoutes", + "description": "[Output Only] Type of resource. Always compute#routersListBgpRoutes for lists of bgp routes.", + "type": "string" + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "result": { + "description": "[Output Only] A list of bgp routes.", + "items": { + "$ref": "BgpRoute" + }, + "type": "array" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "unreachable": { + "description": "[Output Only] Unreachable resources.", + "items": { + "type": "string" + }, + "type": "array" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "items": { + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "RoutersListRoutePolicies": { + "id": "RoutersListRoutePolicies", + "properties": { + "etag": { + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string" + }, + "kind": { + "default": "compute#routersListRoutePolicies", + "description": "[Output Only] Type of resource. Always compute#routersListRoutePolicies for lists of route policies.", + "type": "string" + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "result": { + "description": "[Output Only] A list of route policies.", + "items": { + "$ref": "RoutePolicy" + }, + "type": "array" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "unreachable": { + "description": "[Output Only] Unreachable resources.", + "items": { + "type": "string" + }, + "type": "array" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "items": { + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, "RoutersPreviewResponse": { "id": "RoutersPreviewResponse", "properties": { @@ -83923,7 +84706,7 @@ "type": "object" }, "SslCertificate": { - "description": "Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * [Global](/compute/docs/reference/rest/alpha/sslCertificates) * [Regional](/compute/docs/reference/rest/alpha/regionSslCertificates) The sslCertificates are used by: - external HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates.", + "description": "Represents an SSL certificate resource. Google Compute Engine has two SSL certificate resources: * [Global](/compute/docs/reference/rest/alpha/sslCertificates) * [Regional](/compute/docs/reference/rest/alpha/regionSslCertificates) The global SSL certificates (sslCertificates) are used by: - Global external Application Load Balancers - Classic Application Load Balancers - Proxy Network Load Balancers (with target SSL proxies) The regional SSL certificates (regionSslCertificates) are used by: - Regional external Application Load Balancers - Regional internal Application Load Balancers Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates.", "id": "SslCertificate", "properties": { "certificate": { @@ -86338,13 +87121,13 @@ "enumDescriptions": [ "Subnetwork used to aggregate multiple private subnetworks.", "Subnetworks created for Cloud Extension Machines.", - "Subnet reserved for Global Internal HTTP(S) Load Balancing.", + "Subnet reserved for Global Envoy-based Load Balancing.", "Subnet reserved for Internal HTTP(S) Load Balancing.", "Regular user created or automatically created subnet.", "Subnetwork used as source range for Private NAT Gateways.", "Regular user created or automatically created subnet.", "Subnetworks created for Private Service Connect in the producer network.", - "Subnetwork used for Regional Internal/External HTTP(S) Load Balancing." + "Subnetwork used for Regional Envoy-based Load Balancing." ], "type": "string" }, @@ -86387,11 +87170,13 @@ "description": "The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.", "enum": [ "IPV4_IPV6", - "IPV4_ONLY" + "IPV4_ONLY", + "IPV6_ONLY" ], "enumDescriptions": [ "New VMs in this subnet can have both IPv4 and IPv6 addresses.", - "New VMs in this subnet will only be assigned IPv4 addresses." + "New VMs in this subnet will only be assigned IPv4 addresses.", + "New VMs in this subnet will only be assigned IPv6 addresses." ], "type": "string" }, @@ -87396,7 +88181,7 @@ "type": "object" }, "TargetHttpProxy": { - "description": "Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/alpha/targetHttpProxies) * [Regional](/compute/docs/reference/rest/alpha/regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by external HTTP load balancers and Traffic Director. * regionTargetHttpProxies are used by internal HTTP load balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", + "description": "Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/alpha/targetHttpProxies) * [Regional](/compute/docs/reference/rest/alpha/regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", "id": "TargetHttpProxy", "properties": { "creationTimestamp": { @@ -87420,7 +88205,7 @@ "type": "array" }, "httpKeepAliveTimeoutSec": { - "description": "Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For Global external HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For Global external HTTP(S) load balancer (classic), this option is not available publicly.", + "description": "Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported.", "format": "int32", "type": "integer" }, @@ -87951,7 +88736,7 @@ "type": "object" }, "TargetHttpsProxy": { - "description": "Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/alpha/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/alpha/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", + "description": "Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/alpha/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/alpha/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", "id": "TargetHttpsProxy", "properties": { "authentication": { @@ -87993,7 +88778,7 @@ "type": "array" }, "httpKeepAliveTimeoutSec": { - "description": "Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For Global external HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For Global external HTTP(S) load balancer (classic), this option is not available publicly.", + "description": "Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported.", "format": "int32", "type": "integer" }, @@ -91112,7 +91897,7 @@ "type": "object" }, "UrlMap": { - "description": "Represents a URL Map resource. Compute Engine has two URL Map resources: * [Global](/compute/docs/reference/rest/alpha/urlMaps) * [Regional](/compute/docs/reference/rest/alpha/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts.", + "description": "Represents a URL Map resource. Compute Engine has two URL Map resources: * [Global](/compute/docs/reference/rest/alpha/urlMaps) * [Regional](/compute/docs/reference/rest/alpha/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by global external Application Load Balancers, classic Application Load Balancers, and cross-region internal Application Load Balancers. * regionUrlMaps are used by internal Application Load Balancers, regional external Application Load Balancers and regional internal Application Load Balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts.", "id": "UrlMap", "properties": { "creationTimestamp": { @@ -91121,11 +91906,11 @@ }, "defaultCustomErrorResponsePolicy": { "$ref": "CustomErrorResponsePolicy", - "description": "defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the Load Balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load balancing." + "description": "defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers." }, "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." + "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." }, "defaultService": { "description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", @@ -91743,7 +92528,7 @@ "id": "UrlMapsValidateRequest", "properties": { "loadBalancingSchemes": { - "description": "Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.", + "description": "Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.", "items": { "enum": [ "EXTERNAL", @@ -91751,9 +92536,9 @@ "LOAD_BALANCING_SCHEME_UNSPECIFIED" ], "enumDescriptions": [ - "Signifies that this will be used for Classic L7 External Load Balancing.", - "Signifies that this will be used for Envoy-based L7 External Load Balancing.", - "If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inferrence is not possible, EXTERNAL will be used as the default type." + "Signifies that this will be used for classic Application Load Balancers.", + "Signifies that this will be used for Envoy-based global external Application Load Balancers.", + "If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inference is not possible, EXTERNAL will be used as the default type." ], "type": "string" }, @@ -91842,13 +92627,13 @@ "enumDescriptions": [ "Subnetwork used to aggregate multiple private subnetworks.", "Subnetworks created for Cloud Extension Machines.", - "Subnet reserved for Global Internal HTTP(S) Load Balancing.", + "Subnet reserved for Global Envoy-based Load Balancing.", "Subnet reserved for Internal HTTP(S) Load Balancing.", "Regular user created or automatically created subnet.", "Subnetwork used as source range for Private NAT Gateways.", "Regular user created or automatically created subnet.", "Subnetworks created for Private Service Connect in the producer network.", - "Subnetwork used for Regional Internal/External HTTP(S) Load Balancing." + "Subnetwork used for Regional Envoy-based Load Balancing." ], "type": "string" }, @@ -91875,11 +92660,13 @@ "description": "The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.", "enum": [ "IPV4_IPV6", - "IPV4_ONLY" + "IPV4_ONLY", + "IPV6_ONLY" ], "enumDescriptions": [ "New VMs in this subnet can have both IPv4 and IPv6 addresses.", - "New VMs in this subnet will only be assigned IPv4 addresses." + "New VMs in this subnet will only be assigned IPv4 addresses.", + "New VMs in this subnet will only be assigned IPv6 addresses." ], "type": "string" }, diff --git a/DiscoveryJson/compute_beta.json b/DiscoveryJson/compute_beta.json index c9784ab3b69..4bb09695156 100644 --- a/DiscoveryJson/compute_beta.json +++ b/DiscoveryJson/compute_beta.json @@ -39231,7 +39231,7 @@ } } }, - "revision": "20230814", + "revision": "20230829", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -41767,7 +41767,7 @@ "type": "string" }, "timeZone": { - "description": "The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of \u201cUTC\u201d if left empty.", + "description": "The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of \u201cUTC\u201d if left empty.", "type": "string" } }, @@ -43886,6 +43886,7 @@ "COMPUTE_OPTIMIZED", "COMPUTE_OPTIMIZED_C2D", "COMPUTE_OPTIMIZED_C3", + "COMPUTE_OPTIMIZED_C3D", "COMPUTE_OPTIMIZED_H3", "GENERAL_PURPOSE", "GENERAL_PURPOSE_E2", @@ -43912,6 +43913,7 @@ "", "", "", + "", "" ], "type": "string" @@ -50876,7 +50878,7 @@ }, "faultInjectionPolicy": { "$ref": "HttpFaultInjection", - "description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the global external HTTP(S) load balancer (classic). To see which load balancers support fault injection, see Load balancing: Routing and traffic management features." + "description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features." }, "maxStreamDuration": { "$ref": "Duration", @@ -50896,7 +50898,7 @@ }, "urlRewrite": { "$ref": "UrlRewrite", - "description": "The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for external HTTP(S) load balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." + "description": "The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." }, "weightedBackendServices": { "description": "A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.", @@ -50914,7 +50916,7 @@ "properties": { "customErrorResponsePolicy": { "$ref": "CustomErrorResponsePolicy", - "description": "customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing." + "description": "customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for global external Application Load Balancers." }, "description": { "description": "The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.", @@ -50952,7 +50954,7 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a route rule's routeAction." + "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction." }, "service": { "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", @@ -52584,6 +52586,10 @@ "format": "uint64", "type": "string" }, + "instanceFlexibilityPolicy": { + "$ref": "InstanceGroupManagerInstanceFlexibilityPolicy", + "description": "Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration." + }, "instanceGroup": { "description": "[Output Only] The URL of the Instance Group resource.", "type": "string" @@ -52942,6 +52948,37 @@ }, "type": "object" }, + "InstanceGroupManagerInstanceFlexibilityPolicy": { + "id": "InstanceGroupManagerInstanceFlexibilityPolicy", + "properties": { + "instanceSelectionLists": { + "additionalProperties": { + "$ref": "InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection" + }, + "description": "List of instance selection options that the group will use when creating new VMs.", + "type": "object" + } + }, + "type": "object" + }, + "InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection": { + "id": "InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection", + "properties": { + "machineTypes": { + "description": "Full machine-type names, e.g. \"n1-standard-16\".", + "items": { + "type": "string" + }, + "type": "array" + }, + "rank": { + "description": "Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "InstanceGroupManagerInstanceLifecyclePolicy": { "id": "InstanceGroupManagerInstanceLifecyclePolicy", "properties": { @@ -61545,7 +61582,7 @@ "type": "object" }, "NetworkEndpointGroup": { - "description": "Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs.", + "description": "Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs for different use cases, see Network endpoint groups overview.", "id": "NetworkEndpointGroup", "properties": { "annotations": { @@ -66659,11 +66696,11 @@ "properties": { "defaultCustomErrorResponsePolicy": { "$ref": "CustomErrorResponsePolicy", - "description": "defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load balancing." + "description": "defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers." }, "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction." + "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction." }, "defaultService": { "description": "The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use ", @@ -66708,7 +66745,7 @@ "properties": { "customErrorResponsePolicy": { "$ref": "CustomErrorResponsePolicy", - "description": "customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing." + "description": "customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for global external Application Load Balancers." }, "paths": { "description": "The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.", @@ -66719,7 +66756,7 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction." + "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction." }, "service": { "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", @@ -70104,6 +70141,7 @@ "NO_RESERVATION", "SPECIFIC_RESERVATION", "SPECIFIC_THEN_ANY_RESERVATION", + "SPECIFIC_THEN_NO_RESERVATION", "UNSPECIFIED" ], "enumDescriptions": [ @@ -70111,6 +70149,7 @@ "Do not consume from any allocated capacity.", "Must consume from a specific reservation. Must specify key value fields for specifying the reservations.", "Prefer to consume from a specific reservation, but still consume any reservation available if the specified reservation is not available or exhausted. Must specify key value fields for specifying the reservations.", + "Prefer to consume from a specific reservation, but still consume from the on-demand pool if the specified reservation is exhausted. Must specify key value fields for specifying the reservations.", "" ], "type": "string" @@ -71057,6 +71096,15 @@ "format": "int32", "type": "integer" }, + "sliceCount": { + "description": "Specifies the number of slices in a multislice workload.", + "format": "int32", + "type": "integer" + }, + "tpuTopology": { + "description": "Specifies the shape of the TPU slice", + "type": "string" + }, "vmCount": { "description": "Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.", "format": "int32", @@ -71979,7 +72027,7 @@ "type": "string" }, "interfaces": { - "description": "Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.", + "description": "Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.", "items": { "$ref": "RouterInterface" }, @@ -72446,11 +72494,11 @@ "type": "string" }, "linkedInterconnectAttachment": { - "description": "URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance.", + "description": "URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.", "type": "string" }, "linkedVpnTunnel": { - "description": "URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance.", + "description": "URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.", "type": "string" }, "managementType": { @@ -72662,7 +72710,7 @@ "compute.routers.update" ] }, - "description": "Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.", + "description": "Name used to identify the key. Must be unique within a router. Must be referenced by exactly one bgpPeer. Must comply with RFC1035.", "type": "string" } }, @@ -76722,7 +76770,7 @@ "type": "object" }, "SslCertificate": { - "description": "Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * [Global](/compute/docs/reference/rest/beta/sslCertificates) * [Regional](/compute/docs/reference/rest/beta/regionSslCertificates) The sslCertificates are used by: - external HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates.", + "description": "Represents an SSL certificate resource. Google Compute Engine has two SSL certificate resources: * [Global](/compute/docs/reference/rest/beta/sslCertificates) * [Regional](/compute/docs/reference/rest/beta/regionSslCertificates) The global SSL certificates (sslCertificates) are used by: - Global external Application Load Balancers - Classic Application Load Balancers - Proxy Network Load Balancers (with target SSL proxies) The regional SSL certificates (regionSslCertificates) are used by: - Regional external Application Load Balancers - Regional internal Application Load Balancers Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates.", "id": "SslCertificate", "properties": { "certificate": { @@ -78209,13 +78257,13 @@ "REGIONAL_MANAGED_PROXY" ], "enumDescriptions": [ - "Subnet reserved for Global Internal HTTP(S) Load Balancing.", + "Subnet reserved for Global Envoy-based Load Balancing.", "Subnet reserved for Internal HTTP(S) Load Balancing.", "Regular user created or automatically created subnet.", "Subnetwork used as source range for Private NAT Gateways.", "Regular user created or automatically created subnet.", "Subnetworks created for Private Service Connect in the producer network.", - "Subnetwork used for Regional Internal/External HTTP(S) Load Balancing." + "Subnetwork used for Regional Envoy-based Load Balancing." ], "type": "string" }, @@ -79255,7 +79303,7 @@ "type": "object" }, "TargetHttpProxy": { - "description": "Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/beta/targetHttpProxies) * [Regional](/compute/docs/reference/rest/beta/regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by external HTTP load balancers and Traffic Director. * regionTargetHttpProxies are used by internal HTTP load balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", + "description": "Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/beta/targetHttpProxies) * [Regional](/compute/docs/reference/rest/beta/regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", "id": "TargetHttpProxy", "properties": { "creationTimestamp": { @@ -79279,7 +79327,7 @@ "type": "array" }, "httpKeepAliveTimeoutSec": { - "description": "Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For Global external HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For Global external HTTP(S) load balancer (classic), this option is not available publicly.", + "description": "Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported.", "format": "int32", "type": "integer" }, @@ -79806,7 +79854,7 @@ "type": "object" }, "TargetHttpsProxy": { - "description": "Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/beta/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/beta/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", + "description": "Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/beta/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/beta/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", "id": "TargetHttpsProxy", "properties": { "authentication": { @@ -79848,7 +79896,7 @@ "type": "array" }, "httpKeepAliveTimeoutSec": { - "description": "Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For Global external HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For Global external HTTP(S) load balancer (classic), this option is not available publicly.", + "description": "Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported.", "format": "int32", "type": "integer" }, @@ -82769,7 +82817,7 @@ "type": "object" }, "UrlMap": { - "description": "Represents a URL Map resource. Compute Engine has two URL Map resources: * [Global](/compute/docs/reference/rest/beta/urlMaps) * [Regional](/compute/docs/reference/rest/beta/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts.", + "description": "Represents a URL Map resource. Compute Engine has two URL Map resources: * [Global](/compute/docs/reference/rest/beta/urlMaps) * [Regional](/compute/docs/reference/rest/beta/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by global external Application Load Balancers, classic Application Load Balancers, and cross-region internal Application Load Balancers. * regionUrlMaps are used by internal Application Load Balancers, regional external Application Load Balancers and regional internal Application Load Balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts.", "id": "UrlMap", "properties": { "creationTimestamp": { @@ -82778,11 +82826,11 @@ }, "defaultCustomErrorResponsePolicy": { "$ref": "CustomErrorResponsePolicy", - "description": "defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the Load Balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load balancing." + "description": "defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level and applies only when no policy has been defined for the error code at lower levels like PathMatcher, RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher configured for *.example.com has defaultCustomErrorResponsePolicy for 4xx. If a request for http://www.example.com/ encounters a 404, the policy in pathMatcher.defaultCustomErrorResponsePolicy will be enforced. When the request for http://www.example.com/ encounters a 502, the policy in UrlMap.defaultCustomErrorResponsePolicy will be enforced. When a request that does not match any host in *.example.com such as http://www.myotherexample.com/, encounters a 404, UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application Load Balancers." }, "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." + "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." }, "defaultService": { "description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", @@ -83391,7 +83439,7 @@ "id": "UrlMapsValidateRequest", "properties": { "loadBalancingSchemes": { - "description": "Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.", + "description": "Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.", "items": { "enum": [ "EXTERNAL", @@ -83399,9 +83447,9 @@ "LOAD_BALANCING_SCHEME_UNSPECIFIED" ], "enumDescriptions": [ - "Signifies that this will be used for Classic L7 External Load Balancing.", - "Signifies that this will be used for Envoy-based L7 External Load Balancing.", - "If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inferrence is not possible, EXTERNAL will be used as the default type." + "Signifies that this will be used for classic Application Load Balancers.", + "Signifies that this will be used for Envoy-based global external Application Load Balancers.", + "If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inference is not possible, EXTERNAL will be used as the default type." ], "type": "string" }, @@ -83486,13 +83534,13 @@ "REGIONAL_MANAGED_PROXY" ], "enumDescriptions": [ - "Subnet reserved for Global Internal HTTP(S) Load Balancing.", + "Subnet reserved for Global Envoy-based Load Balancing.", "Subnet reserved for Internal HTTP(S) Load Balancing.", "Regular user created or automatically created subnet.", "Subnetwork used as source range for Private NAT Gateways.", "Regular user created or automatically created subnet.", "Subnetworks created for Private Service Connect in the producer network.", - "Subnetwork used for Regional Internal/External HTTP(S) Load Balancing." + "Subnetwork used for Regional Envoy-based Load Balancing." ], "type": "string" }, diff --git a/DiscoveryJson/dialogflow_v2.json b/DiscoveryJson/dialogflow_v2.json index a84f9b64248..021f609830d 100644 --- a/DiscoveryJson/dialogflow_v2.json +++ b/DiscoveryJson/dialogflow_v2.json @@ -3679,6 +3679,35 @@ }, "suggestions": { "methods": { + "searchKnowledge": { + "description": "Get answers for the given query based on knowledge documents.", + "flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/suggestions:searchKnowledge", + "httpMethod": "POST", + "id": "dialogflow.projects.conversations.suggestions.searchKnowledge", + "parameterOrder": [ + "conversation" + ], + "parameters": { + "conversation": { + "description": "The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`.", + "location": "path", + "pattern": "^projects/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+conversation}/suggestions:searchKnowledge", + "request": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "suggestConversationSummary": { "description": "Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", "flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", @@ -7493,6 +7522,35 @@ }, "suggestions": { "methods": { + "searchKnowledge": { + "description": "Get answers for the given query based on knowledge documents.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:searchKnowledge", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.conversations.suggestions.searchKnowledge", + "parameterOrder": [ + "conversation" + ], + "parameters": { + "conversation": { + "description": "The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+conversation}/suggestions:searchKnowledge", + "request": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "suggestConversationSummary": { "description": "Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", @@ -8072,6 +8130,35 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/dialogflow" ] + }, + "searchKnowledge": { + "description": "Get answers for the given query based on knowledge documents.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/suggestions:searchKnowledge", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.suggestions.searchKnowledge", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/suggestions:searchKnowledge", + "request": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] } } } @@ -8205,15 +8292,98 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/dialogflow" ] + }, + "searchKnowledge": { + "description": "Get answers for the given query based on knowledge documents.", + "flatPath": "v2/projects/{projectsId}/suggestions:searchKnowledge", + "httpMethod": "POST", + "id": "dialogflow.projects.suggestions.searchKnowledge", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/suggestions:searchKnowledge", + "request": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] } } } } } }, - "revision": "20230821", + "revision": "20230906", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { + "GoogleCloudDialogflowCxV3AdvancedSettings": { + "description": "Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.", + "id": "GoogleCloudDialogflowCxV3AdvancedSettings", + "properties": { + "audioExportGcsDestination": { + "$ref": "GoogleCloudDialogflowCxV3GcsDestination", + "description": "If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level" + }, + "dtmfSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", + "description": "Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter level." + }, + "loggingSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", + "description": "Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels: - Agent level." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings": { + "description": "Define behaviors for DTMF (dual tone multi frequency).", + "id": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", + "properties": { + "enabled": { + "description": "If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a \"3\" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).", + "type": "boolean" + }, + "finishDigit": { + "description": "The digit that terminates a DTMF digit sequence.", + "type": "string" + }, + "maxDigits": { + "description": "Max length of DTMF digits.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings": { + "description": "Define behaviors on logging.", + "id": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", + "properties": { + "enableInteractionLogging": { + "description": "If true, DF Interaction logging is currently enabled.", + "type": "boolean" + }, + "enableStackdriverLogging": { + "description": "If true, StackDriver logging is currently enabled.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3AudioInput": { "description": "Represents the natural speech audio to be processed.", "id": "GoogleCloudDialogflowCxV3AudioInput", @@ -8704,6 +8874,10 @@ "description": "Represents a form parameter.", "id": "GoogleCloudDialogflowCxV3FormParameter", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "defaultValue": { "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", "type": "any" @@ -8757,6 +8931,10 @@ "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", "id": "GoogleCloudDialogflowCxV3Fulfillment", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "conditionalCases": { "description": "Conditional cases for this fulfillment.", "items": { @@ -8764,6 +8942,10 @@ }, "type": "array" }, + "enableGenerativeFallback": { + "description": "If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.", + "type": "boolean" + }, "messages": { "description": "The list of rich message responses to present to the user.", "items": { @@ -8855,6 +9037,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3GcsDestination": { + "description": "Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or transcripts) outside of Dialogflow.", + "id": "GoogleCloudDialogflowCxV3GcsDestination", + "properties": { + "uri": { + "description": "Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata": { "description": "Metadata in google::longrunning::Operation for Knowledge operations.", "id": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", @@ -9169,6 +9362,10 @@ "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", "id": "GoogleCloudDialogflowCxV3Page", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "displayName": { "description": "Required. The human-readable name of the page, unique within the flow.", "type": "string" @@ -10237,6 +10434,60 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1AdvancedSettings": { + "description": "Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.", + "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "properties": { + "audioExportGcsDestination": { + "$ref": "GoogleCloudDialogflowCxV3beta1GcsDestination", + "description": "If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level" + }, + "dtmfSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", + "description": "Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter level." + }, + "loggingSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", + "description": "Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels: - Agent level." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings": { + "description": "Define behaviors for DTMF (dual tone multi frequency).", + "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", + "properties": { + "enabled": { + "description": "If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a \"3\" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).", + "type": "boolean" + }, + "finishDigit": { + "description": "The digit that terminates a DTMF digit sequence.", + "type": "string" + }, + "maxDigits": { + "description": "Max length of DTMF digits.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings": { + "description": "Define behaviors on logging.", + "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", + "properties": { + "enableInteractionLogging": { + "description": "If true, DF Interaction logging is currently enabled.", + "type": "boolean" + }, + "enableStackdriverLogging": { + "description": "If true, StackDriver logging is currently enabled.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1AudioInput": { "description": "Represents the natural speech audio to be processed.", "id": "GoogleCloudDialogflowCxV3beta1AudioInput", @@ -10727,6 +10978,10 @@ "description": "Represents a form parameter.", "id": "GoogleCloudDialogflowCxV3beta1FormParameter", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "defaultValue": { "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", "type": "any" @@ -10780,6 +11035,10 @@ "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", "id": "GoogleCloudDialogflowCxV3beta1Fulfillment", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "conditionalCases": { "description": "Conditional cases for this fulfillment.", "items": { @@ -10787,6 +11046,10 @@ }, "type": "array" }, + "enableGenerativeFallback": { + "description": "If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.", + "type": "boolean" + }, "messages": { "description": "The list of rich message responses to present to the user.", "items": { @@ -10878,6 +11141,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1GcsDestination": { + "description": "Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or transcripts) outside of Dialogflow.", + "id": "GoogleCloudDialogflowCxV3beta1GcsDestination", + "properties": { + "uri": { + "description": "Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata": { "description": "Metadata in google::longrunning::Operation for Knowledge operations.", "id": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", @@ -11192,6 +11466,10 @@ "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", "id": "GoogleCloudDialogflowCxV3beta1Page", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "displayName": { "description": "Required. The human-readable name of the page, unique within the flow.", "type": "string" @@ -12390,6 +12668,10 @@ ], "type": "string" }, + "knowledgeSearchFeedback": { + "$ref": "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback", + "description": "Optional. Feedback for knowledge search." + }, "summarizationFeedback": { "$ref": "GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback", "description": "Optional. Feedback for conversation summarization." @@ -12397,6 +12679,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback": { + "description": "Feedback for knowledge search.", + "id": "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback", + "properties": { + "answerCopied": { + "description": "Whether the answer was copied by the human agent or not. If the value is set to be true, AnswerFeedback.clicked will be updated to be true.", + "type": "boolean" + }, + "clickedUris": { + "description": "The URIs clicked by the human agent. The value is appended for each UpdateAnswerRecordRequest. If the value is not empty, AnswerFeedback.clicked will be updated to be true.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback": { "description": "Feedback for conversation summarization.", "id": "GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback", @@ -12427,6 +12727,11 @@ "description": "Output only. The article suggestion answer.", "readOnly": true }, + "dialogflowAssistAnswer": { + "$ref": "GoogleCloudDialogflowV2DialogflowAssistAnswer", + "description": "Output only. Dialogflow assist answer.", + "readOnly": true + }, "faqAnswer": { "$ref": "GoogleCloudDialogflowV2FaqAnswer", "description": "Output only. The FAQ answer.", @@ -12467,6 +12772,10 @@ "description": "A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided.", "type": "string" }, + "suggestionInput": { + "$ref": "GoogleCloudDialogflowV2SuggestionInput", + "description": "An input representing the selection of a suggestion." + }, "textInput": { "$ref": "GoogleCloudDialogflowV2TextInput", "description": "The natural language text to be processed." @@ -12930,13 +13239,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", - "Run smart reply model for chat." + "Run smart reply model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -12969,13 +13280,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", - "Run smart reply model for chat." + "Run smart reply model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -13552,6 +13865,25 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2DialogflowAssistAnswer": { + "description": "Represents a Dialogflow assist answer.", + "id": "GoogleCloudDialogflowV2DialogflowAssistAnswer", + "properties": { + "answerRecord": { + "description": "The name of answer record, in the format of \"projects//locations//answerRecords/\"", + "type": "string" + }, + "intentSuggestion": { + "$ref": "GoogleCloudDialogflowV2IntentSuggestion", + "description": "An intent suggestion generated from conversation." + }, + "queryResult": { + "$ref": "GoogleCloudDialogflowV2QueryResult", + "description": "Result from v2 agent." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2Document": { "description": "A knowledge document to be used by a KnowledgeBase. For more information, see the [knowledge base guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases). Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", "id": "GoogleCloudDialogflowV2Document", @@ -14296,8 +14628,12 @@ "$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig", "description": "Configs for processing conversation." }, + "disableAgentQueryLogging": { + "description": "Optional. Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records. Supported features: KNOWLEDGE_SEARCH.", + "type": "boolean" + }, "enableEventBasedSuggestion": { - "description": "Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.", + "description": "Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.", "type": "boolean" }, "queryConfig": { @@ -14374,6 +14710,21 @@ "agent": { "description": "Required. The name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: `projects//locations//agent`. When multiple agents are allowed in the same Dialogflow project.", "type": "string" + }, + "humanAgentSideConfig": { + "$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig", + "description": "Optional. The Dialogflow assist configuration for human agent." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig": { + "description": "The configuration used for human agent side Dialogflow assist suggestion.", + "id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig", + "properties": { + "agent": { + "description": "Optional. The name of a dialogflow virtual agent used for intent detection and suggestion triggered by human agent. Format: `projects//locations//agent`.", + "type": "string" } }, "type": "object" @@ -15607,6 +15958,25 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2IntentSuggestion": { + "description": "Represents an intent suggestion.", + "id": "GoogleCloudDialogflowV2IntentSuggestion", + "properties": { + "description": { + "description": "Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.", + "type": "string" + }, + "displayName": { + "description": "The display name of the intent.", + "type": "string" + }, + "intentV2": { + "description": "The unique identifier of this intent. Format: `projects//locations//agent/intents/`.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2IntentTrainingPhrase": { "description": "Represents an example that the agent is trained on.", "id": "GoogleCloudDialogflowV2IntentTrainingPhrase", @@ -16463,6 +16833,106 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2SearchKnowledgeAnswer": { + "description": "Represents a SearchKnowledge answer.", + "id": "GoogleCloudDialogflowV2SearchKnowledgeAnswer", + "properties": { + "answer": { + "description": "The piece of text from the knowledge base documents that answers the search query", + "type": "string" + }, + "answerRecord": { + "description": "The name of the answer record. Format: `projects//locations//answer Records/`", + "type": "string" + }, + "answerSources": { + "description": "All sources used to generate the answer.", + "items": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource" + }, + "type": "array" + }, + "answerType": { + "description": "The type of the answer.", + "enum": [ + "ANSWER_TYPE_UNSPECIFIED", + "FAQ", + "GENERATIVE" + ], + "enumDescriptions": [ + "The answer has a unspecified type.", + "The answer is from FAQ doucments.", + "The answer is from generative model." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource": { + "description": "The sources of the answers.", + "id": "GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource", + "properties": { + "snippet": { + "description": "The relevant snippet of the article.", + "type": "string" + }, + "title": { + "description": "The title of the article.", + "type": "string" + }, + "uri": { + "description": "The URI of the article.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SearchKnowledgeRequest": { + "description": "The request message for Conversations.SearchKnowledge.", + "id": "GoogleCloudDialogflowV2SearchKnowledgeRequest", + "properties": { + "conversation": { + "description": "The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`.", + "type": "string" + }, + "conversationProfile": { + "description": "Required. The conversation profile used to configure the search. Format: `projects//locations//conversationProfiles/`.", + "type": "string" + }, + "latestMessage": { + "description": "The name of the latest conversation message when the request is triggered. Format: `projects//locations//conversations//messages/`.", + "type": "string" + }, + "parent": { + "description": "The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`.", + "type": "string" + }, + "query": { + "$ref": "GoogleCloudDialogflowV2TextInput", + "description": "Required. The natural language text query for knowledge search." + }, + "sessionId": { + "description": "The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved from conversation profile or on its own to identify a search session. The search history of the same session will impact the search result. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length must not exceed 36 characters.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SearchKnowledgeResponse": { + "description": "The response message for Conversations.SearchKnowledge.", + "id": "GoogleCloudDialogflowV2SearchKnowledgeResponse", + "properties": { + "answers": { + "description": "Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.", + "items": { + "$ref": "GoogleCloudDialogflowV2SearchKnowledgeAnswer" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2Sentiment": { "description": "The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result.", "id": "GoogleCloudDialogflowV2Sentiment", @@ -16569,13 +17039,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", - "Run smart reply model for chat." + "Run smart reply model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -16733,6 +17205,10 @@ "Use an enhanced model variant: * If an enhanced variant does not exist for the given model and request language, Dialogflow falls back to the standard variant. The [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) describes which models have enhanced variants. * If the API caller isn't eligible for enhanced models, Dialogflow returns an error. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible." ], "type": "string" + }, + "useTimeoutBasedEndpointing": { + "description": "Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.", + "type": "boolean" } }, "type": "object" @@ -16943,19 +17419,32 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", - "Run smart reply model for chat." + "Run smart reply model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } }, "type": "object" }, + "GoogleCloudDialogflowV2SuggestionInput": { + "description": "Represents the selection of a suggestion.", + "id": "GoogleCloudDialogflowV2SuggestionInput", + "properties": { + "answerRecord": { + "description": "Required. The ID of a suggestion selected by the human agent. The suggestion(s) were generated in a previous call to request Dialogflow assist. The format is: `projects//locations//answerRecords/` where is an alphanumeric string.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2SuggestionResult": { "description": "One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.", "id": "GoogleCloudDialogflowV2SuggestionResult", @@ -17408,7 +17897,8 @@ "FAQ", "SMART_REPLY", "DIALOGFLOW_ASSIST", - "CONVERSATION_SUMMARIZATION" + "CONVERSATION_SUMMARIZATION", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", @@ -17416,7 +17906,8 @@ "Run FAQ model.", "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", - "Run conversation summarization model for chat." + "Run conversation summarization model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -19321,7 +19812,8 @@ "FAQ", "SMART_REPLY", "DIALOGFLOW_ASSIST", - "CONVERSATION_SUMMARIZATION" + "CONVERSATION_SUMMARIZATION", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", @@ -19329,7 +19821,8 @@ "Run FAQ model.", "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", - "Run conversation summarization model for chat." + "Run conversation summarization model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } diff --git a/DiscoveryJson/dialogflow_v2beta1.json b/DiscoveryJson/dialogflow_v2beta1.json index 6a384c87eb8..0b16384c8c2 100644 --- a/DiscoveryJson/dialogflow_v2beta1.json +++ b/DiscoveryJson/dialogflow_v2beta1.json @@ -3468,6 +3468,35 @@ }, "suggestions": { "methods": { + "searchKnowledge": { + "description": "Get answers for the given query based on knowledge documents.", + "flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/suggestions:searchKnowledge", + "httpMethod": "POST", + "id": "dialogflow.projects.conversations.suggestions.searchKnowledge", + "parameterOrder": [ + "conversation" + ], + "parameters": { + "conversation": { + "description": "The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`.", + "location": "path", + "pattern": "^projects/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2beta1/{+conversation}/suggestions:searchKnowledge", + "request": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "suggestConversationSummary": { "description": "Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", "flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", @@ -6885,6 +6914,35 @@ }, "suggestions": { "methods": { + "searchKnowledge": { + "description": "Get answers for the given query based on knowledge documents.", + "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:searchKnowledge", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.conversations.suggestions.searchKnowledge", + "parameterOrder": [ + "conversation" + ], + "parameters": { + "conversation": { + "description": "The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2beta1/{+conversation}/suggestions:searchKnowledge", + "request": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "suggestConversationSummary": { "description": "Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", @@ -7440,6 +7498,35 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/dialogflow" ] + }, + "searchKnowledge": { + "description": "Get answers for the given query based on knowledge documents.", + "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/suggestions:searchKnowledge", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.suggestions.searchKnowledge", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2beta1/{+parent}/suggestions:searchKnowledge", + "request": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] } } } @@ -7573,15 +7660,98 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/dialogflow" ] + }, + "searchKnowledge": { + "description": "Get answers for the given query based on knowledge documents.", + "flatPath": "v2beta1/projects/{projectsId}/suggestions:searchKnowledge", + "httpMethod": "POST", + "id": "dialogflow.projects.suggestions.searchKnowledge", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2beta1/{+parent}/suggestions:searchKnowledge", + "request": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] } } } } } }, - "revision": "20230821", + "revision": "20230906", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { + "GoogleCloudDialogflowCxV3AdvancedSettings": { + "description": "Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.", + "id": "GoogleCloudDialogflowCxV3AdvancedSettings", + "properties": { + "audioExportGcsDestination": { + "$ref": "GoogleCloudDialogflowCxV3GcsDestination", + "description": "If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level" + }, + "dtmfSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", + "description": "Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter level." + }, + "loggingSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", + "description": "Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels: - Agent level." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings": { + "description": "Define behaviors for DTMF (dual tone multi frequency).", + "id": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", + "properties": { + "enabled": { + "description": "If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a \"3\" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).", + "type": "boolean" + }, + "finishDigit": { + "description": "The digit that terminates a DTMF digit sequence.", + "type": "string" + }, + "maxDigits": { + "description": "Max length of DTMF digits.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings": { + "description": "Define behaviors on logging.", + "id": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", + "properties": { + "enableInteractionLogging": { + "description": "If true, DF Interaction logging is currently enabled.", + "type": "boolean" + }, + "enableStackdriverLogging": { + "description": "If true, StackDriver logging is currently enabled.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3AudioInput": { "description": "Represents the natural speech audio to be processed.", "id": "GoogleCloudDialogflowCxV3AudioInput", @@ -8072,6 +8242,10 @@ "description": "Represents a form parameter.", "id": "GoogleCloudDialogflowCxV3FormParameter", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "defaultValue": { "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", "type": "any" @@ -8125,6 +8299,10 @@ "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", "id": "GoogleCloudDialogflowCxV3Fulfillment", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "conditionalCases": { "description": "Conditional cases for this fulfillment.", "items": { @@ -8132,6 +8310,10 @@ }, "type": "array" }, + "enableGenerativeFallback": { + "description": "If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.", + "type": "boolean" + }, "messages": { "description": "The list of rich message responses to present to the user.", "items": { @@ -8223,6 +8405,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3GcsDestination": { + "description": "Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or transcripts) outside of Dialogflow.", + "id": "GoogleCloudDialogflowCxV3GcsDestination", + "properties": { + "uri": { + "description": "Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata": { "description": "Metadata in google::longrunning::Operation for Knowledge operations.", "id": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", @@ -8537,6 +8730,10 @@ "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", "id": "GoogleCloudDialogflowCxV3Page", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "displayName": { "description": "Required. The human-readable name of the page, unique within the flow.", "type": "string" @@ -9605,6 +9802,60 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1AdvancedSettings": { + "description": "Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.", + "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "properties": { + "audioExportGcsDestination": { + "$ref": "GoogleCloudDialogflowCxV3beta1GcsDestination", + "description": "If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level" + }, + "dtmfSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", + "description": "Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter level." + }, + "loggingSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", + "description": "Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels: - Agent level." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings": { + "description": "Define behaviors for DTMF (dual tone multi frequency).", + "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", + "properties": { + "enabled": { + "description": "If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a \"3\" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).", + "type": "boolean" + }, + "finishDigit": { + "description": "The digit that terminates a DTMF digit sequence.", + "type": "string" + }, + "maxDigits": { + "description": "Max length of DTMF digits.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings": { + "description": "Define behaviors on logging.", + "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", + "properties": { + "enableInteractionLogging": { + "description": "If true, DF Interaction logging is currently enabled.", + "type": "boolean" + }, + "enableStackdriverLogging": { + "description": "If true, StackDriver logging is currently enabled.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1AudioInput": { "description": "Represents the natural speech audio to be processed.", "id": "GoogleCloudDialogflowCxV3beta1AudioInput", @@ -10095,6 +10346,10 @@ "description": "Represents a form parameter.", "id": "GoogleCloudDialogflowCxV3beta1FormParameter", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "defaultValue": { "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", "type": "any" @@ -10148,6 +10403,10 @@ "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", "id": "GoogleCloudDialogflowCxV3beta1Fulfillment", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "conditionalCases": { "description": "Conditional cases for this fulfillment.", "items": { @@ -10155,6 +10414,10 @@ }, "type": "array" }, + "enableGenerativeFallback": { + "description": "If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.", + "type": "boolean" + }, "messages": { "description": "The list of rich message responses to present to the user.", "items": { @@ -10246,6 +10509,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1GcsDestination": { + "description": "Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or transcripts) outside of Dialogflow.", + "id": "GoogleCloudDialogflowCxV3beta1GcsDestination", + "properties": { + "uri": { + "description": "Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata": { "description": "Metadata in google::longrunning::Operation for Knowledge operations.", "id": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", @@ -10560,6 +10834,10 @@ "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", "id": "GoogleCloudDialogflowCxV3beta1Page", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "displayName": { "description": "Required. The human-readable name of the page, unique within the flow.", "type": "string" @@ -11753,13 +12031,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", - "Run smart reply model for chat." + "Run smart reply model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -13513,13 +13793,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", - "Run smart reply model for chat." + "Run smart reply model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -13893,6 +14175,10 @@ ], "type": "string" }, + "knowledgeSearchFeedback": { + "$ref": "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback", + "description": "Optional. Feedback for knowledge search." + }, "summarizationFeedback": { "$ref": "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback", "description": "Feedback for conversation summarization." @@ -13900,6 +14186,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback": { + "description": "Feedback for knowledge search.", + "id": "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback", + "properties": { + "answerCopied": { + "description": "Whether the answer was copied by the human agent or not. If the value is set to be true, AnswerFeedback.clicked will be updated to be true.", + "type": "boolean" + }, + "clickedUris": { + "description": "The URIs clicked by the human agent. The value is appended for each UpdateAnswerRecordRequest. If the value is not empty, AnswerFeedback.clicked will be updated to be true.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback": { "description": "Feedback for conversation summarization.", "id": "GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback", @@ -14529,7 +14833,8 @@ "FAQ", "SMART_REPLY", "DIALOGFLOW_ASSIST", - "CONVERSATION_SUMMARIZATION" + "CONVERSATION_SUMMARIZATION", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", @@ -14537,7 +14842,8 @@ "Run FAQ model.", "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", - "Run conversation summarization model for chat." + "Run conversation summarization model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -14572,7 +14878,8 @@ "FAQ", "SMART_REPLY", "DIALOGFLOW_ASSIST", - "CONVERSATION_SUMMARIZATION" + "CONVERSATION_SUMMARIZATION", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", @@ -14580,7 +14887,8 @@ "Run FAQ model.", "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", - "Run conversation summarization model for chat." + "Run conversation summarization model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -15626,8 +15934,12 @@ "$ref": "GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig", "description": "Configs for processing conversation." }, + "disableAgentQueryLogging": { + "description": "Optional. Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records. Supported features: KNOWLEDGE_SEARCH.", + "type": "boolean" + }, "enableEventBasedSuggestion": { - "description": "Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, ENTITY_EXTRACTION.", + "description": "Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, ENTITY_EXTRACTION, KNOWLEDGE_ASSIST.", "type": "boolean" }, "queryConfig": { @@ -18225,6 +18537,106 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer": { + "description": "Represents a SearchKnowledge answer.", + "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer", + "properties": { + "answer": { + "description": "The piece of text from the knowledge base documents that answers the search query", + "type": "string" + }, + "answerRecord": { + "description": "The name of the answer record. Format: `projects//locations//answer Records/`", + "type": "string" + }, + "answerSources": { + "description": "All sources used to generate the answer.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource" + }, + "type": "array" + }, + "answerType": { + "description": "The type of the answer.", + "enum": [ + "ANSWER_TYPE_UNSPECIFIED", + "FAQ", + "GENERATIVE" + ], + "enumDescriptions": [ + "The answer has a unspecified type.", + "The answer is from FAQ doucments.", + "The answer is from generative model." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource": { + "description": "The sources of the answers.", + "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource", + "properties": { + "snippet": { + "description": "The relevant snippet of the article.", + "type": "string" + }, + "title": { + "description": "The title of the article.", + "type": "string" + }, + "uri": { + "description": "The URI of the article.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SearchKnowledgeRequest": { + "description": "The request message for Conversations.SearchKnowledge.", + "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeRequest", + "properties": { + "conversation": { + "description": "The conversation (between human agent and end user) where the search request is triggered. Format: `projects//locations//conversations/`.", + "type": "string" + }, + "conversationProfile": { + "description": "Required. The conversation profile used to configure the search. Format: `projects//locations//conversationProfiles/`.", + "type": "string" + }, + "latestMessage": { + "description": "The name of the latest conversation message when the request is triggered. Format: `projects//locations//conversations//messages/`.", + "type": "string" + }, + "parent": { + "description": "The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`.", + "type": "string" + }, + "query": { + "$ref": "GoogleCloudDialogflowV2beta1TextInput", + "description": "Required. The natural language text query for knowledge search." + }, + "sessionId": { + "description": "The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved from conversation profile or on its own to identify a search session. The search history of the same session will impact the search result. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length must not exceed 36 characters.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse": { + "description": "The response message for Conversations.SearchKnowledge.", + "id": "GoogleCloudDialogflowV2beta1SearchKnowledgeResponse", + "properties": { + "answers": { + "description": "Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1Sentiment": { "description": "The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result.", "id": "GoogleCloudDialogflowV2beta1Sentiment", @@ -18333,7 +18745,8 @@ "FAQ", "SMART_REPLY", "DIALOGFLOW_ASSIST", - "CONVERSATION_SUMMARIZATION" + "CONVERSATION_SUMMARIZATION", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", @@ -18341,7 +18754,8 @@ "Run FAQ model.", "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", - "Run conversation summarization model for chat." + "Run conversation summarization model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -18437,6 +18851,10 @@ "Use an enhanced model variant: * If an enhanced variant does not exist for the given model and request language, Dialogflow falls back to the standard variant. The [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) describes which models have enhanced variants. * If the API caller isn't eligible for enhanced models, Dialogflow returns an error. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible." ], "type": "string" + }, + "useTimeoutBasedEndpointing": { + "description": "Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.", + "type": "boolean" } }, "type": "object" @@ -18789,7 +19207,8 @@ "FAQ", "SMART_REPLY", "DIALOGFLOW_ASSIST", - "CONVERSATION_SUMMARIZATION" + "CONVERSATION_SUMMARIZATION", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", @@ -18797,7 +19216,8 @@ "Run FAQ model.", "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", - "Run conversation summarization model for chat." + "Run conversation summarization model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } diff --git a/DiscoveryJson/dialogflow_v3.json b/DiscoveryJson/dialogflow_v3.json index ec62e657ea9..633a6fa14d1 100644 --- a/DiscoveryJson/dialogflow_v3.json +++ b/DiscoveryJson/dialogflow_v3.json @@ -294,6 +294,37 @@ "https://www.googleapis.com/auth/dialogflow" ] }, + "getGenerativeSettings": { + "description": "Gets the generative settings for the agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generativeSettings", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.getGenerativeSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "Required. Language code of the generative settings.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Format: `projects//locations//agents//generativeSettings`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generativeSettings$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3GenerativeSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "getValidationResult": { "description": "Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called.", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/validationResult", @@ -426,6 +457,41 @@ "https://www.googleapis.com/auth/dialogflow" ] }, + "updateGenerativeSettings": { + "description": "Updates the generative settings for the agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generativeSettings", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.updateGenerativeSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Format: `projects//locations//agents//generativeSettings`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generativeSettings$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3GenerativeSettings" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3GenerativeSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "validate": { "description": "Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.", "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:validate", @@ -4002,7 +4068,7 @@ } } }, - "revision": "20230821", + "revision": "20230906", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -4013,6 +4079,10 @@ "$ref": "GoogleCloudDialogflowCxV3GcsDestination", "description": "If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level" }, + "dtmfSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", + "description": "Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter level." + }, "loggingSettings": { "$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", "description": "Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels: - Agent level." @@ -4020,6 +4090,26 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings": { + "description": "Define behaviors for DTMF (dual tone multi frequency).", + "id": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", + "properties": { + "enabled": { + "description": "If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a \"3\" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).", + "type": "boolean" + }, + "finishDigit": { + "description": "The digit that terminates a DTMF digit sequence.", + "type": "string" + }, + "maxDigits": { + "description": "Max length of DTMF digits.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings": { "description": "Define behaviors on logging.", "id": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", @@ -4068,6 +4158,10 @@ "description": "Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.", "type": "boolean" }, + "genAppBuilderSettings": { + "$ref": "GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings", + "description": "Gen App Builder-related agent-level settings." + }, "gitIntegrationSettings": { "$ref": "GoogleCloudDialogflowCxV3AgentGitIntegrationSettings", "description": "Git integration settings for this agent." @@ -4110,6 +4204,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings": { + "description": "Settings for Gen App Builder.", + "id": "GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings", + "properties": { + "engine": { + "description": "Required. The full name of the Gen App Builder engine related to this agent if there is one. Format: `projects/{Project ID}/locations/{Location ID}/collections/{Collection ID}/engines/{Engine ID}`", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3AgentGitIntegrationSettings": { "description": "Settings for connecting to Git repository for an agent.", "id": "GoogleCloudDialogflowCxV3AgentGitIntegrationSettings", @@ -5326,6 +5431,10 @@ "description": "Flows represents the conversation flows when you build your chatbot agent. A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started. Usually, when a transition route is followed by a matched intent, the intent will be \"consumed\". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.", "id": "GoogleCloudDialogflowCxV3Flow", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "description": { "description": "The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.", "type": "string" @@ -5438,6 +5547,10 @@ "description": "Represents a form parameter.", "id": "GoogleCloudDialogflowCxV3FormParameter", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "defaultValue": { "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", "type": "any" @@ -5534,6 +5647,10 @@ "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", "id": "GoogleCloudDialogflowCxV3Fulfillment", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "conditionalCases": { "description": "Conditional cases for this fulfillment.", "items": { @@ -5541,6 +5658,10 @@ }, "type": "array" }, + "enableGenerativeFallback": { + "description": "If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.", + "type": "boolean" + }, "messages": { "description": "The list of rich message responses to present to the user.", "items": { @@ -5643,6 +5764,97 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3GenerativeSettings": { + "description": "Settings for Generative AI.", + "id": "GoogleCloudDialogflowCxV3GenerativeSettings", + "properties": { + "fallbackSettings": { + "$ref": "GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings", + "description": "Settings for Generative Fallback." + }, + "generativeSafetySettings": { + "$ref": "GoogleCloudDialogflowCxV3SafetySettings", + "description": "Settings for Generative Safety." + }, + "knowledgeConnectorSettings": { + "$ref": "GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings", + "description": "Settings for knowledge connector." + }, + "languageCode": { + "description": "Language for this settings.", + "type": "string" + }, + "name": { + "description": "Format: `projects//locations//agents//generativeSettings`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings": { + "description": "Settings for Generative Fallback.", + "id": "GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings", + "properties": { + "promptTemplates": { + "description": "Stored prompts that can be selected, for example default templates like \"conservative\" or \"chatty\", or user defined ones.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate" + }, + "type": "array" + }, + "selectedPrompt": { + "description": "Display name of the selected prompt.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate": { + "description": "Prompt template.", + "id": "GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate", + "properties": { + "displayName": { + "description": "Prompt name.", + "type": "string" + }, + "frozen": { + "description": "If the flag is true, the prompt is frozen and cannot be modified by users.", + "type": "boolean" + }, + "promptText": { + "description": "Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream. For example: \"Here is a conversation $conversation, a response is: \"", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings": { + "description": "Settings for knowledge connector. These parameters are used for LLM prompt like \"You are . You are a helpful and verbose at , . Your task is to help humans on \".", + "id": "GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings", + "properties": { + "agent": { + "description": "Name of the virtual agent. Used for LLM prompt. Can be left empty.", + "type": "string" + }, + "agentIdentity": { + "description": "Identity of the agent, e.g. \"virtual agent\", \"AI assistant\".", + "type": "string" + }, + "agentScope": { + "description": "Agent scope, e.g. \"Example company website\", \"internal Example company website for employees\", \"manual of car owner\".", + "type": "string" + }, + "business": { + "description": "Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.", + "type": "string" + }, + "businessDescription": { + "description": "Company description, used for LLM prompt, e.g. \"a family company selling freshly roasted coffee beans\".", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata": { "description": "Metadata in google::longrunning::Operation for Knowledge operations.", "id": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", @@ -6559,6 +6771,10 @@ "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", "id": "GoogleCloudDialogflowCxV3Page", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "displayName": { "description": "Required. The human-readable name of the page, unique within the flow.", "type": "string" @@ -6783,6 +6999,10 @@ "description": "Represents the result of a conversational query.", "id": "GoogleCloudDialogflowCxV3QueryResult", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Returns the current advanced settings including IVR settings. Even though the operations configured by these settings are performed by Dialogflow, the client may need to perform special logic at the moment. For example, if Dialogflow exports audio to Google Cloud Storage, then the client may need to wait for the resulting object to appear in the bucket before proceeding." + }, "currentPage": { "$ref": "GoogleCloudDialogflowCxV3Page", "description": "The current Page. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`." @@ -7284,6 +7504,35 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3SafetySettings": { + "description": "Settings for Generative Safety.", + "id": "GoogleCloudDialogflowCxV3SafetySettings", + "properties": { + "bannedPhrases": { + "description": "Banned phrases for generated text.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3SafetySettingsPhrase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SafetySettingsPhrase": { + "description": "Text input which can be used for prompt or banned phrases.", + "id": "GoogleCloudDialogflowCxV3SafetySettingsPhrase", + "properties": { + "languageCode": { + "description": "Required. Language code of the phrase.", + "type": "string" + }, + "text": { + "description": "Required. Text input which can be used for prompt or banned phrases.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3SecuritySettings": { "description": "Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.", "id": "GoogleCloudDialogflowCxV3SecuritySettings", @@ -7351,6 +7600,18 @@ ], "type": "string" }, + "retentionStrategy": { + "description": "Specifies the retention behavior defined by SecuritySettings.RetentionStrategy.", + "enum": [ + "RETENTION_STRATEGY_UNSPECIFIED", + "REMOVE_AFTER_CONVERSATION" + ], + "enumDescriptions": [ + "Retains the persisted data with Dialogflow's internal default 365d TTLs.", + "Removes data when the conversation ends. If there is no Conversation explicitly established, a default conversation ends when the corresponding Dialogflow session ends." + ], + "type": "string" + }, "retentionWindowDays": { "description": "Retains the data for the specified number of days. User must set a value lower than Dialogflow's default 365d TTL (30 days for Agent Assist traffic), higher value will be ignored and use default. Setting a value higher than that has no effect. A missing value or setting to 0 also means we use default TTL.", "format": "int32", @@ -8553,6 +8814,60 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1AdvancedSettings": { + "description": "Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.", + "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "properties": { + "audioExportGcsDestination": { + "$ref": "GoogleCloudDialogflowCxV3beta1GcsDestination", + "description": "If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level" + }, + "dtmfSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", + "description": "Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter level." + }, + "loggingSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", + "description": "Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels: - Agent level." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings": { + "description": "Define behaviors for DTMF (dual tone multi frequency).", + "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", + "properties": { + "enabled": { + "description": "If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a \"3\" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).", + "type": "boolean" + }, + "finishDigit": { + "description": "The digit that terminates a DTMF digit sequence.", + "type": "string" + }, + "maxDigits": { + "description": "Max length of DTMF digits.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings": { + "description": "Define behaviors on logging.", + "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", + "properties": { + "enableInteractionLogging": { + "description": "If true, DF Interaction logging is currently enabled.", + "type": "boolean" + }, + "enableStackdriverLogging": { + "description": "If true, StackDriver logging is currently enabled.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1AudioInput": { "description": "Represents the natural speech audio to be processed.", "id": "GoogleCloudDialogflowCxV3beta1AudioInput", @@ -9043,6 +9358,10 @@ "description": "Represents a form parameter.", "id": "GoogleCloudDialogflowCxV3beta1FormParameter", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "defaultValue": { "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", "type": "any" @@ -9096,6 +9415,10 @@ "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", "id": "GoogleCloudDialogflowCxV3beta1Fulfillment", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "conditionalCases": { "description": "Conditional cases for this fulfillment.", "items": { @@ -9103,6 +9426,10 @@ }, "type": "array" }, + "enableGenerativeFallback": { + "description": "If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.", + "type": "boolean" + }, "messages": { "description": "The list of rich message responses to present to the user.", "items": { @@ -9194,6 +9521,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1GcsDestination": { + "description": "Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or transcripts) outside of Dialogflow.", + "id": "GoogleCloudDialogflowCxV3beta1GcsDestination", + "properties": { + "uri": { + "description": "Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata": { "description": "Metadata in google::longrunning::Operation for Knowledge operations.", "id": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", @@ -9508,6 +9846,10 @@ "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", "id": "GoogleCloudDialogflowCxV3beta1Page", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "displayName": { "description": "Required. The human-readable name of the page, unique within the flow.", "type": "string" @@ -10701,13 +11043,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", - "Run smart reply model for chat." + "Run smart reply model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -12461,13 +12805,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", - "Run smart reply model for chat." + "Run smart reply model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -12812,7 +13158,8 @@ "FAQ", "SMART_REPLY", "DIALOGFLOW_ASSIST", - "CONVERSATION_SUMMARIZATION" + "CONVERSATION_SUMMARIZATION", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", @@ -12820,7 +13167,8 @@ "Run FAQ model.", "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", - "Run conversation summarization model for chat." + "Run conversation summarization model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -14725,7 +15073,8 @@ "FAQ", "SMART_REPLY", "DIALOGFLOW_ASSIST", - "CONVERSATION_SUMMARIZATION" + "CONVERSATION_SUMMARIZATION", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", @@ -14733,7 +15082,8 @@ "Run FAQ model.", "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", - "Run conversation summarization model for chat." + "Run conversation summarization model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } diff --git a/DiscoveryJson/dialogflow_v3beta1.json b/DiscoveryJson/dialogflow_v3beta1.json index 220cc32ecf0..39355683c9d 100644 --- a/DiscoveryJson/dialogflow_v3beta1.json +++ b/DiscoveryJson/dialogflow_v3beta1.json @@ -294,6 +294,37 @@ "https://www.googleapis.com/auth/dialogflow" ] }, + "getGenerativeSettings": { + "description": "Gets the generative settings for the agent.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generativeSettings", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.getGenerativeSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "Required. Language code of the generative settings.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Format: `projects//locations//agents//generativeSettings`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generativeSettings$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "getValidationResult": { "description": "Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called.", "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/validationResult", @@ -426,6 +457,41 @@ "https://www.googleapis.com/auth/dialogflow" ] }, + "updateGenerativeSettings": { + "description": "Updates the generative settings for the agent.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/generativeSettings", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.updateGenerativeSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Format: `projects//locations//agents//generativeSettings`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/generativeSettings$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3beta1/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettings" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "validate": { "description": "Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.", "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:validate", @@ -4002,9 +4068,63 @@ } } }, - "revision": "20230821", + "revision": "20230906", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { + "GoogleCloudDialogflowCxV3AdvancedSettings": { + "description": "Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.", + "id": "GoogleCloudDialogflowCxV3AdvancedSettings", + "properties": { + "audioExportGcsDestination": { + "$ref": "GoogleCloudDialogflowCxV3GcsDestination", + "description": "If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level" + }, + "dtmfSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", + "description": "Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter level." + }, + "loggingSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", + "description": "Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels: - Agent level." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings": { + "description": "Define behaviors for DTMF (dual tone multi frequency).", + "id": "GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings", + "properties": { + "enabled": { + "description": "If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a \"3\" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).", + "type": "boolean" + }, + "finishDigit": { + "description": "The digit that terminates a DTMF digit sequence.", + "type": "string" + }, + "maxDigits": { + "description": "Max length of DTMF digits.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings": { + "description": "Define behaviors on logging.", + "id": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", + "properties": { + "enableInteractionLogging": { + "description": "If true, DF Interaction logging is currently enabled.", + "type": "boolean" + }, + "enableStackdriverLogging": { + "description": "If true, StackDriver logging is currently enabled.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3AudioInput": { "description": "Represents the natural speech audio to be processed.", "id": "GoogleCloudDialogflowCxV3AudioInput", @@ -4495,6 +4615,10 @@ "description": "Represents a form parameter.", "id": "GoogleCloudDialogflowCxV3FormParameter", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "defaultValue": { "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", "type": "any" @@ -4548,6 +4672,10 @@ "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", "id": "GoogleCloudDialogflowCxV3Fulfillment", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "conditionalCases": { "description": "Conditional cases for this fulfillment.", "items": { @@ -4555,6 +4683,10 @@ }, "type": "array" }, + "enableGenerativeFallback": { + "description": "If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.", + "type": "boolean" + }, "messages": { "description": "The list of rich message responses to present to the user.", "items": { @@ -4646,6 +4778,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3GcsDestination": { + "description": "Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or transcripts) outside of Dialogflow.", + "id": "GoogleCloudDialogflowCxV3GcsDestination", + "properties": { + "uri": { + "description": "Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata": { "description": "Metadata in google::longrunning::Operation for Knowledge operations.", "id": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", @@ -4960,6 +5103,10 @@ "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", "id": "GoogleCloudDialogflowCxV3Page", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3AdvancedSettings", + "description": "Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "displayName": { "description": "Required. The human-readable name of the page, unique within the flow.", "type": "string" @@ -6036,6 +6183,10 @@ "$ref": "GoogleCloudDialogflowCxV3beta1GcsDestination", "description": "If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level" }, + "dtmfSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", + "description": "Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter level." + }, "loggingSettings": { "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", "description": "Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech logging. Exposed at the following levels: - Agent level." @@ -6043,6 +6194,26 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings": { + "description": "Define behaviors for DTMF (dual tone multi frequency).", + "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings", + "properties": { + "enabled": { + "description": "If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a \"3\" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).", + "type": "boolean" + }, + "finishDigit": { + "description": "The digit that terminates a DTMF digit sequence.", + "type": "string" + }, + "maxDigits": { + "description": "Max length of DTMF digits.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings": { "description": "Define behaviors on logging.", "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", @@ -6091,6 +6262,10 @@ "description": "Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.", "type": "boolean" }, + "genAppBuilderSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings", + "description": "Gen App Builder-related agent-level settings." + }, "gitIntegrationSettings": { "$ref": "GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings", "description": "Git integration settings for this agent." @@ -6133,6 +6308,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings": { + "description": "Settings for Gen App Builder.", + "id": "GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings", + "properties": { + "engine": { + "description": "Required. The full name of the Gen App Builder engine related to this agent if there is one. Format: `projects/{Project ID}/locations/{Location ID}/collections/{Collection ID}/engines/{Engine ID}`", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings": { "description": "Settings for connecting to Git repository for an agent.", "id": "GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings", @@ -7349,6 +7535,10 @@ "description": "Flows represents the conversation flows when you build your chatbot agent. A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started. Usually, when a transition route is followed by a matched intent, the intent will be \"consumed\". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.", "id": "GoogleCloudDialogflowCxV3beta1Flow", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "description": { "description": "The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.", "type": "string" @@ -7461,6 +7651,10 @@ "description": "Represents a form parameter.", "id": "GoogleCloudDialogflowCxV3beta1FormParameter", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "defaultValue": { "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", "type": "any" @@ -7557,6 +7751,10 @@ "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", "id": "GoogleCloudDialogflowCxV3beta1Fulfillment", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "conditionalCases": { "description": "Conditional cases for this fulfillment.", "items": { @@ -7564,6 +7762,10 @@ }, "type": "array" }, + "enableGenerativeFallback": { + "description": "If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated with no-match event handlers.", + "type": "boolean" + }, "messages": { "description": "The list of rich message responses to present to the user.", "items": { @@ -7666,6 +7868,97 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1GenerativeSettings": { + "description": "Settings for Generative AI.", + "id": "GoogleCloudDialogflowCxV3beta1GenerativeSettings", + "properties": { + "fallbackSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings", + "description": "Settings for Generative Fallback." + }, + "generativeSafetySettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1SafetySettings", + "description": "Settings for Generative Safety." + }, + "knowledgeConnectorSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings", + "description": "Settings for knowledge connector." + }, + "languageCode": { + "description": "Language for this settings.", + "type": "string" + }, + "name": { + "description": "Format: `projects//locations//agents//generativeSettings`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings": { + "description": "Settings for Generative Fallback.", + "id": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings", + "properties": { + "promptTemplates": { + "description": "Stored prompts that can be selected, for example default templates like \"conservative\" or \"chatty\", or user defined ones.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate" + }, + "type": "array" + }, + "selectedPrompt": { + "description": "Display name of the selected prompt.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate": { + "description": "Prompt template.", + "id": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate", + "properties": { + "displayName": { + "description": "Prompt name.", + "type": "string" + }, + "frozen": { + "description": "If the flag is true, the prompt is frozen and cannot be modified by users.", + "type": "boolean" + }, + "promptText": { + "description": "Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream. For example: \"Here is a conversation $conversation, a response is: \"", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings": { + "description": "Settings for knowledge connector. These parameters are used for LLM prompt like \"You are . You are a helpful and verbose at , . Your task is to help humans on \".", + "id": "GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings", + "properties": { + "agent": { + "description": "Name of the virtual agent. Used for LLM prompt. Can be left empty.", + "type": "string" + }, + "agentIdentity": { + "description": "Identity of the agent, e.g. \"virtual agent\", \"AI assistant\".", + "type": "string" + }, + "agentScope": { + "description": "Agent scope, e.g. \"Example company website\", \"internal Example company website for employees\", \"manual of car owner\".", + "type": "string" + }, + "business": { + "description": "Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.", + "type": "string" + }, + "businessDescription": { + "description": "Company description, used for LLM prompt, e.g. \"a family company selling freshly roasted coffee beans\".", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata": { "description": "Metadata in google::longrunning::Operation for Knowledge operations.", "id": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", @@ -8582,6 +8875,10 @@ "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", "id": "GoogleCloudDialogflowCxV3beta1Page", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings exposed at the higher level." + }, "displayName": { "description": "Required. The human-readable name of the page, unique within the flow.", "type": "string" @@ -8806,6 +9103,10 @@ "description": "Represents the result of a conversational query.", "id": "GoogleCloudDialogflowCxV3beta1QueryResult", "properties": { + "advancedSettings": { + "$ref": "GoogleCloudDialogflowCxV3beta1AdvancedSettings", + "description": "Returns the current advanced settings including IVR settings. Even though the operations configured by these settings are performed by Dialogflow, the client may need to perform special logic at the moment. For example, if Dialogflow exports audio to Google Cloud Storage, then the client may need to wait for the resulting object to appear in the bucket before proceeding." + }, "currentPage": { "$ref": "GoogleCloudDialogflowCxV3beta1Page", "description": "The current Page. Some, not all fields are filled in this message, including but not limited to `name` and `display_name`." @@ -9291,6 +9592,35 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1SafetySettings": { + "description": "Settings for Generative Safety.", + "id": "GoogleCloudDialogflowCxV3beta1SafetySettings", + "properties": { + "bannedPhrases": { + "description": "Banned phrases for generated text.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase": { + "description": "Text input which can be used for prompt or banned phrases.", + "id": "GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase", + "properties": { + "languageCode": { + "description": "Required. Language code of the phrase.", + "type": "string" + }, + "text": { + "description": "Required. Text input which can be used for prompt or banned phrases.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1SecuritySettings": { "description": "Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.", "id": "GoogleCloudDialogflowCxV3beta1SecuritySettings", @@ -9358,6 +9688,18 @@ ], "type": "string" }, + "retentionStrategy": { + "description": "Specifies the retention behavior defined by SecuritySettings.RetentionStrategy.", + "enum": [ + "RETENTION_STRATEGY_UNSPECIFIED", + "REMOVE_AFTER_CONVERSATION" + ], + "enumDescriptions": [ + "Retains the persisted data with Dialogflow's internal default 365d TTLs.", + "Removes data when the conversation ends. If there is no Conversation explicitly established, a default conversation ends when the corresponding Dialogflow session ends." + ], + "type": "string" + }, "retentionWindowDays": { "description": "Retains data in interaction logging for the specified number of days. This does not apply to Cloud logging, which is owned by the user - not Dialogflow. User must set a value lower than Dialogflow's default 365d TTL (30 days for Agent Assist traffic), higher value will be ignored and use default. Setting a value higher than that has no effect. A missing value or setting to 0 also means we use default TTL.", "format": "int32", @@ -10701,13 +11043,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", - "Run smart reply model for chat." + "Run smart reply model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -12461,13 +12805,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", - "Run smart reply model for chat." + "Run smart reply model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -12812,7 +13158,8 @@ "FAQ", "SMART_REPLY", "DIALOGFLOW_ASSIST", - "CONVERSATION_SUMMARIZATION" + "CONVERSATION_SUMMARIZATION", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", @@ -12820,7 +13167,8 @@ "Run FAQ model.", "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", - "Run conversation summarization model for chat." + "Run conversation summarization model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } @@ -14725,7 +15073,8 @@ "FAQ", "SMART_REPLY", "DIALOGFLOW_ASSIST", - "CONVERSATION_SUMMARIZATION" + "CONVERSATION_SUMMARIZATION", + "KNOWLEDGE_SEARCH" ], "enumDescriptions": [ "Unspecified feature type.", @@ -14733,7 +15082,8 @@ "Run FAQ model.", "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", - "Run conversation summarization model for chat." + "Run conversation summarization model for chat.", + "Run knowledge search with text input from agent or text generated query." ], "type": "string" } diff --git a/DiscoveryJson/dlp_v2.json b/DiscoveryJson/dlp_v2.json index f96f969b8cb..b54592fccae 100644 --- a/DiscoveryJson/dlp_v2.json +++ b/DiscoveryJson/dlp_v2.json @@ -3412,7 +3412,7 @@ } } }, - "revision": "20230806", + "revision": "20230903", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -6000,6 +6000,37 @@ }, "type": "object" }, + "GooglePrivacyDlpV2InfoTypeLikelihood": { + "description": "Configuration to control custom minimum likelihoods per infotype. Used when certain infotypes need to return with higher or lower precision than the baseline, i.e. when wanting PERSON_NAME to return all possible names without lowering the precision of other infotypes.", + "id": "GooglePrivacyDlpV2InfoTypeLikelihood", + "properties": { + "infoType": { + "$ref": "GooglePrivacyDlpV2InfoType", + "description": "Type of information the likelihood threshold applies to. Only one likelihood per info_type should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails." + }, + "minLikelihood": { + "description": "Only returns findings equal or above this threshold. This field is required or else the configuration fails.", + "enum": [ + "LIKELIHOOD_UNSPECIFIED", + "VERY_UNLIKELY", + "UNLIKELY", + "POSSIBLE", + "LIKELY", + "VERY_LIKELY" + ], + "enumDescriptions": [ + "Default value; same as POSSIBLE.", + "Highest chance of a false positive.", + "High chance of a false positive.", + "Some matching signals. The default value.", + "Low chance of a false positive.", + "Confidence level is high. Lowest chance of a false positive." + ], + "type": "string" + } + }, + "type": "object" + }, "GooglePrivacyDlpV2InfoTypeLimit": { "description": "Max findings configuration per infoType, per content item or long running DlpJob.", "id": "GooglePrivacyDlpV2InfoTypeLimit", @@ -6148,6 +6179,13 @@ ], "type": "string" }, + "minLikelihoodPerInfoType": { + "description": "Per infotype likelihoods. For each infotype, a user can specify a minimum likelihood, and only return that infotype if it is above that threshold. If an infotype is not included, it uses the InspectConfig min_likelihood.", + "items": { + "$ref": "GooglePrivacyDlpV2InfoTypeLikelihood" + }, + "type": "array" + }, "ruleSet": { "description": "Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type.", "items": { diff --git a/DiscoveryJson/dns_v1.json b/DiscoveryJson/dns_v1.json index 0ba755af7c6..1531a3230b2 100644 --- a/DiscoveryJson/dns_v1.json +++ b/DiscoveryJson/dns_v1.json @@ -1824,7 +1824,7 @@ } } }, - "revision": "20230807", + "revision": "20230831", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { @@ -3043,7 +3043,7 @@ "id": "RRSetRoutingPolicyGeoPolicy", "properties": { "enableFencing": { - "description": "Without fencing, if health check fails for all configured items in the current geo bucket, we'll failover to the next nearest geo bucket. With fencing, if health check is enabled, as long as some targets in the current geo bucket are healthy, we'll return only the healthy targets. However, if they're all unhealthy, we won't failover to the next nearest bucket, we'll simply return all the items in the current bucket even though they're unhealthy.", + "description": "Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.", "type": "boolean" }, "items": { @@ -3083,7 +3083,7 @@ "type": "array" }, "signatureRrdatas": { - "description": "DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .", + "description": "DNSSEC generated signatures for all the rrdata within this item. If health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.", "items": { "type": "string" }, @@ -3106,13 +3106,15 @@ "type": "object" }, "RRSetRoutingPolicyLoadBalancerTarget": { + "description": "The configuration for an individual load balancer to health check.", "id": "RRSetRoutingPolicyLoadBalancerTarget", "properties": { "ipAddress": { - "description": "The frontend IP address of the Load Balancer to health check.", + "description": "The frontend IP address of the load balancer to health check.", "type": "string" }, "ipProtocol": { + "description": "The protocol of the load balancer to health check.", "enum": [ "undefined", "tcp", @@ -3130,7 +3132,7 @@ "type": "string" }, "loadBalancerType": { - "description": "The type of Load Balancer specified by this target. Must match the configuration of the Load Balancer located at the LoadBalancerTarget's IP address/port and region.", + "description": "The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget's IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer. ", "enum": [ "none", "globalL7ilb", @@ -3139,26 +3141,26 @@ ], "enumDescriptions": [ "", - "Cross-region internal Application Load Balancer", - "Regional internal passthrough Network Load Balancer", - "Regional internal Application Load Balancer" + "", + "", + "" ], "type": "string" }, "networkUrl": { - "description": "The fully qualified url of the network on which the ILB is present. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", + "description": "The fully qualified URL of the network that the load balancer is attached to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} .", "type": "string" }, "port": { - "description": "The configured port of the Load Balancer.", + "description": "The configured port of the load balancer.", "type": "string" }, "project": { - "description": "The project ID in which the ILB exists.", + "description": "The project ID in which the load balancer is located.", "type": "string" }, "region": { - "description": "The region in which the ILB exists.", + "description": "The region in which the load balancer is located.", "type": "string" } }, @@ -3177,7 +3179,8 @@ "type": "string" }, "primaryTargets": { - "$ref": "RRSetRoutingPolicyHealthCheckTargets" + "$ref": "RRSetRoutingPolicyHealthCheckTargets", + "description": "Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the backup_geo_targets." }, "trickleTraffic": { "description": "When serving state is PRIMARY, this field provides the option of sending a small percentage of the traffic to the backup targets.", @@ -3210,7 +3213,7 @@ "properties": { "healthCheckedTargets": { "$ref": "RRSetRoutingPolicyHealthCheckTargets", - "description": "endpoints that need to be health checked before making the routing decision. The unhealthy endpoints will be omitted from the result. If all endpoints within a buckete are unhealthy, we'll choose a different bucket (sampled w.r.t. its weight) for responding. Note that if DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set." + "description": "Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set." }, "kind": { "default": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", @@ -3223,14 +3226,14 @@ "type": "array" }, "signatureRrdatas": { - "description": "DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .", + "description": "DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.", "items": { "type": "string" }, "type": "array" }, "weight": { - "description": "The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.", + "description": "The weight corresponding to this WrrPolicyItem object. When multiple WrrPolicyItem objects are configured, the probability of returning an WrrPolicyItem object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.", "format": "double", "type": "number" } @@ -3251,7 +3254,7 @@ }, "routingPolicy": { "$ref": "RRSetRoutingPolicy", - "description": "Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise." + "description": "Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid ResourceRecordSet contains only rrdata (for static resolution) or a routing_policy (for dynamic resolution)." }, "rrdatas": { "description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.", @@ -3296,7 +3299,7 @@ "type": "string" }, "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. This lets you retrieve complete contents of even larger collections, one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", + "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. This lets you retrieve the complete contents of even larger collections, one page at a time. However, if the collection changes between paginated list requests, the set of elements returned is an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", "type": "string" }, "rrsets": { diff --git a/DiscoveryJson/dns_v1beta2.json b/DiscoveryJson/dns_v1beta2.json index 2c48bf6714a..c855c198941 100644 --- a/DiscoveryJson/dns_v1beta2.json +++ b/DiscoveryJson/dns_v1beta2.json @@ -1821,7 +1821,7 @@ } } }, - "revision": "20230807", + "revision": "20230831", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { @@ -3048,7 +3048,7 @@ "id": "RRSetRoutingPolicyGeoPolicy", "properties": { "enableFencing": { - "description": "Without fencing, if health check fails for all configured items in the current geo bucket, we'll failover to the next nearest geo bucket. With fencing, if health check is enabled, as long as some targets in the current geo bucket are healthy, we'll return only the healthy targets. However, if they're all unhealthy, we won't failover to the next nearest bucket, we'll simply return all the items in the current bucket even though they're unhealthy.", + "description": "Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.", "type": "boolean" }, "items": { @@ -3088,7 +3088,7 @@ "type": "array" }, "signatureRrdatas": { - "description": "DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .", + "description": "DNSSEC generated signatures for all the rrdata within this item. If health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.", "items": { "type": "string" }, @@ -3111,13 +3111,15 @@ "type": "object" }, "RRSetRoutingPolicyLoadBalancerTarget": { + "description": "The configuration for an individual load balancer to health check.", "id": "RRSetRoutingPolicyLoadBalancerTarget", "properties": { "ipAddress": { - "description": "The frontend IP address of the Load Balancer to health check.", + "description": "The frontend IP address of the load balancer to health check.", "type": "string" }, "ipProtocol": { + "description": "The protocol of the load balancer to health check.", "enum": [ "undefined", "tcp", @@ -3135,7 +3137,7 @@ "type": "string" }, "loadBalancerType": { - "description": "The type of Load Balancer specified by this target. Must match the configuration of the Load Balancer located at the LoadBalancerTarget's IP address/port and region.", + "description": "The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget's IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer. ", "enum": [ "none", "globalL7ilb", @@ -3144,26 +3146,26 @@ ], "enumDescriptions": [ "", - "Cross-region internal Application Load Balancer", - "Regional internal passthrough Network Load Balancer", - "Regional internal Application Load Balancer" + "", + "", + "" ], "type": "string" }, "networkUrl": { - "description": "The fully qualified url of the network on which the ILB is present. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", + "description": "The fully qualified URL of the network that the load balancer is attached to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} .", "type": "string" }, "port": { - "description": "The configured port of the Load Balancer.", + "description": "The configured port of the load balancer.", "type": "string" }, "project": { - "description": "The project ID in which the ILB exists.", + "description": "The project ID in which the load balancer is located.", "type": "string" }, "region": { - "description": "The region in which the ILB exists.", + "description": "The region in which the load balancer is located.", "type": "string" } }, @@ -3182,7 +3184,8 @@ "type": "string" }, "primaryTargets": { - "$ref": "RRSetRoutingPolicyHealthCheckTargets" + "$ref": "RRSetRoutingPolicyHealthCheckTargets", + "description": "Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the backup_geo_targets." }, "trickleTraffic": { "description": "When serving state is PRIMARY, this field provides the option of sending a small percentage of the traffic to the backup targets.", @@ -3215,7 +3218,7 @@ "properties": { "healthCheckedTargets": { "$ref": "RRSetRoutingPolicyHealthCheckTargets", - "description": "endpoints that need to be health checked before making the routing decision. The unhealthy endpoints will be omitted from the result. If all endpoints within a buckete are unhealthy, we'll choose a different bucket (sampled w.r.t. its weight) for responding. Note that if DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set." + "description": "Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set." }, "kind": { "default": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", @@ -3228,14 +3231,14 @@ "type": "array" }, "signatureRrdatas": { - "description": "DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .", + "description": "DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.", "items": { "type": "string" }, "type": "array" }, "weight": { - "description": "The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.", + "description": "The weight corresponding to this WrrPolicyItem object. When multiple WrrPolicyItem objects are configured, the probability of returning an WrrPolicyItem object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.", "format": "double", "type": "number" } @@ -3256,7 +3259,7 @@ }, "routingPolicy": { "$ref": "RRSetRoutingPolicy", - "description": "Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise." + "description": "Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid ResourceRecordSet contains only rrdata (for static resolution) or a routing_policy (for dynamic resolution)." }, "rrdatas": { "description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.", @@ -3296,7 +3299,7 @@ "type": "string" }, "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. This lets you retrieve complete contents of even larger collections, one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", + "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. This lets you retrieve the complete contents of even larger collections, one page at a time. However, if the collection changes between paginated list requests, the set of elements returned is an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", "type": "string" }, "rrsets": { diff --git a/DiscoveryJson/documentai_v1.json b/DiscoveryJson/documentai_v1.json index a0a57a70fe6..a10c9f0552c 100644 --- a/DiscoveryJson/documentai_v1.json +++ b/DiscoveryJson/documentai_v1.json @@ -1042,7 +1042,7 @@ } } }, - "revision": "20230814", + "revision": "20230831", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { @@ -4025,7 +4025,7 @@ }, "computeStyleInfo": { "deprecated": true, - "description": "Turn on font id model and returns font style information. Use PremiumFeatures.compute_style_info instead.", + "description": "Turn on font identification model and return font style information.", "type": "boolean" }, "enableImageQualityScores": { @@ -4374,7 +4374,7 @@ "type": "string" }, "displayName": { - "description": "The display name of the document, it supports all Unicode characters except the following: `*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\\\"`, `,` `~`, `=` and `:` are reserved. If not specified, a default ID will be generated.", + "description": "The display name of the document, it supports all Unicode characters except the following: `*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\\\"`, `,` `~`, `=` and `:` are reserved. If not specified, a default ID is generated.", "type": "string" }, "mimeType": { diff --git a/DiscoveryJson/documentai_v1beta3.json b/DiscoveryJson/documentai_v1beta3.json index f8403b7df02..4d4dd6ff082 100644 --- a/DiscoveryJson/documentai_v1beta3.json +++ b/DiscoveryJson/documentai_v1beta3.json @@ -1256,7 +1256,7 @@ } } }, - "revision": "20230818", + "revision": "20230831", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { @@ -7762,12 +7762,12 @@ "type": "object" }, "GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest": { - "description": "The request message for the ImportProcessorVersion method. Requirements: - The Document AI [Service Agent](https://cloud.google.com/iam/docs/service-agents) of the destination project must have [Document AI Editor role](https://cloud.google.com/document-ai/docs/access-control/iam-roles) on the source project. The destination project is specified as part of the parent field. The source project is specified as part of the source field.", + "description": "The request message for the ImportProcessorVersion method. The Document AI [Service Agent](https://cloud.google.com/iam/docs/service-agents) of the destination project must have [Document AI Editor role](https://cloud.google.com/document-ai/docs/access-control/iam-roles) on the source project. The destination project is specified as part of the parent field. The source project is specified as part of the source or external_processor_version_source field.", "id": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest", "properties": { "externalProcessorVersionSource": { "$ref": "GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource", - "description": "The source processor version to import from, and can be from different environment and region than the destination processor." + "description": "The source processor version to import from. It can be from a different environment and region than the destination processor." }, "processorVersionSource": { "description": "The source processor version to import from. The source processor version and destination processor need to be in the same environment and region.", @@ -7904,7 +7904,7 @@ }, "computeStyleInfo": { "deprecated": true, - "description": "Turn on font id model and returns font style information. Use PremiumFeatures.compute_style_info instead.", + "description": "Turn on font identification model and return font style information.", "type": "boolean" }, "enableImageQualityScores": { @@ -8282,7 +8282,7 @@ "type": "string" }, "displayName": { - "description": "The display name of the document, it supports all Unicode characters except the following: `*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\\\"`, `,` `~`, `=` and `:` are reserved. If not specified, a default ID will be generated.", + "description": "The display name of the document, it supports all Unicode characters except the following: `*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\\\"`, `,` `~`, `=` and `:` are reserved. If not specified, a default ID is generated.", "type": "string" }, "mimeType": { @@ -8470,7 +8470,7 @@ "id": "GoogleCloudDocumentaiV1beta3SummaryOptions", "properties": { "format": { - "description": "What format the summary should be in.", + "description": "The format the summary should be in.", "enum": [ "FORMAT_UNSPECIFIED", "PARAGRAPH", @@ -8494,7 +8494,7 @@ "enumDescriptions": [ "Default.", "A brief summary of one or two sentences.", - "A paragraph-lengthed summary.", + "A paragraph-length summary.", "The longest option available." ], "type": "string" diff --git a/DiscoveryJson/domains_v1.json b/DiscoveryJson/domains_v1.json index d9b271c3387..96c6865767e 100644 --- a/DiscoveryJson/domains_v1.json +++ b/DiscoveryJson/domains_v1.json @@ -843,7 +843,7 @@ } } }, - "revision": "20230503", + "revision": "20230904", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": { @@ -1495,7 +1495,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", "type": "object" } }, @@ -1535,7 +1535,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/DiscoveryJson/domains_v1alpha2.json b/DiscoveryJson/domains_v1alpha2.json index 9011b7f17cb..1759e3af81e 100644 --- a/DiscoveryJson/domains_v1alpha2.json +++ b/DiscoveryJson/domains_v1alpha2.json @@ -843,7 +843,7 @@ } } }, - "revision": "20230503", + "revision": "20230904", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": { @@ -1495,7 +1495,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", "type": "object" } }, @@ -1535,7 +1535,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/DiscoveryJson/domains_v1beta1.json b/DiscoveryJson/domains_v1beta1.json index d84961fcf5d..b0bca4bee2a 100644 --- a/DiscoveryJson/domains_v1beta1.json +++ b/DiscoveryJson/domains_v1beta1.json @@ -843,7 +843,7 @@ } } }, - "revision": "20230503", + "revision": "20230904", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": { @@ -1495,7 +1495,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", "type": "object" } }, @@ -1535,7 +1535,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "auditConfigs": { diff --git a/DiscoveryJson/firebase_v1beta1.json b/DiscoveryJson/firebase_v1beta1.json index 155a9a595e6..ae88e963a63 100644 --- a/DiscoveryJson/firebase_v1beta1.json +++ b/DiscoveryJson/firebase_v1beta1.json @@ -790,9 +790,11 @@ } }, "availableLocations": { + "deprecated": true, "methods": { "list": { - "description": "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.", + "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.", "flatPath": "v1beta1/projects/{projectsId}/availableLocations", "httpMethod": "GET", "id": "firebase.projects.availableLocations.list", @@ -833,9 +835,11 @@ } }, "defaultLocation": { + "deprecated": true, "methods": { "finalize": { - "description": "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.", + "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.", "flatPath": "v1beta1/projects/{projectsId}/defaultLocation:finalize", "httpMethod": "POST", "id": "firebase.projects.defaultLocation.finalize", @@ -1320,7 +1324,7 @@ } } }, - "revision": "20230808", + "revision": "20230907", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { @@ -1352,11 +1356,12 @@ "id": "AdminSdkConfig", "properties": { "databaseURL": { - "description": "The default Firebase Realtime Database URL.", + "deprecated": true, "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). 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": 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.", "type": "string" }, "projectId": { @@ -1364,7 +1369,8 @@ "type": "string" }, "storageBucket": { - "description": "The default Cloud Storage for Firebase storage bucket name.", + "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.", "type": "string" } }, @@ -1496,26 +1502,30 @@ "type": "object" }, "DefaultResources": { - "description": "The default resources associated with the Project.", + "deprecated": true, + "description": "**DEPRECATED.** _Auto-provisioning of these resources is changing, so this object no longer reliably provides information about the resources within the Project. Instead, retrieve information about each resource directly from its resource-specific API._ The default auto-provisioned resources associated with the Project.", "id": "DefaultResources", "properties": { "hostingSite": { - "description": "Output only. 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`", + "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`", "readOnly": true, "type": "string" }, "locationId": { - "description": "Output only. 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": 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.", "readOnly": true, "type": "string" }, "realtimeDatabaseInstance": { - "description": "Output only. 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`", + "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`", "readOnly": true, "type": "string" }, "storageBucket": { - "description": "Output only. The default Cloud Storage for Firebase storage bucket, in the format: PROJECT_ID.appspot.com", + "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", "readOnly": true, "type": "string" } @@ -1529,6 +1539,7 @@ "type": "object" }, "FinalizeDefaultLocationRequest": { + "deprecated": true, "id": "FinalizeDefaultLocationRequest", "properties": { "locationId": { @@ -1640,7 +1651,8 @@ }, "resources": { "$ref": "DefaultResources", - "description": "Output only. The default Firebase resources associated with the Project.", + "deprecated": true, + "description": "Output only. **DEPRECATED.** _Auto-provisioning of these resources is changing, so this object no longer reliably provides information about the Project. Instead, retrieve information about each resource directly from its resource-specific API._ The default Firebase resources associated with the Project.", "readOnly": true }, "state": { @@ -1761,6 +1773,7 @@ "type": "object" }, "ListAvailableLocationsResponse": { + "deprecated": true, "id": "ListAvailableLocationsResponse", "properties": { "locations": { @@ -1859,7 +1872,8 @@ "type": "object" }, "Location": { - "description": "A GCP resource location that can be selected for a FirebaseProject.", + "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.", "id": "Location", "properties": { "features": { @@ -2306,11 +2320,13 @@ "type": "string" }, "databaseURL": { - "description": "The default Firebase Realtime Database URL.", + "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.", "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). 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": 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.", "type": "string" }, "measurementId": { @@ -2326,7 +2342,8 @@ "type": "string" }, "storageBucket": { - "description": "The default Cloud Storage for Firebase storage bucket name.", + "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.", "type": "string" } }, diff --git a/DiscoveryJson/games_v1.json b/DiscoveryJson/games_v1.json index 8ce383e2fda..8b4d1ecadf6 100644 --- a/DiscoveryJson/games_v1.json +++ b/DiscoveryJson/games_v1.json @@ -2,6 +2,9 @@ "auth": { "oauth2": { "scopes": { + "https://www.googleapis.com/auth/androidpublisher": { + "description": "View and manage your Google Play Developer account" + }, "https://www.googleapis.com/auth/drive.appdata": { "description": "See, create, and delete its own configuration data in your Google Drive" }, @@ -365,13 +368,11 @@ "platformType": { "description": "Restrict application details returned to the specific platform.", "enum": [ - "PLATFORM_TYPE_UNSPECIFIED", "ANDROID", "IOS", "WEB_APP" ], "enumDescriptions": [ - "Default value, don't use.", "Retrieve applications that can be played on Android.", "Retrieve applications that can be played on iOS.", "Retrieve applications that can be played on desktop web." @@ -403,12 +404,10 @@ "endPointType": { "description": "Type of endpoint being requested.", "enum": [ - "END_POINT_TYPE_UNSPECIFIED", "PROFILE_CREATION", "PROFILE_SETTINGS" ], "enumDescriptions": [ - "Default value. This value is unused.", "Request a URL to create a new profile.", "Request a URL for the Settings view." ], @@ -649,11 +648,9 @@ "collection": { "description": "The collection of categories for which data will be returned.", "enum": [ - "COLLECTION_UNSPECIFIED", "ALL" ], "enumDescriptions": [ - "Default value. This value is unused.", "Retrieve data for all categories. This is the default." ], "location": "path", @@ -823,6 +820,88 @@ } } }, + "recall": { + "methods": { + "linkPersona": { + "description": "Associate the PGS Player principal encoded in the provided recall session id with an in-game account", + "flatPath": "games/v1/recall:linkPersona", + "httpMethod": "POST", + "id": "games.recall.linkPersona", + "parameterOrder": [], + "parameters": {}, + "path": "games/v1/recall:linkPersona", + "request": { + "$ref": "LinkPersonaRequest" + }, + "response": { + "$ref": "LinkPersonaResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidpublisher" + ] + }, + "resetPersona": { + "description": "Delete all Recall tokens linking the given persona to any player (with or without a profile).", + "flatPath": "games/v1/recall:resetPersona", + "httpMethod": "POST", + "id": "games.recall.resetPersona", + "parameterOrder": [], + "parameters": {}, + "path": "games/v1/recall:resetPersona", + "request": { + "$ref": "ResetPersonaRequest" + }, + "response": { + "$ref": "ResetPersonaResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidpublisher" + ] + }, + "retrieveTokens": { + "description": "Retrieve all Recall tokens associated with the PGS Player principal encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.", + "flatPath": "games/v1/recall/tokens/{sessionId}", + "httpMethod": "GET", + "id": "games.recall.retrieveTokens", + "parameterOrder": [ + "sessionId" + ], + "parameters": { + "sessionId": { + "description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "games/v1/recall/tokens/{sessionId}", + "response": { + "$ref": "RetrievePlayerTokensResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidpublisher" + ] + }, + "unlinkPersona": { + "description": "Delete a Recall token linking the PGS Player principal identified by the Recall session and an in-game account identified either by the 'persona' or by the token value.", + "flatPath": "games/v1/recall:unlinkPersona", + "httpMethod": "POST", + "id": "games.recall.unlinkPersona", + "parameterOrder": [], + "parameters": {}, + "path": "games/v1/recall:unlinkPersona", + "request": { + "$ref": "UnlinkPersonaRequest" + }, + "response": { + "$ref": "UnlinkPersonaResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidpublisher" + ] + } + } + }, "revisions": { "methods": { "check": { @@ -867,21 +946,18 @@ "includeRankType": { "description": "The types of ranks to return. If the parameter is omitted, no ranks will be returned.", "enum": [ - "INCLUDE_RANK_TYPE_UNSPECIFIED", "ALL", "PUBLIC", "SOCIAL", "FRIENDS" ], "enumDeprecated": [ - false, false, false, true, false ], "enumDescriptions": [ - "Default value. Should be unused.", "Retrieve all supported ranks. In HTTP, this parameter value can also be specified as `ALL`.", "Retrieve public ranks, if the player is sharing their gameplay activity publicly.", "(Obsolete) Retrieve the social rank.", @@ -921,14 +997,12 @@ "timeSpan": { "description": "The time span for the scores and ranks you're requesting.", "enum": [ - "SCORE_TIME_SPAN_UNSPECIFIED", "ALL", "ALL_TIME", "WEEKLY", "DAILY" ], "enumDescriptions": [ - "Default value. This value is unused.", "Get the high scores for all time spans. If this is used, maxResults values will be ignored.", "Get the all time high score.", "List the top scores for the current day.", @@ -961,19 +1035,16 @@ "collection": { "description": "The collection of scores you're requesting.", "enum": [ - "SCORE_COLLECTION_UNSPECIFIED", "PUBLIC", "SOCIAL", "FRIENDS" ], "enumDeprecated": [ - false, false, true, false ], "enumDescriptions": [ - "Default value. This value is unused.", "List all scores in the public leaderboard.", "(Obsolete) Legacy G+ social scores.", "List only scores of friends." @@ -1007,13 +1078,11 @@ "timeSpan": { "description": "Required. The time span for the scores and ranks you're requesting.", "enum": [ - "SCORE_TIME_SPAN_UNSPECIFIED", "ALL_TIME", "WEEKLY", "DAILY" ], "enumDescriptions": [ - "Default value. This value is unused.", "The score is an all-time score.", "The score is a weekly score.", "The score is a daily score." @@ -1045,19 +1114,16 @@ "collection": { "description": "The collection of scores you're requesting.", "enum": [ - "SCORE_COLLECTION_UNSPECIFIED", "PUBLIC", "SOCIAL", "FRIENDS" ], "enumDeprecated": [ - false, false, true, false ], "enumDescriptions": [ - "Default value. This value is unused.", "List all scores in the public leaderboard.", "(Obsolete) Legacy G+ social scores.", "List only scores of friends." @@ -1102,13 +1168,11 @@ "timeSpan": { "description": "Required. The time span for the scores and ranks you're requesting.", "enum": [ - "SCORE_TIME_SPAN_UNSPECIFIED", "ALL_TIME", "WEEKLY", "DAILY" ], "enumDescriptions": [ - "Default value. This value is unused.", "The score is an all-time score.", "The score is a weekly score.", "The score is a daily score." @@ -1290,7 +1354,7 @@ } } }, - "revision": "20230822", + "revision": "20230830", "rootUrl": "https://games.googleapis.com/", "schemas": { "AchievementDefinition": { @@ -1300,12 +1364,10 @@ "achievementType": { "description": "The type of the achievement.", "enum": [ - "ACHIEVEMENT_TYPE_UNSPECIFIED", "STANDARD", "INCREMENTAL" ], "enumDescriptions": [ - "Safe default, don't use.", "Achievement is either locked or unlocked.", "Achievement is incremental." ], @@ -1331,13 +1393,11 @@ "initialState": { "description": "The initial state of the achievement.", "enum": [ - "INITIAL_ACHIEVEMENT_STATE_UNSPECIFIED", "HIDDEN", "REVEALED", "UNLOCKED" ], "enumDescriptions": [ - "Safe default, don't use.", "Achievement is hidden.", "Achievement is revealed.", "Achievement is unlocked." @@ -1425,12 +1485,10 @@ "currentState": { "description": "The current state of the achievement for which a reveal was attempted. This might be `UNLOCKED` if the achievement was already unlocked.", "enum": [ - "REVEAL_ACHIEVEMENT_STATE_UNSPECIFIED", "REVEALED", "UNLOCKED" ], "enumDescriptions": [ - "Safe default, don't use.", "Achievement is revealed.", "Achievement is unlocked." ], @@ -1537,14 +1595,12 @@ "updateType": { "description": "The type of update being applied.", "enum": [ - "ACHIEVEMENT_UPDATE_TYPE_UNSPECIFIED", "REVEAL", "UNLOCK", "INCREMENT", "SET_STEPS_AT_LEAST" ], "enumDescriptions": [ - "Safe default, don't use.", "Achievement is revealed.", "Achievement is unlocked.", "Achievement is incremented.", @@ -1566,13 +1622,11 @@ "currentState": { "description": "The current state of the achievement.", "enum": [ - "UPDATED_ACHIEVEMENT_STATE_UNSPECIFIED", "HIDDEN", "REVEALED", "UNLOCKED" ], "enumDescriptions": [ - "Safe default, don't use.", "Achievement is hidden.", "Achievement is revealed.", "Achievement is unlocked." @@ -1631,11 +1685,9 @@ "description": "A list of features that have been enabled for the application.", "items": { "enum": [ - "APPLICATION_FEATURE_UNSPECIFIED", "SNAPSHOTS" ], "enumDescriptions": [ - "Safe default, don't use.", "Saved Games (snapshots)." ], "type": "string" @@ -1791,7 +1843,6 @@ "failureCause": { "description": "The cause for the update failure.", "enum": [ - "EVENT_FAILURE_CAUSE_UNSPECIFIED", "TOO_LARGE", "TIME_PERIOD_EXPIRED", "TIME_PERIOD_SHORT", @@ -1800,7 +1851,6 @@ "RECORD_RATE_HIGH" ], "enumDescriptions": [ - "Default value. Should not be used.", "A batch request was issued with more events than are allowed in a single batch.", "A batch was sent with data too far in the past to record.", "A batch was sent with a time range that was too short.", @@ -1874,12 +1924,10 @@ "visibility": { "description": "The visibility of event being tracked in this definition.", "enum": [ - "EVENT_VISIBILITY_UNSPECIFIED", "REVEALED", "HIDDEN" ], "enumDescriptions": [ - "Default value. Should not be used.", "This event should be visible to all users.", "This event should only be shown to users that have recorded this event at least once." ], @@ -1964,12 +2012,10 @@ "failureCause": { "description": "The cause for the update failure.", "enum": [ - "EVENT_UPDATE_FAILURE_CAUSE_UNSPECIFIED", "NOT_FOUND", "INVALID_UPDATE_VALUE" ], "enumDescriptions": [ - "Default value. Should not use.", "An attempt was made to set an event that was not defined.", "An attempt was made to increment an event by a non-positive value." ], @@ -2170,13 +2216,11 @@ "platformType": { "description": "The platform type.", "enum": [ - "PLATFORM_TYPE_UNSPECIFIED", "ANDROID", "IOS", "WEB_APP" ], "enumDescriptions": [ - "Default value. Should be unused.", "Instance is for Android.", "Instance is for iOS.", "Instance is for Web App." @@ -2302,12 +2346,10 @@ "order": { "description": "How scores are ordered.", "enum": [ - "SCORE_ORDER_UNSPECIFIED", "LARGER_IS_BETTER", "SMALLER_IS_BETTER" ], "enumDescriptions": [ - "Default value. This value is unused.", "Larger values are better; scores are sorted in descending order", "Smaller values are better; scores are sorted in ascending order" ], @@ -2353,13 +2395,11 @@ "timeSpan": { "description": "The time span of this high score.", "enum": [ - "SCORE_TIME_SPAN_UNSPECIFIED", "ALL_TIME", "WEEKLY", "DAILY" ], "enumDescriptions": [ - "Default value. This value is unused.", "The score is an all-time score.", "The score is a weekly score.", "The score is a daily score." @@ -2460,6 +2500,77 @@ }, "type": "object" }, + "LinkPersonaRequest": { + "description": "Request to link an in-game account with a PGS principal (encoded in the session id).", + "id": "LinkPersonaRequest", + "properties": { + "cardinalityConstraint": { + "description": "Required. Cardinality constraint to observe when linking a persona to a player in the scope of a game.", + "enum": [ + "ONE_PERSONA_TO_ONE_PLAYER" + ], + "enumDescriptions": [ + "1:1 cardinality between in-game personas and Play Games Services players. By the end of the linking operation only one entry for the player and the persona should remain in the scope of the application. Whether a new link is created or not when this constraint is specified is determined by the chosen `ConflictingLinksResolutionPolicy`: * If `KEEP_EXISTING_LINKS` is specified and the provided persona is already linked to a different player, or the player is already linked to a different persona, no new link will be created and the already existing link(s) will remain as is(are). * If `CREATE_NEW_LINK` is specified and the provided persona is already linked to a different player, or the player is already linked to another persona, the older link(s) will be removed in favour of the new link being created." + ], + "type": "string" + }, + "conflictingLinksResolutionPolicy": { + "description": "Required. Resolution policy to apply when the linking of a persona to a player would result in violating the specified cardinality constraint.", + "enum": [ + "KEEP_EXISTING_LINKS", + "CREATE_NEW_LINK" + ], + "enumDescriptions": [ + "If link(s) between a player and persona already exists which would result in violating the specified `RecallTokensCardinalityConstraint` if the new link was created, keep the already existing link(s). For example, if Persona1-Player1 is already linked in the scope of application1 and a new link Persona1-Player2 is attempted to be created in the scope of application1, then the old link will remain and no new link will be added. Note that if the already existing links do violate the specified policy (which could occur if not all `LinkPersona` calls use the same `RecallTokensCardinalityConstraint`) this policy will leave these violations unresolved; in order to resolve conflicts, the {@link `CREATE_NEW_LINK` policy needs to be used to rewrite links resolving conflicts.", + "If an existing link between a player and persona already exists which would result in violating the specified `RecallTokensCardinalityConstraint` if the new link was created, replace the already existing link(s) with the new link. For example, if Persona1-Player1 is already linked in the scope of application1 and a new link Persona1-Player2 is attempted to be created in the scope of application1, then the old link will be removed and the new link will be added to replace it." + ], + "type": "string" + }, + "expireTime": { + "description": "Input only. Optional expiration time.", + "format": "google-datetime", + "type": "string" + }, + "persona": { + "description": "Required. Stable identifier of the in-game account. Please refrain from re-using the same persona for different games.", + "type": "string" + }, + "sessionId": { + "description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.", + "type": "string" + }, + "token": { + "description": "Required. Value of the token to create. Opaque to Play Games and assumed to be non-stable (encrypted with key rotation).", + "type": "string" + }, + "ttl": { + "description": "Input only. Optional time-to-live.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "LinkPersonaResponse": { + "description": "Outcome of a persona linking attempt.", + "id": "LinkPersonaResponse", + "properties": { + "state": { + "description": "Output only. State of a persona linking attempt.", + "enum": [ + "LINK_CREATED", + "PERSONA_OR_PLAYER_ALREADY_LINKED" + ], + "enumDescriptions": [ + "The link specified in the request was created.", + "The link specified in the request was not created because already existing links would result in the new link violating the specified `RecallTokensCardinalityConstraint` if created." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "MetagameConfig": { "description": "The metagame config resource", "id": "MetagameConfig", @@ -2510,12 +2621,10 @@ "friendStatus": { "description": "The friend status of the given player, relative to the requester. This is unset if the player is not sharing their friends list with the game.", "enum": [ - "FRIEND_STATUS_UNSPECIFIED", "NO_RELATIONSHIP", "FRIEND" ], "enumDescriptions": [ - "Default value. This value is unused.", "There is no relationship between the players.", "The player and requester are friends." ], @@ -2569,13 +2678,11 @@ "achievementState": { "description": "The state of the achievement.", "enum": [ - "STATE_UNSPECIFIED", "HIDDEN", "REVEALED", "UNLOCKED" ], "enumDescriptions": [ - "Default value. This value is unused.", "Achievement is hidden.", "Achievement is revealed.", "Achievement is unlocked." @@ -2753,13 +2860,11 @@ "timeSpan": { "description": "The time span of this score.", "enum": [ - "SCORE_TIME_SPAN_UNSPECIFIED", "ALL_TIME", "WEEKLY", "DAILY" ], "enumDescriptions": [ - "Default value. This value is unused.", "The score is an all-time score.", "The score is a weekly score.", "The score is a daily score." @@ -2872,13 +2977,11 @@ "timeSpan": { "description": "The time span for this player score.", "enum": [ - "SCORE_TIME_SPAN_UNSPECIFIED", "ALL_TIME", "WEEKLY", "DAILY" ], "enumDescriptions": [ - "Default value. This value is unused.", "The score is an all-time score.", "The score is a weekly score.", "The score is a daily score." @@ -2914,13 +3017,11 @@ "description": "The time spans where the submitted score is better than the existing score for that time span.", "items": { "enum": [ - "SCORE_TIME_SPAN_UNSPECIFIED", "ALL_TIME", "WEEKLY", "DAILY" ], "enumDescriptions": [ - "Default value. This value is unused.", "The score is an all-time score.", "The score is a weekly score.", "The score is a daily score." @@ -2979,13 +3080,11 @@ "properties": { "friendsListVisibility": { "enum": [ - "FRIENDS_LIST_VISIBILITY_UNSPECIFIED", "VISIBLE", "REQUEST_REQUIRED", "UNAVAILABLE" ], "enumDescriptions": [ - "Unused.", "The friends list is currently visible to the game.", "The developer does not have access to the friends list, but can call the Android API to show a consent dialog.", "The friends list is currently unavailable for this user, and it is not possible to request access at this time, either because the user has permanently declined or the friends feature is not available to them. In this state, any attempts to request access to the friends list will be unsuccessful." @@ -3003,6 +3102,62 @@ }, "type": "object" }, + "RecallToken": { + "description": "Recall token data returned from RetrievePlayerTokens RPC", + "id": "RecallToken", + "properties": { + "expireTime": { + "description": "Optional. Optional expiration time of the token", + "format": "google-datetime", + "type": "string" + }, + "multiPlayerPersona": { + "description": "Required. Whether the persona identified by the token is linked to multiple PGS Players", + "type": "boolean" + }, + "token": { + "description": "Required. Value of the Recall token as it is provided by the client via LinkPersona RPC", + "type": "string" + } + }, + "type": "object" + }, + "ResetPersonaRequest": { + "description": "Request to remove all Recall tokens associated with a persona for an app.", + "id": "ResetPersonaRequest", + "properties": { + "persona": { + "description": "Value of the 'persona' field as it was provided by the client in LinkPersona RPC", + "type": "string" + } + }, + "type": "object" + }, + "ResetPersonaResponse": { + "description": "Response for the ResetPersona RPC", + "id": "ResetPersonaResponse", + "properties": { + "unlinked": { + "description": "Required. Whether any tokens were unlinked as a result of this request.", + "type": "boolean" + } + }, + "type": "object" + }, + "RetrievePlayerTokensResponse": { + "description": "Response for the RetrievePlayerTokens RPC", + "id": "RetrievePlayerTokensResponse", + "properties": { + "tokens": { + "description": "Required. Recall tokens associated with the requested PGS Player principal", + "items": { + "$ref": "RecallToken" + }, + "type": "array" + } + }, + "type": "object" + }, "RevisionCheckResponse": { "description": "A third party checking a revision response.", "id": "RevisionCheckResponse", @@ -3018,13 +3173,11 @@ "revisionStatus": { "description": "The result of the revision check.", "enum": [ - "REVISION_STATUS_UNSPECIFIED", "OK", "DEPRECATED", "INVALID" ], "enumDescriptions": [ - "Default value. This value is unused.", "The revision being used is current.", "There is currently a newer version available, but the revision being used still works.", "The revision being used is not supported in any released version." @@ -3123,11 +3276,9 @@ "type": { "description": "The type of this snapshot.", "enum": [ - "SNAPSHOT_TYPE_UNSPECIFIED", "SAVE_GAME" ], "enumDescriptions": [ - "Default value. This value is unused.", "A snapshot representing a save game." ], "type": "string" @@ -3250,6 +3401,36 @@ } }, "type": "object" + }, + "UnlinkPersonaRequest": { + "description": "Request to remove a Recall token linking PGS principal and an in-game account", + "id": "UnlinkPersonaRequest", + "properties": { + "persona": { + "description": "Value of the 'persona' field as it was provided by the client in LinkPersona RPC", + "type": "string" + }, + "sessionId": { + "description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.", + "type": "string" + }, + "token": { + "description": "Value of the Recall token as it was provided by the client in LinkPersona RPC", + "type": "string" + } + }, + "type": "object" + }, + "UnlinkPersonaResponse": { + "description": "Response for the UnlinkPersona RPC", + "id": "UnlinkPersonaResponse", + "properties": { + "unlinked": { + "description": "Required. Whether a Recall token specified by the request was deleted. Can be 'false' when there were no Recall tokens satisfied the criteria from the request.", + "type": "boolean" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/gkehub_v1alpha.json b/DiscoveryJson/gkehub_v1alpha.json index 2c0080900a4..706ce9253e4 100644 --- a/DiscoveryJson/gkehub_v1alpha.json +++ b/DiscoveryJson/gkehub_v1alpha.json @@ -2414,7 +2414,7 @@ } } }, - "revision": "20230814", + "revision": "20230901", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2533,7 +2533,7 @@ "type": "string" }, "issuer": { - "description": "Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters. If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity).", + "description": "Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters, it must use `location` rather than `zone` for GKE clusters. If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity).", "type": "string" }, "oidcJwks": { @@ -3520,7 +3520,8 @@ "properties": { "binauthz": { "$ref": "ConfigManagementBinauthzConfig", - "description": "Binauthz conifguration for the cluster." + "deprecated": true, + "description": "Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set." }, "cluster": { "description": "The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector.", @@ -4435,10 +4436,6 @@ "tenant": { "description": "Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.", "type": "string" - }, - "userClaim": { - "description": "Optional. Claim in the AzureAD ID Token that holds the user details.", - "type": "string" } }, "type": "object" diff --git a/DiscoveryJson/gmailpostmastertools_v1.json b/DiscoveryJson/gmailpostmastertools_v1.json index a021707ca32..304f3cb3c0c 100644 --- a/DiscoveryJson/gmailpostmastertools_v1.json +++ b/DiscoveryJson/gmailpostmastertools_v1.json @@ -265,7 +265,7 @@ } } }, - "revision": "20210216", + "revision": "20230907", "rootUrl": "https://gmailpostmastertools.googleapis.com/", "schemas": { "DeliveryError": { @@ -518,7 +518,17 @@ "type": "number" }, "userReportedSpamRatio": { - "description": "The ratio of user-report spam vs. email that was sent to the inbox. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/).", + "description": "The ratio of user-report spam vs. email that was sent to the inbox. This is potentially inexact -- users may want to refer to the description of the interval fields userReportedSpamRatioLowerBound and userReportedSpamRatioUpperBound for more explicit accuracy guarantees. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/).", + "format": "double", + "type": "number" + }, + "userReportedSpamRatioLowerBound": { + "description": "The lower bound of the confidence interval for the user reported spam ratio. If this field is set, then the value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the true ratio is guaranteed to be in between this lower bound and the corresponding upper bound 95% of the time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/).", + "format": "double", + "type": "number" + }, + "userReportedSpamRatioUpperBound": { + "description": "The upper bound of the confidence interval for the user reported spam ratio. If this field is set, then the value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the true ratio is guaranteed to be in between this upper bound and the corresponding lower bound 95% of the time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/).", "format": "double", "type": "number" } diff --git a/DiscoveryJson/gmailpostmastertools_v1beta1.json b/DiscoveryJson/gmailpostmastertools_v1beta1.json index 487ae29fe7d..7e132d76d85 100644 --- a/DiscoveryJson/gmailpostmastertools_v1beta1.json +++ b/DiscoveryJson/gmailpostmastertools_v1beta1.json @@ -265,7 +265,7 @@ } } }, - "revision": "20230704", + "revision": "20230907", "rootUrl": "https://gmailpostmastertools.googleapis.com/", "schemas": { "DeliveryError": { @@ -524,7 +524,17 @@ "type": "number" }, "userReportedSpamRatio": { - "description": "The ratio of user-report spam vs. email that was sent to the inbox. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/).", + "description": "The ratio of user-report spam vs. email that was sent to the inbox. This is potentially inexact -- users may want to refer to the description of the interval fields userReportedSpamRatioLowerBound and userReportedSpamRatioUpperBound for more explicit accuracy guarantees. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/).", + "format": "double", + "type": "number" + }, + "userReportedSpamRatioLowerBound": { + "description": "The lower bound of the confidence interval for the user reported spam ratio. If this field is set, then the value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the true ratio is guaranteed to be in between this lower bound and the corresponding upper bound 95% of the time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/).", + "format": "double", + "type": "number" + }, + "userReportedSpamRatioUpperBound": { + "description": "The upper bound of the confidence interval for the user reported spam ratio. If this field is set, then the value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the true ratio is guaranteed to be in between this upper bound and the corresponding lower bound 95% of the time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/).", "format": "double", "type": "number" } diff --git a/DiscoveryJson/logging_v2.json b/DiscoveryJson/logging_v2.json index 6fce8a769a8..a910d85b49d 100644 --- a/DiscoveryJson/logging_v2.json +++ b/DiscoveryJson/logging_v2.json @@ -7077,7 +7077,7 @@ } } }, - "revision": "20230811", + "revision": "20230831", "rootUrl": "https://logging.googleapis.com/", "schemas": { "BigQueryDataset": { @@ -8104,7 +8104,7 @@ "type": "string" }, "traceSampled": { - "description": "Optional. The sampling decision of the trace associated with the log entry.True means that the trace resource name in the trace field was sampled for storage in a trace backend. False means that the trace was not sampled for storage when this log entry was written, or the sampling decision was unknown at the time. A non-sampled trace value is still useful as a request correlation identifier. The default is False.", + "description": "Optional. The sampling decision of the span associated with the log entry at the time the log entry was created. This field corresponds to the sampled flag in the W3C trace-context specification (https://www.w3.org/TR/trace-context/#sampled-flag). A non-sampled trace value is still useful as a request correlation identifier. The default is False.", "type": "boolean" } }, diff --git a/DiscoveryJson/memcache_v1.json b/DiscoveryJson/memcache_v1.json index 5f7084d5967..6e78acbf465 100644 --- a/DiscoveryJson/memcache_v1.json +++ b/DiscoveryJson/memcache_v1.json @@ -425,6 +425,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "upgrade": { + "description": "Upgrades the Memcache instance to a newer memcached engine version specified in the request.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:upgrade", + "httpMethod": "POST", + "id": "memcache.projects.locations.instances.upgrade", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Memcache instance resource name using the form: `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers to a GCP region.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:upgrade", + "request": { + "$ref": "GoogleCloudMemcacheV1UpgradeInstanceRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -556,7 +584,7 @@ } } }, - "revision": "20230803", + "revision": "20230907", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { @@ -735,6 +763,27 @@ }, "type": "object" }, + "GoogleCloudMemcacheV1UpgradeInstanceRequest": { + "description": "Request for UpgradeInstance.", + "id": "GoogleCloudMemcacheV1UpgradeInstanceRequest", + "properties": { + "memcacheVersion": { + "description": "Required. Specifies the target version of memcached engine to upgrade to.", + "enum": [ + "MEMCACHE_VERSION_UNSPECIFIED", + "MEMCACHE_1_5", + "MEMCACHE_1_6_15" + ], + "enumDescriptions": [ + "Memcache version is not specified by customer", + "Memcached 1.5 version.", + "Memcached 1.6.15 version." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudMemcacheV1ZoneMetadata": { "id": "GoogleCloudMemcacheV1ZoneMetadata", "properties": {}, @@ -1078,11 +1127,13 @@ "description": "The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is `MEMCACHE_1_5`. The minor version will be automatically determined by our system based on the latest supported minor version.", "enum": [ "MEMCACHE_VERSION_UNSPECIFIED", - "MEMCACHE_1_5" + "MEMCACHE_1_5", + "MEMCACHE_1_6_15" ], "enumDescriptions": [ "Memcache version is not specified by customer", - "Memcached 1.5 version." + "Memcached 1.5 version.", + "Memcached 1.6.15 version." ], "type": "string" }, @@ -1118,7 +1169,8 @@ "READY", "UPDATING", "DELETING", - "PERFORMING_MAINTENANCE" + "PERFORMING_MAINTENANCE", + "MEMCACHE_VERSION_UPGRADING" ], "enumDescriptions": [ "State not set.", @@ -1126,7 +1178,8 @@ "Memcached instance has been created and ready to be used.", "Memcached instance is updating configuration such as maintenance policy and schedule.", "Memcached instance is being deleted.", - "Memcached instance is going through maintenance, e.g. data plane rollout." + "Memcached instance is going through maintenance, e.g. data plane rollout.", + "Memcached instance is undergoing memcached engine version upgrade." ], "readOnly": true, "type": "string" @@ -1395,6 +1448,26 @@ "readOnly": true, "type": "string" }, + "memcacheFullVersion": { + "description": "Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16", + "readOnly": true, + "type": "string" + }, + "memcacheVersion": { + "description": "Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5", + "enum": [ + "MEMCACHE_VERSION_UNSPECIFIED", + "MEMCACHE_1_5", + "MEMCACHE_1_6_15" + ], + "enumDescriptions": [ + "Memcache version is not specified by customer", + "Memcached 1.5 version.", + "Memcached 1.6.15 version." + ], + "readOnly": true, + "type": "string" + }, "nodeId": { "description": "Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.", "readOnly": true, diff --git a/DiscoveryJson/memcache_v1beta2.json b/DiscoveryJson/memcache_v1beta2.json index 27c95459d4b..84d2579bcf1 100644 --- a/DiscoveryJson/memcache_v1beta2.json +++ b/DiscoveryJson/memcache_v1beta2.json @@ -453,6 +453,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "upgrade": { + "description": "Upgrades the Memcache instance to a newer memcached engine version specified in the request.", + "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:upgrade", + "httpMethod": "POST", + "id": "memcache.projects.locations.instances.upgrade", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Memcache instance resource name using the form: `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers to a GCP region.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta2/{+name}:upgrade", + "request": { + "$ref": "GoogleCloudMemcacheV1beta2UpgradeInstanceRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -584,7 +612,7 @@ } } }, - "revision": "20230803", + "revision": "20230907", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { @@ -781,6 +809,27 @@ }, "type": "object" }, + "GoogleCloudMemcacheV1beta2UpgradeInstanceRequest": { + "description": "Request for UpgradeInstance.", + "id": "GoogleCloudMemcacheV1beta2UpgradeInstanceRequest", + "properties": { + "memcacheVersion": { + "description": "Required. Specifies the target version of memcached engine to upgrade to.", + "enum": [ + "MEMCACHE_VERSION_UNSPECIFIED", + "MEMCACHE_1_5", + "MEMCACHE_1_6_15" + ], + "enumDescriptions": [ + "Memcache version is not specified by customer", + "Memcached 1.5 version.", + "Memcached 1.6.15 version." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudMemcacheV1beta2ZoneMetadata": { "id": "GoogleCloudMemcacheV1beta2ZoneMetadata", "properties": {}, @@ -1124,11 +1173,13 @@ "description": "The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is `MEMCACHE_1_5`. The minor version will be automatically determined by our system based on the latest supported minor version.", "enum": [ "MEMCACHE_VERSION_UNSPECIFIED", - "MEMCACHE_1_5" + "MEMCACHE_1_5", + "MEMCACHE_1_6_15" ], "enumDescriptions": [ "Memcache version is not specified by customer", - "Memcached 1.5 version." + "Memcached 1.5 version.", + "Memcached 1.6.15 version." ], "type": "string" }, @@ -1164,7 +1215,8 @@ "READY", "UPDATING", "DELETING", - "PERFORMING_MAINTENANCE" + "PERFORMING_MAINTENANCE", + "MEMCACHE_VERSION_UPGRADING" ], "enumDescriptions": [ "State not set.", @@ -1172,7 +1224,8 @@ "Memcached instance has been created and ready to be used.", "Memcached instance is updating configuration such as maintenance policy and schedule.", "Memcached instance is being deleted.", - "Memcached instance is going through maintenance, e.g. data plane rollout." + "Memcached instance is going through maintenance, e.g. data plane rollout.", + "Memcached instance is undergoing memcached engine version upgrade." ], "readOnly": true, "type": "string" @@ -1446,6 +1499,26 @@ "readOnly": true, "type": "string" }, + "memcacheFullVersion": { + "description": "Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16", + "readOnly": true, + "type": "string" + }, + "memcacheVersion": { + "description": "Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5", + "enum": [ + "MEMCACHE_VERSION_UNSPECIFIED", + "MEMCACHE_1_5", + "MEMCACHE_1_6_15" + ], + "enumDescriptions": [ + "Memcache version is not specified by customer", + "Memcached 1.5 version.", + "Memcached 1.6.15 version." + ], + "readOnly": true, + "type": "string" + }, "nodeId": { "description": "Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.", "readOnly": true, diff --git a/DiscoveryJson/migrationcenter_v1.json b/DiscoveryJson/migrationcenter_v1.json index 7e2bbd830da..396d7cc1f77 100644 --- a/DiscoveryJson/migrationcenter_v1.json +++ b/DiscoveryJson/migrationcenter_v1.json @@ -2099,7 +2099,7 @@ } } }, - "revision": "20230804", + "revision": "20230901", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -4915,7 +4915,8 @@ "type": "string" }, "overlappingAssetCount": { - "description": "Count of the number of assets in this group which are also included in another group within the same report.", + "deprecated": true, + "description": "This field is deprecated, do not rely on it having a value.", "format": "int64", "type": "string" }, diff --git a/DiscoveryJson/migrationcenter_v1alpha1.json b/DiscoveryJson/migrationcenter_v1alpha1.json index 4839f298e9b..49d6636e9d9 100644 --- a/DiscoveryJson/migrationcenter_v1alpha1.json +++ b/DiscoveryJson/migrationcenter_v1alpha1.json @@ -2102,7 +2102,7 @@ } } }, - "revision": "20230804", + "revision": "20230901", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -2980,7 +2980,7 @@ "id": "DiskUsageSample", "properties": { "averageIops": { - "description": "Average IOPS sampled over a short window. Must be non-negative.", + "description": "Average IOPS sampled over a short window. Must be non-negative. Must be equal to the sum of read and write if one of them is positive. if both read and write are zero they are ignored.", "format": "float", "type": "number" } @@ -4849,7 +4849,8 @@ "type": "string" }, "overlappingAssetCount": { - "description": "Count of the number of assets in this group which are also included in another group within the same report.", + "deprecated": true, + "description": "This field is deprecated, do not rely on it having a value.", "format": "int64", "type": "string" }, diff --git a/DiscoveryJson/networksecurity_v1beta1.json b/DiscoveryJson/networksecurity_v1beta1.json index 16888b22286..d4c1a7537cc 100644 --- a/DiscoveryJson/networksecurity_v1beta1.json +++ b/DiscoveryJson/networksecurity_v1beta1.json @@ -506,7 +506,7 @@ ], "parameters": { "filter": { - "description": "Filtering results", + "description": "Optional. Filtering results", "location": "query", "type": "string" }, @@ -516,7 +516,7 @@ "type": "string" }, "pageSize": { - "description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", "format": "int32", "location": "query", "type": "integer" @@ -2078,7 +2078,7 @@ ], "parameters": { "filter": { - "description": "Filtering results", + "description": "Optional. Filtering results", "location": "query", "type": "string" }, @@ -2088,7 +2088,7 @@ "type": "string" }, "pageSize": { - "description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", "format": "int32", "location": "query", "type": "integer" @@ -3162,7 +3162,7 @@ } } }, - "revision": "20230814", + "revision": "20230831", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AddAddressGroupItemsRequest": { @@ -3468,7 +3468,7 @@ "additionalProperties": { "type": "string" }, - "description": "Labels as key value pairs", + "description": "Optional. Labels as key value pairs", "type": "object" }, "name": { @@ -3527,7 +3527,7 @@ "additionalProperties": { "type": "string" }, - "description": "Labels as key value pairs", + "description": "Optional. Labels as key value pairs", "type": "object" }, "name": { diff --git a/DiscoveryJson/oslogin_v1alpha.json b/DiscoveryJson/oslogin_v1alpha.json index 718c8257228..50b6a71ca54 100644 --- a/DiscoveryJson/oslogin_v1alpha.json +++ b/DiscoveryJson/oslogin_v1alpha.json @@ -438,7 +438,7 @@ } } }, - "revision": "20230729", + "revision": "20230903", "rootUrl": "https://oslogin.googleapis.com/", "schemas": { "Empty": { @@ -563,6 +563,10 @@ "description": "The credential information for a Google registered security key.", "id": "SecurityKey", "properties": { + "deviceNickname": { + "description": "The security key nickname explicitly set by the user.", + "type": "string" + }, "privateKey": { "description": "Hardware-backed private key text in SSH format.", "type": "string" diff --git a/DiscoveryJson/oslogin_v1beta.json b/DiscoveryJson/oslogin_v1beta.json index 80659ccf438..90bf8734427 100644 --- a/DiscoveryJson/oslogin_v1beta.json +++ b/DiscoveryJson/oslogin_v1beta.json @@ -408,7 +408,7 @@ } } }, - "revision": "20230729", + "revision": "20230903", "rootUrl": "https://oslogin.googleapis.com/", "schemas": { "Empty": { @@ -533,6 +533,10 @@ "description": "The credential information for a Google registered security key.", "id": "SecurityKey", "properties": { + "deviceNickname": { + "description": "The security key nickname explicitly set by the user.", + "type": "string" + }, "privateKey": { "description": "Hardware-backed private key text in SSH format.", "type": "string" diff --git a/DiscoveryJson/realtimebidding_v1.json b/DiscoveryJson/realtimebidding_v1.json index f14b1e3e6cf..ab92d62813a 100644 --- a/DiscoveryJson/realtimebidding_v1.json +++ b/DiscoveryJson/realtimebidding_v1.json @@ -894,7 +894,7 @@ ], "parameters": { "name": { - "description": "Required. To fetch remarketing tag for an account, name must follow the pattern `buyers/{accountId}` where `{accountId}` represents ID of a buyer that owns the remarketing tag. For a bidder accessing remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch remarketing tag for a specific user list, name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name.", + "description": "Required. To fetch the remarketing tag for an account, the name must follow the pattern `buyers/{accountId}`, where `{accountId}` represents the ID of the buyer that owns the remarketing tag. For a bidder accessing the remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch the remarketing tag for a specific user list, the name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name.", "location": "path", "pattern": "^buyers/[^/]+$", "required": true, @@ -1103,7 +1103,7 @@ "userLists": { "methods": { "close": { - "description": "Change the status of a user list to CLOSED. This prevents new users from being added to the user list.", + "description": "Changes the status of a user list to CLOSED. This prevents new users from being added to the user list.", "flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}:close", "httpMethod": "POST", "id": "realtimebidding.buyers.userLists.close", @@ -1131,7 +1131,7 @@ ] }, "create": { - "description": "Create a new user list.", + "description": "Creates a new user list.", "flatPath": "v1/buyers/{buyersId}/userLists", "httpMethod": "POST", "id": "realtimebidding.buyers.userLists.create", @@ -1140,7 +1140,7 @@ ], "parameters": { "parent": { - "description": "Required. The name of the parent buyer of the user list to be retrieved that must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns user lists. For a bidder accessing user lists on behalf of a child seat buyer , `{buyerAccountId}` should represent the account ID of the child seat buyer.", + "description": "Required. The name of the parent buyer of the user list to be retrieved, which must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns the user list. For a bidder accessing user lists on behalf of a child seat buyer, `{buyerAccountId}` should represent the account ID of the child seat buyer.", "location": "path", "pattern": "^buyers/[^/]+$", "required": true, @@ -1193,7 +1193,7 @@ ], "parameters": { "name": { - "description": "Required. To fetch remarketing tag for an account, name must follow the pattern `buyers/{accountId}` where `{accountId}` represents ID of a buyer that owns the remarketing tag. For a bidder accessing remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch remarketing tag for a specific user list, name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name.", + "description": "Required. To fetch the remarketing tag for an account, the name must follow the pattern `buyers/{accountId}`, where `{accountId}` represents the ID of the buyer that owns the remarketing tag. For a bidder accessing the remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch the remarketing tag for a specific user list, the name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name.", "location": "path", "pattern": "^buyers/[^/]+/userLists/[^/]+$", "required": true, @@ -1224,7 +1224,7 @@ "type": "integer" }, "pageToken": { - "description": "Continuation page token (as received from a previous response).", + "description": "Continuation page token as received from a previous response.", "location": "query", "type": "string" }, @@ -1245,7 +1245,7 @@ ] }, "open": { - "description": "Change the status of a user list to OPEN. This allows new users to be added to the user list.", + "description": "Changes the status of a user list to OPEN. This allows new users to be added to the user list.", "flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}:open", "httpMethod": "POST", "id": "realtimebidding.buyers.userLists.open", @@ -1273,7 +1273,7 @@ ] }, "update": { - "description": "Update the given user list. Only user lists with URLRestrictions can be updated.", + "description": "Updates the given user list. Only user lists with URLRestrictions can be updated.", "flatPath": "v1/buyers/{buyersId}/userLists/{userListsId}", "httpMethod": "PUT", "id": "realtimebidding.buyers.userLists.update", @@ -1305,7 +1305,7 @@ } } }, - "revision": "20230822", + "revision": "20230907", "rootUrl": "https://realtimebidding.googleapis.com/", "schemas": { "ActivatePretargetingConfigRequest": { @@ -2315,7 +2315,7 @@ "id": "GetRemarketingTagResponse", "properties": { "snippet": { - "description": "A HTML tag that can be placed on the advertiser's page to add users to a user list. For more information and code samples on using snippet on your website refer to [Tag your site for remarketing]( https://support.google.com/google-ads/answer/2476688).", + "description": "An HTML tag that can be placed on the advertiser's page to add users to a user list. For more information and code samples on using snippets on your website, refer to [Tag your site for remarketing](https://support.google.com/google-ads/answer/2476688).", "type": "string" } }, @@ -2509,7 +2509,7 @@ "id": "ListUserListsResponse", "properties": { "nextPageToken": { - "description": "The continuation page token to send back to the server in a subsequent request. Due to a currently known issue, it is recommended that the caller keep invoking the list method till the time a next page token is not returned (even if the result set is empty).", + "description": "The continuation page token to send back to the server in a subsequent request. Due to a currently known issue, it is recommended that the caller keep invoking the list method until the time a next page token is not returned, even if the result set is empty.", "type": "string" }, "userLists": { diff --git a/DiscoveryJson/redis_v1beta1.json b/DiscoveryJson/redis_v1beta1.json index 33efa0e1d69..0301e241dc6 100644 --- a/DiscoveryJson/redis_v1beta1.json +++ b/DiscoveryJson/redis_v1beta1.json @@ -180,7 +180,7 @@ "clusters": { "methods": { "create": { - "description": "Creates a Redis cluster based on the specified tier and memory size. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis cluster will be fully functional. The completed longrunning.Operation will contain the new cluster object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.", + "description": "Creates a Redis cluster based on the specified properties. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis cluster will be fully functional. The completed longrunning.Operation will contain the new cluster object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters", "httpMethod": "POST", "id": "redis.projects.locations.clusters.create", @@ -821,7 +821,7 @@ } } }, - "revision": "20230804", + "revision": "20230905", "rootUrl": "https://redis.googleapis.com/", "schemas": { "CertChain": { @@ -1747,7 +1747,7 @@ "id": "PscConfig", "properties": { "network": { - "description": "Required. The consumer network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_host_project}/global/networks/{network_id}.", + "description": "Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.", "type": "string" } }, @@ -1772,7 +1772,8 @@ "type": "string" }, "projectId": { - "description": "The consumer project_id where the forwarding rule is created from.", + "description": "Output only. The consumer project_id where the forwarding rule is created from.", + "readOnly": true, "type": "string" }, "pscConnectionId": { diff --git a/DiscoveryJson/serviceusage_v1beta1.json b/DiscoveryJson/serviceusage_v1beta1.json index 3c27f351a16..3369dd94b95 100644 --- a/DiscoveryJson/serviceusage_v1beta1.json +++ b/DiscoveryJson/serviceusage_v1beta1.json @@ -964,7 +964,7 @@ } } }, - "revision": "20230815", + "revision": "20230907", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AddEnableRulesMetadata": { @@ -974,7 +974,7 @@ "type": "object" }, "AddEnableRulesResponse": { - "description": "The response message of \"AddEnableRules\" method.", + "description": "The response message of `AddEnableRules` method.", "id": "AddEnableRulesResponse", "properties": { "addedValues": { @@ -1471,7 +1471,7 @@ "type": "string" }, "name": { - "description": "Output only. The resource name of the policy. For example, We only allow consumer policy name as \"default\" for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`. Legacy format: `projects/12345/consumerPoly`", + "description": "Output only. The resource name of the policy. We only allow consumer policy name as `default` for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`.", "readOnly": true, "type": "string" }, @@ -1879,7 +1879,7 @@ }, "groups": { "deprecated": true, - "description": "DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). go/predefined-service-groups. Example: `groups/googleServices`.", + "description": "DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). Example: `groups/googleServices`.", "items": { "type": "string" }, @@ -1894,7 +1894,7 @@ "type": "array" }, "values": { - "description": "The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, groups/googleServices`, groups/allServices`.", + "description": "The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, `groups/googleServices`, `groups/allServices`.", "items": { "type": "string" }, @@ -3688,7 +3688,7 @@ "type": "object" }, "RemoveEnableRulesResponse": { - "description": "The response message of \"RemoveEnableRules\" method.", + "description": "The response message of `RemoveEnableRules` method.", "id": "RemoveEnableRulesResponse", "properties": { "parent": { diff --git a/DiscoveryJson/speech_v1.json b/DiscoveryJson/speech_v1.json index 49ce8165b23..949f83d7632 100644 --- a/DiscoveryJson/speech_v1.json +++ b/DiscoveryJson/speech_v1.json @@ -524,7 +524,7 @@ } } }, - "revision": "20230804", + "revision": "20230901", "rootUrl": "https://speech.googleapis.com/", "schemas": { "ABNFGrammar": { @@ -585,10 +585,40 @@ "description": "A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.", "id": "CustomClass", "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.", + "readOnly": true, + "type": "object" + }, "customClassId": { "description": "If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.", "type": "string" }, + "deleteTime": { + "description": "Output only. The time at which this resource was requested for deletion. This field is not used.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.", + "readOnly": true, + "type": "string" + }, + "etag": { + "description": "Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.", + "readOnly": true, + "type": "string" + }, + "expireTime": { + "description": "Output only. The time at which this resource will be purged. This field is not used.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "items": { "description": "A collection of class items.", "items": { @@ -609,6 +639,31 @@ "name": { "description": "The resource name of the custom class.", "type": "string" + }, + "reconciling": { + "description": "Output only. Whether or not this CustomClass is in the process of being updated. This field is not used.", + "readOnly": true, + "type": "boolean" + }, + "state": { + "description": "Output only. The CustomClass lifecycle state. This field is not used.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "DELETED" + ], + "enumDescriptions": [ + "Unspecified state. This is only used/useful for distinguishing unset values.", + "The normal and active state.", + "This CustomClass has been deleted." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned unique identifier for the CustomClass. This field is not used.", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -810,11 +865,41 @@ "description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases in the results.", "id": "PhraseSet", "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.", + "readOnly": true, + "type": "object" + }, "boost": { "description": "Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 (exclusive) and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests.", "format": "float", "type": "number" }, + "deleteTime": { + "description": "Output only. The time at which this resource was requested for deletion. This field is not used.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Output only. User-settable, human-readable name for the PhraseSet. Must be 63 characters or less. This field is not used.", + "readOnly": true, + "type": "string" + }, + "etag": { + "description": "Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.", + "readOnly": true, + "type": "string" + }, + "expireTime": { + "description": "Output only. The time at which this resource will be purged. This field is not used.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "kmsKeyName": { "description": "Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the PhraseSet is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", "readOnly": true, @@ -835,6 +920,31 @@ "$ref": "Phrase" }, "type": "array" + }, + "reconciling": { + "description": "Output only. Whether or not this PhraseSet is in the process of being updated. This field is not used.", + "readOnly": true, + "type": "boolean" + }, + "state": { + "description": "Output only. The CustomClass lifecycle state. This field is not used.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "DELETED" + ], + "enumDescriptions": [ + "Unspecified state. This is only used/useful for distinguishing unset values.", + "The normal and active state.", + "This CustomClass has been deleted." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned unique identifier for the PhraseSet. This field is not used.", + "readOnly": true, + "type": "string" } }, "type": "object" diff --git a/DiscoveryJson/speech_v1p1beta1.json b/DiscoveryJson/speech_v1p1beta1.json index cb1bb8150e8..0510ff5d53f 100644 --- a/DiscoveryJson/speech_v1p1beta1.json +++ b/DiscoveryJson/speech_v1p1beta1.json @@ -524,7 +524,7 @@ } } }, - "revision": "20230804", + "revision": "20230901", "rootUrl": "https://speech.googleapis.com/", "schemas": { "ABNFGrammar": { @@ -585,10 +585,40 @@ "description": "A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.", "id": "CustomClass", "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.", + "readOnly": true, + "type": "object" + }, "customClassId": { "description": "If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.", "type": "string" }, + "deleteTime": { + "description": "Output only. The time at which this resource was requested for deletion. This field is not used.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.", + "readOnly": true, + "type": "string" + }, + "etag": { + "description": "Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.", + "readOnly": true, + "type": "string" + }, + "expireTime": { + "description": "Output only. The time at which this resource will be purged. This field is not used.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "items": { "description": "A collection of class items.", "items": { @@ -609,6 +639,31 @@ "name": { "description": "The resource name of the custom class.", "type": "string" + }, + "reconciling": { + "description": "Output only. Whether or not this CustomClass is in the process of being updated. This field is not used.", + "readOnly": true, + "type": "boolean" + }, + "state": { + "description": "Output only. The CustomClass lifecycle state. This field is not used.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "DELETED" + ], + "enumDescriptions": [ + "Unspecified state. This is only used/useful for distinguishing unset values.", + "The normal and active state.", + "This CustomClass has been deleted." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned unique identifier for the CustomClass. This field is not used.", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -834,11 +889,41 @@ "description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases in the results.", "id": "PhraseSet", "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.", + "readOnly": true, + "type": "object" + }, "boost": { "description": "Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 (exclusive) and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests.", "format": "float", "type": "number" }, + "deleteTime": { + "description": "Output only. The time at which this resource was requested for deletion. This field is not used.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Output only. User-settable, human-readable name for the PhraseSet. Must be 63 characters or less. This field is not used.", + "readOnly": true, + "type": "string" + }, + "etag": { + "description": "Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.", + "readOnly": true, + "type": "string" + }, + "expireTime": { + "description": "Output only. The time at which this resource will be purged. This field is not used.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "kmsKeyName": { "description": "Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the PhraseSet is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", "readOnly": true, @@ -859,6 +944,31 @@ "$ref": "Phrase" }, "type": "array" + }, + "reconciling": { + "description": "Output only. Whether or not this PhraseSet is in the process of being updated. This field is not used.", + "readOnly": true, + "type": "boolean" + }, + "state": { + "description": "Output only. The CustomClass lifecycle state. This field is not used.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "DELETED" + ], + "enumDescriptions": [ + "Unspecified state. This is only used/useful for distinguishing unset values.", + "The normal and active state.", + "This CustomClass has been deleted." + ], + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. System-assigned unique identifier for the PhraseSet. This field is not used.", + "readOnly": true, + "type": "string" } }, "type": "object" diff --git a/DiscoveryJson/storage_v1.json b/DiscoveryJson/storage_v1.json index e2ff824ce6e..b97ce8a0070 100644 --- a/DiscoveryJson/storage_v1.json +++ b/DiscoveryJson/storage_v1.json @@ -26,7 +26,7 @@ "description": "Stores and retrieves potentially large, immutable data objects.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/storage/docs/json_api/", - "etag": "\"39353535313838393033333032363632303533\"", + "etag": "\"3137393534363837313035303430333138303233\"", "icons": { "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png", "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png" @@ -1572,6 +1572,34 @@ }, "objects": { "methods": { + "bulkRestore": { + "description": "Initiates a long-running bulk restore operation on the specified bucket.", + "httpMethod": "POST", + "id": "storage.objects.bulkRestore", + "parameterOrder": [ + "bucket" + ], + "parameters": { + "bucket": { + "description": "Name of the bucket in which the object resides.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "b/{bucket}/o/bulkRestore", + "request": { + "$ref": "BulkRestoreObjectsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/devstorage.full_control", + "https://www.googleapis.com/auth/devstorage.read_write" + ] + }, "compose": { "description": "Concatenates a list of existing objects into a new object in the same bucket.", "httpMethod": "POST", @@ -1925,6 +1953,11 @@ "location": "query", "type": "string" }, + "softDeleted": { + "description": "If true, only soft-deleted object versions will be listed. The default is false. For more information, see Soft Delete.", + "location": "query", + "type": "boolean" + }, "userProject": { "description": "The project to be billed for this request. Required for Requester Pays buckets.", "location": "query", @@ -2177,6 +2210,11 @@ "location": "query", "type": "string" }, + "softDeleted": { + "description": "If true, only soft-deleted object versions will be listed. The default is false. For more information, see Soft Delete.", + "location": "query", + "type": "boolean" + }, "startOffset": { "description": "Filter results to objects whose names are lexicographically equal to or after startOffset. If endOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).", "location": "query", @@ -2309,6 +2347,89 @@ "https://www.googleapis.com/auth/devstorage.full_control" ] }, + "restore": { + "description": "Restores a soft-deleted object.", + "httpMethod": "POST", + "id": "storage.objects.restore", + "parameterOrder": [ + "bucket", + "object" + ], + "parameters": { + "bucket": { + "description": "Name of the bucket in which the object resides.", + "location": "path", + "required": true, + "type": "string" + }, + "generation": { + "description": "Selects a specific revision of this object.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "ifGenerationMatch": { + "description": "Makes the operation conditional on whether the object's one live generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.", + "format": "int64", + "location": "query", + "type": "string" + }, + "ifGenerationNotMatch": { + "description": "Makes the operation conditional on whether none of the object's live generations match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.", + "format": "int64", + "location": "query", + "type": "string" + }, + "ifMetagenerationMatch": { + "description": "Makes the operation conditional on whether the object's one live metageneration matches the given value.", + "format": "int64", + "location": "query", + "type": "string" + }, + "ifMetagenerationNotMatch": { + "description": "Makes the operation conditional on whether none of the object's live metagenerations match the given value.", + "format": "int64", + "location": "query", + "type": "string" + }, + "object": { + "description": "Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.", + "location": "path", + "required": true, + "type": "string" + }, + "projection": { + "description": "Set of properties to return. Defaults to full.", + "enum": [ + "full", + "noAcl" + ], + "enumDescriptions": [ + "Include all properties.", + "Omit the owner, acl property." + ], + "location": "query", + "type": "string" + }, + "userProject": { + "description": "The project to be billed for this request. Required for Requester Pays buckets.", + "location": "query", + "type": "string" + } + }, + "path": "b/{bucket}/o/{object}/restore", + "request": { + "$ref": "Object" + }, + "response": { + "$ref": "Object" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/devstorage.full_control" + ] + }, "rewrite": { "description": "Rewrites a source object to a destination object. Optionally overrides metadata.", "httpMethod": "POST", @@ -2764,6 +2885,117 @@ } } }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed.", + "httpMethod": "POST", + "id": "storage.buckets.operations.cancel", + "parameterOrder": [ + "bucket", + "operationId" + ], + "parameters": { + "bucket": { + "description": "The parent bucket of the operation resource.", + "location": "path", + "required": true, + "type": "string" + }, + "operationId": { + "description": "The ID of the operation resource.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "b/{bucket}/operations/{operationId}/cancel", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/devstorage.full_control", + "https://www.googleapis.com/auth/devstorage.read_write" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation.", + "httpMethod": "GET", + "id": "storage.buckets.operations.get", + "parameterOrder": [ + "bucket", + "operationId" + ], + "parameters": { + "bucket": { + "description": "The parent bucket of the operation resource.", + "location": "path", + "required": true, + "type": "string" + }, + "operationId": { + "description": "The ID of the operation resource.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "b/{bucket}/operations/{operationId}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/devstorage.full_control", + "https://www.googleapis.com/auth/devstorage.read_only", + "https://www.googleapis.com/auth/devstorage.read_write" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request.", + "httpMethod": "GET", + "id": "storage.buckets.operations.list", + "parameterOrder": [ + "bucket" + ], + "parameters": { + "bucket": { + "description": "Name of the bucket in which to look for operations.", + "location": "path", + "required": true, + "type": "string" + }, + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Maximum number of items to return in a single page of responses. Fewer total results may be returned than requested. The service uses this parameter or 100 items, whichever is smaller.", + "format": "int32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "pageToken": { + "description": "A previously-returned page token representing part of the larger set of results to view.", + "location": "query", + "type": "string" + } + }, + "path": "b/{bucket}/operations", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/devstorage.full_control", + "https://www.googleapis.com/auth/devstorage.read_only", + "https://www.googleapis.com/auth/devstorage.read_write" + ] + } + } + }, "projects": { "resources": { "hmacKeys": { @@ -3010,7 +3242,7 @@ } } }, - "revision": "20230710", + "revision": "20230907", "rootUrl": "https://storage.googleapis.com/", "schemas": { "Bucket": { @@ -3525,6 +3757,38 @@ }, "type": "object" }, + "BulkRestoreObjectsRequest": { + "description": "A bulk restore objects request.", + "id": "BulkRestoreObjectsRequest", + "properties": { + "allowOverwrite": { + "description": "If false (default), the restore will not overwrite live objects with the same name at the destination. This means some deleted objects may be skipped. If true, live objects will be overwritten resulting in a noncurrent object (if versioning is enabled). If versioning is not enabled, overwriting the object will result in a soft-deleted object. In either case, if a noncurrent object already exists with the same name, a live version can be written without issue.", + "type": "boolean" + }, + "copySourceAcl": { + "description": "If true, copies the source object's ACL; otherwise, uses the bucket's default object ACL. The default is false.", + "type": "boolean" + }, + "matchGlobs": { + "description": "Restores only the objects matching any of the specified glob(s). If this parameter is not specified, all objects will be restored within the specified time range.", + "items": { + "type": "string" + }, + "type": "array" + }, + "softDeletedAfterTime": { + "description": "Restores only the objects that were soft-deleted after this time.", + "format": "date-time", + "type": "string" + }, + "softDeletedBeforeTime": { + "description": "Restores only the objects that were soft-deleted before this time.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, "Channel": { "description": "An notification channel used to watch for resource changes.", "id": "Channel", @@ -3656,6 +3920,86 @@ }, "type": "object" }, + "GoogleLongrunningListOperationsResponse": { + "description": "The response message for storage.buckets.operations.list.", + "id": "GoogleLongrunningListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "GoogleLongrunningOperation" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleLongrunningOperation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "GoogleLongrunningOperation", + "properties": { + "done": { + "description": "If the value is \"false\", it means the operation is still in progress. If \"true\", the operation is completed, and either \"error\" or \"response\" is available.", + "type": "boolean" + }, + "error": { + "$ref": "GoogleRpcStatus", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the \"name\" should be a resource name ending with \"operations/{operationId}\".", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as \"Delete\", the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type \"XxxResponse\", where \"Xxx\" is the original method name. For example, if the original method name is \"TakeSnapshot()\", the inferred response type is \"TakeSnapshotResponse\".", + "type": "object" + } + }, + "type": "object" + }, + "GoogleRpcStatus": { + "description": "The \"Status\" type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each \"Status\" message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "GoogleRpcStatus", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English.", + "type": "string" + } + }, + "type": "object" + }, "HmacKey": { "description": "JSON template to produce a JSON-style HMAC Key resource for Create responses.", "id": "HmacKey", diff --git a/DiscoveryJson/tpu_v2alpha1.json b/DiscoveryJson/tpu_v2alpha1.json index 9a1a4dc8d57..1c5c9eb6683 100644 --- a/DiscoveryJson/tpu_v2alpha1.json +++ b/DiscoveryJson/tpu_v2alpha1.json @@ -925,7 +925,7 @@ } } }, - "revision": "20230814", + "revision": "20230904", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1824,7 +1824,8 @@ "DELETING", "ACTIVE", "SUSPENDING", - "SUSPENDED" + "SUSPENDED", + "WAITING_FOR_RESOURCES" ], "enumDescriptions": [ "State of the QueuedResource request is not known/set.", @@ -1835,7 +1836,8 @@ "The QueuedResource is being deleted.", "The resources specified in the QueuedResource request have been provisioned and are ready for use by the end-user/consumer.", "The resources specified in the QueuedResource request are being deleted. This may have been initiated by the user, or the Cloud TPU service. Inspect the state data for more details.", - "The resources specified in the QueuedResource request have been deleted." + "The resources specified in the QueuedResource request have been deleted.", + "The QueuedResource request has passed initial validation and has been persisted in the queue. It will remain in this state until there are sufficient free resources to begin provisioning your request. Wait times will vary significantly depending on demand levels. When demand is high, not all requests can be immediately provisioned. If you need more reliable obtainability of TPUs consider purchasing a reservation. To put a limit on how long you are willing to wait, use [timing constraints](https://cloud.google.com/tpu/docs/queued-resources#request_a_queued_resource_before_a_specified_time)." ], "type": "string" }, diff --git a/DiscoveryJson/vpcaccess_v1.json b/DiscoveryJson/vpcaccess_v1.json index f18a9510cf2..95667c1bcf3 100644 --- a/DiscoveryJson/vpcaccess_v1.json +++ b/DiscoveryJson/vpcaccess_v1.json @@ -169,7 +169,7 @@ "type": "string" }, "parent": { - "description": "Required. The project id and location in which the configuration should be created, specified in the format `projects/*/locations/*`.", + "description": "Required. The project ID and location in which the configuration should be created, specified in the format `projects/*/locations/*`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -384,7 +384,7 @@ } } }, - "revision": "20230810", + "revision": "20230831", "rootUrl": "https://vpcaccess.googleapis.com/", "schemas": { "Connector": { diff --git a/DiscoveryJson/vpcaccess_v1beta1.json b/DiscoveryJson/vpcaccess_v1beta1.json index 29214278300..7a950d4afe6 100644 --- a/DiscoveryJson/vpcaccess_v1beta1.json +++ b/DiscoveryJson/vpcaccess_v1beta1.json @@ -169,7 +169,7 @@ "type": "string" }, "parent": { - "description": "Required. The project id and location in which the configuration should be created, specified in the format `projects/*/locations/*`.", + "description": "Required. The project ID and location in which the configuration should be created, specified in the format `projects/*/locations/*`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -384,7 +384,7 @@ } } }, - "revision": "20230810", + "revision": "20230831", "rootUrl": "https://vpcaccess.googleapis.com/", "schemas": { "Connector": { @@ -413,7 +413,7 @@ "type": "integer" }, "maxThroughput": { - "description": "Maximum throughput of the connector in Mbps. Default is 300, max is 1000. If both maxThroughput and maxInstances are set, the value for maxInstances is utilzed.", + "description": "Maximum throughput of the connector in Mbps. Default is 300, max is 1000. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput.", "format": "int32", "type": "integer" }, @@ -423,7 +423,7 @@ "type": "integer" }, "minThroughput": { - "description": "Minimum throughput of the connector in Mbps. Default and min is 200. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput.", + "description": "Minimum throughput of the connector in Mbps. Default and min is 200. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput.", "format": "int32", "type": "integer" }, diff --git a/DiscoveryJson/workflowexecutions_v1.json b/DiscoveryJson/workflowexecutions_v1.json index 1233dc27789..7d873c0fcb5 100644 --- a/DiscoveryJson/workflowexecutions_v1.json +++ b/DiscoveryJson/workflowexecutions_v1.json @@ -199,6 +199,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "exportData": { + "description": "Returns all metadata stored about an execution, excluding most data that is already accessible via other API methods.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/executions/{executionsId}:exportData", + "httpMethod": "GET", + "id": "workflowexecutions.projects.locations.workflows.executions.exportData", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the execution to be data exported. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+/executions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:exportData", + "response": { + "$ref": "ExportDataResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Returns an execution of the given name.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/executions/{executionsId}", @@ -300,6 +325,48 @@ "https://www.googleapis.com/auth/cloud-platform" ] } + }, + "resources": { + "callbacks": { + "methods": { + "list": { + "description": "Returns a list of active callbacks which belong to the execution with the given name. The returned callbacks are ordered by callback ID. first).", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/executions/{executionsId}/callbacks", + "httpMethod": "GET", + "id": "workflowexecutions.projects.locations.workflows.executions.callbacks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of callbacks to return per call. The default value is 100 and is also the maximum value.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListCallbacks` call. Provide this to retrieve the subsequent page. Note that pagination is applied to dynamic data. The list of callbacks returned can change between page requests if callbacks are created or deleted.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Name of the execution for which the callbacks should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+/executions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/callbacks", + "response": { + "$ref": "ListCallbacksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } } } } @@ -309,9 +376,40 @@ } } }, - "revision": "20230719", + "revision": "20230829", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { + "Callback": { + "description": "An instance of a Callback created by an execution.", + "id": "Callback", + "properties": { + "availablePayloads": { + "description": "Output only. The payloads received by the callback that have not been processed by a waiting execution step.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "method": { + "description": "Output only. The method accepted by the callback. E.g. GET, POST, PUT.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. The resource name of the callback. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/callback/{callback}", + "readOnly": true, + "type": "string" + }, + "waiters": { + "description": "Output only. Number of execution steps waiting on this callback.", + "format": "int64", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "CancelExecutionRequest": { "description": "Request for the CancelExecution method.", "id": "CancelExecutionRequest", @@ -442,6 +540,35 @@ }, "type": "object" }, + "ExportDataResponse": { + "description": "Response for the ExportData method.", + "id": "ExportDataResponse", + "properties": { + "data": { + "description": "The JSON string with customer data and metadata of an execution of the given name", + "type": "string" + } + }, + "type": "object" + }, + "ListCallbacksResponse": { + "description": "RPC response object for the ListCallbacks method.", + "id": "ListCallbacksResponse", + "properties": { + "callbacks": { + "description": "The callbacks which match the request.", + "items": { + "$ref": "Callback" + }, + "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" + }, "ListExecutionsResponse": { "description": "Response for the ListExecutions method.", "id": "ListExecutionsResponse", diff --git a/DiscoveryJson/workloadmanager_v1.json b/DiscoveryJson/workloadmanager_v1.json index c1d5240fcce..b4c34087d16 100644 --- a/DiscoveryJson/workloadmanager_v1.json +++ b/DiscoveryJson/workloadmanager_v1.json @@ -707,7 +707,7 @@ } } }, - "revision": "20230719", + "revision": "20230907", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -915,11 +915,11 @@ }, "sapDiscovery": { "$ref": "SapDiscovery", - "description": "The insights data for sap system discovery. This is a copy of SAP System proto and should get updated whenever that one changes." + "description": "The insights data for SAP system discovery. This is a copy of SAP System proto and should get updated whenever that one changes." }, "sapValidation": { "$ref": "SapValidation", - "description": "The insights data for the sap workload validation." + "description": "The insights data for the SAP workload validation." }, "sentTime": { "description": "Output only. [Output only] Create time stamp", @@ -1137,7 +1137,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", "type": "object" } }, @@ -1337,27 +1337,28 @@ "type": "object" }, "SapDiscovery": { - "description": "LINT.IfChange The schema of SAP system discovery data.", + "description": "The schema of SAP system discovery data.", "id": "SapDiscovery", "properties": { "applicationLayer": { "$ref": "SapDiscoveryComponent", - "description": "An SAP system may run without an application layer." + "description": "Optional. An SAP system may run without an application layer." }, "databaseLayer": { "$ref": "SapDiscoveryComponent", - "description": "An SAP System must have a database." + "description": "Required. An SAP System must have a database." }, "metadata": { "$ref": "SapDiscoveryMetadata", - "description": "The metadata for SAP system discovery data." + "description": "Optional. The metadata for SAP system discovery data." }, "systemId": { - "description": "A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system.", + "description": "Output only. A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system.", + "readOnly": true, "type": "string" }, "updateTime": { - "description": "Unix timestamp this system has been updated last.", + "description": "Required. Unix timestamp this system has been updated last.", "format": "google-datetime", "type": "string" } @@ -1377,18 +1378,18 @@ "description": "Optional. The component is a SAP database." }, "hostProject": { - "description": "Pantheon Project in which the resources reside.", + "description": "Required. Pantheon Project in which the resources reside.", "type": "string" }, "resources": { - "description": "The resources in a component.", + "description": "Optional. The resources in a component.", "items": { "$ref": "SapDiscoveryResource" }, "type": "array" }, "sid": { - "description": "The sap identifier, used by the SAP software and helps differentiate systems for customers.", + "description": "Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers.", "type": "string" } }, @@ -1411,7 +1412,7 @@ "type": "string" }, "ascsUri": { - "description": "Required. Resource URI of the recognized ASCS host of the application.", + "description": "Optional. Resource URI of the recognized ASCS host of the application.", "type": "string" }, "nfsUri": { @@ -1457,19 +1458,19 @@ "id": "SapDiscoveryMetadata", "properties": { "customerRegion": { - "description": "Customer region string for customer's use. Does not represent GCP region.", + "description": "Optional. Customer region string for customer's use. Does not represent GCP region.", "type": "string" }, "definedSystem": { - "description": "Customer defined, something like \"E-commerce pre prod\"", + "description": "Optional. Customer defined, something like \"E-commerce pre prod\"", "type": "string" }, "environmentType": { - "description": "Should be \"prod\", \"QA\", \"dev\", \"staging\", etc.", + "description": "Optional. Should be \"prod\", \"QA\", \"dev\", \"staging\", etc.", "type": "string" }, "sapProduct": { - "description": "This sap product name", + "description": "Optional. This SAP product name", "type": "string" } }, @@ -1480,7 +1481,7 @@ "id": "SapDiscoveryResource", "properties": { "relatedResources": { - "description": "A list of resource URIs related to this resource.", + "description": "Optional. A list of resource URIs related to this resource.", "items": { "type": "string" }, @@ -1535,11 +1536,11 @@ "type": "string" }, "resourceUri": { - "description": "URI of the resource, includes project, location, and name.", + "description": "Required. URI of the resource, includes project, location, and name.", "type": "string" }, "updateTime": { - "description": "Unix timestamp of when this resource last had its discovery data updated.", + "description": "Required. Unix timestamp of when this resource last had its discovery data updated.", "format": "google-datetime", "type": "string" } @@ -1551,7 +1552,7 @@ "id": "SapValidation", "properties": { "validationDetails": { - "description": "A list of SAP validation metrics data.", + "description": "Optional. A list of SAP validation metrics data.", "items": { "$ref": "SapValidationValidationDetail" }, @@ -1568,26 +1569,30 @@ "additionalProperties": { "type": "string" }, - "description": "The pairs of metrics data: field name & field value.", + "description": "Optional. The pairs of metrics data: field name & field value.", "type": "object" }, "sapValidationType": { - "description": "The SAP system that the validation data is from.", + "description": "Optional. The SAP system that the validation data is from.", "enum": [ "SAP_VALIDATION_TYPE_UNSPECIFIED", "SYSTEM", "COROSYNC", "PACEMAKER", "HANA", - "NETWEAVER" + "NETWEAVER", + "HANA_SECURITY", + "CUSTOM" ], "enumDescriptions": [ "Unspecified type.", - "The SAP system named SYSTEM.", - "The SAP system named COROSYNC.", - "The SAP system named PACEMAKER.", - "The SAP system named HANA.", - "The SAP system named NETWEAVER." + "The SYSTEM validation type collects underlying system data from the VM.", + "The COROSYNC validation type collects Corosync configuration and runtime data. Corosync enables servers to interact as a HA cluster.", + "The PACEMAKER validation type collects Pacemaker configuration data. Pacemaker is a high-availability cluster resource manager.", + "The HANA validation type collects HANA configuration data. SAP HANA is an in-memory, column-oriented, relational database management system.", + "The NETWEAVER validation type collects NetWeaver configuration data. SAP NetWeaver is a software stack for many of SAP SE's applications.", + "The HANA_SECURITY validation type collects HANA configuration data as it relates to SAP security best practices.", + "The CUSTOM validation type collects any customer-defined data that does not fall into any of the other categories of validations." ], "type": "string" } @@ -1610,7 +1615,7 @@ "id": "SqlserverValidation", "properties": { "agentVersion": { - "description": "The agent version collected this data point", + "description": "Optional. The agent version collected this data point", "type": "string" }, "instance": { @@ -1622,7 +1627,7 @@ "type": "string" }, "validationDetails": { - "description": "A list of SqlServer validation metrics data.", + "description": "Optional. A list of SqlServer validation metrics data.", "items": { "$ref": "SqlserverValidationValidationDetail" }, @@ -1657,7 +1662,7 @@ "type": "array" }, "type": { - "description": "The Sqlserver system that the validation data is from.", + "description": "Optional. The Sqlserver system that the validation data is from.", "enum": [ "SQLSERVER_VALIDATION_TYPE_UNSPECIFIED", "OS", @@ -1668,7 +1673,10 @@ "DB_VIRTUAL_LOG_FILE_COUNT", "DB_BUFFER_POOL_EXTENSION", "DB_MAX_SERVER_MEMORY", - "INSTANCE_METRICS" + "INSTANCE_METRICS", + "DB_INDEX_FRAGMENTATION", + "DB_TABLE_INDEX_COMPRESSION", + "DB_BACKUP_POLICY" ], "enumDescriptions": [ "Unspecified type.", @@ -1680,7 +1688,10 @@ "The VIRTUAL_LOG_FILE_COUNT table.", "The BUFFER_POOL_EXTENSION table.", "The MAX_SERVER_MEMORY table.", - "The INSTANCE_METRICS table." + "The INSTANCE_METRICS table.", + "The DB_INDEX_FRAGMENTATION table.", + "The DB_TABLE_INDEX_COMPRESSION table.", + "The DB_BACKUP_POLICY table." ], "type": "string" } diff --git a/DiscoveryJson/workstations_v1.json b/DiscoveryJson/workstations_v1.json index c2ba00a7917..aa5e65d024c 100644 --- a/DiscoveryJson/workstations_v1.json +++ b/DiscoveryJson/workstations_v1.json @@ -1195,7 +1195,7 @@ } } }, - "revision": "20230802", + "revision": "20230904", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "AuditConfig": { @@ -1404,6 +1404,13 @@ "description": "Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have permissions to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.", "type": "string" }, + "serviceAccountScopes": { + "description": "Optional. Scopes to grant to the service_account. Various scopes are automatically added based on feature usage. When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account.", + "items": { + "type": "string" + }, + "type": "array" + }, "shieldedInstanceConfig": { "$ref": "GceShieldedInstanceConfig", "description": "Optional. A set of Compute Engine Shielded instance options." @@ -2042,6 +2049,12 @@ "readOnly": true, "type": "boolean" }, + "startTime": { + "description": "Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "state": { "description": "Output only. Current state of the workstation.", "enum": [ @@ -2257,6 +2270,13 @@ "readOnly": true, "type": "boolean" }, + "replicaZones": { + "description": "Optional. Immutable. Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be specified\u2014for example, `['us-central1-a', 'us-central1-f']`. If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is created.", + "items": { + "type": "string" + }, + "type": "array" + }, "runningTimeout": { "description": "Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend that workstations be shut down daily to reduce costs and so that security updates can be applied upon restart. The idle_timeout and running_timeout fields are independent of each other. Note that the running_timeout field shuts down VMs after the specified time, regardless of whether or not the VMs are idle. Provide duration terminated by `s` for seconds\u2014for example, `\"54000s\"` (15 hours). Defaults to `\"43200s\"` (12 hours). A value of `\"0s\"` indicates that workstations using this configuration should never time out. If encryption_key is set, it must be greater than `\"0s\"` and less than `\"86400s\"` (24 hours). Warning: A value of `\"0s\"` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur costs and will not pick up security updates.", "format": "google-duration", diff --git a/EnumStorage/compute_alpha.json b/EnumStorage/compute_alpha.json index c34cde21eb4..8f5a8bab026 100644 --- a/EnumStorage/compute_alpha.json +++ b/EnumStorage/compute_alpha.json @@ -53,5 +53,15 @@ "BASIC", "FULL", "INSTANCE_VIEW_UNSPECIFIED" + ], + "Google.Apis.Compute.alpha.RoutersResource+ListBgpRoutesRequest.AddressFamilyEnum": [ + "IPV4", + "IPV6", + "UNSPECIFIED_IP_VERSION" + ], + "Google.Apis.Compute.alpha.RoutersResource+ListBgpRoutesRequest.RouteTypeEnum": [ + "ADVERTISED", + "LEARNED", + "UNSPECIFIED_ROUTE_TYPE" ] } \ No newline at end of file diff --git a/EnumStorage/storage_v1.json b/EnumStorage/storage_v1.json index aa2541edb5f..e8f8fc612b8 100644 --- a/EnumStorage/storage_v1.json +++ b/EnumStorage/storage_v1.json @@ -131,6 +131,10 @@ "full", "noAcl" ], + "Google.Apis.Storage.v1.ObjectsResource+RestoreRequest.ProjectionEnum": [ + "full", + "noAcl" + ], "Google.Apis.Storage.v1.ObjectsResource+RewriteRequest.DestinationPredefinedAclEnum": [ "authenticatedRead", "bucketOwnerFullControl", diff --git a/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.csproj b/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.csproj index f24fd0c304d..cbdaaecbc6d 100644 --- a/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.csproj +++ b/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.AdMob.v1beta Client Library - 1.62.0.3170 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.cs b/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.cs index 7e51f64fca4..68af1362890 100644 --- a/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.cs +++ b/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.cs @@ -3088,8 +3088,7 @@ public class SubscribeListingResponse : Google.Apis.Requests.IDirectResponseSche /// /// A subscription represents a subscribers' access to a particular set of published data. It contains references to - /// associated listings, data exchanges, and linked datasets. TODO(b/267528977) Consider port the new resource to - /// v1beta1 and dataexchange APIs. + /// associated listings, data exchanges, and linked datasets. /// public class Subscription : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.csproj b/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.csproj index da0845d2517..7206f687dc0 100644 --- a/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.csproj +++ b/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AnalyticsHub.v1 Client Library - 1.62.0.3137 + 1.62.0.3154 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.cs b/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.cs index 3f1f4181b75..74676592f2d 100644 --- a/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.cs +++ b/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.cs @@ -2329,8 +2329,7 @@ public class SubscribeListingResponse : Google.Apis.Requests.IDirectResponseSche /// /// A subscription represents a subscribers' access to a particular set of published data. It contains references to - /// associated listings, data exchanges, and linked datasets. TODO(b/267528977) Consider port the new resource to - /// v1beta1 and dataexchange APIs. + /// associated listings, data exchanges, and linked datasets. /// public class Subscription : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.csproj b/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.csproj index 7b5dd4bafb7..f70a52e1c5e 100644 --- a/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.csproj +++ b/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.AnalyticsHub.v1beta1 Client Library - 1.62.0.3137 + 1.62.0.3154 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.cs b/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.cs index d7b0e373370..19c4acb4522 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.cs +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.cs @@ -6141,10 +6141,6 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("satisfiesPzs")] public virtual System.Nullable SatisfiesPzs { get; set; } - /// Optional. Config and state for sbom generation for resources within this Repository. - [Newtonsoft.Json.JsonPropertyAttribute("sbomConfig")] - public virtual SbomConfig SbomConfig { get; set; } - /// /// Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally /// available or in public preview use this to calculate storage costs. @@ -6197,59 +6193,6 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// Config for whether to generate SBOMs for resources in this repository, as well as output fields describing - /// current state. - /// - public class SbomConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// Optional. Config for whether this repository has sbom generation disabled. - [Newtonsoft.Json.JsonPropertyAttribute("enablementConfig")] - public virtual string EnablementConfig { get; set; } - - private string _lastEnableTimeRaw; - - private object _lastEnableTime; - - /// Output only. The last time this repository config was set to INHERITED. - [Newtonsoft.Json.JsonPropertyAttribute("lastEnableTime")] - public virtual string LastEnableTimeRaw - { - get => _lastEnableTimeRaw; - set - { - _lastEnableTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _lastEnableTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use LastEnableTimeDateTimeOffset instead.")] - public virtual object LastEnableTime - { - get => _lastEnableTime; - set - { - _lastEnableTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _lastEnableTime = value; - } - } - - /// - /// representation of . - /// - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? LastEnableTimeDateTimeOffset - { - get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(LastEnableTimeRaw); - set => LastEnableTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); - } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Request message for `SetIamPolicy` method. public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -6513,7 +6456,7 @@ public class UploadYumArtifactRequest : Google.Apis.Requests.IDirectResponseSche /// public class UploadYumArtifactResponse : Google.Apis.Requests.IDirectResponseSchema { - /// The Apt artifacts updated. + /// The Yum artifacts updated. [Newtonsoft.Json.JsonPropertyAttribute("yumArtifacts")] public virtual System.Collections.Generic.IList YumArtifacts { get; set; } diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.csproj b/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.csproj index 082eb8ef07e..a5e14b26815 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.csproj +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ArtifactRegistry.v1 Client Library - 1.62.0.3142 + 1.62.0.3169 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs index 46d55ccb806..6866f744a6c 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs @@ -3781,7 +3781,7 @@ public class UploadYumArtifactRequest : Google.Apis.Requests.IDirectResponseSche /// public class UploadYumArtifactResponse : Google.Apis.Requests.IDirectResponseSchema { - /// The Apt artifacts updated. + /// The Yum artifacts updated. [Newtonsoft.Json.JsonPropertyAttribute("yumArtifacts")] public virtual System.Collections.Generic.IList YumArtifacts { get; set; } diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj index 84e7f87f2c1..32439b1ed46 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.ArtifactRegistry.v1beta2 Client Library - 1.62.0.3136 + 1.62.0.3169 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.cs b/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.cs index 93940804a7d..1f41d9ac806 100644 --- a/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.cs +++ b/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.cs @@ -294,9 +294,504 @@ public class LocationsResource public LocationsResource(Google.Apis.Services.IClientService service) { this.service = service; + Global = new GlobalResource(service); Operations = new OperationsResource(service); } + /// Gets the Global resource. + public virtual GlobalResource Global { get; } + + /// The "global" collection of methods. + public class GlobalResource + { + private const string Resource = "global"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public GlobalResource(Google.Apis.Services.IClientService service) + { + this.service = service; + PartnerTenants = new PartnerTenantsResource(service); + } + + /// Gets the PartnerTenants resource. + public virtual PartnerTenantsResource PartnerTenants { get; } + + /// The "partnerTenants" collection of methods. + public class PartnerTenantsResource + { + private const string Resource = "partnerTenants"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public PartnerTenantsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + ProxyConfigs = new ProxyConfigsResource(service); + } + + /// Gets the ProxyConfigs resource. + public virtual ProxyConfigsResource ProxyConfigs { get; } + + /// The "proxyConfigs" collection of methods. + public class ProxyConfigsResource + { + private const string Resource = "proxyConfigs"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ProxyConfigsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource + /// exists and does not have a policy set. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for + /// this field. + /// + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(service, resource); + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource + /// exists and does not have a policy set. + /// + public class GetIamPolicyRequest : BeyondCorpBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + { + Resource = resource; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value + /// for this field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// Optional. The maximum policy version that will be used to format the policy. Valid + /// values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests + /// for policies with any conditional role bindings must specify version 3. Policies with no + /// conditional role bindings may specify any valid value or leave the field unset. The + /// policy in the response might use the policy version that you specified, or it might use + /// a lower policy version. For example, if you specify version 3, but the policy has no + /// conditional role bindings, the response uses version 1. To learn which resources support + /// conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/global/partnerTenants/[^/]+/proxyConfigs/[^/]+$", + }); + RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can + /// return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for + /// this field. + /// + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.BeyondCorp.v1.Data.GoogleIamV1SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(service, body, resource); + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can + /// return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + public class SetIamPolicyRequest : BeyondCorpBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.BeyondCorp.v1.Data.GoogleIamV1SetIamPolicyRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value + /// for this field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.BeyondCorp.v1.Data.GoogleIamV1SetIamPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/global/partnerTenants/[^/]+/proxyConfigs/[^/]+$", + }); + } + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not + /// exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This + /// operation is designed to be used for building permission-aware UIs and command-line tools, + /// not for authorization checking. This operation may "fail open" without warning. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for + /// this field. + /// + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.BeyondCorp.v1.Data.GoogleIamV1TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(service, body, resource); + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not + /// exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This + /// operation is designed to be used for building permission-aware UIs and command-line tools, + /// not for authorization checking. This operation may "fail open" without warning. + /// + public class TestIamPermissionsRequest : BeyondCorpBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.BeyondCorp.v1.Data.GoogleIamV1TestIamPermissionsRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value + /// for this field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.BeyondCorp.v1.Data.GoogleIamV1TestIamPermissionsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/global/partnerTenants/[^/]+/proxyConfigs/[^/]+$", + }); + } + } + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists + /// and does not have a policy set. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(service, resource); + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists + /// and does not have a policy set. + /// + public class GetIamPolicyRequest : BeyondCorpBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + { + Resource = resource; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for + /// this field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// Optional. The maximum policy version that will be used to format the policy. Valid values + /// are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for + /// policies with any conditional role bindings must specify version 3. Policies with no + /// conditional role bindings may specify any valid value or leave the field unset. The policy + /// in the response might use the policy version that you specified, or it might use a lower + /// policy version. For example, if you specify version 3, but the policy has no conditional + /// role bindings, the response uses version 1. To learn which resources support conditions in + /// their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/global/partnerTenants/[^/]+$", + }); + RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can + /// return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.BeyondCorp.v1.Data.GoogleIamV1SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(service, body, resource); + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can + /// return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + public class SetIamPolicyRequest : BeyondCorpBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.BeyondCorp.v1.Data.GoogleIamV1SetIamPolicyRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for + /// this field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.BeyondCorp.v1.Data.GoogleIamV1SetIamPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/global/partnerTenants/[^/]+$", + }); + } + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.BeyondCorp.v1.Data.GoogleIamV1TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(service, body, resource); + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + public class TestIamPermissionsRequest : BeyondCorpBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.BeyondCorp.v1.Data.GoogleIamV1TestIamPermissionsRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for + /// this field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.BeyondCorp.v1.Data.GoogleIamV1TestIamPermissionsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/global/partnerTenants/[^/]+$", + }); + } + } + } + } + /// Gets the Operations resource. public virtual OperationsResource Operations { get; } diff --git a/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.csproj b/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.csproj index 20b970d7b4f..170fe9d9157 100644 --- a/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.csproj +++ b/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BeyondCorp.v1 Client Library - 1.62.0.3135 + 1.62.0.3156 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs index 3cb35f1b69c..f930e3d25df 100644 --- a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs +++ b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs @@ -3111,6 +3111,7 @@ public LocationsResource(Google.Apis.Services.IClientService service) AppConnections = new AppConnectionsResource(service); AppConnectors = new AppConnectorsResource(service); AppGateways = new AppGatewaysResource(service); + ApplicationDomains = new ApplicationDomainsResource(service); Applications = new ApplicationsResource(service); ClientConnectorServices = new ClientConnectorServicesResource(service); ClientGateways = new ClientGatewaysResource(service); @@ -5354,6 +5355,242 @@ protected override void InitParameters() } } + /// Gets the ApplicationDomains resource. + public virtual ApplicationDomainsResource ApplicationDomains { get; } + + /// The "applicationDomains" collection of methods. + public class ApplicationDomainsResource + { + private const string Resource = "applicationDomains"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ApplicationDomainsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(service, resource); + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + public class GetIamPolicyRequest : BeyondCorpBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + { + Resource = resource; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// Optional. The maximum policy version that will be used to format the policy. Valid values are 0, + /// 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any + /// conditional role bindings must specify version 3. Policies with no conditional role bindings may + /// specify any valid value or leave the field unset. The policy in the response might use the + /// policy version that you specified, or it might use a lower policy version. For example, if you + /// specify version 3, but the policy has no conditional role bindings, the response uses version 1. + /// To learn which resources support conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+resource}:getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/applicationDomains/[^/]+$", + }); + RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.BeyondCorp.v1alpha.Data.GoogleIamV1SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(service, body, resource); + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + public class SetIamPolicyRequest : BeyondCorpBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.BeyondCorp.v1alpha.Data.GoogleIamV1SetIamPolicyRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.BeyondCorp.v1alpha.Data.GoogleIamV1SetIamPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+resource}:setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/applicationDomains/[^/]+$", + }); + } + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.BeyondCorp.v1alpha.Data.GoogleIamV1TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(service, body, resource); + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + public class TestIamPermissionsRequest : BeyondCorpBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.BeyondCorp.v1alpha.Data.GoogleIamV1TestIamPermissionsRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.BeyondCorp.v1alpha.Data.GoogleIamV1TestIamPermissionsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+resource}:testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/applicationDomains/[^/]+$", + }); + } + } + } + /// Gets the Applications resource. public virtual ApplicationsResource Applications { get; } diff --git a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj index 967976793fe..fba19decbe7 100644 --- a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj +++ b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.BeyondCorp.v1alpha Client Library - 1.62.0.3135 + 1.62.0.3156 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs index ee0f492b88d..e974e4fd737 100644 --- a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs +++ b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs @@ -1531,10 +1531,10 @@ protected override void InitParameters() /// /// The body of the request. /// - /// The resource name of the transfer config. Transfer config names have the form - /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. Where `config_id` is usually - /// a uuid, even though it is not guaranteed or required. The name is ignored when creating a transfer - /// config. + /// The resource name of the transfer config. Transfer config names have the form either + /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or + /// `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even + /// though it is not guaranteed or required. The name is ignored when creating a transfer config. /// public virtual PatchRequest Patch(Google.Apis.BigQueryDataTransfer.v1.Data.TransferConfig body, string name) { @@ -1555,10 +1555,10 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Big } /// - /// The resource name of the transfer config. Transfer config names have the form - /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. Where `config_id` is - /// usually a uuid, even though it is not guaranteed or required. The name is ignored when creating - /// a transfer config. + /// The resource name of the transfer config. Transfer config names have the form either + /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or + /// `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even + /// though it is not guaranteed or required. The name is ignored when creating a transfer config. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -2782,9 +2782,10 @@ protected override void InitParameters() /// /// The body of the request. /// - /// The resource name of the transfer config. Transfer config names have the form - /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. Where `config_id` is usually a - /// uuid, even though it is not guaranteed or required. The name is ignored when creating a transfer config. + /// The resource name of the transfer config. Transfer config names have the form either + /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or + /// `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even though it + /// is not guaranteed or required. The name is ignored when creating a transfer config. /// public virtual PatchRequest Patch(Google.Apis.BigQueryDataTransfer.v1.Data.TransferConfig body, string name) { @@ -2805,10 +2806,10 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Big } /// - /// The resource name of the transfer config. Transfer config names have the form - /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. Where `config_id` is usually - /// a uuid, even though it is not guaranteed or required. The name is ignored when creating a transfer - /// config. + /// The resource name of the transfer config. Transfer config names have the form either + /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or + /// `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even + /// though it is not guaranteed or required. The name is ignored when creating a transfer config. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -3915,9 +3916,10 @@ public class TransferConfig : Google.Apis.Requests.IDirectResponseSchema public virtual EncryptionConfiguration EncryptionConfiguration { get; set; } /// - /// The resource name of the transfer config. Transfer config names have the form - /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. Where `config_id` is usually a uuid, - /// even though it is not guaranteed or required. The name is ignored when creating a transfer config. + /// The resource name of the transfer config. Transfer config names have the form either + /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or + /// `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even though it is + /// not guaranteed or required. The name is ignored when creating a transfer config. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } diff --git a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj index 9332d60e6a9..34a78411092 100644 --- a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj +++ b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BigQueryDataTransfer.v1 Client Library - 1.62.0.3124 + 1.62.0.3169 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs index 7f597ba6ced..f39aefe1839 100644 --- a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs +++ b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs @@ -36,8 +36,6 @@ public ChecksServiceService(Google.Apis.Services.BaseClientService.Initializer i { Accounts = new AccountsResource(this); Media = new MediaResource(this); - Privacypolicy = new PrivacypolicyResource(this); - Projects = new ProjectsResource(this); } /// Gets the service supported features. @@ -63,12 +61,6 @@ public ChecksServiceService(Google.Apis.Services.BaseClientService.Initializer i /// Gets the Media resource. public virtual MediaResource Media { get; } - - /// Gets the Privacypolicy resource. - public virtual PrivacypolicyResource Privacypolicy { get; } - - /// Gets the Projects resource. - public virtual ProjectsResource Projects { get; } } /// A base abstract class for ChecksService requests. @@ -1220,497 +1212,9 @@ public UploadMediaUpload(Google.Apis.Services.IClientService service, Google.Api } } } - - /// The "privacypolicy" collection of methods. - public class PrivacypolicyResource - { - private const string Resource = "privacypolicy"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public PrivacypolicyResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Performs a synchronous analysis of a privacy policy, where the policy content is mapped to privacy - /// categories, data types, and purposes. - /// - /// The body of the request. - public virtual AnalyzeRequest Analyze(Google.Apis.ChecksService.v1alpha.Data.AnalyzePrivacyPolicyRequest body) - { - return new AnalyzeRequest(service, body); - } - - /// - /// Performs a synchronous analysis of a privacy policy, where the policy content is mapped to privacy - /// categories, data types, and purposes. - /// - public class AnalyzeRequest : ChecksServiceBaseServiceRequest - { - /// Constructs a new Analyze request. - public AnalyzeRequest(Google.Apis.Services.IClientService service, Google.Apis.ChecksService.v1alpha.Data.AnalyzePrivacyPolicyRequest body) : base(service) - { - Body = body; - InitParameters(); - } - - /// Gets or sets the body of this request. - Google.Apis.ChecksService.v1alpha.Data.AnalyzePrivacyPolicyRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "analyze"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1alpha/privacypolicy:analyze"; - - /// Initializes Analyze parameter list. - protected override void InitParameters() - { - base.InitParameters(); - } - } - } - - /// The "projects" collection of methods. - public class ProjectsResource - { - private const string Resource = "projects"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public ProjectsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - Privacypolicy = new PrivacypolicyResource(service); - } - - /// Gets the Privacypolicy resource. - public virtual PrivacypolicyResource Privacypolicy { get; } - - /// The "privacypolicy" collection of methods. - public class PrivacypolicyResource - { - private const string Resource = "privacypolicy"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public PrivacypolicyResource(Google.Apis.Services.IClientService service) - { - this.service = service; - Operations = new OperationsResource(service); - } - - /// Gets the Operations resource. - public virtual OperationsResource Operations { get; } - - /// The "operations" collection of methods. - public class OperationsResource - { - private const string Resource = "operations"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public OperationsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort to - /// cancel the operation, but success is not guaranteed. If the server doesn't support this method, it - /// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to - /// check whether the cancellation succeeded or whether the operation completed despite cancellation. On - /// successful cancellation, the operation is not deleted; instead, it becomes an operation with an - /// Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. - /// - /// The name of the operation resource to be cancelled. - public virtual CancelRequest Cancel(string name) - { - return new CancelRequest(service, name); - } - - /// - /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort to - /// cancel the operation, but success is not guaranteed. If the server doesn't support this method, it - /// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to - /// check whether the cancellation succeeded or whether the operation completed despite cancellation. On - /// successful cancellation, the operation is not deleted; instead, it becomes an operation with an - /// Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. - /// - public class CancelRequest : ChecksServiceBaseServiceRequest - { - /// Constructs a new Cancel request. - public CancelRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - InitParameters(); - } - - /// The name of the operation resource to be cancelled. - [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 => "cancel"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1alpha/{+name}:cancel"; - - /// Initializes Cancel 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/[^/]+/privacypolicy/operations/[^/]+$", - }); - } - } - - /// - /// Deletes a long-running operation. This method indicates that the client is no longer interested in - /// the operation result. It does not cancel the operation. If the server doesn't support this method, - /// it returns `google.rpc.Code.UNIMPLEMENTED`. - /// - /// The name of the operation resource to be deleted. - public virtual DeleteRequest Delete(string name) - { - return new DeleteRequest(service, name); - } - - /// - /// Deletes a long-running operation. This method indicates that the client is no longer interested in - /// the operation result. It does not cancel the operation. If the server doesn't support this method, - /// it returns `google.rpc.Code.UNIMPLEMENTED`. - /// - public class DeleteRequest : ChecksServiceBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - InitParameters(); - } - - /// The name of the operation resource to be deleted. - [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 => "delete"; - - /// Gets the HTTP method. - public override string HttpMethod => "DELETE"; - - /// Gets the REST path. - public override string RestPath => "v1alpha/{+name}"; - - /// Initializes Delete 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/[^/]+/privacypolicy/operations/[^/]+$", - }); - } - } - - /// - /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation - /// result at intervals as recommended by the API service. - /// - /// The name of the operation resource. - public virtual GetRequest Get(string name) - { - return new GetRequest(service, name); - } - - /// - /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation - /// result at intervals as recommended by the API service. - /// - public class GetRequest : ChecksServiceBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - InitParameters(); - } - - /// The name of the operation resource. - [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 => "v1alpha/{+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 = @"^projects/[^/]+/privacypolicy/operations/[^/]+$", - }); - } - } - - /// - /// Lists operations that match the specified filter in the request. If the server doesn't support this - /// method, it returns `UNIMPLEMENTED`. - /// - /// The name of the operation's parent resource. - public virtual ListRequest List(string name) - { - return new ListRequest(service, name); - } - - /// - /// Lists operations that match the specified filter in the request. If the server doesn't support this - /// method, it returns `UNIMPLEMENTED`. - /// - public class ListRequest : ChecksServiceBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - InitParameters(); - } - - /// The name of the operation's parent resource. - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// The standard list filter. - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// The standard list page size. - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// The standard list 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 => "v1alpha/{+name}/privacypolicy/operations"; - - /// Initializes List 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/[^/]+$", - }); - RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter - { - Name = "filter", - 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, - }); - } - } - - /// - /// Waits until the specified long-running operation is done or reaches at most a specified timeout, - /// returning the latest state. If the operation is already done, the latest state is immediately - /// returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC - /// timeout is used. If the server does not support this method, it returns - /// `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the - /// latest state before the specified timeout (including immediately), meaning even an immediate - /// response is no guarantee that the operation is done. - /// - /// The name of the operation resource to wait on. - public virtual WaitRequest Wait(string name) - { - return new WaitRequest(service, name); - } - - /// - /// Waits until the specified long-running operation is done or reaches at most a specified timeout, - /// returning the latest state. If the operation is already done, the latest state is immediately - /// returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC - /// timeout is used. If the server does not support this method, it returns - /// `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the - /// latest state before the specified timeout (including immediately), meaning even an immediate - /// response is no guarantee that the operation is done. - /// - public class WaitRequest : ChecksServiceBaseServiceRequest - { - /// Constructs a new Wait request. - public WaitRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - InitParameters(); - } - - /// The name of the operation resource to wait on. - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// - /// The maximum duration to wait before timing out. If left blank, the wait will be at most the time - /// permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the - /// shorter one will be used. - /// - [Google.Apis.Util.RequestParameterAttribute("timeout", Google.Apis.Util.RequestParameterType.Query)] - public virtual object Timeout { get; set; } - - /// Gets the method name. - public override string MethodName => "wait"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1alpha/{+name}:wait"; - - /// Initializes Wait 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/[^/]+/privacypolicy/operations/[^/]+$", - }); - RequestParameters.Add("timeout", new Google.Apis.Discovery.Parameter - { - Name = "timeout", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - } - } } namespace Google.Apis.ChecksService.v1alpha.Data { - /// Request for the AnalyzePrivacyPolicy method. - public class AnalyzePrivacyPolicyRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The HTML content of the privacy policy. This is useful if you'd like to manage the crawling and rendering of - /// the privacy policy. - /// - [Newtonsoft.Json.JsonPropertyAttribute("privacyPolicyPageContent")] - public virtual string PrivacyPolicyPageContent { get; set; } - - /// The URI that points to the web page for the privacy policy. - [Newtonsoft.Json.JsonPropertyAttribute("privacyPolicyUri")] - public virtual string PrivacyPolicyUri { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response containing the analyzed privacy policy for the AnalyzePrivacyPolicy method. - public class AnalyzePrivacyPolicyResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// A list of detected purposes in the privacy policy. - [Newtonsoft.Json.JsonPropertyAttribute("dataPurposeAnnotations")] - public virtual System.Collections.Generic.IList DataPurposeAnnotations { get; set; } - - /// A list of detected data types in the privacy policy. - [Newtonsoft.Json.JsonPropertyAttribute("dataTypeAnnotations")] - public virtual System.Collections.Generic.IList DataTypeAnnotations { get; set; } - - /// - /// HTML content for the privacy policy page. The byte offsets in each annotated section will match this - /// content. - /// - [Newtonsoft.Json.JsonPropertyAttribute("htmlContent")] - public virtual string HtmlContent { get; set; } - - /// Information about the date when the privacy policy was last updated. - [Newtonsoft.Json.JsonPropertyAttribute("lastUpdatedDateInfo")] - public virtual LastUpdatedDate LastUpdatedDateInfo { get; set; } - - /// A list of detected topics in the privacy policy. - [Newtonsoft.Json.JsonPropertyAttribute("sectionAnnotations")] - public virtual System.Collections.Generic.IList SectionAnnotations { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// The request message for Operations.CancelOperation. public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -1718,35 +1222,6 @@ public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// - /// Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either - /// specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one - /// of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year - /// (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a - /// zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * - /// google.type.DateTime * google.protobuf.Timestamp - /// - public class Date : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a - /// year and month where the day isn't significant. - /// - [Newtonsoft.Json.JsonPropertyAttribute("day")] - public virtual System.Nullable Day { get; set; } - - /// Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. - [Newtonsoft.Json.JsonPropertyAttribute("month")] - public virtual System.Nullable Month { get; set; } - - /// Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. - [Newtonsoft.Json.JsonPropertyAttribute("year")] - public virtual System.Nullable Year { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc @@ -1758,17 +1233,6 @@ public class Empty : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Response containing the analyzed privacy policy for the FindPrivacyPolicy method. - public class FindPrivacyPolicyResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Resource name of the PrivacyPolicy that was found. - [Newtonsoft.Json.JsonPropertyAttribute("privacyPolicy")] - public virtual string PrivacyPolicy { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Represents an app in Checks. public class GoogleChecksAccountV1alphaApp : Google.Apis.Requests.IDirectResponseSchema { @@ -2569,32 +2033,6 @@ public class GoogleChecksReportV1alphaSdk : Google.Apis.Requests.IDirectResponse public virtual string ETag { get; set; } } - /// Information about the date when the privacy policy was last updated. - public class LastUpdatedDate : Google.Apis.Requests.IDirectResponseSchema - { - /// Byte offsets for the end of the date text inside the full text. - [Newtonsoft.Json.JsonPropertyAttribute("endOffset")] - public virtual System.Nullable EndOffset { get; set; } - - /// Date when the privacy policy was last updated. - [Newtonsoft.Json.JsonPropertyAttribute("lastUpdatedDate")] - public virtual Date LastUpdatedDateValue { get; set; } - - /// Byte offsets for the start of the date text inside the full text. - [Newtonsoft.Json.JsonPropertyAttribute("startOffset")] - public virtual System.Nullable StartOffset { get; set; } - - /// - /// The bytes of actual text content in the section. Note: - This will correspond to the whole sentence that - /// includes the date. - This field might contain HTML and it is not sanitized. - /// - [Newtonsoft.Json.JsonPropertyAttribute("textContent")] - public virtual string TextContent { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// The response message for Operations.ListOperations. public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -2653,99 +2091,6 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class PolicyDataTypeAnnotation : Google.Apis.Requests.IDirectResponseSchema - { - /// Type of the data mentioned in the policy. - [Newtonsoft.Json.JsonPropertyAttribute("dataType")] - public virtual string DataType { get; set; } - - /// Byte offsets for the end of the data type sentence inside the full text. - [Newtonsoft.Json.JsonPropertyAttribute("endOffset")] - public virtual System.Nullable EndOffset { get; set; } - - /// - /// Score given by the model representing how confident it was regarding this `text_content` being of - /// `data_type`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("score")] - public virtual System.Nullable Score { get; set; } - - /// Byte offsets for the start of the data type sentence inside the full text. - [Newtonsoft.Json.JsonPropertyAttribute("startOffset")] - public virtual System.Nullable StartOffset { get; set; } - - /// - /// Actual text content in the section. This makes it much easier to consume the information. NOTE: This field - /// might contain HTML and does not guarantee a SafeHtml security contract go/safehtmltypecontracts#safehtml. - /// - [Newtonsoft.Json.JsonPropertyAttribute("textContent")] - public virtual string TextContent { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class PolicyPurposeOfUseAnnotation : Google.Apis.Requests.IDirectResponseSchema - { - /// Byte offsets for the end of the purpose of use sentence inside the full text. - [Newtonsoft.Json.JsonPropertyAttribute("endOffset")] - public virtual System.Nullable EndOffset { get; set; } - - /// Purpose of use mentioned in the policy. - [Newtonsoft.Json.JsonPropertyAttribute("purposeOfUse")] - public virtual string PurposeOfUse { get; set; } - - /// - /// Score given by the model representing how confident it was regarding this `text_content` being of - /// `purpose_of_use`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("score")] - public virtual System.Nullable Score { get; set; } - - /// Byte offsets for the start of the purpose of use sentence inside the full text. - [Newtonsoft.Json.JsonPropertyAttribute("startOffset")] - public virtual System.Nullable StartOffset { get; set; } - - /// - /// The bytes of actual text content in the sentence that mentions the purpose of use. This makes it much easier - /// to consume the information. - /// - [Newtonsoft.Json.JsonPropertyAttribute("textContent")] - public virtual string TextContent { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class PolicySectionAnnotation : Google.Apis.Requests.IDirectResponseSchema - { - /// Byte offsets for the end of the section inside the full text. - [Newtonsoft.Json.JsonPropertyAttribute("endOffset")] - public virtual System.Nullable EndOffset { get; set; } - - /// - /// Score given by the model representing how confident it was regarding this `text_content` being of - /// `section_type`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("score")] - public virtual System.Nullable Score { get; set; } - - /// Detected type of the high-level topic in the policy. - [Newtonsoft.Json.JsonPropertyAttribute("sectionType")] - public virtual string SectionType { get; set; } - - /// Byte offsets for the start of the section inside the full text. - [Newtonsoft.Json.JsonPropertyAttribute("startOffset")] - public virtual System.Nullable StartOffset { get; set; } - - /// Actual text content in the section. - [Newtonsoft.Json.JsonPropertyAttribute("textContent")] - public virtual string TextContent { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// The `Status` type defines a logical error model that is suitable for different programming environments, /// including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains diff --git a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj index 84a00a43c16..8c82faa7c24 100644 --- a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj +++ b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.ChecksService.v1alpha Client Library - 1.62.0.3164 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.cs b/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.cs index 6a3714fbe34..1ed5d3016b2 100644 --- a/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.cs +++ b/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.cs @@ -2487,6 +2487,10 @@ public class Proto2FieldDescriptorProto : Google.Apis.Requests.IDirectResponseSc /// Describes a complete .proto file. public class Proto2FileDescriptorProto : Google.Apis.Requests.IDirectResponseSchema { + /// The edition of the proto file. + [Newtonsoft.Json.JsonPropertyAttribute("editionEnum")] + public virtual string EditionEnum { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("enumType")] public virtual System.Collections.Generic.IList EnumType { get; set; } diff --git a/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.csproj b/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.csproj index cd0147fbe50..f03e684d841 100644 --- a/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.csproj +++ b/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ChromePolicy.v1 Client Library - 1.62.0.3134 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs index 9ce7c93f081..c60fe060b70 100644 --- a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs +++ b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs @@ -1625,6 +1625,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual string State { get; set; } + /// Optional. Storage configuration for this environment. + [Newtonsoft.Json.JsonPropertyAttribute("storageConfig")] + public virtual StorageConfig StorageConfig { get; set; } + private string _updateTimeRaw; private object _updateTime; @@ -2837,6 +2841,13 @@ public class StopAirflowCommandResponse : Google.Apis.Requests.IDirectResponseSc public virtual string ETag { get; set; } } + /// The configuration for data storage in the environment. + public class StorageConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// The configuration settings for the Airflow web server App Engine instance. Supported for Cloud Composer /// environments in versions composer-1.*.*-airflow-*.*.* diff --git a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj index 441e20636dc..c4eacca1633 100644 --- a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj +++ b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudComposer.v1 Client Library - 1.62.0.3139 + 1.62.0.3170 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs index a82014dd21d..946ee258c24 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs +++ b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs @@ -2632,8 +2632,8 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema public virtual string Name { get; set; } /// - /// The normal response of the operation in case of success. If the original method returns no data on success, - /// such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// The normal, successful response of the operation. If the original method returns no data on success, such as + /// `Delete`, the response is `google.protobuf.Empty`. If the original method is standard /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. @@ -2751,18 +2751,26 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset /// expression that allows access to a resource only if the expression evaluates to `true`. A condition can add /// constraints based on attributes of the request, the resource, or both. To learn which resources support /// conditions in their IAM policies, see the [IAM - /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { "bindings": - /// [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** + /// ``` + /// { + /// "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", /// "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, /// { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { /// "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time - /// &lt; timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** + /// &lt; timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } + /// ``` + /// **YAML + /// example:** + /// ``` /// bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - /// serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - /// members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: request.time &lt; - /// timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, - /// see the [IAM documentation](https://cloud.google.com/iam/docs/). + /// timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 + /// ``` + /// For a description of IAM and its + /// features, see the [IAM documentation](https://cloud.google.com/iam/docs/). /// public class Policy : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj index 5b9e63f463a..94647db6d72 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj +++ b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDomains.v1 Client Library - 1.62.0.3044 + 1.62.0.3168 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.cs b/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.cs index b3d27676bf1..602987743fe 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.cs +++ b/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.cs @@ -2632,8 +2632,8 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema public virtual string Name { get; set; } /// - /// The normal response of the operation in case of success. If the original method returns no data on success, - /// such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// The normal, successful response of the operation. If the original method returns no data on success, such as + /// `Delete`, the response is `google.protobuf.Empty`. If the original method is standard /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. @@ -2751,18 +2751,26 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset /// expression that allows access to a resource only if the expression evaluates to `true`. A condition can add /// constraints based on attributes of the request, the resource, or both. To learn which resources support /// conditions in their IAM policies, see the [IAM - /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { "bindings": - /// [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** + /// ``` + /// { + /// "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", /// "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, /// { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { /// "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time - /// &lt; timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** + /// &lt; timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } + /// ``` + /// **YAML + /// example:** + /// ``` /// bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - /// serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - /// members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: request.time &lt; - /// timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, - /// see the [IAM documentation](https://cloud.google.com/iam/docs/). + /// timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 + /// ``` + /// For a description of IAM and its + /// features, see the [IAM documentation](https://cloud.google.com/iam/docs/). /// public class Policy : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj b/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj index 3b81bae9a34..32ac32534d2 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj +++ b/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDomains.v1alpha2 Client Library - 1.62.0.3044 + 1.62.0.3168 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.cs b/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.cs index 994b3d86c82..f5aabf3543a 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.cs @@ -2632,8 +2632,8 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema public virtual string Name { get; set; } /// - /// The normal response of the operation in case of success. If the original method returns no data on success, - /// such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// The normal, successful response of the operation. If the original method returns no data on success, such as + /// `Delete`, the response is `google.protobuf.Empty`. If the original method is standard /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. @@ -2751,18 +2751,26 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset /// expression that allows access to a resource only if the expression evaluates to `true`. A condition can add /// constraints based on attributes of the request, the resource, or both. To learn which resources support /// conditions in their IAM policies, see the [IAM - /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { "bindings": - /// [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** + /// ``` + /// { + /// "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", /// "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, /// { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { /// "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time - /// &lt; timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** + /// &lt; timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } + /// ``` + /// **YAML + /// example:** + /// ``` /// bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - /// serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - /// members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable /// access description: Does not grant access after Sep 2020 expression: request.time &lt; - /// timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, - /// see the [IAM documentation](https://cloud.google.com/iam/docs/). + /// timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 + /// ``` + /// For a description of IAM and its + /// features, see the [IAM documentation](https://cloud.google.com/iam/docs/). /// public class Policy : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj b/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj index 39918f16d3d..0787ce83ead 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDomains.v1beta1 Client Library - 1.62.0.3044 + 1.62.0.3168 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.cs b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.cs index c6c4d444b5a..d2b777dc4e7 100644 --- a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.cs +++ b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.cs @@ -868,6 +868,71 @@ protected override void InitParameters() }); } } + + /// + /// Upgrades the Memcache instance to a newer memcached engine version specified in the request. + /// + /// The body of the request. + /// + /// Required. Memcache instance resource name using the form: + /// `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers to a GCP + /// region. + /// + public virtual UpgradeRequest Upgrade(Google.Apis.CloudMemorystoreforMemcached.v1.Data.GoogleCloudMemcacheV1UpgradeInstanceRequest body, string name) + { + return new UpgradeRequest(service, body, name); + } + + /// + /// Upgrades the Memcache instance to a newer memcached engine version specified in the request. + /// + public class UpgradeRequest : CloudMemorystoreforMemcachedBaseServiceRequest + { + /// Constructs a new Upgrade request. + public UpgradeRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudMemorystoreforMemcached.v1.Data.GoogleCloudMemcacheV1UpgradeInstanceRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Required. Memcache instance resource name using the form: + /// `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers to a + /// GCP region. + /// + [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.CloudMemorystoreforMemcached.v1.Data.GoogleCloudMemcacheV1UpgradeInstanceRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "upgrade"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:upgrade"; + + /// Initializes Upgrade 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/[^/]+/instances/[^/]+$", + }); + } + } } /// Gets the Operations resource. @@ -1611,6 +1676,17 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Request for UpgradeInstance. + public class GoogleCloudMemcacheV1UpgradeInstanceRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Specifies the target version of memcached engine to upgrade to. + [Newtonsoft.Json.JsonPropertyAttribute("memcacheVersion")] + public virtual string MemcacheVersion { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class GoogleCloudMemcacheV1ZoneMetadata : Google.Apis.Requests.IDirectResponseSchema { /// The ETag of the item. @@ -2693,6 +2769,16 @@ public class Node : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("host")] public virtual string Host { get; set; } + /// + /// Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16 + /// + [Newtonsoft.Json.JsonPropertyAttribute("memcacheFullVersion")] + public virtual string MemcacheFullVersion { get; set; } + + /// Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5 + [Newtonsoft.Json.JsonPropertyAttribute("memcacheVersion")] + public virtual string MemcacheVersion { get; set; } + /// /// Output only. Identifier of the Memcached node. The node id does not include project or location like the /// Memcached instance name. diff --git a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.csproj b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.csproj index fd229f3a2c9..61071def7c2 100644 --- a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.csproj +++ b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudMemorystoreforMemcached.v1 Client Library - 1.62.0.3136 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.cs b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.cs index 85a705d19cc..01bb9d19ae9 100644 --- a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.cs +++ b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.cs @@ -925,6 +925,71 @@ protected override void InitParameters() }); } } + + /// + /// Upgrades the Memcache instance to a newer memcached engine version specified in the request. + /// + /// The body of the request. + /// + /// Required. Memcache instance resource name using the form: + /// `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers to a GCP + /// region. + /// + public virtual UpgradeRequest Upgrade(Google.Apis.CloudMemorystoreforMemcached.v1beta2.Data.GoogleCloudMemcacheV1beta2UpgradeInstanceRequest body, string name) + { + return new UpgradeRequest(service, body, name); + } + + /// + /// Upgrades the Memcache instance to a newer memcached engine version specified in the request. + /// + public class UpgradeRequest : CloudMemorystoreforMemcachedBaseServiceRequest + { + /// Constructs a new Upgrade request. + public UpgradeRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudMemorystoreforMemcached.v1beta2.Data.GoogleCloudMemcacheV1beta2UpgradeInstanceRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Required. Memcache instance resource name using the form: + /// `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers to a + /// GCP region. + /// + [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.CloudMemorystoreforMemcached.v1beta2.Data.GoogleCloudMemcacheV1beta2UpgradeInstanceRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "upgrade"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1beta2/{+name}:upgrade"; + + /// Initializes Upgrade 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/[^/]+/instances/[^/]+$", + }); + } + } } /// Gets the Operations resource. @@ -1688,6 +1753,17 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Request for UpgradeInstance. + public class GoogleCloudMemcacheV1beta2UpgradeInstanceRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Specifies the target version of memcached engine to upgrade to. + [Newtonsoft.Json.JsonPropertyAttribute("memcacheVersion")] + public virtual string MemcacheVersion { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class GoogleCloudMemcacheV1beta2ZoneMetadata : Google.Apis.Requests.IDirectResponseSchema { /// The ETag of the item. @@ -2774,6 +2850,16 @@ public class Node : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("host")] public virtual string Host { get; set; } + /// + /// Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16 + /// + [Newtonsoft.Json.JsonPropertyAttribute("memcacheFullVersion")] + public virtual string MemcacheFullVersion { get; set; } + + /// Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5 + [Newtonsoft.Json.JsonPropertyAttribute("memcacheVersion")] + public virtual string MemcacheVersion { get; set; } + /// /// Output only. Identifier of the Memcached node. The node id does not include project or location like the /// Memcached instance name. diff --git a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.csproj b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.csproj index f5ee2fd6f31..90eaa22a61a 100644 --- a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.csproj +++ b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudMemorystoreforMemcached.v1beta2 Client Library - 1.62.0.3136 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs index a4139f0516a..2a64b7a8711 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs @@ -1074,6 +1074,10 @@ public class PosixAccount : Google.Apis.Requests.IDirectResponseSchema /// The credential information for a Google registered security key. public class SecurityKey : Google.Apis.Requests.IDirectResponseSchema { + /// The security key nickname explicitly set by the user. + [Newtonsoft.Json.JsonPropertyAttribute("deviceNickname")] + public virtual string DeviceNickname { get; set; } + /// Hardware-backed private key text in SSH format. [Newtonsoft.Json.JsonPropertyAttribute("privateKey")] public virtual string PrivateKey { get; set; } diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj index 602e9b3cffd..d56d8bcc36c 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudOSLogin.v1alpha Client Library - 1.62.0.3131 + 1.62.0.3167 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs index 82272fdc896..85e6e34044c 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs @@ -1010,6 +1010,10 @@ public class PosixAccount : Google.Apis.Requests.IDirectResponseSchema /// The credential information for a Google registered security key. public class SecurityKey : Google.Apis.Requests.IDirectResponseSchema { + /// The security key nickname explicitly set by the user. + [Newtonsoft.Json.JsonPropertyAttribute("deviceNickname")] + public virtual string DeviceNickname { get; set; } + /// Hardware-backed private key text in SSH format. [Newtonsoft.Json.JsonPropertyAttribute("privateKey")] public virtual string PrivateKey { get; set; } diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj index b9abd385dc9..ef99abea70f 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudOSLogin.v1beta Client Library - 1.62.0.3131 + 1.62.0.3167 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs index 1813ce33282..44c8e7b3fb1 100644 --- a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs @@ -315,11 +315,11 @@ public ClustersResource(Google.Apis.Services.IClientService service) } /// - /// Creates a Redis cluster based on the specified tier and memory size. The creation is executed - /// asynchronously and callers may check the returned operation to track its progress. Once the - /// operation is completed the Redis cluster will be fully functional. The completed - /// longrunning.Operation will contain the new cluster object in the response field. The returned - /// operation is automatically deleted after a few hours, so there is no need to call DeleteOperation. + /// Creates a Redis cluster based on the specified properties. The creation is executed asynchronously + /// and callers may check the returned operation to track its progress. Once the operation is completed + /// the Redis cluster will be fully functional. The completed longrunning.Operation will contain the new + /// cluster object in the response field. The returned operation is automatically deleted after a few + /// hours, so there is no need to call DeleteOperation. /// /// The body of the request. /// @@ -332,11 +332,11 @@ public virtual CreateRequest Create(Google.Apis.CloudRedis.v1beta1.Data.Cluster } /// - /// Creates a Redis cluster based on the specified tier and memory size. The creation is executed - /// asynchronously and callers may check the returned operation to track its progress. Once the - /// operation is completed the Redis cluster will be fully functional. The completed - /// longrunning.Operation will contain the new cluster object in the response field. The returned - /// operation is automatically deleted after a few hours, so there is no need to call DeleteOperation. + /// Creates a Redis cluster based on the specified properties. The creation is executed asynchronously + /// and callers may check the returned operation to track its progress. Once the operation is completed + /// the Redis cluster will be fully functional. The completed longrunning.Operation will contain the new + /// cluster object in the response field. The returned operation is automatically deleted after a few + /// hours, so there is no need to call DeleteOperation. /// public class CreateRequest : CloudRedisBaseServiceRequest { @@ -3234,8 +3234,8 @@ public virtual System.DateTimeOffset? RdbSnapshotStartTimeDateTimeOffset public class PscConfig : Google.Apis.Requests.IDirectResponseSchema { /// - /// Required. The consumer network where the IP address of the discovery endpoint will be reserved, in the form - /// of projects/{network_host_project}/global/networks/{network_id}. + /// Required. The network where the IP address of the discovery endpoint will be reserved, in the form of + /// projects/{network_project}/global/networks/{network_id}. /// [Newtonsoft.Json.JsonPropertyAttribute("network")] public virtual string Network { get; set; } @@ -3265,7 +3265,7 @@ public class PscConnection : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("network")] public virtual string Network { get; set; } - /// The consumer project_id where the forwarding rule is created from. + /// Output only. The consumer project_id where the forwarding rule is created from. [Newtonsoft.Json.JsonPropertyAttribute("projectId")] public virtual string ProjectId { get; set; } diff --git a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj index be47f3df0aa..eac7dd5dcbb 100644 --- a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRedis.v1beta1 Client Library - 1.62.0.3137 + 1.62.0.3169 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs index 3878eff79e2..564a618a1a4 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs @@ -2968,6 +2968,14 @@ public class GceInstance : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] public virtual string ServiceAccount { get; set; } + /// + /// Optional. Scopes to grant to the service_account. Various scopes are automatically added based on feature + /// usage. When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` + /// on the service account. + /// + [Newtonsoft.Json.JsonPropertyAttribute("serviceAccountScopes")] + public virtual System.Collections.Generic.IList ServiceAccountScopes { get; set; } + /// Optional. A set of Compute Engine Shielded instance options. [Newtonsoft.Json.JsonPropertyAttribute("shieldedInstanceConfig")] public virtual GceShieldedInstanceConfig ShieldedInstanceConfig { get; set; } @@ -3860,6 +3868,46 @@ public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("reconciling")] public virtual System.Nullable Reconciling { get; set; } + private string _startTimeRaw; + + private object _startTime; + + /// + /// Output only. Time when this workstation was most recently successfully started, regardless of the + /// workstation's initial state. + /// + [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.Utilities.GetDateTimeOffsetFromString(StartTimeRaw); + set => StartTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + /// Output only. Current state of the workstation. [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual string State { get; set; } @@ -4270,6 +4318,15 @@ public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("reconciling")] public virtual System.Nullable Reconciling { get; set; } + /// + /// Optional. Immutable. Specifies the zones used to replicate the VM and disk resources within the region. If + /// set, exactly two zones within the workstation cluster's region must be specified—for example, + /// `['us-central1-a', 'us-central1-f']`. If this field is empty, two default zones within the region are used. + /// Immutable after the workstation configuration is created. + /// + [Newtonsoft.Json.JsonPropertyAttribute("replicaZones")] + public virtual System.Collections.Generic.IList ReplicaZones { get; set; } + /// /// Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend /// that workstations be shut down daily to reduce costs and so that security updates can be applied upon diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj index 033f98ceaf3..71b5a02a2e9 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudWorkstations.v1 Client Library - 1.62.0.3135 + 1.62.0.3168 Google LLC Copyright 2023 Google LLC Google 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 f92192e9232..23ed78d45a0 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 @@ -4907,6 +4907,161 @@ protected override void InitParameters() } } + /// Retrieves an aggregated list of all usable backend services in the specified project. + /// Project ID for this request. + public virtual ListUsableRequest ListUsable(string project) + { + return new ListUsableRequest(service, project); + } + + /// Retrieves an aggregated list of all usable backend services in the specified project. + public class ListUsableRequest : ComputeBaseServiceRequest + { + /// Constructs a new ListUsable request. + public ListUsableRequest(Google.Apis.Services.IClientService service, string project) : base(service) + { + Project = project; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// + /// A filter expression that filters resources listed in the response. Most Compute resources support two + /// types of filter expressions: expressions that support regular expressions and expressions that follow + /// API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field + /// name, an operator, and the value that you want to use for filtering. The value must be a string, a + /// number, or a boolean. The operator must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, + /// `&gt;=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude + /// instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be + /// used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. + /// The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects + /// with `owner` label use: + /// ``` + /// labels.owner:* + /// ``` + /// You can also filter nested fields. For example, you could + /// specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for + /// automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter + /// on multiple expressions, provide each separate expression within parentheses. For example: + /// ``` + /// (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") + /// ``` + /// By default, each expression is + /// an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: + /// ``` + /// (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = + /// true) + /// ``` + /// If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator + /// against a single un-parenthesized expression with or without quotes or against multiple parenthesized + /// expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname + /// eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is + /// interpreted as a regular expression using Google RE2 library syntax. The literal value must match the + /// entire field. For example, to filter for instances that do not end with name "instance", you would use + /// `name ne .*instance`. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// The maximum number of results per page that should be returned. If the number of available results is + /// larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page + /// of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// + [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable MaxResults { get; set; } + + /// + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on + /// the resource name. You can also sort results in descending order based on the creation timestamp using + /// `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse + /// chronological order (newest result first). Use this to sort resources like operations so that the newest + /// operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list + /// request to get the next page of results. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value + /// is false. + /// + [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ReturnPartialSuccess { get; set; } + + /// Gets the method name. + public override string MethodName => "listUsable"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/global/backendServices/listUsable"; + + /// Initializes ListUsable parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter + { + Name = "maxResults", + IsRequired = false, + ParameterType = "query", + DefaultValue = "500", + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + 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, + }); + RequestParameters.Add("returnPartialSuccess", new Google.Apis.Discovery.Parameter + { + Name = "returnPartialSuccess", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Patches the specified BackendService resource with the data included in the request. For more information, /// see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and @@ -63486,6 +63641,13 @@ public AddAssociationRequest(Google.Apis.Services.IClientService service, Google [Google.Apis.Util.RequestParameterAttribute("firewallPolicy", Google.Apis.Util.RequestParameterType.Path)] public virtual string FirewallPolicy { get; private set; } + /// + /// Name of the firewall policy associated with the target network to swap association with. This field is + /// mutually exclusive with 'replace_existing_association'. + /// + [Google.Apis.Util.RequestParameterAttribute("associatedPolicyToBeReplaced", Google.Apis.Util.RequestParameterType.Query)] + public virtual string AssociatedPolicyToBeReplaced { get; set; } + /// /// Indicates whether or not to replace it if an association already exists. This is false by default, in /// which case an error will be returned if an association already exists. @@ -63548,6 +63710,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("associatedPolicyToBeReplaced", new Google.Apis.Discovery.Parameter + { + Name = "associatedPolicyToBeReplaced", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + }); RequestParameters.Add("replaceExistingAssociation", new Google.Apis.Discovery.Parameter { Name = "replaceExistingAssociation", @@ -73553,79 +73723,6 @@ protected override void InitParameters() } } - /// Returns the network capacity constraints for the specified placement policies. - /// Project ID for this request. - /// Name of the region for this request. - public virtual GetNetworkCapacityConstraintsRequest GetNetworkCapacityConstraints(string project, string region) - { - return new GetNetworkCapacityConstraintsRequest(service, project, region); - } - - /// Returns the network capacity constraints for the specified placement policies. - public class GetNetworkCapacityConstraintsRequest : ComputeBaseServiceRequest - { - /// Constructs a new GetNetworkCapacityConstraints request. - public GetNetworkCapacityConstraintsRequest(Google.Apis.Services.IClientService service, string project, string region) : base(service) - { - Project = project; - Region = region; - InitParameters(); - } - - /// Project ID for this request. - [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Project { get; private set; } - - /// Name of the region for this request. - [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Region { get; private set; } - - /// - /// Partial or full URL of the resource policies for which to retrieve the network capacity constraints. - /// - [Google.Apis.Util.RequestParameterAttribute("resourcePolicies", Google.Apis.Util.RequestParameterType.Query)] - public virtual Google.Apis.Util.Repeatable ResourcePolicies { get; set; } - - /// Gets the method name. - public override string MethodName => "getNetworkCapacityConstraints"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "projects/{project}/regions/{region}/resourcePolicies/getNetworkCapacityConstraints"; - - /// Initializes GetNetworkCapacityConstraints parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("project", new Google.Apis.Discovery.Parameter - { - Name = "project", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - }); - RequestParameters.Add("region", new Google.Apis.Discovery.Parameter - { - Name = "region", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - }); - RequestParameters.Add("resourcePolicies", new Google.Apis.Discovery.Parameter - { - Name = "resourcePolicies", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - /// Creates a new resource policy. /// The body of the request. /// Project ID for this request. @@ -74453,20 +74550,20 @@ protected override void InitParameters() } } - /// Returns the specified Router resource. + /// Deletes Route Policy /// Project ID for this request. /// Name of the region for this request. - /// Name of the Router resource to return. - public virtual GetRequest Get(string project, string region, string router) + /// Name of the Router resource where Route Policy is defined. + public virtual DeleteRoutePolicyRequest DeleteRoutePolicy(string project, string region, string router) { - return new GetRequest(service, project, region, router); + return new DeleteRoutePolicyRequest(service, project, region, router); } - /// Returns the specified Router resource. - public class GetRequest : ComputeBaseServiceRequest + /// Deletes Route Policy + public class DeleteRoutePolicyRequest : ComputeBaseServiceRequest { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string project, string region, string router) : base(service) + /// Constructs a new DeleteRoutePolicy request. + public DeleteRoutePolicyRequest(Google.Apis.Services.IClientService service, string project, string region, string router) : base(service) { Project = project; Region = region; @@ -74482,20 +74579,36 @@ public GetRequest(Google.Apis.Services.IClientService service, string project, s [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] public virtual string Region { get; private set; } - /// Name of the Router resource to return. + /// Name of the Router resource where Route Policy is defined. [Google.Apis.Util.RequestParameterAttribute("router", Google.Apis.Util.RequestParameterType.Path)] public virtual string Router { get; private set; } + /// The Policy name for this request. Name must conform to RFC1035 + [Google.Apis.Util.RequestParameterAttribute("policy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Policy { get; set; } + + /// + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your + /// request, the server will know to ignore the request if it has already been completed. For example, + /// consider a situation where you make an initial request and the request times out. If you make the + /// request again with the same request ID, the server can check if original operation with the same request + /// ID was received, and if so, will ignore the second request. This prevents clients from accidentally + /// creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is + /// not supported ( 00000000-0000-0000-0000-000000000000). + /// + [Google.Apis.Util.RequestParameterAttribute("requestId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestId { get; set; } + /// Gets the method name. - public override string MethodName => "get"; + public override string MethodName => "deleteRoutePolicy"; /// Gets the HTTP method. - public override string HttpMethod => "GET"; + public override string HttpMethod => "POST"; /// Gets the REST path. - public override string RestPath => "projects/{project}/regions/{region}/routers/{router}"; + public override string RestPath => "projects/{project}/regions/{region}/routers/{router}/deleteRoutePolicy"; - /// Initializes Get parameter list. + /// Initializes DeleteRoutePolicy parameter list. protected override void InitParameters() { base.InitParameters(); @@ -74523,25 +74636,39 @@ 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("policy", new Google.Apis.Discovery.Parameter + { + Name = "policy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } - /// Retrieves runtime NAT IP information. + /// Returns the specified Router resource. /// Project ID for this request. /// Name of the region for this request. - /// - /// Name of the Router resource to query for Nat IP information. The name should conform to RFC1035. - /// - public virtual GetNatIpInfoRequest GetNatIpInfo(string project, string region, string router) + /// Name of the Router resource to return. + public virtual GetRequest Get(string project, string region, string router) { - return new GetNatIpInfoRequest(service, project, region, router); + return new GetRequest(service, project, region, router); } - /// Retrieves runtime NAT IP information. - public class GetNatIpInfoRequest : ComputeBaseServiceRequest + /// Returns the specified Router resource. + public class GetRequest : ComputeBaseServiceRequest { - /// Constructs a new GetNatIpInfo request. - public GetNatIpInfoRequest(Google.Apis.Services.IClientService service, string project, string region, string router) : base(service) + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string project, string region, string router) : base(service) { Project = project; Region = region; @@ -74557,29 +74684,104 @@ public GetNatIpInfoRequest(Google.Apis.Services.IClientService service, string p [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] public virtual string Region { get; private set; } - /// - /// Name of the Router resource to query for Nat IP information. The name should conform to RFC1035. - /// + /// Name of the Router resource to return. [Google.Apis.Util.RequestParameterAttribute("router", Google.Apis.Util.RequestParameterType.Path)] public virtual string Router { get; private set; } - /// - /// Name of the nat service to filter the NAT IP information. If it is omitted, all nats for this router - /// will be returned. Name should conform to RFC1035. - /// - [Google.Apis.Util.RequestParameterAttribute("natName", Google.Apis.Util.RequestParameterType.Query)] - public virtual string NatName { get; set; } - /// Gets the method name. - public override string MethodName => "getNatIpInfo"; + public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "projects/{project}/regions/{region}/routers/{router}/getNatIpInfo"; + public override string RestPath => "projects/{project}/regions/{region}/routers/{router}"; - /// Initializes GetNatIpInfo parameter list. + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("region", new Google.Apis.Discovery.Parameter + { + Name = "region", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("router", new Google.Apis.Discovery.Parameter + { + Name = "router", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + }); + } + } + + /// Retrieves runtime NAT IP information. + /// Project ID for this request. + /// Name of the region for this request. + /// + /// Name of the Router resource to query for Nat IP information. The name should conform to RFC1035. + /// + public virtual GetNatIpInfoRequest GetNatIpInfo(string project, string region, string router) + { + return new GetNatIpInfoRequest(service, project, region, router); + } + + /// Retrieves runtime NAT IP information. + public class GetNatIpInfoRequest : ComputeBaseServiceRequest + { + /// Constructs a new GetNatIpInfo request. + public GetNatIpInfoRequest(Google.Apis.Services.IClientService service, string project, string region, string router) : base(service) + { + Project = project; + Region = region; + Router = router; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Name of the region for this request. + [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Region { get; private set; } + + /// + /// Name of the Router resource to query for Nat IP information. The name should conform to RFC1035. + /// + [Google.Apis.Util.RequestParameterAttribute("router", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Router { get; private set; } + + /// + /// Name of the nat service to filter the NAT IP information. If it is omitted, all nats for this router + /// will be returned. Name should conform to RFC1035. + /// + [Google.Apis.Util.RequestParameterAttribute("natName", Google.Apis.Util.RequestParameterType.Query)] + public virtual string NatName { get; set; } + + /// Gets the method name. + public override string MethodName => "getNatIpInfo"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/regions/{region}/routers/{router}/getNatIpInfo"; + + /// Initializes GetNatIpInfo parameter list. protected override void InitParameters() { base.InitParameters(); @@ -74818,6 +75020,95 @@ protected override void InitParameters() } } + /// Returns specified Route Policy + /// Project ID for this request. + /// Name of the region for this request. + /// + /// Name of the Router resource to query for Nat IP information. The name should conform to RFC1035. + /// + public virtual GetRoutePolicyRequest GetRoutePolicy(string project, string region, string router) + { + return new GetRoutePolicyRequest(service, project, region, router); + } + + /// Returns specified Route Policy + public class GetRoutePolicyRequest : ComputeBaseServiceRequest + { + /// Constructs a new GetRoutePolicy request. + public GetRoutePolicyRequest(Google.Apis.Services.IClientService service, string project, string region, string router) : base(service) + { + Project = project; + Region = region; + Router = router; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Name of the region for this request. + [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Region { get; private set; } + + /// + /// Name of the Router resource to query for Nat IP information. The name should conform to RFC1035. + /// + [Google.Apis.Util.RequestParameterAttribute("router", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Router { get; private set; } + + /// The Policy name for this request. Name must conform to RFC1035 + [Google.Apis.Util.RequestParameterAttribute("policy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Policy { get; set; } + + /// Gets the method name. + public override string MethodName => "getRoutePolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/regions/{region}/routers/{router}/getRoutePolicy"; + + /// Initializes GetRoutePolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("region", new Google.Apis.Discovery.Parameter + { + Name = "region", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("router", new Google.Apis.Discovery.Parameter + { + Name = "router", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("policy", new Google.Apis.Discovery.Parameter + { + Name = "policy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Retrieves runtime information of the specified router. /// Project ID for this request. /// Name of the region for this request. @@ -75151,6 +75442,468 @@ protected override void InitParameters() } } + /// Retrieves a list of router bgp routes available to the specified project. + /// Project ID for this request. + /// Name of the region for this request. + /// Name or id of the resource for this request. Name should conform to RFC1035. + public virtual ListBgpRoutesRequest ListBgpRoutes(string project, string region, string router) + { + return new ListBgpRoutesRequest(service, project, region, router); + } + + /// Retrieves a list of router bgp routes available to the specified project. + public class ListBgpRoutesRequest : ComputeBaseServiceRequest + { + /// Constructs a new ListBgpRoutes request. + public ListBgpRoutesRequest(Google.Apis.Services.IClientService service, string project, string region, string router) : base(service) + { + Project = project; + Region = region; + Router = router; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Name of the region for this request. + [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Region { get; private set; } + + /// Name or id of the resource for this request. Name should conform to RFC1035. + [Google.Apis.Util.RequestParameterAttribute("router", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Router { get; private set; } + + /// (Required) limit results to this address family (either IPv4 or IPv6) + [Google.Apis.Util.RequestParameterAttribute("addressFamily", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable AddressFamily { get; set; } + + /// (Required) limit results to this address family (either IPv4 or IPv6) + public enum AddressFamilyEnum + { + /// + [Google.Apis.Util.StringValueAttribute("IPV4")] + IPV4 = 0, + + /// + [Google.Apis.Util.StringValueAttribute("IPV6")] + IPV6 = 1, + + /// + [Google.Apis.Util.StringValueAttribute("UNSPECIFIED_IP_VERSION")] + UNSPECIFIEDIPVERSION = 2, + } + + /// Limit results to destinations that are subnets of this CIDR range + [Google.Apis.Util.RequestParameterAttribute("destinationPrefix", Google.Apis.Util.RequestParameterType.Query)] + public virtual string DestinationPrefix { get; set; } + + /// + /// A filter expression that filters resources listed in the response. Most Compute resources support two + /// types of filter expressions: expressions that support regular expressions and expressions that follow + /// API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field + /// name, an operator, and the value that you want to use for filtering. The value must be a string, a + /// number, or a boolean. The operator must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, + /// `&gt;=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude + /// instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be + /// used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. + /// The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects + /// with `owner` label use: + /// ``` + /// labels.owner:* + /// ``` + /// You can also filter nested fields. For example, you could + /// specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for + /// automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter + /// on multiple expressions, provide each separate expression within parentheses. For example: + /// ``` + /// (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") + /// ``` + /// By default, each expression is + /// an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: + /// ``` + /// (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = + /// true) + /// ``` + /// If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator + /// against a single un-parenthesized expression with or without quotes or against multiple parenthesized + /// expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname + /// eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is + /// interpreted as a regular expression using Google RE2 library syntax. The literal value must match the + /// entire field. For example, to filter for instances that do not end with name "instance", you would use + /// `name ne .*instance`. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// The maximum number of results per page that should be returned. If the number of available results is + /// larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page + /// of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// + [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable MaxResults { get; set; } + + /// + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on + /// the resource name. You can also sort results in descending order based on the creation timestamp using + /// `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse + /// chronological order (newest result first). Use this to sort resources like operations so that the newest + /// operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list + /// request to get the next page of results. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// + /// (Required) limit results to the BGP peer with the given name. Name should conform to RFC1035. + /// + [Google.Apis.Util.RequestParameterAttribute("peer", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Peer { get; set; } + + /// + /// When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes. + /// + [Google.Apis.Util.RequestParameterAttribute("policyApplied", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PolicyApplied { get; set; } + + /// + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value + /// is false. + /// + [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ReturnPartialSuccess { get; set; } + + /// (Required) limit results to this type of route (either LEARNED or ADVERTISED) + [Google.Apis.Util.RequestParameterAttribute("routeType", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable RouteType { get; set; } + + /// (Required) limit results to this type of route (either LEARNED or ADVERTISED) + public enum RouteTypeEnum + { + /// + [Google.Apis.Util.StringValueAttribute("ADVERTISED")] + ADVERTISED = 0, + + /// + [Google.Apis.Util.StringValueAttribute("LEARNED")] + LEARNED = 1, + + /// + [Google.Apis.Util.StringValueAttribute("UNSPECIFIED_ROUTE_TYPE")] + UNSPECIFIEDROUTETYPE = 2, + } + + /// Gets the method name. + public override string MethodName => "listBgpRoutes"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/regions/{region}/routers/{router}/listBgpRoutes"; + + /// Initializes ListBgpRoutes parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("region", new Google.Apis.Discovery.Parameter + { + Name = "region", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("router", new Google.Apis.Discovery.Parameter + { + Name = "router", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + }); + RequestParameters.Add("addressFamily", new Google.Apis.Discovery.Parameter + { + Name = "addressFamily", + IsRequired = false, + ParameterType = "query", + DefaultValue = "UNSPECIFIED_IP_VERSION", + Pattern = null, + }); + RequestParameters.Add("destinationPrefix", new Google.Apis.Discovery.Parameter + { + Name = "destinationPrefix", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter + { + Name = "maxResults", + IsRequired = false, + ParameterType = "query", + DefaultValue = "500", + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + 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, + }); + RequestParameters.Add("peer", new Google.Apis.Discovery.Parameter + { + Name = "peer", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("policyApplied", new Google.Apis.Discovery.Parameter + { + Name = "policyApplied", + IsRequired = false, + ParameterType = "query", + DefaultValue = "true", + Pattern = null, + }); + RequestParameters.Add("returnPartialSuccess", new Google.Apis.Discovery.Parameter + { + Name = "returnPartialSuccess", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("routeType", new Google.Apis.Discovery.Parameter + { + Name = "routeType", + IsRequired = false, + ParameterType = "query", + DefaultValue = "UNSPECIFIED_ROUTE_TYPE", + Pattern = null, + }); + } + } + + /// Retrieves a list of router route policy subresources available to the specified project. + /// Project ID for this request. + /// Name of the region for this request. + /// Name or id of the resource for this request. Name should conform to RFC1035. + public virtual ListRoutePoliciesRequest ListRoutePolicies(string project, string region, string router) + { + return new ListRoutePoliciesRequest(service, project, region, router); + } + + /// Retrieves a list of router route policy subresources available to the specified project. + public class ListRoutePoliciesRequest : ComputeBaseServiceRequest + { + /// Constructs a new ListRoutePolicies request. + public ListRoutePoliciesRequest(Google.Apis.Services.IClientService service, string project, string region, string router) : base(service) + { + Project = project; + Region = region; + Router = router; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Name of the region for this request. + [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Region { get; private set; } + + /// Name or id of the resource for this request. Name should conform to RFC1035. + [Google.Apis.Util.RequestParameterAttribute("router", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Router { get; private set; } + + /// + /// A filter expression that filters resources listed in the response. Most Compute resources support two + /// types of filter expressions: expressions that support regular expressions and expressions that follow + /// API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field + /// name, an operator, and the value that you want to use for filtering. The value must be a string, a + /// number, or a boolean. The operator must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, + /// `&gt;=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude + /// instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be + /// used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. + /// The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects + /// with `owner` label use: + /// ``` + /// labels.owner:* + /// ``` + /// You can also filter nested fields. For example, you could + /// specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for + /// automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter + /// on multiple expressions, provide each separate expression within parentheses. For example: + /// ``` + /// (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") + /// ``` + /// By default, each expression is + /// an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: + /// ``` + /// (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = + /// true) + /// ``` + /// If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator + /// against a single un-parenthesized expression with or without quotes or against multiple parenthesized + /// expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname + /// eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is + /// interpreted as a regular expression using Google RE2 library syntax. The literal value must match the + /// entire field. For example, to filter for instances that do not end with name "instance", you would use + /// `name ne .*instance`. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// The maximum number of results per page that should be returned. If the number of available results is + /// larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page + /// of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// + [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable MaxResults { get; set; } + + /// + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on + /// the resource name. You can also sort results in descending order based on the creation timestamp using + /// `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse + /// chronological order (newest result first). Use this to sort resources like operations so that the newest + /// operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list + /// request to get the next page of results. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value + /// is false. + /// + [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ReturnPartialSuccess { get; set; } + + /// Gets the method name. + public override string MethodName => "listRoutePolicies"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/regions/{region}/routers/{router}/listRoutePolicies"; + + /// Initializes ListRoutePolicies parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("region", new Google.Apis.Discovery.Parameter + { + Name = "region", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("router", new Google.Apis.Discovery.Parameter + { + Name = "router", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter + { + Name = "maxResults", + IsRequired = false, + ParameterType = "query", + DefaultValue = "500", + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + 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, + }); + RequestParameters.Add("returnPartialSuccess", new Google.Apis.Discovery.Parameter + { + Name = "returnPartialSuccess", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Patches the specified Router resource with the data included in the request. This method supports PATCH /// semantics and uses JSON merge patch format and processing rules. @@ -75534,6 +76287,107 @@ protected override void InitParameters() }); } } + + /// Updates or creates new Route Policy + /// The body of the request. + /// Project ID for this request. + /// Name of the region for this request. + /// Name of the Router resource where Route Policy is defined. + public virtual UpdateRoutePolicyRequest UpdateRoutePolicy(Google.Apis.Compute.alpha.Data.RoutePolicy body, string project, string region, string router) + { + return new UpdateRoutePolicyRequest(service, body, project, region, router); + } + + /// Updates or creates new Route Policy + public class UpdateRoutePolicyRequest : ComputeBaseServiceRequest + { + /// Constructs a new UpdateRoutePolicy request. + public UpdateRoutePolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Compute.alpha.Data.RoutePolicy body, string project, string region, string router) : base(service) + { + Project = project; + Region = region; + Router = router; + Body = body; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Name of the region for this request. + [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Region { get; private set; } + + /// Name of the Router resource where Route Policy is defined. + [Google.Apis.Util.RequestParameterAttribute("router", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Router { get; private set; } + + /// + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your + /// request, the server will know to ignore the request if it has already been completed. For example, + /// consider a situation where you make an initial request and the request times out. If you make the + /// request again with the same request ID, the server can check if original operation with the same request + /// ID was received, and if so, will ignore the second request. This prevents clients from accidentally + /// creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is + /// not supported ( 00000000-0000-0000-0000-000000000000). + /// + [Google.Apis.Util.RequestParameterAttribute("requestId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Compute.alpha.Data.RoutePolicy Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "updateRoutePolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/regions/{region}/routers/{router}/updateRoutePolicy"; + + /// Initializes UpdateRoutePolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("region", new Google.Apis.Discovery.Parameter + { + Name = "region", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("router", new Google.Apis.Discovery.Parameter + { + Name = "router", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } /// The "routes" collection of methods. @@ -96719,7 +97573,7 @@ public class AutoscalingPolicyScalingSchedule : Google.Apis.Requests.IDirectResp /// /// The time zone to use when interpreting the schedule. The value of this field must be a time zone name from - /// the tz database: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of “UTC” + /// the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of “UTC” /// if left empty. /// [Newtonsoft.Json.JsonPropertyAttribute("timeZone")] @@ -98047,6 +98901,10 @@ public class BackendServiceListUsable : Google.Apis.Requests.IDirectResponseSche [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual string Id { get; set; } + /// A list of BackendService resources. + [Newtonsoft.Json.JsonPropertyAttribute("items")] + public virtual System.Collections.Generic.IList Items { get; set; } + /// /// [Output Only] Type of resource. Always compute#usableBackendServiceList for lists of usable backend /// services. @@ -98488,6 +99346,63 @@ public class BfdStatusPacketCounts : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + public class BgpRoute : Google.Apis.Requests.IDirectResponseSchema + { + /// [Output only] AS-PATH for the route + [Newtonsoft.Json.JsonPropertyAttribute("asPaths")] + public virtual System.Collections.Generic.IList AsPaths { get; set; } + + /// [Output only] BGP communities in human-readable A:B format. + [Newtonsoft.Json.JsonPropertyAttribute("communities")] + public virtual System.Collections.Generic.IList Communities { get; set; } + + /// [Output only] Destination IP range for the route, in human-readable CIDR format + [Newtonsoft.Json.JsonPropertyAttribute("destination")] + public virtual BgpRouteNetworkLayerReachabilityInformation Destination { get; set; } + + /// [Output only] BGP multi-exit discriminator + [Newtonsoft.Json.JsonPropertyAttribute("med")] + public virtual System.Nullable Med { get; set; } + + /// [Output only] BGP origin (EGP, IGP or INCOMPLETE) + [Newtonsoft.Json.JsonPropertyAttribute("origin")] + public virtual string Origin { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class BgpRouteAsPath : Google.Apis.Requests.IDirectResponseSchema + { + /// [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered. + [Newtonsoft.Json.JsonPropertyAttribute("asns")] + public virtual System.Collections.Generic.IList> Asns { get; set; } + + /// [Output only] Type of AS-PATH segment (SEQUENCE or SET) + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Network Layer Reachability Information (NLRI) for a route. + public class BgpRouteNetworkLayerReachabilityInformation : Google.Apis.Requests.IDirectResponseSchema + { + /// Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16. + [Newtonsoft.Json.JsonPropertyAttribute("destination")] + public virtual string Destination { get; set; } + + /// + /// If the BGP session supports multiple paths (RFC 7911), the path identifier for this route. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pathId")] + public virtual System.Nullable PathId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Associates `members`, or principals, with a `role`. public class Binding : Google.Apis.Requests.IDirectResponseSchema { @@ -98775,45 +99690,6 @@ public class CallCredentials : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Represents the network information between workload placements. - public class CapacityConstraint : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("constraintMetadata")] - public virtual string ConstraintMetadata { get; set; } - - /// - /// Weighted sum of BandwidthTerms (each term is coefficient * term) must be less than or equal to max_sum. - /// - [Newtonsoft.Json.JsonPropertyAttribute("maxSumGbps")] - public virtual System.Nullable MaxSumGbps { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("terms")] - public virtual System.Collections.Generic.IList Terms { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class CapacityConstraintConstraintTerm : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Coefficient of this term in the linear expression. The value of the term will be coefficient * (demand from - /// src to dst in Gbps). - /// - [Newtonsoft.Json.JsonPropertyAttribute("coefficient")] - public virtual System.Nullable Coefficient { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("destinationNode")] - public virtual PlacementLocation DestinationNode { get; set; } - - /// Source and destination nodes. - [Newtonsoft.Json.JsonPropertyAttribute("sourceNode")] - public virtual PlacementLocation SourceNode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// [Deprecated] gRPC channel credentials to access the SDS server. gRPC channel credentials to access the SDS /// server. @@ -103268,16 +104144,6 @@ public class GRPCHealthCheck : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class GetNetworkCapacityConstraintsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Set of capacity constraints that describe network adjacency. - [Newtonsoft.Json.JsonPropertyAttribute("capacityConstraints")] - public virtual System.Collections.Generic.IList CapacityConstraints { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - public class GetOwnerInstanceResponse : Google.Apis.Requests.IDirectResponseSchema { /// Full instance resource URL. @@ -105119,8 +105985,8 @@ public class HttpRouteAction : Google.Apis.Requests.IDirectResponseSchema /// service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. /// timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The /// traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault - /// injection is not supported with the global external HTTP(S) load balancer (classic). To see which load - /// balancers support fault injection, see Load balancing: Routing and traffic management features. + /// injection is not supported with the classic Application Load Balancer . To see which load balancers support + /// fault injection, see Load balancing: Routing and traffic management features. /// [Newtonsoft.Json.JsonPropertyAttribute("faultInjectionPolicy")] public virtual HttpFaultInjection FaultInjectionPolicy { get; set; } @@ -105162,8 +106028,8 @@ public class HttpRouteAction : Google.Apis.Requests.IDirectResponseSchema /// /// The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite - /// is the only action supported in UrlMaps for external HTTP(S) load balancers. Not supported when the URL map - /// is bound to a target gRPC proxy that has the validateForProxyless field set to true. + /// is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL + /// map is bound to a target gRPC proxy that has the validateForProxyless field set to true. /// [Newtonsoft.Json.JsonPropertyAttribute("urlRewrite")] public virtual UrlRewrite UrlRewrite { get; set; } @@ -105205,8 +106071,8 @@ public class HttpRouteRule : Google.Apis.Requests.IDirectResponseSchema /// conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are /// exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is /// successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the - /// service is returned to the client. customErrorResponsePolicy is supported only for Global External HTTP(S) - /// load balancing. + /// service is returned to the client. customErrorResponsePolicy is supported only for global external + /// Application Load Balancers. /// [Newtonsoft.Json.JsonPropertyAttribute("customErrorResponsePolicy")] public virtual CustomErrorResponsePolicy CustomErrorResponsePolicy { get; set; } @@ -105274,8 +106140,8 @@ public class HttpRouteRule : Google.Apis.Requests.IDirectResponseSchema /// rewrites and header transformations, before forwarding the request to the selected backend. If routeAction /// specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction /// cannot contain any weightedBackendServices. Only one of urlRedirect, service or - /// routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only - /// support the urlRewrite action within a route rule's routeAction. + /// routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support + /// the urlRewrite action within a route rule's routeAction. /// [Newtonsoft.Json.JsonPropertyAttribute("routeAction")] public virtual HttpRouteAction RouteAction { get; set; } @@ -114183,9 +115049,8 @@ public class NetworkEndpoint : Google.Apis.Requests.IDirectResponseSchema /// /// Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints - /// should be reached, whether they are reachable, and where they are located. For more information about using - /// NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up - /// external HTTP(S) Load Balancing with serverless NEGs. + /// should be reached, whether they are reachable, and where they are located. For more information about using NEGs + /// for different use cases, see Network endpoint groups overview. /// public class NetworkEndpointGroup : Google.Apis.Requests.IDirectResponseSchema { @@ -115264,6 +116129,20 @@ 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; } + /// /// 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 @@ -118062,8 +118941,8 @@ public class PathMatcher : Google.Apis.Requests.IDirectResponseSchema /// conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries /// are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer /// is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from - /// the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for Global - /// External HTTP(S) load balancing. + /// the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global + /// external Application Load Balancers. /// [Newtonsoft.Json.JsonPropertyAttribute("defaultCustomErrorResponsePolicy")] public virtual CustomErrorResponsePolicy DefaultCustomErrorResponsePolicy { get; set; } @@ -118073,8 +118952,8 @@ public class PathMatcher : Google.Apis.Requests.IDirectResponseSchema /// advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to /// the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not /// be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. - /// Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load - /// balancers only support the urlRewrite action within a path matcher's defaultRouteAction. + /// Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load + /// Balancers only support the urlRewrite action within a path matcher's defaultRouteAction. /// [Newtonsoft.Json.JsonPropertyAttribute("defaultRouteAction")] public virtual HttpRouteAction DefaultRouteAction { get; set; } @@ -118164,7 +119043,7 @@ public class PathRule : Google.Apis.Requests.IDirectResponseSchema /// pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a /// 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example /// encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. - /// customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. + /// customErrorResponsePolicy is supported only for global external Application Load Balancers. /// [Newtonsoft.Json.JsonPropertyAttribute("customErrorResponsePolicy")] public virtual CustomErrorResponsePolicy CustomErrorResponsePolicy { get; set; } @@ -118182,7 +119061,7 @@ public class PathRule : Google.Apis.Requests.IDirectResponseSchema /// and header transformations, before forwarding the request to the selected backend. If routeAction specifies /// any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot /// contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for - /// Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction. + /// classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction. /// [Newtonsoft.Json.JsonPropertyAttribute("routeAction")] public virtual HttpRouteAction RouteAction { get; set; } @@ -118322,20 +119201,6 @@ public class PermissionConstraint : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class PlacementLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// Aggregation block id of the placement group. - [Newtonsoft.Json.JsonPropertyAttribute("aggregationBlockId")] - public virtual string AggregationBlockId { get; set; } - - /// Partial or full URL of the resource policy for the placement group. - [Newtonsoft.Json.JsonPropertyAttribute("resourcePolicy")] - public virtual string ResourcePolicy { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A /// `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single @@ -122425,103 +123290,160 @@ public class DataData } } - public class RouteAsPath : Google.Apis.Requests.IDirectResponseSchema + public class RouteAsPath : Google.Apis.Requests.IDirectResponseSchema + { + /// [Output Only] The AS numbers of the AS Path. + [Newtonsoft.Json.JsonPropertyAttribute("asLists")] + public virtual System.Collections.Generic.IList> AsLists { get; set; } + + /// + /// [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set + /// of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems + /// that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local + /// confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in + /// the local confederation that the route has traversed + /// + [Newtonsoft.Json.JsonPropertyAttribute("pathSegmentType")] + public virtual string PathSegmentType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Contains a list of Route resources. + public class RouteList : Google.Apis.Requests.IDirectResponseSchema + { + /// [Output Only] Unique identifier for the resource; defined by the server. + [Newtonsoft.Json.JsonPropertyAttribute("id")] + public virtual string Id { get; set; } + + /// A list of Route resources. + [Newtonsoft.Json.JsonPropertyAttribute("items")] + public virtual System.Collections.Generic.IList Items { get; set; } + + /// Type of resource. + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of + /// results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the + /// next list request. Subsequent list requests will have their own nextPageToken to continue paging through the + /// results. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// [Output Only] Server-defined URL for this resource. + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } + + /// [Output Only] Informational warning message. + [Newtonsoft.Json.JsonPropertyAttribute("warning")] + public virtual WarningData Warning { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + + /// [Output Only] Informational warning message. + public class WarningData + { + /// + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if + /// there are no results in the response. + /// + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual string Code { get; set; } + + /// + /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", + /// "value": "zones/us-east1-d" } + /// + [Newtonsoft.Json.JsonPropertyAttribute("data")] + public virtual System.Collections.Generic.IList Data { get; set; } + + /// [Output Only] A human-readable description of the warning code. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// + /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", + /// "value": "zones/us-east1-d" } + /// + public class DataData + { + /// + /// [Output Only] A key that provides more detail on the warning being returned. For example, for + /// warnings where there are no results in a list request for a particular zone, this key might be scope + /// and the key value might be the zone name. Other examples might be a key indicating a deprecated + /// resource and a suggested replacement, or a warning about invalid network settings (for example, if + /// an instance attempts to perform IP forwarding but is not enabled for IP forwarding). + /// + [Newtonsoft.Json.JsonPropertyAttribute("key")] + public virtual string Key { get; set; } + + /// [Output Only] A warning data value corresponding to the key. + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } + } + } + } + + public class RoutePolicy : Google.Apis.Requests.IDirectResponseSchema { - /// [Output Only] The AS numbers of the AS Path. - [Newtonsoft.Json.JsonPropertyAttribute("asLists")] - public virtual System.Collections.Generic.IList> AsLists { get; set; } + /// + /// A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route + /// Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes + /// after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash + /// in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to + /// retrieve a Route Policy. + /// + [Newtonsoft.Json.JsonPropertyAttribute("fingerprint")] + public virtual string Fingerprint { get; set; } /// - /// [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set - /// of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems - /// that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local - /// confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in - /// the local confederation that the route has traversed + /// Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. + /// Name should conform to RFC1035. /// - [Newtonsoft.Json.JsonPropertyAttribute("pathSegmentType")] - public virtual string PathSegmentType { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// List of terms (the order in the list is not important, they are evaluated in order of priority). Order of + /// policies is not retained and might change when getting policy later. + /// + [Newtonsoft.Json.JsonPropertyAttribute("terms")] + public virtual System.Collections.Generic.IList Terms { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Contains a list of Route resources. - public class RouteList : Google.Apis.Requests.IDirectResponseSchema + public class RoutePolicyPolicyTerm : Google.Apis.Requests.IDirectResponseSchema { - /// [Output Only] Unique identifier for the resource; defined by the server. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual string Id { get; set; } - - /// A list of Route resources. - [Newtonsoft.Json.JsonPropertyAttribute("items")] - public virtual System.Collections.Generic.IList Items { get; set; } - - /// Type of resource. - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } + /// CEL expressions to evaluate to modify a route when this term matches. + [Newtonsoft.Json.JsonPropertyAttribute("actions")] + public virtual System.Collections.Generic.IList Actions { get; set; } /// - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of - /// results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the - /// next list request. Subsequent list requests will have their own nextPageToken to continue paging through the - /// results. + /// CEL expression evaluated against a route to determine if this term applies. When not set, the term applies + /// to all routes. /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// [Output Only] Server-defined URL for this resource. - [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] - public virtual string SelfLink { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("match")] + public virtual Expr Match { get; set; } - /// [Output Only] Informational warning message. - [Newtonsoft.Json.JsonPropertyAttribute("warning")] - public virtual WarningData Warning { get; set; } + /// + /// The evaluation priority for this term, which must be between 0 (inclusive) and 2^31 (exclusive), and unique + /// within the list. + /// + [Newtonsoft.Json.JsonPropertyAttribute("priority")] + public virtual System.Nullable Priority { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } - - /// [Output Only] Informational warning message. - public class WarningData - { - /// - /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if - /// there are no results in the response. - /// - [Newtonsoft.Json.JsonPropertyAttribute("code")] - public virtual string Code { get; set; } - - /// - /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", - /// "value": "zones/us-east1-d" } - /// - [Newtonsoft.Json.JsonPropertyAttribute("data")] - public virtual System.Collections.Generic.IList Data { get; set; } - - /// [Output Only] A human-readable description of the warning code. - [Newtonsoft.Json.JsonPropertyAttribute("message")] - public virtual string Message { get; set; } - - /// - /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", - /// "value": "zones/us-east1-d" } - /// - public class DataData - { - /// - /// [Output Only] A key that provides more detail on the warning being returned. For example, for - /// warnings where there are no results in a list request for a particular zone, this key might be scope - /// and the key value might be the zone name. Other examples might be a key indicating a deprecated - /// resource and a suggested replacement, or a warning about invalid network settings (for example, if - /// an instance attempts to perform IP forwarding but is not enabled for IP forwarding). - /// - [Newtonsoft.Json.JsonPropertyAttribute("key")] - public virtual string Key { get; set; } - - /// [Output Only] A warning data value corresponding to the key. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } - } - } } /// @@ -122564,8 +123486,10 @@ public class Router : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable Id { get; set; } /// - /// Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP - /// address and IP address range (for example, ipRange), or both. + /// Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the + /// following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a + /// router interface without any of these fields specified. However, you cannot create a BGP peer that uses that + /// interface. /// [Newtonsoft.Json.JsonPropertyAttribute("interfaces")] public virtual System.Collections.Generic.IList Interfaces { get; set; } @@ -123001,15 +123925,14 @@ public class RouterInterface : Google.Apis.Requests.IDirectResponseSchema /// /// URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can - /// have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine - /// instance. + /// have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork. /// [Newtonsoft.Json.JsonPropertyAttribute("linkedInterconnectAttachment")] public virtual string LinkedInterconnectAttachment { get; set; } /// /// URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one - /// linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. + /// linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork. /// [Newtonsoft.Json.JsonPropertyAttribute("linkedVpnTunnel")] public virtual string LinkedVpnTunnel { get; set; } @@ -123155,7 +124078,7 @@ public class RouterMd5AuthenticationKey : Google.Apis.Requests.IDirectResponseSc public virtual string Key { get; set; } /// - /// Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. + /// Name used to identify the key. Must be unique within a router. Must be referenced by exactly one bgpPeer. /// Must comply with RFC1035. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] @@ -123618,6 +124541,188 @@ public class RouterStatusResponse : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + public class RoutersGetRoutePolicyResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// end_interface: MixerGetResponseWithEtagBuilder + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + [Newtonsoft.Json.JsonPropertyAttribute("resource")] + public virtual RoutePolicy Resource { get; set; } + } + + public class RoutersListBgpRoutes : Google.Apis.Requests.IDirectResponseSchema + { + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + /// + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// + [Newtonsoft.Json.JsonPropertyAttribute("id")] + public virtual string Id { get; set; } + + /// + /// [Output Only] Type of resource. Always compute#routersListBgpRoutes for lists of bgp routes. + /// + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of + /// results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the + /// next list request. Subsequent list requests will have their own nextPageToken to continue paging through the + /// results. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// [Output Only] A list of bgp routes. + [Newtonsoft.Json.JsonPropertyAttribute("result")] + public virtual System.Collections.Generic.IList Result { get; set; } + + /// [Output Only] Server-defined URL for this resource. + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } + + /// [Output Only] Unreachable resources. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// [Output Only] Informational warning message. + [Newtonsoft.Json.JsonPropertyAttribute("warning")] + public virtual WarningData Warning { get; set; } + + /// [Output Only] Informational warning message. + public class WarningData + { + /// + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if + /// there are no results in the response. + /// + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual string Code { get; set; } + + /// + /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", + /// "value": "zones/us-east1-d" } + /// + [Newtonsoft.Json.JsonPropertyAttribute("data")] + public virtual System.Collections.Generic.IList Data { get; set; } + + /// [Output Only] A human-readable description of the warning code. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// + /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", + /// "value": "zones/us-east1-d" } + /// + public class DataData + { + /// + /// [Output Only] A key that provides more detail on the warning being returned. For example, for + /// warnings where there are no results in a list request for a particular zone, this key might be scope + /// and the key value might be the zone name. Other examples might be a key indicating a deprecated + /// resource and a suggested replacement, or a warning about invalid network settings (for example, if + /// an instance attempts to perform IP forwarding but is not enabled for IP forwarding). + /// + [Newtonsoft.Json.JsonPropertyAttribute("key")] + public virtual string Key { get; set; } + + /// [Output Only] A warning data value corresponding to the key. + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } + } + } + } + + public class RoutersListRoutePolicies : Google.Apis.Requests.IDirectResponseSchema + { + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + /// + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// + [Newtonsoft.Json.JsonPropertyAttribute("id")] + public virtual string Id { get; set; } + + /// + /// [Output Only] Type of resource. Always compute#routersListRoutePolicies for lists of route policies. + /// + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of + /// results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the + /// next list request. Subsequent list requests will have their own nextPageToken to continue paging through the + /// results. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// [Output Only] A list of route policies. + [Newtonsoft.Json.JsonPropertyAttribute("result")] + public virtual System.Collections.Generic.IList Result { get; set; } + + /// [Output Only] Server-defined URL for this resource. + [Newtonsoft.Json.JsonPropertyAttribute("selfLink")] + public virtual string SelfLink { get; set; } + + /// [Output Only] Unreachable resources. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// [Output Only] Informational warning message. + [Newtonsoft.Json.JsonPropertyAttribute("warning")] + public virtual WarningData Warning { get; set; } + + /// [Output Only] Informational warning message. + public class WarningData + { + /// + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if + /// there are no results in the response. + /// + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual string Code { get; set; } + + /// + /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", + /// "value": "zones/us-east1-d" } + /// + [Newtonsoft.Json.JsonPropertyAttribute("data")] + public virtual System.Collections.Generic.IList Data { get; set; } + + /// [Output Only] A human-readable description of the warning code. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// + /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", + /// "value": "zones/us-east1-d" } + /// + public class DataData + { + /// + /// [Output Only] A key that provides more detail on the warning being returned. For example, for + /// warnings where there are no results in a list request for a particular zone, this key might be scope + /// and the key value might be the zone name. Other examples might be a key indicating a deprecated + /// resource and a suggested replacement, or a warning about invalid network settings (for example, if + /// an instance attempts to perform IP forwarding but is not enabled for IP forwarding). + /// + [Newtonsoft.Json.JsonPropertyAttribute("key")] + public virtual string Key { get; set; } + + /// [Output Only] A warning data value corresponding to the key. + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } + } + } + } + public class RoutersPreviewResponse : Google.Apis.Requests.IDirectResponseSchema { /// Preview of given router. @@ -126743,14 +127848,16 @@ public class SourceInstanceProperties : Google.Apis.Requests.IDirectResponseSche } /// - /// Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * + /// Represents an SSL certificate resource. Google Compute Engine has two SSL certificate resources: * /// [Global](/compute/docs/reference/rest/alpha/sslCertificates) * - /// [Regional](/compute/docs/reference/rest/alpha/regionSslCertificates) The sslCertificates are used by: - external - /// HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load - /// balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded - /// certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and - /// certificates to secure connections to a load balancer. For more information, read Creating and using SSL - /// certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. + /// [Regional](/compute/docs/reference/rest/alpha/regionSslCertificates) The global SSL certificates + /// (sslCertificates) are used by: - Global external Application Load Balancers - Classic Application Load Balancers + /// - Proxy Network Load Balancers (with target SSL proxies) The regional SSL certificates (regionSslCertificates) + /// are used by: - Regional external Application Load Balancers - Regional internal Application Load Balancers + /// Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. + /// The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to + /// secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL + /// certificates quotas and limits, and Troubleshooting SSL certificates. /// public class SslCertificate : Google.Apis.Requests.IDirectResponseSchema { @@ -129013,10 +130120,11 @@ public class DataData /// Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * /// [Global](/compute/docs/reference/rest/alpha/targetHttpProxies) * /// [Regional](/compute/docs/reference/rest/alpha/regionTargetHttpProxies) A target HTTP proxy is a component of GCP - /// HTTP load balancers. * targetHttpProxies are used by external HTTP load balancers and Traffic Director. * - /// regionTargetHttpProxies are used by internal HTTP load balancers. Forwarding rules reference a target HTTP - /// proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and - /// Forwarding rule concepts. + /// HTTP load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic + /// Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * + /// regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external + /// Application Load Balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references + /// a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. /// public class TargetHttpProxy : Google.Apis.Requests.IDirectResponseSchema { @@ -129055,9 +130163,8 @@ public class TargetHttpProxy : Google.Apis.Requests.IDirectResponseSchema /// /// Specifies how long to keep a connection open, after completing a response, while there is no matching /// traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. - /// For Global external HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed - /// value is 1200 seconds. For Global external HTTP(S) load balancer (classic), this option is not available - /// publicly. + /// For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum + /// allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported. /// [Newtonsoft.Json.JsonPropertyAttribute("httpKeepAliveTimeoutSec")] public virtual System.Nullable HttpKeepAliveTimeoutSec { get; set; } @@ -129377,10 +130484,11 @@ public class TargetHttpsProxiesSetSslCertificatesRequest : Google.Apis.Requests. /// Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * /// [Global](/compute/docs/reference/rest/alpha/targetHttpsProxies) * /// [Regional](/compute/docs/reference/rest/alpha/regionTargetHttpsProxies) A target HTTPS proxy is a component of - /// GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * - /// regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS - /// proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and - /// Forwarding rule concepts. + /// GCP HTTPS load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic + /// Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * + /// regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external + /// Application Load Balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then + /// references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. /// public class TargetHttpsProxy : Google.Apis.Requests.IDirectResponseSchema { @@ -129445,9 +130553,8 @@ public class TargetHttpsProxy : Google.Apis.Requests.IDirectResponseSchema /// /// Specifies how long to keep a connection open, after completing a response, while there is no matching /// traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. - /// For Global external HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed - /// value is 1200 seconds. For Global external HTTP(S) load balancer (classic), this option is not available - /// publicly. + /// For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum + /// allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported. /// [Newtonsoft.Json.JsonPropertyAttribute("httpKeepAliveTimeoutSec")] public virtual System.Nullable HttpKeepAliveTimeoutSec { get; set; } @@ -131540,14 +132647,16 @@ public class UpcomingMaintenanceTimeWindow : Google.Apis.Requests.IDirectRespons /// Represents a URL Map resource. Compute Engine has two URL Map resources: * /// [Global](/compute/docs/reference/rest/alpha/urlMaps) * /// [Regional](/compute/docs/reference/rest/alpha/regionUrlMaps) A URL map resource is a component of certain types - /// of cloud load balancers and Traffic Director: * urlMaps are used by external HTTP(S) load balancers and Traffic - /// Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features - /// by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of - /// supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic - /// management table. This resource defines mappings from hostnames and URL paths to either a backend service or a - /// backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of - /// either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a - /// loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts. + /// of cloud load balancers and Traffic Director: * urlMaps are used by global external Application Load Balancers, + /// classic Application Load Balancers, and cross-region internal Application Load Balancers. * regionUrlMaps are + /// used by internal Application Load Balancers, regional external Application Load Balancers and regional internal + /// Application Load Balancers. For a list of supported URL map features by the load balancer type, see the Load + /// balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic + /// Director, see the Traffic Director features: Routing and traffic management table. This resource defines + /// mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps + /// resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To + /// use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For + /// more information, read URL Map Concepts. /// public class UrlMap : Google.Apis.Requests.IDirectResponseSchema { @@ -131557,7 +132666,7 @@ public class UrlMap : Google.Apis.Requests.IDirectResponseSchema /// /// defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when - /// BackendServiceor BackendBucket responds with an error. This policy takes effect at the Load Balancer level + /// BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level /// and applies only when no policy has been defined for the error code at lower levels like PathMatcher, /// RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: /// - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher @@ -131570,8 +132679,8 @@ public class UrlMap : Google.Apis.Requests.IDirectResponseSchema /// defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the /// defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in /// reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is - /// returned to the client. defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load - /// balancing. + /// returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application + /// Load Balancers. /// [Newtonsoft.Json.JsonPropertyAttribute("defaultCustomErrorResponsePolicy")] public virtual CustomErrorResponsePolicy DefaultCustomErrorResponsePolicy { get; set; } @@ -131581,8 +132690,8 @@ public class UrlMap : Google.Apis.Requests.IDirectResponseSchema /// routing actions, such as URL rewrites and header transformations, before forwarding the request to the /// selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be /// set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. - /// Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load - /// balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect + /// Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load + /// Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect /// when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. /// [Newtonsoft.Json.JsonPropertyAttribute("defaultRouteAction")] @@ -132025,14 +133134,14 @@ public class DataData public class UrlMapsValidateRequest : Google.Apis.Requests.IDirectResponseSchema { /// - /// Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS - /// External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External - /// Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a - /// load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources - /// this URL map references. If that can not be inferred (for example, this URL map only references backend - /// buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL - /// will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing - /// scheme of the backend service resources this Url map references. + /// Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external + /// Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic + /// Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. For more + /// information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred + /// from the backend service resources this URL map references. If that can not be inferred (for example, this + /// URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't + /// reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not + /// conflict with the load balancing scheme of the backend service resources this Url map references. /// [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingSchemes")] public virtual System.Collections.Generic.IList LoadBalancingSchemes { get; set; } 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 df38ffa82c0..85cde7f7244 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.62.0.3147 + 1.62.0.3162 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs index 9a755d243d6..f113e81f995 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs +++ b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs @@ -89738,7 +89738,7 @@ public class AutoscalingPolicyScalingSchedule : Google.Apis.Requests.IDirectResp /// /// The time zone to use when interpreting the schedule. The value of this field must be a time zone name from - /// the tz database: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of “UTC” + /// the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of “UTC” /// if left empty. /// [Newtonsoft.Json.JsonPropertyAttribute("timeZone")] @@ -97461,8 +97461,8 @@ public class HttpRouteAction : Google.Apis.Requests.IDirectResponseSchema /// service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. /// timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The /// traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault - /// injection is not supported with the global external HTTP(S) load balancer (classic). To see which load - /// balancers support fault injection, see Load balancing: Routing and traffic management features. + /// injection is not supported with the classic Application Load Balancer . To see which load balancers support + /// fault injection, see Load balancing: Routing and traffic management features. /// [Newtonsoft.Json.JsonPropertyAttribute("faultInjectionPolicy")] public virtual HttpFaultInjection FaultInjectionPolicy { get; set; } @@ -97504,8 +97504,8 @@ public class HttpRouteAction : Google.Apis.Requests.IDirectResponseSchema /// /// The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite - /// is the only action supported in UrlMaps for external HTTP(S) load balancers. Not supported when the URL map - /// is bound to a target gRPC proxy that has the validateForProxyless field set to true. + /// is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL + /// map is bound to a target gRPC proxy that has the validateForProxyless field set to true. /// [Newtonsoft.Json.JsonPropertyAttribute("urlRewrite")] public virtual UrlRewrite UrlRewrite { get; set; } @@ -97547,8 +97547,8 @@ public class HttpRouteRule : Google.Apis.Requests.IDirectResponseSchema /// conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are /// exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is /// successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the - /// service is returned to the client. customErrorResponsePolicy is supported only for Global External HTTP(S) - /// load balancing. + /// service is returned to the client. customErrorResponsePolicy is supported only for global external + /// Application Load Balancers. /// [Newtonsoft.Json.JsonPropertyAttribute("customErrorResponsePolicy")] public virtual CustomErrorResponsePolicy CustomErrorResponsePolicy { get; set; } @@ -97616,8 +97616,8 @@ public class HttpRouteRule : Google.Apis.Requests.IDirectResponseSchema /// rewrites and header transformations, before forwarding the request to the selected backend. If routeAction /// specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction /// cannot contain any weightedBackendServices. Only one of urlRedirect, service or - /// routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only - /// support the urlRewrite action within a route rule's routeAction. + /// routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support + /// the urlRewrite action within a route rule's routeAction. /// [Newtonsoft.Json.JsonPropertyAttribute("routeAction")] public virtual HttpRouteAction RouteAction { get; set; } @@ -99026,6 +99026,13 @@ public class InstanceGroupManager : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual System.Nullable Id { get; set; } + /// + /// Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility + /// configuration on MIG overrides instance template configuration. + /// + [Newtonsoft.Json.JsonPropertyAttribute("instanceFlexibilityPolicy")] + public virtual InstanceGroupManagerInstanceFlexibilityPolicy InstanceFlexibilityPolicy { get; set; } + /// [Output Only] The URL of the Instance Group resource. [Newtonsoft.Json.JsonPropertyAttribute("instanceGroup")] public virtual string InstanceGroup { get; set; } @@ -99354,6 +99361,34 @@ public class InstanceGroupManagerAutoHealingPolicy : Google.Apis.Requests.IDirec public virtual string ETag { get; set; } } + public class InstanceGroupManagerInstanceFlexibilityPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// List of instance selection options that the group will use when creating new VMs. + [Newtonsoft.Json.JsonPropertyAttribute("instanceSelectionLists")] + public virtual System.Collections.Generic.IDictionary InstanceSelectionLists { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection : Google.Apis.Requests.IDirectResponseSchema + { + /// Full machine-type names, e.g. "n1-standard-16". + [Newtonsoft.Json.JsonPropertyAttribute("machineTypes")] + public virtual System.Collections.Generic.IList MachineTypes { get; set; } + + /// + /// Preference of this instance selection. Lower number means higher preference. MIG will first try to create a + /// VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types + /// and instance selections with the same rank have the same preference. + /// + [Newtonsoft.Json.JsonPropertyAttribute("rank")] + public virtual System.Nullable Rank { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class InstanceGroupManagerInstanceLifecyclePolicy : Google.Apis.Requests.IDirectResponseSchema { /// @@ -105706,9 +105741,8 @@ public class NetworkEndpoint : Google.Apis.Requests.IDirectResponseSchema /// /// Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints - /// should be reached, whether they are reachable, and where they are located. For more information about using - /// NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up - /// external HTTP(S) Load Balancing with serverless NEGs. + /// should be reached, whether they are reachable, and where they are located. For more information about using NEGs + /// for different use cases, see Network endpoint groups overview. /// public class NetworkEndpointGroup : Google.Apis.Requests.IDirectResponseSchema { @@ -109271,8 +109305,8 @@ public class PathMatcher : Google.Apis.Requests.IDirectResponseSchema /// conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries /// are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer /// is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from - /// the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for Global - /// External HTTP(S) load balancing. + /// the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for global + /// external Application Load Balancers. /// [Newtonsoft.Json.JsonPropertyAttribute("defaultCustomErrorResponsePolicy")] public virtual CustomErrorResponsePolicy DefaultCustomErrorResponsePolicy { get; set; } @@ -109282,8 +109316,8 @@ public class PathMatcher : Google.Apis.Requests.IDirectResponseSchema /// advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to /// the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not /// be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. - /// Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load - /// balancers only support the urlRewrite action within a path matcher's defaultRouteAction. + /// Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load + /// Balancers only support the urlRewrite action within a path matcher's defaultRouteAction. /// [Newtonsoft.Json.JsonPropertyAttribute("defaultRouteAction")] public virtual HttpRouteAction DefaultRouteAction { get; set; } @@ -109373,7 +109407,7 @@ public class PathRule : Google.Apis.Requests.IDirectResponseSchema /// pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a /// 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example /// encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. - /// customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. + /// customErrorResponsePolicy is supported only for global external Application Load Balancers. /// [Newtonsoft.Json.JsonPropertyAttribute("customErrorResponsePolicy")] public virtual CustomErrorResponsePolicy CustomErrorResponsePolicy { get; set; } @@ -109391,7 +109425,7 @@ public class PathRule : Google.Apis.Requests.IDirectResponseSchema /// and header transformations, before forwarding the request to the selected backend. If routeAction specifies /// any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot /// contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for - /// Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction. + /// classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction. /// [Newtonsoft.Json.JsonPropertyAttribute("routeAction")] public virtual HttpRouteAction RouteAction { get; set; } @@ -112207,6 +112241,14 @@ public class ResourcePolicyGroupPlacementPolicy : Google.Apis.Requests.IDirectRe [Newtonsoft.Json.JsonPropertyAttribute("maxDistance")] public virtual System.Nullable MaxDistance { get; set; } + /// Specifies the number of slices in a multislice workload. + [Newtonsoft.Json.JsonPropertyAttribute("sliceCount")] + public virtual System.Nullable SliceCount { get; set; } + + /// Specifies the shape of the TPU slice + [Newtonsoft.Json.JsonPropertyAttribute("tpuTopology")] + public virtual string TpuTopology { get; set; } + /// /// Number of VMs in this placement group. Google does not recommend that you use this field unless you use a /// compact policy and you want your policy to work only if it contains this exact number of VMs. @@ -112916,8 +112958,10 @@ public class Router : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable Id { get; set; } /// - /// Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP - /// address and IP address range (for example, ipRange), or both. + /// Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the + /// following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a + /// router interface without any of these fields specified. However, you cannot create a BGP peer that uses that + /// interface. /// [Newtonsoft.Json.JsonPropertyAttribute("interfaces")] public virtual System.Collections.Generic.IList Interfaces { get; set; } @@ -113294,15 +113338,14 @@ public class RouterInterface : Google.Apis.Requests.IDirectResponseSchema /// /// URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can - /// have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine - /// instance. + /// have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork. /// [Newtonsoft.Json.JsonPropertyAttribute("linkedInterconnectAttachment")] public virtual string LinkedInterconnectAttachment { get; set; } /// /// URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one - /// linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. + /// linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork. /// [Newtonsoft.Json.JsonPropertyAttribute("linkedVpnTunnel")] public virtual string LinkedVpnTunnel { get; set; } @@ -113448,7 +113491,7 @@ public class RouterMd5AuthenticationKey : Google.Apis.Requests.IDirectResponseSc public virtual string Key { get; set; } /// - /// Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. + /// Name used to identify the key. Must be unique within a router. Must be referenced by exactly one bgpPeer. /// Must comply with RFC1035. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] @@ -116796,14 +116839,16 @@ public class SourceInstanceProperties : Google.Apis.Requests.IDirectResponseSche } /// - /// Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * + /// Represents an SSL certificate resource. Google Compute Engine has two SSL certificate resources: * /// [Global](/compute/docs/reference/rest/beta/sslCertificates) * - /// [Regional](/compute/docs/reference/rest/beta/regionSslCertificates) The sslCertificates are used by: - external - /// HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load - /// balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded - /// certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and - /// certificates to secure connections to a load balancer. For more information, read Creating and using SSL - /// certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. + /// [Regional](/compute/docs/reference/rest/beta/regionSslCertificates) The global SSL certificates + /// (sslCertificates) are used by: - Global external Application Load Balancers - Classic Application Load Balancers + /// - Proxy Network Load Balancers (with target SSL proxies) The regional SSL certificates (regionSslCertificates) + /// are used by: - Regional external Application Load Balancers - Regional internal Application Load Balancers + /// Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. + /// The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to + /// secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL + /// certificates quotas and limits, and Troubleshooting SSL certificates. /// public class SslCertificate : Google.Apis.Requests.IDirectResponseSchema { @@ -118474,10 +118519,11 @@ public class DataData /// Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * /// [Global](/compute/docs/reference/rest/beta/targetHttpProxies) * /// [Regional](/compute/docs/reference/rest/beta/regionTargetHttpProxies) A target HTTP proxy is a component of GCP - /// HTTP load balancers. * targetHttpProxies are used by external HTTP load balancers and Traffic Director. * - /// regionTargetHttpProxies are used by internal HTTP load balancers. Forwarding rules reference a target HTTP - /// proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and - /// Forwarding rule concepts. + /// HTTP load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic + /// Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * + /// regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external + /// Application Load Balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references + /// a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. /// public class TargetHttpProxy : Google.Apis.Requests.IDirectResponseSchema { @@ -118516,9 +118562,8 @@ public class TargetHttpProxy : Google.Apis.Requests.IDirectResponseSchema /// /// Specifies how long to keep a connection open, after completing a response, while there is no matching /// traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. - /// For Global external HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed - /// value is 1200 seconds. For Global external HTTP(S) load balancer (classic), this option is not available - /// publicly. + /// For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum + /// allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported. /// [Newtonsoft.Json.JsonPropertyAttribute("httpKeepAliveTimeoutSec")] public virtual System.Nullable HttpKeepAliveTimeoutSec { get; set; } @@ -118834,10 +118879,11 @@ public class TargetHttpsProxiesSetSslCertificatesRequest : Google.Apis.Requests. /// Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * /// [Global](/compute/docs/reference/rest/beta/targetHttpsProxies) * /// [Regional](/compute/docs/reference/rest/beta/regionTargetHttpsProxies) A target HTTPS proxy is a component of - /// GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * - /// regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS - /// proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and - /// Forwarding rule concepts. + /// GCP HTTPS load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic + /// Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * + /// regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external + /// Application Load Balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then + /// references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. /// public class TargetHttpsProxy : Google.Apis.Requests.IDirectResponseSchema { @@ -118902,9 +118948,8 @@ public class TargetHttpsProxy : Google.Apis.Requests.IDirectResponseSchema /// /// Specifies how long to keep a connection open, after completing a response, while there is no matching /// traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. - /// For Global external HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum allowed - /// value is 1200 seconds. For Global external HTTP(S) load balancer (classic), this option is not available - /// publicly. + /// For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum + /// allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported. /// [Newtonsoft.Json.JsonPropertyAttribute("httpKeepAliveTimeoutSec")] public virtual System.Nullable HttpKeepAliveTimeoutSec { get; set; } @@ -120788,14 +120833,16 @@ public class Uint128 : Google.Apis.Requests.IDirectResponseSchema /// Represents a URL Map resource. Compute Engine has two URL Map resources: * /// [Global](/compute/docs/reference/rest/beta/urlMaps) * /// [Regional](/compute/docs/reference/rest/beta/regionUrlMaps) A URL map resource is a component of certain types - /// of cloud load balancers and Traffic Director: * urlMaps are used by external HTTP(S) load balancers and Traffic - /// Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features - /// by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of - /// supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic - /// management table. This resource defines mappings from hostnames and URL paths to either a backend service or a - /// backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of - /// either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a - /// loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts. + /// of cloud load balancers and Traffic Director: * urlMaps are used by global external Application Load Balancers, + /// classic Application Load Balancers, and cross-region internal Application Load Balancers. * regionUrlMaps are + /// used by internal Application Load Balancers, regional external Application Load Balancers and regional internal + /// Application Load Balancers. For a list of supported URL map features by the load balancer type, see the Load + /// balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic + /// Director, see the Traffic Director features: Routing and traffic management table. This resource defines + /// mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps + /// resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To + /// use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For + /// more information, read URL Map Concepts. /// public class UrlMap : Google.Apis.Requests.IDirectResponseSchema { @@ -120805,7 +120852,7 @@ public class UrlMap : Google.Apis.Requests.IDirectResponseSchema /// /// defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when - /// BackendServiceor BackendBucket responds with an error. This policy takes effect at the Load Balancer level + /// BackendServiceor BackendBucket responds with an error. This policy takes effect at the load balancer level /// and applies only when no policy has been defined for the error code at lower levels like PathMatcher, /// RouteRule and PathRule within this UrlMap. For example, consider a UrlMap with the following configuration: /// - defaultCustomErrorResponsePolicy containing policies for responding to 5xx and 4xx errors - A PathMatcher @@ -120818,8 +120865,8 @@ public class UrlMap : Google.Apis.Requests.IDirectResponseSchema /// defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the /// defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in /// reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is - /// returned to the client. defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load - /// balancing. + /// returned to the client. defaultCustomErrorResponsePolicy is supported only for global external Application + /// Load Balancers. /// [Newtonsoft.Json.JsonPropertyAttribute("defaultCustomErrorResponsePolicy")] public virtual CustomErrorResponsePolicy DefaultCustomErrorResponsePolicy { get; set; } @@ -120829,8 +120876,8 @@ public class UrlMap : Google.Apis.Requests.IDirectResponseSchema /// routing actions, such as URL rewrites and header transformations, before forwarding the request to the /// selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be /// set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. - /// Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load - /// balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect + /// Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load + /// Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect /// when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. /// [Newtonsoft.Json.JsonPropertyAttribute("defaultRouteAction")] @@ -121259,14 +121306,14 @@ public class DataData public class UrlMapsValidateRequest : Google.Apis.Requests.IDirectResponseSchema { /// - /// Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS - /// External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External - /// Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a - /// load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources - /// this URL map references. If that can not be inferred (for example, this URL map only references backend - /// buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL - /// will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing - /// scheme of the backend service resources this Url map references. + /// Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external + /// Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic + /// Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. For more + /// information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred + /// from the backend service resources this URL map references. If that can not be inferred (for example, this + /// URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't + /// reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not + /// conflict with the load balancing scheme of the backend service resources this Url map references. /// [Newtonsoft.Json.JsonPropertyAttribute("loadBalancingSchemes")] public virtual System.Collections.Generic.IList LoadBalancingSchemes { get; set; } diff --git a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj index 47a361787af..85739c89ce4 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj +++ b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.beta Client Library - 1.62.0.3147 + 1.62.0.3162 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs index 6c3b0836ef5..01ce47b1e87 100644 --- a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs +++ b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs @@ -11807,6 +11807,30 @@ public class GooglePrivacyDlpV2InfoTypeDescription : Google.Apis.Requests.IDirec public virtual string ETag { get; set; } } + /// + /// Configuration to control custom minimum likelihoods per infotype. Used when certain infotypes need to return + /// with higher or lower precision than the baseline, i.e. when wanting PERSON_NAME to return all possible names + /// without lowering the precision of other infotypes. + /// + public class GooglePrivacyDlpV2InfoTypeLikelihood : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Type of information the likelihood threshold applies to. Only one likelihood per info_type should be + /// provided. If InfoTypeLikelihood does not have an info_type, the configuration fails. + /// + [Newtonsoft.Json.JsonPropertyAttribute("infoType")] + public virtual GooglePrivacyDlpV2InfoType InfoType { get; set; } + + /// + /// Only returns findings equal or above this threshold. This field is required or else the configuration fails. + /// + [Newtonsoft.Json.JsonPropertyAttribute("minLikelihood")] + public virtual string MinLikelihood { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Max findings configuration per infoType, per content item or long running DlpJob. public class GooglePrivacyDlpV2InfoTypeLimit : Google.Apis.Requests.IDirectResponseSchema { @@ -11949,6 +11973,14 @@ public class GooglePrivacyDlpV2InspectConfig : Google.Apis.Requests.IDirectRespo [Newtonsoft.Json.JsonPropertyAttribute("minLikelihood")] public virtual string MinLikelihood { get; set; } + /// + /// Per infotype likelihoods. For each infotype, a user can specify a minimum likelihood, and only return that + /// infotype if it is above that threshold. If an infotype is not included, it uses the InspectConfig + /// min_likelihood. + /// + [Newtonsoft.Json.JsonPropertyAttribute("minLikelihoodPerInfoType")] + public virtual System.Collections.Generic.IList MinLikelihoodPerInfoType { get; set; } + /// /// Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are /// executed in the end, other rules are executed in the order they are specified for each info type. diff --git a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj index d700bd1e781..2d5318f4715 100644 --- a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj +++ b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.DLP.v2 Client Library - 1.62.0.3139 + 1.62.0.3167 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs index 9ca889c877c..40921de29f2 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs @@ -8151,6 +8151,65 @@ public SuggestionsResource(Google.Apis.Services.IClientService service) this.service = service; } + /// Get answers for the given query based on knowledge documents. + /// The body of the request. + /// + /// The conversation (between human agent and end user) where the search request is triggered. Format: + /// `projects//locations//conversations/`. + /// + public virtual SearchKnowledgeRequest SearchKnowledge(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest body, string conversation) + { + return new SearchKnowledgeRequest(service, body, conversation); + } + + /// Get answers for the given query based on knowledge documents. + public class SearchKnowledgeRequest : DialogflowBaseServiceRequest + { + /// Constructs a new SearchKnowledge request. + public SearchKnowledgeRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest body, string conversation) : base(service) + { + Conversation = conversation; + Body = body; + InitParameters(); + } + + /// + /// The conversation (between human agent and end user) where the search request is triggered. + /// Format: `projects//locations//conversations/`. + /// + [Google.Apis.Util.RequestParameterAttribute("conversation", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Conversation { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "searchKnowledge"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v2/{+conversation}/suggestions:searchKnowledge"; + + /// Initializes SearchKnowledge parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("conversation", new Google.Apis.Discovery.Parameter + { + Name = "conversation", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/conversations/[^/]+$", + }); + } + } + /// /// Suggests summary for a conversation based on specific historical messages. The range of the messages /// to be used for summary can be specified in the request. @@ -16805,6 +16864,65 @@ public SuggestionsResource(Google.Apis.Services.IClientService service) this.service = service; } + /// Get answers for the given query based on knowledge documents. + /// The body of the request. + /// + /// The conversation (between human agent and end user) where the search request is triggered. + /// Format: `projects//locations//conversations/`. + /// + public virtual SearchKnowledgeRequest SearchKnowledge(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest body, string conversation) + { + return new SearchKnowledgeRequest(service, body, conversation); + } + + /// Get answers for the given query based on knowledge documents. + public class SearchKnowledgeRequest : DialogflowBaseServiceRequest + { + /// Constructs a new SearchKnowledge request. + public SearchKnowledgeRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest body, string conversation) : base(service) + { + Conversation = conversation; + Body = body; + InitParameters(); + } + + /// + /// The conversation (between human agent and end user) where the search request is triggered. + /// Format: `projects//locations//conversations/`. + /// + [Google.Apis.Util.RequestParameterAttribute("conversation", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Conversation { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "searchKnowledge"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v2/{+conversation}/suggestions:searchKnowledge"; + + /// Initializes SearchKnowledge parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("conversation", new Google.Apis.Discovery.Parameter + { + Name = "conversation", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + }); + } + } + /// /// Suggests summary for a conversation based on specific historical messages. The range of the /// messages to be used for summary can be specified in the request. @@ -18442,6 +18560,64 @@ protected override void InitParameters() }); } } + + /// Get answers for the given query based on knowledge documents. + /// The body of the request. + /// + /// The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. + /// + public virtual SearchKnowledgeRequest SearchKnowledge(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest body, string parent) + { + return new SearchKnowledgeRequest(service, body, parent); + } + + /// Get answers for the given query based on knowledge documents. + public class SearchKnowledgeRequest : DialogflowBaseServiceRequest + { + /// Constructs a new SearchKnowledge request. + public SearchKnowledgeRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// The parent resource contains the conversation profile Format: 'projects/' or + /// `projects//locations/`. + /// + [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.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "searchKnowledge"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v2/{+parent}/suggestions:searchKnowledge"; + + /// Initializes SearchKnowledge 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 = @"^projects/[^/]+/locations/[^/]+$", + }); + } + } } /// Deletes the specified agent. @@ -19041,6 +19217,63 @@ protected override void InitParameters() }); } } + + /// Get answers for the given query based on knowledge documents. + /// The body of the request. + /// + /// The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. + /// + public virtual SearchKnowledgeRequest SearchKnowledge(Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest body, string parent) + { + return new SearchKnowledgeRequest(service, body, parent); + } + + /// Get answers for the given query based on knowledge documents. + public class SearchKnowledgeRequest : DialogflowBaseServiceRequest + { + /// Constructs a new SearchKnowledge request. + public SearchKnowledgeRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. + /// + [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.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchKnowledgeRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "searchKnowledge"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v2/{+parent}/suggestions:searchKnowledge"; + + /// Initializes SearchKnowledge 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 = @"^projects/[^/]+$", + }); + } + } } /// Deletes the specified agent. @@ -19215,6 +19448,80 @@ protected override void InitParameters() } namespace Google.Apis.Dialogflow.v2.Data { + /// + /// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level + /// overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the + /// playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the + /// agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. + /// DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: + /// Agent-&gt;Flow-&gt;Page-&gt;Fulfillment/Parameter. + /// + public class GoogleCloudDialogflowCxV3AdvancedSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. + /// Exposed at the following levels: - Agent level - Flow level + /// + [Newtonsoft.Json.JsonPropertyAttribute("audioExportGcsDestination")] + public virtual GoogleCloudDialogflowCxV3GcsDestination AudioExportGcsDestination { get; set; } + + /// + /// Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter + /// level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dtmfSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings DtmfSettings { get; set; } + + /// + /// Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech + /// logging. Exposed at the following levels: - Agent level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("loggingSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings LoggingSettings { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors for DTMF (dual tone multi frequency). + public class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller + /// presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event + /// (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. + /// when 3 is pressed, return the account balance). + /// + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// The digit that terminates a DTMF digit sequence. + [Newtonsoft.Json.JsonPropertyAttribute("finishDigit")] + public virtual string FinishDigit { get; set; } + + /// Max length of DTMF digits. + [Newtonsoft.Json.JsonPropertyAttribute("maxDigits")] + public virtual System.Nullable MaxDigits { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors on logging. + public class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// If true, DF Interaction logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableInteractionLogging")] + public virtual System.Nullable EnableInteractionLogging { get; set; } + + /// If true, StackDriver logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableStackdriverLogging")] + public virtual System.Nullable EnableStackdriverLogging { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Represents the natural speech audio to be processed. public class GoogleCloudDialogflowCxV3AudioInput : Google.Apis.Requests.IDirectResponseSchema { @@ -19788,6 +20095,13 @@ public class GoogleCloudDialogflowCxV3Form : Google.Apis.Requests.IDirectRespons /// Represents a form parameter. public class GoogleCloudDialogflowCxV3FormParameter : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// /// The default value of an optional parameter. If the parameter is required, the default value will be ignored. /// @@ -19875,10 +20189,25 @@ public class GoogleCloudDialogflowCxV3FormParameterFillBehavior : Google.Apis.Re /// public class GoogleCloudDialogflowCxV3Fulfillment : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// Conditional cases for this fulfillment. [Newtonsoft.Json.JsonPropertyAttribute("conditionalCases")] public virtual System.Collections.Generic.IList ConditionalCases { get; set; } + /// + /// If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the + /// defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated + /// with no-match event handlers. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableGenerativeFallback")] + public virtual System.Nullable EnableGenerativeFallback { get; set; } + /// The list of rich message responses to present to the user. [Newtonsoft.Json.JsonPropertyAttribute("messages")] public virtual System.Collections.Generic.IList Messages { get; set; } @@ -19980,6 +20309,24 @@ public class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction : Google.Api public virtual string ETag { get; set; } } + /// + /// Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or + /// transcripts) outside of Dialogflow. + /// + public class GoogleCloudDialogflowCxV3GcsDestination : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: + /// `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the + /// Dialogflow operation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Metadata in google::longrunning::Operation for Knowledge operations. public class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -20318,6 +20665,13 @@ public class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings : Google.Apis.R /// public class GoogleCloudDialogflowCxV3Page : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings + /// exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// Required. The human-readable name of the page, unique within the flow. [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } @@ -21568,6 +21922,80 @@ public class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig : Google.Api public virtual string ETag { get; set; } } + /// + /// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level + /// overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the + /// playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the + /// agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. + /// DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: + /// Agent-&gt;Flow-&gt;Page-&gt;Fulfillment/Parameter. + /// + public class GoogleCloudDialogflowCxV3beta1AdvancedSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. + /// Exposed at the following levels: - Agent level - Flow level + /// + [Newtonsoft.Json.JsonPropertyAttribute("audioExportGcsDestination")] + public virtual GoogleCloudDialogflowCxV3beta1GcsDestination AudioExportGcsDestination { get; set; } + + /// + /// Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter + /// level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dtmfSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings DtmfSettings { get; set; } + + /// + /// Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech + /// logging. Exposed at the following levels: - Agent level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("loggingSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings LoggingSettings { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors for DTMF (dual tone multi frequency). + public class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller + /// presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event + /// (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. + /// when 3 is pressed, return the account balance). + /// + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// The digit that terminates a DTMF digit sequence. + [Newtonsoft.Json.JsonPropertyAttribute("finishDigit")] + public virtual string FinishDigit { get; set; } + + /// Max length of DTMF digits. + [Newtonsoft.Json.JsonPropertyAttribute("maxDigits")] + public virtual System.Nullable MaxDigits { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors on logging. + public class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// If true, DF Interaction logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableInteractionLogging")] + public virtual System.Nullable EnableInteractionLogging { get; set; } + + /// If true, StackDriver logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableStackdriverLogging")] + public virtual System.Nullable EnableStackdriverLogging { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Represents the natural speech audio to be processed. public class GoogleCloudDialogflowCxV3beta1AudioInput : Google.Apis.Requests.IDirectResponseSchema { @@ -22141,6 +22569,13 @@ public class GoogleCloudDialogflowCxV3beta1Form : Google.Apis.Requests.IDirectRe /// Represents a form parameter. public class GoogleCloudDialogflowCxV3beta1FormParameter : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// /// The default value of an optional parameter. If the parameter is required, the default value will be ignored. /// @@ -22228,10 +22663,25 @@ public class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior : Google.Ap /// public class GoogleCloudDialogflowCxV3beta1Fulfillment : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// Conditional cases for this fulfillment. [Newtonsoft.Json.JsonPropertyAttribute("conditionalCases")] public virtual System.Collections.Generic.IList ConditionalCases { get; set; } + /// + /// If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the + /// defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated + /// with no-match event handlers. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableGenerativeFallback")] + public virtual System.Nullable EnableGenerativeFallback { get; set; } + /// The list of rich message responses to present to the user. [Newtonsoft.Json.JsonPropertyAttribute("messages")] public virtual System.Collections.Generic.IList Messages { get; set; } @@ -22333,6 +22783,24 @@ public class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction : Googl public virtual string ETag { get; set; } } + /// + /// Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or + /// transcripts) outside of Dialogflow. + /// + public class GoogleCloudDialogflowCxV3beta1GcsDestination : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: + /// `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the + /// Dialogflow operation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Metadata in google::longrunning::Operation for Knowledge operations. public class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -22671,6 +23139,13 @@ public class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings : Google.A /// public class GoogleCloudDialogflowCxV3beta1Page : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings + /// exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// Required. The human-readable name of the page, unique within the flow. [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } @@ -24031,6 +24506,10 @@ public class GoogleCloudDialogflowV2AgentAssistantFeedback : Google.Apis.Request [Newtonsoft.Json.JsonPropertyAttribute("documentEfficiency")] public virtual string DocumentEfficiency { get; set; } + /// Optional. Feedback for knowledge search. + [Newtonsoft.Json.JsonPropertyAttribute("knowledgeSearchFeedback")] + public virtual GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback KnowledgeSearchFeedback { get; set; } + /// Optional. Feedback for conversation summarization. [Newtonsoft.Json.JsonPropertyAttribute("summarizationFeedback")] public virtual GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback SummarizationFeedback { get; set; } @@ -24039,6 +24518,27 @@ public class GoogleCloudDialogflowV2AgentAssistantFeedback : Google.Apis.Request public virtual string ETag { get; set; } } + /// Feedback for knowledge search. + public class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Whether the answer was copied by the human agent or not. If the value is set to be true, + /// AnswerFeedback.clicked will be updated to be true. + /// + [Newtonsoft.Json.JsonPropertyAttribute("answerCopied")] + public virtual System.Nullable AnswerCopied { get; set; } + + /// + /// The URIs clicked by the human agent. The value is appended for each UpdateAnswerRecordRequest. If the value + /// is not empty, AnswerFeedback.clicked will be updated to be true. + /// + [Newtonsoft.Json.JsonPropertyAttribute("clickedUris")] + public virtual System.Collections.Generic.IList ClickedUris { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Feedback for conversation summarization. public class GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback : Google.Apis.Requests.IDirectResponseSchema { @@ -24131,6 +24631,10 @@ public class GoogleCloudDialogflowV2AgentAssistantRecord : Google.Apis.Requests. [Newtonsoft.Json.JsonPropertyAttribute("articleSuggestionAnswer")] public virtual GoogleCloudDialogflowV2ArticleAnswer ArticleSuggestionAnswer { get; set; } + /// Output only. Dialogflow assist answer. + [Newtonsoft.Json.JsonPropertyAttribute("dialogflowAssistAnswer")] + public virtual GoogleCloudDialogflowV2DialogflowAssistAnswer DialogflowAssistAnswer { get; set; } + /// Output only. The FAQ answer. [Newtonsoft.Json.JsonPropertyAttribute("faqAnswer")] public virtual GoogleCloudDialogflowV2FaqAnswer FaqAnswer { get; set; } @@ -24177,6 +24681,10 @@ public class GoogleCloudDialogflowV2AnalyzeContentRequest : Google.Apis.Requests [Newtonsoft.Json.JsonPropertyAttribute("requestId")] public virtual string RequestId { get; set; } + /// An input representing the selection of a suggestion. + [Newtonsoft.Json.JsonPropertyAttribute("suggestionInput")] + public virtual GoogleCloudDialogflowV2SuggestionInput SuggestionInput { get; set; } + /// The natural language text to be processed. [Newtonsoft.Json.JsonPropertyAttribute("textInput")] public virtual GoogleCloudDialogflowV2TextInput TextInput { get; set; } @@ -25727,6 +26235,25 @@ public class GoogleCloudDialogflowV2DetectIntentResponse : Google.Apis.Requests. public virtual string ETag { get; set; } } + /// Represents a Dialogflow assist answer. + public class GoogleCloudDialogflowV2DialogflowAssistAnswer : Google.Apis.Requests.IDirectResponseSchema + { + /// The name of answer record, in the format of "projects//locations//answerRecords/" + [Newtonsoft.Json.JsonPropertyAttribute("answerRecord")] + public virtual string AnswerRecord { get; set; } + + /// An intent suggestion generated from conversation. + [Newtonsoft.Json.JsonPropertyAttribute("intentSuggestion")] + public virtual GoogleCloudDialogflowV2IntentSuggestion IntentSuggestion { get; set; } + + /// Result from v2 agent. + [Newtonsoft.Json.JsonPropertyAttribute("queryResult")] + public virtual GoogleCloudDialogflowV2QueryResult QueryResult { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A knowledge document to be used by a KnowledgeBase. For more information, see the [knowledge base /// guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases). Note: The @@ -26658,9 +27185,16 @@ public class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureCo [Newtonsoft.Json.JsonPropertyAttribute("conversationProcessConfig")] public virtual GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig ConversationProcessConfig { get; set; } + /// + /// Optional. Disable the logging of search queries sent by human agents. It can prevent those queries from + /// being stored at answer records. Supported features: KNOWLEDGE_SEARCH. + /// + [Newtonsoft.Json.JsonPropertyAttribute("disableAgentQueryLogging")] + public virtual System.Nullable DisableAgentQueryLogging { get; set; } + /// /// Automatically iterates all participants and tries to compile suggestions. Supported features: - /// ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST. + /// ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST. /// [Newtonsoft.Json.JsonPropertyAttribute("enableEventBasedSuggestion")] public virtual System.Nullable EnableEventBasedSuggestion { get; set; } @@ -26762,6 +27296,24 @@ public class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConf [Newtonsoft.Json.JsonPropertyAttribute("agent")] public virtual string Agent { get; set; } + /// Optional. The Dialogflow assist configuration for human agent. + [Newtonsoft.Json.JsonPropertyAttribute("humanAgentSideConfig")] + public virtual GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig HumanAgentSideConfig { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The configuration used for human agent side Dialogflow assist suggestion. + public class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The name of a dialogflow virtual agent used for intent detection and suggestion triggered by human + /// agent. Format: `projects//locations//agent`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("agent")] + public virtual string Agent { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -27964,6 +28516,28 @@ public class GoogleCloudDialogflowV2IntentParameter : Google.Apis.Requests.IDire public virtual string ETag { get; set; } } + /// Represents an intent suggestion. + public class GoogleCloudDialogflowV2IntentSuggestion : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Human readable description for better understanding an intent like its scope, content, result etc. Maximum + /// character limit: 140 characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// The display name of the intent. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// The unique identifier of this intent. Format: `projects//locations//agent/intents/`. + [Newtonsoft.Json.JsonPropertyAttribute("intentV2")] + public virtual string IntentV2 { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Represents an example that the agent is trained on. public class GoogleCloudDialogflowV2IntentTrainingPhrase : Google.Apis.Requests.IDirectResponseSchema { @@ -28975,6 +29549,109 @@ public class GoogleCloudDialogflowV2SearchAgentsResponse : Google.Apis.Requests. public virtual string ETag { get; set; } } + /// Represents a SearchKnowledge answer. + public class GoogleCloudDialogflowV2SearchKnowledgeAnswer : Google.Apis.Requests.IDirectResponseSchema + { + /// The piece of text from the knowledge base documents that answers the search query + [Newtonsoft.Json.JsonPropertyAttribute("answer")] + public virtual string Answer { get; set; } + + /// The name of the answer record. Format: `projects//locations//answer Records/` + [Newtonsoft.Json.JsonPropertyAttribute("answerRecord")] + public virtual string AnswerRecord { get; set; } + + /// All sources used to generate the answer. + [Newtonsoft.Json.JsonPropertyAttribute("answerSources")] + public virtual System.Collections.Generic.IList AnswerSources { get; set; } + + /// The type of the answer. + [Newtonsoft.Json.JsonPropertyAttribute("answerType")] + public virtual string AnswerType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The sources of the answers. + public class GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource : Google.Apis.Requests.IDirectResponseSchema + { + /// The relevant snippet of the article. + [Newtonsoft.Json.JsonPropertyAttribute("snippet")] + public virtual string Snippet { get; set; } + + /// The title of the article. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The URI of the article. + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Conversations.SearchKnowledge. + public class GoogleCloudDialogflowV2SearchKnowledgeRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The conversation (between human agent and end user) where the search request is triggered. Format: + /// `projects//locations//conversations/`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("conversation")] + public virtual string Conversation { get; set; } + + /// + /// Required. The conversation profile used to configure the search. Format: + /// `projects//locations//conversationProfiles/`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("conversationProfile")] + public virtual string ConversationProfile { get; set; } + + /// + /// The name of the latest conversation message when the request is triggered. Format: + /// `projects//locations//conversations//messages/`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("latestMessage")] + public virtual string LatestMessage { get; set; } + + /// + /// The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("parent")] + public virtual string Parent { get; set; } + + /// Required. The natural language text query for knowledge search. + [Newtonsoft.Json.JsonPropertyAttribute("query")] + public virtual GoogleCloudDialogflowV2TextInput Query { get; set; } + + /// + /// The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved from + /// conversation profile or on its own to identify a search session. The search history of the same session will + /// impact the search result. It's up to the API caller to choose an appropriate `Session ID`. It can be a + /// random number or some type of session identifiers (preferably hashed). The length must not exceed 36 + /// characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("sessionId")] + public virtual string SessionId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Conversations.SearchKnowledge. + public class GoogleCloudDialogflowV2SearchKnowledgeResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence. + /// + [Newtonsoft.Json.JsonPropertyAttribute("answers")] + public virtual System.Collections.Generic.IList Answers { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. /// See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to @@ -29265,6 +29942,12 @@ public class GoogleCloudDialogflowV2SpeechToTextConfig : Google.Apis.Requests.ID [Newtonsoft.Json.JsonPropertyAttribute("speechModelVariant")] public virtual string SpeechModelVariant { get; set; } + /// + /// Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value. + /// + [Newtonsoft.Json.JsonPropertyAttribute("useTimeoutBasedEndpointing")] + public virtual System.Nullable UseTimeoutBasedEndpointing { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -29522,6 +30205,21 @@ public class GoogleCloudDialogflowV2SuggestionFeature : Google.Apis.Requests.IDi public virtual string ETag { get; set; } } + /// Represents the selection of a suggestion. + public class GoogleCloudDialogflowV2SuggestionInput : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The ID of a suggestion selected by the human agent. The suggestion(s) were generated in a previous + /// call to request Dialogflow assist. The format is: `projects//locations//answerRecords/` where is an + /// alphanumeric string. + /// + [Newtonsoft.Json.JsonPropertyAttribute("answerRecord")] + public virtual string AnswerRecord { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// One response of different type of suggestion response which is used in the response of /// Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent. diff --git a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj index 1b2bb80bdbb..8419e55c18d 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v2 Client Library - 1.62.0.3154 + 1.62.0.3170 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs index b2e2f74db22..e0b996f43b7 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs @@ -7941,6 +7941,65 @@ public SuggestionsResource(Google.Apis.Services.IClientService service) this.service = service; } + /// Get answers for the given query based on knowledge documents. + /// The body of the request. + /// + /// The conversation (between human agent and end user) where the search request is triggered. Format: + /// `projects//locations//conversations/`. + /// + public virtual SearchKnowledgeRequest SearchKnowledge(Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest body, string conversation) + { + return new SearchKnowledgeRequest(service, body, conversation); + } + + /// Get answers for the given query based on knowledge documents. + public class SearchKnowledgeRequest : DialogflowBaseServiceRequest + { + /// Constructs a new SearchKnowledge request. + public SearchKnowledgeRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest body, string conversation) : base(service) + { + Conversation = conversation; + Body = body; + InitParameters(); + } + + /// + /// The conversation (between human agent and end user) where the search request is triggered. + /// Format: `projects//locations//conversations/`. + /// + [Google.Apis.Util.RequestParameterAttribute("conversation", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Conversation { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "searchKnowledge"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v2beta1/{+conversation}/suggestions:searchKnowledge"; + + /// Initializes SearchKnowledge parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("conversation", new Google.Apis.Discovery.Parameter + { + Name = "conversation", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/conversations/[^/]+$", + }); + } + } + /// /// Suggest summary for a conversation based on specific historical messages. The range of the messages /// to be used for summary can be specified in the request. @@ -15925,6 +15984,65 @@ public SuggestionsResource(Google.Apis.Services.IClientService service) this.service = service; } + /// Get answers for the given query based on knowledge documents. + /// The body of the request. + /// + /// The conversation (between human agent and end user) where the search request is triggered. + /// Format: `projects//locations//conversations/`. + /// + public virtual SearchKnowledgeRequest SearchKnowledge(Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest body, string conversation) + { + return new SearchKnowledgeRequest(service, body, conversation); + } + + /// Get answers for the given query based on knowledge documents. + public class SearchKnowledgeRequest : DialogflowBaseServiceRequest + { + /// Constructs a new SearchKnowledge request. + public SearchKnowledgeRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest body, string conversation) : base(service) + { + Conversation = conversation; + Body = body; + InitParameters(); + } + + /// + /// The conversation (between human agent and end user) where the search request is triggered. + /// Format: `projects//locations//conversations/`. + /// + [Google.Apis.Util.RequestParameterAttribute("conversation", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Conversation { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "searchKnowledge"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v2beta1/{+conversation}/suggestions:searchKnowledge"; + + /// Initializes SearchKnowledge parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("conversation", new Google.Apis.Discovery.Parameter + { + Name = "conversation", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + }); + } + } + /// /// Suggest summary for a conversation based on specific historical messages. The range of the /// messages to be used for summary can be specified in the request. @@ -17566,6 +17684,64 @@ protected override void InitParameters() }); } } + + /// Get answers for the given query based on knowledge documents. + /// The body of the request. + /// + /// The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. + /// + public virtual SearchKnowledgeRequest SearchKnowledge(Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest body, string parent) + { + return new SearchKnowledgeRequest(service, body, parent); + } + + /// Get answers for the given query based on knowledge documents. + public class SearchKnowledgeRequest : DialogflowBaseServiceRequest + { + /// Constructs a new SearchKnowledge request. + public SearchKnowledgeRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// The parent resource contains the conversation profile Format: 'projects/' or + /// `projects//locations/`. + /// + [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.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "searchKnowledge"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v2beta1/{+parent}/suggestions:searchKnowledge"; + + /// Initializes SearchKnowledge 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 = @"^projects/[^/]+/locations/[^/]+$", + }); + } + } } /// Deletes the specified agent. @@ -18173,6 +18349,63 @@ protected override void InitParameters() }); } } + + /// Get answers for the given query based on knowledge documents. + /// The body of the request. + /// + /// The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. + /// + public virtual SearchKnowledgeRequest SearchKnowledge(Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest body, string parent) + { + return new SearchKnowledgeRequest(service, body, parent); + } + + /// Get answers for the given query based on knowledge documents. + public class SearchKnowledgeRequest : DialogflowBaseServiceRequest + { + /// Constructs a new SearchKnowledge request. + public SearchKnowledgeRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. + /// + [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.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1SearchKnowledgeRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "searchKnowledge"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v2beta1/{+parent}/suggestions:searchKnowledge"; + + /// Initializes SearchKnowledge 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 = @"^projects/[^/]+$", + }); + } + } } /// Deletes the specified agent. @@ -18353,6 +18586,80 @@ protected override void InitParameters() } namespace Google.Apis.Dialogflow.v2beta1.Data { + /// + /// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level + /// overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the + /// playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the + /// agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. + /// DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: + /// Agent-&gt;Flow-&gt;Page-&gt;Fulfillment/Parameter. + /// + public class GoogleCloudDialogflowCxV3AdvancedSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. + /// Exposed at the following levels: - Agent level - Flow level + /// + [Newtonsoft.Json.JsonPropertyAttribute("audioExportGcsDestination")] + public virtual GoogleCloudDialogflowCxV3GcsDestination AudioExportGcsDestination { get; set; } + + /// + /// Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter + /// level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dtmfSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings DtmfSettings { get; set; } + + /// + /// Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech + /// logging. Exposed at the following levels: - Agent level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("loggingSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings LoggingSettings { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors for DTMF (dual tone multi frequency). + public class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller + /// presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event + /// (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. + /// when 3 is pressed, return the account balance). + /// + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// The digit that terminates a DTMF digit sequence. + [Newtonsoft.Json.JsonPropertyAttribute("finishDigit")] + public virtual string FinishDigit { get; set; } + + /// Max length of DTMF digits. + [Newtonsoft.Json.JsonPropertyAttribute("maxDigits")] + public virtual System.Nullable MaxDigits { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors on logging. + public class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// If true, DF Interaction logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableInteractionLogging")] + public virtual System.Nullable EnableInteractionLogging { get; set; } + + /// If true, StackDriver logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableStackdriverLogging")] + public virtual System.Nullable EnableStackdriverLogging { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Represents the natural speech audio to be processed. public class GoogleCloudDialogflowCxV3AudioInput : Google.Apis.Requests.IDirectResponseSchema { @@ -18926,6 +19233,13 @@ public class GoogleCloudDialogflowCxV3Form : Google.Apis.Requests.IDirectRespons /// Represents a form parameter. public class GoogleCloudDialogflowCxV3FormParameter : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// /// The default value of an optional parameter. If the parameter is required, the default value will be ignored. /// @@ -19013,10 +19327,25 @@ public class GoogleCloudDialogflowCxV3FormParameterFillBehavior : Google.Apis.Re /// public class GoogleCloudDialogflowCxV3Fulfillment : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// Conditional cases for this fulfillment. [Newtonsoft.Json.JsonPropertyAttribute("conditionalCases")] public virtual System.Collections.Generic.IList ConditionalCases { get; set; } + /// + /// If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the + /// defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated + /// with no-match event handlers. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableGenerativeFallback")] + public virtual System.Nullable EnableGenerativeFallback { get; set; } + /// The list of rich message responses to present to the user. [Newtonsoft.Json.JsonPropertyAttribute("messages")] public virtual System.Collections.Generic.IList Messages { get; set; } @@ -19118,6 +19447,24 @@ public class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction : Google.Api public virtual string ETag { get; set; } } + /// + /// Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or + /// transcripts) outside of Dialogflow. + /// + public class GoogleCloudDialogflowCxV3GcsDestination : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: + /// `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the + /// Dialogflow operation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Metadata in google::longrunning::Operation for Knowledge operations. public class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -19456,6 +19803,13 @@ public class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings : Google.Apis.R /// public class GoogleCloudDialogflowCxV3Page : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings + /// exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// Required. The human-readable name of the page, unique within the flow. [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } @@ -20706,6 +21060,80 @@ public class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig : Google.Api public virtual string ETag { get; set; } } + /// + /// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level + /// overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the + /// playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the + /// agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. + /// DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: + /// Agent-&gt;Flow-&gt;Page-&gt;Fulfillment/Parameter. + /// + public class GoogleCloudDialogflowCxV3beta1AdvancedSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. + /// Exposed at the following levels: - Agent level - Flow level + /// + [Newtonsoft.Json.JsonPropertyAttribute("audioExportGcsDestination")] + public virtual GoogleCloudDialogflowCxV3beta1GcsDestination AudioExportGcsDestination { get; set; } + + /// + /// Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter + /// level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dtmfSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings DtmfSettings { get; set; } + + /// + /// Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech + /// logging. Exposed at the following levels: - Agent level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("loggingSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings LoggingSettings { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors for DTMF (dual tone multi frequency). + public class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller + /// presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event + /// (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. + /// when 3 is pressed, return the account balance). + /// + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// The digit that terminates a DTMF digit sequence. + [Newtonsoft.Json.JsonPropertyAttribute("finishDigit")] + public virtual string FinishDigit { get; set; } + + /// Max length of DTMF digits. + [Newtonsoft.Json.JsonPropertyAttribute("maxDigits")] + public virtual System.Nullable MaxDigits { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors on logging. + public class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// If true, DF Interaction logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableInteractionLogging")] + public virtual System.Nullable EnableInteractionLogging { get; set; } + + /// If true, StackDriver logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableStackdriverLogging")] + public virtual System.Nullable EnableStackdriverLogging { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Represents the natural speech audio to be processed. public class GoogleCloudDialogflowCxV3beta1AudioInput : Google.Apis.Requests.IDirectResponseSchema { @@ -21279,6 +21707,13 @@ public class GoogleCloudDialogflowCxV3beta1Form : Google.Apis.Requests.IDirectRe /// Represents a form parameter. public class GoogleCloudDialogflowCxV3beta1FormParameter : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// /// The default value of an optional parameter. If the parameter is required, the default value will be ignored. /// @@ -21366,10 +21801,25 @@ public class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior : Google.Ap /// public class GoogleCloudDialogflowCxV3beta1Fulfillment : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// Conditional cases for this fulfillment. [Newtonsoft.Json.JsonPropertyAttribute("conditionalCases")] public virtual System.Collections.Generic.IList ConditionalCases { get; set; } + /// + /// If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the + /// defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated + /// with no-match event handlers. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableGenerativeFallback")] + public virtual System.Nullable EnableGenerativeFallback { get; set; } + /// The list of rich message responses to present to the user. [Newtonsoft.Json.JsonPropertyAttribute("messages")] public virtual System.Collections.Generic.IList Messages { get; set; } @@ -21471,6 +21921,24 @@ public class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction : Googl public virtual string ETag { get; set; } } + /// + /// Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or + /// transcripts) outside of Dialogflow. + /// + public class GoogleCloudDialogflowCxV3beta1GcsDestination : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: + /// `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the + /// Dialogflow operation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Metadata in google::longrunning::Operation for Knowledge operations. public class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -21809,6 +22277,13 @@ public class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings : Google.A /// public class GoogleCloudDialogflowCxV3beta1Page : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings + /// exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// Required. The human-readable name of the page, unique within the flow. [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } @@ -25607,6 +26082,10 @@ public class GoogleCloudDialogflowV2beta1AgentAssistantFeedback : Google.Apis.Re [Newtonsoft.Json.JsonPropertyAttribute("documentEfficiency")] public virtual string DocumentEfficiency { get; set; } + /// Optional. Feedback for knowledge search. + [Newtonsoft.Json.JsonPropertyAttribute("knowledgeSearchFeedback")] + public virtual GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback KnowledgeSearchFeedback { get; set; } + /// Feedback for conversation summarization. [Newtonsoft.Json.JsonPropertyAttribute("summarizationFeedback")] public virtual GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback SummarizationFeedback { get; set; } @@ -25615,6 +26094,27 @@ public class GoogleCloudDialogflowV2beta1AgentAssistantFeedback : Google.Apis.Re public virtual string ETag { get; set; } } + /// Feedback for knowledge search. + public class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Whether the answer was copied by the human agent or not. If the value is set to be true, + /// AnswerFeedback.clicked will be updated to be true. + /// + [Newtonsoft.Json.JsonPropertyAttribute("answerCopied")] + public virtual System.Nullable AnswerCopied { get; set; } + + /// + /// The URIs clicked by the human agent. The value is appended for each UpdateAnswerRecordRequest. If the value + /// is not empty, AnswerFeedback.clicked will be updated to be true. + /// + [Newtonsoft.Json.JsonPropertyAttribute("clickedUris")] + public virtual System.Collections.Generic.IList ClickedUris { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Feedback for conversation summarization. public class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback : Google.Apis.Requests.IDirectResponseSchema { @@ -27946,9 +28446,16 @@ public class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeat [Newtonsoft.Json.JsonPropertyAttribute("conversationProcessConfig")] public virtual GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig ConversationProcessConfig { get; set; } + /// + /// Optional. Disable the logging of search queries sent by human agents. It can prevent those queries from + /// being stored at answer records. Supported features: KNOWLEDGE_SEARCH. + /// + [Newtonsoft.Json.JsonPropertyAttribute("disableAgentQueryLogging")] + public virtual System.Nullable DisableAgentQueryLogging { get; set; } + /// /// Automatically iterates all participants and tries to compile suggestions. Supported features: - /// ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, ENTITY_EXTRACTION. + /// ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, ENTITY_EXTRACTION, KNOWLEDGE_ASSIST. /// [Newtonsoft.Json.JsonPropertyAttribute("enableEventBasedSuggestion")] public virtual System.Nullable EnableEventBasedSuggestion { get; set; } @@ -30716,6 +31223,109 @@ public class GoogleCloudDialogflowV2beta1SearchAgentsResponse : Google.Apis.Requ public virtual string ETag { get; set; } } + /// Represents a SearchKnowledge answer. + public class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer : Google.Apis.Requests.IDirectResponseSchema + { + /// The piece of text from the knowledge base documents that answers the search query + [Newtonsoft.Json.JsonPropertyAttribute("answer")] + public virtual string Answer { get; set; } + + /// The name of the answer record. Format: `projects//locations//answer Records/` + [Newtonsoft.Json.JsonPropertyAttribute("answerRecord")] + public virtual string AnswerRecord { get; set; } + + /// All sources used to generate the answer. + [Newtonsoft.Json.JsonPropertyAttribute("answerSources")] + public virtual System.Collections.Generic.IList AnswerSources { get; set; } + + /// The type of the answer. + [Newtonsoft.Json.JsonPropertyAttribute("answerType")] + public virtual string AnswerType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The sources of the answers. + public class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource : Google.Apis.Requests.IDirectResponseSchema + { + /// The relevant snippet of the article. + [Newtonsoft.Json.JsonPropertyAttribute("snippet")] + public virtual string Snippet { get; set; } + + /// The title of the article. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The URI of the article. + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Conversations.SearchKnowledge. + public class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The conversation (between human agent and end user) where the search request is triggered. Format: + /// `projects//locations//conversations/`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("conversation")] + public virtual string Conversation { get; set; } + + /// + /// Required. The conversation profile used to configure the search. Format: + /// `projects//locations//conversationProfiles/`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("conversationProfile")] + public virtual string ConversationProfile { get; set; } + + /// + /// The name of the latest conversation message when the request is triggered. Format: + /// `projects//locations//conversations//messages/`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("latestMessage")] + public virtual string LatestMessage { get; set; } + + /// + /// The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("parent")] + public virtual string Parent { get; set; } + + /// Required. The natural language text query for knowledge search. + [Newtonsoft.Json.JsonPropertyAttribute("query")] + public virtual GoogleCloudDialogflowV2beta1TextInput Query { get; set; } + + /// + /// The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved from + /// conversation profile or on its own to identify a search session. The search history of the same session will + /// impact the search result. It's up to the API caller to choose an appropriate `Session ID`. It can be a + /// random number or some type of session identifiers (preferably hashed). The length must not exceed 36 + /// characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("sessionId")] + public virtual string SessionId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Conversations.SearchKnowledge. + public class GoogleCloudDialogflowV2beta1SearchKnowledgeResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence. + /// + [Newtonsoft.Json.JsonPropertyAttribute("answers")] + public virtual System.Collections.Generic.IList Answers { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. /// See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to @@ -30953,6 +31563,12 @@ public class GoogleCloudDialogflowV2beta1SpeechToTextConfig : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("speechModelVariant")] public virtual string SpeechModelVariant { get; set; } + /// + /// Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value. + /// + [Newtonsoft.Json.JsonPropertyAttribute("useTimeoutBasedEndpointing")] + public virtual System.Nullable UseTimeoutBasedEndpointing { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj index 7a4c77215a2..847e5e0633f 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v2beta1 Client Library - 1.62.0.3154 + 1.62.0.3170 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs index a215f9c8e65..04353383dc6 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs @@ -7938,6 +7938,63 @@ protected override void InitParameters() } } + /// Gets the generative settings for the agent. + /// Required. Format: `projects//locations//agents//generativeSettings`. + public virtual GetGenerativeSettingsRequest GetGenerativeSettings(string name) + { + return new GetGenerativeSettingsRequest(service, name); + } + + /// Gets the generative settings for the agent. + public class GetGenerativeSettingsRequest : DialogflowBaseServiceRequest + { + /// Constructs a new GetGenerativeSettings request. + public GetGenerativeSettingsRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. Format: `projects//locations//agents//generativeSettings`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Required. Language code of the generative settings. + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + /// Gets the method name. + public override string MethodName => "getGenerativeSettings"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v3/{+name}"; + + /// Initializes GetGenerativeSettings 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/[^/]+/agents/[^/]+/generativeSettings$", + }); + RequestParameters.Add("languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called. /// @@ -8237,6 +8294,74 @@ protected override void InitParameters() } } + /// Updates the generative settings for the agent. + /// The body of the request. + /// Format: `projects//locations//agents//generativeSettings`. + public virtual UpdateGenerativeSettingsRequest UpdateGenerativeSettings(Google.Apis.Dialogflow.v3.Data.GoogleCloudDialogflowCxV3GenerativeSettings body, string name) + { + return new UpdateGenerativeSettingsRequest(service, body, name); + } + + /// Updates the generative settings for the agent. + public class UpdateGenerativeSettingsRequest : DialogflowBaseServiceRequest + { + /// Constructs a new UpdateGenerativeSettings request. + public UpdateGenerativeSettingsRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v3.Data.GoogleCloudDialogflowCxV3GenerativeSettings body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Format: `projects//locations//agents//generativeSettings`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. The mask to control which fields get updated. If the mask is not present, all fields + /// will 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.Dialogflow.v3.Data.GoogleCloudDialogflowCxV3GenerativeSettings Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "updateGenerativeSettings"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v3/{+name}"; + + /// Initializes UpdateGenerativeSettings 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/[^/]+/agents/[^/]+/generativeSettings$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Validates the specified agent and creates or updates validation results. The agent in draft version /// is validated. Please call this API after the training is completed to get the complete validation @@ -9214,6 +9339,13 @@ public class GoogleCloudDialogflowCxV3AdvancedSettings : Google.Apis.Requests.ID [Newtonsoft.Json.JsonPropertyAttribute("audioExportGcsDestination")] public virtual GoogleCloudDialogflowCxV3GcsDestination AudioExportGcsDestination { get; set; } + /// + /// Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter + /// level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dtmfSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings DtmfSettings { get; set; } + /// /// Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech /// logging. Exposed at the following levels: - Agent level. @@ -9225,6 +9357,30 @@ public class GoogleCloudDialogflowCxV3AdvancedSettings : Google.Apis.Requests.ID public virtual string ETag { get; set; } } + /// Define behaviors for DTMF (dual tone multi frequency). + public class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller + /// presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event + /// (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. + /// when 3 is pressed, return the account balance). + /// + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// The digit that terminates a DTMF digit sequence. + [Newtonsoft.Json.JsonPropertyAttribute("finishDigit")] + public virtual string FinishDigit { get; set; } + + /// Max length of DTMF digits. + [Newtonsoft.Json.JsonPropertyAttribute("maxDigits")] + public virtual System.Nullable MaxDigits { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Define behaviors on logging. public class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings : Google.Apis.Requests.IDirectResponseSchema { @@ -9290,6 +9446,10 @@ public class GoogleCloudDialogflowCxV3Agent : Google.Apis.Requests.IDirectRespon [Newtonsoft.Json.JsonPropertyAttribute("enableStackdriverLogging")] public virtual System.Nullable EnableStackdriverLogging { get; set; } + /// Gen App Builder-related agent-level settings. + [Newtonsoft.Json.JsonPropertyAttribute("genAppBuilderSettings")] + public virtual GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings GenAppBuilderSettings { get; set; } + /// Git integration settings for this agent. [Newtonsoft.Json.JsonPropertyAttribute("gitIntegrationSettings")] public virtual GoogleCloudDialogflowCxV3AgentGitIntegrationSettings GitIntegrationSettings { get; set; } @@ -9348,6 +9508,20 @@ public class GoogleCloudDialogflowCxV3Agent : Google.Apis.Requests.IDirectRespon public virtual string ETag { get; set; } } + /// Settings for Gen App Builder. + public class GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The full name of the Gen App Builder engine related to this agent if there is one. Format: + /// `projects/{Project ID}/locations/{Location ID}/collections/{Collection ID}/engines/{Engine ID}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("engine")] + public virtual string Engine { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Settings for connecting to Git repository for an agent. public class GoogleCloudDialogflowCxV3AgentGitIntegrationSettings : Google.Apis.Requests.IDirectResponseSchema { @@ -10932,6 +11106,13 @@ public class GoogleCloudDialogflowCxV3ExportTestCasesResponse : Google.Apis.Requ /// public class GoogleCloudDialogflowCxV3Flow : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings + /// exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// /// The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected. /// @@ -11079,6 +11260,13 @@ public class GoogleCloudDialogflowCxV3Form : Google.Apis.Requests.IDirectRespons /// Represents a form parameter. public class GoogleCloudDialogflowCxV3FormParameter : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// /// The default value of an optional parameter. If the parameter is required, the default value will be ignored. /// @@ -11219,10 +11407,25 @@ public class GoogleCloudDialogflowCxV3FulfillIntentResponse : Google.Apis.Reques /// public class GoogleCloudDialogflowCxV3Fulfillment : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// Conditional cases for this fulfillment. [Newtonsoft.Json.JsonPropertyAttribute("conditionalCases")] public virtual System.Collections.Generic.IList ConditionalCases { get; set; } + /// + /// If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the + /// defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated + /// with no-match event handlers. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableGenerativeFallback")] + public virtual System.Nullable EnableGenerativeFallback { get; set; } + /// The list of rich message responses to present to the user. [Newtonsoft.Json.JsonPropertyAttribute("messages")] public virtual System.Collections.Generic.IList Messages { get; set; } @@ -11342,6 +11545,111 @@ public class GoogleCloudDialogflowCxV3GcsDestination : Google.Apis.Requests.IDir public virtual string ETag { get; set; } } + /// Settings for Generative AI. + public class GoogleCloudDialogflowCxV3GenerativeSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// Settings for Generative Fallback. + [Newtonsoft.Json.JsonPropertyAttribute("fallbackSettings")] + public virtual GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings FallbackSettings { get; set; } + + /// Settings for Generative Safety. + [Newtonsoft.Json.JsonPropertyAttribute("generativeSafetySettings")] + public virtual GoogleCloudDialogflowCxV3SafetySettings GenerativeSafetySettings { get; set; } + + /// Settings for knowledge connector. + [Newtonsoft.Json.JsonPropertyAttribute("knowledgeConnectorSettings")] + public virtual GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings KnowledgeConnectorSettings { get; set; } + + /// Language for this settings. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Format: `projects//locations//agents//generativeSettings`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Settings for Generative Fallback. + public class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user + /// defined ones. + /// + [Newtonsoft.Json.JsonPropertyAttribute("promptTemplates")] + public virtual System.Collections.Generic.IList PromptTemplates { get; set; } + + /// Display name of the selected prompt. + [Newtonsoft.Json.JsonPropertyAttribute("selectedPrompt")] + public virtual string SelectedPrompt { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Prompt template. + public class GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate : Google.Apis.Requests.IDirectResponseSchema + { + /// Prompt name. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// If the flag is true, the prompt is frozen and cannot be modified by users. + [Newtonsoft.Json.JsonPropertyAttribute("frozen")] + public virtual System.Nullable Frozen { get; set; } + + /// + /// Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream. For example: + /// "Here is a conversation $conversation, a response is: " + /// + [Newtonsoft.Json.JsonPropertyAttribute("promptText")] + public virtual string PromptText { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Settings for knowledge connector. These parameters are used for LLM prompt like "You are . You are a helpful and + /// verbose at , . Your task is to help humans on ". + /// + public class GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// Name of the virtual agent. Used for LLM prompt. Can be left empty. + [Newtonsoft.Json.JsonPropertyAttribute("agent")] + public virtual string Agent { get; set; } + + /// Identity of the agent, e.g. "virtual agent", "AI assistant". + [Newtonsoft.Json.JsonPropertyAttribute("agentIdentity")] + public virtual string AgentIdentity { get; set; } + + /// + /// Agent scope, e.g. "Example company website", "internal Example company website for employees", "manual of + /// car owner". + /// + [Newtonsoft.Json.JsonPropertyAttribute("agentScope")] + public virtual string AgentScope { get; set; } + + /// + /// Name of the company, organization or other entity that the agent represents. Used for knowledge connector + /// LLM prompt and for knowledge search. + /// + [Newtonsoft.Json.JsonPropertyAttribute("business")] + public virtual string Business { get; set; } + + /// + /// Company description, used for LLM prompt, e.g. "a family company selling freshly roasted coffee beans". + /// + [Newtonsoft.Json.JsonPropertyAttribute("businessDescription")] + public virtual string BusinessDescription { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Metadata in google::longrunning::Operation for Knowledge operations. public class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -12299,6 +12607,13 @@ public class GoogleCloudDialogflowCxV3OutputAudioConfig : Google.Apis.Requests.I /// public class GoogleCloudDialogflowCxV3Page : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings + /// exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// Required. The human-readable name of the page, unique within the flow. [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } @@ -12590,6 +12905,15 @@ public class GoogleCloudDialogflowCxV3QueryParameters : Google.Apis.Requests.IDi /// Represents the result of a conversational query. public class GoogleCloudDialogflowCxV3QueryResult : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Returns the current advanced settings including IVR settings. Even though the operations configured by these + /// settings are performed by Dialogflow, the client may need to perform special logic at the moment. For + /// example, if Dialogflow exports audio to Google Cloud Storage, then the client may need to wait for the + /// resulting object to appear in the bucket before proceeding. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// /// The current Page. Some, not all fields are filled in this message, including but not limited to `name` and /// `display_name`. @@ -13204,6 +13528,32 @@ public class GoogleCloudDialogflowCxV3RunTestCaseResponse : Google.Apis.Requests public virtual string ETag { get; set; } } + /// Settings for Generative Safety. + public class GoogleCloudDialogflowCxV3SafetySettings : Google.Apis.Requests.IDirectResponseSchema + { + /// Banned phrases for generated text. + [Newtonsoft.Json.JsonPropertyAttribute("bannedPhrases")] + public virtual System.Collections.Generic.IList BannedPhrases { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Text input which can be used for prompt or banned phrases. + public class GoogleCloudDialogflowCxV3SafetySettingsPhrase : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Language code of the phrase. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Required. Text input which can be used for prompt or banned phrases. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Represents the settings related to security issues, such as data redaction and data retention. It may take hours /// for updates on the settings to propagate to all the related components and take effect. @@ -13278,6 +13628,10 @@ public class GoogleCloudDialogflowCxV3SecuritySettings : Google.Apis.Requests.ID [Newtonsoft.Json.JsonPropertyAttribute("redactionStrategy")] public virtual string RedactionStrategy { get; set; } + /// Specifies the retention behavior defined by SecuritySettings.RetentionStrategy. + [Newtonsoft.Json.JsonPropertyAttribute("retentionStrategy")] + public virtual string RetentionStrategy { get; set; } + /// /// Retains the data for the specified number of days. User must set a value lower than Dialogflow's default /// 365d TTL (30 days for Agent Assist traffic), higher value will be ignored and use default. Setting a value @@ -14603,6 +14957,80 @@ public class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig : Google.Api public virtual string ETag { get; set; } } + /// + /// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level + /// overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the + /// playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the + /// agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. + /// DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: + /// Agent-&gt;Flow-&gt;Page-&gt;Fulfillment/Parameter. + /// + public class GoogleCloudDialogflowCxV3beta1AdvancedSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. + /// Exposed at the following levels: - Agent level - Flow level + /// + [Newtonsoft.Json.JsonPropertyAttribute("audioExportGcsDestination")] + public virtual GoogleCloudDialogflowCxV3beta1GcsDestination AudioExportGcsDestination { get; set; } + + /// + /// Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter + /// level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dtmfSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings DtmfSettings { get; set; } + + /// + /// Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech + /// logging. Exposed at the following levels: - Agent level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("loggingSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings LoggingSettings { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors for DTMF (dual tone multi frequency). + public class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller + /// presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event + /// (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. + /// when 3 is pressed, return the account balance). + /// + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// The digit that terminates a DTMF digit sequence. + [Newtonsoft.Json.JsonPropertyAttribute("finishDigit")] + public virtual string FinishDigit { get; set; } + + /// Max length of DTMF digits. + [Newtonsoft.Json.JsonPropertyAttribute("maxDigits")] + public virtual System.Nullable MaxDigits { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors on logging. + public class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// If true, DF Interaction logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableInteractionLogging")] + public virtual System.Nullable EnableInteractionLogging { get; set; } + + /// If true, StackDriver logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableStackdriverLogging")] + public virtual System.Nullable EnableStackdriverLogging { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Represents the natural speech audio to be processed. public class GoogleCloudDialogflowCxV3beta1AudioInput : Google.Apis.Requests.IDirectResponseSchema { @@ -15176,6 +15604,13 @@ public class GoogleCloudDialogflowCxV3beta1Form : Google.Apis.Requests.IDirectRe /// Represents a form parameter. public class GoogleCloudDialogflowCxV3beta1FormParameter : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// /// The default value of an optional parameter. If the parameter is required, the default value will be ignored. /// @@ -15263,10 +15698,25 @@ public class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior : Google.Ap /// public class GoogleCloudDialogflowCxV3beta1Fulfillment : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// Conditional cases for this fulfillment. [Newtonsoft.Json.JsonPropertyAttribute("conditionalCases")] public virtual System.Collections.Generic.IList ConditionalCases { get; set; } + /// + /// If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the + /// defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated + /// with no-match event handlers. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableGenerativeFallback")] + public virtual System.Nullable EnableGenerativeFallback { get; set; } + /// The list of rich message responses to present to the user. [Newtonsoft.Json.JsonPropertyAttribute("messages")] public virtual System.Collections.Generic.IList Messages { get; set; } @@ -15368,6 +15818,24 @@ public class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction : Googl public virtual string ETag { get; set; } } + /// + /// Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or + /// transcripts) outside of Dialogflow. + /// + public class GoogleCloudDialogflowCxV3beta1GcsDestination : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: + /// `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the + /// Dialogflow operation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Metadata in google::longrunning::Operation for Knowledge operations. public class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -15706,6 +16174,13 @@ public class GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings : Google.A /// public class GoogleCloudDialogflowCxV3beta1Page : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings + /// exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// Required. The human-readable name of the page, unique within the flow. [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } diff --git a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj index 1609cfcec81..eb09c78dbc6 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v3 Client Library - 1.62.0.3154 + 1.62.0.3170 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs index fee82a31b96..5215ec5d198 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs @@ -7910,6 +7910,63 @@ protected override void InitParameters() } } + /// Gets the generative settings for the agent. + /// Required. Format: `projects//locations//agents//generativeSettings`. + public virtual GetGenerativeSettingsRequest GetGenerativeSettings(string name) + { + return new GetGenerativeSettingsRequest(service, name); + } + + /// Gets the generative settings for the agent. + public class GetGenerativeSettingsRequest : DialogflowBaseServiceRequest + { + /// Constructs a new GetGenerativeSettings request. + public GetGenerativeSettingsRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. Format: `projects//locations//agents//generativeSettings`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Required. Language code of the generative settings. + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + /// Gets the method name. + public override string MethodName => "getGenerativeSettings"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v3beta1/{+name}"; + + /// Initializes GetGenerativeSettings 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/[^/]+/agents/[^/]+/generativeSettings$", + }); + RequestParameters.Add("languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called. /// @@ -8209,6 +8266,74 @@ protected override void InitParameters() } } + /// Updates the generative settings for the agent. + /// The body of the request. + /// Format: `projects//locations//agents//generativeSettings`. + public virtual UpdateGenerativeSettingsRequest UpdateGenerativeSettings(Google.Apis.Dialogflow.v3beta1.Data.GoogleCloudDialogflowCxV3beta1GenerativeSettings body, string name) + { + return new UpdateGenerativeSettingsRequest(service, body, name); + } + + /// Updates the generative settings for the agent. + public class UpdateGenerativeSettingsRequest : DialogflowBaseServiceRequest + { + /// Constructs a new UpdateGenerativeSettings request. + public UpdateGenerativeSettingsRequest(Google.Apis.Services.IClientService service, Google.Apis.Dialogflow.v3beta1.Data.GoogleCloudDialogflowCxV3beta1GenerativeSettings body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Format: `projects//locations//agents//generativeSettings`. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. The mask to control which fields get updated. If the mask is not present, all fields + /// will 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.Dialogflow.v3beta1.Data.GoogleCloudDialogflowCxV3beta1GenerativeSettings Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "updateGenerativeSettings"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v3beta1/{+name}"; + + /// Initializes UpdateGenerativeSettings 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/[^/]+/agents/[^/]+/generativeSettings$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Validates the specified agent and creates or updates validation results. The agent in draft version /// is validated. Please call this API after the training is completed to get the complete validation @@ -9169,6 +9294,80 @@ protected override void InitParameters() } namespace Google.Apis.Dialogflow.v3beta1.Data { + /// + /// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level + /// overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the + /// playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the + /// agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. + /// DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: + /// Agent-&gt;Flow-&gt;Page-&gt;Fulfillment/Parameter. + /// + public class GoogleCloudDialogflowCxV3AdvancedSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. + /// Exposed at the following levels: - Agent level - Flow level + /// + [Newtonsoft.Json.JsonPropertyAttribute("audioExportGcsDestination")] + public virtual GoogleCloudDialogflowCxV3GcsDestination AudioExportGcsDestination { get; set; } + + /// + /// Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter + /// level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dtmfSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings DtmfSettings { get; set; } + + /// + /// Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech + /// logging. Exposed at the following levels: - Agent level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("loggingSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings LoggingSettings { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors for DTMF (dual tone multi frequency). + public class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller + /// presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event + /// (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. + /// when 3 is pressed, return the account balance). + /// + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// The digit that terminates a DTMF digit sequence. + [Newtonsoft.Json.JsonPropertyAttribute("finishDigit")] + public virtual string FinishDigit { get; set; } + + /// Max length of DTMF digits. + [Newtonsoft.Json.JsonPropertyAttribute("maxDigits")] + public virtual System.Nullable MaxDigits { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Define behaviors on logging. + public class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// If true, DF Interaction logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableInteractionLogging")] + public virtual System.Nullable EnableInteractionLogging { get; set; } + + /// If true, StackDriver logging is currently enabled. + [Newtonsoft.Json.JsonPropertyAttribute("enableStackdriverLogging")] + public virtual System.Nullable EnableStackdriverLogging { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Represents the natural speech audio to be processed. public class GoogleCloudDialogflowCxV3AudioInput : Google.Apis.Requests.IDirectResponseSchema { @@ -9742,6 +9941,13 @@ public class GoogleCloudDialogflowCxV3Form : Google.Apis.Requests.IDirectRespons /// Represents a form parameter. public class GoogleCloudDialogflowCxV3FormParameter : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// /// The default value of an optional parameter. If the parameter is required, the default value will be ignored. /// @@ -9829,10 +10035,25 @@ public class GoogleCloudDialogflowCxV3FormParameterFillBehavior : Google.Apis.Re /// public class GoogleCloudDialogflowCxV3Fulfillment : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// Conditional cases for this fulfillment. [Newtonsoft.Json.JsonPropertyAttribute("conditionalCases")] public virtual System.Collections.Generic.IList ConditionalCases { get; set; } + /// + /// If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the + /// defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated + /// with no-match event handlers. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableGenerativeFallback")] + public virtual System.Nullable EnableGenerativeFallback { get; set; } + /// The list of rich message responses to present to the user. [Newtonsoft.Json.JsonPropertyAttribute("messages")] public virtual System.Collections.Generic.IList Messages { get; set; } @@ -9934,6 +10155,24 @@ public class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction : Google.Api public virtual string ETag { get; set; } } + /// + /// Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or + /// transcripts) outside of Dialogflow. + /// + public class GoogleCloudDialogflowCxV3GcsDestination : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The Google Cloud Storage URI for the exported objects. A URI is of the form: + /// `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the + /// Dialogflow operation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uri")] + public virtual string Uri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Metadata in google::longrunning::Operation for Knowledge operations. public class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -10272,6 +10511,13 @@ public class GoogleCloudDialogflowCxV3KnowledgeConnectorSettings : Google.Apis.R /// public class GoogleCloudDialogflowCxV3Page : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings + /// exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3AdvancedSettings AdvancedSettings { get; set; } + /// Required. The human-readable name of the page, unique within the flow. [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } @@ -11539,6 +11785,13 @@ public class GoogleCloudDialogflowCxV3beta1AdvancedSettings : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("audioExportGcsDestination")] public virtual GoogleCloudDialogflowCxV3beta1GcsDestination AudioExportGcsDestination { get; set; } + /// + /// Settings for DTMF. Exposed at the following levels: - Agent level - Flow level - Page level - Parameter + /// level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dtmfSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings DtmfSettings { get; set; } + /// /// Settings for logging. Settings for Dialogflow History, Contact Center messages, StackDriver logs, and speech /// logging. Exposed at the following levels: - Agent level. @@ -11550,6 +11803,30 @@ public class GoogleCloudDialogflowCxV3beta1AdvancedSettings : Google.Apis.Reques public virtual string ETag { get; set; } } + /// Define behaviors for DTMF (dual tone multi frequency). + public class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller + /// presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event + /// (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. + /// when 3 is pressed, return the account balance). + /// + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// The digit that terminates a DTMF digit sequence. + [Newtonsoft.Json.JsonPropertyAttribute("finishDigit")] + public virtual string FinishDigit { get; set; } + + /// Max length of DTMF digits. + [Newtonsoft.Json.JsonPropertyAttribute("maxDigits")] + public virtual System.Nullable MaxDigits { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Define behaviors on logging. public class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings : Google.Apis.Requests.IDirectResponseSchema { @@ -11615,6 +11892,10 @@ public class GoogleCloudDialogflowCxV3beta1Agent : Google.Apis.Requests.IDirectR [Newtonsoft.Json.JsonPropertyAttribute("enableStackdriverLogging")] public virtual System.Nullable EnableStackdriverLogging { get; set; } + /// Gen App Builder-related agent-level settings. + [Newtonsoft.Json.JsonPropertyAttribute("genAppBuilderSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings GenAppBuilderSettings { get; set; } + /// Git integration settings for this agent. [Newtonsoft.Json.JsonPropertyAttribute("gitIntegrationSettings")] public virtual GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings GitIntegrationSettings { get; set; } @@ -11673,6 +11954,20 @@ public class GoogleCloudDialogflowCxV3beta1Agent : Google.Apis.Requests.IDirectR public virtual string ETag { get; set; } } + /// Settings for Gen App Builder. + public class GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The full name of the Gen App Builder engine related to this agent if there is one. Format: + /// `projects/{Project ID}/locations/{Location ID}/collections/{Collection ID}/engines/{Engine ID}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("engine")] + public virtual string Engine { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Settings for connecting to Git repository for an agent. public class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings : Google.Apis.Requests.IDirectResponseSchema { @@ -13257,6 +13552,13 @@ public class GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse : Google.Apis /// public class GoogleCloudDialogflowCxV3beta1Flow : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings + /// exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// /// The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected. /// @@ -13405,6 +13707,13 @@ public class GoogleCloudDialogflowCxV3beta1Form : Google.Apis.Requests.IDirectRe /// Represents a form parameter. public class GoogleCloudDialogflowCxV3beta1FormParameter : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// /// The default value of an optional parameter. If the parameter is required, the default value will be ignored. /// @@ -13545,10 +13854,25 @@ public class GoogleCloudDialogflowCxV3beta1FulfillIntentResponse : Google.Apis.R /// public class GoogleCloudDialogflowCxV3beta1Fulfillment : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this fulfillment. The settings exposed at the lower level overrides the + /// settings exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// Conditional cases for this fulfillment. [Newtonsoft.Json.JsonPropertyAttribute("conditionalCases")] public virtual System.Collections.Generic.IList ConditionalCases { get; set; } + /// + /// If the flag is true, the agent will utilize LLM to generate a text response. If LLM generation fails, the + /// defined responses in the fulfillment will be respected. This flag is only useful for fulfillments associated + /// with no-match event handlers. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableGenerativeFallback")] + public virtual System.Nullable EnableGenerativeFallback { get; set; } + /// The list of rich message responses to present to the user. [Newtonsoft.Json.JsonPropertyAttribute("messages")] public virtual System.Collections.Generic.IList Messages { get; set; } @@ -13668,6 +13992,111 @@ public class GoogleCloudDialogflowCxV3beta1GcsDestination : Google.Apis.Requests public virtual string ETag { get; set; } } + /// Settings for Generative AI. + public class GoogleCloudDialogflowCxV3beta1GenerativeSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// Settings for Generative Fallback. + [Newtonsoft.Json.JsonPropertyAttribute("fallbackSettings")] + public virtual GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings FallbackSettings { get; set; } + + /// Settings for Generative Safety. + [Newtonsoft.Json.JsonPropertyAttribute("generativeSafetySettings")] + public virtual GoogleCloudDialogflowCxV3beta1SafetySettings GenerativeSafetySettings { get; set; } + + /// Settings for knowledge connector. + [Newtonsoft.Json.JsonPropertyAttribute("knowledgeConnectorSettings")] + public virtual GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings KnowledgeConnectorSettings { get; set; } + + /// Language for this settings. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Format: `projects//locations//agents//generativeSettings`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Settings for Generative Fallback. + public class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user + /// defined ones. + /// + [Newtonsoft.Json.JsonPropertyAttribute("promptTemplates")] + public virtual System.Collections.Generic.IList PromptTemplates { get; set; } + + /// Display name of the selected prompt. + [Newtonsoft.Json.JsonPropertyAttribute("selectedPrompt")] + public virtual string SelectedPrompt { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Prompt template. + public class GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate : Google.Apis.Requests.IDirectResponseSchema + { + /// Prompt name. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// If the flag is true, the prompt is frozen and cannot be modified by users. + [Newtonsoft.Json.JsonPropertyAttribute("frozen")] + public virtual System.Nullable Frozen { get; set; } + + /// + /// Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream. For example: + /// "Here is a conversation $conversation, a response is: " + /// + [Newtonsoft.Json.JsonPropertyAttribute("promptText")] + public virtual string PromptText { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Settings for knowledge connector. These parameters are used for LLM prompt like "You are . You are a helpful and + /// verbose at , . Your task is to help humans on ". + /// + public class GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// Name of the virtual agent. Used for LLM prompt. Can be left empty. + [Newtonsoft.Json.JsonPropertyAttribute("agent")] + public virtual string Agent { get; set; } + + /// Identity of the agent, e.g. "virtual agent", "AI assistant". + [Newtonsoft.Json.JsonPropertyAttribute("agentIdentity")] + public virtual string AgentIdentity { get; set; } + + /// + /// Agent scope, e.g. "Example company website", "internal Example company website for employees", "manual of + /// car owner". + /// + [Newtonsoft.Json.JsonPropertyAttribute("agentScope")] + public virtual string AgentScope { get; set; } + + /// + /// Name of the company, organization or other entity that the agent represents. Used for knowledge connector + /// LLM prompt and for knowledge search. + /// + [Newtonsoft.Json.JsonPropertyAttribute("business")] + public virtual string Business { get; set; } + + /// + /// Company description, used for LLM prompt, e.g. "a family company selling freshly roasted coffee beans". + /// + [Newtonsoft.Json.JsonPropertyAttribute("businessDescription")] + public virtual string BusinessDescription { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Metadata in google::longrunning::Operation for Knowledge operations. public class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -14625,6 +15054,13 @@ public class GoogleCloudDialogflowCxV3beta1OutputAudioConfig : Google.Apis.Reque /// public class GoogleCloudDialogflowCxV3beta1Page : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Hierarchical advanced settings for this page. The settings exposed at the lower level overrides the settings + /// exposed at the higher level. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// Required. The human-readable name of the page, unique within the flow. [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } @@ -14916,6 +15352,15 @@ public class GoogleCloudDialogflowCxV3beta1QueryParameters : Google.Apis.Request /// Represents the result of a conversational query. public class GoogleCloudDialogflowCxV3beta1QueryResult : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Returns the current advanced settings including IVR settings. Even though the operations configured by these + /// settings are performed by Dialogflow, the client may need to perform special logic at the moment. For + /// example, if Dialogflow exports audio to Google Cloud Storage, then the client may need to wait for the + /// resulting object to appear in the bucket before proceeding. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedSettings")] + public virtual GoogleCloudDialogflowCxV3beta1AdvancedSettings AdvancedSettings { get; set; } + /// /// The current Page. Some, not all fields are filled in this message, including but not limited to `name` and /// `display_name`. @@ -15526,6 +15971,32 @@ public class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse : Google.Apis.Req public virtual string ETag { get; set; } } + /// Settings for Generative Safety. + public class GoogleCloudDialogflowCxV3beta1SafetySettings : Google.Apis.Requests.IDirectResponseSchema + { + /// Banned phrases for generated text. + [Newtonsoft.Json.JsonPropertyAttribute("bannedPhrases")] + public virtual System.Collections.Generic.IList BannedPhrases { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Text input which can be used for prompt or banned phrases. + public class GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Language code of the phrase. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Required. Text input which can be used for prompt or banned phrases. + [Newtonsoft.Json.JsonPropertyAttribute("text")] + public virtual string Text { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Represents the settings related to security issues, such as data redaction and data retention. It may take hours /// for updates on the settings to propagate to all the related components and take effect. @@ -15600,6 +16071,10 @@ public class GoogleCloudDialogflowCxV3beta1SecuritySettings : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("redactionStrategy")] public virtual string RedactionStrategy { get; set; } + /// Specifies the retention behavior defined by SecuritySettings.RetentionStrategy. + [Newtonsoft.Json.JsonPropertyAttribute("retentionStrategy")] + public virtual string RetentionStrategy { get; set; } + /// /// Retains data in interaction logging for the specified number of days. This does not apply to Cloud logging, /// which is owned by the user - not Dialogflow. User must set a value lower than Dialogflow's default 365d TTL diff --git a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj index a52f68a963e..e136056ea3c 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v3beta1 Client Library - 1.62.0.3154 + 1.62.0.3170 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs index eba7e202224..d9d8f0c716f 100644 --- a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs +++ b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs @@ -5237,11 +5237,11 @@ public class RRSetRoutingPolicy : Google.Apis.Requests.IDirectResponseSchema public class RRSetRoutingPolicyGeoPolicy : Google.Apis.Requests.IDirectResponseSchema { /// - /// Without fencing, if health check fails for all configured items in the current geo bucket, we'll failover to - /// the next nearest geo bucket. With fencing, if health check is enabled, as long as some targets in the - /// current geo bucket are healthy, we'll return only the healthy targets. However, if they're all unhealthy, we - /// won't failover to the next nearest bucket, we'll simply return all the items in the current bucket even - /// though they're unhealthy. + /// Without fencing, if health check fails for all configured items in the current geo bucket, we failover to + /// the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the + /// current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, + /// we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even + /// when all targets are unhealthy. /// [Newtonsoft.Json.JsonPropertyAttribute("enableFencing")] public virtual System.Nullable EnableFencing { get; set; } @@ -5284,8 +5284,8 @@ public class RRSetRoutingPolicyGeoPolicyGeoPolicyItem : Google.Apis.Requests.IDi public virtual System.Collections.Generic.IList Rrdatas { get; set; } /// - /// DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are - /// provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. . + /// DNSSEC generated signatures for all the rrdata within this item. If health checked targets are provided for + /// DNSSEC enabled zones, there's a restriction of 1 IP address per item. /// [Newtonsoft.Json.JsonPropertyAttribute("signatureRrdatas")] public virtual System.Collections.Generic.IList SignatureRrdatas { get; set; } @@ -5307,12 +5307,14 @@ public class RRSetRoutingPolicyHealthCheckTargets : Google.Apis.Requests.IDirect public virtual string ETag { get; set; } } + /// The configuration for an individual load balancer to health check. public class RRSetRoutingPolicyLoadBalancerTarget : Google.Apis.Requests.IDirectResponseSchema { - /// The frontend IP address of the Load Balancer to health check. + /// The frontend IP address of the load balancer to health check. [Newtonsoft.Json.JsonPropertyAttribute("ipAddress")] public virtual string IpAddress { get; set; } + /// The protocol of the load balancer to health check. [Newtonsoft.Json.JsonPropertyAttribute("ipProtocol")] public virtual string IpProtocol { get; set; } @@ -5320,28 +5322,31 @@ public class RRSetRoutingPolicyLoadBalancerTarget : Google.Apis.Requests.IDirect public virtual string Kind { get; set; } /// - /// The type of Load Balancer specified by this target. Must match the configuration of the Load Balancer - /// located at the LoadBalancerTarget's IP address/port and region. + /// The type of load balancer specified by this target. This value must match the configuration of the load + /// balancer located at the LoadBalancerTarget's IP address, port, and region. Use the following: - + /// *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a + /// regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load + /// Balancer. /// [Newtonsoft.Json.JsonPropertyAttribute("loadBalancerType")] public virtual string LoadBalancerType { get; set; } /// - /// The fully qualified url of the network on which the ILB is present. This should be formatted like - /// https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} + /// The fully qualified URL of the network that the load balancer is attached to. This should be formatted like + /// https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} . /// [Newtonsoft.Json.JsonPropertyAttribute("networkUrl")] public virtual string NetworkUrl { get; set; } - /// The configured port of the Load Balancer. + /// The configured port of the load balancer. [Newtonsoft.Json.JsonPropertyAttribute("port")] public virtual string Port { get; set; } - /// The project ID in which the ILB exists. + /// The project ID in which the load balancer is located. [Newtonsoft.Json.JsonPropertyAttribute("project")] public virtual string Project { get; set; } - /// The region in which the ILB exists. + /// The region in which the load balancer is located. [Newtonsoft.Json.JsonPropertyAttribute("region")] public virtual string Region { get; set; } @@ -5365,6 +5370,10 @@ public class RRSetRoutingPolicyPrimaryBackupPolicy : Google.Apis.Requests.IDirec [Newtonsoft.Json.JsonPropertyAttribute("kind")] public virtual string Kind { get; set; } + /// + /// Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from + /// the results. If all endpoints are unhealthy, we serve a response based on the backup_geo_targets. + /// [Newtonsoft.Json.JsonPropertyAttribute("primaryTargets")] public virtual RRSetRoutingPolicyHealthCheckTargets PrimaryTargets { get; set; } @@ -5396,10 +5405,10 @@ public class RRSetRoutingPolicyWrrPolicy : Google.Apis.Requests.IDirectResponseS public class RRSetRoutingPolicyWrrPolicyWrrPolicyItem : Google.Apis.Requests.IDirectResponseSchema { /// - /// endpoints that need to be health checked before making the routing decision. The unhealthy endpoints will be - /// omitted from the result. If all endpoints within a buckete are unhealthy, we'll choose a different bucket - /// (sampled w.r.t. its weight) for responding. Note that if DNSSEC is enabled for this zone, only one of rrdata - /// or health_checked_targets can be set. + /// Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted + /// from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with + /// respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of rrdata or + /// health_checked_targets can be set. /// [Newtonsoft.Json.JsonPropertyAttribute("healthCheckedTargets")] public virtual RRSetRoutingPolicyHealthCheckTargets HealthCheckedTargets { get; set; } @@ -5412,15 +5421,15 @@ public class RRSetRoutingPolicyWrrPolicyWrrPolicyItem : Google.Apis.Requests.IDi /// /// DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are - /// provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. . + /// provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item. /// [Newtonsoft.Json.JsonPropertyAttribute("signatureRrdatas")] public virtual System.Collections.Generic.IList SignatureRrdatas { get; set; } /// - /// The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are - /// configured, the probability of returning an rrset is proportional to its weight relative to the sum of - /// weights configured for all items. This weight should be non-negative. + /// The weight corresponding to this WrrPolicyItem object. When multiple WrrPolicyItem objects are configured, + /// the probability of returning an WrrPolicyItem object's data is proportional to its weight relative to the + /// sum of weights configured for all items. This weight must be non-negative. /// [Newtonsoft.Json.JsonPropertyAttribute("weight")] public virtual System.Nullable Weight { get; set; } @@ -5440,9 +5449,9 @@ public class ResourceRecordSet : Google.Apis.Requests.IDirectResponseSchema public virtual string Name { get; set; } /// - /// Configures dynamic query responses based on geo location of querying user or a weighted round robin based - /// routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An - /// error is returned otherwise. + /// Configures dynamic query responses based on either the geo location of the querying user or a weighted round + /// robin based routing policy. A valid ResourceRecordSet contains only rrdata (for static resolution) or a + /// routing_policy (for dynamic resolution). /// [Newtonsoft.Json.JsonPropertyAttribute("routingPolicy")] public virtual RRSetRoutingPolicy RoutingPolicy { get; set; } @@ -5485,10 +5494,9 @@ public class ResourceRecordSetsListResponse : Google.Apis.Requests.IDirectRespon /// /// The presence of this field indicates that there exist more results following your last page of results in /// pagination order. To fetch them, make another list request using this value as your pagination token. This - /// lets you retrieve complete contents of even larger collections, one page at a time. However, if the contents - /// of the collection change between the first and last paginated list request, the set of elements returned are - /// an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger - /// than the maximum page size. + /// lets you retrieve the complete contents of even larger collections, one page at a time. However, if the + /// collection changes between paginated list requests, the set of elements returned is an inconsistent view of + /// the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size. /// [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } diff --git a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.csproj b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.csproj index ee811d69424..b9e4c53955b 100644 --- a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.csproj +++ b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dns.v1 Client Library - 1.62.0.3140 + 1.62.0.3164 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.cs b/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.cs index f95dda8886a..156b5df692f 100644 --- a/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.cs +++ b/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.cs @@ -5243,11 +5243,11 @@ public class RRSetRoutingPolicy : Google.Apis.Requests.IDirectResponseSchema public class RRSetRoutingPolicyGeoPolicy : Google.Apis.Requests.IDirectResponseSchema { /// - /// Without fencing, if health check fails for all configured items in the current geo bucket, we'll failover to - /// the next nearest geo bucket. With fencing, if health check is enabled, as long as some targets in the - /// current geo bucket are healthy, we'll return only the healthy targets. However, if they're all unhealthy, we - /// won't failover to the next nearest bucket, we'll simply return all the items in the current bucket even - /// though they're unhealthy. + /// Without fencing, if health check fails for all configured items in the current geo bucket, we failover to + /// the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the + /// current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, + /// we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even + /// when all targets are unhealthy. /// [Newtonsoft.Json.JsonPropertyAttribute("enableFencing")] public virtual System.Nullable EnableFencing { get; set; } @@ -5290,8 +5290,8 @@ public class RRSetRoutingPolicyGeoPolicyGeoPolicyItem : Google.Apis.Requests.IDi public virtual System.Collections.Generic.IList Rrdatas { get; set; } /// - /// DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are - /// provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. . + /// DNSSEC generated signatures for all the rrdata within this item. If health checked targets are provided for + /// DNSSEC enabled zones, there's a restriction of 1 IP address per item. /// [Newtonsoft.Json.JsonPropertyAttribute("signatureRrdatas")] public virtual System.Collections.Generic.IList SignatureRrdatas { get; set; } @@ -5313,12 +5313,14 @@ public class RRSetRoutingPolicyHealthCheckTargets : Google.Apis.Requests.IDirect public virtual string ETag { get; set; } } + /// The configuration for an individual load balancer to health check. public class RRSetRoutingPolicyLoadBalancerTarget : Google.Apis.Requests.IDirectResponseSchema { - /// The frontend IP address of the Load Balancer to health check. + /// The frontend IP address of the load balancer to health check. [Newtonsoft.Json.JsonPropertyAttribute("ipAddress")] public virtual string IpAddress { get; set; } + /// The protocol of the load balancer to health check. [Newtonsoft.Json.JsonPropertyAttribute("ipProtocol")] public virtual string IpProtocol { get; set; } @@ -5326,28 +5328,31 @@ public class RRSetRoutingPolicyLoadBalancerTarget : Google.Apis.Requests.IDirect public virtual string Kind { get; set; } /// - /// The type of Load Balancer specified by this target. Must match the configuration of the Load Balancer - /// located at the LoadBalancerTarget's IP address/port and region. + /// The type of load balancer specified by this target. This value must match the configuration of the load + /// balancer located at the LoadBalancerTarget's IP address, port, and region. Use the following: - + /// *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a + /// regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load + /// Balancer. /// [Newtonsoft.Json.JsonPropertyAttribute("loadBalancerType")] public virtual string LoadBalancerType { get; set; } /// - /// The fully qualified url of the network on which the ILB is present. This should be formatted like - /// https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} + /// The fully qualified URL of the network that the load balancer is attached to. This should be formatted like + /// https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} . /// [Newtonsoft.Json.JsonPropertyAttribute("networkUrl")] public virtual string NetworkUrl { get; set; } - /// The configured port of the Load Balancer. + /// The configured port of the load balancer. [Newtonsoft.Json.JsonPropertyAttribute("port")] public virtual string Port { get; set; } - /// The project ID in which the ILB exists. + /// The project ID in which the load balancer is located. [Newtonsoft.Json.JsonPropertyAttribute("project")] public virtual string Project { get; set; } - /// The region in which the ILB exists. + /// The region in which the load balancer is located. [Newtonsoft.Json.JsonPropertyAttribute("region")] public virtual string Region { get; set; } @@ -5371,6 +5376,10 @@ public class RRSetRoutingPolicyPrimaryBackupPolicy : Google.Apis.Requests.IDirec [Newtonsoft.Json.JsonPropertyAttribute("kind")] public virtual string Kind { get; set; } + /// + /// Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from + /// the results. If all endpoints are unhealthy, we serve a response based on the backup_geo_targets. + /// [Newtonsoft.Json.JsonPropertyAttribute("primaryTargets")] public virtual RRSetRoutingPolicyHealthCheckTargets PrimaryTargets { get; set; } @@ -5402,10 +5411,10 @@ public class RRSetRoutingPolicyWrrPolicy : Google.Apis.Requests.IDirectResponseS public class RRSetRoutingPolicyWrrPolicyWrrPolicyItem : Google.Apis.Requests.IDirectResponseSchema { /// - /// endpoints that need to be health checked before making the routing decision. The unhealthy endpoints will be - /// omitted from the result. If all endpoints within a buckete are unhealthy, we'll choose a different bucket - /// (sampled w.r.t. its weight) for responding. Note that if DNSSEC is enabled for this zone, only one of rrdata - /// or health_checked_targets can be set. + /// Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted + /// from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with + /// respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of rrdata or + /// health_checked_targets can be set. /// [Newtonsoft.Json.JsonPropertyAttribute("healthCheckedTargets")] public virtual RRSetRoutingPolicyHealthCheckTargets HealthCheckedTargets { get; set; } @@ -5418,15 +5427,15 @@ public class RRSetRoutingPolicyWrrPolicyWrrPolicyItem : Google.Apis.Requests.IDi /// /// DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are - /// provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. . + /// provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item. /// [Newtonsoft.Json.JsonPropertyAttribute("signatureRrdatas")] public virtual System.Collections.Generic.IList SignatureRrdatas { get; set; } /// - /// The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are - /// configured, the probability of returning an rrset is proportional to its weight relative to the sum of - /// weights configured for all items. This weight should be non-negative. + /// The weight corresponding to this WrrPolicyItem object. When multiple WrrPolicyItem objects are configured, + /// the probability of returning an WrrPolicyItem object's data is proportional to its weight relative to the + /// sum of weights configured for all items. This weight must be non-negative. /// [Newtonsoft.Json.JsonPropertyAttribute("weight")] public virtual System.Nullable Weight { get; set; } @@ -5446,9 +5455,9 @@ public class ResourceRecordSet : Google.Apis.Requests.IDirectResponseSchema public virtual string Name { get; set; } /// - /// Configures dynamic query responses based on geo location of querying user or a weighted round robin based - /// routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An - /// error is returned otherwise. + /// Configures dynamic query responses based on either the geo location of the querying user or a weighted round + /// robin based routing policy. A valid ResourceRecordSet contains only rrdata (for static resolution) or a + /// routing_policy (for dynamic resolution). /// [Newtonsoft.Json.JsonPropertyAttribute("routingPolicy")] public virtual RRSetRoutingPolicy RoutingPolicy { get; set; } @@ -5485,10 +5494,9 @@ public class ResourceRecordSetsListResponse : Google.Apis.Requests.IDirectRespon /// /// The presence of this field indicates that there exist more results following your last page of results in /// pagination order. To fetch them, make another list request using this value as your pagination token. This - /// lets you retrieve complete contents of even larger collections, one page at a time. However, if the contents - /// of the collection change between the first and last paginated list request, the set of elements returned are - /// an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger - /// than the maximum page size. + /// lets you retrieve the complete contents of even larger collections, one page at a time. However, if the + /// collection changes between paginated list requests, the set of elements returned is an inconsistent view of + /// the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size. /// [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } diff --git a/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.csproj b/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.csproj index 7a7aa9204b7..4a7c6cfa528 100644 --- a/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.Dns.v1beta2 Client Library - 1.62.0.3140 + 1.62.0.3164 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.cs b/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.cs index 8b8c524b0a3..bfe75fc61ca 100644 --- a/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.cs +++ b/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.cs @@ -5343,9 +5343,7 @@ public class GoogleCloudDocumentaiV1OcrConfig : Google.Apis.Requests.IDirectResp [Newtonsoft.Json.JsonPropertyAttribute("advancedOcrOptions")] public virtual System.Collections.Generic.IList AdvancedOcrOptions { get; set; } - /// - /// Turn on font id model and returns font style information. Use PremiumFeatures.compute_style_info instead. - /// + /// Turn on font identification model and return font style information. [Newtonsoft.Json.JsonPropertyAttribute("computeStyleInfo")] public virtual System.Nullable ComputeStyleInfo { get; set; } @@ -5757,7 +5755,7 @@ public class GoogleCloudDocumentaiV1RawDocument : Google.Apis.Requests.IDirectRe /// /// The display name of the document, it supports all Unicode characters except the following: `*`, `?`, `[`, - /// `]`, `%`, `{`, `}`,`'`, `\"`, `,` `~`, `=` and `:` are reserved. If not specified, a default ID will be + /// `]`, `%`, `{`, `}`,`'`, `\"`, `,` `~`, `=` and `:` are reserved. If not specified, a default ID is /// generated. /// [Newtonsoft.Json.JsonPropertyAttribute("displayName")] diff --git a/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.csproj b/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.csproj index 4f6867d0c59..b8ba89e6966 100644 --- a/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.csproj +++ b/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Document.v1 Client Library - 1.62.0.3147 + 1.62.0.3164 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.cs b/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.cs index 4f8e5e6bfc9..7047971efc8 100644 --- a/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.cs +++ b/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.cs @@ -9455,16 +9455,16 @@ public class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata : Google } /// - /// The request message for the ImportProcessorVersion method. Requirements: - The Document AI [Service + /// The request message for the ImportProcessorVersion method. The Document AI [Service /// Agent](https://cloud.google.com/iam/docs/service-agents) of the destination project must have [Document AI /// Editor role](https://cloud.google.com/document-ai/docs/access-control/iam-roles) on the source project. The /// destination project is specified as part of the parent field. The source project is specified as part of the - /// source field. + /// source or external_processor_version_source field. /// public class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest : Google.Apis.Requests.IDirectResponseSchema { /// - /// The source processor version to import from, and can be from different environment and region than the + /// The source processor version to import from. It can be from a different environment and region than the /// destination processor. /// [Newtonsoft.Json.JsonPropertyAttribute("externalProcessorVersionSource")] @@ -9605,9 +9605,7 @@ public class GoogleCloudDocumentaiV1beta3OcrConfig : Google.Apis.Requests.IDirec [Newtonsoft.Json.JsonPropertyAttribute("advancedOcrOptions")] public virtual System.Collections.Generic.IList AdvancedOcrOptions { get; set; } - /// - /// Turn on font id model and returns font style information. Use PremiumFeatures.compute_style_info instead. - /// + /// Turn on font identification model and return font style information. [Newtonsoft.Json.JsonPropertyAttribute("computeStyleInfo")] public virtual System.Nullable ComputeStyleInfo { get; set; } @@ -10053,7 +10051,7 @@ public class GoogleCloudDocumentaiV1beta3RawDocument : Google.Apis.Requests.IDir /// /// The display name of the document, it supports all Unicode characters except the following: `*`, `?`, `[`, - /// `]`, `%`, `{`, `}`,`'`, `\"`, `,` `~`, `=` and `:` are reserved. If not specified, a default ID will be + /// `]`, `%`, `{`, `}`,`'`, `\"`, `,` `~`, `=` and `:` are reserved. If not specified, a default ID is /// generated. /// [Newtonsoft.Json.JsonPropertyAttribute("displayName")] @@ -10271,7 +10269,7 @@ public class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse : Go /// Metadata for document summarization. public class GoogleCloudDocumentaiV1beta3SummaryOptions : Google.Apis.Requests.IDirectResponseSchema { - /// What format the summary should be in. + /// The format the summary should be in. [Newtonsoft.Json.JsonPropertyAttribute("format")] public virtual string Format { get; set; } diff --git a/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.csproj b/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.csproj index eecc8803145..0f82ae6de69 100644 --- a/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.csproj +++ b/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.csproj @@ -3,7 +3,7 @@ Google.Apis.Document.v1beta3 Client Library - 1.62.0.3151 + 1.62.0.3164 Google LLC Copyright 2023 Google LLC Google 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 6bf76624f0c..32345714a1e 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 @@ -1215,8 +1215,10 @@ public AvailableLocationsResource(Google.Apis.Services.IClientService service) } /// - /// 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 + /// **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. @@ -1240,8 +1242,10 @@ public virtual ListRequest List(string parent) } /// - /// 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 + /// **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. @@ -1346,8 +1350,9 @@ public DefaultLocationResource(Google.Apis.Services.IClientService service) } /// - /// 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 + /// **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). @@ -1378,8 +1383,9 @@ public virtual FinalizeRequest Finalize(Google.Apis.FirebaseManagement.v1beta1.D } /// - /// 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 + /// **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). @@ -3313,12 +3319,12 @@ public class AddGoogleAnalyticsRequest : Google.Apis.Requests.IDirectResponseSch public class AdminSdkConfig : Google.Apis.Requests.IDirectResponseSchema { - /// The default Firebase Realtime Database URL. [Newtonsoft.Json.JsonPropertyAttribute("databaseURL")] public virtual string DatabaseURL { get; set; } /// - /// The ID of the Project's default GCP resource location. The location is one of the available [GCP resource + /// **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 @@ -3335,7 +3341,13 @@ public class AdminSdkConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("projectId")] public virtual string ProjectId { get; set; } - /// The default Cloud Storage for Firebase storage bucket name. + /// + /// **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. + /// [Newtonsoft.Json.JsonPropertyAttribute("storageBucket")] public virtual string StorageBucket { get; set; } @@ -3530,43 +3542,60 @@ public class AndroidAppConfig : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// The default resources associated with the Project. + /// + /// **DEPRECATED.** _Auto-provisioning of these resources is changing, so this object no longer reliably provides + /// information about the resources within the Project. Instead, retrieve information about each resource directly + /// from its resource-specific API._ The default auto-provisioned resources associated with the Project. + /// public class DefaultResources : Google.Apis.Requests.IDirectResponseSchema { /// - /// Output only. 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` + /// 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` /// [Newtonsoft.Json.JsonPropertyAttribute("hostingSite")] public virtual string HostingSite { get; set; } /// - /// Output only. 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 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. /// [Newtonsoft.Json.JsonPropertyAttribute("locationId")] public virtual string LocationId { get; set; } /// - /// Output only. 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` + /// 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` /// [Newtonsoft.Json.JsonPropertyAttribute("realtimeDatabaseInstance")] public virtual string RealtimeDatabaseInstance { get; set; } /// - /// Output only. The default Cloud Storage for Firebase storage bucket, in the format: PROJECT_ID.appspot.com + /// 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 /// [Newtonsoft.Json.JsonPropertyAttribute("storageBucket")] public virtual string StorageBucket { get; set; } @@ -3756,7 +3785,11 @@ public class FirebaseProject : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("projectNumber")] public virtual System.Nullable ProjectNumber { get; set; } - /// Output only. The default Firebase resources associated with the Project. + /// + /// Output only. **DEPRECATED.** _Auto-provisioning of these resources is changing, so this object no longer + /// reliably provides information about the Project. Instead, retrieve information about each resource directly + /// from its resource-specific API._ The default Firebase resources associated with the Project. + /// [Newtonsoft.Json.JsonPropertyAttribute("resources")] public virtual DefaultResources Resources { get; set; } @@ -4020,7 +4053,11 @@ public class ListWebAppsResponse : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// A GCP resource location that can be selected for a FirebaseProject. + /// + /// **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. + /// public class Location : Google.Apis.Requests.IDirectResponseSchema { /// Products and services that are available in the GCP resource location. @@ -4566,12 +4603,19 @@ public class WebAppConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("authDomain")] public virtual string AuthDomain { get; set; } - /// The default Firebase Realtime Database URL. + /// + /// **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. + /// [Newtonsoft.Json.JsonPropertyAttribute("databaseURL")] public virtual string DatabaseURL { get; set; } /// - /// The ID of the Project's default GCP resource location. The location is one of the available [GCP resource + /// **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 @@ -4602,7 +4646,13 @@ public class WebAppConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("projectId")] public virtual string ProjectId { get; set; } - /// The default Cloud Storage for Firebase storage bucket name. + /// + /// **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. + /// [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 95a1bc6e6f9..f593db2a167 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.62.0.3141 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs index 841c38caebd..a18f0f98423 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs +++ b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs @@ -5758,11 +5758,11 @@ public class Authority : Google.Apis.Requests.IDirectResponseSchema /// /// Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with - /// length &lt;2000 characters. If set, then Google will allow valid OIDC tokens from this issuer to - /// authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate - /// tokens from the issuer. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; - /// it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload - /// Identity). + /// length &lt;2000 characters, it must use `location` rather than `zone` for GKE clusters. If set, then + /// Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC + /// discovery will be performed on this URI to validate tokens from the issuer. Clearing `issuer` disables + /// Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) + /// before using a new issuer (and re-enabling Workload Identity). /// [Newtonsoft.Json.JsonPropertyAttribute("issuer")] public virtual string Issuer { get; set; } @@ -6739,7 +6739,9 @@ public class ConfigManagementInstallError : Google.Apis.Requests.IDirectResponse /// public class ConfigManagementMembershipSpec : Google.Apis.Requests.IDirectResponseSchema { - /// Binauthz conifguration for the cluster. + /// + /// Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set. + /// [Newtonsoft.Json.JsonPropertyAttribute("binauthz")] public virtual ConfigManagementBinauthzConfig Binauthz { get; set; } @@ -7934,10 +7936,6 @@ public class IdentityServiceAzureADConfig : Google.Apis.Requests.IDirectResponse [Newtonsoft.Json.JsonPropertyAttribute("tenant")] public virtual string Tenant { get; set; } - /// Optional. Claim in the AzureAD ID Token that holds the user details. - [Newtonsoft.Json.JsonPropertyAttribute("userClaim")] - public virtual string UserClaim { get; set; } - /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj index e7f88b81ada..38b4ab80b95 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v1alpha Client Library - 1.62.0.3147 + 1.62.0.3165 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs index 29254897006..782725d0a02 100644 --- a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs +++ b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs @@ -41,6 +41,7 @@ public GamesService(Google.Apis.Services.BaseClientService.Initializer initializ Leaderboards = new LeaderboardsResource(this); Metagame = new MetagameResource(this); Players = new PlayersResource(this); + Recall = new RecallResource(this); Revisions = new RevisionsResource(this); Scores = new ScoresResource(this); Snapshots = new SnapshotsResource(this); @@ -68,6 +69,9 @@ public GamesService(Google.Apis.Services.BaseClientService.Initializer initializ /// Available OAuth 2.0 scopes for use with the Google Play Game Services. public class Scope { + /// View and manage your Google Play Developer account + public static string Androidpublisher = "https://www.googleapis.com/auth/androidpublisher"; + /// See, create, and delete its own configuration data in your Google Drive public static string DriveAppdata = "https://www.googleapis.com/auth/drive.appdata"; @@ -78,6 +82,9 @@ public class Scope /// Available OAuth 2.0 scope constants for use with the Google Play Game Services. public static class ScopeConstants { + /// View and manage your Google Play Developer account + public const string Androidpublisher = "https://www.googleapis.com/auth/androidpublisher"; + /// See, create, and delete its own configuration data in your Google Drive public const string DriveAppdata = "https://www.googleapis.com/auth/drive.appdata"; @@ -106,6 +113,9 @@ public static class ScopeConstants /// Gets the Players resource. public virtual PlayersResource Players { get; } + /// Gets the Recall resource. + public virtual RecallResource Recall { get; } + /// Gets the Revisions resource. public virtual RevisionsResource Revisions { get; } @@ -860,10 +870,6 @@ public GetRequest(Google.Apis.Services.IClientService service, string applicatio /// Restrict application details returned to the specific platform. public enum PlatformTypeEnum { - /// Default value, don't use. - [Google.Apis.Util.StringValueAttribute("PLATFORM_TYPE_UNSPECIFIED")] - PLATFORMTYPEUNSPECIFIED = 0, - /// Retrieve applications that can be played on Android. [Google.Apis.Util.StringValueAttribute("ANDROID")] ANDROID = 1, @@ -943,10 +949,6 @@ public GetEndPointRequest(Google.Apis.Services.IClientService service) : base(se /// Type of endpoint being requested. public enum EndPointTypeEnum { - /// Default value. This value is unused. - [Google.Apis.Util.StringValueAttribute("END_POINT_TYPE_UNSPECIFIED")] - ENDPOINTTYPEUNSPECIFIED = 0, - /// Request a URL to create a new profile. [Google.Apis.Util.StringValueAttribute("PROFILE_CREATION")] PROFILECREATION = 1, @@ -1508,10 +1510,6 @@ public ListCategoriesByPlayerRequest(Google.Apis.Services.IClientService service /// The collection of categories for which data will be returned. public enum CollectionEnum { - /// Default value. This value is unused. - [Google.Apis.Util.StringValueAttribute("COLLECTION_UNSPECIFIED")] - COLLECTIONUNSPECIFIED = 0, - /// Retrieve data for all categories. This is the default. [Google.Apis.Util.StringValueAttribute("ALL")] ALL = 1, @@ -1873,6 +1871,209 @@ protected override void InitParameters() } } + /// The "recall" collection of methods. + public class RecallResource + { + private const string Resource = "recall"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public RecallResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Associate the PGS Player principal encoded in the provided recall session id with an in-game account + /// + /// The body of the request. + public virtual LinkPersonaRequest LinkPersona(Google.Apis.Games.v1.Data.LinkPersonaRequest body) + { + return new LinkPersonaRequest(service, body); + } + + /// + /// Associate the PGS Player principal encoded in the provided recall session id with an in-game account + /// + public class LinkPersonaRequest : GamesBaseServiceRequest + { + /// Constructs a new LinkPersona request. + public LinkPersonaRequest(Google.Apis.Services.IClientService service, Google.Apis.Games.v1.Data.LinkPersonaRequest body) : base(service) + { + Body = body; + InitParameters(); + } + + /// Gets or sets the body of this request. + Google.Apis.Games.v1.Data.LinkPersonaRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "linkPersona"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "games/v1/recall:linkPersona"; + + /// Initializes LinkPersona parameter list. + protected override void InitParameters() + { + base.InitParameters(); + } + } + + /// + /// Delete all Recall tokens linking the given persona to any player (with or without a profile). + /// + /// The body of the request. + public virtual ResetPersonaRequest ResetPersona(Google.Apis.Games.v1.Data.ResetPersonaRequest body) + { + return new ResetPersonaRequest(service, body); + } + + /// + /// Delete all Recall tokens linking the given persona to any player (with or without a profile). + /// + public class ResetPersonaRequest : GamesBaseServiceRequest + { + /// Constructs a new ResetPersona request. + public ResetPersonaRequest(Google.Apis.Services.IClientService service, Google.Apis.Games.v1.Data.ResetPersonaRequest body) : base(service) + { + Body = body; + InitParameters(); + } + + /// Gets or sets the body of this request. + Google.Apis.Games.v1.Data.ResetPersonaRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "resetPersona"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "games/v1/recall:resetPersona"; + + /// Initializes ResetPersona parameter list. + protected override void InitParameters() + { + base.InitParameters(); + } + } + + /// + /// Retrieve all Recall tokens associated with the PGS Player principal encoded in the provided recall session + /// id. The API is only available for users that have active PGS Player profile. + /// + /// + /// Required. Opaque server-generated string that encodes all the necessary information to identify the PGS + /// player / Google user and application. + /// + public virtual RetrieveTokensRequest RetrieveTokens(string sessionId) + { + return new RetrieveTokensRequest(service, sessionId); + } + + /// + /// Retrieve all Recall tokens associated with the PGS Player principal encoded in the provided recall session + /// id. The API is only available for users that have active PGS Player profile. + /// + public class RetrieveTokensRequest : GamesBaseServiceRequest + { + /// Constructs a new RetrieveTokens request. + public RetrieveTokensRequest(Google.Apis.Services.IClientService service, string sessionId) : base(service) + { + SessionId = sessionId; + InitParameters(); + } + + /// + /// Required. Opaque server-generated string that encodes all the necessary information to identify the PGS + /// player / Google user and application. + /// + [Google.Apis.Util.RequestParameterAttribute("sessionId", Google.Apis.Util.RequestParameterType.Path)] + public virtual string SessionId { get; private set; } + + /// Gets the method name. + public override string MethodName => "retrieveTokens"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "games/v1/recall/tokens/{sessionId}"; + + /// Initializes RetrieveTokens parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("sessionId", new Google.Apis.Discovery.Parameter + { + Name = "sessionId", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Delete a Recall token linking the PGS Player principal identified by the Recall session and an in-game + /// account identified either by the 'persona' or by the token value. + /// + /// The body of the request. + public virtual UnlinkPersonaRequest UnlinkPersona(Google.Apis.Games.v1.Data.UnlinkPersonaRequest body) + { + return new UnlinkPersonaRequest(service, body); + } + + /// + /// Delete a Recall token linking the PGS Player principal identified by the Recall session and an in-game + /// account identified either by the 'persona' or by the token value. + /// + public class UnlinkPersonaRequest : GamesBaseServiceRequest + { + /// Constructs a new UnlinkPersona request. + public UnlinkPersonaRequest(Google.Apis.Services.IClientService service, Google.Apis.Games.v1.Data.UnlinkPersonaRequest body) : base(service) + { + Body = body; + InitParameters(); + } + + /// Gets or sets the body of this request. + Google.Apis.Games.v1.Data.UnlinkPersonaRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "unlinkPersona"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "games/v1/recall:unlinkPersona"; + + /// Initializes UnlinkPersona parameter list. + protected override void InitParameters() + { + base.InitParameters(); + } + } + } + /// The "revisions" collection of methods. public class RevisionsResource { @@ -2009,10 +2210,6 @@ public GetRequest(Google.Apis.Services.IClientService service, string playerId, /// The time span for the scores and ranks you're requesting. public enum TimeSpanEnum { - /// Default value. This value is unused. - [Google.Apis.Util.StringValueAttribute("SCORE_TIME_SPAN_UNSPECIFIED")] - SCORETIMESPANUNSPECIFIED = 0, - /// /// Get the high scores for all time spans. If this is used, maxResults values will be ignored. /// @@ -2039,10 +2236,6 @@ public enum TimeSpanEnum /// The types of ranks to return. If the parameter is omitted, no ranks will be returned. public enum IncludeRankTypeEnum { - /// Default value. Should be unused. - [Google.Apis.Util.StringValueAttribute("INCLUDE_RANK_TYPE_UNSPECIFIED")] - INCLUDERANKTYPEUNSPECIFIED = 0, - /// /// Retrieve all supported ranks. In HTTP, this parameter value can also be specified as `ALL`. /// @@ -2181,10 +2374,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string leaderboa /// The collection of scores you're requesting. public enum CollectionEnum { - /// Default value. This value is unused. - [Google.Apis.Util.StringValueAttribute("SCORE_COLLECTION_UNSPECIFIED")] - SCORECOLLECTIONUNSPECIFIED = 0, - /// List all scores in the public leaderboard. [Google.Apis.Util.StringValueAttribute("PUBLIC")] PUBLIC__ = 1, @@ -2205,10 +2394,6 @@ public enum CollectionEnum /// Required. The time span for the scores and ranks you're requesting. public enum TimeSpanEnum { - /// Default value. This value is unused. - [Google.Apis.Util.StringValueAttribute("SCORE_TIME_SPAN_UNSPECIFIED")] - SCORETIMESPANUNSPECIFIED = 0, - /// The score is an all-time score. [Google.Apis.Util.StringValueAttribute("ALL_TIME")] ALLTIME = 1, @@ -2333,10 +2518,6 @@ public ListWindowRequest(Google.Apis.Services.IClientService service, string lea /// The collection of scores you're requesting. public enum CollectionEnum { - /// Default value. This value is unused. - [Google.Apis.Util.StringValueAttribute("SCORE_COLLECTION_UNSPECIFIED")] - SCORECOLLECTIONUNSPECIFIED = 0, - /// List all scores in the public leaderboard. [Google.Apis.Util.StringValueAttribute("PUBLIC")] PUBLIC__ = 1, @@ -2357,10 +2538,6 @@ public enum CollectionEnum /// Required. The time span for the scores and ranks you're requesting. public enum TimeSpanEnum { - /// Default value. This value is unused. - [Google.Apis.Util.StringValueAttribute("SCORE_TIME_SPAN_UNSPECIFIED")] - SCORETIMESPANUNSPECIFIED = 0, - /// The score is an all-time score. [Google.Apis.Util.StringValueAttribute("ALL_TIME")] ALLTIME = 1, @@ -3924,6 +4101,99 @@ public class LeaderboardScores : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Request to link an in-game account with a PGS principal (encoded in the session id). + public class LinkPersonaRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. Cardinality constraint to observe when linking a persona to a player in the scope of a game. + /// + [Newtonsoft.Json.JsonPropertyAttribute("cardinalityConstraint")] + public virtual string CardinalityConstraint { get; set; } + + /// + /// Required. Resolution policy to apply when the linking of a persona to a player would result in violating the + /// specified cardinality constraint. + /// + [Newtonsoft.Json.JsonPropertyAttribute("conflictingLinksResolutionPolicy")] + public virtual string ConflictingLinksResolutionPolicy { get; set; } + + private string _expireTimeRaw; + + private object _expireTime; + + /// Input only. Optional expiration time. + [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.Utilities.GetDateTimeOffsetFromString(ExpireTimeRaw); + set => ExpireTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// + /// Required. Stable identifier of the in-game account. Please refrain from re-using the same persona for + /// different games. + /// + [Newtonsoft.Json.JsonPropertyAttribute("persona")] + public virtual string Persona { get; set; } + + /// + /// Required. Opaque server-generated string that encodes all the necessary information to identify the PGS + /// player / Google user and application. + /// + [Newtonsoft.Json.JsonPropertyAttribute("sessionId")] + public virtual string SessionId { get; set; } + + /// + /// Required. Value of the token to create. Opaque to Play Games and assumed to be non-stable (encrypted with + /// key rotation). + /// + [Newtonsoft.Json.JsonPropertyAttribute("token")] + public virtual string Token { get; set; } + + /// Input only. Optional time-to-live. + [Newtonsoft.Json.JsonPropertyAttribute("ttl")] + public virtual object Ttl { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Outcome of a persona linking attempt. + public class LinkPersonaResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. State of a persona linking attempt. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The metagame config resource public class MetagameConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -4437,6 +4707,91 @@ public class ProfileSettings : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Recall token data returned from RetrievePlayerTokens RPC + public class RecallToken : Google.Apis.Requests.IDirectResponseSchema + { + private string _expireTimeRaw; + + private object _expireTime; + + /// Optional. Optional expiration time of the token + [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.Utilities.GetDateTimeOffsetFromString(ExpireTimeRaw); + set => ExpireTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// Required. Whether the persona identified by the token is linked to multiple PGS Players + [Newtonsoft.Json.JsonPropertyAttribute("multiPlayerPersona")] + public virtual System.Nullable MultiPlayerPersona { get; set; } + + /// Required. Value of the Recall token as it is provided by the client via LinkPersona RPC + [Newtonsoft.Json.JsonPropertyAttribute("token")] + public virtual string Token { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request to remove all Recall tokens associated with a persona for an app. + public class ResetPersonaRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Value of the 'persona' field as it was provided by the client in LinkPersona RPC + [Newtonsoft.Json.JsonPropertyAttribute("persona")] + public virtual string Persona { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response for the ResetPersona RPC + public class ResetPersonaResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Whether any tokens were unlinked as a result of this request. + [Newtonsoft.Json.JsonPropertyAttribute("unlinked")] + public virtual System.Nullable Unlinked { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response for the RetrievePlayerTokens RPC + public class RetrievePlayerTokensResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Recall tokens associated with the requested PGS Player principal + [Newtonsoft.Json.JsonPropertyAttribute("tokens")] + public virtual System.Collections.Generic.IList Tokens { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A third party checking a revision response. public class RevisionCheckResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -4705,4 +5060,40 @@ public class StatsResponse : Google.Apis.Requests.IDirectResponseSchema /// The ETag of the item. public virtual string ETag { get; set; } } + + /// Request to remove a Recall token linking PGS principal and an in-game account + public class UnlinkPersonaRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Value of the 'persona' field as it was provided by the client in LinkPersona RPC + [Newtonsoft.Json.JsonPropertyAttribute("persona")] + public virtual string Persona { get; set; } + + /// + /// Required. Opaque server-generated string that encodes all the necessary information to identify the PGS + /// player / Google user and application. + /// + [Newtonsoft.Json.JsonPropertyAttribute("sessionId")] + public virtual string SessionId { get; set; } + + /// Value of the Recall token as it was provided by the client in LinkPersona RPC + [Newtonsoft.Json.JsonPropertyAttribute("token")] + public virtual string Token { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response for the UnlinkPersona RPC + public class UnlinkPersonaResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. Whether a Recall token specified by the request was deleted. Can be 'false' when there were no + /// Recall tokens satisfied the criteria from the request. + /// + [Newtonsoft.Json.JsonPropertyAttribute("unlinked")] + public virtual System.Nullable Unlinked { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } } diff --git a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj index c8f26d72aa3..7d71f425f65 100644 --- a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj +++ b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Games.v1 Client Library - 1.62.0.3155 + 1.62.0.3163 Google LLC Copyright 2023 Google LLC Google 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 722767d8589..d84edae063a 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 @@ -5366,9 +5366,11 @@ public virtual System.DateTimeOffset? LastUpdateTimeDateTimeOffset 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. You - /// can also @mention a Google Chat user, or everyone in the space. To learn about creating text messages, see - /// [Create a text message](https://developers.google.com/chat/api/guides/message-formats/text). + /// Plain-text body of the message. The first link to an image, video, or web page generates a [preview + /// chip](https://developers.google.com/chat/how-tos/preview-links). You can also [@mention a Google Chat + /// user](https://developers.google.com/chat/api/guides/message-formats/text#messages-@mention), or everyone in + /// the space. To learn about creating text messages, see [Create a text + /// message](https://developers.google.com/chat/api/guides/message-formats/text). /// [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } 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 d1da6b0bfff..6ec91f0db3d 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.62.0.3162 + 1.62.0.3169 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs index c997dd11443..d410fb873b3 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs @@ -18373,10 +18373,10 @@ public virtual System.DateTimeOffset? TimestampDateTimeOffset public virtual string Trace { get; set; } /// - /// Optional. The sampling decision of the trace associated with the log entry.True means that the trace - /// resource name in the trace field was sampled for storage in a trace backend. False means that the trace was - /// not sampled for storage when this log entry was written, or the sampling decision was unknown at the time. A - /// non-sampled trace value is still useful as a request correlation identifier. The default is False. + /// Optional. The sampling decision of the span associated with the log entry at the time the log entry was + /// created. This field corresponds to the sampled flag in the W3C trace-context specification + /// (https://www.w3.org/TR/trace-context/#sampled-flag). A non-sampled trace value is still useful as a request + /// correlation identifier. The default is False. /// [Newtonsoft.Json.JsonPropertyAttribute("traceSampled")] public virtual System.Nullable TraceSampled { get; set; } diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj index 6ee39c5d5f2..303ee023291 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Logging.v2 Client Library - 1.62.0.3144 + 1.62.0.3164 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs index d6b42c9600c..97aab49d28a 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs @@ -7782,9 +7782,7 @@ public class ReportSummaryGroupFinding : Google.Apis.Requests.IDirectResponseSch [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } - /// - /// Count of the number of assets in this group which are also included in another group within the same report. - /// + /// This field is deprecated, do not rely on it having a value. [Newtonsoft.Json.JsonPropertyAttribute("overlappingAssetCount")] public virtual System.Nullable OverlappingAssetCount { get; set; } diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj index 7a5ca6a16ab..baf1543ea40 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MigrationCenterAPI.v1 Client Library - 1.62.0.3137 + 1.62.0.3165 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.cs b/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.cs index 0459a4ef6d0..b09e0d6c3c5 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.cs +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.cs @@ -5559,7 +5559,10 @@ public class DiskPartitionList : Google.Apis.Requests.IDirectResponseSchema /// Disk usage sample. Values are across all disks. public class DiskUsageSample : Google.Apis.Requests.IDirectResponseSchema { - /// Average IOPS sampled over a short window. Must be non-negative. + /// + /// Average IOPS sampled over a short window. Must be non-negative. Must be equal to the sum of read and write + /// if one of them is positive. if both read and write are zero they are ignored. + /// [Newtonsoft.Json.JsonPropertyAttribute("averageIops")] public virtual System.Nullable AverageIops { get; set; } @@ -7681,9 +7684,7 @@ public class ReportSummaryGroupFinding : Google.Apis.Requests.IDirectResponseSch [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } - /// - /// Count of the number of assets in this group which are also included in another group within the same report. - /// + /// This field is deprecated, do not rely on it having a value. [Newtonsoft.Json.JsonPropertyAttribute("overlappingAssetCount")] public virtual System.Nullable OverlappingAssetCount { get; set; } diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj b/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj index 67e92f032a7..05bd6458e01 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.MigrationCenterAPI.v1alpha1 Client Library - 1.62.0.3137 + 1.62.0.3165 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.cs b/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.cs index b8b2da06808..0e496dbd44c 100644 --- a/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.cs +++ b/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.cs @@ -1207,7 +1207,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// Filtering results + /// Optional. Filtering results [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } @@ -1216,8 +1216,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : public virtual string OrderBy { get; set; } /// - /// Requested page size. Server may return fewer items than requested. If unspecified, server will - /// pick an appropriate default. + /// Optional. Requested page size. Server may return fewer items than requested. If unspecified, + /// server will pick an appropriate default. /// [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } @@ -4679,7 +4679,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// Filtering results + /// Optional. Filtering results [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } @@ -4688,8 +4688,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : public virtual string OrderBy { get; set; } /// - /// Requested page size. Server may return fewer items than requested. If unspecified, server will - /// pick an appropriate default. + /// Optional. Requested page size. Server may return fewer items than requested. If unspecified, + /// server will pick an appropriate default. /// [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } @@ -7807,7 +7807,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset set => CreateTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); } - /// Labels as key value pairs + /// Optional. Labels as key value pairs [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } @@ -7910,7 +7910,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("firewallEndpoint")] public virtual string FirewallEndpoint { get; set; } - /// Labels as key value pairs + /// Optional. Labels as key value pairs [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } diff --git a/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.csproj b/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.csproj index 8e171f89cde..a7ba10913f8 100644 --- a/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkSecurity.v1beta1 Client Library - 1.62.0.3147 + 1.62.0.3164 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.cs b/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.cs index f87a63a6075..c60299499a0 100644 --- a/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.cs +++ b/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.cs @@ -865,12 +865,32 @@ public class TrafficStats : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable SpfSuccessRatio { get; set; } /// - /// The ratio of user-report spam vs. email that was sent to the inbox. This metric only pertains to emails + /// The ratio of user-report spam vs. email that was sent to the inbox. This is potentially inexact -- users may + /// want to refer to the description of the interval fields userReportedSpamRatioLowerBound and + /// userReportedSpamRatioUpperBound for more explicit accuracy guarantees. This metric only pertains to emails /// authenticated by [DKIM](http://www.dkim.org/). /// [Newtonsoft.Json.JsonPropertyAttribute("userReportedSpamRatio")] public virtual System.Nullable UserReportedSpamRatio { get; set; } + /// + /// The lower bound of the confidence interval for the user reported spam ratio. If this field is set, then the + /// value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the + /// true ratio is guaranteed to be in between this lower bound and the corresponding upper bound 95% of the + /// time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). + /// + [Newtonsoft.Json.JsonPropertyAttribute("userReportedSpamRatioLowerBound")] + public virtual System.Nullable UserReportedSpamRatioLowerBound { get; set; } + + /// + /// The upper bound of the confidence interval for the user reported spam ratio. If this field is set, then the + /// value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the + /// true ratio is guaranteed to be in between this upper bound and the corresponding lower bound 95% of the + /// time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). + /// + [Newtonsoft.Json.JsonPropertyAttribute("userReportedSpamRatioUpperBound")] + public virtual System.Nullable UserReportedSpamRatioUpperBound { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.csproj b/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.csproj index 3460d168362..eecd9f1bf93 100644 --- a/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.csproj +++ b/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PostmasterTools.v1 Client Library - 1.62.0.2238 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.cs b/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.cs index cd309d937fd..67b14bc95fa 100644 --- a/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.cs +++ b/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.cs @@ -873,12 +873,32 @@ public class TrafficStats : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable SpfSuccessRatio { get; set; } /// - /// The ratio of user-report spam vs. email that was sent to the inbox. This metric only pertains to emails + /// The ratio of user-report spam vs. email that was sent to the inbox. This is potentially inexact -- users may + /// want to refer to the description of the interval fields userReportedSpamRatioLowerBound and + /// userReportedSpamRatioUpperBound for more explicit accuracy guarantees. This metric only pertains to emails /// authenticated by [DKIM](http://www.dkim.org/). /// [Newtonsoft.Json.JsonPropertyAttribute("userReportedSpamRatio")] public virtual System.Nullable UserReportedSpamRatio { get; set; } + /// + /// The lower bound of the confidence interval for the user reported spam ratio. If this field is set, then the + /// value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the + /// true ratio is guaranteed to be in between this lower bound and the corresponding upper bound 95% of the + /// time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). + /// + [Newtonsoft.Json.JsonPropertyAttribute("userReportedSpamRatioLowerBound")] + public virtual System.Nullable UserReportedSpamRatioLowerBound { get; set; } + + /// + /// The upper bound of the confidence interval for the user reported spam ratio. If this field is set, then the + /// value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the + /// true ratio is guaranteed to be in between this upper bound and the corresponding lower bound 95% of the + /// time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). + /// + [Newtonsoft.Json.JsonPropertyAttribute("userReportedSpamRatioUpperBound")] + public virtual System.Nullable UserReportedSpamRatioUpperBound { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.csproj b/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.csproj index 6d1e41c0652..8539c3b390b 100644 --- a/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.csproj +++ b/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.PostmasterTools.v1beta1 Client Library - 1.62.0.3106 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.cs b/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.cs index 7f10362adf3..9c659dde5ff 100644 --- a/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.cs +++ b/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.cs @@ -2412,7 +2412,7 @@ public UserListsResource(Google.Apis.Services.IClientService service) } /// - /// Change the status of a user list to CLOSED. This prevents new users from being added to the user list. + /// Changes the status of a user list to CLOSED. This prevents new users from being added to the user list. /// /// The body of the request. /// Required. The name of the user list to close. See UserList.name @@ -2422,7 +2422,7 @@ public virtual CloseRequest Close(Google.Apis.RealTimeBidding.v1.Data.CloseUserL } /// - /// Change the status of a user list to CLOSED. This prevents new users from being added to the user list. + /// Changes the status of a user list to CLOSED. This prevents new users from being added to the user list. /// public class CloseRequest : RealTimeBiddingBaseServiceRequest { @@ -2468,12 +2468,12 @@ protected override void InitParameters() } } - /// Create a new user list. + /// Creates a new user list. /// The body of the request. /// - /// Required. The name of the parent buyer of the user list to be retrieved that must follow the pattern - /// `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns user - /// lists. For a bidder accessing user lists on behalf of a child seat buyer , `{buyerAccountId}` should + /// Required. The name of the parent buyer of the user list to be retrieved, which must follow the pattern + /// `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns the + /// user list. For a bidder accessing user lists on behalf of a child seat buyer, `{buyerAccountId}` should /// represent the account ID of the child seat buyer. /// public virtual CreateRequest Create(Google.Apis.RealTimeBidding.v1.Data.UserList body, string parent) @@ -2481,7 +2481,7 @@ public virtual CreateRequest Create(Google.Apis.RealTimeBidding.v1.Data.UserList return new CreateRequest(service, body, parent); } - /// Create a new user list. + /// Creates a new user list. public class CreateRequest : RealTimeBiddingBaseServiceRequest { /// Constructs a new Create request. @@ -2493,10 +2493,10 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Re } /// - /// Required. The name of the parent buyer of the user list to be retrieved that must follow the pattern - /// `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns - /// user lists. For a bidder accessing user lists on behalf of a child seat buyer , `{buyerAccountId}` - /// should represent the account ID of the child seat buyer. + /// Required. The name of the parent buyer of the user list to be retrieved, which must follow the + /// pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer + /// who owns the user list. For a bidder accessing user lists on behalf of a child seat buyer, + /// `{buyerAccountId}` should represent the account ID of the child seat buyer. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } @@ -2583,11 +2583,11 @@ protected override void InitParameters() /// user visits a page containing a remarketing tag, Google adds the user to a user list. /// /// - /// Required. To fetch remarketing tag for an account, name must follow the pattern `buyers/{accountId}` - /// where `{accountId}` represents ID of a buyer that owns the remarketing tag. For a bidder accessing - /// remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat - /// buyer. To fetch remarketing tag for a specific user list, name must follow the pattern - /// `buyers/{accountId}/userLists/{userListId}`. See UserList.name. + /// Required. To fetch the remarketing tag for an account, the name must follow the pattern + /// `buyers/{accountId}`, where `{accountId}` represents the ID of the buyer that owns the remarketing tag. + /// For a bidder accessing the remarketing tag on behalf of a child seat buyer, `{accountId}` should + /// represent the ID of the child seat buyer. To fetch the remarketing tag for a specific user list, the + /// name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name. /// public virtual GetRemarketingTagRequest GetRemarketingTag(string name) { @@ -2610,11 +2610,12 @@ public GetRemarketingTagRequest(Google.Apis.Services.IClientService service, str } /// - /// Required. To fetch remarketing tag for an account, name must follow the pattern `buyers/{accountId}` - /// where `{accountId}` represents ID of a buyer that owns the remarketing tag. For a bidder accessing - /// remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child - /// seat buyer. To fetch remarketing tag for a specific user list, name must follow the pattern - /// `buyers/{accountId}/userLists/{userListId}`. See UserList.name. + /// Required. To fetch the remarketing tag for an account, the name must follow the pattern + /// `buyers/{accountId}`, where `{accountId}` represents the ID of the buyer that owns the remarketing + /// tag. For a bidder accessing the remarketing tag on behalf of a child seat buyer, `{accountId}` + /// should represent the ID of the child seat buyer. To fetch the remarketing tag for a specific user + /// list, the name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See + /// UserList.name. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -2678,7 +2679,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } - /// Continuation page token (as received from a previous response). + /// Continuation page token as received from a previous response. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } @@ -2723,7 +2724,7 @@ protected override void InitParameters() } /// - /// Change the status of a user list to OPEN. This allows new users to be added to the user list. + /// Changes the status of a user list to OPEN. This allows new users to be added to the user list. /// /// The body of the request. /// Required. The name of the user list to open. See UserList.name @@ -2733,7 +2734,7 @@ public virtual OpenRequest Open(Google.Apis.RealTimeBidding.v1.Data.OpenUserList } /// - /// Change the status of a user list to OPEN. This allows new users to be added to the user list. + /// Changes the status of a user list to OPEN. This allows new users to be added to the user list. /// public class OpenRequest : RealTimeBiddingBaseServiceRequest { @@ -2779,7 +2780,7 @@ protected override void InitParameters() } } - /// Update the given user list. Only user lists with URLRestrictions can be updated. + /// Updates the given user list. Only user lists with URLRestrictions can be updated. /// The body of the request. /// /// Output only. Name of the user list that must follow the pattern `buyers/{buyer}/userLists/{user_list}`, @@ -2792,7 +2793,7 @@ public virtual UpdateRequest Update(Google.Apis.RealTimeBidding.v1.Data.UserList return new UpdateRequest(service, body, name); } - /// Update the given user list. Only user lists with URLRestrictions can be updated. + /// Updates the given user list. Only user lists with URLRestrictions can be updated. public class UpdateRequest : RealTimeBiddingBaseServiceRequest { /// Constructs a new Update request. @@ -2896,11 +2897,11 @@ protected override void InitParameters() /// visits a page containing a remarketing tag, Google adds the user to a user list. /// /// - /// Required. To fetch remarketing tag for an account, name must follow the pattern `buyers/{accountId}` where - /// `{accountId}` represents ID of a buyer that owns the remarketing tag. For a bidder accessing remarketing tag - /// on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch - /// remarketing tag for a specific user list, name must follow the pattern - /// `buyers/{accountId}/userLists/{userListId}`. See UserList.name. + /// Required. To fetch the remarketing tag for an account, the name must follow the pattern + /// `buyers/{accountId}`, where `{accountId}` represents the ID of the buyer that owns the remarketing tag. For + /// a bidder accessing the remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the + /// ID of the child seat buyer. To fetch the remarketing tag for a specific user list, the name must follow the + /// pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name. /// public virtual GetRemarketingTagRequest GetRemarketingTag(string name) { @@ -2923,11 +2924,11 @@ public GetRemarketingTagRequest(Google.Apis.Services.IClientService service, str } /// - /// Required. To fetch remarketing tag for an account, name must follow the pattern `buyers/{accountId}` - /// where `{accountId}` represents ID of a buyer that owns the remarketing tag. For a bidder accessing - /// remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat - /// buyer. To fetch remarketing tag for a specific user list, name must follow the pattern - /// `buyers/{accountId}/userLists/{userListId}`. See UserList.name. + /// Required. To fetch the remarketing tag for an account, the name must follow the pattern + /// `buyers/{accountId}`, where `{accountId}` represents the ID of the buyer that owns the remarketing tag. + /// For a bidder accessing the remarketing tag on behalf of a child seat buyer, `{accountId}` should + /// represent the ID of the child seat buyer. To fetch the remarketing tag for a specific user list, the + /// name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -3963,9 +3964,9 @@ public class Endpoint : Google.Apis.Requests.IDirectResponseSchema public class GetRemarketingTagResponse : Google.Apis.Requests.IDirectResponseSchema { /// - /// A HTML tag that can be placed on the advertiser's page to add users to a user list. For more information and - /// code samples on using snippet on your website refer to [Tag your site for remarketing]( - /// https://support.google.com/google-ads/answer/2476688). + /// An HTML tag that can be placed on the advertiser's page to add users to a user list. For more information + /// and code samples on using snippets on your website, refer to [Tag your site for + /// remarketing](https://support.google.com/google-ads/answer/2476688). /// [Newtonsoft.Json.JsonPropertyAttribute("snippet")] public virtual string Snippet { get; set; } @@ -4166,8 +4167,8 @@ public class ListUserListsResponse : Google.Apis.Requests.IDirectResponseSchema { /// /// The continuation page token to send back to the server in a subsequent request. Due to a currently known - /// issue, it is recommended that the caller keep invoking the list method till the time a next page token is - /// not returned (even if the result set is empty). + /// issue, it is recommended that the caller keep invoking the list method until the time a next page token is + /// not returned, even if the result set is empty. /// [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } diff --git a/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.csproj b/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.csproj index f7941447386..7189942b973 100644 --- a/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.csproj +++ b/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.RealTimeBidding.v1 Client Library - 1.62.0.3155 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.cs b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.cs index ed846ece704..43849140e98 100644 --- a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.cs +++ b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.cs @@ -314,7 +314,7 @@ public ConnectorsResource(Google.Apis.Services.IClientService service) /// Creates a Serverless VPC Access connector, returns an operation. /// The body of the request. /// - /// Required. The project id and location in which the configuration should be created, specified in the + /// Required. The project ID and location in which the configuration should be created, specified in the /// format `projects/*/locations/*`. /// public virtual CreateRequest Create(Google.Apis.ServerlessVPCAccess.v1.Data.Connector body, string parent) @@ -334,7 +334,7 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Se } /// - /// Required. The project id and location in which the configuration should be created, specified in + /// Required. The project ID and location in which the configuration should be created, specified in /// the format `projects/*/locations/*`. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] diff --git a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.csproj b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.csproj index 0f0217096b8..9a280fc9481 100644 --- a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.csproj +++ b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServerlessVPCAccess.v1 Client Library - 1.62.0.3143 + 1.62.0.3164 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.cs b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.cs index 60768e246b5..30cef4ee00b 100644 --- a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.cs +++ b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.cs @@ -314,7 +314,7 @@ public ConnectorsResource(Google.Apis.Services.IClientService service) /// Creates a Serverless VPC Access connector, returns an operation. /// The body of the request. /// - /// Required. The project id and location in which the configuration should be created, specified in the + /// Required. The project ID and location in which the configuration should be created, specified in the /// format `projects/*/locations/*`. /// public virtual CreateRequest Create(Google.Apis.ServerlessVPCAccess.v1beta1.Data.Connector body, string parent) @@ -334,7 +334,7 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Se } /// - /// Required. The project id and location in which the configuration should be created, specified in + /// Required. The project ID and location in which the configuration should be created, specified in /// the format `projects/*/locations/*`. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] @@ -888,8 +888,8 @@ public class Connector : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable MaxInstances { get; set; } /// - /// Maximum throughput of the connector in Mbps. Default is 300, max is 1000. If both maxThroughput and - /// maxInstances are set, the value for maxInstances is utilzed. + /// Maximum throughput of the connector in Mbps. Default is 300, max is 1000. If both max-throughput and + /// max-instances are provided, max-instances takes precedence over max-throughput. /// [Newtonsoft.Json.JsonPropertyAttribute("maxThroughput")] public virtual System.Nullable MaxThroughput { get; set; } @@ -899,8 +899,8 @@ public class Connector : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable MinInstances { get; set; } /// - /// Minimum throughput of the connector in Mbps. Default and min is 200. If both max-throughput and - /// max-instances are provided, max-instances takes precedence over max-throughput. + /// Minimum throughput of the connector in Mbps. Default and min is 200. If both min-throughput and + /// min-instances are provided, min-instances takes precedence over min-throughput. /// [Newtonsoft.Json.JsonPropertyAttribute("minThroughput")] public virtual System.Nullable MinThroughput { get; set; } diff --git a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.csproj b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.csproj index da1322754d7..3a2f425c1d1 100644 --- a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.csproj +++ b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServerlessVPCAccess.v1beta1 Client Library - 1.62.0.3143 + 1.62.0.3164 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs index ebdbec0776d..b33615f6354 100644 --- a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs +++ b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs @@ -2387,7 +2387,7 @@ public class AddEnableRulesMetadata : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// The response message of "AddEnableRules" method. + /// The response message of `AddEnableRules` method. public class AddEnableRulesResponse : Google.Apis.Requests.IDirectResponseSchema { /// The values added to the parent consumer policy. @@ -2952,9 +2952,9 @@ public class ConsumerPolicy : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } /// - /// Output only. The resource name of the policy. For example, We only allow consumer policy name as "default" - /// for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`, - /// `organizations/12345/consumerPolicies/default`. Legacy format: `projects/12345/consumerPoly` + /// Output only. The resource name of the policy. We only allow consumer policy name as `default` for now: + /// `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`, + /// `organizations/12345/consumerPolicies/default`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -3467,7 +3467,7 @@ public class EnableRule : Google.Apis.Requests.IDirectResponseSchema /// /// DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service - /// groups that are enabled (Not Implemented). go/predefined-service-groups. Example: `groups/googleServices`. + /// groups that are enabled (Not Implemented). Example: `groups/googleServices`. /// [Newtonsoft.Json.JsonPropertyAttribute("groups")] public virtual System.Collections.Generic.IList Groups { get; set; } @@ -3481,7 +3481,7 @@ public class EnableRule : Google.Apis.Requests.IDirectResponseSchema /// /// The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, - /// groups/googleServices`, groups/allServices`. + /// `groups/googleServices`, `groups/allServices`. /// [Newtonsoft.Json.JsonPropertyAttribute("values")] public virtual System.Collections.Generic.IList Values { get; set; } @@ -5544,7 +5544,7 @@ public class RemoveEnableRulesMetadata : Google.Apis.Requests.IDirectResponseSch public virtual string ETag { get; set; } } - /// The response message of "RemoveEnableRules" method. + /// The response message of `RemoveEnableRules` method. public class RemoveEnableRulesResponse : Google.Apis.Requests.IDirectResponseSchema { /// diff --git a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj index 169801d8975..3a2219e566a 100644 --- a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj +++ b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceUsage.v1beta1 Client Library - 1.62.0.3148 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.cs b/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.cs index fbf0311afaa..5147c7c514c 100644 --- a/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.cs +++ b/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.cs @@ -1341,6 +1341,13 @@ public class CreatePhraseSetRequest : Google.Apis.Requests.IDirectResponseSchema /// public class CustomClass : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 + /// characters or less each. At most 100 annotations. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("annotations")] + public virtual System.Collections.Generic.IDictionary Annotations { get; set; } + /// /// If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case /// sensitive. @@ -1348,6 +1355,97 @@ public class CustomClass : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("customClassId")] public virtual string CustomClassId { get; set; } + private string _deleteTimeRaw; + + private object _deleteTime; + + /// + /// Output only. The time at which this resource was requested for deletion. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("deleteTime")] + public virtual string DeleteTimeRaw + { + get => _deleteTimeRaw; + set + { + _deleteTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _deleteTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")] + public virtual object DeleteTime + { + get => _deleteTime; + set + { + _deleteTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _deleteTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(DeleteTimeRaw); + set => DeleteTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// + /// Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This + /// field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Output only. This checksum is computed by the server based on the value of other fields. This may be sent on + /// update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This + /// field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + private string _expireTimeRaw; + + private object _expireTime; + + /// Output only. The time at which this resource will be purged. This field is not used. + [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.Utilities.GetDateTimeOffsetFromString(ExpireTimeRaw); + set => ExpireTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + /// A collection of class items. [Newtonsoft.Json.JsonPropertyAttribute("items")] public virtual System.Collections.Generic.IList Items { get; set; } @@ -1372,8 +1470,21 @@ public class CustomClass : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } + /// + /// Output only. Whether or not this CustomClass is in the process of being updated. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("reconciling")] + public virtual System.Nullable Reconciling { get; set; } + + /// Output only. The CustomClass lifecycle state. This field is not used. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// + /// Output only. System-assigned unique identifier for the CustomClass. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uid")] + public virtual string Uid { get; set; } } /// @@ -1679,6 +1790,13 @@ public class Phrase : Google.Apis.Requests.IDirectResponseSchema /// Provides "hints" to the speech recognizer to favor specific words and phrases in the results. public class PhraseSet : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 + /// characters or less each. At most 100 annotations. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("annotations")] + public virtual System.Collections.Generic.IDictionary Annotations { get; set; } + /// /// Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over /// other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as @@ -1690,6 +1808,97 @@ public class PhraseSet : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("boost")] public virtual System.Nullable Boost { get; set; } + private string _deleteTimeRaw; + + private object _deleteTime; + + /// + /// Output only. The time at which this resource was requested for deletion. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("deleteTime")] + public virtual string DeleteTimeRaw + { + get => _deleteTimeRaw; + set + { + _deleteTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _deleteTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")] + public virtual object DeleteTime + { + get => _deleteTime; + set + { + _deleteTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _deleteTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(DeleteTimeRaw); + set => DeleteTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// + /// Output only. User-settable, human-readable name for the PhraseSet. Must be 63 characters or less. This field + /// is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Output only. This checksum is computed by the server based on the value of other fields. This may be sent on + /// update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This + /// field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + private string _expireTimeRaw; + + private object _expireTime; + + /// Output only. The time at which this resource will be purged. This field is not used. + [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.Utilities.GetDateTimeOffsetFromString(ExpireTimeRaw); + set => ExpireTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + /// /// Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the /// content of the PhraseSet is encrypted. The expected format is @@ -1714,8 +1923,19 @@ public class PhraseSet : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("phrases")] public virtual System.Collections.Generic.IList Phrases { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } + /// + /// Output only. Whether or not this PhraseSet is in the process of being updated. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("reconciling")] + public virtual System.Nullable Reconciling { get; set; } + + /// Output only. The CustomClass lifecycle state. This field is not used. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. System-assigned unique identifier for the PhraseSet. This field is not used. + [Newtonsoft.Json.JsonPropertyAttribute("uid")] + public virtual string Uid { get; set; } } /// diff --git a/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.csproj b/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.csproj index f146493677c..6557d7308cb 100644 --- a/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.csproj +++ b/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Speech.v1 Client Library - 1.62.0.3137 + 1.62.0.3165 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.cs b/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.cs index 963a28b6d34..2928d35fc11 100644 --- a/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.cs +++ b/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.cs @@ -1341,6 +1341,13 @@ public class CreatePhraseSetRequest : Google.Apis.Requests.IDirectResponseSchema /// public class CustomClass : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 + /// characters or less each. At most 100 annotations. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("annotations")] + public virtual System.Collections.Generic.IDictionary Annotations { get; set; } + /// /// If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case /// sensitive. @@ -1348,6 +1355,97 @@ public class CustomClass : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("customClassId")] public virtual string CustomClassId { get; set; } + private string _deleteTimeRaw; + + private object _deleteTime; + + /// + /// Output only. The time at which this resource was requested for deletion. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("deleteTime")] + public virtual string DeleteTimeRaw + { + get => _deleteTimeRaw; + set + { + _deleteTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _deleteTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")] + public virtual object DeleteTime + { + get => _deleteTime; + set + { + _deleteTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _deleteTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(DeleteTimeRaw); + set => DeleteTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// + /// Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This + /// field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Output only. This checksum is computed by the server based on the value of other fields. This may be sent on + /// update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This + /// field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + private string _expireTimeRaw; + + private object _expireTime; + + /// Output only. The time at which this resource will be purged. This field is not used. + [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.Utilities.GetDateTimeOffsetFromString(ExpireTimeRaw); + set => ExpireTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + /// A collection of class items. [Newtonsoft.Json.JsonPropertyAttribute("items")] public virtual System.Collections.Generic.IList Items { get; set; } @@ -1372,8 +1470,21 @@ public class CustomClass : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } + /// + /// Output only. Whether or not this CustomClass is in the process of being updated. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("reconciling")] + public virtual System.Nullable Reconciling { get; set; } + + /// Output only. The CustomClass lifecycle state. This field is not used. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// + /// Output only. System-assigned unique identifier for the CustomClass. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uid")] + public virtual string Uid { get; set; } } /// @@ -1702,6 +1813,13 @@ public class Phrase : Google.Apis.Requests.IDirectResponseSchema /// Provides "hints" to the speech recognizer to favor specific words and phrases in the results. public class PhraseSet : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 + /// characters or less each. At most 100 annotations. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("annotations")] + public virtual System.Collections.Generic.IDictionary Annotations { get; set; } + /// /// Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over /// other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as @@ -1713,6 +1831,97 @@ public class PhraseSet : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("boost")] public virtual System.Nullable Boost { get; set; } + private string _deleteTimeRaw; + + private object _deleteTime; + + /// + /// Output only. The time at which this resource was requested for deletion. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("deleteTime")] + public virtual string DeleteTimeRaw + { + get => _deleteTimeRaw; + set + { + _deleteTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _deleteTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")] + public virtual object DeleteTime + { + get => _deleteTime; + set + { + _deleteTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _deleteTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(DeleteTimeRaw); + set => DeleteTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// + /// Output only. User-settable, human-readable name for the PhraseSet. Must be 63 characters or less. This field + /// is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Output only. This checksum is computed by the server based on the value of other fields. This may be sent on + /// update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This + /// field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + private string _expireTimeRaw; + + private object _expireTime; + + /// Output only. The time at which this resource will be purged. This field is not used. + [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.Utilities.GetDateTimeOffsetFromString(ExpireTimeRaw); + set => ExpireTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + /// /// Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the /// content of the PhraseSet is encrypted. The expected format is @@ -1737,8 +1946,19 @@ public class PhraseSet : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("phrases")] public virtual System.Collections.Generic.IList Phrases { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } + /// + /// Output only. Whether or not this PhraseSet is in the process of being updated. This field is not used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("reconciling")] + public virtual System.Nullable Reconciling { get; set; } + + /// Output only. The CustomClass lifecycle state. This field is not used. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. System-assigned unique identifier for the PhraseSet. This field is not used. + [Newtonsoft.Json.JsonPropertyAttribute("uid")] + public virtual string Uid { get; set; } } /// diff --git a/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.csproj b/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.csproj index c5903d26851..8db34f01520 100644 --- a/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.csproj +++ b/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Speech.v1p1beta1 Client Library - 1.62.0.3137 + 1.62.0.3165 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs index 585ec91ac69..f85cea59f19 100644 --- a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs +++ b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs @@ -41,6 +41,7 @@ public StorageService(Google.Apis.Services.BaseClientService.Initializer initial Notifications = new NotificationsResource(this); ObjectAccessControls = new ObjectAccessControlsResource(this); Objects = new ObjectsResource(this); + Operations = new OperationsResource(this); Projects = new ProjectsResource(this); } @@ -121,6 +122,9 @@ public static class ScopeConstants /// Gets the Objects resource. public virtual ObjectsResource Objects { get; } + /// Gets the Operations resource. + public virtual OperationsResource Operations { get; } + /// Gets the Projects resource. public virtual ProjectsResource Projects { get; } } @@ -3417,6 +3421,59 @@ public ObjectsResource(Google.Apis.Services.IClientService service) this.service = service; } + /// Initiates a long-running bulk restore operation on the specified bucket. + /// The body of the request. + /// Name of the bucket in which the object resides. + public virtual BulkRestoreRequest BulkRestore(Google.Apis.Storage.v1.Data.BulkRestoreObjectsRequest body, string bucket) + { + return new BulkRestoreRequest(service, body, bucket); + } + + /// Initiates a long-running bulk restore operation on the specified bucket. + public class BulkRestoreRequest : StorageBaseServiceRequest + { + /// Constructs a new BulkRestore request. + public BulkRestoreRequest(Google.Apis.Services.IClientService service, Google.Apis.Storage.v1.Data.BulkRestoreObjectsRequest body, string bucket) : base(service) + { + Bucket = bucket; + Body = body; + InitParameters(); + } + + /// Name of the bucket in which the object resides. + [Google.Apis.Util.RequestParameterAttribute("bucket", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Bucket { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Storage.v1.Data.BulkRestoreObjectsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "bulkRestore"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "b/{bucket}/o/bulkRestore"; + + /// Initializes BulkRestore parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("bucket", new Google.Apis.Discovery.Parameter + { + Name = "bucket", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Concatenates a list of existing objects into a new object in the same bucket. /// The body of the request. /// @@ -4186,6 +4243,13 @@ public enum ProjectionEnum NoAcl = 1, } + /// + /// If true, only soft-deleted object versions will be listed. The default is false. For more information, + /// see Soft Delete. + /// + [Google.Apis.Util.RequestParameterAttribute("softDeleted", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable SoftDeleted { get; set; } + /// The project to be billed for this request. Required for Requester Pays buckets. [Google.Apis.Util.RequestParameterAttribute("userProject", Google.Apis.Util.RequestParameterType.Query)] public virtual string UserProject { get; set; } @@ -4267,6 +4331,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("softDeleted", new Google.Apis.Discovery.Parameter + { + Name = "softDeleted", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("userProject", new Google.Apis.Discovery.Parameter { Name = "userProject", @@ -5010,6 +5082,13 @@ public enum ProjectionEnum NoAcl = 1, } + /// + /// If true, only soft-deleted object versions will be listed. The default is false. For more information, + /// see Soft Delete. + /// + [Google.Apis.Util.RequestParameterAttribute("softDeleted", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable SoftDeleted { get; set; } + /// /// Filter results to objects whose names are lexicographically equal to or after startOffset. If endOffset /// is also set, the objects listed will have names between startOffset (inclusive) and endOffset @@ -5114,6 +5193,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("softDeleted", new Google.Apis.Discovery.Parameter + { + Name = "softDeleted", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("startOffset", new Google.Apis.Discovery.Parameter { Name = "startOffset", @@ -5366,6 +5453,189 @@ protected override void InitParameters() } } + /// Restores a soft-deleted object. + /// The body of the request. + /// Selects a specific revision of this object. + /// Name of the bucket in which the object resides. + /// + /// Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI + /// Path Parts. + /// + public virtual RestoreRequest Restore(Google.Apis.Storage.v1.Data.Object body, long generation, string bucket, string storageObject) + { + return new RestoreRequest(service, body, generation, bucket, storageObject); + } + + /// Restores a soft-deleted object. + public class RestoreRequest : StorageBaseServiceRequest + { + /// Constructs a new Restore request. + public RestoreRequest(Google.Apis.Services.IClientService service, Google.Apis.Storage.v1.Data.Object body, long generation, string bucket, string storageObject) : base(service) + { + Generation = generation; + Bucket = bucket; + Object = storageObject; + Body = body; + InitParameters(); + } + + /// Selects a specific revision of this object. + [Google.Apis.Util.RequestParameterAttribute("generation", Google.Apis.Util.RequestParameterType.Query)] + public virtual long Generation { get; private set; } + + /// Name of the bucket in which the object resides. + [Google.Apis.Util.RequestParameterAttribute("bucket", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Bucket { get; private set; } + + /// + /// Name of the object. For information about how to URL encode object names to be path safe, see Encoding + /// URI Path Parts. + /// + [Google.Apis.Util.RequestParameterAttribute("object", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Object { get; private set; } + + /// + /// Makes the operation conditional on whether the object's one live generation matches the given value. + /// Setting to 0 makes the operation succeed only if there are no live versions of the object. + /// + [Google.Apis.Util.RequestParameterAttribute("ifGenerationMatch", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IfGenerationMatch { get; set; } + + /// + /// Makes the operation conditional on whether none of the object's live generations match the given value. + /// If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there + /// is a live version of the object. + /// + [Google.Apis.Util.RequestParameterAttribute("ifGenerationNotMatch", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IfGenerationNotMatch { get; set; } + + /// + /// Makes the operation conditional on whether the object's one live metageneration matches the given value. + /// + [Google.Apis.Util.RequestParameterAttribute("ifMetagenerationMatch", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IfMetagenerationMatch { get; set; } + + /// + /// Makes the operation conditional on whether none of the object's live metagenerations match the given + /// value. + /// + [Google.Apis.Util.RequestParameterAttribute("ifMetagenerationNotMatch", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable IfMetagenerationNotMatch { get; set; } + + /// Set of properties to return. Defaults to full. + [Google.Apis.Util.RequestParameterAttribute("projection", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Projection { get; set; } + + /// Set of properties to return. Defaults to full. + public enum ProjectionEnum + { + /// Include all properties. + [Google.Apis.Util.StringValueAttribute("full")] + Full = 0, + + /// Omit the owner, acl property. + [Google.Apis.Util.StringValueAttribute("noAcl")] + NoAcl = 1, + } + + /// The project to be billed for this request. Required for Requester Pays buckets. + [Google.Apis.Util.RequestParameterAttribute("userProject", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UserProject { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Storage.v1.Data.Object Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "restore"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "b/{bucket}/o/{object}/restore"; + + /// Initializes Restore parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("generation", new Google.Apis.Discovery.Parameter + { + Name = "generation", + IsRequired = true, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("bucket", new Google.Apis.Discovery.Parameter + { + Name = "bucket", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("object", new Google.Apis.Discovery.Parameter + { + Name = "object", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("ifGenerationMatch", new Google.Apis.Discovery.Parameter + { + Name = "ifGenerationMatch", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("ifGenerationNotMatch", new Google.Apis.Discovery.Parameter + { + Name = "ifGenerationNotMatch", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("ifMetagenerationMatch", new Google.Apis.Discovery.Parameter + { + Name = "ifMetagenerationMatch", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("ifMetagenerationNotMatch", new Google.Apis.Discovery.Parameter + { + Name = "ifMetagenerationNotMatch", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("projection", new Google.Apis.Discovery.Parameter + { + Name = "projection", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("userProject", new Google.Apis.Discovery.Parameter + { + Name = "userProject", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Rewrites a source object to a destination object. Optionally overrides metadata. /// The body of the request. /// Name of the bucket in which to find the source object. @@ -6394,6 +6664,234 @@ protected override void InitParameters() } } + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the + /// operation, but success is not guaranteed. + /// + /// The parent bucket of the operation resource. + /// The ID of the operation resource. + public virtual CancelRequest Cancel(string bucket, string operationId) + { + return new CancelRequest(service, bucket, operationId); + } + + /// + /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the + /// operation, but success is not guaranteed. + /// + public class CancelRequest : StorageBaseServiceRequest + { + /// Constructs a new Cancel request. + public CancelRequest(Google.Apis.Services.IClientService service, string bucket, string operationId) : base(service) + { + Bucket = bucket; + OperationId = operationId; + InitParameters(); + } + + /// The parent bucket of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("bucket", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Bucket { get; private set; } + + /// The ID of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("operationId", Google.Apis.Util.RequestParameterType.Path)] + public virtual string OperationId { get; private set; } + + /// Gets the method name. + public override string MethodName => "cancel"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "b/{bucket}/operations/{operationId}/cancel"; + + /// Initializes Cancel parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("bucket", new Google.Apis.Discovery.Parameter + { + Name = "bucket", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("operationId", new Google.Apis.Discovery.Parameter + { + Name = "operationId", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Gets the latest state of a long-running operation. + /// The parent bucket of the operation resource. + /// The ID of the operation resource. + public virtual GetRequest Get(string bucket, string operationId) + { + return new GetRequest(service, bucket, operationId); + } + + /// Gets the latest state of a long-running operation. + public class GetRequest : StorageBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string bucket, string operationId) : base(service) + { + Bucket = bucket; + OperationId = operationId; + InitParameters(); + } + + /// The parent bucket of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("bucket", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Bucket { get; private set; } + + /// The ID of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("operationId", Google.Apis.Util.RequestParameterType.Path)] + public virtual string OperationId { 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 => "b/{bucket}/operations/{operationId}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("bucket", new Google.Apis.Discovery.Parameter + { + Name = "bucket", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("operationId", new Google.Apis.Discovery.Parameter + { + Name = "operationId", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Lists operations that match the specified filter in the request. + /// Name of the bucket in which to look for operations. + public virtual ListRequest List(string bucket) + { + return new ListRequest(service, bucket); + } + + /// Lists operations that match the specified filter in the request. + public class ListRequest : StorageBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string bucket) : base(service) + { + Bucket = bucket; + InitParameters(); + } + + /// Name of the bucket in which to look for operations. + [Google.Apis.Util.RequestParameterAttribute("bucket", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Bucket { get; private set; } + + /// + /// A filter to narrow down results to a preferred subset. The filtering language is documented in more + /// detail in [AIP-160](https://google.aip.dev/160). + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Maximum number of items to return in a single page of responses. Fewer total results may be returned + /// than requested. The service uses this parameter or 100 items, whichever is smaller. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// A previously-returned page token representing part of the larger set of results to view. + /// + [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 => "b/{bucket}/operations"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("bucket", new Google.Apis.Discovery.Parameter + { + Name = "bucket", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + 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, + }); + } + } + } + /// The "projects" collection of methods. public class ProjectsResource { @@ -7647,6 +8145,87 @@ public class Buckets : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// A bulk restore objects request. + public class BulkRestoreObjectsRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If false (default), the restore will not overwrite live objects with the same name at the destination. This + /// means some deleted objects may be skipped. If true, live objects will be overwritten resulting in a + /// noncurrent object (if versioning is enabled). If versioning is not enabled, overwriting the object will + /// result in a soft-deleted object. In either case, if a noncurrent object already exists with the same name, a + /// live version can be written without issue. + /// + [Newtonsoft.Json.JsonPropertyAttribute("allowOverwrite")] + public virtual System.Nullable AllowOverwrite { get; set; } + + /// + /// If true, copies the source object's ACL; otherwise, uses the bucket's default object ACL. The default is + /// false. + /// + [Newtonsoft.Json.JsonPropertyAttribute("copySourceAcl")] + public virtual System.Nullable CopySourceAcl { get; set; } + + /// + /// Restores only the objects matching any of the specified glob(s). If this parameter is not specified, all + /// objects will be restored within the specified time range. + /// + [Newtonsoft.Json.JsonPropertyAttribute("matchGlobs")] + public virtual System.Collections.Generic.IList MatchGlobs { get; set; } + + /// Restores only the objects that were soft-deleted after this time. + [Newtonsoft.Json.JsonPropertyAttribute("softDeletedAfterTime")] + public virtual string SoftDeletedAfterTimeRaw { get; set; } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? SoftDeletedAfterTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(SoftDeletedAfterTimeRaw); + set => SoftDeletedAfterTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use SoftDeletedAfterTimeDateTimeOffset instead.")] + public virtual System.DateTime? SoftDeletedAfterTime + { + get => Google.Apis.Util.Utilities.GetDateTimeFromString(SoftDeletedAfterTimeRaw); + set => SoftDeletedAfterTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); + } + + /// Restores only the objects that were soft-deleted before this time. + [Newtonsoft.Json.JsonPropertyAttribute("softDeletedBeforeTime")] + public virtual string SoftDeletedBeforeTimeRaw { get; set; } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? SoftDeletedBeforeTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(SoftDeletedBeforeTimeRaw); + set => SoftDeletedBeforeTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use SoftDeletedBeforeTimeDateTimeOffset instead.")] + public virtual System.DateTime? SoftDeletedBeforeTime + { + get => Google.Apis.Util.Utilities.GetDateTimeFromString(SoftDeletedBeforeTimeRaw); + set => SoftDeletedBeforeTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// An notification channel used to watch for resource changes. public class Channel : Google.Apis.Requests.IDirectResponseSchema { @@ -7789,6 +8368,93 @@ public class Expr : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// The response message for storage.buckets.operations.list. + public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The continuation token, used to page through large result sets. Provide this value in a subsequent request + /// to return the next page of results. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// A list of operations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("operations")] + public virtual System.Collections.Generic.IList Operations { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This resource represents a long-running operation that is the result of a network API call. + public class GoogleLongrunningOperation : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If the value is "false", it means the operation is still in progress. If "true", the operation is completed, + /// and either "error" or "response" is available. + /// + [Newtonsoft.Json.JsonPropertyAttribute("done")] + public virtual System.Nullable Done { get; set; } + + /// The error result of the operation in case of failure or cancellation. + [Newtonsoft.Json.JsonPropertyAttribute("error")] + public virtual GoogleRpcStatus Error { get; set; } + + /// + /// Service-specific metadata associated with the operation. It typically contains progress information and + /// common metadata such as create time. Some services might not provide such metadata. Any method that returns + /// a long-running operation should document the metadata type, if any. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// + /// The server-assigned name, which is only unique within the same service that originally returns it. If you + /// use the default HTTP mapping, the "name" should be a resource name ending with "operations/{operationId}". + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// The normal response of the operation in case of success. If the original method returns no data on success, + /// such as "Delete", the response is google.protobuf.Empty. If the original method is standard + /// Get/Create/Update, the response should be the resource. For other methods, the response should have the type + /// "XxxResponse", where "Xxx" is the original method name. For example, if the original method name is + /// "TakeSnapshot()", the inferred response type is "TakeSnapshotResponse". + /// + [Newtonsoft.Json.JsonPropertyAttribute("response")] + public virtual System.Collections.Generic.IDictionary Response { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// The "Status" type defines a logical error model that is suitable for different programming environments, + /// including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each "Status" message contains + /// three pieces of data: error code, error message, and error details. You can find out more about this error model + /// and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). + /// + public class GoogleRpcStatus : Google.Apis.Requests.IDirectResponseSchema + { + /// The status code, which should be an enum value of google.rpc.Code. + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual System.Nullable Code { get; set; } + + /// + /// A list of messages that carry the error details. There is a common set of message types for APIs to use. + /// + [Newtonsoft.Json.JsonPropertyAttribute("details")] + public virtual System.Collections.Generic.IList> Details { get; set; } + + /// A developer-facing error message, which should be in English. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// JSON template to produce a JSON-style HMAC Key resource for Create responses. public class HmacKey : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.csproj b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.csproj index 114c5c0fe0b..f18c68a68e6 100644 --- a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.csproj +++ b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Storage.v1 Client Library - 1.62.0.3112 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj b/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj index 7d6527603b8..fdb4643ac02 100644 --- a/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj +++ b/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.TPU.v2alpha1 Client Library - 1.62.0.3147 + 1.62.0.3168 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.cs b/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.cs index b3c01a775a0..3480bb8a2c5 100644 --- a/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.cs +++ b/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.cs @@ -326,6 +326,113 @@ public class ExecutionsResource public ExecutionsResource(Google.Apis.Services.IClientService service) { this.service = service; + Callbacks = new CallbacksResource(service); + } + + /// Gets the Callbacks resource. + public virtual CallbacksResource Callbacks { get; } + + /// The "callbacks" collection of methods. + public class CallbacksResource + { + private const string Resource = "callbacks"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public CallbacksResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Returns a list of active callbacks which belong to the execution with the given name. The + /// returned callbacks are ordered by callback ID. first). + /// + /// + /// Required. Name of the execution for which the callbacks should be listed. Format: + /// projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(service, parent); + } + + /// + /// Returns a list of active callbacks which belong to the execution with the given name. The + /// returned callbacks are ordered by callback ID. first). + /// + public class ListRequest : WorkflowExecutionsBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. Name of the execution for which the callbacks should be listed. Format: + /// projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Maximum number of callbacks to return per call. The default value is 100 and is also the + /// maximum value. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// A page token, received from a previous `ListCallbacks` call. Provide this to retrieve + /// the subsequent page. Note that pagination is applied to dynamic data. The list of + /// callbacks returned can change between page requests if callbacks are created or deleted. + /// + [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 => "v1/{+parent}/callbacks"; + + /// 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 = @"^projects/[^/]+/locations/[^/]+/workflows/[^/]+/executions/[^/]+$", + }); + 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, + }); + } + } } /// Cancels an execution of the given name. @@ -448,6 +555,63 @@ protected override void InitParameters() } } + /// + /// Returns all metadata stored about an execution, excluding most data that is already accessible + /// via other API methods. + /// + /// + /// Required. Name of the execution to be data exported. Format: + /// projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} + /// + public virtual ExportDataRequest ExportData(string name) + { + return new ExportDataRequest(service, name); + } + + /// + /// Returns all metadata stored about an execution, excluding most data that is already accessible + /// via other API methods. + /// + public class ExportDataRequest : WorkflowExecutionsBaseServiceRequest + { + /// Constructs a new ExportData request. + public ExportDataRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. Name of the execution to be data exported. Format: + /// projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} + /// + [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 => "exportData"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:exportData"; + + /// Initializes ExportData 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/[^/]+/workflows/[^/]+/executions/[^/]+$", + }); + } + } + /// Returns an execution of the given name. /// /// Required. Name of the execution to be retrieved. Format: @@ -769,6 +933,34 @@ protected override void InitParameters() } namespace Google.Apis.WorkflowExecutions.v1.Data { + /// An instance of a Callback created by an execution. + public class Callback : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Output only. The payloads received by the callback that have not been processed by a waiting execution step. + /// + [Newtonsoft.Json.JsonPropertyAttribute("availablePayloads")] + public virtual System.Collections.Generic.IList AvailablePayloads { get; set; } + + /// Output only. The method accepted by the callback. E.g. GET, POST, PUT. + [Newtonsoft.Json.JsonPropertyAttribute("method")] + public virtual string Method { get; set; } + + /// + /// Output only. The resource name of the callback. Format: + /// projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/callback/{callback} + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Output only. Number of execution steps waiting on this callback. + [Newtonsoft.Json.JsonPropertyAttribute("waiters")] + public virtual System.Nullable Waiters { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Request for the CancelExecution method. public class CancelExecutionRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -943,6 +1135,35 @@ public virtual System.DateTimeOffset? StartTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Response for the ExportData method. + public class ExportDataResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The JSON string with customer data and metadata of an execution of the given name + [Newtonsoft.Json.JsonPropertyAttribute("data")] + public virtual string Data { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// RPC response object for the ListCallbacks method. + public class ListCallbacksResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The callbacks which match the request. + [Newtonsoft.Json.JsonPropertyAttribute("callbacks")] + public virtual System.Collections.Generic.IList Callbacks { 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 for the ListExecutions method. public class ListExecutionsResponse : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.csproj b/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.csproj index d989467dd60..ff3d47bab93 100644 --- a/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.csproj +++ b/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.WorkflowExecutions.v1 Client Library - 1.62.0.3121 + 1.62.0.3162 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs index 45b9902dd26..a02d0d1ac0d 100644 --- a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs +++ b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs @@ -1956,13 +1956,13 @@ public class Insight : Google.Apis.Requests.IDirectResponseSchema public virtual string InstanceId { get; set; } /// - /// The insights data for sap system discovery. This is a copy of SAP System proto and should get updated + /// The insights data for SAP system discovery. This is a copy of SAP System proto and should get updated /// whenever that one changes. /// [Newtonsoft.Json.JsonPropertyAttribute("sapDiscovery")] public virtual SapDiscovery SapDiscovery { get; set; } - /// The insights data for the sap workload validation. + /// The insights data for the SAP workload validation. [Newtonsoft.Json.JsonPropertyAttribute("sapValidation")] public virtual SapValidation SapValidation { get; set; } @@ -2192,8 +2192,8 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema public virtual string Name { get; set; } /// - /// The normal response of the operation in case of success. If the original method returns no data on success, - /// such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// The normal, successful response of the operation. If the original method returns no data on success, such as + /// `Delete`, the response is `google.protobuf.Empty`. If the original method is standard /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. @@ -2444,24 +2444,24 @@ public class RunEvaluationRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// LINT.IfChange The schema of SAP system discovery data. + /// The schema of SAP system discovery data. public class SapDiscovery : Google.Apis.Requests.IDirectResponseSchema { - /// An SAP system may run without an application layer. + /// Optional. An SAP system may run without an application layer. [Newtonsoft.Json.JsonPropertyAttribute("applicationLayer")] public virtual SapDiscoveryComponent ApplicationLayer { get; set; } - /// An SAP System must have a database. + /// Required. An SAP System must have a database. [Newtonsoft.Json.JsonPropertyAttribute("databaseLayer")] public virtual SapDiscoveryComponent DatabaseLayer { get; set; } - /// The metadata for SAP system discovery data. + /// Optional. The metadata for SAP system discovery data. [Newtonsoft.Json.JsonPropertyAttribute("metadata")] public virtual SapDiscoveryMetadata Metadata { get; set; } /// - /// A combination of database SID, database instance URI and tenant DB name to make a unique identifier - /// per-system. + /// Output only. A combination of database SID, database instance URI and tenant DB name to make a unique + /// identifier per-system. /// [Newtonsoft.Json.JsonPropertyAttribute("systemId")] public virtual string SystemId { get; set; } @@ -2470,7 +2470,7 @@ public class SapDiscovery : Google.Apis.Requests.IDirectResponseSchema private object _updateTime; - /// Unix timestamp this system has been updated last. + /// Required. Unix timestamp this system has been updated last. [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] public virtual string UpdateTimeRaw { @@ -2518,16 +2518,16 @@ public class SapDiscoveryComponent : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("databaseProperties")] public virtual SapDiscoveryComponentDatabaseProperties DatabaseProperties { get; set; } - /// Pantheon Project in which the resources reside. + /// Required. Pantheon Project in which the resources reside. [Newtonsoft.Json.JsonPropertyAttribute("hostProject")] public virtual string HostProject { get; set; } - /// The resources in a component. + /// Optional. The resources in a component. [Newtonsoft.Json.JsonPropertyAttribute("resources")] public virtual System.Collections.Generic.IList Resources { get; set; } /// - /// The sap identifier, used by the SAP software and helps differentiate systems for customers. + /// Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers. /// [Newtonsoft.Json.JsonPropertyAttribute("sid")] public virtual string Sid { get; set; } @@ -2543,7 +2543,7 @@ public class SapDiscoveryComponentApplicationProperties : Google.Apis.Requests.I [Newtonsoft.Json.JsonPropertyAttribute("applicationType")] public virtual string ApplicationType { get; set; } - /// Required. Resource URI of the recognized ASCS host of the application. + /// Optional. Resource URI of the recognized ASCS host of the application. [Newtonsoft.Json.JsonPropertyAttribute("ascsUri")] public virtual string AscsUri { get; set; } @@ -2583,19 +2583,19 @@ public class SapDiscoveryComponentDatabaseProperties : Google.Apis.Requests.IDir /// Message describing SAP discovery system metadata public class SapDiscoveryMetadata : Google.Apis.Requests.IDirectResponseSchema { - /// Customer region string for customer's use. Does not represent GCP region. + /// Optional. Customer region string for customer's use. Does not represent GCP region. [Newtonsoft.Json.JsonPropertyAttribute("customerRegion")] public virtual string CustomerRegion { get; set; } - /// Customer defined, something like "E-commerce pre prod" + /// Optional. Customer defined, something like "E-commerce pre prod" [Newtonsoft.Json.JsonPropertyAttribute("definedSystem")] public virtual string DefinedSystem { get; set; } - /// Should be "prod", "QA", "dev", "staging", etc. + /// Optional. Should be "prod", "QA", "dev", "staging", etc. [Newtonsoft.Json.JsonPropertyAttribute("environmentType")] public virtual string EnvironmentType { get; set; } - /// This sap product name + /// Optional. This SAP product name [Newtonsoft.Json.JsonPropertyAttribute("sapProduct")] public virtual string SapProduct { get; set; } @@ -2606,7 +2606,7 @@ public class SapDiscoveryMetadata : Google.Apis.Requests.IDirectResponseSchema /// Message describing a resource. public class SapDiscoveryResource : Google.Apis.Requests.IDirectResponseSchema { - /// A list of resource URIs related to this resource. + /// Optional. A list of resource URIs related to this resource. [Newtonsoft.Json.JsonPropertyAttribute("relatedResources")] public virtual System.Collections.Generic.IList RelatedResources { get; set; } @@ -2618,7 +2618,7 @@ public class SapDiscoveryResource : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("resourceType")] public virtual string ResourceType { get; set; } - /// URI of the resource, includes project, location, and name. + /// Required. URI of the resource, includes project, location, and name. [Newtonsoft.Json.JsonPropertyAttribute("resourceUri")] public virtual string ResourceUri { get; set; } @@ -2626,7 +2626,7 @@ public class SapDiscoveryResource : Google.Apis.Requests.IDirectResponseSchema private object _updateTime; - /// Unix timestamp of when this resource last had its discovery data updated. + /// Required. Unix timestamp of when this resource last had its discovery data updated. [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] public virtual string UpdateTimeRaw { @@ -2666,7 +2666,7 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset /// A presentation of SAP workload insight. The schema of SAP workloads validation related data. public class SapValidation : Google.Apis.Requests.IDirectResponseSchema { - /// A list of SAP validation metrics data. + /// Optional. A list of SAP validation metrics data. [Newtonsoft.Json.JsonPropertyAttribute("validationDetails")] public virtual System.Collections.Generic.IList ValidationDetails { get; set; } @@ -2677,11 +2677,11 @@ public class SapValidation : Google.Apis.Requests.IDirectResponseSchema /// Message describing the SAP validation metrics. public class SapValidationValidationDetail : Google.Apis.Requests.IDirectResponseSchema { - /// The pairs of metrics data: field name & field value. + /// Optional. The pairs of metrics data: field name & field value. [Newtonsoft.Json.JsonPropertyAttribute("details")] public virtual System.Collections.Generic.IDictionary Details { get; set; } - /// The SAP system that the validation data is from. + /// Optional. The SAP system that the validation data is from. [Newtonsoft.Json.JsonPropertyAttribute("sapValidationType")] public virtual string SapValidationType { get; set; } @@ -2705,7 +2705,7 @@ public class ScannedResource : Google.Apis.Requests.IDirectResponseSchema /// public class SqlserverValidation : Google.Apis.Requests.IDirectResponseSchema { - /// The agent version collected this data point + /// Optional. The agent version collected this data point [Newtonsoft.Json.JsonPropertyAttribute("agentVersion")] public virtual string AgentVersion { get; set; } @@ -2721,7 +2721,7 @@ public class SqlserverValidation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("projectId")] public virtual string ProjectId { get; set; } - /// A list of SqlServer validation metrics data. + /// Optional. A list of SqlServer validation metrics data. [Newtonsoft.Json.JsonPropertyAttribute("validationDetails")] public virtual System.Collections.Generic.IList ValidationDetails { get; set; } @@ -2747,7 +2747,7 @@ public class SqlserverValidationValidationDetail : Google.Apis.Requests.IDirectR [Newtonsoft.Json.JsonPropertyAttribute("details")] public virtual System.Collections.Generic.IList Details { get; set; } - /// The Sqlserver system that the validation data is from. + /// Optional. The Sqlserver system that the validation data is from. [Newtonsoft.Json.JsonPropertyAttribute("type")] public virtual string Type { get; set; } diff --git a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj index 6bf80aed4e4..e5c57e49f95 100644 --- a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj +++ b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.WorkloadManager.v1 Client Library - 1.62.0.3121 + 1.62.0.3171 Google LLC Copyright 2023 Google LLC Google