Added new APIs to pkg:googleapis, ready to publish v10.0.0 (#490)
diff --git a/config.yaml b/config.yaml index 8d6fc6b..bc255cc 100644 --- a/config.yaml +++ b/config.yaml
@@ -2,7 +2,7 @@ # should be ignored. packages: - googleapis: - version: 9.2.0 + version: 10.0.0 repository: https://github.com/google/googleapis.dart/tree/master/generated/googleapis readme: resources/README.md license: resources/LICENSE @@ -39,7 +39,6 @@ - artifactregistry:v1 - assuredworkloads:v1 - authorizedbuyersmarketplace:v1 - - baremetalsolution:v1 - baremetalsolution:v2 - batch:v1 - beyondcorp:v1 @@ -252,6 +251,7 @@ - websecurityscanner:v1 - workflowexecutions:v1 - workflows:v1 + - workloadmanager:v1 - youtube:v3 # https://developers.google.com/youtube/ - youtubeAnalytics:v2 # https://developers.google.com/youtube/analytics/ - youtubereporting:v1 # https://developers.google.com/youtube/reporting/v1/reports/ @@ -289,7 +289,6 @@ - firebasedatabase:v1beta - firebasestorage:v1beta - gkehub:v2alpha - - ideahub:v1beta - lifesciences:v2beta - metastore:v1beta - networkconnectivity:v1alpha1 @@ -345,8 +344,10 @@ - composer:v1beta1 # v1 included - compute:alpha # v1 included - compute:beta # v1 included +- contactcenteraiplatform:v1alpha1 - container:v1beta1 # v1 included - containeranalysis:v1alpha1 # v1beta1 included +- dataform:v1beta1 - datafusion:v1beta1 # v1 included - datamigration:v1beta1 - datastore:v1beta1 # v1 included @@ -355,6 +356,8 @@ - deploymentmanager:v2beta # v1 included - dialogflow:v2beta1 # v2 included - dialogflow:v3beta1 # v3 included +- discoveryengine:v1alpha +- discoveryengine:v1beta - dns:v1beta2 # v1 included - documentai:v1beta2 # v1beta3 included - domains:v1alpha2 # v1beta1 included @@ -375,7 +378,6 @@ - healthcare:v1beta1 # v1 included - iam:v2beta - iap:v1beta1 # v1 included -- ideahub:v1alpha - identitytoolkit:v1 - identitytoolkit:v2 - integrations:v1alpha @@ -431,5 +433,4 @@ - websecurityscanner:v1beta # v1 included - workflowexecutions:v1beta # v1 included - workflows:v1beta # v1 included -- discoveryengine:v1alpha -- discoveryengine:v1beta +- workstations:v1beta
diff --git a/discovery/googleapis/abusiveexperiencereport__v1.json b/discovery/googleapis/abusiveexperiencereport__v1.json index 9359e16..89f1aa4 100644 --- a/discovery/googleapis/abusiveexperiencereport__v1.json +++ b/discovery/googleapis/abusiveexperiencereport__v1.json
@@ -137,7 +137,7 @@ } } }, - "revision": "20220715", + "revision": "20230114", "rootUrl": "https://abusiveexperiencereport.googleapis.com/", "schemas": { "SiteSummaryResponse": {
diff --git a/discovery/googleapis/acceleratedmobilepageurl__v1.json b/discovery/googleapis/acceleratedmobilepageurl__v1.json index bc6f7dd..a192ecd 100644 --- a/discovery/googleapis/acceleratedmobilepageurl__v1.json +++ b/discovery/googleapis/acceleratedmobilepageurl__v1.json
@@ -114,7 +114,7 @@ } } }, - "revision": "20221205", + "revision": "20230115", "rootUrl": "https://acceleratedmobilepageurl.googleapis.com/", "schemas": { "AmpUrl": {
diff --git a/discovery/googleapis/accessapproval__v1.json b/discovery/googleapis/accessapproval__v1.json index b0a0618..d6598c0 100644 --- a/discovery/googleapis/accessapproval__v1.json +++ b/discovery/googleapis/accessapproval__v1.json
@@ -911,7 +911,7 @@ } } }, - "revision": "20221202", + "revision": "20230113", "rootUrl": "https://accessapproval.googleapis.com/", "schemas": { "AccessApprovalServiceAccount": { @@ -1138,7 +1138,7 @@ "id": "EnrolledService", "properties": { "cloudProduct": { - "description": "The product for which Access Approval will be enrolled. Allowed values are listed below (case-sensitive): * all * GA * App Engine * BigQuery * Cloud Bigtable * Cloud Key Management Service * Compute Engine * Cloud Dataflow * Cloud Dataproc * Cloud DLP * Cloud EKM * Cloud HSM * Cloud Identity and Access Management * Cloud Logging * Cloud Pub/Sub * Cloud Spanner * Cloud SQL * Cloud Storage * Google Kubernetes Engine * Organization Policy Serivice * Persistent Disk * Resource Manager * Secret Manager * Speaker ID Note: These values are supported as input for legacy purposes, but will not be returned from the API. * all * ga-only * appengine.googleapis.com * bigquery.googleapis.com * bigtable.googleapis.com * container.googleapis.com * cloudkms.googleapis.com * cloudresourcemanager.googleapis.com * cloudsql.googleapis.com * compute.googleapis.com * dataflow.googleapis.com * dataproc.googleapis.com * dlp.googleapis.com * iam.googleapis.com * logging.googleapis.com * orgpolicy.googleapis.com * pubsub.googleapis.com * spanner.googleapis.com * secretmanager.googleapis.com * speakerid.googleapis.com * storage.googleapis.com Calls to UpdateAccessApprovalSettings using 'all' or any of the XXX.googleapis.com will be translated to the associated product name ('all', 'App Engine', etc.). Note: 'all' will enroll the resource in all products supported at both 'GA' and 'Preview' levels. More information about levels of support is available at https://cloud.google.com/access-approval/docs/supported-services", + "description": "The product for which Access Approval will be enrolled. Allowed values are listed below (case-sensitive): * all * GA * App Engine . * Artifact Registry * BigQuery * Cloud Bigtable * Cloud Key Management Service * Compute Engine * Cloud Dataflow * Cloud Dataproc * Cloud DLP * Cloud EKM * Cloud HSM * Cloud Identity and Access Management * Cloud Logging * Cloud Pub/Sub * Cloud Spanner * Cloud SQL * Cloud Storage * Google Kubernetes Engine * Organization Policy Serivice * Persistent Disk * Resource Manager * Secret Manager * Speaker ID Note: These values are supported as input for legacy purposes, but will not be returned from the API. * all * ga-only * appengine.googleapis.com * artifactregistry.googleapis.com * bigquery.googleapis.com * bigtable.googleapis.com * container.googleapis.com * cloudkms.googleapis.com * cloudresourcemanager.googleapis.com * cloudsql.googleapis.com * compute.googleapis.com * dataflow.googleapis.com * dataproc.googleapis.com * dlp.googleapis.com * iam.googleapis.com * logging.googleapis.com * orgpolicy.googleapis.com * pubsub.googleapis.com * spanner.googleapis.com * secretmanager.googleapis.com * speakerid.googleapis.com * storage.googleapis.com Calls to UpdateAccessApprovalSettings using 'all' or any of the XXX.googleapis.com will be translated to the associated product name ('all', 'App Engine', etc.). Note: 'all' will enroll the resource in all products supported at both 'GA' and 'Preview' levels. More information about levels of support is available at https://cloud.google.com/access-approval/docs/supported-services", "type": "string" }, "enrollmentLevel": {
diff --git a/discovery/googleapis/accesscontextmanager__v1.json b/discovery/googleapis/accesscontextmanager__v1.json index 8da7c34..f365e1d 100644 --- a/discovery/googleapis/accesscontextmanager__v1.json +++ b/discovery/googleapis/accesscontextmanager__v1.json
@@ -563,6 +563,158 @@ } } }, + "authorizedOrgsDescs": { + "methods": { + "create": { + "description": "Creates a authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. The name of this `AuthorizedOrgsDesc` will be assigned during creation.", + "flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs", + "httpMethod": "POST", + "id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Resource name for the access policy which owns this Authorized Orgs Desc. Format: `accessPolicies/{policy_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/authorizedOrgsDescs", + "request": { + "$ref": "AuthorizedOrgsDesc" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a authorized orgs desc based on the resource name. The long-running operation from this RPC has a successful status after the authorized orgs desc is removed from long-lasting storage.", + "flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs/{authorizedOrgsDescsId}", + "httpMethod": "DELETE", + "id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDesc/{authorized_orgs_desc_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+/authorizedOrgsDescs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets a authorized orgs desc based on the resource name.", + "flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs/{authorizedOrgsDescsId}", + "httpMethod": "GET", + "id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_descs_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+/authorizedOrgsDescs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "AuthorizedOrgsDesc" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists all authorized orgs descs for an access policy.", + "flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs", + "httpMethod": "GET", + "id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Number of Authorized Orgs Descs to include in the list. Default 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Next page token for the next batch of Authorized Orgs Desc instances. Defaults to the first page of results.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name for the access policy to list Authorized Orgs Desc from. Format: `accessPolicies/{policy_id}`", + "location": "path", + "pattern": "^accessPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/authorizedOrgsDescs", + "response": { + "$ref": "ListAuthorizedOrgsDescsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. Only the organization list in `AuthorizedOrgsDesc` can be updated. The name, authorization_type, asset_type and authorization_direction cannot be updated.", + "flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs/{authorizedOrgsDescsId}", + "httpMethod": "PATCH", + "id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: \"accessPolicies/122256/authorizedOrgs/b3-BhcX_Ud5N\"", + "location": "path", + "pattern": "^accessPolicies/[^/]+/authorizedOrgsDescs/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. Mask to control which fields get updated. Must be non-empty.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "AuthorizedOrgsDesc" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "servicePerimeters": { "methods": { "commit": { @@ -1081,7 +1233,7 @@ } } }, - "revision": "20221205", + "revision": "20230109", "rootUrl": "https://accesscontextmanager.googleapis.com/", "schemas": { "AccessContextManagerOperationMetadata": { @@ -1213,6 +1365,64 @@ }, "type": "object" }, + "AuthorizedOrgsDesc": { + "description": "`AuthorizedOrgsDesc` is a resource that contains a list of organizations for a authorization type and asset type and its authorization direction.", + "id": "AuthorizedOrgsDesc", + "properties": { + "assetType": { + "description": "The asset type of this authorized orgs desc. e.g. device, credential strength.", + "enum": [ + "ASSET_TYPE_UNSPECIFIED", + "ASSET_TYPE_DEVICE", + "ASSET_TYPE_CREDENTIAL_STRENGTH" + ], + "enumDescriptions": [ + "No asset type specified.", + "Device asset type.", + "credential strength asset type." + ], + "type": "string" + }, + "authorizationDirection": { + "description": "Authorization direction of this authorization relationship. i.e. Whether to allow specified orgs to evaluate this org's traffic, or allow specified orgs' traffic to be evaluated by this org. Orgs specified as `AUTHORIZATION_DIRECTION_TO` in this AuthorizedOrgsDesc[com.google.identity.accesscontextmanager.v1.AuthorizedOrgsDesc] must also specify this org as the `AUTHORIZATION_DIRECTION_FROM` in their own AuthorizedOrgsDesc in order for this relationship to take effect. Orgs specified as `AUTHORIZATION_DIRECTION_FROM` in this AuthorizedOrgsDesc[com.google.identity.accesscontextmanager.v1.AuthorizedOrgsDesc] must also specify this org as the `AUTHORIZATION_DIRECTION_TO` in their own AuthorizedOrgsDesc in order for this relationship to take effect.", + "enum": [ + "AUTHORIZATION_DIRECTION_UNSPECIFIED", + "AUTHORIZATION_DIRECTION_TO", + "AUTHORIZATION_DIRECTION_FROM" + ], + "enumDescriptions": [ + "No direction specified.", + "Specified orgs will evaluate traffic.", + "Specified orgs' traffic will be evaluated." + ], + "type": "string" + }, + "authorizationType": { + "description": "The authorization type of this authorized orgs desc. e.g.authorization, troubleshooting or logging.", + "enum": [ + "AUTHORIZATION_TYPE_UNSPECIFIED", + "AUTHORIZATION_TYPE_TRUST" + ], + "enumDescriptions": [ + "No authorization type specified.", + "This authorization relationship is \"trust\"." + ], + "type": "string" + }, + "name": { + "description": "Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: \"accessPolicies/122256/authorizedOrgs/b3-BhcX_Ud5N\"", + "type": "string" + }, + "orgs": { + "description": "The list of organization ids in this AuthorizedOrgsDesc.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "BasicLevel": { "description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.", "id": "BasicLevel", @@ -1624,7 +1834,7 @@ "type": "string" }, "resource": { - "description": "A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format: `projects/{project_number}` The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.", + "description": "A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.", "type": "string" } }, @@ -1687,6 +1897,24 @@ }, "type": "object" }, + "ListAuthorizedOrgsDescsResponse": { + "description": "A response to `ListAuthorizedOrgsDescsRequest`.", + "id": "ListAuthorizedOrgsDescsResponse", + "properties": { + "authorizedOrgsDescs": { + "description": "List of the Authorized Orgs Desc instances.", + "items": { + "$ref": "AuthorizedOrgsDesc" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The pagination token to retrieve the next page of results. If the value is empty, no further results remain.", + "type": "string" + } + }, + "type": "object" + }, "ListGcpUserAccessBindingsResponse": { "description": "Response of ListGcpUserAccessBindings.", "id": "ListGcpUserAccessBindingsResponse", @@ -1992,7 +2220,7 @@ "type": "array" }, "resources": { - "description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: `projects/{project_number}`", + "description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.", "items": { "type": "string" },
diff --git a/discovery/googleapis/adexperiencereport__v1.json b/discovery/googleapis/adexperiencereport__v1.json index 31be490..0a38704 100644 --- a/discovery/googleapis/adexperiencereport__v1.json +++ b/discovery/googleapis/adexperiencereport__v1.json
@@ -137,7 +137,7 @@ } } }, - "revision": "20220715", + "revision": "20230114", "rootUrl": "https://adexperiencereport.googleapis.com/", "schemas": { "PlatformSummary": {
diff --git a/discovery/googleapis/admin__datatransfer_v1.json b/discovery/googleapis/admin__datatransfer_v1.json index 62aa80e..39a7851 100644 --- a/discovery/googleapis/admin__datatransfer_v1.json +++ b/discovery/googleapis/admin__datatransfer_v1.json
@@ -270,7 +270,7 @@ } } }, - "revision": "20221129", + "revision": "20230117", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Application": {
diff --git a/discovery/googleapis/admin__directory_v1.json b/discovery/googleapis/admin__directory_v1.json index 581700e..250f170 100644 --- a/discovery/googleapis/admin__directory_v1.json +++ b/discovery/googleapis/admin__directory_v1.json
@@ -4628,7 +4628,7 @@ } } }, - "revision": "20221129", + "revision": "20230117", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { @@ -5338,6 +5338,36 @@ }, "type": "array" }, + "deprovisionReason": { + "description": "(Read-only) Deprovision reason.", + "enum": [ + "deprovisionReasonUnspecified", + "deprovisionReasonSameModelReplacement", + "deprovisionReasonUpgrade", + "deprovisionReasonDomainMove", + "deprovisionReasonServiceExpiration", + "deprovisionReasonOther", + "deprovisionReasonDifferentModelReplacement", + "deprovisionReasonRetiringDevice", + "deprovisionReasonUpgradeTransfer", + "deprovisionReasonNotRequired", + "deprovisionReasonRepairCenter" + ], + "enumDescriptions": [ + "The deprovision reason is unknown.", + "Same model replacement.", + "Device upgrade.", + "Domain move.", + "Service expiration.", + "Other.", + "Different model replacement.", + "Retiring device.", + "Transferring perpetual upgrade to a new device.", + "No reason required, i.e. licenses returned to customer's license pool.", + "Deprovisioned by a RMA (service center) caller." + ], + "type": "string" + }, "deviceFiles": { "description": "A list of device files to download (Read-only)", "items": { @@ -5429,6 +5459,10 @@ "description": "The type of resource. For the Chromeosdevices resource, the value is `admin#directory#chromeosdevice`.", "type": "string" }, + "lastDeprovisionTimestamp": { + "description": "(Read-only) Date and time for the last deprovision of the device.", + "type": "string" + }, "lastEnrollmentTime": { "description": "Date and time the device was last enrolled (Read-only)", "format": "date-time", @@ -5858,7 +5892,8 @@ "TAKE_A_SCREENSHOT", "SET_VOLUME", "WIPE_USERS", - "REMOTE_POWERWASH" + "REMOTE_POWERWASH", + "DEVICE_START_CRD_SESSION" ], "enumDescriptions": [ "The command type was unspecified.", @@ -5866,7 +5901,8 @@ "Take a screenshot of the device. Only available if the device is in Kiosk Mode.", "Set the volume of the device. Can only be issued to Kiosk and managed guest session devices.", "Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.", - "Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!" + "Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!", + "Starts a Chrome Remote Desktop session." ], "type": "string" } @@ -5877,6 +5913,10 @@ "description": "The result of executing a command.", "id": "DirectoryChromeosdevicesCommandResult", "properties": { + "commandResultPayload": { + "description": "The payload for the command result. The following commands respond with a payload: - DEVICE_START_CRD_SESSION: Payload is a stringified JSON object in the form: { \"url\": url }. The URL provides a link to the CRD session.", + "type": "string" + }, "errorMessage": { "description": "The error message with a short explanation as to why the command failed. Only present if the command failed.", "type": "string" @@ -5917,7 +5957,8 @@ "TAKE_A_SCREENSHOT", "SET_VOLUME", "WIPE_USERS", - "REMOTE_POWERWASH" + "REMOTE_POWERWASH", + "DEVICE_START_CRD_SESSION" ], "enumDescriptions": [ "The command type was unspecified.", @@ -5925,12 +5966,13 @@ "Take a screenshot of the device. Only available if the device is in Kiosk Mode.", "Set the volume of the device. Can only be issued to Kiosk and managed guest session devices.", "Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.", - "Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!" + "Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!", + "Starts a Chrome Remote Desktop session." ], "type": "string" }, "payload": { - "description": "The payload for the command, provide it only if command supports it. The following commands support adding payload: - SET_VOLUME: Payload is a stringified JSON object in the form: { \"volume\": 50 }. The volume has to be an integer in the range [0,100].", + "description": "The payload for the command, provide it only if command supports it. The following commands support adding payload: - SET_VOLUME: Payload is a stringified JSON object in the form: { \"volume\": 50 }. The volume has to be an integer in the range [0,100]. - DEVICE_START_CRD_SESSION: Payload is optionally a stringified JSON object in the form: { \"ackedUserPresence\": true }. ackedUserPresence is a boolean. If a device is being used, ackedUserPresence must be set to true to acknowledge that you want to start a CRD session anyways. It is false by default, so a CRD command will fail if used on an active device without this field.", "type": "string" } }, @@ -6219,7 +6261,7 @@ "type": "object" }, "Group": { - "description": "Google Groups provide your users the ability to send messages to groups of people using the group's email address. For more information about common tasks, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-groups).", + "description": "Google Groups provide your users the ability to send messages to groups of people using the group's email address. For more information about common tasks, see the [Developer's Guide](https://developers.google.com/admin-sdk/directory/v1/guides/manage-groups). For information about other types of groups, see the [Cloud Identity Groups API documentation](https://cloud.google.com/identity/docs/groups). Note: The user calling the API (or being impersonated by a service account) must have an assigned [role](https://developers.google.com/admin-sdk/directory/v1/guides/manage-roles) that includes Admin API Groups permissions, such as Super Admin or Groups Admin.", "id": "Group", "properties": { "adminCreated": {
diff --git a/discovery/googleapis/admin__reports_v1.json b/discovery/googleapis/admin__reports_v1.json index ad20803..b3b7a52 100644 --- a/discovery/googleapis/admin__reports_v1.json +++ b/discovery/googleapis/admin__reports_v1.json
@@ -621,7 +621,7 @@ } } }, - "revision": "20221129", + "revision": "20230117", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Activities": {
diff --git a/discovery/googleapis/admob__v1.json b/discovery/googleapis/admob__v1.json index 6ae3582..dac12ff 100644 --- a/discovery/googleapis/admob__v1.json +++ b/discovery/googleapis/admob__v1.json
@@ -313,7 +313,7 @@ } } }, - "revision": "20221201", + "revision": "20230117", "rootUrl": "https://admob.googleapis.com/", "schemas": { "AdUnit": { @@ -354,6 +354,23 @@ "description": "Describes an AdMob app for a specific platform (For example: Android or iOS).", "id": "App", "properties": { + "appApprovalState": { + "description": "Output only. The approval state for the app.", + "enum": [ + "APP_APPROVAL_STATE_UNSPECIFIED", + "ACTION_REQUIRED", + "IN_REVIEW", + "APPROVED" + ], + "enumDescriptions": [ + "Default value for an unset field. Do not use.", + "The app requires additional user action to be approved. Please refer to https://support.google.com/admob/answer/10564477 for details and next steps.", + "The app is pending review.", + "The app is approved and can serve ads." + ], + "readOnly": true, + "type": "string" + }, "appId": { "description": "The externally visible ID of the app which can be used to integrate with the AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654~0123456789", "type": "string"
diff --git a/discovery/googleapis/adsense__v2.json b/discovery/googleapis/adsense__v2.json index 7621192..1d8a86f 100644 --- a/discovery/googleapis/adsense__v2.json +++ b/discovery/googleapis/adsense__v2.json
@@ -1823,7 +1823,7 @@ } } }, - "revision": "20221206", + "revision": "20230117", "rootUrl": "https://adsense.googleapis.com/", "schemas": { "Account": {
diff --git a/discovery/googleapis/analyticshub__v1.json b/discovery/googleapis/analyticshub__v1.json index 4262559..5049bf9 100644 --- a/discovery/googleapis/analyticshub__v1.json +++ b/discovery/googleapis/analyticshub__v1.json
@@ -693,7 +693,7 @@ } } }, - "revision": "20221130", + "revision": "20230108", "rootUrl": "https://analyticshub.googleapis.com/", "schemas": { "AuditConfig": {
diff --git a/discovery/googleapis/androiddeviceprovisioning__v1.json b/discovery/googleapis/androiddeviceprovisioning__v1.json index 49a412f..d437d28 100644 --- a/discovery/googleapis/androiddeviceprovisioning__v1.json +++ b/discovery/googleapis/androiddeviceprovisioning__v1.json
@@ -823,7 +823,7 @@ } } }, - "revision": "20221203", + "revision": "20230115", "rootUrl": "https://androiddeviceprovisioning.googleapis.com/", "schemas": { "ClaimDeviceRequest": {
diff --git a/discovery/googleapis/androidenterprise__v1.json b/discovery/googleapis/androidenterprise__v1.json index b7a8b35..584faac 100644 --- a/discovery/googleapis/androidenterprise__v1.json +++ b/discovery/googleapis/androidenterprise__v1.json
@@ -382,6 +382,45 @@ "https://www.googleapis.com/auth/androidenterprise" ] }, + "createEnrollmentToken": { + "description": "Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-device API to authenticate the user. The token can be generated for each device or reused across multiple devices.", + "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/createEnrollmentToken", + "httpMethod": "POST", + "id": "androidenterprise.enterprises.createEnrollmentToken", + "parameterOrder": [ + "enterpriseId" + ], + "parameters": { + "deviceType": { + "description": "Whether it’s a dedicated device or a knowledge worker device.", + "enum": [ + "unknown", + "dedicatedDevice", + "knowledgeWorker" + ], + "enumDescriptions": [ + "This value is unused", + "This device is a dedicated device.", + "This device is required to have an authenticated user." + ], + "location": "query", + "type": "string" + }, + "enterpriseId": { + "description": "The ID of the enterprise.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "androidenterprise/v1/enterprises/{enterpriseId}/createEnrollmentToken", + "response": { + "$ref": "CreateEnrollmentTokenResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, "createWebToken": { "description": "Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.", "flatPath": "androidenterprise/v1/enterprises/{enterpriseId}/createWebToken", @@ -574,7 +613,7 @@ "parameterOrder": [], "parameters": { "requestMode": { - "description": "The request mode for pulling notifications. Specifying waitForNotifications will cause the request to block and wait until one or more notifications are present, or return an empty notification list if no notifications are present after some time. Speciying returnImmediately will cause the request to immediately return the pending notifications, or an empty list if no notifications are present. If omitted, defaults to waitForNotifications.", + "description": "The request mode for pulling notifications. Specifying waitForNotifications will cause the request to block and wait until one or more notifications are present, or return an empty notification list if no notifications are present after some time. Specifying returnImmediately will cause the request to immediately return the pending notifications, or an empty list if no notifications are present. If omitted, defaults to waitForNotifications.", "enum": [ "waitForNotifications", "returnImmediately" @@ -2609,7 +2648,7 @@ } } }, - "revision": "20221205", + "revision": "20230115", "rootUrl": "https://androidenterprise.googleapis.com/", "schemas": { "Administrator": { @@ -3098,6 +3137,17 @@ }, "type": "object" }, + "CreateEnrollmentTokenResponse": { + "description": "Response message for create enrollment token.", + "id": "CreateEnrollmentTokenResponse", + "properties": { + "enrollmentToken": { + "description": "Enrollment token.", + "type": "string" + } + }, + "type": "object" + }, "Device": { "description": "A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.", "id": "Device", @@ -3214,6 +3264,11 @@ }, "type": "array" }, + "googleAuthenticationSettings": { + "$ref": "GoogleAuthenticationSettings", + "description": "Output only. Settings for Google-provided user authentication.", + "readOnly": true + }, "id": { "description": "The unique ID for the enterprise.", "type": "string" @@ -3316,6 +3371,41 @@ }, "type": "object" }, + "GoogleAuthenticationSettings": { + "description": "Contains settings for Google-provided user authentication.", + "id": "GoogleAuthenticationSettings", + "properties": { + "dedicatedDevicesAllowed": { + "description": "Whether dedicated devices are allowed.", + "enum": [ + "dedicatedDevicesAllowedUnspecified", + "disallowed", + "allowed" + ], + "enumDescriptions": [ + "This value is unused.", + "Dedicated devices are not allowed.", + "Dedicated devices are allowed." + ], + "type": "string" + }, + "googleAuthenticationRequired": { + "description": "Whether Google authentication is required.", + "enum": [ + "googleAuthenticationRequiredUnspecified", + "notRequired", + "required" + ], + "enumDescriptions": [ + "This value is unused.", + "Google authentication is not required.", + "User is required to be successfully authenticated by Google." + ], + "type": "string" + } + }, + "type": "object" + }, "GroupLicense": { "description": "Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps. For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time. Use the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. In other words, the total number of Entitlements that exist for the product. Only one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.", "id": "GroupLicense",
diff --git a/discovery/googleapis/androidmanagement__v1.json b/discovery/googleapis/androidmanagement__v1.json index df5e3da..90c6254 100644 --- a/discovery/googleapis/androidmanagement__v1.json +++ b/discovery/googleapis/androidmanagement__v1.json
@@ -1063,7 +1063,7 @@ } } }, - "revision": "20221128", + "revision": "20230116", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": {
diff --git a/discovery/googleapis/androidpublisher__v3.json b/discovery/googleapis/androidpublisher__v3.json index e2ebcfd..e740b51 100644 --- a/discovery/googleapis/androidpublisher__v3.json +++ b/discovery/googleapis/androidpublisher__v3.json
@@ -631,7 +631,7 @@ "accept": [ "application/octet-stream" ], - "maxSize": "629145600", + "maxSize": "838860800", "protocols": { "resumable": { "multipart": true, @@ -3919,7 +3919,7 @@ } } }, - "revision": "20221206", + "revision": "20230117", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "AcquisitionTargetingRule": {
diff --git a/discovery/googleapis/apigateway__v1.json b/discovery/googleapis/apigateway__v1.json index 578370e..e1dc52c 100644 --- a/discovery/googleapis/apigateway__v1.json +++ b/discovery/googleapis/apigateway__v1.json
@@ -1081,7 +1081,7 @@ } } }, - "revision": "20221026", + "revision": "20221213", "rootUrl": "https://apigateway.googleapis.com/", "schemas": { "ApigatewayApi": {
diff --git a/discovery/googleapis/apigee__v1.json b/discovery/googleapis/apigee__v1.json index a6fc513..60e4d55 100644 --- a/discovery/googleapis/apigee__v1.json +++ b/discovery/googleapis/apigee__v1.json
@@ -146,7 +146,7 @@ "parameterOrder": [], "parameters": { "parent": { - "description": "Required. Name of the GCP project in which to associate the Apigee organization. Pass the information as a query parameter using the following structure in your request: `projects/`", + "description": "Required. Name of the Google Cloud project in which to associate the Apigee organization. Pass the information as a query parameter using the following structure in your request: `projects/`", "location": "query", "type": "string" } @@ -344,7 +344,7 @@ ] }, "list": { - "description": "Lists the Apigee organizations and associated GCP projects that you have permission to access. See [Understanding organizations](https://cloud.google.com/apigee/docs/api-platform/fundamentals/organization-structure).", + "description": "Lists the Apigee organizations and associated Google Cloud projects that you have permission to access. See [Understanding organizations](https://cloud.google.com/apigee/docs/api-platform/fundamentals/organization-structure).", "flatPath": "v1/organizations", "httpMethod": "GET", "id": "apigee.organizations.list", @@ -3260,6 +3260,46 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getDeployedIngressConfig": { + "description": "Gets the deployed ingress configuration for an environment group.", + "flatPath": "v1/organizations/{organizationsId}/envgroups/{envgroupsId}/deployedIngressConfig", + "httpMethod": "GET", + "id": "apigee.organizations.envgroups.getDeployedIngressConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the deployed configuration for the environment group in the following format: 'organizations/{org}/envgroups/{envgroup}/deployedIngressConfig'.", + "location": "path", + "pattern": "^organizations/[^/]+/envgroups/[^/]+/deployedIngressConfig$", + "required": true, + "type": "string" + }, + "view": { + "description": "When set to FULL, additional details about the specific deployments receiving traffic will be included in the IngressConfig response's RoutingRules.", + "enum": [ + "INGRESS_CONFIG_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ], + "enumDescriptions": [ + "The default/unset value. The API will default to the BASIC view.", + "Include all ingress config data necessary for the runtime to configure ingress, but no more. Routing rules will include only basepath and destination environment. This the default value.", + "Include all ingress config data, including internal debug info for each routing rule such as the proxy claiming a particular basepath and when the routing rule first appeared in the env group." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApigeeV1EnvironmentGroupConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists all environment groups.", "flatPath": "v1/organizations/{organizationsId}/envgroups", @@ -8632,7 +8672,7 @@ } } }, - "revision": "20221121", + "revision": "20230104", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -10464,7 +10504,7 @@ "type": "object" }, "GoogleCloudApigeeV1DeploymentConfig": { - "description": "NEXT ID: 9", + "description": "NEXT ID: 11", "id": "GoogleCloudApigeeV1DeploymentConfig", "properties": { "attributes": { @@ -10478,6 +10518,20 @@ "description": "Base path where the application will be hosted. Defaults to \"/\".", "type": "string" }, + "deploymentGroups": { + "description": "The list of deployment groups in which this proxy should be deployed. Not currently populated for shared flows.", + "items": { + "type": "string" + }, + "type": "array" + }, + "endpoints": { + "additionalProperties": { + "type": "string" + }, + "description": "A mapping from basepaths to proxy endpoint names in this proxy. Not populated for shared flows.", + "type": "object" + }, "location": { "description": "Location of the API proxy bundle as a URI.", "type": "string" @@ -10501,6 +10555,26 @@ }, "type": "object" }, + "GoogleCloudApigeeV1DeploymentGroupConfig": { + "description": "DeploymentGroupConfig represents a deployment group that should be present in a particular environment.", + "id": "GoogleCloudApigeeV1DeploymentGroupConfig", + "properties": { + "name": { + "description": "Name of the deployment group in the following format: `organizations/{org}/environments/{env}/deploymentGroups/{group}`.", + "type": "string" + }, + "revisionId": { + "description": "Revision number which can be used by the runtime to detect if the deployment group has changed between two versions.", + "format": "int64", + "type": "string" + }, + "uid": { + "description": "Unique ID. The ID will only change if the deployment group is deleted and recreated.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudApigeeV1Developer": { "id": "GoogleCloudApigeeV1Developer", "properties": { @@ -10885,6 +10959,24 @@ }, "type": "object" }, + "GoogleCloudApigeeV1EndpointChainingRule": { + "description": "EndpointChainingRule specifies the proxies contained in a particular deployment group, so that other deployment groups can find them in chaining calls.", + "id": "GoogleCloudApigeeV1EndpointChainingRule", + "properties": { + "deploymentGroup": { + "description": "The deployment group to target for cross-shard chaining calls to these proxies.", + "type": "string" + }, + "proxyIds": { + "description": "List of proxy ids which may be found in the given deployment group.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudApigeeV1EntityMetadata": { "description": "Metadata common to many entities in this API.", "id": "GoogleCloudApigeeV1EntityMetadata", @@ -11018,6 +11110,13 @@ "$ref": "GoogleCloudApigeeV1DebugMask", "description": "Debug mask that applies to all deployments in the environment." }, + "deploymentGroups": { + "description": "List of deployment groups in the environment.", + "items": { + "$ref": "GoogleCloudApigeeV1DeploymentGroupConfig" + }, + "type": "array" + }, "deployments": { "description": "List of deployments in the environment.", "items": { @@ -11025,6 +11124,11 @@ }, "type": "array" }, + "envScopedRevisionId": { + "description": "Revision ID for environment-scoped resources (e.g. target servers, keystores) in this config. This ID will increment any time a resource not scoped to a deployment group changes.", + "format": "int64", + "type": "string" + }, "featureFlags": { "additionalProperties": { "type": "string" @@ -11187,6 +11291,13 @@ "description": "EnvironmentGroupConfig is a revisioned snapshot of an EnvironmentGroup and its associated routing rules.", "id": "GoogleCloudApigeeV1EnvironmentGroupConfig", "properties": { + "endpointChainingRules": { + "description": "A list of proxies in each deployment group for proxy chaining calls.", + "items": { + "$ref": "GoogleCloudApigeeV1EndpointChainingRule" + }, + "type": "array" + }, "hostnames": { "description": "Host names for the environment group.", "items": { @@ -11194,6 +11305,10 @@ }, "type": "array" }, + "location": { + "description": "When this message appears in the top-level IngressConfig, this field will be populated in lieu of the inlined routing_rules and hostnames fields. Some URL for downloading the full EnvironmentGroupConfig for this group.", + "type": "string" + }, "name": { "description": "Name of the environment group in the following format: `organizations/{org}/envgroups/{envgroup}`.", "type": "string" @@ -12195,7 +12310,7 @@ "id": "GoogleCloudApigeeV1ListOrganizationsResponse", "properties": { "organizations": { - "description": "List of Apigee organizations and associated GCP projects.", + "description": "List of Apigee organizations and associated Google Cloud projects.", "items": { "$ref": "GoogleCloudApigeeV1OrganizationProjectMapping" }, @@ -12675,7 +12790,7 @@ "description": "Addon configurations of the Apigee organization." }, "analyticsRegion": { - "description": "Required. DEPRECATED: This field will be deprecated once Apigee supports DRZ. Primary GCP region for analytics data storage. For valid values, see [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).", + "description": "Required. DEPRECATED: This field will be deprecated once Apigee supports DRZ. Primary Google Cloud region for analytics data storage. For valid values, see [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).", "type": "string" }, "apigeeProjectId": { @@ -12856,7 +12971,7 @@ "type": "string" }, "projectId": { - "description": "GCP project associated with the Apigee organization", + "description": "Google Cloud project associated with the Apigee organization", "type": "string" }, "projectIds": { @@ -13738,15 +13853,26 @@ "description": "URI path prefix used to route to the specified environment. May contain one or more wildcards. For example, path segments consisting of a single `*` character will match any string.", "type": "string" }, + "deploymentGroup": { + "description": "Name of a deployment group in an environment bound to the environment group in the following format: `organizations/{org}/environment/{env}/deploymentGroups/{group}` Only one of environment or deployment_group will be set.", + "type": "string" + }, "envGroupRevision": { "description": "The env group config revision_id when this rule was added or last updated. This value is set when the rule is created and will only update if the the environment_id changes. It is used to determine if the runtime is up to date with respect to this rule. This field is omitted from the IngressConfig unless the GetDeployedIngressConfig API is called with view=FULL.", "format": "int64", "type": "string" }, "environment": { - "description": "Name of an environment bound to the environment group in the following format: `organizations/{org}/environments/{env}`.", + "description": "Name of an environment bound to the environment group in the following format: `organizations/{org}/environments/{env}`. Only one of environment or deployment_group will be set.", "type": "string" }, + "otherTargets": { + "description": "Conflicting targets, which will be resource names specifying either deployment groups or environments.", + "items": { + "type": "string" + }, + "type": "array" + }, "receiver": { "description": "The resource name of the proxy revision that is receiving this basepath in the following format: `organizations/{org}/apis/{api}/revisions/{rev}`. This field is omitted from the IngressConfig unless the GetDeployedIngressConfig API is called with view=FULL.", "type": "string" @@ -14675,7 +14801,7 @@ "type": "object" }, "GoogleCloudApigeeV1TargetServer": { - "description": "TargetServer configuration. TargetServers are used to decouple a proxy's TargetEndpoint HTTPTargetConnections from concrete URLs for backend services.", + "description": "TargetServer configuration. TargetServers are used to decouple a proxy TargetEndpoint HTTPTargetConnections from concrete URLs for backend services.", "id": "GoogleCloudApigeeV1TargetServer", "properties": { "description": {
diff --git a/discovery/googleapis/apikeys__v2.json b/discovery/googleapis/apikeys__v2.json index 9001751..ed3f8ee 100644 --- a/discovery/googleapis/apikeys__v2.json +++ b/discovery/googleapis/apikeys__v2.json
@@ -394,7 +394,7 @@ } } }, - "revision": "20221204", + "revision": "20230111", "rootUrl": "https://apikeys.googleapis.com/", "schemas": { "Operation": {
diff --git a/discovery/googleapis/appengine__v1.json b/discovery/googleapis/appengine__v1.json index 0224772..f04cf76 100644 --- a/discovery/googleapis/appengine__v1.json +++ b/discovery/googleapis/appengine__v1.json
@@ -1591,9 +1591,61 @@ } } } + }, + "projects": { + "resources": { + "locations": { + "resources": { + "applications": { + "methods": { + "get": { + "description": "Gets information about an application.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", + "httpMethod": "GET", + "id": "appengine.projects.locations.applications.get", + "parameterOrder": [ + "projectsId", + "locationsId", + "applicationsId" + ], + "parameters": { + "applicationsId": { + "description": "Part of `name`. See documentation of `projectsId`.", + "location": "path", + "required": true, + "type": "string" + }, + "locationsId": { + "description": "Part of `name`. See documentation of `projectsId`.", + "location": "path", + "required": true, + "type": "string" + }, + "projectsId": { + "description": "Part of `name`. Name of the Application resource to get. Example: apps/myapp.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", + "response": { + "$ref": "Application" + }, + "scopes": [ + "https://www.googleapis.com/auth/appengine.admin", + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ] + } + } + } + } + } + } } }, - "revision": "20221109", + "revision": "20230109", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -3057,6 +3109,122 @@ }, "type": "object" }, + "ProjectEvent": { + "description": "The request sent to CLHs during project events.", + "id": "ProjectEvent", + "properties": { + "eventId": { + "description": "The unique ID for this project event. CLHs can use this value to dedup repeated calls. required", + "type": "string" + }, + "phase": { + "enum": [ + "UNKNOWN", + "BEFORE_RESOURCE_HANDLING", + "AFTER_RESOURCE_HANDLING" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "projectMetadata": { + "$ref": "ProjectsMetadata", + "description": "The projects metadata for this project. required" + }, + "state": { + "$ref": "ProjectState", + "description": "The state of the project that led to this event." + } + }, + "type": "object" + }, + "ProjectState": { + "description": "ProjectState contains the externally-visible project state that is used to communicate the state and reasoning for that state to the CLH. This data is not persisted by CCFE, but is instead derived from CCFE's internal representation of the project state.", + "id": "ProjectState", + "properties": { + "currentReasons": { + "$ref": "Reasons" + }, + "previousReasons": { + "$ref": "Reasons", + "description": "The previous and current reasons for a project state will be sent for a project event. CLHs that need to know the signal that caused the project event to trigger (edges) as opposed to just knowing the state can act upon differences in the previous and current reasons.Reasons will be provided for every system: service management, data governance, abuse, and billing.If this is a CCFE-triggered event used for reconciliation then the current reasons will be set to their *_CONTROL_PLANE_SYNC state. The previous reasons will contain the last known set of non-unknown non-control_plane_sync reasons for the state.Reasons fields are deprecated. New tenants should only use the state field. If you must know the reason(s) behind a specific state, please consult with CCFE team first (cloud-ccfe-discuss@google.com)." + }, + "state": { + "description": "The current state of the project. This state is the culmination of all of the opinions from external systems that CCFE knows about of the project.", + "enum": [ + "UNKNOWN_STATE", + "ON", + "OFF", + "DELETED" + ], + "enumDescriptions": [ + "A project should never be in an unknown state. Receipt of a project with this state is an error.", + "CCFE considers the project to be serving or transitioning into serving.", + "CCFE considers the project to be in an OFF state. This could occur due to various factors. The state could be triggered by Google-internal audits (ex. abuse suspension, billing closed) or cleanups trigged by compliance systems (ex. data governance hide). User-initiated events such as service management deactivation trigger a project to an OFF state.CLHs might choose to do nothing in this case or to turn off costly resources. CLHs need to consider the customer experience if an ON/OFF/ON sequence of state transitions occurs vs. the cost of deleting resources, keeping metadata about resources, or even keeping resources live for a period of time.CCFE will not send any new customer requests to the CLH when the project is in an OFF state. However, CCFE will allow all previous customer requests relayed to CLH to complete.", + "This state indicates that the project has been (or is being) completely removed. This is often due to a data governance purge request and therefore resources should be deleted when this state is reached." + ], + "type": "string" + } + }, + "type": "object" + }, + "ProjectsMetadata": { + "description": "ProjectsMetadata is the metadata CCFE stores about the all the relevant projects (tenant, consumer, producer).", + "id": "ProjectsMetadata", + "properties": { + "consumerProjectId": { + "description": "The consumer project id.", + "type": "string" + }, + "consumerProjectNumber": { + "description": "The consumer project number.", + "format": "int64", + "type": "string" + }, + "consumerProjectState": { + "description": "The CCFE state of the consumer project. It is the same state that is communicated to the CLH during project events. Notice that this field is not set in the DB, it is only set in this proto when communicated to CLH in the side channel.", + "enum": [ + "UNKNOWN_STATE", + "ON", + "OFF", + "DELETED" + ], + "enumDescriptions": [ + "A project should never be in an unknown state. Receipt of a project with this state is an error.", + "CCFE considers the project to be serving or transitioning into serving.", + "CCFE considers the project to be in an OFF state. This could occur due to various factors. The state could be triggered by Google-internal audits (ex. abuse suspension, billing closed) or cleanups trigged by compliance systems (ex. data governance hide). User-initiated events such as service management deactivation trigger a project to an OFF state.CLHs might choose to do nothing in this case or to turn off costly resources. CLHs need to consider the customer experience if an ON/OFF/ON sequence of state transitions occurs vs. the cost of deleting resources, keeping metadata about resources, or even keeping resources live for a period of time.CCFE will not send any new customer requests to the CLH when the project is in an OFF state. However, CCFE will allow all previous customer requests relayed to CLH to complete.", + "This state indicates that the project has been (or is being) completely removed. This is often due to a data governance purge request and therefore resources should be deleted when this state is reached." + ], + "type": "string" + }, + "p4ServiceAccount": { + "description": "The service account authorized to operate on the consumer project. Note: CCFE only propagates P4SA with default tag to CLH.", + "type": "string" + }, + "producerProjectId": { + "description": "The producer project id.", + "type": "string" + }, + "producerProjectNumber": { + "description": "The producer project number.", + "format": "int64", + "type": "string" + }, + "tenantProjectId": { + "description": "The tenant project id.", + "type": "string" + }, + "tenantProjectNumber": { + "description": "The tenant project number.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "ReadinessCheck": { "description": "Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.", "id": "ReadinessCheck", @@ -3097,6 +3265,81 @@ }, "type": "object" }, + "Reasons": { + "description": "Projects transition between and within states based on reasons sent from various systems. CCFE will provide the CLH with reasons for the current state per system.The current systems that CCFE supports are: Service Management (Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud Billing API)", + "id": "Reasons", + "properties": { + "abuse": { + "enum": [ + "ABUSE_UNKNOWN_REASON", + "ABUSE_CONTROL_PLANE_SYNC", + "SUSPEND", + "REINSTATE" + ], + "enumDescriptions": [ + "An unknown reason indicates that the abuse system has not sent a signal for this project.", + "Due to various reasons CCFE might proactively restate a project state to a CLH to ensure that the CLH and CCFE are both aware of the project state. This reason can be tied to any of the states.", + "If a project is deemed abusive we receive a suspend signal. Suspend is a reason to put the project into an INTERNAL_OFF state.", + "Projects that were once considered abusive can later be deemed non-abusive. When this happens we must reinstate the project. Reinstate is a reason to put the project into an ON state." + ], + "type": "string" + }, + "billing": { + "enum": [ + "BILLING_UNKNOWN_REASON", + "BILLING_CONTROL_PLANE_SYNC", + "PROBATION", + "CLOSE", + "OPEN" + ], + "enumDescriptions": [ + "An unknown reason indicates that the billing system has not sent a signal for this project.", + "Due to various reasons CCFE might proactively restate a project state to a CLH to ensure that the CLH and CCFE are both aware of the project state. This reason can be tied to any of the states.", + "Minor infractions cause a probation signal to be sent. Probation is a reason to put the project into a ON state even though it is a negative signal. CCFE will block mutations for this project while it is on billing probation, but the CLH is expected to serve non-mutation requests.", + "When a billing account is closed, it is a stronger signal about non-payment. Close is a reason to put the project into an INTERNAL_OFF state.", + "Consumers can re-open billing accounts and update accounts to pull them out of probation. When this happens, we get a signal that the account is open. Open is a reason to put the project into an ON state." + ], + "type": "string" + }, + "dataGovernance": { + "enum": [ + "DATA_GOVERNANCE_UNKNOWN_REASON", + "DATA_GOVERNANCE_CONTROL_PLANE_SYNC", + "HIDE", + "UNHIDE", + "PURGE" + ], + "enumDescriptions": [ + "An unknown reason indicates that data governance has not sent a signal for this project.", + "Due to various reasons CCFE might proactively restate a project state to a CLH to ensure that the CLH and CCFE are both aware of the project state. This reason can be tied to any of the states.", + "When a project is deleted we retain some data for a period of time to allow the consumer to change their mind. Data governance sends a signal to hide the data when this occurs. Hide is a reason to put the project in an INTERNAL_OFF state.", + "The decision to un-delete a project can be made. When this happens data governance tells us to unhide any hidden data. Unhide is a reason to put the project in an ON state.", + "After a period of time data must be completely removed from our systems. When data governance sends a purge signal we need to remove data. Purge is a reason to put the project in a DELETED state. Purge is the only event that triggers a delete mutation. All other events have update semantics." + ], + "type": "string" + }, + "serviceManagement": { + "enum": [ + "SERVICE_MANAGEMENT_UNKNOWN_REASON", + "SERVICE_MANAGEMENT_CONTROL_PLANE_SYNC", + "ACTIVATION", + "PREPARE_DEACTIVATION", + "ABORT_DEACTIVATION", + "COMMIT_DEACTIVATION" + ], + "enumDescriptions": [ + "An unknown reason indicates that we have not received a signal from service management about this project. Since projects are created by request of service management, this reason should never be set.", + "Due to various reasons CCFE might proactively restate a project state to a CLH to ensure that the CLH and CCFE are both aware of the project state. This reason can be tied to any of the states.", + "When a customer activates an API CCFE notifies the CLH and sets the project to the ON state.", + "When a customer deactivates and API service management starts a two-step process to perform the deactivation. The first step is to prepare. Prepare is a reason to put the project in a EXTERNAL_OFF state.", + "If the deactivation is cancelled, service managed needs to abort the deactivation. Abort is a reason to put the project in an ON state.", + "If the deactivation is followed through with, service management needs to finish deactivation. Commit is a reason to put the project in a DELETED state." + ], + "type": "string" + } + }, + "type": "object" + }, "RepairApplicationRequest": { "description": "Request message for 'Applications.RepairApplication'.", "id": "RepairApplicationRequest",
diff --git a/discovery/googleapis/artifactregistry__v1.json b/discovery/googleapis/artifactregistry__v1.json index 4590bdb..2091d15 100644 --- a/discovery/googleapis/artifactregistry__v1.json +++ b/discovery/googleapis/artifactregistry__v1.json
@@ -1455,7 +1455,7 @@ } } }, - "revision": "20221130", + "revision": "20230111", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": {
diff --git a/discovery/googleapis/assuredworkloads__v1.json b/discovery/googleapis/assuredworkloads__v1.json index 2c96be3..70fea2d 100644 --- a/discovery/googleapis/assuredworkloads__v1.json +++ b/discovery/googleapis/assuredworkloads__v1.json
@@ -517,7 +517,7 @@ } } }, - "revision": "20221128", + "revision": "20221229", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { @@ -683,7 +683,7 @@ "type": "object" }, "GoogleCloudAssuredworkloadsV1Violation": { - "description": "Workload monitoring Violation.", + "description": "Workload monitoring Violation. Next Id: 22", "id": "GoogleCloudAssuredworkloadsV1Violation", "properties": { "acknowledged": {
diff --git a/discovery/googleapis/authorizedbuyersmarketplace__v1.json b/discovery/googleapis/authorizedbuyersmarketplace__v1.json index 6ed3bd3..fd262df 100644 --- a/discovery/googleapis/authorizedbuyersmarketplace__v1.json +++ b/discovery/googleapis/authorizedbuyersmarketplace__v1.json
@@ -1305,7 +1305,7 @@ } } }, - "revision": "20221206", + "revision": "20230113", "rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/", "schemas": { "AcceptProposalRequest": {
diff --git a/discovery/googleapis/baremetalsolution__v1.json b/discovery/googleapis/baremetalsolution__v1.json deleted file mode 100644 index 34b61d3..0000000 --- a/discovery/googleapis/baremetalsolution__v1.json +++ /dev/null
@@ -1,329 +0,0 @@ -{ - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." - } - } - } - }, - "basePath": "", - "baseUrl": "https://baremetalsolution.googleapis.com/", - "batchPath": "batch", - "description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.", - "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/bare-metal", - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "baremetalsolution:v1", - "kind": "discovery#restDescription", - "name": "baremetalsolution", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "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": "v1/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "baremetalsolution.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:cancel", - "request": { - "$ref": "CancelOperationRequest" - }, - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "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": "v1/operations/{operationsId}", - "httpMethod": "DELETE", - "id": "baremetalsolution.operations.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be deleted.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Empty" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "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": "v1/operations/{operationsId}", - "httpMethod": "GET", - "id": "baremetalsolution.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1/operations", - "httpMethod": "GET", - "id": "baremetalsolution.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": "^operations$", - "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": "v1/{+name}", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } - }, - "revision": "20221031", - "rootUrl": "https://baremetalsolution.googleapis.com/", - "schemas": { - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "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" - }, - "ListOperationsResponse": { - "description": "The response message for Operations.ListOperations.", - "id": "ListOperationsResponse", - "properties": { - "nextPageToken": { - "description": "The standard List next-page token.", - "type": "string" - }, - "operations": { - "description": "A list of operations that matches the specified filter in the request.", - "items": { - "$ref": "Operation" - }, - "type": "array" - } - }, - "type": "object" - }, - "Operation": { - "description": "This resource represents a long-running operation that is the result of a network API call.", - "id": "Operation", - "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": "Status", - "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/{unique_id}`.", - "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" - }, - "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", - "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. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", - "type": "string" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Bare Metal Solution API", - "version": "v1", - "version_module": true -} \ No newline at end of file
diff --git a/discovery/googleapis/baremetalsolution__v2.json b/discovery/googleapis/baremetalsolution__v2.json index 6e2465a..a99d751 100644 --- a/discovery/googleapis/baremetalsolution__v2.json +++ b/discovery/googleapis/baremetalsolution__v2.json
@@ -1435,7 +1435,7 @@ } } }, - "revision": "20221031", + "revision": "20230104", "rootUrl": "https://baremetalsolution.googleapis.com/", "schemas": { "AllowedClient": { @@ -1703,6 +1703,20 @@ "$ref": "Volume" }, "type": "array" + }, + "workloadProfile": { + "description": "The workload profile for the instance.", + "enum": [ + "WORKLOAD_PROFILE_UNSPECIFIED", + "WORKLOAD_PROFILE_GENERIC", + "WORKLOAD_PROFILE_HANA" + ], + "enumDescriptions": [ + "The workload profile is in an unknown state.", + "The workload profile is generic.", + "The workload profile is hana." + ], + "type": "string" } }, "type": "object" @@ -2681,50 +2695,6 @@ }, "type": "object" }, - "OperationMetadata": { - "description": "Represents the metadata from a long-running operation.", - "id": "OperationMetadata", - "properties": { - "apiVersion": { - "description": "Output only. API version used with the operation.", - "readOnly": true, - "type": "string" - }, - "createTime": { - "description": "Output only. The time the operation was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "endTime": { - "description": "Output only. The time the operation finished running.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "requestedCancellation": { - "description": "Output only. Identifies whether the user requested the cancellation of the operation. Operations that have been successfully cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "readOnly": true, - "type": "boolean" - }, - "statusMessage": { - "description": "Output only. Human-readable status of the operation, if any.", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Output only. Server-defined resource path for the target of the operation.", - "readOnly": true, - "type": "string" - }, - "verb": { - "description": "Output only. Name of the action executed by the operation.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, "ProvisioningConfig": { "description": "A provisioning configuration.", "id": "ProvisioningConfig", @@ -3278,6 +3248,20 @@ "This storage type for this volume is HDD." ], "type": "string" + }, + "workloadProfile": { + "description": "The workload profile for the volume.", + "enum": [ + "WORKLOAD_PROFILE_UNSPECIFIED", + "GENERIC", + "HANA" + ], + "enumDescriptions": [ + "The workload profile is in an unknown state.", + "The workload profile is generic.", + "The workload profile is hana." + ], + "type": "string" } }, "type": "object"
diff --git a/discovery/googleapis/batch__v1.json b/discovery/googleapis/batch__v1.json index 9d10b70..5d02568 100644 --- a/discovery/googleapis/batch__v1.json +++ b/discovery/googleapis/batch__v1.json
@@ -481,97 +481,6 @@ } } }, - "nodes": { - "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/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:getIamPolicy", - "httpMethod": "GET", - "id": "batch.projects.locations.nodes.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/[^/]+/nodes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "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/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:setIamPolicy", - "httpMethod": "POST", - "id": "batch.projects.locations.nodes.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/[^/]+/nodes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "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/projects/{projectsId}/locations/{locationsId}/nodes/{nodesId}:testIamPermissions", - "httpMethod": "POST", - "id": "batch.projects.locations.nodes.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/[^/]+/nodes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, "operations": { "methods": { "cancel": { @@ -726,104 +635,13 @@ ] } } - }, - "tasks": { - "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/projects/{projectsId}/locations/{locationsId}/tasks/{tasksId}:getIamPolicy", - "httpMethod": "GET", - "id": "batch.projects.locations.tasks.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/[^/]+/tasks/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "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/projects/{projectsId}/locations/{locationsId}/tasks/{tasksId}:setIamPolicy", - "httpMethod": "POST", - "id": "batch.projects.locations.tasks.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/[^/]+/tasks/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "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/projects/{projectsId}/locations/{locationsId}/tasks/{tasksId}:testIamPermissions", - "httpMethod": "POST", - "id": "batch.projects.locations.tasks.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/[^/]+/tasks/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } } } } } } }, - "revision": "20221017", + "revision": "20230105", "rootUrl": "https://batch.googleapis.com/", "schemas": { "Accelerator": { @@ -905,11 +723,11 @@ "type": "object" }, "AgentMetadata": { - "description": "AgentMetadata never changes for a single instance of VM agent.", + "description": "VM Agent Metadata.", "id": "AgentMetadata", "properties": { "creationTime": { - "description": "When the VM agent started.", + "description": "When the VM agent started. Use agent_startup_time instead.", "format": "google-datetime", "type": "string" }, @@ -917,6 +735,10 @@ "description": "Full name of the entity that created this vm. For MIG, this path is: projects/{project}/regions/{region}/InstanceGroupManagers/{igm} The value is retrieved from the vm metadata key of \"created-by\".", "type": "string" }, + "imageVersion": { + "description": "image version for the VM that this agent is installed on.", + "type": "string" + }, "instance": { "description": "GCP instance name (go/instance-name).", "type": "string" @@ -926,6 +748,10 @@ "format": "uint64", "type": "string" }, + "instancePreemptionNoticeReceived": { + "description": "If the GCP instance has received preemption notice.", + "type": "boolean" + }, "osRelease": { "additionalProperties": { "type": "string" @@ -1004,6 +830,28 @@ }, "type": "object" }, + "AgentTimingInfo": { + "description": "VM timing information", + "id": "AgentTimingInfo", + "properties": { + "agentStartupTime": { + "description": "Agent startup time", + "format": "google-datetime", + "type": "string" + }, + "bootTime": { + "description": "Boot timestamp of the VM OS", + "format": "google-datetime", + "type": "string" + }, + "scriptStartupTime": { + "description": "Startup time of the Batch VM script.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "AllocationPolicy": { "description": "A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.", "id": "AllocationPolicy", @@ -1192,11 +1040,11 @@ "type": "string" }, "password": { - "description": "Optional password for logging in to a docker registry. If password matches \"projects/*/secrets/*/versions/*\" then Batch will read the password from the Secret Manager;", + "description": "Optional password for logging in to a docker registry. If password matches `projects/*/secrets/*/versions/*` then Batch will read the password from the Secret Manager;", "type": "string" }, "username": { - "description": "Optional username for logging in to a docker registry. If username matches \"projects/*/secrets/*/versions/*\" then Batch will read the username from the Secret Manager.", + "description": "Optional username for logging in to a docker registry. If username matches `projects/*/secrets/*/versions/*` then Batch will read the username from the Secret Manager.", "type": "string" }, "volumes": { @@ -1218,11 +1066,11 @@ "type": "string" }, "image": { - "description": "Name of a public or custom image used as the data source.", + "description": "Name of a public or custom image used as the data source. For example, the following are all valid URLs: (1) Specify the image by its family name: projects/{project}/global/images/family/{image_family} (2) Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: \"batch-debian\": use Batch Debian images. \"batch-centos\": use Batch CentOS images. \"batch-cos\": use Batch Container-Optimized images.", "type": "string" }, "sizeGb": { - "description": "Disk size in GB. This field is ignored if `data_source` is `disk` or `image`. If `type` is `local-ssd`, size_gb should be a multiple of 375GB, otherwise, the final size will be the next greater multiple of 375 GB.", + "description": "Disk size in GB. For persistent disk, this field is ignored if `data_source` is `image` or `snapshot`. For local SSD, size_gb should be a multiple of 375GB, otherwise, the final size will be the next greater multiple of 375 GB. For boot disk, Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and the boot_disk_mib field in task spec's compute_resource are defined, Batch will only honor this field.", "format": "int64", "type": "string" }, @@ -1231,7 +1079,7 @@ "type": "string" }, "type": { - "description": "Disk type as shown in `gcloud compute disk-types list` For example, \"pd-ssd\", \"pd-standard\", \"pd-balanced\", \"local-ssd\".", + "description": "Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type \"local-ssd\". Persistent disks and boot disks use \"pd-balanced\", \"pd-extreme\", \"pd-ssd\" or \"pd-standard\".", "type": "string" } }, @@ -1247,6 +1095,17 @@ "description": "An Environment describes a collection of environment variables to set when executing Tasks.", "id": "Environment", "properties": { + "encryptedVariables": { + "$ref": "KMSEnvMap", + "description": "An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values." + }, + "secretVariables": { + "additionalProperties": { + "type": "string" + }, + "description": "A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.", + "type": "object" + }, "variables": { "additionalProperties": { "type": "string" @@ -1302,6 +1161,10 @@ }, "type": "array" }, + "bootDisk": { + "$ref": "Disk", + "description": "Book disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted." + }, "disks": { "description": "Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted.", "items": { @@ -1518,6 +1381,20 @@ }, "type": "object" }, + "KMSEnvMap": { + "id": "KMSEnvMap", + "properties": { + "cipherText": { + "description": "The value of the cipherText response from the `encrypt` method.", + "type": "string" + }, + "keyName": { + "description": "The name of the KMS key that will be used to decrypt the cipher text.", + "type": "string" + } + }, + "type": "object" + }, "LifecyclePolicy": { "description": "LifecyclePolicy describes how to deal with task failures based on different conditions.", "id": "LifecyclePolicy", @@ -1784,7 +1661,7 @@ "id": "NetworkInterface", "properties": { "network": { - "description": "The URL of the network resource.", + "description": "The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} projects/{project}/global/networks/{network} global/networks/{network}", "type": "string" }, "noExternalIpAddress": { @@ -1792,7 +1669,7 @@ "type": "boolean" }, "subnetwork": { - "description": "The URL of the Subnetwork resource.", + "description": "The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} projects/{project}/regions/{region}/subnetworks/{subnetwork} regions/{region}/subnetworks/{subnetwork}", "type": "string" } }, @@ -1930,6 +1807,10 @@ "$ref": "AgentInfo", "description": "Agent info." }, + "agentTimingInfo": { + "$ref": "AgentTimingInfo", + "description": "Agent timing info." + }, "metadata": { "$ref": "AgentMetadata", "description": "Agent metadata." @@ -1941,6 +1822,16 @@ "description": "Response to ReportAgentStateRequest.", "id": "ReportAgentStateResponse", "properties": { + "defaultReportInterval": { + "description": "Default report interval override", + "format": "google-duration", + "type": "string" + }, + "minReportInterval": { + "description": "Minimum report interval override", + "format": "google-duration", + "type": "string" + }, "tasks": { "description": "Tasks assigned to the agent", "items": { @@ -2195,7 +2086,7 @@ "additionalProperties": { "type": "string" }, - "description": "Environment variables to set before running the Task. You can set up to 100 environments.", + "description": "Deprecated: please use environment(non-plural) instead.", "type": "object" }, "lifecyclePolicies": {
diff --git a/discovery/googleapis/beyondcorp__v1.json b/discovery/googleapis/beyondcorp__v1.json index bb811d4..ab9f262 100644 --- a/discovery/googleapis/beyondcorp__v1.json +++ b/discovery/googleapis/beyondcorp__v1.json
@@ -1739,7 +1739,7 @@ } } }, - "revision": "20221106", + "revision": "20221214", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": {
diff --git a/discovery/googleapis/bigquery__v2.json b/discovery/googleapis/bigquery__v2.json index 95e63f9..7bae8b6 100644 --- a/discovery/googleapis/bigquery__v2.json +++ b/discovery/googleapis/bigquery__v2.json
@@ -1709,7 +1709,7 @@ } } }, - "revision": "20221112", + "revision": "20221217", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -2177,12 +2177,12 @@ "id": "BiEngineReason", "properties": { "code": { - "default": "$(reason.code)", + "default": "", "description": "[Output-only] High-level BI Engine reason for partial or disabled acceleration.", "type": "string" }, "message": { - "default": "$(reason.message)", + "default": "", "description": "[Output-only] Free form human-readable reason for partial or disabled acceleration.", "type": "string" } @@ -2193,7 +2193,7 @@ "id": "BiEngineStatistics", "properties": { "biEngineMode": { - "default": "$(stats.bi_engine_mode)", + "default": "", "description": "[Output-only] Specifies which mode of BI Engine acceleration was performed (if any).", "type": "string" }, @@ -4921,7 +4921,7 @@ "type": "string" }, "routines": { - "description": "Routines in the requested dataset. Unless read_mask is set in the request, only the following fields are populated: etag, project_id, dataset_id, routine_id, routine_type, creation_time, last_modified_time, and language.", + "description": "Routines in the requested dataset. Unless read_mask is set in the request, only the following fields are populated: etag, project_id, dataset_id, routine_id, routine_type, creation_time, last_modified_time, language, and remote_function_options.", "items": { "$ref": "Routine" }, @@ -4962,6 +4962,10 @@ "MaterializedViewDefinition": { "id": "MaterializedViewDefinition", "properties": { + "allow_non_incremental_definition": { + "description": "[Optional] Allow non incremental materialized view definition. The default value is \"false\".", + "type": "boolean" + }, "enableRefresh": { "description": "[Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is \"true\".", "type": "boolean" @@ -5815,7 +5819,7 @@ "type": "array" }, "language": { - "description": "Optional. Defaults to \"SQL\".", + "description": "Optional. Defaults to \"SQL\" if remote_function_options field is absent, not set otherwise.", "enum": [ "LANGUAGE_UNSPECIFIED", "SQL", @@ -5842,7 +5846,7 @@ }, "returnTableType": { "$ref": "StandardSqlTableType", - "description": "Optional. Can be set only if routine_type = \"TABLE_VALUED_FUNCTION\". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specificed in return table type, at query time." + "description": "Optional. Can be set only if routine_type = \"TABLE_VALUED_FUNCTION\". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time." }, "returnType": { "$ref": "StandardSqlDataType", @@ -6136,7 +6140,7 @@ "type": "array" }, "mainFileUri": { - "description": "The main file URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set.", + "description": "The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.", "type": "string" }, "properties": {
diff --git a/discovery/googleapis/bigquerydatatransfer__v1.json b/discovery/googleapis/bigquerydatatransfer__v1.json index 99fb464..c5330e9 100644 --- a/discovery/googleapis/bigquerydatatransfer__v1.json +++ b/discovery/googleapis/bigquerydatatransfer__v1.json
@@ -1338,7 +1338,7 @@ } } }, - "revision": "20221128", + "revision": "20230107", "rootUrl": "https://bigquerydatatransfer.googleapis.com/", "schemas": { "CheckValidCredsRequest": {
diff --git a/discovery/googleapis/bigqueryreservation__v1.json b/discovery/googleapis/bigqueryreservation__v1.json index 962e2f5..3c21f58 100644 --- a/discovery/googleapis/bigqueryreservation__v1.json +++ b/discovery/googleapis/bigqueryreservation__v1.json
@@ -821,7 +821,7 @@ } } }, - "revision": "20221112", + "revision": "20230109", "rootUrl": "https://bigqueryreservation.googleapis.com/", "schemas": { "Assignment": {
diff --git a/discovery/googleapis/bigtableadmin__v2.json b/discovery/googleapis/bigtableadmin__v2.json index e2b70c9..1fb2b59 100644 --- a/discovery/googleapis/bigtableadmin__v2.json +++ b/discovery/googleapis/bigtableadmin__v2.json
@@ -1964,7 +1964,7 @@ } } }, - "revision": "20221122", + "revision": "20230101", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { @@ -2756,7 +2756,7 @@ "id": "Instance", "properties": { "createTime": { - "description": "Output only. A server-assigned timestamp representing when this Instance was created. For instances created before this field was added (August 2021), this value is `seconds: 0, nanos: 1`.", + "description": "Output only. A commit timestamp representing when this Instance was created. For instances created before this field was added (August 2021), this value is `seconds: 0, nanos: 1`.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -3395,7 +3395,7 @@ "type": "object" }, "deletionProtection": { - "description": "Set to true to make the table protected against data loss. i.e. deleting the following resources through Admin APIs are prohibited: - The table. - The column families in the table. - The instance containing the table. Note one can still delete the data stored in the table through Data APIs.", + "description": "Set to true to make the table protected against data loss. i.e. deleting the following resources through Admin APIs are prohibited: * The table. * The column families in the table. * The instance containing the table. Note one can still delete the data stored in the table through Data APIs.", "type": "boolean" }, "granularity": {
diff --git a/discovery/googleapis/billingbudgets__v1.json b/discovery/googleapis/billingbudgets__v1.json index d9ee843..89f0c93 100644 --- a/discovery/googleapis/billingbudgets__v1.json +++ b/discovery/googleapis/billingbudgets__v1.json
@@ -268,7 +268,7 @@ } } }, - "revision": "20221126", + "revision": "20230109", "rootUrl": "https://billingbudgets.googleapis.com/", "schemas": { "GoogleCloudBillingBudgetsV1Budget": {
diff --git a/discovery/googleapis/binaryauthorization__v1.json b/discovery/googleapis/binaryauthorization__v1.json index afbae01..3152864 100644 --- a/discovery/googleapis/binaryauthorization__v1.json +++ b/discovery/googleapis/binaryauthorization__v1.json
@@ -549,7 +549,7 @@ } } }, - "revision": "20221202", + "revision": "20230113", "rootUrl": "https://binaryauthorization.googleapis.com/", "schemas": { "AdmissionRule": {
diff --git a/discovery/googleapis/blogger__v3.json b/discovery/googleapis/blogger__v3.json index 6739a26..95d038e 100644 --- a/discovery/googleapis/blogger__v3.json +++ b/discovery/googleapis/blogger__v3.json
@@ -711,6 +711,11 @@ "location": "path", "required": true, "type": "string" + }, + "useTrash": { + "description": "Move to Trash if possible", + "location": "query", + "type": "boolean" } }, "path": "v3/blogs/{blogId}/pages/{pageId}", @@ -1172,6 +1177,11 @@ "location": "path", "required": true, "type": "string" + }, + "useTrash": { + "description": "Move to Trash if possible", + "location": "query", + "type": "boolean" } }, "path": "v3/blogs/{blogId}/posts/{postId}", @@ -1384,6 +1394,22 @@ "location": "query", "type": "string" }, + "sortOption": { + "default": "DESCENDING", + "description": "Sort direction applied to post list.", + "enum": [ + "SORT_OPTION_UNSPECIFIED", + "DESCENDING", + "ASCENDING" + ], + "enumDescriptions": [ + "The unspecified sort option.", + "The option to sort posts in descending order in time.", + "The option to sort posts in ascending order in time." + ], + "location": "query", + "type": "string" + }, "startDate": { "location": "query", "type": "string" @@ -1682,7 +1708,7 @@ } } }, - "revision": "20221203", + "revision": "20230112", "rootUrl": "https://blogger.googleapis.com/", "schemas": { "Blog": {
diff --git a/discovery/googleapis/books__v1.json b/discovery/googleapis/books__v1.json index a6cedd6..720a482 100644 --- a/discovery/googleapis/books__v1.json +++ b/discovery/googleapis/books__v1.json
@@ -2670,7 +2670,7 @@ } } }, - "revision": "20221116", + "revision": "20230103", "rootUrl": "https://books.googleapis.com/", "schemas": { "Annotation": {
diff --git a/discovery/googleapis/businessprofileperformance__v1.json b/discovery/googleapis/businessprofileperformance__v1.json index 095743b..af01821 100644 --- a/discovery/googleapis/businessprofileperformance__v1.json +++ b/discovery/googleapis/businessprofileperformance__v1.json
@@ -321,7 +321,7 @@ } } }, - "revision": "20221206", + "revision": "20230115", "rootUrl": "https://businessprofileperformance.googleapis.com/", "schemas": { "Date": {
diff --git a/discovery/googleapis/calendar__v3.json b/discovery/googleapis/calendar__v3.json index db616a3..cc838c6 100644 --- a/discovery/googleapis/calendar__v3.json +++ b/discovery/googleapis/calendar__v3.json
@@ -1723,7 +1723,7 @@ } } }, - "revision": "20221114", + "revision": "20221229", "rootUrl": "https://www.googleapis.com/", "schemas": { "Acl": {
diff --git a/discovery/googleapis/certificatemanager__v1.json b/discovery/googleapis/certificatemanager__v1.json index c6de31d..0446d50 100644 --- a/discovery/googleapis/certificatemanager__v1.json +++ b/discovery/googleapis/certificatemanager__v1.json
@@ -1106,7 +1106,7 @@ } } }, - "revision": "20221108", + "revision": "20230104", "rootUrl": "https://certificatemanager.googleapis.com/", "schemas": { "AuthorizationAttemptInfo": {
diff --git a/discovery/googleapis/chat__v1.json b/discovery/googleapis/chat__v1.json index d566f92..7200f49 100644 --- a/discovery/googleapis/chat__v1.json +++ b/discovery/googleapis/chat__v1.json
@@ -5,6 +5,9 @@ "https://www.googleapis.com/auth/chat.memberships": { "description": "View, add, and remove members from conversations in Google Chat" }, + "https://www.googleapis.com/auth/chat.memberships.readonly": { + "description": "View members in Google Chat conversations." + }, "https://www.googleapis.com/auth/chat.messages": { "description": "View, compose, send, update, and delete messages, and add, view, and delete reactions to messages." }, @@ -12,7 +15,13 @@ "description": "Compose and send messages in Google Chat" }, "https://www.googleapis.com/auth/chat.messages.readonly": { - "description": "view messages and reactions in Google Chat" + "description": "View messages and reactions in Google Chat" + }, + "https://www.googleapis.com/auth/chat.spaces": { + "description": "Create conversations and spaces and view or update metadata (including history settings) in Google Chat" + }, + "https://www.googleapis.com/auth/chat.spaces.readonly": { + "description": "View chat and spaces in Google Chat" } } } @@ -112,181 +121,6 @@ }, "protocol": "rest", "resources": { - "dms": { - "methods": { - "messages": { - "description": "Legacy path for creating message. Calling these will result in a BadRequest response.", - "flatPath": "v1/dms/{dmsId}/messages", - "httpMethod": "POST", - "id": "chat.dms.messages", - "parameterOrder": [ - "parent" - ], - "parameters": { - "messageId": { - "description": "Optional. A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).", - "location": "query", - "type": "string" - }, - "messageReplyOption": { - "description": "Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.", - "enum": [ - "MESSAGE_REPLY_OPTION_UNSPECIFIED", - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", - "REPLY_MESSAGE_OR_FAIL" - ], - "enumDescriptions": [ - "Default. Starts a thread.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead." - ], - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the space in which to create a message. Format: spaces/{space}", - "location": "path", - "pattern": "^dms/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", - "location": "query", - "type": "string" - }, - "threadKey": { - "description": "Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier. To start or add to a thread, create a message and specify a `threadKey` or the thread.name. For example usage, see [Start or reply to a message thread](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/messages", - "request": { - "$ref": "Message" - }, - "response": { - "$ref": "Message" - } - }, - "webhooks": { - "description": "Legacy path for creating message. Calling these will result in a BadRequest response.", - "flatPath": "v1/dms/{dmsId}/webhooks", - "httpMethod": "POST", - "id": "chat.dms.webhooks", - "parameterOrder": [ - "parent" - ], - "parameters": { - "messageId": { - "description": "Optional. A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).", - "location": "query", - "type": "string" - }, - "messageReplyOption": { - "description": "Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.", - "enum": [ - "MESSAGE_REPLY_OPTION_UNSPECIFIED", - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", - "REPLY_MESSAGE_OR_FAIL" - ], - "enumDescriptions": [ - "Default. Starts a thread.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead." - ], - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the space in which to create a message. Format: spaces/{space}", - "location": "path", - "pattern": "^dms/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", - "location": "query", - "type": "string" - }, - "threadKey": { - "description": "Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier. To start or add to a thread, create a message and specify a `threadKey` or the thread.name. For example usage, see [Start or reply to a message thread](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/webhooks", - "request": { - "$ref": "Message" - }, - "response": { - "$ref": "Message" - } - } - }, - "resources": { - "conversations": { - "methods": { - "messages": { - "description": "Legacy path for creating message. Calling these will result in a BadRequest response.", - "flatPath": "v1/dms/{dmsId}/conversations/{conversationsId}/messages", - "httpMethod": "POST", - "id": "chat.dms.conversations.messages", - "parameterOrder": [ - "parent" - ], - "parameters": { - "messageId": { - "description": "Optional. A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).", - "location": "query", - "type": "string" - }, - "messageReplyOption": { - "description": "Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.", - "enum": [ - "MESSAGE_REPLY_OPTION_UNSPECIFIED", - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", - "REPLY_MESSAGE_OR_FAIL" - ], - "enumDescriptions": [ - "Default. Starts a thread.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead." - ], - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the space in which to create a message. Format: spaces/{space}", - "location": "path", - "pattern": "^dms/[^/]+/conversations/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", - "location": "query", - "type": "string" - }, - "threadKey": { - "description": "Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier. To start or add to a thread, create a message and specify a `threadKey` or the thread.name. For example usage, see [Start or reply to a message thread](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/messages", - "request": { - "$ref": "Message" - }, - "response": { - "$ref": "Message" - } - } - } - } - } - }, "media": { "methods": { "download": { @@ -318,181 +152,6 @@ } } }, - "rooms": { - "methods": { - "messages": { - "description": "Legacy path for creating message. Calling these will result in a BadRequest response.", - "flatPath": "v1/rooms/{roomsId}/messages", - "httpMethod": "POST", - "id": "chat.rooms.messages", - "parameterOrder": [ - "parent" - ], - "parameters": { - "messageId": { - "description": "Optional. A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).", - "location": "query", - "type": "string" - }, - "messageReplyOption": { - "description": "Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.", - "enum": [ - "MESSAGE_REPLY_OPTION_UNSPECIFIED", - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", - "REPLY_MESSAGE_OR_FAIL" - ], - "enumDescriptions": [ - "Default. Starts a thread.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead." - ], - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the space in which to create a message. Format: spaces/{space}", - "location": "path", - "pattern": "^rooms/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", - "location": "query", - "type": "string" - }, - "threadKey": { - "description": "Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier. To start or add to a thread, create a message and specify a `threadKey` or the thread.name. For example usage, see [Start or reply to a message thread](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/messages", - "request": { - "$ref": "Message" - }, - "response": { - "$ref": "Message" - } - }, - "webhooks": { - "description": "Legacy path for creating message. Calling these will result in a BadRequest response.", - "flatPath": "v1/rooms/{roomsId}/webhooks", - "httpMethod": "POST", - "id": "chat.rooms.webhooks", - "parameterOrder": [ - "parent" - ], - "parameters": { - "messageId": { - "description": "Optional. A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).", - "location": "query", - "type": "string" - }, - "messageReplyOption": { - "description": "Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.", - "enum": [ - "MESSAGE_REPLY_OPTION_UNSPECIFIED", - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", - "REPLY_MESSAGE_OR_FAIL" - ], - "enumDescriptions": [ - "Default. Starts a thread.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead." - ], - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the space in which to create a message. Format: spaces/{space}", - "location": "path", - "pattern": "^rooms/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", - "location": "query", - "type": "string" - }, - "threadKey": { - "description": "Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier. To start or add to a thread, create a message and specify a `threadKey` or the thread.name. For example usage, see [Start or reply to a message thread](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/webhooks", - "request": { - "$ref": "Message" - }, - "response": { - "$ref": "Message" - } - } - }, - "resources": { - "conversations": { - "methods": { - "messages": { - "description": "Legacy path for creating message. Calling these will result in a BadRequest response.", - "flatPath": "v1/rooms/{roomsId}/conversations/{conversationsId}/messages", - "httpMethod": "POST", - "id": "chat.rooms.conversations.messages", - "parameterOrder": [ - "parent" - ], - "parameters": { - "messageId": { - "description": "Optional. A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).", - "location": "query", - "type": "string" - }, - "messageReplyOption": { - "description": "Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.", - "enum": [ - "MESSAGE_REPLY_OPTION_UNSPECIFIED", - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", - "REPLY_MESSAGE_OR_FAIL" - ], - "enumDescriptions": [ - "Default. Starts a thread.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead." - ], - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the space in which to create a message. Format: spaces/{space}", - "location": "path", - "pattern": "^rooms/[^/]+/conversations/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", - "location": "query", - "type": "string" - }, - "threadKey": { - "description": "Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier. To start or add to a thread, create a message and specify a `threadKey` or the thread.name. For example usage, see [Start or reply to a message thread](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/messages", - "request": { - "$ref": "Message" - }, - "response": { - "$ref": "Message" - } - } - } - } - } - }, "spaces": { "methods": { "get": { @@ -515,7 +174,11 @@ "path": "v1/{+name}", "response": { "$ref": "Space" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/chat.spaces", + "https://www.googleapis.com/auth/chat.spaces.readonly" + ] }, "list": { "description": "Lists spaces the caller is a member of. Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.spaces` or `chat.spaces.readonly` authorization scope. Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent.", @@ -539,62 +202,11 @@ "path": "v1/spaces", "response": { "$ref": "ListSpacesResponse" - } - }, - "webhooks": { - "description": "Legacy path for creating message. Calling these will result in a BadRequest response.", - "flatPath": "v1/spaces/{spacesId}/webhooks", - "httpMethod": "POST", - "id": "chat.spaces.webhooks", - "parameterOrder": [ - "parent" - ], - "parameters": { - "messageId": { - "description": "Optional. A custom name for a Chat message assigned at creation. Must start with `client-` and contain only lowercase letters, numbers, and hyphens up to 63 characters in length. Specify this field to get, update, or delete the message with the specified value. For example usage, see [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message).", - "location": "query", - "type": "string" - }, - "messageReplyOption": { - "description": "Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.", - "enum": [ - "MESSAGE_REPLY_OPTION_UNSPECIFIED", - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", - "REPLY_MESSAGE_OR_FAIL" - ], - "enumDescriptions": [ - "Default. Starts a thread.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.", - "Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead." - ], - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the space in which to create a message. Format: spaces/{space}", - "location": "path", - "pattern": "^spaces/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", - "location": "query", - "type": "string" - }, - "threadKey": { - "description": "Optional. Deprecated: Use thread.thread_key instead. Opaque thread identifier. To start or add to a thread, create a message and specify a `threadKey` or the thread.name. For example usage, see [Start or reply to a message thread](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread).", - "location": "query", - "type": "string" - } }, - "path": "v1/{+parent}/webhooks", - "request": { - "$ref": "Message" - }, - "response": { - "$ref": "Message" - } + "scopes": [ + "https://www.googleapis.com/auth/chat.spaces", + "https://www.googleapis.com/auth/chat.spaces.readonly" + ] } }, "resources": { @@ -622,7 +234,8 @@ "$ref": "Membership" }, "scopes": [ - "https://www.googleapis.com/auth/chat.memberships" + "https://www.googleapis.com/auth/chat.memberships", + "https://www.googleapis.com/auth/chat.memberships.readonly" ] }, "list": { @@ -658,7 +271,8 @@ "$ref": "ListMembershipsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/chat.memberships" + "https://www.googleapis.com/auth/chat.memberships", + "https://www.googleapis.com/auth/chat.memberships.readonly" ] } } @@ -666,7 +280,7 @@ "messages": { "methods": { "create": { - "description": "Creates a message. For example usage, see [Create a message](https://developers.google.com/chat/api/guides/crudl/messages#create_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` or `chat.messages.create` authorization scope.", + "description": "Creates a message. For example usage, see [Create a message](https://developers.google.com/chat/api/guides/crudl/messages#create_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` or `chat.messages.create` authorization scope. Because Chat provides authentication for [webhooks](https://developers.google.com/chat/how-tos/webhooks) as part of the URL that's generated when a webhook is registered, webhooks can create messages without a service account or user authentication.", "flatPath": "v1/spaces/{spacesId}/messages", "httpMethod": "POST", "id": "chat.spaces.messages.create", @@ -886,7 +500,7 @@ } } }, - "revision": "20221126", + "revision": "20230103", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { @@ -1083,7 +697,6 @@ "type": "object" }, "AttachmentDataRef": { - "description": "[Developer Preview](https://developers.google.com/workspace/preview).", "id": "AttachmentDataRef", "properties": { "resourceName": { @@ -2873,7 +2486,7 @@ "id": "Space", "properties": { "displayName": { - "description": "The space's display name. For direct messages between humans, this field might be empty.", + "description": "The space's display name. Required when [creating a space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create). For direct messages, this field may be empty.", "type": "string" }, "name": {
diff --git a/discovery/googleapis/chromemanagement__v1.json b/discovery/googleapis/chromemanagement__v1.json index 12b5b48..db18ad0 100644 --- a/discovery/googleapis/chromemanagement__v1.json +++ b/discovery/googleapis/chromemanagement__v1.json
@@ -680,7 +680,7 @@ } } }, - "revision": "20221205", + "revision": "20230111", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -1198,6 +1198,21 @@ "description": "Output only. The app developer has enabled support for their app. Version-specific field that will only be set when the requested app version is found.", "readOnly": true, "type": "boolean" + }, + "type": { + "description": "Output only. Types of an item in the Chrome Web Store", + "enum": [ + "ITEM_TYPE_UNSPECIFIED", + "EXTENSION", + "OTHERS" + ], + "enumDescriptions": [ + "Unspecified ItemType.", + "Chrome Extensions.", + "Any other type than extension." + ], + "readOnly": true, + "type": "string" } }, "type": "object" @@ -2583,16 +2598,16 @@ "readOnly": true, "type": "string" }, - "networkConnectionStateChangeEvent": { - "$ref": "GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent", - "description": "Output only. Payload for network connection state change event. Present only when `event_type` is `NETWORK_CONNECTION_STATE_CHANGE`.", - "readOnly": true - }, "reportTime": { "description": "Timestamp that represents when the event was reported.", "format": "google-datetime", "type": "string" }, + "usbPeripheralsEvent": { + "$ref": "GoogleChromeManagementV1TelemetryUsbPeripheralsEvent", + "description": "Output only. Payload for usb peripherals event. Present only when the `event_type` field is either `USB_ADDED` or `USB_REMOVED`.", + "readOnly": true + }, "user": { "$ref": "GoogleChromeManagementV1TelemetryUserInfo", "description": "Output only. Information about the user associated with the event.", @@ -2626,33 +2641,16 @@ }, "type": "object" }, - "GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent": { - "description": "`TelemetryNetworkConnectionStateChangeEvent` is triggered on network connection state changes.", - "id": "GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent", + "GoogleChromeManagementV1TelemetryUsbPeripheralsEvent": { + "description": "`TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or removed.", + "id": "GoogleChromeManagementV1TelemetryUsbPeripheralsEvent", "properties": { - "connectionState": { - "description": "Current connection state of the network.", - "enum": [ - "NETWORK_CONNECTION_STATE_UNSPECIFIED", - "ONLINE", - "CONNECTED", - "PORTAL", - "CONNECTING", - "NOT_CONNECTED" - ], - "enumDescriptions": [ - "Network connection state unspecified.", - "The network is connected and internet connectivity is available.", - "The network is connected and not in a detected portal state, but internet connectivity may not be available.", - "The network is connected but a portal state was detected. Internet connectivity may be limited.", - "The network is in the process of connecting.", - "The network is not connected." - ], - "type": "string" - }, - "guid": { - "description": "Unique identifier of the network.", - "type": "string" + "usbPeripheralReport": { + "description": "List of usb devices that were either added or removed.", + "items": { + "$ref": "GoogleChromeManagementV1UsbPeripheralReport" + }, + "type": "array" } }, "type": "object" @@ -2754,6 +2752,60 @@ }, "type": "object" }, + "GoogleChromeManagementV1UsbPeripheralReport": { + "description": "USB connected peripheral report.", + "id": "GoogleChromeManagementV1UsbPeripheralReport", + "properties": { + "categories": { + "description": "Output only. Categories the device belongs to https://www.usb.org/defined-class-codes", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "classId": { + "description": "Output only. Class ID https://www.usb.org/defined-class-codes", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "firmwareVersion": { + "description": "Output only. Firmware version", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. Device name, model name, or product name", + "readOnly": true, + "type": "string" + }, + "pid": { + "description": "Output only. Product ID", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "subclassId": { + "description": "Output only. Subclass ID https://www.usb.org/defined-class-codes", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "vendor": { + "description": "Output only. Vendor name", + "readOnly": true, + "type": "string" + }, + "vid": { + "description": "Output only. Vendor ID", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "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",
diff --git a/discovery/googleapis/chromepolicy__v1.json b/discovery/googleapis/chromepolicy__v1.json index 504523e..89cdc0d 100644 --- a/discovery/googleapis/chromepolicy__v1.json +++ b/discovery/googleapis/chromepolicy__v1.json
@@ -555,7 +555,7 @@ } } }, - "revision": "20221204", + "revision": "20230116", "rootUrl": "https://chromepolicy.googleapis.com/", "schemas": { "ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle": { @@ -785,6 +785,17 @@ }, "type": "object" }, + "GoogleChromePolicyVersionsV1FieldConstraints": { + "description": "Information about any range constraints.", + "id": "GoogleChromePolicyVersionsV1FieldConstraints", + "properties": { + "numericRangeConstraint": { + "$ref": "GoogleChromePolicyVersionsV1NumericRangeConstraint", + "description": "The allowed range for numeric fields." + } + }, + "type": "object" + }, "GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest": { "description": "Request parameters for inheriting policy value of a specific org unit target from the policy value of its parent org unit.", "id": "GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest", @@ -917,6 +928,23 @@ }, "type": "object" }, + "GoogleChromePolicyVersionsV1NumericRangeConstraint": { + "description": "A constraint on upper and/or lower bounds, with at least one being set.", + "id": "GoogleChromePolicyVersionsV1NumericRangeConstraint", + "properties": { + "maximum": { + "description": "Maximum value.", + "format": "int64", + "type": "string" + }, + "minimum": { + "description": "Minimum value.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleChromePolicyVersionsV1PolicyModificationFieldError": { "description": "Error information for a modification request of a specific field on a specific policy.", "id": "GoogleChromePolicyVersionsV1PolicyModificationFieldError", @@ -1060,6 +1088,11 @@ "readOnly": true, "type": "string" }, + "fieldConstraints": { + "$ref": "GoogleChromePolicyVersionsV1FieldConstraints", + "description": "Output only. Information on any input constraints associated on the values for the field.", + "readOnly": true + }, "fieldDependencies": { "description": "Output only. Provides a list of fields and values. At least one of the fields must have the corresponding value in order for this field to be allowed to be set.", "items": {
diff --git a/discovery/googleapis/chromeuxreport__v1.json b/discovery/googleapis/chromeuxreport__v1.json index bc794b7..56a451f 100644 --- a/discovery/googleapis/chromeuxreport__v1.json +++ b/discovery/googleapis/chromeuxreport__v1.json
@@ -114,7 +114,7 @@ } } }, - "revision": "20221201", + "revision": "20230111", "rootUrl": "https://chromeuxreport.googleapis.com/", "schemas": { "Bin": {
diff --git a/discovery/googleapis/civicinfo__v2.json b/discovery/googleapis/civicinfo__v2.json index c34facc..6b38eaf 100644 --- a/discovery/googleapis/civicinfo__v2.json +++ b/discovery/googleapis/civicinfo__v2.json
@@ -351,7 +351,7 @@ } } }, - "revision": "20221129", + "revision": "20230110", "rootUrl": "https://civicinfo.googleapis.com/", "schemas": { "AdministrationRegion": { @@ -1637,7 +1637,7 @@ "e.g. single family dwelling, office building.", "e.g. suite, room, hallway, cubicle.", "A terminal point represents a good location for a user to meet a taxi, ridesharing vehicle, or general driver.", - "An area controlled in some way by an authoritative source, such as a government-designated COVID containment zone. Features of this type should have one or more gcids corresponding to their specific regulation.", + "An area controlled in some way by an authoritative source, such as a government-designated COVID containment zone or an area under government sanctions. Features of this type should have one or more gcids corresponding to their specific regulation, and client handling of these features may vary based on the type of regulation.", "A grouping of TYPE_BORDER features (\"border segments\"), which together represent a border between two features of the same type.", "DEPRECATED", "A feature of completely unknown type. This should only be used when absolutely necessary. One example in which this type is useful is in the Chinese importer, which must heuristically segment addresses into components - it often does not know what types to make those components. Please note that the Oyster address formatter does not currently support address components of TYPE_UNKNOWN well."
diff --git a/discovery/googleapis/classroom__v1.json b/discovery/googleapis/classroom__v1.json index 930cdb4..3bd605b 100644 --- a/discovery/googleapis/classroom__v1.json +++ b/discovery/googleapis/classroom__v1.json
@@ -295,7 +295,7 @@ ] }, "patch": { - "description": "Updates one or more fields in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable * InactiveCourseOwner", + "description": "Updates one or more fields in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner", "flatPath": "v1/courses/{id}", "httpMethod": "PATCH", "id": "classroom.courses.patch", @@ -1942,7 +1942,7 @@ ] }, "create": { - "description": "Creates an invitation. Only one invitation for a user and course may exist at a time. Delete and re-create an invitation to make changes. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create invitations for this course or for access errors. * `NOT_FOUND` if the course or the user does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled or if the user already has this role or a role with greater permissions. * `ALREADY_EXISTS` if an invitation for the specified user and course already exists.", + "description": "Creates an invitation. Only one invitation for a user and course may exist at a time. Delete and re-create an invitation to make changes. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create invitations for this course or for access errors. * `NOT_FOUND` if the course or the user does not exist. * `FAILED_PRECONDITION`: * if the requested user's account is disabled. * if the user already has this role or a role with greater permissions. * for the following request errors: * IneligibleOwner * `ALREADY_EXISTS` if an invitation for the specified user and course already exists.", "flatPath": "v1/invitations", "httpMethod": "POST", "id": "classroom.invitations.create", @@ -2398,7 +2398,7 @@ } } }, - "revision": "20221130", + "revision": "20230105", "rootUrl": "https://classroom.googleapis.com/", "schemas": { "Announcement": {
diff --git a/discovery/googleapis/cloudasset__v1.json b/discovery/googleapis/cloudasset__v1.json index dcbd063..a661cb0 100644 --- a/discovery/googleapis/cloudasset__v1.json +++ b/discovery/googleapis/cloudasset__v1.json
@@ -12,7 +12,7 @@ "baseUrl": "https://cloudasset.googleapis.com/", "batchPath": "batch", "canonicalName": "Cloud Asset", - "description": "The cloud asset API manages the history and inventory of cloud resources.", + "description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", "icons": { @@ -135,8 +135,8 @@ "Unspecified content type.", "Resource metadata.", "The actual IAM policy set on a resource.", - "The Cloud Organization Policy set on an asset.", - "The Cloud Access context manager Policy set on an asset.", + "The organization policy set on an asset.", + "The Access Context Manager policy set on an asset.", "The runtime OS Inventory information.", "The related resources." ], @@ -402,7 +402,7 @@ "type": "string" }, "savedQueryId": { - "description": "Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.", + "description": "Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are `a-z-`. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.", "location": "query", "type": "string" } @@ -580,7 +580,7 @@ "type": "string" }, "analysisQuery.options.analyzeServiceAccountImpersonation": { - "description": "Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning rpc instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a GCP folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.", + "description": "Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.", "location": "query", "type": "boolean" }, @@ -590,7 +590,7 @@ "type": "boolean" }, "analysisQuery.options.expandResources": { - "description": "Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a GCP folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resource cannot be used together with this option. For example, if the request analyzes for which users have permission P on a GCP project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.", + "description": "Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a Google Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resources cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.", "location": "query", "type": "boolean" }, @@ -679,12 +679,12 @@ ], "parameters": { "destinationParent": { - "description": "Required. Name of the GCP Folder or Organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a Folder number (such as \"folders/123\") or an Organization number (such as \"organizations/123\").", + "description": "Required. Name of the Google Cloud folder or organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a folder number (such as \"folders/123\") or an organization number (such as \"organizations/123\").", "location": "query", "type": "string" }, "resource": { - "description": "Required. Name of the resource to perform the analysis against. Only GCP Project are supported as of today. Hence, this can only be Project ID (such as \"projects/my-project-id\") or a Project Number (such as \"projects/12345\").", + "description": "Required. Name of the resource to perform the analysis against. Only Google Cloud projects are supported as of today. Hence, this can only be a project ID (such as \"projects/my-project-id\") or a project number (such as \"projects/12345\").", "location": "path", "pattern": "^[^/]+/[^/]+$", "required": true, @@ -761,7 +761,7 @@ ] }, "analyzeOrgPolicyGovernedAssets": { - "description": "Analyzes organization policies governed assets (GCP resources or policies) under a scope. This RPC supports custom constraints and the following 10 canned constraints: * storage.uniformBucketLevelAccess * iam.disableServiceAccountKeyCreation * iam.allowedPolicyMemberDomains * compute.vmExternalIpAccess * appengine.enforceServiceAccountActAsCheck * gcp.resourceLocations * compute.trustedImageProjects * compute.skipDefaultNetworkCreation * compute.requireOsLogin * compute.disableNestedVirtualization This RPC only returns either resources of types supported by [searchable asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types), or IAM policies.", + "description": "Analyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following 10 canned constraints: * storage.uniformBucketLevelAccess * iam.disableServiceAccountKeyCreation * iam.allowedPolicyMemberDomains * compute.vmExternalIpAccess * appengine.enforceServiceAccountActAsCheck * gcp.resourceLocations * compute.trustedImageProjects * compute.skipDefaultNetworkCreation * compute.requireOsLogin * compute.disableNestedVirtualization This RPC only returns either resources of types supported by [searchable asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types), or IAM policies.", "flatPath": "v1/{v1Id}/{v1Id1}:analyzeOrgPolicyGovernedAssets", "httpMethod": "GET", "id": "cloudasset.analyzeOrgPolicyGovernedAssets", @@ -882,8 +882,8 @@ "Unspecified content type.", "Resource metadata.", "The actual IAM policy set on a resource.", - "The Cloud Organization Policy set on an asset.", - "The Cloud Access context manager Policy set on an asset.", + "The organization policy set on an asset.", + "The Access Context Manager policy set on an asset.", "The runtime OS Inventory information.", "The related resources." ], @@ -1012,7 +1012,7 @@ "type": "string" }, "query": { - "description": "Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query) for more information. If not specified or empty, it will search all the IAM policies within the specified `scope`. Note that the query string is compared against each Cloud IAM policy binding, including its principals, roles, and Cloud IAM conditions. The returned Cloud IAM policies will only contain the bindings that match your query. To learn more about the IAM policy structure, see the [IAM policy documentation](https://cloud.google.com/iam/help/allow-policies/structure). Examples: * `policy:amy@gmail.com` to find IAM policy bindings that specify user \"amy@gmail.com\". * `policy:roles/compute.admin` to find IAM policy bindings that specify the Compute Admin role. * `policy:comp*` to find IAM policy bindings that contain \"comp\" as a prefix of any word in the binding. * `policy.role.permissions:storage.buckets.update` to find IAM policy bindings that specify a role containing \"storage.buckets.update\" permission. Note that if callers don't have `iam.roles.get` access to a role's included permissions, policy bindings that specify this role will be dropped from the search results. * `policy.role.permissions:upd*` to find IAM policy bindings that specify a role containing \"upd\" as a prefix of any word in the role permission. Note that if callers don't have `iam.roles.get` access to a role's included permissions, policy bindings that specify this role will be dropped from the search results. * `resource:organizations/123456` to find IAM policy bindings that are set on \"organizations/123456\". * `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to find IAM policy bindings that are set on the project named \"myproject\". * `Important` to find IAM policy bindings that contain \"Important\" as a word in any of the searchable fields (except for the included permissions). * `resource:(instance1 OR instance2) policy:amy` to find IAM policy bindings that are set on resources \"instance1\" or \"instance2\" and also specify user \"amy\". * `roles:roles/compute.admin` to find IAM policy bindings that specify the Compute Admin role. * `memberTypes:user` to find IAM policy bindings that contain the principal type \"user\".", + "description": "Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query) for more information. If not specified or empty, it will search all the IAM policies within the specified `scope`. Note that the query string is compared against each IAM policy binding, including its principals, roles, and IAM conditions. The returned IAM policies will only contain the bindings that match your query. To learn more about the IAM policy structure, see the [IAM policy documentation](https://cloud.google.com/iam/help/allow-policies/structure). Examples: * `policy:amy@gmail.com` to find IAM policy bindings that specify user \"amy@gmail.com\". * `policy:roles/compute.admin` to find IAM policy bindings that specify the Compute Admin role. * `policy:comp*` to find IAM policy bindings that contain \"comp\" as a prefix of any word in the binding. * `policy.role.permissions:storage.buckets.update` to find IAM policy bindings that specify a role containing \"storage.buckets.update\" permission. Note that if callers don't have `iam.roles.get` access to a role's included permissions, policy bindings that specify this role will be dropped from the search results. * `policy.role.permissions:upd*` to find IAM policy bindings that specify a role containing \"upd\" as a prefix of any word in the role permission. Note that if callers don't have `iam.roles.get` access to a role's included permissions, policy bindings that specify this role will be dropped from the search results. * `resource:organizations/123456` to find IAM policy bindings that are set on \"organizations/123456\". * `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to find IAM policy bindings that are set on the project named \"myproject\". * `Important` to find IAM policy bindings that contain \"Important\" as a word in any of the searchable fields (except for the included permissions). * `resource:(instance1 OR instance2) policy:amy` to find IAM policy bindings that are set on resources \"instance1\" or \"instance2\" and also specify user \"amy\". * `roles:roles/compute.admin` to find IAM policy bindings that specify the Compute Admin role. * `memberTypes:user` to find IAM policy bindings that contain the principal type \"user\".", "location": "query", "type": "string" }, @@ -1033,7 +1033,7 @@ ] }, "searchAllResources": { - "description": "Searches all Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources` permission on the desired scope, otherwise the request will be rejected.", + "description": "Searches all Google Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the `cloudasset.assets.searchAllResources` permission on the desired scope, otherwise the request will be rejected.", "flatPath": "v1/{v1Id}/{v1Id1}:searchAllResources", "httpMethod": "GET", "id": "cloudasset.searchAllResources", @@ -1064,12 +1064,12 @@ "type": "string" }, "query": { - "description": "Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query) for more information. If not specified or empty, it will search all the resources within the specified `scope`. Examples: * `name:Important` to find Cloud resources whose name contains \"Important\" as a word. * `name=Important` to find the Cloud resource whose name is exactly \"Important\". * `displayName:Impor*` to find Cloud resources whose display name contains \"Impor\" as a prefix of any word in the field. * `location:us-west*` to find Cloud resources whose location contains both \"us\" and \"west\" as prefixes. * `labels:prod` to find Cloud resources whose labels contain \"prod\" as a key or value. * `labels.env:prod` to find Cloud resources that have a label \"env\" and its value is \"prod\". * `labels.env:*` to find Cloud resources that have a label \"env\". * `kmsKey:key` to find Cloud resources encrypted with a customer-managed encryption key whose name contains \"key\" as a word. This field is deprecated. Please use the `kmsKeys` field to retrieve KMS key information. * `kmsKeys:key` to find Cloud resources encrypted with customer-managed encryption keys whose name contains the word \"key\". * `relationships:instance-group-1` to find Cloud resources that have relationships with \"instance-group-1\" in the related resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find compute instances that have relationships of type \"INSTANCE_TO_INSTANCEGROUP\". * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find compute instances that have relationships with \"instance-group-1\" in the compute instance group resource name, for relationship type \"INSTANCE_TO_INSTANCEGROUP\". * `state:ACTIVE` to find Cloud resources whose state contains \"ACTIVE\" as a word. * `NOT state:ACTIVE` to find Cloud resources whose state doesn't contain \"ACTIVE\" as a word. * `createTime<1609459200` to find Cloud resources that were created before \"2021-01-01 00:00:00 UTC\". 1609459200 is the epoch timestamp of \"2021-01-01 00:00:00 UTC\" in seconds. * `updateTime>1609459200` to find Cloud resources that were updated after \"2021-01-01 00:00:00 UTC\". 1609459200 is the epoch timestamp of \"2021-01-01 00:00:00 UTC\" in seconds. * `Important` to find Cloud resources that contain \"Important\" as a word in any of the searchable fields. * `Impor*` to find Cloud resources that contain \"Impor\" as a prefix of any word in any of the searchable fields. * `Important location:(us-west1 OR global)` to find Cloud resources that contain \"Important\" as a word in any of the searchable fields and are also located in the \"us-west1\" region or the \"global\" location.", + "description": "Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query) for more information. If not specified or empty, it will search all the resources within the specified `scope`. Examples: * `name:Important` to find Google Cloud resources whose name contains \"Important\" as a word. * `name=Important` to find the Google Cloud resource whose name is exactly \"Important\". * `displayName:Impor*` to find Google Cloud resources whose display name contains \"Impor\" as a prefix of any word in the field. * `location:us-west*` to find Google Cloud resources whose location contains both \"us\" and \"west\" as prefixes. * `labels:prod` to find Google Cloud resources whose labels contain \"prod\" as a key or value. * `labels.env:prod` to find Google Cloud resources that have a label \"env\" and its value is \"prod\". * `labels.env:*` to find Google Cloud resources that have a label \"env\". * `kmsKey:key` to find Google Cloud resources encrypted with a customer-managed encryption key whose name contains \"key\" as a word. This field is deprecated. Please use the `kmsKeys` field to retrieve Cloud KMS key information. * `kmsKeys:key` to find Google Cloud resources encrypted with customer-managed encryption keys whose name contains the word \"key\". * `relationships:instance-group-1` to find Google Cloud resources that have relationships with \"instance-group-1\" in the related resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine instances that have relationships of type \"INSTANCE_TO_INSTANCEGROUP\". * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find Compute Engine instances that have relationships with \"instance-group-1\" in the Compute Engine instance group resource name, for relationship type \"INSTANCE_TO_INSTANCEGROUP\". * `state:ACTIVE` to find Google Cloud resources whose state contains \"ACTIVE\" as a word. * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't contain \"ACTIVE\" as a word. * `createTime<1609459200` to find Google Cloud resources that were created before \"2021-01-01 00:00:00 UTC\". 1609459200 is the epoch timestamp of \"2021-01-01 00:00:00 UTC\" in seconds. * `updateTime>1609459200` to find Google Cloud resources that were updated after \"2021-01-01 00:00:00 UTC\". 1609459200 is the epoch timestamp of \"2021-01-01 00:00:00 UTC\" in seconds. * `Important` to find Google Cloud resources that contain \"Important\" as a word in any of the searchable fields. * `Impor*` to find Google Cloud resources that contain \"Impor\" as a prefix of any word in any of the searchable fields. * `Important location:(us-west1 OR global)` to find Google Cloud resources that contain \"Important\" as a word in any of the searchable fields and are also located in the \"us-west1\" region or the \"global\" location.", "location": "query", "type": "string" }, "readMask": { - "description": "Optional. A comma-separated list of fields specifying which fields to be returned in ResourceSearchResult. Only '*' or combination of top level fields can be specified. Field names of both snake_case and camelCase are supported. Examples: `\"*\"`, `\"name,location\"`, `\"name,versionedResources\"`. The read_mask paths must be valid field paths listed but not limited to (both snake_case and camelCase are supported): * name * assetType * project * displayName * description * location * tagKeys * tagValues * tagValueIds * labels * networkTags * kmsKey (This field is deprecated. Please use the `kmsKeys` field to retrieve KMS key information.) * kmsKeys * createTime * updateTime * state * additionalAttributes * versionedResources If read_mask is not specified, all fields except versionedResources will be returned. If only '*' is specified, all fields including versionedResources will be returned. Any invalid field path will trigger INVALID_ARGUMENT error.", + "description": "Optional. A comma-separated list of fields specifying which fields to be returned in ResourceSearchResult. Only '*' or combination of top level fields can be specified. Field names of both snake_case and camelCase are supported. Examples: `\"*\"`, `\"name,location\"`, `\"name,versionedResources\"`. The read_mask paths must be valid field paths listed but not limited to (both snake_case and camelCase are supported): * name * assetType * project * displayName * description * location * tagKeys * tagValues * tagValueIds * labels * networkTags * kmsKey (This field is deprecated. Please use the `kmsKeys` field to retrieve Cloud KMS key information.) * kmsKeys * createTime * updateTime * state * additionalAttributes * versionedResources If read_mask is not specified, all fields except versionedResources will be returned. If only '*' is specified, all fields including versionedResources will be returned. Any invalid field path will trigger INVALID_ARGUMENT error.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1093,7 +1093,7 @@ } } }, - "revision": "20221201", + "revision": "20230114", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -1118,7 +1118,7 @@ "type": "object" }, "AnalyzeIamPolicyLongrunningMetadata": { - "description": "Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning rpc.", + "description": "Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning RPC.", "id": "AnalyzeIamPolicyLongrunningMetadata", "properties": { "createTime": { @@ -1182,7 +1182,7 @@ "id": "AnalyzeMoveResponse", "properties": { "moveAnalysis": { - "description": "The list of analyses returned from performing the intended resource move analysis. The analysis is grouped by different Cloud services.", + "description": "The list of analyses returned from performing the intended resource move analysis. The analysis is grouped by different Google Cloud services.", "items": { "$ref": "MoveAnalysis" }, @@ -1258,7 +1258,7 @@ "type": "object" }, "AnalyzerOrgPolicy": { - "description": "This organization policy message is a modified version of the one defined in the OrgPolicy system. This message contains several fields defined in the original organization policy with some new fields for analysis purpose.", + "description": "This organization policy message is a modified version of the one defined in the Organization Policy system. This message contains several fields defined in the original organization policy with some new fields for analysis purpose.", "id": "AnalyzerOrgPolicy", "properties": { "appliedResource": { @@ -1303,7 +1303,7 @@ "type": "object" }, "Asset": { - "description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy), or a relationship (e.g. an INSTANCE_TO_INSTANCEGROUP relationship). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy), or a relationship (e.g. an INSTANCE_TO_INSTANCEGROUP relationship). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", "id": "Asset", "properties": { "accessLevel": { @@ -1327,7 +1327,7 @@ }, "iamPolicy": { "$ref": "Policy", - "description": "A representation of the Cloud IAM policy set on a Google Cloud resource. There can be a maximum of one Cloud IAM policy set on any given resource. In addition, Cloud IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." + "description": "A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." }, "name": { "description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", @@ -1647,8 +1647,8 @@ "Unspecified content type.", "Resource metadata.", "The actual IAM policy set on a resource.", - "The Cloud Organization Policy set on an asset.", - "The Cloud Access context manager Policy set on an asset.", + "The organization policy set on an asset.", + "The Access Context Manager policy set on an asset.", "The runtime OS Inventory information.", "The related resources." ], @@ -1733,8 +1733,8 @@ "Unspecified content type.", "Resource metadata.", "The actual IAM policy set on a resource.", - "The Cloud Organization Policy set on an asset.", - "The Cloud Access context manager Policy set on an asset.", + "The organization policy set on an asset.", + "The Access Context Manager policy set on an asset.", "The runtime OS Inventory information.", "The related resources." ], @@ -1774,11 +1774,11 @@ "id": "GcsDestination", "properties": { "uri": { - "description": "The uri of the Cloud Storage object. It's the same uri that is used by gsutil. Example: \"gs://bucket_name/object_name\". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the exported result.", + "description": "The URI of the Cloud Storage object. It's the same URI that is used by gsutil. Example: \"gs://bucket_name/object_name\". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the exported result.", "type": "string" }, "uriPrefix": { - "description": "The uri prefix of all generated Cloud Storage objects. Example: \"gs://bucket_name/object_name_prefix\". Each object uri is in format: \"gs://bucket_name/object_name_prefix// and only contains assets for that type. starts from 0. Example: \"gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0\" is the first shard of output objects containing all compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned if file with the same name \"gs://bucket_name/object_name_prefix\" already exists.", + "description": "The URI prefix of all generated Cloud Storage objects. Example: \"gs://bucket_name/object_name_prefix\". Each object URI is in format: \"gs://bucket_name/object_name_prefix// and only contains assets for that type. starts from 0. Example: \"gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0\" is the first shard of output objects containing all compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned if file with the same name \"gs://bucket_name/object_name_prefix\" already exists.", "type": "string" } }, @@ -1836,7 +1836,7 @@ "type": "object" }, "GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset": { - "description": "Represents a GCP asset(resource or IAM policy) governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.", + "description": "Represents a Google Cloud asset(resource or IAM policy) governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.", "id": "GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset", "properties": { "consolidatedPolicy": { @@ -1849,7 +1849,7 @@ }, "governedResource": { "$ref": "GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource", - "description": "A GCP resource governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint." + "description": "A Google Cloud resource governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint." }, "policyBundle": { "description": "The ordered list of all organization policies from the AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.", @@ -1892,7 +1892,7 @@ "type": "object" }, "GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource": { - "description": "The GCP resources governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.", + "description": "The Google Cloud resources governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.", "id": "GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource", "properties": { "folders": { @@ -1903,7 +1903,7 @@ "type": "array" }, "fullResourceName": { - "description": "The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the GCP resource.", + "description": "The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the Google Cloud resource.", "type": "string" }, "organization": { @@ -2018,7 +2018,7 @@ "type": "string" }, "condition": { - "description": "Organization policy condition/expression. For example: `resource.instanceName.matches(\"[production|test]_.*_(\\d)+\")'` or, `resource.management.auto_upgrade == true`", + "description": "Organization Policy condition/expression. For example: `resource.instanceName.matches(\"[production|test]_.*_(\\d)+\")'` or, `resource.management.auto_upgrade == true`", "type": "string" }, "description": { @@ -2082,7 +2082,7 @@ "id": "GoogleCloudAssetV1GcsDestination", "properties": { "uri": { - "description": "Required. The uri of the Cloud Storage object. It's the same uri that is used by gsutil. Example: \"gs://bucket_name/object_name\". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the analysis result.", + "description": "Required. The URI of the Cloud Storage object. It's the same URI that is used by gsutil. Example: \"gs://bucket_name/object_name\". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the analysis result.", "type": "string" } }, @@ -2151,7 +2151,7 @@ "type": "object" }, "GoogleCloudAssetV1ListConstraint": { - "description": "A `Constraint` that allows or disallows a list of string values, which are configured by an Organization's policy administrator with a `Policy`.", + "description": "A `Constraint` that allows or disallows a list of string values, which are configured by an organization's policy administrator with a `Policy`.", "id": "GoogleCloudAssetV1ListConstraint", "properties": { "supportsIn": { @@ -2248,7 +2248,7 @@ "type": "object" }, "GoogleCloudAssetV1p7beta1Asset": { - "description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "description": "An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", "id": "GoogleCloudAssetV1p7beta1Asset", "properties": { "accessLevel": { @@ -2272,7 +2272,7 @@ }, "iamPolicy": { "$ref": "Policy", - "description": "A representation of the Cloud IAM policy set on a Google Cloud resource. There can be a maximum of one Cloud IAM policy set on any given resource. In addition, Cloud IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." + "description": "A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information." }, "name": { "description": "The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", @@ -2306,7 +2306,7 @@ "type": "object" }, "GoogleCloudAssetV1p7beta1RelatedAsset": { - "description": "An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "description": "An asset identify in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", "id": "GoogleCloudAssetV1p7beta1RelatedAsset", "properties": { "ancestors": { @@ -2393,7 +2393,7 @@ "type": "string" }, "parent": { - "description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", + "description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", "type": "string" }, "resourceUrl": { @@ -2858,7 +2858,7 @@ "type": "string" }, "resource": { - "description": "A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format: `projects/{project_number}` The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.", + "description": "A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.", "type": "string" } }, @@ -3006,7 +3006,7 @@ "type": "array" }, "resources": { - "description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: `projects/{project_number}`", + "description": "A list of Google Cloud resources that are inside of the service perimeter. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.", "items": { "type": "string" }, @@ -3140,7 +3140,7 @@ }, "iamBinding": { "$ref": "Binding", - "description": "The Cloud IAM policy binding under analysis." + "description": "The IAM policy binding under analysis." }, "identityList": { "$ref": "GoogleCloudAssetV1IdentityList", @@ -3230,7 +3230,7 @@ "description": "The IAM policy directly set on the given resource. Note that the original IAM policy can contain multiple bindings. This only contains the bindings that match the given query. For queries that don't contain a constrain on policies (e.g., an empty query), this contains all the bindings. To search against the `policy` bindings: * use a field query: - query by the policy contained members. Example: `policy:amy@gmail.com` - query by the policy contained roles. Example: `policy:roles/compute.admin` - query by the policy contained roles' included permissions. Example: `policy.role.permissions:compute.instances.create`" }, "project": { - "description": "The project that the associated GCP resource belongs to, in the form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM instance, Cloud Storage bucket), the project field will indicate the project that contains the resource. If an IAM policy is set on a folder or orgnization, this field will be empty. To search against the `project`: * specify the `scope` field as this project in your search request.", + "description": "The project that the associated Google Cloud resource belongs to, in the form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM instance, Cloud Storage bucket), the project field will indicate the project that contains the resource. If an IAM policy is set on a folder or orgnization, this field will be empty. To search against the `project`: * specify the `scope` field as this project in your search request.", "type": "string" }, "resource": { @@ -3398,7 +3398,7 @@ "description": "Analysis result of moving the target resource." }, "displayName": { - "description": "The user friendly display name of the analysis. E.g. IAM, Organization Policy etc.", + "description": "The user friendly display name of the analysis. E.g. IAM, organization policy etc.", "type": "string" }, "error": { @@ -3480,7 +3480,7 @@ "id": "Options", "properties": { "analyzeServiceAccountImpersonation": { - "description": "Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning rpc instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a GCP folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the GCP folder F, then user A potentially has access to the GCP folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.", + "description": "Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.", "type": "boolean" }, "expandGroups": { @@ -3488,7 +3488,7 @@ "type": "boolean" }, "expandResources": { - "description": "Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a GCP folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resource cannot be used together with this option. For example, if the request analyzes for which users have permission P on a GCP project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.", + "description": "Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a Google Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resources cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.", "type": "boolean" }, "expandRoles": { @@ -3756,7 +3756,7 @@ "properties": { "iamPolicyAnalysisQuery": { "$ref": "IamPolicyAnalysisQuery", - "description": "An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy rpc or the AssetService.AnalyzeIamPolicyLongrunning rpc." + "description": "An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC." } }, "type": "object" @@ -3793,7 +3793,7 @@ "type": "object" }, "RelatedAsset": { - "description": "An asset identifier in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", + "description": "An asset identifier in Google Cloud which contains its name, type and ancestors. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", "id": "RelatedAsset", "properties": { "ancestors": { @@ -3913,7 +3913,7 @@ "type": "string" }, "parent": { - "description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", + "description": "The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.", "type": "string" }, "resourceUrl": { @@ -3936,7 +3936,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone. This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding GCP service (e.g., Compute Engine). see [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included. You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the GCP service updates to a new incompatible API version. To search against the `additional_attributes`: * Use a free text query to match the attributes values. Example: to search `additional_attributes = { dnsName: \"foobar\" }`, you can issue a query `foobar`.", + "description": "The additional searchable attributes of this resource. The attributes may vary from one resource type to another. Examples: `projectId` for Project, `dnsName` for DNS ManagedZone. This field contains a subset of the resource metadata fields that are returned by the List or Get APIs provided by the corresponding Google Cloud service (e.g., Compute Engine). see [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) to see which fields are included. You can search values of these fields through free text search. However, you should not consume the field programically as the field names and values may change as the Google Cloud service updates to a new incompatible API version. To search against the `additional_attributes`: * Use a free text query to match the attributes values. Example: to search `additional_attributes = { dnsName: \"foobar\" }`, you can issue a query `foobar`.", "type": "object" }, "assetType": { @@ -3971,7 +3971,7 @@ "type": "array" }, "kmsKey": { - "description": "The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field only presents for the purpose of backward compatibility. Please use the `kms_keys` field to retrieve KMS key information. This field is available only when the resource's Protobuf contains it and will only be populated for [these resource types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field) for backward compatible purposes. To search against the `kms_key`: * Use a field query. Example: `kmsKey:key` * Use a free text query. Example: `key`", + "description": "The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field only presents for the purpose of backward compatibility. Please use the `kms_keys` field to retrieve Cloud KMS key information. This field is available only when the resource's Protobuf contains it and will only be populated for [these resource types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field) for backward compatible purposes. To search against the `kms_key`: * Use a field query. Example: `kmsKey:key` * Use a free text query. Example: `key`", "type": "string" }, "kmsKeys": { @@ -3985,7 +3985,7 @@ "additionalProperties": { "type": "string" }, - "description": "Labels associated with this resource. See [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * Use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * Use a free text query. Example: `prod`", + "description": "Labels associated with this resource. See [Labelling and grouping Google Cloud resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * Use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * Use a free text query. Example: `prod`", "type": "object" }, "location": { @@ -3997,7 +3997,7 @@ "type": "string" }, "networkTags": { - "description": "Network tags associated with this resource. Like labels, network tags are a type of annotations used to group GCP resources. See [Labelling GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * Use a field query. Example: `networkTags:internal` * Use a free text query. Example: `internal`", + "description": "Network tags associated with this resource. Like labels, network tags are a type of annotations used to group Google Cloud resources. See [Labelling Google Cloud resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `network_tags`: * Use a field query. Example: `networkTags:internal` * Use a free text query. Example: `internal`", "items": { "type": "string" }, @@ -4027,7 +4027,7 @@ "type": "object" }, "state": { - "description": "The state of this resource. Different resources types have different state definitions that are mapped from various fields of different resource types. This field is available only when the resource's Protobuf contains it. Example: If the resource is an instance provided by Compute Engine, its state will include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). If the resource is a project provided by Cloud Resource Manager, its state will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS. See `lifecycleState` definition in [API Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). To search against the `state`: * Use a field query. Example: `state:RUNNING` * Use a free text query. Example: `RUNNING`", + "description": "The state of this resource. Different resources types have different state definitions that are mapped from various fields of different resource types. This field is available only when the resource's Protobuf contains it. Example: If the resource is an instance provided by Compute Engine, its state will include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). If the resource is a project provided by Resource Manager, its state will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and DELETE_IN_PROGRESS. See `lifecycleState` definition in [API Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). To search against the `state`: * Use a field query. Example: `state:RUNNING` * Use a free text query. Example: `RUNNING`", "type": "string" }, "tagKeys": { @@ -4134,7 +4134,7 @@ "type": "string" }, "results": { - "description": "A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.", + "description": "A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy.", "items": { "$ref": "IamPolicySearchResult" },
diff --git a/discovery/googleapis/cloudbilling__v1.json b/discovery/googleapis/cloudbilling__v1.json index 100c19c..1a73bef 100644 --- a/discovery/googleapis/cloudbilling__v1.json +++ b/discovery/googleapis/cloudbilling__v1.json
@@ -519,7 +519,7 @@ } } }, - "revision": "20221029", + "revision": "20221206", "rootUrl": "https://cloudbilling.googleapis.com/", "schemas": { "AggregationInfo": {
diff --git a/discovery/googleapis/cloudbuild__v1.json b/discovery/googleapis/cloudbuild__v1.json index 2f4666c..b84883a 100644 --- a/discovery/googleapis/cloudbuild__v1.json +++ b/discovery/googleapis/cloudbuild__v1.json
@@ -489,7 +489,7 @@ "type": "string" }, "name": { - "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "location": "path", "pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$", "required": true, @@ -524,7 +524,7 @@ "type": "string" }, "name": { - "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "location": "path", "pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$", "required": true, @@ -584,7 +584,7 @@ ], "parameters": { "name": { - "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "location": "path", "pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$", "required": true, @@ -1387,7 +1387,7 @@ "type": "string" }, "name": { - "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$", "required": true, @@ -1422,7 +1422,7 @@ "type": "string" }, "name": { - "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$", "required": true, @@ -1482,7 +1482,7 @@ ], "parameters": { "name": { - "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$", "required": true, @@ -1750,7 +1750,7 @@ ] }, "run": { - "description": "Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path. The POST request that does not include the location endpoint in the path can only be used when running global triggers.", + "description": "Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:run", "httpMethod": "POST", "id": "cloudbuild.projects.locations.triggers.run", @@ -2184,7 +2184,7 @@ ] }, "run": { - "description": "Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path. The POST request that does not include the location endpoint in the path can only be used when running global triggers.", + "description": "Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.", "flatPath": "v1/projects/{projectId}/triggers/{triggerId}:run", "httpMethod": "POST", "id": "cloudbuild.projects.triggers.run", @@ -2293,7 +2293,7 @@ } } }, - "revision": "20221103", + "revision": "20230102", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -2942,7 +2942,7 @@ "id": "BuildOptions", "properties": { "diskSizeGb": { - "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.", + "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error.", "format": "int64", "type": "string" }, @@ -3714,7 +3714,7 @@ "type": "string" }, "name": { - "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "type": "string" }, "peeredNetwork": { @@ -3780,7 +3780,7 @@ "id": "GitHubEventsConfig", "properties": { "enterpriseConfigResourceName": { - "description": "Optional. The resource name of the github enterprise config that should be applied to this installation. For example: \"projects/{$project_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "Optional. The resource name of the github enterprise config that should be applied to this installation. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "type": "string" }, "installationId": { @@ -4292,6 +4292,10 @@ "peeredNetwork": { "description": "Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See [Understanding network configuration options](https://cloud.google.com/build/docs/private-pools/set-up-private-pool-environment)", "type": "string" + }, + "peeredNetworkIpRange": { + "description": "Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used.", + "type": "string" } }, "type": "object"
diff --git a/discovery/googleapis/cloudchannel__v1.json b/discovery/googleapis/cloudchannel__v1.json index b5bcc6d..4d68bde 100644 --- a/discovery/googleapis/cloudchannel__v1.json +++ b/discovery/googleapis/cloudchannel__v1.json
@@ -2007,7 +2007,7 @@ } } }, - "revision": "20221204", + "revision": "20230111", "rootUrl": "https://cloudchannel.googleapis.com/", "schemas": { "GoogleCloudChannelV1ActivateEntitlementRequest": { @@ -2368,6 +2368,35 @@ }, "type": "object" }, + "GoogleCloudChannelV1ConditionalOverride": { + "description": "Specifies the override to conditionally apply.", + "id": "GoogleCloudChannelV1ConditionalOverride", + "properties": { + "adjustment": { + "$ref": "GoogleCloudChannelV1RepricingAdjustment", + "description": "Required. Information about the applied override's adjustment." + }, + "rebillingBasis": { + "description": "Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.", + "enum": [ + "REBILLING_BASIS_UNSPECIFIED", + "COST_AT_LIST", + "DIRECT_CUSTOMER_COST" + ], + "enumDescriptions": [ + "Not used.", + "Use the list cost, also known as the MSRP.", + "Pass through all discounts except the Reseller Program Discount. If this is the default cost base and no adjustments are specified, the output cost will be exactly what the customer would see if they viewed the bill in the Google Cloud Console." + ], + "type": "string" + }, + "repricingCondition": { + "$ref": "GoogleCloudChannelV1RepricingCondition", + "description": "Required. Specifies the condition which, if met, will apply the override." + } + }, + "type": "object" + }, "GoogleCloudChannelV1Constraints": { "description": "Represents the constraints for buying the Offer.", "id": "GoogleCloudChannelV1Constraints", @@ -3899,6 +3928,17 @@ }, "type": "object" }, + "GoogleCloudChannelV1RepricingCondition": { + "description": "Represents the various repricing conditions you can use for a conditional override.", + "id": "GoogleCloudChannelV1RepricingCondition", + "properties": { + "skuGroupCondition": { + "$ref": "GoogleCloudChannelV1SkuGroupCondition", + "description": "SKU Group condition for override." + } + }, + "type": "object" + }, "GoogleCloudChannelV1RepricingConfig": { "description": "Configuration for repricing a Google bill over a period of time.", "id": "GoogleCloudChannelV1RepricingConfig", @@ -3911,6 +3951,13 @@ "$ref": "GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity", "description": "Applies the repricing configuration at the channel partner level. This is the only supported value for ChannelPartnerRepricingConfig." }, + "conditionalOverrides": { + "description": "The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.", + "items": { + "$ref": "GoogleCloudChannelV1ConditionalOverride" + }, + "type": "array" + }, "effectiveInvoiceMonth": { "$ref": "GoogleTypeDate", "description": "Required. The YearMonth when these adjustments activate. The Day field needs to be \"0\" since we only accept YearMonth repricing boundaries." @@ -4020,6 +4067,17 @@ }, "type": "object" }, + "GoogleCloudChannelV1SkuGroupCondition": { + "description": "A condition that applies the override if a line item SKU is found in the SKU group.", + "id": "GoogleCloudChannelV1SkuGroupCondition", + "properties": { + "skuGroup": { + "description": "Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: \"accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041\".", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudChannelV1StartPaidServiceRequest": { "description": "Request message for CloudChannelService.StartPaidService.", "id": "GoogleCloudChannelV1StartPaidServiceRequest",
diff --git a/discovery/googleapis/clouddebugger__v2.json b/discovery/googleapis/clouddebugger__v2.json index f2111aa..a80585a 100644 --- a/discovery/googleapis/clouddebugger__v2.json +++ b/discovery/googleapis/clouddebugger__v2.json
@@ -446,7 +446,7 @@ } } }, - "revision": "20221111", + "revision": "20230106", "rootUrl": "https://clouddebugger.googleapis.com/", "schemas": { "AliasContext": {
diff --git a/discovery/googleapis/clouddeploy__v1.json b/discovery/googleapis/clouddeploy__v1.json index d73df6c..1568dfb 100644 --- a/discovery/googleapis/clouddeploy__v1.json +++ b/discovery/googleapis/clouddeploy__v1.json
@@ -1332,7 +1332,7 @@ } } }, - "revision": "20221110", + "revision": "20230105", "rootUrl": "https://clouddeploy.googleapis.com/", "schemas": { "AbandonReleaseRequest": { @@ -1507,8 +1507,7 @@ "id": "Config", "properties": { "defaultSkaffoldVersion": { - "description": "Output only. Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version.", - "readOnly": true, + "description": "Default Skaffold version that is assigned when a Release is created without specifying a Skaffold version.", "type": "string" }, "name": { @@ -1516,11 +1515,10 @@ "type": "string" }, "supportedVersions": { - "description": "Output only. All supported versions of Skaffold.", + "description": "All supported versions of Skaffold.", "items": { "$ref": "SkaffoldVersion" }, - "readOnly": true, "type": "array" } }, @@ -1676,13 +1674,15 @@ "FAILURE_CAUSE_UNSPECIFIED", "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", - "DEADLINE_EXCEEDED" + "DEADLINE_EXCEEDED", + "CLOUD_BUILD_REQUEST_FAILED" ], "enumDescriptions": [ "No reason for failure is specified.", "Cloud Build is not available, either because it is not enabled or because Google Cloud Deploy has insufficient permissions. See [Required permission](/deploy/docs/cloud-deploy-service-account#required_permissions).", "The deploy operation did not complete successfully; check Cloud Build logs.", - "The deploy build did not complete within the alloted time." + "The deploy build did not complete within the alloted time.", + "Cloud Build failed to fulfill Google Cloud Deploy's request. See failure_message for additional details." ], "readOnly": true, "type": "string" @@ -2329,7 +2329,11 @@ }, "targetsPresentCondition": { "$ref": "TargetsPresentCondition", - "description": "Detalis around targets enumerated in the pipeline." + "description": "Details around targets enumerated in the pipeline." + }, + "targetsTypeCondition": { + "$ref": "TargetsTypeCondition", + "description": "Details on the whether the targets enumerated in the pipeline are of the same type." } }, "type": "object" @@ -2648,7 +2652,8 @@ "DEADLINE_EXCEEDED", "RELEASE_FAILED", "RELEASE_ABANDONED", - "VERIFICATION_CONFIG_NOT_FOUND" + "VERIFICATION_CONFIG_NOT_FOUND", + "CLOUD_BUILD_REQUEST_FAILED" ], "enumDescriptions": [ "No reason for failure is specified.", @@ -2657,7 +2662,8 @@ "Deployment did not complete within the alloted time.", "Release is in a failed state.", "Release is abandoned.", - "No skaffold verify configuration was found." + "No skaffold verify configuration was found.", + "Cloud Build failed to fulfill Google Cloud Deploy's request. See failure_message for additional details." ], "readOnly": true, "type": "string" @@ -3048,12 +3054,14 @@ "enum": [ "FAILURE_CAUSE_UNSPECIFIED", "CLOUD_BUILD_UNAVAILABLE", - "EXECUTION_FAILED" + "EXECUTION_FAILED", + "CLOUD_BUILD_REQUEST_FAILED" ], "enumDescriptions": [ "No reason for failure is specified.", "Cloud Build is not available, either because it is not enabled or because Google Cloud Deploy has insufficient permissions. See [required permission](/deploy/docs/cloud-deploy-service-account#required_permissions).", - "The render operation did not complete successfully; check Cloud Build logs." + "The render operation did not complete successfully; check Cloud Build logs.", + "Cloud Build failed to fulfill Google Cloud Deploy's request. See failure_message for additional details." ], "readOnly": true, "type": "string" @@ -3093,7 +3101,7 @@ "id": "TargetsPresentCondition", "properties": { "missingTargets": { - "description": "The list of Target names that are missing. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.", + "description": "The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.", "items": { "type": "string" }, @@ -3111,6 +3119,21 @@ }, "type": "object" }, + "TargetsTypeCondition": { + "description": "TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type.", + "id": "TargetsTypeCondition", + "properties": { + "errorDetails": { + "description": "Human readable error message.", + "type": "string" + }, + "status": { + "description": "True if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.", + "type": "boolean" + } + }, + "type": "object" + }, "TestIamPermissionsRequest": { "description": "Request message for `TestIamPermissions` method.", "id": "TestIamPermissionsRequest", @@ -3171,14 +3194,16 @@ "CLOUD_BUILD_UNAVAILABLE", "EXECUTION_FAILED", "DEADLINE_EXCEEDED", - "VERIFICATION_CONFIG_NOT_FOUND" + "VERIFICATION_CONFIG_NOT_FOUND", + "CLOUD_BUILD_REQUEST_FAILED" ], "enumDescriptions": [ "No reason for failure is specified.", "Cloud Build is not available, either because it is not enabled or because Google Cloud Deploy has insufficient permissions. See [required permission](/deploy/docs/cloud-deploy-service-account#required_permissions).", "The verify operation did not complete successfully; check Cloud Build logs.", "The verify build did not complete within the alloted time.", - "No Skaffold verify configuration was found." + "No Skaffold verify configuration was found.", + "Cloud Build failed to fulfill Google Cloud Deploy's request. See failure_message for additional details." ], "readOnly": true, "type": "string"
diff --git a/discovery/googleapis/cloudfunctions__v1.json b/discovery/googleapis/cloudfunctions__v1.json index e2b96e4..c6fa950 100644 --- a/discovery/googleapis/cloudfunctions__v1.json +++ b/discovery/googleapis/cloudfunctions__v1.json
@@ -544,7 +544,7 @@ } } }, - "revision": "20221129", + "revision": "20230105", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": {
diff --git a/discovery/googleapis/cloudfunctions__v2.json b/discovery/googleapis/cloudfunctions__v2.json index b8b10a2..e62cda0 100644 --- a/discovery/googleapis/cloudfunctions__v2.json +++ b/discovery/googleapis/cloudfunctions__v2.json
@@ -569,7 +569,7 @@ } } }, - "revision": "20221129", + "revision": "20230105", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -812,7 +812,7 @@ "type": "string" }, "environment": { - "description": "Describe whether the function is gen1 or gen2.", + "description": "Describe whether the function is 1st Gen or 2nd Gen.", "enum": [ "ENVIRONMENT_UNSPECIFIED", "GEN_1",
diff --git a/discovery/googleapis/cloudidentity__v1.json b/discovery/googleapis/cloudidentity__v1.json index dfa9695..54e9d56 100644 --- a/discovery/googleapis/cloudidentity__v1.json +++ b/discovery/googleapis/cloudidentity__v1.json
@@ -1012,7 +1012,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource under which to list all `Group` resources. Must be of the form `identitysources/{identity_source}` for external- identity-mapped groups or `customers/{customer}` for Google Groups. The `customer` must begin with \"C\" (for example, 'C046psxkn').", + "description": "Required. The parent resource under which to list all `Group` resources. Must be of the form `identitysources/{identity_source}` for external- identity-mapped groups or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)", "location": "query", "type": "string" }, @@ -1124,7 +1124,7 @@ "type": "string" }, "query": { - "description": "Required. The search query. Must be specified in [Common Expression Language](https://opensource.google/projects/cel). May only contain equality operators on the parent and inclusion operators on labels (e.g., `parent == 'customers/{customer}' && 'cloudidentity.googleapis.com/groups.discussion_forum' in labels`). The `customer` must begin with \"C\" (for example, 'C046psxkn').", + "description": "Required. The search query. Must be specified in [Common Expression Language](https://opensource.google/projects/cel). May only contain equality operators on the parent and inclusion operators on labels (e.g., `parent == 'customers/{customer_id}' && 'cloudidentity.googleapis.com/groups.discussion_forum' in labels`). The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)", "location": "query", "type": "string" }, @@ -1544,7 +1544,7 @@ } } }, - "revision": "20221101", + "revision": "20230102", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "CancelUserInvitationRequest": { @@ -2395,7 +2395,7 @@ "id": "GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse", "properties": { "customer": { - "description": "The obfuscated customer Id that may be passed back to other Devices API methods such as List, Get, etc.", + "description": "The customer resource name that may be passed back to other Devices API methods such as List, Get, etc.", "type": "string" }, "names": { @@ -2529,7 +2529,7 @@ "type": "string" }, "parent": { - "description": "Required. Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source}` for external- identity-mapped groups or `customers/{customer}` for Google Groups. The `customer` must begin with \"C\" (for example, 'C046psxkn').", + "description": "Required. Immutable. The resource name of the entity under which this `Group` resides in the Cloud Identity resource hierarchy. Must be of the form `identitysources/{identity_source}` for external [identity-mapped groups](https://support.google.com/a/answer/9039510) or `customers/{customer_id}` for Google Groups. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). [Find your customer ID.] (https://support.google.com/cloudidentity/answer/10070793)", "type": "string" }, "updateTime": {
diff --git a/discovery/googleapis/cloudiot__v1.json b/discovery/googleapis/cloudiot__v1.json index e50a259..70ecebc 100644 --- a/discovery/googleapis/cloudiot__v1.json +++ b/discovery/googleapis/cloudiot__v1.json
@@ -936,7 +936,7 @@ } } }, - "revision": "20221018", + "revision": "20230102", "rootUrl": "https://cloudiot.googleapis.com/", "schemas": { "BindDeviceToGatewayRequest": {
diff --git a/discovery/googleapis/cloudkms__v1.json b/discovery/googleapis/cloudkms__v1.json index 40dc53f..e60ca17 100644 --- a/discovery/googleapis/cloudkms__v1.json +++ b/discovery/googleapis/cloudkms__v1.json
@@ -1674,7 +1674,7 @@ } } }, - "revision": "20221111", + "revision": "20230106", "rootUrl": "https://cloudkms.googleapis.com/", "schemas": { "AsymmetricDecryptRequest": {
diff --git a/discovery/googleapis/cloudprofiler__v2.json b/discovery/googleapis/cloudprofiler__v2.json index 144a5aa..ae1fd6a 100644 --- a/discovery/googleapis/cloudprofiler__v2.json +++ b/discovery/googleapis/cloudprofiler__v2.json
@@ -214,7 +214,7 @@ } } }, - "revision": "20221114", + "revision": "20230109", "rootUrl": "https://cloudprofiler.googleapis.com/", "schemas": { "CreateProfileRequest": {
diff --git a/discovery/googleapis/cloudresourcemanager__v1.json b/discovery/googleapis/cloudresourcemanager__v1.json index 9bdc5ba..f3cd661 100644 --- a/discovery/googleapis/cloudresourcemanager__v1.json +++ b/discovery/googleapis/cloudresourcemanager__v1.json
@@ -1169,7 +1169,7 @@ } } }, - "revision": "20221113", + "revision": "20230115", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "Ancestor": {
diff --git a/discovery/googleapis/cloudresourcemanager__v2.json b/discovery/googleapis/cloudresourcemanager__v2.json index 008cb34..5a63ac9 100644 --- a/discovery/googleapis/cloudresourcemanager__v2.json +++ b/discovery/googleapis/cloudresourcemanager__v2.json
@@ -448,7 +448,7 @@ } } }, - "revision": "20221113", + "revision": "20230115", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": {
diff --git a/discovery/googleapis/cloudresourcemanager__v3.json b/discovery/googleapis/cloudresourcemanager__v3.json index 1930ad9..db55bb0 100644 --- a/discovery/googleapis/cloudresourcemanager__v3.json +++ b/discovery/googleapis/cloudresourcemanager__v3.json
@@ -262,7 +262,7 @@ "type": "string" }, "parent": { - "description": "Required. The resource name of the organization or folder whose folders are being listed. Must be of the form `folders/{folder_id}` or `organizations/{org_id}`. Access to this method is controlled by checking the `resourcemanager.folders.list` permission on the `parent`.", + "description": "Required. The name of the parent resource whose folders are being listed. Only children of this parent resource are listed; descendants are not listed. If the parent is a folder, use the value `folders/{folder_id}`. If the parent is an organization, use the value `organizations/{org_id}`. Access to this method is controlled by checking the `resourcemanager.folders.list` permission on the `parent`.", "location": "query", "type": "string" }, @@ -868,7 +868,7 @@ "type": "string" }, "parent": { - "description": "Required. The name of the parent resource to list projects under. For example, setting this field to 'folders/1234' would list all projects directly under that folder.", + "description": "Required. The name of the parent resource whose projects are being listed. Only children of this parent resource are listed; descendants are not listed. If the parent is a folder, use the value `folders/{folder_id}`. If the parent is an organization, use the value `organizations/{org_id}`.", "location": "query", "type": "string" }, @@ -1536,7 +1536,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name for TagKey, parent of the TagValues to be listed, in the format `tagKeys/123`.", + "description": "Required.", "location": "query", "type": "string" } @@ -1759,7 +1759,7 @@ } } }, - "revision": "20221113", + "revision": "20230115", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -2572,7 +2572,7 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: `\"myBusinessDimension\" : \"businessValue\"`", + "description": "Optional. The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?. No more than 64 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: `\"myBusinessDimension\" : \"businessValue\"`", "type": "object" }, "name": {
diff --git a/discovery/googleapis/cloudscheduler__v1.json b/discovery/googleapis/cloudscheduler__v1.json index 36d3147..76b382d 100644 --- a/discovery/googleapis/cloudscheduler__v1.json +++ b/discovery/googleapis/cloudscheduler__v1.json
@@ -416,7 +416,7 @@ } } }, - "revision": "20221129", + "revision": "20230102", "rootUrl": "https://cloudscheduler.googleapis.com/", "schemas": { "AppEngineHttpTarget": {
diff --git a/discovery/googleapis/cloudshell__v1.json b/discovery/googleapis/cloudshell__v1.json index c52fbc8..d2e7ce1 100644 --- a/discovery/googleapis/cloudshell__v1.json +++ b/discovery/googleapis/cloudshell__v1.json
@@ -372,7 +372,7 @@ } } }, - "revision": "20221205", + "revision": "20230109", "rootUrl": "https://cloudshell.googleapis.com/", "schemas": { "AddPublicKeyMetadata": {
diff --git a/discovery/googleapis/cloudtasks__v2.json b/discovery/googleapis/cloudtasks__v2.json index d3581c9..2431ca3 100644 --- a/discovery/googleapis/cloudtasks__v2.json +++ b/discovery/googleapis/cloudtasks__v2.json
@@ -686,7 +686,7 @@ } } }, - "revision": "20221129", + "revision": "20230105", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpRequest": {
diff --git a/discovery/googleapis/cloudtrace__v2.json b/discovery/googleapis/cloudtrace__v2.json index 0dc4690..772078e 100644 --- a/discovery/googleapis/cloudtrace__v2.json +++ b/discovery/googleapis/cloudtrace__v2.json
@@ -179,7 +179,7 @@ } } }, - "revision": "20221110", + "revision": "20230105", "rootUrl": "https://cloudtrace.googleapis.com/", "schemas": { "Annotation": {
diff --git a/discovery/googleapis/composer__v1.json b/discovery/googleapis/composer__v1.json index 3dafd3a..f283355 100644 --- a/discovery/googleapis/composer__v1.json +++ b/discovery/googleapis/composer__v1.json
@@ -460,7 +460,7 @@ } } }, - "revision": "20221130", + "revision": "20230107", "rootUrl": "https://composer.googleapis.com/", "schemas": { "AllowedIpRange": {
diff --git a/discovery/googleapis/compute__v1.json b/discovery/googleapis/compute__v1.json index 16195a0..79e5cc9 100644 --- a/discovery/googleapis/compute__v1.json +++ b/discovery/googleapis/compute__v1.json
@@ -32691,7 +32691,7 @@ } } }, - "revision": "20221126", + "revision": "20221224", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -33722,6 +33722,24 @@ }, "type": "object" }, + "AllocationResourceStatus": { + "id": "AllocationResourceStatus", + "properties": { + "specificSkuAllocation": { + "$ref": "AllocationResourceStatusSpecificSKUAllocation" + } + }, + "type": "object" + }, + "AllocationResourceStatusSpecificSKUAllocation": { + "id": "AllocationResourceStatusSpecificSKUAllocation", + "properties": { + "sourceInstanceTemplateId": { + "type": "string" + } + }, + "type": "object" + }, "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk": { "id": "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk", "properties": { @@ -33800,6 +33818,10 @@ "instanceProperties": { "$ref": "AllocationSpecificSKUAllocationReservedInstanceProperties", "description": "The instance properties for the reservation." + }, + "sourceInstanceTemplate": { + "description": "Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate ", + "type": "string" } }, "type": "object" @@ -39419,7 +39441,7 @@ "id": "FirewallPolicyRule", "properties": { "action": { - "description": "The Action to perform when the client connection triggers the rule. Can currently be either \"allow\" or \"deny()\" where valid values for status are 403, 404, and 502.", + "description": "The Action to perform when the client connection triggers the rule. Valid actions are \"allow\", \"deny\" and \"goto_next\".", "type": "string" }, "description": { @@ -39805,7 +39827,7 @@ "type": "string" }, "target": { - "description": "The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. For more information, see the \"Target\" column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. ", + "description": "The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the \"Target\" column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. ", "type": "string" } }, @@ -40385,6 +40407,7 @@ "MULTI_IP_SUBNET", "SECURE_BOOT", "SEV_CAPABLE", + "SEV_SNP_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS" @@ -40397,6 +40420,7 @@ "", "", "", + "", "" ], "type": "string" @@ -45668,7 +45692,7 @@ "type": "string" }, "nocContactEmail": { - "description": "Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.", + "description": "Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation.", "type": "string" }, "operationalStatus": { @@ -50157,6 +50181,10 @@ "description": "URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default ", "type": "string" }, + "networkAttachment": { + "description": "The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.", + "type": "string" + }, "networkIP": { "description": "An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.", "type": "string" @@ -56408,12 +56436,9 @@ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, - "resourcePolicies": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.", - "type": "object" + "resourceStatus": { + "$ref": "AllocationResourceStatus", + "description": "[Output Only] Status information for Reservation resource." }, "satisfiesPzs": { "description": "[Output Only] Reserved for future use.",
diff --git a/discovery/googleapis/connectors__v1.json b/discovery/googleapis/connectors__v1.json index 0863d4d..d2404e4 100644 --- a/discovery/googleapis/connectors__v1.json +++ b/discovery/googleapis/connectors__v1.json
@@ -509,6 +509,38 @@ } }, "resources": { + "connectionSchemaMetadata": { + "methods": { + "refresh": { + "description": "Refresh runtime schema of a connection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/connectionSchemaMetadata:refresh", + "httpMethod": "POST", + "id": "connectors.projects.locations.connections.connectionSchemaMetadata.refresh", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/connectionSchemaMetadata$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:refresh", + "request": { + "$ref": "RefreshConnectionSchemaMetadataRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "runtimeActionSchemas": { "methods": { "list": { @@ -1045,7 +1077,7 @@ } } }, - "revision": "20221110", + "revision": "20230103", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -1404,7 +1436,7 @@ }, "nodeConfig": { "$ref": "NodeConfig", - "description": "Optional. Configuration for the connection." + "description": "Optional. Node configuration for the connection." }, "serviceAccount": { "description": "Optional. Service account needed for runtime plane to access GCP resources.", @@ -1569,13 +1601,15 @@ "LAUNCH_STAGE_UNSPECIFIED", "PREVIEW", "GA", - "DEPRECATED" + "DEPRECATED", + "PRIVATE_PREVIEW" ], "enumDescriptions": [ "LAUNCH_STAGE_UNSPECIFIED.", "PREVIEW.", "GA.", - "DEPRECATED." + "DEPRECATED.", + "PRIVATE_PREVIEW." ], "readOnly": true, "type": "string" @@ -1649,13 +1683,15 @@ "LAUNCH_STAGE_UNSPECIFIED", "PREVIEW", "GA", - "DEPRECATED" + "DEPRECATED", + "PRIVATE_PREVIEW" ], "enumDescriptions": [ "LAUNCH_STAGE_UNSPECIFIED.", "PREVIEW.", "GA.", - "DEPRECATED." + "DEPRECATED.", + "PRIVATE_PREVIEW." ], "readOnly": true, "type": "string" @@ -2321,7 +2357,7 @@ "type": "object" }, "NodeConfig": { - "description": "Configuration for the connection.", + "description": "Node configuration for the connection.", "id": "NodeConfig", "properties": { "maxNodeCount": { @@ -2521,13 +2557,15 @@ "LAUNCH_STAGE_UNSPECIFIED", "PREVIEW", "GA", - "DEPRECATED" + "DEPRECATED", + "PRIVATE_PREVIEW" ], "enumDescriptions": [ "LAUNCH_STAGE_UNSPECIFIED.", "PREVIEW.", "GA.", - "DEPRECATED." + "DEPRECATED.", + "PRIVATE_PREVIEW." ], "readOnly": true, "type": "string" @@ -2551,6 +2589,12 @@ }, "type": "object" }, + "RefreshConnectionSchemaMetadataRequest": { + "description": "Request message for ConnectorsService.RefreshConnectionSchemaMetadata.", + "id": "RefreshConnectionSchemaMetadataRequest", + "properties": {}, + "type": "object" + }, "Resource": { "description": "Resource definition", "id": "Resource",
diff --git a/discovery/googleapis/connectors__v2.json b/discovery/googleapis/connectors__v2.json index d8a03dd..27f4ac8 100644 --- a/discovery/googleapis/connectors__v2.json +++ b/discovery/googleapis/connectors__v2.json
@@ -476,7 +476,7 @@ } } }, - "revision": "20221110", + "revision": "20230103", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "Action": {
diff --git a/discovery/googleapis/contactcenterinsights__v1.json b/discovery/googleapis/contactcenterinsights__v1.json index 72d0fbe..9ca82ee 100644 --- a/discovery/googleapis/contactcenterinsights__v1.json +++ b/discovery/googleapis/contactcenterinsights__v1.json
@@ -1354,7 +1354,7 @@ } } }, - "revision": "20221204", + "revision": "20230112", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -3420,7 +3420,7 @@ "type": "string" }, "value": { - "description": "String with specific view properties.", + "description": "String with specific view properties, must be non-empty.", "type": "string" } },
diff --git a/discovery/googleapis/container__v1.json b/discovery/googleapis/container__v1.json index b262ead..586fb65 100644 --- a/discovery/googleapis/container__v1.json +++ b/discovery/googleapis/container__v1.json
@@ -2485,7 +2485,7 @@ } } }, - "revision": "20221108", + "revision": "20230104", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2926,6 +2926,10 @@ "description": "[Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.", "type": "string" }, + "etag": { + "description": "This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.", + "type": "string" + }, "expireTime": { "description": "[Output only] The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", "type": "string" @@ -3350,6 +3354,20 @@ "$ref": "ShieldedNodes", "description": "Configuration for Shielded Nodes." }, + "desiredStackType": { + "description": "The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.", + "enum": [ + "STACK_TYPE_UNSPECIFIED", + "IPV4", + "IPV4_IPV6" + ], + "enumDescriptions": [ + "Default value, will be defaulted as IPV4 only", + "Cluster is IPV4 only", + "Cluster can use both IPv4 and IPv6" + ], + "type": "string" + }, "desiredVerticalPodAutoscaling": { "$ref": "VerticalPodAutoscaling", "description": "Cluster-level Vertical Pod Autoscaling configuration." @@ -3357,6 +3375,10 @@ "desiredWorkloadIdentityConfig": { "$ref": "WorkloadIdentityConfig", "description": "Configuration for Workload Identity." + }, + "etag": { + "description": "The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.", + "type": "string" } }, "type": "object" @@ -3510,10 +3532,12 @@ "description": "cluster_dns_scope indicates the scope of access to cluster DNS records.", "enum": [ "DNS_SCOPE_UNSPECIFIED", + "CLUSTER_SCOPE", "VPC_SCOPE" ], "enumDescriptions": [ "Default value, will be inferred as cluster scope.", + "DNS records are accessible from within the cluster.", "DNS records are accessible from within the VPC." ], "type": "string" @@ -3589,6 +3613,18 @@ "properties": {}, "type": "object" }, + "EphemeralStorageLocalSsdConfig": { + "description": "EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSD.", + "id": "EphemeralStorageLocalSsdConfig", + "properties": { + "localSsdCount": { + "description": "Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "FastSocket": { "description": "Configuration of Fast Socket feature.", "id": "FastSocket", @@ -4118,6 +4154,18 @@ }, "type": "object" }, + "LocalNvmeSsdBlockConfig": { + "description": "LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSD.", + "id": "LocalNvmeSsdBlockConfig", + "properties": { + "localSsdCount": { + "description": "The number of raw-block local NVMe SSD disks to be attached to the node. Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "LoggingComponentConfig": { "description": "LoggingComponentConfig is cluster logging component configuration.", "id": "LoggingComponentConfig", @@ -4561,6 +4609,10 @@ "description": "Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'", "type": "string" }, + "ephemeralStorageLocalSsdConfig": { + "$ref": "EphemeralStorageLocalSsdConfig", + "description": "Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk." + }, "fastSocket": { "$ref": "FastSocket", "description": "Enable or disable NCCL fast socket for the node pool." @@ -4592,6 +4644,10 @@ "$ref": "LinuxNodeConfig", "description": "Parameters that can be configured on Linux nodes." }, + "localNvmeSsdBlockConfig": { + "$ref": "LocalNvmeSsdBlockConfig", + "description": "Parameters for using raw-block Local NVMe SSDs." + }, "localSsdCount": { "description": "The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.", "format": "int32", @@ -4672,6 +4728,10 @@ }, "type": "array" }, + "windowsNodeConfig": { + "$ref": "WindowsNodeConfig", + "description": "Parameters that can be configured on Windows nodes." + }, "workloadMetadataConfig": { "$ref": "WorkloadMetadataConfig", "description": "The workload metadata configuration for this node." @@ -4797,6 +4857,10 @@ "$ref": "NodeConfig", "description": "The node configuration of the pool." }, + "etag": { + "description": "This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.", + "type": "string" + }, "initialNodeCount": { "description": "The initial node count for the pool. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.", "format": "int32", @@ -6241,6 +6305,10 @@ "$ref": "ConfidentialNodes", "description": "Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled." }, + "etag": { + "description": "The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.", + "type": "string" + }, "fastSocket": { "$ref": "FastSocket", "description": "Enable or disable NCCL fast socket for the node pool." @@ -6316,6 +6384,10 @@ "$ref": "UpgradeSettings", "description": "Upgrade settings control disruption and speed of the upgrade." }, + "windowsNodeConfig": { + "$ref": "WindowsNodeConfig", + "description": "Parameters that can be configured on Windows nodes." + }, "workloadMetadataConfig": { "$ref": "WorkloadMetadataConfig", "description": "The desired workload metadata config for the node pool." @@ -6522,6 +6594,27 @@ }, "type": "object" }, + "WindowsNodeConfig": { + "description": "Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings", + "id": "WindowsNodeConfig", + "properties": { + "osVersion": { + "description": "OSVersion specifies the Windows node config to be used on the node", + "enum": [ + "OS_VERSION_UNSPECIFIED", + "OS_VERSION_LTSC2019", + "OS_VERSION_LTSC2022" + ], + "enumDescriptions": [ + "When OSVersion is not specified", + "LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image", + "LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image" + ], + "type": "string" + } + }, + "type": "object" + }, "WorkloadIdentityConfig": { "description": "Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.", "id": "WorkloadIdentityConfig",
diff --git a/discovery/googleapis/containeranalysis__v1.json b/discovery/googleapis/containeranalysis__v1.json index 1b4a64b..4e81294 100644 --- a/discovery/googleapis/containeranalysis__v1.json +++ b/discovery/googleapis/containeranalysis__v1.json
@@ -753,7 +753,7 @@ } } }, - "revision": "20221112", + "revision": "20230106", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": {
diff --git a/discovery/googleapis/content__v2.1.json b/discovery/googleapis/content__v2.1.json index ed3ba73..413333f 100644 --- a/discovery/googleapis/content__v2.1.json +++ b/discovery/googleapis/content__v2.1.json
@@ -5951,7 +5951,7 @@ } } }, - "revision": "20221201", + "revision": "20230112", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -5964,7 +5964,7 @@ "type": "string" }, "adsLinks": { - "description": "Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.", + "description": "Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.", "items": { "$ref": "AccountAdsLink" }, @@ -12736,7 +12736,7 @@ "type": "object" }, "Product": { - "description": " Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.", + "description": " Required product attributes are primarily defined by the product data specification. See the Product Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect.", "id": "Product", "properties": { "additionalImageLinks": { @@ -12934,6 +12934,13 @@ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#product`\"", "type": "string" }, + "lifestyleImageLinks": { + "description": "Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.", + "items": { + "type": "string" + }, + "type": "array" + }, "link": { "description": "URL directly linking to your item's page on your website.", "type": "string" @@ -13032,7 +13039,7 @@ "description": "The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." }, "productTypes": { - "description": "Categories of the item (formatted as in products data specification).", + "description": "Categories of the item (formatted as in product data specification).", "items": { "type": "string" }, @@ -13058,7 +13065,7 @@ "description": "Advertised sale price of the item." }, "salePriceEffectiveDate": { - "description": "Date range during which the item is on sale (see products data specification ).", + "description": "Date range during which the item is on sale (see product data specification ).", "type": "string" }, "sellOnGoogleQuantity": { @@ -13365,7 +13372,7 @@ "type": "string" }, "locationId": { - "description": "The numeric ID of a location that the shipping rate applies to as defined in the AdWords API.", + "description": "The numeric ID of a location that the shipping rate applies to as defined in the Google Ads API.", "format": "int64", "type": "string" }, @@ -13594,7 +13601,7 @@ "type": "string" }, "locationId": { - "description": "The numeric ID of a location that the tax rate applies to as defined in the AdWords API.", + "description": "The numeric ID of a location that the tax rate applies to as defined in the Google Ads API.", "format": "int64", "type": "string" }, @@ -14347,6 +14354,11 @@ "description": "Required. The user provided promotion ID to uniquely identify the promotion.", "type": "string" }, + "promotionStatus": { + "$ref": "PromotionPromotionStatus", + "description": "Output only. The current status of the promotion.", + "readOnly": true + }, "promotionUrl": { "description": "URL to the page on the merchant's site where the promotion shows. Local Inventory ads promotions throw an error if no promo url is included. URL is used to confirm that the promotion is valid and can be redeemed.", "type": "string" @@ -14410,6 +14422,83 @@ }, "type": "object" }, + "PromotionPromotionStatus": { + "description": "The status of the promotion.", + "id": "PromotionPromotionStatus", + "properties": { + "creationDate": { + "description": "Date on which the promotion has been created in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example \"2020-01-02T09:00:00+01:00\" or \"2020-01-02T09:00:00Z\"", + "type": "string" + }, + "destinationStatuses": { + "description": "The intended destinations for the promotion.", + "items": { + "$ref": "PromotionPromotionStatusDestinationStatus" + }, + "type": "array" + }, + "lastUpdateDate": { + "description": "Date on which the promotion status has been last updated in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example \"2020-01-02T09:00:00+01:00\" or \"2020-01-02T09:00:00Z\"", + "type": "string" + }, + "promotionIssue": { + "description": "A list of issues associated with the promotion.", + "items": { + "$ref": "PromotionPromotionStatusPromotionIssue" + }, + "type": "array" + } + }, + "type": "object" + }, + "PromotionPromotionStatusDestinationStatus": { + "description": "The destination status of the promotion.", + "id": "PromotionPromotionStatusDestinationStatus", + "properties": { + "destination": { + "description": "The name of the destination.", + "type": "string" + }, + "status": { + "description": "The status for the specified destination.", + "enum": [ + "STATE_UNSPECIFIED", + "IN_REVIEW", + "REJECTED", + "LIVE", + "STOPPED", + "EXPIRED", + "PENDING" + ], + "enumDescriptions": [ + "Unknown promotion state.", + "The promotion is under review.", + "The promotion is disapproved", + "The promotion is approved and active.", + "The promotion is stopped by merchant.", + "The promotion is no longer active.", + "The promotion is not stopped, and all reviews are approved, but the active date is in the future." + ], + "type": "string" + } + }, + "type": "object" + }, + "PromotionPromotionStatusPromotionIssue": { + "description": "The issue associated with the promotion.", + "id": "PromotionPromotionStatusPromotionIssue", + "properties": { + "code": { + "description": "Code of the issue.", + "type": "string" + }, + "detail": { + "description": "Explanation of the issue.", + "type": "string" + } + }, + "type": "object" + }, "PubsubNotificationSettings": { "description": "Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account.", "id": "PubsubNotificationSettings", @@ -14815,7 +14904,7 @@ "type": "object" }, "RepricingRule": { - "description": "Represents a repricing rule. A repricing rule is used by shopping serving to adjust transactable offer prices if conditions are met. Next ID: 24", + "description": "Represents a repricing rule. A repricing rule is used by shopping serving to adjust transactable offer prices if conditions are met.", "id": "RepricingRule", "properties": { "cogsBasedRule": {
diff --git a/discovery/googleapis/contentwarehouse__v1.json b/discovery/googleapis/contentwarehouse__v1.json index 1b10291..c3e9986 100644 --- a/discovery/googleapis/contentwarehouse__v1.json +++ b/discovery/googleapis/contentwarehouse__v1.json
@@ -134,7 +134,7 @@ ] }, "setAcl": { - "description": "Sets the access control policy for a resource. Replaces any existing policy.", + "description": "Sets the access control policy for a resource. Replaces any existing policy. You can set ACL with condition for projects only. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is `DocumentSchemaId` or property name and the right of the operator is a number or a quoted string. You must escape backslash (\\\\) and quote (\\\") characters. Boolean expressions (AND/OR) are supported up to 3 levels of nesting (for example, \"((A AND B AND C) OR D) AND E\"), a maximum of 10 comparisons are allowed in the expression. The expression must be < 6000 bytes in length. Sample condition: `\"DocumentSchemaId = \\\"some schema id\\\" \" OR SchemaId.floatPropertyName >= 10`", "flatPath": "v1/projects/{projectsId}:setAcl", "httpMethod": "POST", "id": "contentwarehouse.projects.setAcl", @@ -568,7 +568,7 @@ ] }, "setAcl": { - "description": "Sets the access control policy for a resource. Replaces any existing policy.", + "description": "Sets the access control policy for a resource. Replaces any existing policy. You can set ACL with condition for projects only. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is `DocumentSchemaId` or property name and the right of the operator is a number or a quoted string. You must escape backslash (\\\\) and quote (\\\") characters. Boolean expressions (AND/OR) are supported up to 3 levels of nesting (for example, \"((A AND B AND C) OR D) AND E\"), a maximum of 10 comparisons are allowed in the expression. The expression must be < 6000 bytes in length. Sample condition: `\"DocumentSchemaId = \\\"some schema id\\\" \" OR SchemaId.floatPropertyName >= 10`", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/documents/{documentsId}:setAcl", "httpMethod": "POST", "id": "contentwarehouse.projects.locations.documents.setAcl", @@ -747,6 +747,35 @@ } } }, + "operations": { + "methods": { + "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": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "contentwarehouse.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "ruleSets": { "methods": { "create": { @@ -1044,7 +1073,7 @@ } } }, - "revision": "20221110", + "revision": "20230106", "rootUrl": "https://contentwarehouse.googleapis.com/", "schemas": { "AbuseiamAbuseType": { @@ -3492,7 +3521,18 @@ "VOICE_WEB_AFFINITY", "SKILLSSTACK_AFFINITY", "WHOSTORY_AFFINITY", - "PHOTOS_PARTNER_SHARING_EMAIL_ONLY" + "PHOTOS_PARTNER_SHARING_EMAIL_ONLY", + "MEMORIZE_AFFINITY", + "BETTANY_AFFINITY", + "BASECAMP_AFFINITY", + "DRIVE_SEARCH_FILTER_AFFINITY", + "CULTURE_EVENTS_CALENDAR_AFFINITY", + "DATABRIDGE_CONSOLE_AFFINITY", + "COMMSTAR_AFFINITY", + "CDDB_AFFINITY", + "DATA_STUDIO_SPACES_AFFINITY", + "SOJI_AFFINITY", + "PLAY_MOVIES_ANDROID_AFFINITY" ], "enumDescriptions": [ "", @@ -3722,6 +3762,17 @@ "", "", "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", "" ], "type": "string" @@ -4218,6 +4269,32 @@ }, "type": "object" }, + "AppsPeopleOzExternalMergedpeopleapiContactCreateContextInfo": { + "description": "Contact creation timestamps and related metadata. See go/contact-edit-history. This message is a pure wrapper of the shared ContactCreactionContext message so that it can be a top-level person field. No other fields should be added to the message.", + "id": "AppsPeopleOzExternalMergedpeopleapiContactCreateContextInfo", + "properties": { + "contactCreateContext": { + "$ref": "SocialGraphApiProtoContactCreateContext" + }, + "metadata": { + "$ref": "AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata" + } + }, + "type": "object" + }, + "AppsPeopleOzExternalMergedpeopleapiContactEditContextInfo": { + "description": "Contact edit timestamps and related metadata. See go/contact-edit-history. This message is a pure wrapper of the shared ContactCreactionContext message so that it can be a top-level person field. No other fields should be added to the message.", + "id": "AppsPeopleOzExternalMergedpeopleapiContactEditContextInfo", + "properties": { + "contactEditContext": { + "$ref": "SocialGraphApiProtoContactEditContext" + }, + "metadata": { + "$ref": "AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata" + } + }, + "type": "object" + }, "AppsPeopleOzExternalMergedpeopleapiContactGroupMembership": { "description": "A membership that the person has. The person can be a member of multiple circles and multiple contact-groups. A circle membership is created by adding a person to a circle by person-id or by email. A contact-group membership is created by adding a contact to a contact-group.", "id": "AppsPeopleOzExternalMergedpeopleapiContactGroupMembership", @@ -6306,6 +6383,18 @@ }, "type": "array" }, + "contactCreateContextInfo": { + "items": { + "$ref": "AppsPeopleOzExternalMergedpeopleapiContactCreateContextInfo" + }, + "type": "array" + }, + "contactEditContextInfo": { + "items": { + "$ref": "AppsPeopleOzExternalMergedpeopleapiContactEditContextInfo" + }, + "type": "array" + }, "contactGroupMembership": { "description": "Contact groups that this person is a member of.", "items": { @@ -6579,6 +6668,7 @@ "type": "array" }, "relation": { + "description": "See go/relation-vs-relationship for relation vs relationship explanation.", "items": { "$ref": "AppsPeopleOzExternalMergedpeopleapiRelation" }, @@ -8011,7 +8101,7 @@ "type": "object" }, "AppsPeopleOzExternalMergedpeopleapiRelation": { - "description": "Relation stores the related person between the contact or profile and a third person This field currently includes RelationshipToMe data in fields value and canonical_value for ContainerType CONTACT_ANNOTATION. This will be moved to RelationshipToMe in b/221081499.", + "description": "Relation stores the related person between the contact or profile and a third person. See go/relation-vs-relationship for relation vs relationship explanation. This field currently includes RelationshipToMe data in fields value and canonical_value for ContainerType CONTACT_ANNOTATION. This will be moved to RelationshipToMe in b/221081499.", "id": "AppsPeopleOzExternalMergedpeopleapiRelation", "properties": { "canonicalValue": { @@ -9287,6 +9377,7 @@ "APP_DATA_USAGE", "APP_DETAILS", "APP_SHORTCUT", + "APPS_NOTIFICATIONS", "APPS_STORAGE", "ASSISTANT_ACCOUNT", "ASSISTANT_FACE_MATCH", @@ -9300,6 +9391,7 @@ "BATTERY_PERCENTAGE", "BATTERY_PRESENT", "BATTERY_SAVER", + "BATTERY_SAVER_SCHEDULE", "BATTERY_SHARE", "BATTERY_USAGE", "BIOMETRIC", @@ -9313,6 +9405,8 @@ "CAMERA_DOUBLE_TWIST", "CAST", "COLOR_INVERSION", + "COLOR_CORRECTION", + "CONVERSATIONS", "CHARGING_SOUNDS_AND_VIBRATION", "CHARGING_STATE", "CONNECTED_DEVICES", @@ -9324,6 +9418,8 @@ "DATA_LIMIT_LEVEL", "DATA_WARNING", "DATA_WARNING_LEVEL", + "DEFAULT_ALARM_SOUND", + "DEFAULT_NOTIFICATION_SOUND", "DEFAULT_APPS", "DEVELOPER_OPTIONS", "DEVICE_NAME", @@ -9340,13 +9436,17 @@ "EMERGENCY_ALERTS", "EMERGENCY_INFORMATION", "ETHERNET_TETHERING", + "EXTRA_DIM", + "EXTREME_BATTERY_SAVER", "FACTORY_RESET", + "FIND_MY_DEVICE", "FLASHLIGHT", "FOCUS_MODE", "FONT_SIZE", "FREE_UP_SPACE", "GESTURES", "HAPTIC_FEEDBACK_VIBRATION", + "HARD_KEYBOARD", "HEADS_UP", "HIGH_REFRESH_RATE", "HOT_SPOT", @@ -9358,6 +9458,7 @@ "KEYBOARD_SHORTCUTS", "LIFT_CHECK_PHONE", "LOCATION", + "LOCATION_HISTORY", "LOCATION_BLUETOOTH_SCANNING", "LOCATION_WIFI_SCANNING", "LOCK_SCREEN", @@ -9371,6 +9472,7 @@ "MANIFY_TRIPLE_TAP", "MEDIA", "MEDIA_VOLUME", + "MICROPHONE_ACCESS", "MOBILE", "MOBILE_DATA", "MUSIC", @@ -9384,11 +9486,15 @@ "NOTIFICATION_BADGE", "NOTIFICATION_SOUND", "NOTIFICATION_ON_SCREEN", + "NOTIFICATION_HISTORY", "NOTIFY_FOR_PUBLIC_NETWORKS", "ONEHANDED_MODE", + "OS_VERSION", "PASSWORD", "PERMISSION_MANAGER", + "PERMISSION_USAGE", "PERSONALIZATION", + "PRINTING", "PHONE_NUMBER", "PICTURE_IN_PICTURE", "POINTER_SPEED", @@ -9402,16 +9508,21 @@ "SCREEN_LOCKING_SOUND", "SCREEN_MAGNIFICATION", "SCREEN_TIMEOUT", + "SCREEN_LOCK", + "SCREEN_SAVER", "SELECT_TO_SPEAK", "SET_TIME_AUTOMATICALLY", "SET_TIME_ZONE_AUTOMATICALLY", "SETTINGS", "SIM", + "SIM_MANAGER", "SPEECH_RATE", "STORAGE_USAGE", "SWIPE_FOR_NOTIFICATION", "SWITCH_ACCESS", "SYSTEM_UPDATE", + "SYSTEM_UPDATES", + "SYSTEM_NAVIGATION", "TALKBACK_PASSWORDS", "TEXT_TO_SPEECH", "TIME_ZONE", @@ -9420,6 +9531,7 @@ "USB_TETHERING", "VERBOSE_TTS", "VIBRATE", + "VIBRATION", "VIBRATION_MODE", "VOICE", "VOLUME_LEVEL", @@ -9496,6 +9608,8 @@ "", "", "", + "Deprecated, use DEFAULT_ALARM_SOUND instead.", + "", "", "", "", @@ -9537,6 +9651,8 @@ "", "", "", + "", + "", "Cellular carrier (non-wifi) data usage statistics & settings for the device.", "Toggle to enable data use limit", "The mobile data use after which mobile data is automatically disabled.", @@ -9553,11 +9669,14 @@ "", "", "", + "", + "", "Special mode for using device hands-free while driving.", "Main emergency settings", "", "", "", + "Makes screen extra dark.", "", "", "", @@ -9565,10 +9684,13 @@ "", "", "", + "A page for device gestures", + "Deprecated, use VIBRATION instead.", "", "", "", - "", + "Toggle for internet sharing via WiFi.", + "Common settings page for internet sharing via various means.", "", "Show my IP address", "", @@ -9579,6 +9701,7 @@ "", "", "", + "Settings page for what is visible on the lock screen.", "", "", "Show my MAC address", @@ -9589,6 +9712,7 @@ "", "", "", + "Microphone Access is a toggleable setting that controls if Microphone usage is allowed at the system level or not. It is not the per-App Microphone permission page. https://screenshot.googleplex.com/4hrskftPSur7hHh", "Wireless internet settings, including WiFi, Cellular, etc.", "Setting to enable/disable cellular data connection being used on the device. https://screenshot.googleplex.com/jMSRtW3Aq4o", "", @@ -9600,6 +9724,15 @@ "", "", "", + "Deprecated, use DEFAULT_NOTIFICATION_SOUND instead.", + "", + "", + "", + "", + "", + "Password manager", + "Shows permissions and allows add/remove allowed apps.", + "Shows usage of each permission by app.", "", "", "", @@ -9615,6 +9748,31 @@ "", "", "", + "Settings page for screen locking security methods.", + "", + "", + "", + "", + "", + "Currently active/primary SIM.", + "", + "", + "", + "", + "", + "Deprecated, use SYSTEM_UPDATES instead.", + "", + "Settings page for configuring how navigation between apps is done. Specifically android has choice between Buttons of Gestures mode.", + "", + "", + "", + "", + "", + "", + "", + "Deprecated, use VIBRATION instead.", + "Vibration master toggle - controls all vibration functions. Corresponds to \"Vibration & haptics\" toggle in the Android settings app.", + "Controls whether the ringer mode will be silent or will vibrate. Details in https://developer.android.com/reference/android/media/AudioManager#RINGER_MODE_VIBRATE Different from VIBRATION from above.", "", "", "", @@ -9624,31 +9782,7 @@ "", "", "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "Corresponds to \"Vibration & haptics\" toggle in the settings app. Reference: http://shortn/_wE1WCid2aM", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", + "Duplicate, use HOT_SPOT instead", "Begin of NGA proto consistence", "", "", @@ -9664,7 +9798,7 @@ "", "", "", - "", + "Duplicate, use NIGHT_MODE instead", "", "", "", @@ -12105,7 +12239,7 @@ "id": "AssistantApiLensPerceptionCapabilitiesLensCapabilitiesTranslate", "properties": { "supportedLanguageTags": { - "description": "The list of language IETF BCP 47 tags that are supported. See the full list at go/androidlanguages.", + "description": "The list of language IETF BCP 47 tags that are supported. See the full details in the comment on the equivalent field in: http://google3/java/com/google/android/apps/gsa/search/shared/service/proto/lens_service_event.proto;l=55;rcl=355512559", "items": { "type": "string" }, @@ -12228,9 +12362,14 @@ "type": "object" }, "AssistantApiLoggingOnlyData": { - "description": "Data which is produced for logging and debugging. Servers MUST NOT use this for any other purposes, such as branching on it. Next ID: 14", + "description": "Data which is produced for logging and debugging. Servers MUST NOT use this for any other purposes, such as branching on it. Next ID: 15", "id": "AssistantApiLoggingOnlyData", "properties": { + "accountIndex": { + "description": "The index of the account on the device. Useful when there are multiple accounts on a device such as distinguishing primary user data from secondary users. There is no guarantee that this is a stable number but is relatively stable in practice.", + "format": "int32", + "type": "integer" + }, "acpVersion": { "description": "A user-readable string describing the ACP version (go/acp-version) of the client app used by the user to originate the conversation.", "type": "string" @@ -12953,9 +13092,14 @@ "type": "object" }, "AssistantApiScreenCapabilities": { - "description": "These capabilities represent the tactile features associated with the device. This includes, for example, whether the device has a screen, how big the screen is, and privacy of the screen. Next ID: 10", + "description": "These capabilities represent the tactile features associated with the device. This includes, for example, whether the device has a screen, how big the screen is, and privacy of the screen. Next ID: 11", "id": "AssistantApiScreenCapabilities", "properties": { + "fontScaleFactor": { + "description": "The scale factor used to convert Scalable Pixel (SP) units to Density-independent Pixel (DP) units (DP = SP * scale factor). Fonts are measured in units of SP, and on some platforms such as Android the SP to DP scale factor can be affected by the font size a user selects in accessibility settings.", + "format": "float", + "type": "number" + }, "inputType": { "description": "The types of input that this screen supports. Note that this can be empty in which case the screen's input type is unknown.", "items": { @@ -13004,12 +13148,14 @@ "enum": [ "UNKNOWN_RENDERING_FORMAT", "CONCISE_TEXT", - "PROTO_LAYOUT" + "PROTO_LAYOUT", + "ELEMENTS" ], "enumDescriptions": [ "", "Concise Text go/concise-text-responses", - "Proto Layout, the layout for Proto Tiles go/prototiles" + "Proto Layout, the layout for Proto Tiles go/prototiles", + "Elements, the layout for xUIKit go/xuikit" ], "type": "string" }, @@ -15032,11 +15178,11 @@ "type": "boolean" }, "coloredChipBackgroundBorderSupported": { - "description": "Whether client supports suggestion chips with colored background/border.", + "description": "Whether client supports suggestion chips with colored background/border. Deprecated in favor of go/color-token-suggestion-chip.", "type": "boolean" }, "coloredChipTextSupported": { - "description": "Whether client supports suggestion chips with colored text. See design doc: http://go/opa-suggestions-ux-eng-design.", + "description": "Whether client supports suggestion chips with colored text. See design doc: http://go/opa-suggestions-ux-eng-design. Deprecated in favor of go/color-token-suggestion-chip.", "type": "boolean" }, "debugDataSupported": { @@ -15177,9 +15323,13 @@ "type": "object" }, "AssistantApiSupportedClientOpSupportedExecution": { - "description": "Additional properties that client can support for executing the client op.", + "description": "Additional properties that client can support for executing the client op. They are surface-specific execution properties and are unrelated to the execution model.", "id": "AssistantApiSupportedClientOpSupportedExecution", "properties": { + "supportsPartialFulfillment": { + "description": "ClientOp execution supports special rendering behavior while the user is in the middle of expressing their query. This behavior includes: 1) New partial output always over-writes prior partial output. 2) Canceling the interaction removes partial fulfilment from any user visible interaction history. If this is true, whether to apply the special rendering behavior will be determined by PartialFulfillmentRenderingParams. More details can be found at go/ma-natcon-pf-api.", + "type": "boolean" + }, "supportsSynchronousExecution": { "description": "Client can support synchronous execution of the client op. For tts.OUTPUT client op it means that client would honor |synchronous_playback_args| argument. Please see more at go/synchronous-sounds-design.", "type": "boolean" @@ -16651,22 +16801,22 @@ "type": "string" }, "numAlternateNameFromFuzzyContactMatch": { - "description": "Number of alternate contact names from fuzzy contact match.", + "description": "Number of alternate contact names from fuzzy contact match. (Not suggest using it since it can change due to retrieval iteration)", "format": "float", "type": "number" }, "numAlternateNamesFromS3": { - "description": "Number of alternate contact names from S3_HYPOTHESES.", + "description": "Number of alternate contact names from S3_HYPOTHESES. (Not suggest using it since it can change due to retrieval iteration)", "format": "float", "type": "number" }, "numAlternativeNamesFromInterpretation": { - "description": "Number of alternate contact names from interpretation.", + "description": "Number of alternate contact names from interpretation. (Not suggest using it since it can change due to retrieval iteration)", "format": "float", "type": "number" }, "numCandidates": { - "description": "Number of contacts populated by the contact Grounding Provider.", + "description": "Number of contacts populated by the contact Grounding Provider. (Not suggest using it since it can change due to retrieval iteration)", "format": "float", "type": "number" }, @@ -16711,9 +16861,17 @@ "type": "object" }, "AssistantGroundingRankerMediaGroundingProviderFeatures": { - "description": "Features to be passed from Media GP to HGR. Next ID: 2", + "description": "Features to be passed from Media GP to HGR. Next ID: 4", "id": "AssistantGroundingRankerMediaGroundingProviderFeatures", "properties": { + "isSeedRadio": { + "description": "True if the media deeplink has tag SEED_RADIO.", + "type": "boolean" + }, + "isSeedRadioRequest": { + "description": "True if the user requests seed radio.", + "type": "boolean" + }, "mscRate": { "description": "MSC(Media Short Click) rate. MSC rate = total number of MSC events / total number of MSC candidates The event is considered as MSC candidate if the event is a media seeking query(excluding follow-ons) and the media result is successfully fulfilled. The event is MSC event if any of the following is in the following queries within 30 secs: FOLLOWED_BY_DUPLICATE FOLLOWED_BY_ADD_OR_DELETE_MANUAL_REFINEMENT FOLLOWED_BY_SAME_VERTICAL (MEDIA) FOLLOWED_BY_STOP More details: go/media-ranking, go/billboard-navboost, go/magma-music-actions-efrac", "format": "float", @@ -17550,7 +17708,6 @@ "MOVIE", "PHOTO", "TV_SHOW_EPISODE", - "PODCAST_EPISODE", "MUSIC_GENRE", "AUDIO_BOOK", "CHAPTER", @@ -17564,7 +17721,9 @@ "TV_SHOW", "NEWS", "NARRATED_WEB", - "AUDIO_STORY" + "AUDIO_STORY", + "PODCAST_SERIES", + "PODCAST_EPISODE" ], "enumDescriptions": [ "", @@ -17586,11 +17745,12 @@ "", "", "", - "", "Representing a TV show which contains multiple TV seasons.", "", "", - "Representing a short audio story. go/tmas-design" + "Representing a short audio story. go/tmas-design", + "Represent different kinds of podcast content", + "" ], "type": "string" }, @@ -17868,7 +18028,8 @@ "CROSS_STRUCTURE_TARGETING_DISALLOWED", "NO_DEVICE_MEETS_STADIA_GAMING_CAPABILITY", "MEDIA_STATES_MISSING", - "NO_DEVICE_SATISFIES_CAPABILITIES_REQUIREMENT" + "NO_DEVICE_SATISFIES_CAPABILITIES_REQUIREMENT", + "HYBRID_DEVICE_NOT_QUALIFIED" ], "enumDescriptions": [ "Used when the type of error is not known explicitly.", @@ -17893,7 +18054,8 @@ "When user tries to target a device which is in a different structure and is not allowed. For example, if user doesn't own the structure. See go/on-multi-user-access-transitivity for more details.", "When all devices do not qualify for stadia support.", "Used when any critical media state is missing so the selection decision cannot be made. See go/partial-states-in-targeting-library for more details.", - "Error about when no qualified device satisfies the device capability requirement." + "Error about when no qualified device satisfies the device capability requirement.", + "All remote hybrid devices fail the propertries requirement specific (lock/unlock, etc) for hybrid devices (such as Tangor)." ], "type": "string" }, @@ -18489,7 +18651,7 @@ "type": "object" }, "AssistantPrefulfillmentRankerPrefulfillmentSignals": { - "description": "Signals to be used by the Prefulfillment Ranker. Derived from the ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange Next ID: 34", + "description": "Signals to be used by the Prefulfillment Ranker. Derived from the ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange Next ID: 36", "id": "AssistantPrefulfillmentRankerPrefulfillmentSignals", "properties": { "bindingSetAuis": { @@ -18497,6 +18659,11 @@ "format": "float", "type": "number" }, + "bindingSetPauis": { + "description": "Pauis score for the binding set", + "format": "float", + "type": "number" + }, "calibratedParsingScore": { "description": "A parsing score that is independently calibrated by each parser/IG.", "format": "double", @@ -18552,6 +18719,11 @@ "description": "This feature is always false / no-op in serving time. In training time, this feature may be set true on specific examples for weighted training where when this signal is true, only cross-intent level features are used for training and other candidate level features are masked (set as missing).", "type": "boolean" }, + "maxHgrScoreAcrossBindingSets": { + "description": "The maximum score assigned by the Horizontal Grounding Ranker (HGR) across all of the intent's binding sets.", + "format": "double", + "type": "number" + }, "numAlternativeHypothesis": { "description": "Number of alternative hypotheses from speech recognition(S3).", "format": "float", @@ -18996,12 +19168,14 @@ "UNDEFINED", "CURATED", "ALARM", - "CUSTOM" + "CUSTOM", + "CUSTOM_SCRIPT" ], "enumDescriptions": [ "", "", "", + "", "SCHEDULED = 3 [deprecated = true];" ], "type": "string" @@ -19154,7 +19328,7 @@ "type": "object" }, "AssistantVerticalsHomeautomationProtoHomeAutomation_MetaData": { - "description": "Next ID: 42", + "description": "Next ID: 43", "id": "AssistantVerticalsHomeautomationProtoHomeAutomation_MetaData", "properties": { "actionProjectConfigs": { @@ -19200,6 +19374,13 @@ "description": "GCM address for cloud execution across google cloud messaging rather than 3p cloud; for future use.", "type": "string" }, + "groupIds": { + "description": "List of parent group IDs, if the device is added to one or multiple device groups (see go/home-groups). Will be consumed by Smart Home APIs and (in the future) Assistant CTF to populate the group member list of device groups.", + "items": { + "type": "string" + }, + "type": "array" + }, "hashValue": { "description": "The hash value from go/de-consistency-check", "type": "string" @@ -20216,7 +20397,7 @@ "type": "object" }, "ClassifierPornSiteData": { - "description": "Next ID: 51", + "description": "Next ID: 52", "id": "ClassifierPornSiteData", "properties": { "avgPedoPageScore": { @@ -20238,6 +20419,10 @@ "format": "uint64", "type": "string" }, + "site": { + "description": "Sitechunk used to compute the signals. The field is present only for data created after December 2022.", + "type": "string" + }, "sitePornRatio": { "description": "The ratio of porn/softporn of the site this page belongs to.", "format": "float", @@ -20394,7 +20579,7 @@ "type": "object" }, "CompositeDoc": { - "description": "Protocol record used for collecting together all information about a document. Please consult go/dme for two basic questions about `CompositeDoc`: - Where should I look up certain information (e.g: pagerank, language)? - What does each field in CompositeDoc mean and who should I contact if I have questions? To add a new field into CompositeDoc, or change existing field's size significantly, please file a ticket at go/dj-new-field, fill in necessary information and get approved by docjoin-access@ team. Next id: 191", + "description": "Protocol record used for collecting together all information about a document. Please consult go/dj-explorer for two basic questions about `CompositeDoc`: - Where should I look up certain information (e.g: pagerank, language)? - What does each field in CompositeDoc mean and who should I contact if I have questions? To add a new field into CompositeDoc, or change existing field's size significantly, please file a ticket at go/dj-new-field, fill in necessary information and get approved by docjoin-access@ team. Next id: 191", "id": "CompositeDoc", "properties": { "ContentChecksum96": { @@ -22921,7 +23106,7 @@ "e.g. single family dwelling, office building.", "e.g. suite, room, hallway, cubicle.", "A terminal point represents a good location for a user to meet a taxi, ridesharing vehicle, or general driver.", - "An area controlled in some way by an authoritative source, such as a government-designated COVID containment zone. Features of this type should have one or more gcids corresponding to their specific regulation.", + "An area controlled in some way by an authoritative source, such as a government-designated COVID containment zone or an area under government sanctions. Features of this type should have one or more gcids corresponding to their specific regulation, and client handling of these features may vary based on the type of regulation.", "A grouping of TYPE_BORDER features (\"border segments\"), which together represent a border between two features of the same type.", "DEPRECATED", "A feature of completely unknown type. This should only be used when absolutely necessary. One example in which this type is useful is in the Chinese importer, which must heuristically segment addresses into components - it often does not know what types to make those components. Please note that the Oyster address formatter does not currently support address components of TYPE_UNKNOWN well." @@ -24026,7 +24211,8 @@ "VERSION_MOVING_LIVE_0", "VERSION_MOVING_MANUAL_0", "VERSION_LITE_1", - "VERSION_CUSTOM" + "VERSION_CUSTOM", + "VERSION_REJECTED" ], "enumDescriptions": [ "", @@ -24049,7 +24235,8 @@ "Moving thumbnailer version 0 for live.", "Moving thumbnail generated manually.", "Lite Thumbnailer (previously known as FirstFrameThumbnailer)", - "Custom image (not generated). Likely client provided." + "Custom image (not generated). Likely client provided.", + "A gray fallback image for images that have been rejected." ], "type": "string" }, @@ -25797,6 +25984,9 @@ }, "type": "array" }, + "classifierVersion": { + "type": "string" + }, "taxonomy": { "description": "Either taxonomy will be set, using the enum above, or taxonomy_name will be set (if the taxonomy is not one of the ones in the enum) - never both", "enum": [ @@ -27423,6 +27613,23 @@ "price": { "$ref": "GeostorePriceRangeProto", "description": "Price of the item. There should be at most one price for any given currency." + }, + "priceFormat": { + "description": "Represents which price format is being used by this item, which determines the usage/meaning of the “price” field above. Optional – the default value is legal and safe (represents no price if the “price” field is unset).", + "enum": [ + "PRICE_FORMAT_DEFAULT", + "PRICE_FORMAT_VARIES" + ], + "enumDescriptions": [ + "Default price format which uses the PriceRangeProto (set or unset) in the \"price\" field above to represent a price interval, or lack thereof.", + "Value for a price which explicitly varies, i.e. it should show as “Price may vary\" or similar. If this is the price_format, contents of the \"price\" field will be ignored." + ], + "type": "string" + }, + "rankingHint": { + "description": "Numerical score which can be provided by data sources to indicate preferred item ordering. This is purely a hint – we are not required to followed it if we have a different order we think is better. Higher scores represent items that should be shown more prominently/earlier. Optional.", + "format": "float", + "type": "number" } }, "type": "object" @@ -27814,6 +28021,9 @@ "PROVIDER_GOOGLE_GEO_LDE", "PROVIDER_GOOGLE_GEO_SIGNAL_TRACKING", "PROVIDER_GOOGLE_UGC_AGGREGATION", + "PROVIDER_GOOGLE_3D_BASEMAP", + "PROVIDER_GOOGLE_MAPFACTS_PRIVACY", + "PROVIDER_GOOGLE_GT_ALF", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -28332,7 +28542,9 @@ "PROVIDER_MASTERCARD", "PROVIDER_VATTENFALL", "PROVIDER_VIETGIS", - "PROVIDER_UNITE" + "PROVIDER_UNITE", + "PROVIDER_NEOGY", + "PROVIDER_AMPUP" ], "enumDescriptions": [ "ABSTRACT The root of all provider types. This should never be present on an actual feature, but can be useful when calling InCategory.", @@ -28349,7 +28561,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730AE", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B1", "ABSTRACT", "", "", @@ -28518,6 +28730,9 @@ "", "", "", + "", + "", + "", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -29036,7 +29251,9 @@ "", "", "", - "Note: Next available value is 0x126E." + "", + "", + "Note: Next available value is 0x1270." ], "type": "string" }, @@ -30159,6 +30376,7 @@ "UNKNOWN", "BOGUS", "PRIVATE", + "PRIVATE_MUST_PURGE", "SPAM", "UNSUPPORTED", "PENDING", @@ -30170,7 +30388,8 @@ "enumDescriptions": [ "Reason unknown or not captured by one of the other values.", "Bogus data - doesn't represent a real world geographic place or is just largely bad/incorrect data.", - "Considered \"private\" data and we're legally (or otherwise) obligated to remove it.", + "Considered \"private\" data. We do not want to display this data to users, but we allow it to remain in MapFacts indefinitely.", + "Considered \"private\" data, which has been or will soon be fully removed from MapFacts and related systems (other than feature id and existence metadata).", "Bad data that was intentionally/maliciously contributed.", "Not enough data to support the existence of the feature. Different from the BOGUS case in that there is no positive evidence that place is/was incorrect. NOTE: This removal reason can only be set/unset by PROVIDER_GOOGLE_LOCAL_ALCHEMY and PROVIDER_GOOGLE_OYSTER_AUTO_EDITS.", "Indicates that the existence of the place is yet to be justified.", @@ -31905,7 +32124,7 @@ "e.g. single family dwelling, office building.", "e.g. suite, room, hallway, cubicle.", "A terminal point represents a good location for a user to meet a taxi, ridesharing vehicle, or general driver.", - "An area controlled in some way by an authoritative source, such as a government-designated COVID containment zone. Features of this type should have one or more gcids corresponding to their specific regulation.", + "An area controlled in some way by an authoritative source, such as a government-designated COVID containment zone or an area under government sanctions. Features of this type should have one or more gcids corresponding to their specific regulation, and client handling of these features may vary based on the type of regulation.", "A grouping of TYPE_BORDER features (\"border segments\"), which together represent a border between two features of the same type.", "DEPRECATED", "A feature of completely unknown type. This should only be used when absolutely necessary. One example in which this type is useful is in the Chinese importer, which must heuristically segment addresses into components - it often does not know what types to make those components. Please note that the Oyster address formatter does not currently support address components of TYPE_UNKNOWN well." @@ -32616,6 +32835,9 @@ "PROVIDER_GOOGLE_GEO_LDE", "PROVIDER_GOOGLE_GEO_SIGNAL_TRACKING", "PROVIDER_GOOGLE_UGC_AGGREGATION", + "PROVIDER_GOOGLE_3D_BASEMAP", + "PROVIDER_GOOGLE_MAPFACTS_PRIVACY", + "PROVIDER_GOOGLE_GT_ALF", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -33134,7 +33356,9 @@ "PROVIDER_MASTERCARD", "PROVIDER_VATTENFALL", "PROVIDER_VIETGIS", - "PROVIDER_UNITE" + "PROVIDER_UNITE", + "PROVIDER_NEOGY", + "PROVIDER_AMPUP" ], "enumDescriptions": [ "ABSTRACT The root of all provider types. This should never be present on an actual feature, but can be useful when calling InCategory.", @@ -33151,7 +33375,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730AE", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B1", "ABSTRACT", "", "", @@ -33320,6 +33544,9 @@ "", "", "", + "", + "", + "", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -33838,7 +34065,9 @@ "", "", "", - "Note: Next available value is 0x126E." + "", + "", + "Note: Next available value is 0x1270." ], "type": "string" } @@ -34751,6 +34980,9 @@ "PROVIDER_GOOGLE_GEO_LDE", "PROVIDER_GOOGLE_GEO_SIGNAL_TRACKING", "PROVIDER_GOOGLE_UGC_AGGREGATION", + "PROVIDER_GOOGLE_3D_BASEMAP", + "PROVIDER_GOOGLE_MAPFACTS_PRIVACY", + "PROVIDER_GOOGLE_GT_ALF", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -35269,7 +35501,9 @@ "PROVIDER_MASTERCARD", "PROVIDER_VATTENFALL", "PROVIDER_VIETGIS", - "PROVIDER_UNITE" + "PROVIDER_UNITE", + "PROVIDER_NEOGY", + "PROVIDER_AMPUP" ], "enumDescriptions": [ "ABSTRACT The root of all provider types. This should never be present on an actual feature, but can be useful when calling InCategory.", @@ -35286,7 +35520,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730AE", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B1", "ABSTRACT", "", "", @@ -35455,6 +35689,9 @@ "", "", "", + "", + "", + "", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -35973,7 +36210,9 @@ "", "", "", - "Note: Next available value is 0x126E." + "", + "", + "Note: Next available value is 0x1270." ], "type": "string" }, @@ -36702,7 +36941,7 @@ "type": "object" }, "GeostorePriceListNameInfoProto": { - "description": "A PriceListNameInfoProto is used by PriceListProto and fields and messages contained in it for storing names, descriptions, languages, and IDs. The name field and the description field must be in the same language, as specified by the language field. None of the fields in this proto is required, although it is not expected to have the language field set unless there is a name or description. When the language field is not set, it is understood to be the preferred language of the locale where the establishment is located. An empty string for any of the fields is treated the same as having the fields not set.", + "description": "A PriceListNameInfoProto is used by PriceListProto and fields and messages contained in it for storing names, descriptions, languages, and IDs. The name field and the description field must be in the same language, as specified by the language field. None of the fields in this proto is required, although it is not expected to have the language field set unless there is a name or description. When the language field is not set, it is understood to be the preferred language of the locale where the establishment is located. An empty string for any of the fields is not allowed (as enforced by lints).", "id": "GeostorePriceListNameInfoProto", "properties": { "description": { @@ -36726,6 +36965,11 @@ "description": "A PriceListProto can be used to represent any type of price lists, one of which is a menu of food and drinks. It contains names and descriptions, together with its source URL list if it is extracted or attributed to that URL. The names and descriptions are represented using repeated PriceListNameInfo fields to allow versions in different languages. A PriceListProto may contain multiple sections; in the context of a food menu, this would be multiple menu sections, e.g. for breakfast, lunch, dinner, prix fixe, or dinner for two, etc. At least one menu section must be present. Each section contains a number of items; for food menus, it may be FoodMenuItems defined below. At least one item must be present in each section.", "id": "GeostorePriceListProto", "properties": { + "aggregatorId": { + "description": "For third party lists, represents the ID of the aggregator which provided this data. Optional.", + "format": "uint64", + "type": "string" + }, "availableTime": { "$ref": "GeostoreTimeScheduleProto", "description": "The time period when this price list is available. Establishments are not required to give available_time for any given price list, however, when this field is not set, the price list is understood as available any time the establishment is open." @@ -36856,19 +37100,25 @@ "TYPE_FOOD", "TYPE_SERVICE", "TYPE_PRODUCT", - "TYPE_JOB" + "TYPE_JOB", + "TYPE_3P_JOB" ], "enumDescriptions": [ "Abstract type, and the root of all types. Not a meaningful type and likewise should never be present in a geostore repository.", "For food and drink items, stored in FoodMenuItemProto.", "For service items (stored in FoodMenuItemProto). TYPE_SERVICE is being deprecated. Please use TYPE_JOB for the new services See b/147253790 for more information. data.", "For product items (stored in ComposableItemProto).", - "For jobs (stored in ComposableItemProto)." + "For \"1P\" jobs data (stored in ComposableItemProto), summarized from a variety of sources such as GMB/NMX, web crawling, and Structured Reviews.", + "For third party jobs data sourced from 3P partner feeds, which need to remain separate from the TYPE_JOB list." ], "type": "string" }, "type": "array" }, + "language": { + "description": "The external form of a Google International Identifiers Initiative (III) LanguageCode object. See google3/i18n/identifiers/languagecode.h for details. We place extra restrictions on languages in addition to what the III library requires. See go/geo-schema-reference/feature-properties/languages. When set, represents the language of the section and its items. Any section and item level name infos must match this language. Optional.", + "type": "string" + }, "media": { "description": "One or more media items (photos, videos, etc.) describing this section / category.", "items": { @@ -37187,6 +37437,9 @@ "PROVIDER_GOOGLE_GEO_LDE", "PROVIDER_GOOGLE_GEO_SIGNAL_TRACKING", "PROVIDER_GOOGLE_UGC_AGGREGATION", + "PROVIDER_GOOGLE_3D_BASEMAP", + "PROVIDER_GOOGLE_MAPFACTS_PRIVACY", + "PROVIDER_GOOGLE_GT_ALF", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -37705,7 +37958,9 @@ "PROVIDER_MASTERCARD", "PROVIDER_VATTENFALL", "PROVIDER_VIETGIS", - "PROVIDER_UNITE" + "PROVIDER_UNITE", + "PROVIDER_NEOGY", + "PROVIDER_AMPUP" ], "enumDescriptions": [ "ABSTRACT The root of all provider types. This should never be present on an actual feature, but can be useful when calling InCategory.", @@ -37722,7 +37977,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730AE", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B1", "ABSTRACT", "", "", @@ -37891,6 +38146,9 @@ "", "", "", + "", + "", + "", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -38409,7 +38667,9 @@ "", "", "", - "Note: Next available value is 0x126E." + "", + "", + "Note: Next available value is 0x1270." ], "type": "string" } @@ -42798,6 +43058,11 @@ "dimensions": { "$ref": "GoogleAssistantAccessoryV1ScreenOutConfigDimensions", "description": "Device dimensions." + }, + "fontScaleFactor": { + "description": "The scale factor used to convert Scalable Pixel (SP) units to Density-independent Pixel (DP) units (DP = SP * scale factor). Fonts are measured in units of SP, and on some platforms such as Android the SP to DP scale factor can be affected by the font size a user selects in accessibility settings.", + "format": "float", + "type": "number" } }, "type": "object" @@ -43185,7 +43450,7 @@ "REPLACE_POLICY_BINDING" ], "enumDescriptions": [ - "", + "The unknown operation type.", "Adds newly given policy bindings in the existing bindings list.", "Removes newly given policy bindings from the existing bindings list.", "Replaces existing policy bindings with the given policy binding list" @@ -43270,7 +43535,7 @@ "ACTION_PENDING" ], "enumDescriptions": [ - "", + "The unknown state.", "State indicating action executed successfully.", "State indicating action failed.", "State indicating action timed out.", @@ -43344,10 +43609,10 @@ "properties": { "cloudAiDocumentOption": { "$ref": "GoogleCloudContentwarehouseV1CloudAIDocumentOption", - "description": "Request Option for processing Cloud AI Document in CW Document." + "description": "Request Option for processing Cloud AI Document in Document Warehouse. This field offers limited support for mapping entities from Cloud AI Document to Warehouse Document. Please consult with product team before using this field and other available options." }, "createMask": { - "description": "Field mask for creating Document fields. If mask path is empty, it means all fields are masked. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", + "description": "Field mask for creating Document fields. If mask path is empty, it means all fields are masked. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.", "format": "google-fieldmask", "type": "string" }, @@ -43357,7 +43622,7 @@ }, "policy": { "$ref": "GoogleIamV1Policy", - "description": "Default document policy during creation. Conditions defined in the policy will be ignored." + "description": "Default document policy during creation. This refers to an Identity and Access (IAM) policy, which specifies access controls for the Document. Conditions defined in the policy will be ignored." }, "requestMetadata": { "$ref": "GoogleCloudContentwarehouseV1RequestMetadata", @@ -43385,6 +43650,20 @@ }, "type": "object" }, + "GoogleCloudContentwarehouseV1CustomWeightsMetadata": { + "description": "To support the custom weighting across document schemas.", + "id": "GoogleCloudContentwarehouseV1CustomWeightsMetadata", + "properties": { + "weightedSchemaProperties": { + "description": "List of schema and property name. Allows a maximum of 10 schemas to be specified for relevance boosting.", + "items": { + "$ref": "GoogleCloudContentwarehouseV1WeightedSchemaProperty" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudContentwarehouseV1DataUpdateAction": { "description": "Represents the action responsible for properties update operations.", "id": "GoogleCloudContentwarehouseV1DataUpdateAction", @@ -43470,10 +43749,6 @@ "description": "Defines the structure for content warehouse document proto.", "id": "GoogleCloudContentwarehouseV1Document", "properties": { - "asyncEnabled": { - "description": "If true, makes the document visible to asynchronous policies and rules.", - "type": "boolean" - }, "cloudAiDocument": { "$ref": "GoogleCloudDocumentaiV1Document", "description": "Document AI format to save the structured content, including OCR." @@ -43564,16 +43839,16 @@ "description": "The reference ID set by customers. Must be unique per project and location.", "type": "string" }, - "structuredContentUri": { - "description": "A path linked to structured content file.", - "type": "string" - }, "textExtractionDisabled": { "description": "If true, text extraction will not be performed.", "type": "boolean" }, + "textExtractionEnabled": { + "description": "If true, text extraction will be performed.", + "type": "boolean" + }, "title": { - "description": "Title that describes the document. This is usually present in the top section of the document, and is a mandatory field for the question-answering feature.", + "description": "Title that describes the document. This can be the top heading or text that describes the document.", "type": "string" }, "updateTime": { @@ -43645,6 +43920,10 @@ "description": "This filter specifies a structured syntax to match against the [PropertyDefinition].is_filterable marked as `true`. The syntax for this expression is a subset of SQL syntax. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is a property name and the right of the operator is a number or a quoted string. You must escape backslash (\\\\) and quote (\\\") characters. Supported functions are `LOWER([property_name])` to perform a case insensitive match and `EMPTY([property_name])` to filter on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting (for example, \"((A AND B AND C) OR NOT D) AND E\"), a maximum of 100 comparisons or functions are allowed in the expression. The expression must be < 6000 bytes in length. Sample Query: `(LOWER(driving_license)=\"class \\\"a\\\"\" OR EMPTY(driving_license)) AND driving_years > 10`", "type": "string" }, + "customWeightsMetadata": { + "$ref": "GoogleCloudContentwarehouseV1CustomWeightsMetadata", + "description": "To support the custom weighting across document schemas, customers need to provide the properties to be used to boost the ranking in the search request. For a search query with CustomWeightsMetadata specified, only the RetrievalImportance for the properties in the CustomWeightsMetadata will be honored." + }, "documentCreatorFilter": { "description": "The exact creator(s) of the documents to search against. If a value isn't specified, documents within the search results are associated with any creator. If multiple values are specified, documents within the search results may be associated with any of the specified creators.", "items": { @@ -43679,7 +43958,7 @@ "type": "array" }, "query": { - "description": "The query string that matches against the full text of the document and the searchable properties. The maximum number of allowed characters is 255.", + "description": "The query string that matches against the full text of the document and the searchable properties. The query partially supports [Google AIP style syntax](https://google.aip.dev/160). Specifically, the query supports literals, logical operators, negation operators, comparison operators, and functions. Literals: A bare literal value (examples: \"42\", \"Hugo\") is a value to be matched against. It searches over the full text of the document and the searchable properties. Logical operators: \"AND\", \"and\", \"OR\", and \"or\" are binary logical operators (example: \"engineer OR developer\"). Negation operators: \"NOT\" and \"!\" are negation operators (example: \"NOT software\"). Comparison operators: support the binary comparison operators =, !=, <, >, <= and >= for string, numeric, enum, boolean. Also support like operator `~~` for string. It provides semantic search functionality by parsing, stemming and doing synonyms expansion against the input query. To specify a property in the query, the left hand side expression in the comparison must be the property ID including the parent. The right hand side must be literals. For example: \"\\\"projects/123/locations/us\\\".property_a < 1\" matches results whose \"property_a\" is less than 1 in project 123 and us location. The literals and comparison expression can be connected in a single query (example: \"software engineer \\\"projects/123/locations/us\\\".salary > 100\"). Functions: supported functions are `LOWER([property_name])` to perform a case insensitive match and `EMPTY([property_name])` to filter on the existence of a key. Support nested expressions connected using parenthesis and logical operators. The default logical operators is `AND` if there is no operators between expressions. The query can be used with other filters e.g. `time_filters` and `folder_name_filter`. They are connected with `AND` operator under the hood. The maximum number of allowed characters is 255.", "type": "string" }, "queryContext": { @@ -43755,7 +44034,7 @@ "type": "string" }, "displayName": { - "description": "Required. Name of the schema given by the user. Must be unique per customer.", + "description": "Required. Name of the schema given by the user. Must be unique per project.", "type": "string" }, "documentIsFolder": { @@ -44014,6 +44293,22 @@ ], "type": "string" }, + "documentCreatorDefaultRole": { + "description": "Optional. The default role for the person who create a document.", + "enum": [ + "DOCUMENT_CREATOR_DEFAULT_ROLE_UNSPECIFIED", + "DOCUMENT_ADMIN", + "DOCUMENT_EDITOR", + "DOCUMENT_VIEWER" + ], + "enumDescriptions": [ + "Unspecified, will be default to document admin role.", + "Document Admin, same as contentwarehouse.googleapis.com/documentAdmin.", + "Document Editor, same as contentwarehouse.googleapis.com/documentEditor.", + "Document Viewer, same as contentwarehouse.googleapis.com/documentViewer." + ], + "type": "string" + }, "kmsKey": { "description": "Optional. The KMS key used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key is left empty, no encryption will be enforced.", "type": "string" @@ -44328,7 +44623,7 @@ "type": "boolean" }, "isMetadata": { - "description": "Whether the property is user supplied metadata.", + "description": "Whether the property is user supplied metadata. This out-of-the box placeholder setting can be used to tag derived properties. Its value and interpretation logic should be implemented by API user.", "type": "boolean" }, "isRepeatable": { @@ -44355,6 +44650,28 @@ "$ref": "GoogleCloudContentwarehouseV1PropertyTypeOptions", "description": "Nested structured data property." }, + "retrievalImportance": { + "description": "The retrieval importance of the property during search.", + "enum": [ + "RETRIEVAL_IMPORTANCE_UNSPECIFIED", + "HIGHEST", + "HIGHER", + "HIGH", + "MEDIUM", + "LOW", + "LOWEST" + ], + "enumDescriptions": [ + "No importance specified. Default medium importance.", + "Highest importance.", + "Higher importance.", + "High importance.", + "Medium importance.", + "Low importance (negative).", + "Lowest importance (negative)." + ], + "type": "string" + }, "textTypeOptions": { "$ref": "GoogleCloudContentwarehouseV1TextTypeOptions", "description": "Text/string property." @@ -44516,7 +44833,7 @@ "ON_UPDATE" ], "enumDescriptions": [ - "", + "Trigger for unknown action.", "Trigger for create document action.", "Trigger for update document action." ], @@ -44637,7 +44954,7 @@ "type": "integer" }, "orderBy": { - "description": "The criteria determining how search results are sorted. For non-empty query, default is `\"relevance desc\"`. For empty query, default is `\"upload_date desc\"`. Supported options are: * `\"relevance desc\"`: By relevance descending, as determined by the API algorithms. * `\"upload_date desc\"`: By upload date descending. * `\"upload_date\"`: By upload date ascending. * `\"update_date desc\"`: By last updated date descending. * `\"update_date\"`: By last updated date ascending.", + "description": "The criteria determining how search results are sorted. For non-empty query, default is `\"relevance desc\"`. For empty query, default is `\"upload_date desc\"`. Supported options are: * `\"relevance desc\"`: By relevance descending, as determined by the API algorithms. * `\"upload_date desc\"`: By upload date descending. * `\"upload_date\"`: By upload date ascending. * `\"update_date desc\"`: By last updated date descending. * `\"update_date\"`: By last updated date ascending. * `\"retrieval_importance desc\"`: By retrieval importance of properties descending. This feature is still under development, please do not use unless otherwise instructed to do so.", "type": "string" }, "pageSize": { @@ -44659,11 +44976,11 @@ "description": "The meta information collected about the end user, used to enforce access control and improve the search quality of the service." }, "requireTotalSize": { - "description": "Optional. Controls if the search document request requires the return of a total size of matched documents. See SearchDocumentsResponse.total_size. Enabling this flag may adversely impact performance. Hint: If this is used with pagination, set this flag on the initial query but set this to false on subsequent page calls (keep the total count locally). Defaults to false.", + "description": "Controls if the search document request requires the return of a total size of matched documents. See SearchDocumentsResponse.total_size. Enabling this flag may adversely impact performance. Hint: If this is used with pagination, set this flag on the initial query but set this to false on subsequent page calls (keep the total count locally). Defaults to false.", "type": "boolean" }, "totalResultSize": { - "description": "Optional. Controls if the search document request requires the return of a total size of matched documents. See SearchDocumentsResponse.total_size.", + "description": "Controls if the search document request requires the return of a total size of matched documents. See SearchDocumentsResponse.total_size.", "enum": [ "TOTAL_RESULT_SIZE_UNSPECIFIED", "ESTIMATED_SIZE", @@ -44738,7 +45055,7 @@ "properties": { "policy": { "$ref": "GoogleIamV1Policy", - "description": "Required. REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB." + "description": "Required. REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. This refers to an Identity and Access (IAM) policy, which specifies access controls for the Document." }, "projectOwner": { "description": "For Set Project ACL only. Authorization check for end user will be ignored when project_owner=true.", @@ -44894,7 +45211,7 @@ "properties": { "cloudAiDocumentOption": { "$ref": "GoogleCloudContentwarehouseV1CloudAIDocumentOption", - "description": "Request Option for processing Cloud AI Document in CW Document." + "description": "Request Option for processing Cloud AI Document in Document Warehouse. This field offers limited support for mapping entities from Cloud AI Document to Warehouse Document. Please consult with product team before using this field and other available options." }, "document": { "$ref": "GoogleCloudContentwarehouseV1Document", @@ -44989,6 +45306,7 @@ "type": "object" }, "GoogleCloudContentwarehouseV1UserInfo": { + "description": "The user information.", "id": "GoogleCloudContentwarehouseV1UserInfo", "properties": { "groupIds": { @@ -45042,6 +45360,24 @@ }, "type": "object" }, + "GoogleCloudContentwarehouseV1WeightedSchemaProperty": { + "description": "Specifies the schema property name.", + "id": "GoogleCloudContentwarehouseV1WeightedSchemaProperty", + "properties": { + "documentSchemaName": { + "description": "The document schema name.", + "type": "string" + }, + "propertyNames": { + "description": "The property definition names in the schema.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudContentwarehouseV1beta1CreateDocumentMetadata": { "description": "Metadata object for CreateDocument request (currently empty).", "id": "GoogleCloudContentwarehouseV1beta1CreateDocumentMetadata", @@ -45184,7 +45520,7 @@ "type": "array" }, "textStyles": { - "description": "Placeholder. Styles for the Document.text.", + "description": "Styles for the Document.text.", "items": { "$ref": "GoogleCloudDocumentaiV1DocumentStyle" }, @@ -45287,7 +45623,7 @@ "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -45477,7 +45813,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.", + "description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", "format": "int64", "type": "string" } @@ -45597,7 +45933,7 @@ "type": "array" }, "valueType": { - "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the field_value is normal text) - \"unfilled_checkbox\" - \"filled_checkbox\"", + "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", "type": "string" } }, @@ -46361,6 +46697,15 @@ "description": "The status indicating the user is temporarily busy and there is not a more specific status derived from calendar that applies (e.g., InMeeting or DoNotDisturb).", "id": "GoogleInternalAppsWaldoV1alphaCalendarBusy", "properties": { + "committedUntil": { + "description": "The time when the user will stop being committed, i.e., when their status will be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh. Note that the goal of this field is to provide information to help users decide how to communicate with a user (see also http://shortn/_wXYXtZScgh).", + "format": "google-datetime", + "type": "string" + }, + "committedUntilIsMixed": { + "description": "Whether the status of the user from this status's start to committed_until has more than one status type (e.g. DoNotDisturb + InMeeting).", + "type": "boolean" + }, "eventSummary": { "description": "The summary of the corresponding event in Calendar.", "type": "string" @@ -46402,7 +46747,7 @@ "id": "GoogleInternalAppsWaldoV1alphaDoNotDisturb", "properties": { "committedUntil": { - "description": "The time when the user will stop being committed, i.e., when their status will be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh.", + "description": "The time when the user will stop being committed, i.e., when their status will be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh.", "format": "google-datetime", "type": "string" }, @@ -46434,7 +46779,7 @@ "id": "GoogleInternalAppsWaldoV1alphaInMeeting", "properties": { "committedUntil": { - "description": "The time when the user will stop being committed, i.e., when their status will be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh. Note that the goal of this field is to provide information to help users decide how to communicate with a user (see also http://shortn/_wXYXtZScgh).", + "description": "The time when the user will stop being committed, i.e., when their status will be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh. Note that the goal of this field is to provide information to help users decide how to communicate with a user (see also http://shortn/_wXYXtZScgh).", "format": "google-datetime", "type": "string" }, @@ -46510,12 +46855,12 @@ "type": "string" }, "committedUntil": { - "description": "The time when the user will stop being committed, i.e., when their status will be neither of InMeeting, DoNotDisturb or OutOfOffice < Xh. Note that if this OOO block is large (>Xh), committed_until will be the end of this block, not including any meetings or focus time following it.", + "description": "The time when the user will stop being committed, i.e., when their status will be neither of InMeeting, DoNotDisturb, Busy or OutOfOffice < Xh. Note that if this OOO block is large (>=Xh), committed_until is not set.", "format": "google-datetime", "type": "string" }, "committedUntilIsMixed": { - "description": "Whether the status of the user from this status's start to committed_until has more than one status type (e.g. DoNotDisturb + InMeeting).", + "description": "Whether the status of the user from this status's start to committed_until has more than one status type (e.g. DoNotDisturb + InMeeting). Only set if committed_until is set.", "type": "boolean" }, "eventSummary": { @@ -46559,10 +46904,10 @@ "properties": { "nextCommitmentStatus": { "$ref": "GoogleInternalAppsWaldoV1alphaUserStatus", - "description": "The status type of the commitment above. The status will be an empty instance of the corresponding type, no additional data will be provided." + "description": "The status of the commitment above." }, "nextCommitmentTime": { - "description": "The most relevant upcoming commitment (InMeeting, DoNotDisturb or OutOfOffice). In most cases this will be the next closest commitment event, but if there is a large OOO in less than 24h it will take precedence over earlier events.", + "description": "The most relevant upcoming commitment (InMeeting, DoNotDisturb, CalendarBusy or OutOfOffice). This context is set only if there is an upcoming commitment to show, and only on non commitments. Priority is given to the next closest commitment if its start is close enough to this event, otherwise the next large OOO if there is one.", "format": "google-datetime", "type": "string" } @@ -47287,7 +47632,7 @@ "type": "boolean" }, "trait": { - "description": "Trait name, e.g., \"action.devices.traits.MediaInitiation\". See [device traits](https://developers.google.com/assistant/smarthome/traits). See java/com/google/home/graph/common/devices/config/protoconf.pi for the exhaustive list of trait-strings.", + "description": "Trait name, e.g., \"action.devices.traits.MediaInitiation\". See [device traits](https://developers.home.google.com/cloud-to-cloud/traits). See java/com/google/home/graph/common/devices/config/protoconf.pi for the exhaustive list of trait-strings.", "type": "string" } }, @@ -48053,6 +48398,7 @@ "type": "integer" }, "requestHeader": { + "description": "Only necessary headers are recorded. See google3/htmlrender/webkit_headless/resource_key.cc", "items": { "$ref": "HtmlrenderWebkitHeadlessProtoReferencedResourceHttpHeader" }, @@ -48458,6 +48804,7 @@ "type": "string" }, "requestHeader": { + "description": "Only necessary headers are included in the resource key by default. See google3/htmlrender/webkit_headless/resource_key.cc", "items": { "$ref": "HtmlrenderWebkitHeadlessProtoResourceHttpHeader" }, @@ -49498,6 +49845,8 @@ "VPREVIEW_TYPE_VERTICAL_90K", "VPREVIEW_TYPE_540K_ORIGINAL_HQ_LICENSED", "VPREVIEW_TYPE_90K_SPORT_HIGHLIGHT", + "VPREVIEW_TYPE_VIDEO_ANSWER_300K_15SEC", + "VPREVIEW_TYPE_VIDEO_ANSWER_300K_6SEC", "VPREVIEW_TENOR_250K_PREVIEW", "VPREVIEW_TENOR_100K_OPTIMIZED_PREVIEW", "VPREVIEW_TENOR_30K_OPTIMIZED_THUMBNAIL_PREVIEW", @@ -49528,6 +49877,8 @@ "This corresponds to 216x384, 10fps.", "This corresponds to 854x480, 24fps. This preview type is used for LMS videos only.", "This corresponds to 384x216, 10fps previews created with a Sport Highlight specific model. LINT.ThenChange( //depot/google3/video/pipeline/graph/sequences/mp4_moving_thumbnail.go )", + "Video Answer previews (640x360, 10fps). See go/vsva-le1-doc and go/vsva-serving-design for the details. previews up to 15 seconds", + "previews up to 6 seconds", "LINT.IfChange Tenor VPREIVEW is added by cl/237845543 (billzeng) This corresponds to 498*498, max 18fps. Preview for Tenor only.", "This corresponds to 220*498, max 18fps. Preview for Tenor only.", "This corresponds to 498*60, max 18fps. Preview for Tenor only.", @@ -49547,7 +49898,7 @@ "This corresponds to 498*100, max 10fps. Preview for Tenor only.", "This corresponds to 498*200, max 10fps. Preview for Tenor only.", "This corresponds to 100*498, max 10fps. Preview for Tenor only.", - "This corresponds to 200*498, max 10fps. Preview for Tenor only. LINT.ThenChange( //depot/google3/image/tenor/eleven/util/format_helpers.cc, //depot/google3/image/tenor/eleven/util/format_helpers_test.cc, //depot/google3/image/tenor/ps1/plugin/data_processing/service/util/transcode_type_translator.cc:preview_type_map, )" + "This corresponds to 200*498, max 10fps. Preview for Tenor only. LINT.ThenChange( //depot/google3/image/tenor/eleven/util/format_helpers.cc, //depot/google3/image/tenor/eleven/util/format_helpers_test.cc, )" ], "type": "string" }, @@ -51246,9 +51597,13 @@ "type": "object" }, "ImageRepositoryAmarnaCloudSpeechSignals": { - "description": "Next Tag: 7", + "description": "Next Tag: 8", "id": "ImageRepositoryAmarnaCloudSpeechSignals", "properties": { + "duplicateOfYtS3Asr": { + "description": "If this field is set to true, it means that Youtube already processed the ASR from S3 for the langID. Please find the ASR result from transcript_asr in google3/image/repository/proto/video_search.proto instead.", + "type": "boolean" + }, "langWithoutLocale": { "description": "The language id input for creating this ASR without regional info. Same format as in go/ytlangid. This field is populated in Kronos Amarna Cloud Speech operator and passed to Amarna, but it is cleared before stored in Amarna's metadata table.", "type": "string" @@ -51419,7 +51774,8 @@ "GENUS_DEMO", "GENUS_KARTO", "GENUS_CONTRIB_SERVICE_SHARED", - "GENUS_CONTRIB_SERVICE_GEO_UGC" + "GENUS_CONTRIB_SERVICE_GEO_UGC", + "GENUS_SEARCH_SPORTS" ], "enumDescriptions": [ "", @@ -51465,7 +51821,8 @@ "Genus for new Video Processing clients to do initial prototyping before they decide to formally onboard. go/venom-clients#demo-tier", "Genus for Karto videos.", "Shared genus for ContribService UGC videos for small clients requesting the same set of common signals. Large ContribService Video clients should have their own genera. go/user-owned-video-content-processing", - "Genus for GEO UGC videos processed by ContribService. go/venom-lite-for-geo-photo-videos" + "Genus for GEO UGC videos processed by ContribService. go/venom-lite-for-geo-photo-videos", + "Genus for Search Sports vertical videos" ], "type": "string" }, @@ -52261,7 +52618,8 @@ "GENUS_DEMO", "GENUS_KARTO", "GENUS_CONTRIB_SERVICE_SHARED", - "GENUS_CONTRIB_SERVICE_GEO_UGC" + "GENUS_CONTRIB_SERVICE_GEO_UGC", + "GENUS_SEARCH_SPORTS" ], "enumDescriptions": [ "", @@ -52307,7 +52665,8 @@ "Genus for new Video Processing clients to do initial prototyping before they decide to formally onboard. go/venom-clients#demo-tier", "Genus for Karto videos.", "Shared genus for ContribService UGC videos for small clients requesting the same set of common signals. Large ContribService Video clients should have their own genera. go/user-owned-video-content-processing", - "Genus for GEO UGC videos processed by ContribService. go/venom-lite-for-geo-photo-videos" + "Genus for GEO UGC videos processed by ContribService. go/venom-lite-for-geo-photo-videos", + "Genus for Search Sports vertical videos" ], "type": "string" }, @@ -52394,6 +52753,18 @@ "description": "The generation number returned by Venom.", "format": "int64", "type": "string" + }, + "videoVenomSetting": { + "description": "This field is not persisted anywhere. It is only used in deletion service for converying the VideoVenomSetting when deleting Venom data.", + "enum": [ + "VIDEO_VENOM_SETTING_COMMON", + "VIDEO_VENOM_SETTING_VINEYARD" + ], + "enumDescriptions": [ + "This corresponds to [trustme.crawl] is {CLIENT_OTHER}.", + "This corresponds to [trustme.crawl] is {CLIENT_OTHER, CLIENT_VINEYARD}. LINT.ThenChange( //depot/google3/image/repository/shared/util/video_util.cc, )" + ], + "type": "string" } }, "type": "object" @@ -54354,6 +54725,9 @@ "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, "chromeCounts": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "instantNavboost": { "$ref": "IndexingDocjoinerDataVersionVersionInfo", "description": "LINT.ThenChange(//depot/google3/indexing/ames/spanner/schema/websearch_main.sdl)" }, @@ -58163,6 +58537,9 @@ "$ref": "NlpSemanticParsingAnnotationEvalData" }, "type": "array" + }, + "neuralLocationAnnotator": { + "$ref": "KnowledgeAnswersIntentQueryArgumentProvenanceNeuralLocationAnnotator" } }, "type": "object" @@ -58173,6 +58550,12 @@ "properties": {}, "type": "object" }, + "KnowledgeAnswersIntentQueryArgumentProvenanceNeuralLocationAnnotator": { + "description": "The value is used for CurrentQuery.annotator and PreviousQuery.annotator to indicate what annotator annotated the argument", + "id": "KnowledgeAnswersIntentQueryArgumentProvenanceNeuralLocationAnnotator", + "properties": {}, + "type": "object" + }, "KnowledgeAnswersIntentQueryArgumentProvenancePreviousQuery": { "description": "The value is carried over from either the previous winning IntentQuery or an entity annotated by QRef in a previous query. For example: U: How old is Obama. [Age(person=/m/obama)] G: Barack Obama is 56 years old. U: Who is his wife. [Spouse(person=/m/obama)] The \"person\" argument would have a provenance of PREVIOUS_QUERY. However, if a dialog publishes an attentional entity for \"Obama\", the \"person\" argument can have a provenance of ATTENTIONAL_ENTITY instead. This includes arguments with provenance that spans both the current and previous query.", "id": "KnowledgeAnswersIntentQueryArgumentProvenancePreviousQuery", @@ -58195,6 +58578,9 @@ "$ref": "EventIdMessage", "description": "The event ID of the query where this value was pulled from." }, + "neuralLocationAnnotator": { + "$ref": "KnowledgeAnswersIntentQueryArgumentProvenanceNeuralLocationAnnotator" + }, "role": { "$ref": "KnowledgeAnswersIntentQueryArgumentProvenancePreviousQueryRole" }, @@ -58923,7 +59309,7 @@ "type": "object" }, "KnowledgeAnswersIntentQueryFunctionCallSignals": { - "description": "Next ID: 34", + "description": "Next ID: 35", "id": "KnowledgeAnswersIntentQueryFunctionCallSignals", "properties": { "argumentComposingMid": { @@ -59036,6 +59422,10 @@ "description": "Denotes whether this is a sub-intent of an ambiguous SystemUncertain intent go/intent-disambiguation.", "type": "boolean" }, + "isNeuralCategoricalInterpretation": { + "description": "Whether the interpretation was generated from the neural categorical parser.", + "type": "boolean" + }, "isUiCompositionIntent": { "description": "Denotes this is a sub-intent used for composing an Assistant UI response. The assistant dialog should output ui_composition_shelf in the SystemResponse if it can fulfill the intent. More info in go/davinci-design and go/davinci-di-fulfillment", "type": "boolean" @@ -60919,13 +61309,15 @@ "UNSPECIFIED_COMPOSITION", "ALL_COMPOSITION", "PRIMITIVES_ONLY_COMPOSITION", - "PRIMITIVES_AND_OPERATORS_OF_PRIMITIVES_COMPOSITION" + "PRIMITIVES_AND_OPERATORS_OF_PRIMITIVES_COMPOSITION", + "PRIMITIVES_AND_SEMANTIC_TYPES_COMPOSITION" ], "enumDescriptions": [ "An unspecified value is required by enum best practices. It will not be used anywhere as the default is ALL_COMPOSITION.", "", "", - "To handle cases where we have a Group of entities" + "To handle cases where we have a Group of entities", + "Allows primitives only, or specific FunctionCalls with explicitly listed semantic_types." ], "type": "string" }, @@ -61746,10 +62138,6 @@ "format": "int32", "type": "integer" }, - "iconicPersonBoundingBox": { - "$ref": "PhotosVisionGroundtruthdbNormalizedBoundingBox", - "description": "Normalized bounding box of the most iconic person in the image. The x,y coordinates are in the range [0, 1]. Deprecated to comply with CDS requirements (b/228535076)." - }, "personBoundingBox": { "$ref": "LensDiscoveryStyleBoundingBox", "description": "Bounding box of the most iconic person in the image." @@ -61872,10 +62260,6 @@ "boundingBox": { "$ref": "LensDiscoveryStyleBoundingBox", "description": "Bounding box of the detected person." - }, - "normalizedBoundingBox": { - "$ref": "PhotosVisionGroundtruthdbNormalizedBoundingBox", - "description": "Normalized bounding box of the detected person. The x,y coordinates are in the range [0, 1]. Deprecated to comply with CDS requirements (b/228535076)." } }, "type": "object" @@ -62255,7 +62639,7 @@ "Unknown type.", "Actions lead users to Food Ordering site (orderfood.google.com), powered by end to end partners that signed the full integration contact with Google. This is the default action type for most cases. go/fopa-order-button-placesheet", "TOA actions lead users to TOA site (eg. https://ordering.app/cuba512/downtown/contact/). go/payfood-entrypoint-experiments", - "Autobot actions lead users to 3p site that support Autobot. go/fo-autobot-triggering", + "DEPRECATED(b/261496948): Autobot has been sunset. Autobot actions lead users to 3p site that support Autobot. go/fo-autobot-triggering", "PAS actions lead users to Food Ordering site (orderfood.google.com), but powered by PAS partners. Note that if one restaurant is supported by both E2E and PAS partners, the action type should still be E2E. go/fo-pas-integration" ], "type": "string" @@ -63108,9 +63492,13 @@ "type": "object" }, "MapsQualitySpecialWordsFlags": { - "description": "Flags that describe the information about a special word. If you add another flag please add it to the special words implemenation in google3/maps/quality/internal/special_words.cc. -- Next available id: 21 --", + "description": "Flags that describe the information about a special word. If you add another flag please add it to the special words implemenation in google3/maps/quality/internal/special_words.cc. -- Next available id: 22 --", "id": "MapsQualitySpecialWordsFlags", "properties": { + "isAlleyAffix": { + "description": "An affix that indicates an alley. Alleys are unnamed, numbered routes that are always linked to a \"parent street\". As these parent streets can be named e.g. \"7th street\" and alleys might be referred to as \"7th alley\", we need to be able to distinguish those affixes. For more details about alleys see go/vn-alley-geocoding.", + "type": "boolean" + }, "isCommonWord": { "description": "Common words E.g.: center, park, etc.", "type": "boolean" @@ -63396,7 +63784,7 @@ "type": "object" }, "MediaIndexRegion": { - "description": "Metadata associated with a region in an image. NEXT_ID: 13", + "description": "Metadata associated with a region in an image. NEXT_ID: 14", "id": "MediaIndexRegion", "properties": { "boundingBox": { @@ -63464,6 +63852,9 @@ }, "starburstV4": { "$ref": "ImageContentStarburstVersionGroup" + }, + "starburstV5": { + "$ref": "ImageContentStarburstVersionGroup" } }, "type": "object" @@ -63882,6 +64273,10 @@ "description": "Tidbit token rendered in generating snippet/title.", "id": "MustangSnippetsRenderedToken", "properties": { + "bolded": { + "description": "Is the rendered token bolded (insided )", + "type": "boolean" + }, "byteOffsetBegin": { "description": "Byte offset range in the rendered text that corresponds to this token. [byte_offset_begin, byte_offset_end) inclusive", "format": "int32", @@ -63944,144 +64339,6 @@ }, "type": "object" }, - "NewsReconServiceLrsQ2lrs2EntryPayload": { - "description": "Next ID: 7", - "id": "NewsReconServiceLrsQ2lrs2EntryPayload", - "properties": { - "isDailyMoment": { - "type": "boolean" - }, - "isMomentAnyFlavor": { - "description": "DEPRECATED as in: will be removed shortly.", - "type": "boolean" - }, - "isPlannedMoment": { - "type": "boolean" - }, - "lrsTypes": { - "description": "This is meant to hold `LongRunningStory.Type`s only, unfortunately adding an import here causes a circular dependency.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "momentRankingScore": { - "format": "int64", - "type": "string" - }, - "outKgFeatureTypes": { - "description": "LRS-level feature types to be sent as triples to KG. The equivalent KG collection will be added to the LRS topic.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "NewsReconServiceLrsQ2lrs2QueryToLrsDataset": { - "id": "NewsReconServiceLrsQ2lrs2QueryToLrsDataset", - "properties": { - "entries": { - "description": "At most one entry per (LRS, algo version) pair.", - "items": { - "$ref": "NewsReconServiceLrsQ2lrs2QueryToLrsEntry" - }, - "type": "array" - }, - "timeMillis": { - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "NewsReconServiceLrsQ2lrs2QueryToLrsEntry": { - "description": "Each entry is specific to one LRS, and contains all the information required for matching a query with the LRS. For example: entries { lrs { mid: \"/m/2024WakandaSenateElection\" } qref_entities { mid: \"/m/election\" # The general concept of election debug_index: 0 } qref_entities { mid: \"/m/senate\" debug_index: 1 } qref_entities { mid: \"/m/wakanda\" debug_index: 2 } qref_entities { mid: \"/m/WakandaSenate\" debug_index: 3 } qref_entities { mid: \"/m/2024\" # The year 2024 debug_index: 4 } patterns { pattern: \"TT***\" only_in { regions: \"WK\" # BCP-47 region code for Wakanda } } patterns { pattern: \"TTT**\" } patterns { pattern: \"T**T*\" } algo_version: 7 } The characters in every pattern string match the `qref_entities` pairwise. For example, in the pattern \"TT***\", the first T corresponds to the entity /m/election, the second T to /m/senate, the first star to /m/wakanda. A query matches a pattern if all the entities marked as T (== required) are found by QRef. If QRef also finds entities marked as star (== optional), those entities will be consumed in the LRS interpretation and added to the `QueryToLrsInterpretation.consumed_qref_mids` field. A query matches an entry if either: - QRef found the LRS entity itself in the query. This is the best-case scenario, it happens when the name of the event is well defined (for example \"brexit\") and the query mentions it explicitly; - the query matches any of the patterns defined in the entry. Next id: 8", - "id": "NewsReconServiceLrsQ2lrs2QueryToLrsEntry", - "properties": { - "algoVersion": { - "description": "The value of a `AlgoVersion.Enum` constant.", - "format": "int32", - "type": "integer" - }, - "entryIndex": { - "description": "Index of the entry in the list of entries. This does not need to be populated in the dataset which is written to disk.", - "format": "int32", - "type": "integer" - }, - "internalPayload": { - "$ref": "NewsReconServiceLrsQ2lrs2EntryPayload" - }, - "lrs": { - "$ref": "NewsReconServiceLrsQ2lrs2QueryToLrsEntryEntity" - }, - "patterns": { - "items": { - "$ref": "NewsReconServiceLrsQ2lrs2QueryToLrsEntryPattern" - }, - "type": "array" - }, - "qrefEntities": { - "items": { - "$ref": "NewsReconServiceLrsQ2lrs2QueryToLrsEntryEntity" - }, - "type": "array" - } - }, - "type": "object" - }, - "NewsReconServiceLrsQ2lrs2QueryToLrsEntryEntity": { - "description": "Next id: 7", - "id": "NewsReconServiceLrsQ2lrs2QueryToLrsEntryEntity", - "properties": { - "debugIndex": { - "format": "int32", - "type": "integer" - }, - "debugName": { - "type": "string" - }, - "encodedMid": { - "description": "This does not need to be populated in the dataset which is written to disk.", - "format": "uint64", - "type": "string" - }, - "mid": { - "type": "string" - } - }, - "type": "object" - }, - "NewsReconServiceLrsQ2lrs2QueryToLrsEntryLocaleRestrict": { - "description": "A locale satisfies the restrict if there is any match.", - "id": "NewsReconServiceLrsQ2lrs2QueryToLrsEntryLocaleRestrict", - "properties": { - "regions": { - "description": "BCP-47 region codes, e.g. \"US\". There is a match if the user's locale `.region_subtag()` is found in this set, e.g. the user's locale is \"es-US\".", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "NewsReconServiceLrsQ2lrs2QueryToLrsEntryPattern": { - "id": "NewsReconServiceLrsQ2lrs2QueryToLrsEntryPattern", - "properties": { - "onlyIn": { - "$ref": "NewsReconServiceLrsQ2lrs2QueryToLrsEntryLocaleRestrict", - "description": "If set, the pattern only applies if the locale satisifes the restrict." - }, - "pattern": { - "description": "A string containing N characters, where each character is 'T' (required) or '*' (optional), and N is the size of `qref_entities`. Characters match QRef entities pairwise.", - "type": "string" - } - }, - "type": "object" - }, "NlpLoggingQRewriteClientCallPathInfo": { "description": "The proto that holds the complete call path info of the QRewrite client (e.g. the QUS's phase like \"RBT\",\"QBT\"; the QUS's candidate type like \"Identity\"; and the ACE's candidate type like \"FuzzyMatcher\"). Next ID: 5 ACE tags", "id": "NlpLoggingQRewriteClientCallPathInfo", @@ -68959,6 +69216,11 @@ "The perception models believe it is likely, but not certain that the user has finished expressing their thought. This signal as a lower latency and lower precision than the COMPLETE status." ], "type": "string" + }, + "textCompletenessProbability": { + "description": "Completeness probability as calculated by the parser's completeness layer.", + "format": "float", + "type": "number" } }, "type": "object" @@ -69358,11 +69620,13 @@ "chargingSpeed": { "enum": [ "UNKNOWN_CHARGING_SPEED", - "FAST_CHARGING_SPEED" + "FAST_CHARGING_SPEED", + "VERY_FAST_CHARGING_SPEED" ], "enumDescriptions": [ "", - "" + "", + "Very fast definition : go/very-fast-speed-qbf-evcs" ], "type": "string" } @@ -71318,7 +71582,8 @@ "VIDEO_GAME", "DIRECTOR", "ACTOR", - "MOVIE_SERIES" + "MOVIE_SERIES", + "APP" ], "enumDescriptions": [ "", @@ -71358,7 +71623,8 @@ "A video game (e.g. \"Skyrim\"). Note(shohs): As of Q4'18, this content type is not supported as a top-level content type to fulfill a query; rather, it is only used at the entity level to support queries such as \"play Skyrim soundtrack\".", "TV or film director. (e.g. \"James Cameron\").", "Actor: TV, film actor etc. (e.g. \"Tom Cruise\").", - "Movie series. (e.g. \"Home Alone\")." + "Movie series. (e.g. \"Home Alone\").", + "Used for App." ], "type": "string" }, @@ -75981,6 +76247,12 @@ "GPAY_RELEASE_OPS", "SKILLSSTACK", "WHOSTORY", + "BETTANY", + "BASECAMP", + "CULTURE_EVENTS_CALENDAR", + "DATABRIDGE_CONSOLE", + "COMMSTAR", + "CDDB", "DEPRECATED_QUICKSTART_FLUME", "DUO_CLIENT", "ALBERT", @@ -76368,7 +76640,7 @@ "OnTheGo app. http://go/onthego Team contact: otg-eng@google.com", "Google AdSense app. Team contact: publisher-android-app@google.com", "Project Fi app. http://go/nova-eng Team contact: tycho-atlas@google.com", - "Karma team's Jam app. http://go/jam Team contact: karma-eng@google.com", + "Jamboard app. http://go/jamnpard-eng Team contact: jamboard-eng@google.com", "Huddle app. http://go/huddle Team contact: huddle-eng@google.com", "Chauffeur Car app. http://go/chauffeur Team contact: chauffeur-ux-eng@google.com", "Tailormade app. http://go/tailormade Team contact: tailormade-eng@google.com", @@ -76403,7 +76675,7 @@ "Supply Chain Central http://go/scc-site Team contact: scc-infra@google.com", "Paisa app http://go/paisa Team contact: paisa-eng@google.com", "SandClock app http://go/sandclock Team contact: sandclock-eng@google.com", - "Account Settings Mobile http://go/asm Team contact: myaccount-mobile-eng@google.com", + "My Google Account http://go/my-google Team contact: my-google-eng@google.com", "The telephony application! Contact voice-team@ or voice-fe@", "Wing Marketplace http://go/xwma Team contact: wing-commerce-mobile-team@google.com", "Chime http://go/chime Team contact: chime-team@google.com", @@ -76609,6 +76881,12 @@ "Gpay Release Ops Team contact: gpay-release-ops@google.com", "Skillsstack Team contact:", "Whostory Team contact: whostory@google.com", + "Bettany Team contact: bettany-eng@google.com", + "Basecamp Team contact: hardware-ml-infra@google.com", + "CULTURE_EVENTS_CALENDAR Team contact: culture-events-calendar@google.com", + "Databridge Console Team contact: databrige-eng@google.com", + "Commstar Team contact: mdb.commstar-dev@google.com", + "Cddb Team contact: cddb-dev-team@google.com", "", "Duo Client Team contact: duo-eng@google.com", "Project albert (go/albert-frontend) Team contact: albert-eng@google.com", @@ -76875,7 +77153,7 @@ "type": "object" }, "PerDocData": { - "description": "=========================================================================== # Make sure you read the comments in the bottom before you add any new field. NB: As noted in the comments, this protocol buffer is used in both indexing and serving. In mustang serving implementations we only decode perdocdata during the search phase, and so this protocol should only contain data used during search. See mustang/repos_www/attachments.proto:{MustangBasicInfo,MustangContentInfo} for protocols used during search and/or docinfo. Next available tag deprecated, use this (and look for commented out fields): blaze-bin/net/proto_compiler/protocol-compiler --freetags \\ indexer/perdocdata/perdocdata.proto Next tag: 218", + "description": "=========================================================================== # Make sure you read the comments in the bottom before you add any new field. NB: As noted in the comments, this protocol buffer is used in both indexing and serving. In mustang serving implementations we only decode perdocdata during the search phase, and so this protocol should only contain data used during search. See mustang/repos_www/attachments.proto:{MustangBasicInfo,MustangContentInfo} for protocols used during search and/or docinfo. Next available tag deprecated, use this (and look for commented out fields): blaze-bin/net/proto_compiler/protocol-compiler --freetags \\ indexer/perdocdata/perdocdata.proto Next tag: 219", "id": "PerDocData", "properties": { "BlogData": { @@ -76986,10 +77264,6 @@ "format": "int32", "type": "integer" }, - "ScienceData": { - "$ref": "SciencePerDocData", - "description": "science data - used only in scholar index" - }, "SpamWordScore": { "description": "The spamword score is represented in 7-bits, going from 0 to 127.", "format": "int32", @@ -77354,6 +77628,10 @@ "$ref": "SpamMuppetjoinsMuppetSignals", "description": "Contains hacked site signals which will be used in query time joins. As of Oct'19, the field is stored in a separate corpus. It'll only be populated for in-flight requests between retrieve and full-score in perdocdata. So no extra storage is needed on muppet side." }, + "spambrainData": { + "$ref": "SpamBrainData", + "description": "Site level scores coming from spambrain." + }, "spambrainTotalDocSpamScore": { "description": "The document total spam score identified by spambrain, going from 0 to 1.", "format": "float", @@ -78281,7 +78559,7 @@ "e.g. single family dwelling, office building.", "e.g. suite, room, hallway, cubicle.", "A terminal point represents a good location for a user to meet a taxi, ridesharing vehicle, or general driver.", - "An area controlled in some way by an authoritative source, such as a government-designated COVID containment zone. Features of this type should have one or more gcids corresponding to their specific regulation.", + "An area controlled in some way by an authoritative source, such as a government-designated COVID containment zone or an area under government sanctions. Features of this type should have one or more gcids corresponding to their specific regulation, and client handling of these features may vary based on the type of regulation.", "A grouping of TYPE_BORDER features (\"border segments\"), which together represent a border between two features of the same type.", "DEPRECATED", "A feature of completely unknown type. This should only be used when absolutely necessary. One example in which this type is useful is in the Chinese importer, which must heuristically segment addresses into components - it often does not know what types to make those components. Please note that the Oyster address formatter does not currently support address components of TYPE_UNKNOWN well." @@ -78383,6 +78661,11 @@ "format": "int64", "type": "string" }, + "loopCount": { + "description": "The number of times the animation plays. If 0, the animation will loop indefinitely. If positive, this number includes the initial playthrough. For example, a value of 3 means that each frame is shown 3 times.", + "format": "int32", + "type": "integer" + }, "numFrames": { "format": "int64", "type": "string" @@ -80553,18 +80836,9 @@ "type": "object" }, "PtokenPToken": { - "description": "PToken expresses policy-relevant properties of the data objects being processed and stored in Google's production systems. See go/ptoken to learn more. Next ID: 8", + "description": "PToken expresses policy-relevant properties of the data objects being processed and stored in Google's production systems. See go/ptoken to learn more. PTokens are intentionally opaque: go/ptokens-are-opaque. The following should be considered implementation details. Next ID: 8 INTERNAL: If both the Scalar and the Compound extensions are populated, we use the Compound and discard the Scalar. In principle, this should never happen.", "id": "PtokenPToken", - "properties": { - "compoundPtokenData": { - "format": "byte", - "type": "string" - }, - "ptokenData": { - "format": "byte", - "type": "string" - } - }, + "properties": {}, "type": "object" }, "QualityActionsAppInfo": { @@ -81119,8 +81393,6 @@ "PERSONAL_INTELLIGENCE_NOTIFICATION", "PERSONAL_INTELLIGENCE_LIVE_CARD", "LENS_REMINDER", - "AUTOBOT_TRANSACTION", - "AUTOBOT_CSAT", "IQS_NOTIFICATION", "ASSISTANT_SURVEY", "ASSISTANT_SURVEY_IMPORTANCE_MIN", @@ -81522,8 +81794,6 @@ "", "", "", - "", - "", "Notification for HomeIntelligenceService(IQS) go/iqs-notification-sink", "", "Deprecated! use ASSISTANT_SURVEY_PRIORITY_LOW Similar to ASSISTANT_SURVEY but used by Android TV to set android_tv_importance to IMPORTANCE_MIN.", @@ -82222,7 +82492,8 @@ "NEW_RELEASE", "IAP_SKU_SALE", "OFFER", - "IAP_SKU_DEALS" + "IAP_SKU_DEALS", + "FEATURED_PRODUCTS" ], "enumDescriptions": [ "", @@ -82230,14 +82501,15 @@ "Sale - Time limited discount.", "Event - A time limited event available in the game or app.", "Crossover, also known as IP collaboration in JP - This is an event involving a collaboration IP.", - "Pre-registration update - announcement for pre-reg apps.", + "Pre-registration update - announcement for pre-reg apps. Note that this maps to a subtype of Major Update in the Play Console UI.", "Loyalty LiveOps event. E.g. special points earn promotion etc.", "First party promotions funded by Play.", "Sale events auto-generated by Play for apps on sale, rather than a sale event as declared through PDC.", "Events for major new app releases. Auto-generated by the recommendations backend.", "Sale events generated by sku config, rather than a sale event as declared through PDC.", "Offer - see offer types below for the types. go/liveops-config-deals", - "Out-of-app purchasable in-app promotions funded by Play." + "Out-of-app purchasable in-app promotions funded by Play.", + "Out-of-app purchasable in-app products, configured by developers through Play Console. go/store-content-featured_product-prd go/featured-in-app-products-pc-dd, go/featured-products-serving-dd" ], "type": "string" }, @@ -82332,6 +82604,39 @@ }, "type": "object" }, + "QualityCalypsoAppsUniversalImage": { + "id": "QualityCalypsoAppsUniversalImage", + "properties": { + "fifeUrl": { + "type": "string" + }, + "height": { + "format": "int32", + "type": "integer" + }, + "width": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "QualityCalypsoAppsUniversalImageData": { + "id": "QualityCalypsoAppsUniversalImageData", + "properties": { + "featureGraphic": { + "$ref": "QualityCalypsoAppsUniversalImage", + "description": "aka. promotional image / cover image." + }, + "screenshot": { + "items": { + "$ref": "QualityCalypsoAppsUniversalImage" + }, + "type": "array" + } + }, + "type": "object" + }, "QualityCopiaFireflySiteSignal": { "description": "Proto message containing site-level signal for search stack. Because firefly_stats.proto depends on \"//segindexer:compositedoc_proto\", we cannot make perdocdata contain it.", "id": "QualityCopiaFireflySiteSignal", @@ -84049,7 +84354,7 @@ "type": "object" }, "QualityNsrNsrData": { - "description": "NOTE: When adding a new field to be propagated to Raffia check if NsrPatternSignalSpec needs to be updated. Next ID: 50", + "description": "NOTE: When adding a new field to be propagated to Raffia check if NsrPatternSignalSpec needs to be updated. Next ID: 51", "id": "QualityNsrNsrData", "properties": { "articleScore": { @@ -84148,6 +84453,10 @@ "format": "float", "type": "number" }, + "nsrEpoch": { + "description": "The epoch from which this NSR value is coming from.", + "type": "string" + }, "nsrOverrideBid": { "description": "This signal is used to unconditionally override NSR as a bid in Q*. Should only be used in case of emergency (see go/nsr-override-bid). To have any effect, the value should be present and greater than 0.001.", "format": "float", @@ -84299,12 +84608,46 @@ "type": "object" }, "QualityNsrNsrDataMetadata": { - "description": "Contains meta information about this data.", + "description": "Contains meta information about this data. This field is only available in docjoins (and potentially MDU shards), it is not populated offline. NOTE: This is a new field (Nov 2022) and we do not want clients to depend on this; please contact qscore-team@ if you want to use this information.", "id": "QualityNsrNsrDataMetadata", "properties": { - "raffiaLookupKey": { - "description": "This is an internal field set by Raffia, to indicate which lookup key this record belonged to. This is helpful in determining where the final data is coming from, as we don't populate `site_chunk` fields offline (at all), so we cannot distinguish if data is coming from host fallback, secondary chunks or something else.", + "encodedLookupInformation": { + "description": "Encoded lookup information. The fields set above are expensive to store. Storing them in docjoins is fine, but we cannot store them in MDU shards. In order for the MDU shards to display field provenance information, we store them as a bitfield. For details about the encoding and decoding scheme, see quality_nsr::util::EncodeMetadataLookupInformation. We expect this to occupy 8 bytes as long as there are less than 64 fields in NsrData proto, 12 bytes between 64 and 92 fields, etc.", + "format": "byte", "type": "string" + }, + "goldmineLookupKeyPerField": { + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "description": "Same as raffia_lookup_key_per_field. Note that the goldmine_lookups have priority; if a field appears in both goldmine and raffia entries, it means it was taken from goldmine. If it's missing here but present in raffia_lookup_key_per_field, it was taken from raffia.", + "type": "object" + }, + "goldmineLookupKeys": { + "description": "The lookup keys attempted by goldmine. Note that goldmine only runs for urls which can be chunked differently than raffia; in those cases, goldmine related fields are empty.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raffiaLookupKey": { + "type": "string" + }, + "raffiaLookupKeyPerField": { + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "description": "Returns the raffia lookup key per each field in the NsrData proto (with exclusion of the Metadata sub-message (i.e. this)). It contains information like 3 : 1, meaning that the field inside NsrData with id '3' (in this case 'host') has been taken by raffia from the raffia lookup key at index 1.", + "type": "object" + }, + "raffiaLookupKeys": { + "description": "This is an internal field set by Raffia, to indicate which lookup keys have been attempted to populate the NsrData for this document. This will allow us to determine which key has been used to populate each field in the proto. The keys are ordered by lookup priority; raffia will give priority to earlier keys, and only take fields from later keys if they are missing.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -84966,17 +85309,19 @@ "type": "object" }, "QualityPreviewRanklabSnippet": { - "description": "Snippet candidate related information and signal scores. Next ID: 11", + "description": "Snippet candidate related information and signal scores. This message is used for both snippet scoring and ranklab features recording. Next ID: 12 ================== Features populated in production =======================", "id": "QualityPreviewRanklabSnippet", "properties": { "brainFeatures": { - "$ref": "QualityPreviewSnippetBrainFeatures" + "$ref": "QualityPreviewSnippetBrainFeatures", + "description": "Features from SnippetFlow in Superroot." }, "documentFeatures": { "$ref": "QualityPreviewSnippetDocumentFeatures" }, "experimentalFeatures": { - "$ref": "QualityPreviewSnippetExperimentalFeatures" + "$ref": "QualityPreviewSnippetExperimentalFeatures", + "description": "For experimental usage, not populated yet." }, "finalScore": { "description": "The final score of this candidate.", @@ -85002,6 +85347,10 @@ "$ref": "QualityPreviewSnippetQueryTermCoverageFeatures", "description": "Query term (including synonyms) coverage features." }, + "radishFeatures": { + "$ref": "QualityPreviewSnippetRadishFeatures", + "description": "Radish related information." + }, "snippetInfo": { "$ref": "QualityPreviewChosenSnippetInfo", "description": "Information to identify current chosen snippet." @@ -86063,6 +86412,7 @@ "id": "QualityQrewriteCandidateIdField", "properties": { "index": { + "description": "If needed, a servlet can use this field to assign an ID to distinguish between different candidates of the same CandidateType.", "format": "int32", "type": "integer" }, @@ -87008,9 +87358,9 @@ "V4_2", "V5", "V5_1", + "V5_2", "V1_BODYONLY", "V2_BODYONLY", - "RENAME_ME_TO_ADD_NEW_ENUM_15", "RENAME_ME_TO_ADD_NEW_ENUM_16", "RENAME_ME_TO_ADD_NEW_ENUM_17", "RENAME_ME_TO_ADD_NEW_ENUM_18", @@ -87019,7 +87369,8 @@ "RENAME_ME_TO_ADD_NEW_ENUM_21", "RENAME_ME_TO_ADD_NEW_ENUM_22", "RENAME_ME_TO_ADD_NEW_ENUM_23", - "RENAME_ME_TO_ADD_NEW_ENUM_24" + "RENAME_ME_TO_ADD_NEW_ENUM_24", + "RENAME_ME_TO_ADD_NEW_ENUM_25" ], "enumDescriptions": [ "In case an old binary doesn't know a recently added version.", @@ -87035,6 +87386,7 @@ "ariane/4031318). Lyrebird V4.2: Salient Terms V4.2 (ariane/4057245)", "Lyrebird V5: Salient Terms V5 (ariane/4076831)", "Lyrebird V5.1: Salient Terms V5.1 (ariane/4144754)", + "Lyrebird V5.2: Salient Terms V5.2 (ariane/4218250)", "Lyrebird BodyOnly V1.", "Experimental version of Lyrebird BodyOnly V2.", "Dummy enum values to be renamed when a new enum value is needed. Note that this is a requirement from go/cds-schema-council. If you rename one of these enum values, be sure to add (at least one) more below.", @@ -87512,7 +87864,7 @@ "type": "object" }, "QualityShoppingShoppingAttachmentPBlock": { - "description": "Next ID: 15", + "description": "Next ID: 18", "id": "QualityShoppingShoppingAttachmentPBlock", "properties": { "fullTitle": { @@ -87650,6 +88002,11 @@ "$ref": "QualityRankembedMustangMustangRankEmbedInfo" }, "type": "array" + }, + "weakGlobalProductClusterId": { + "description": "Matched/Inferred weak product identity - set only if the global_product_cluster_id is missing", + "format": "uint64", + "type": "string" } }, "type": "object" @@ -88033,9 +88390,60 @@ }, "type": "object" }, + "QualitySnippetsTruncationSnippetBoldedRange": { + "description": "A bolded range in printed snippet lines.", + "id": "QualitySnippetsTruncationSnippetBoldedRange", + "properties": { + "begin": { + "$ref": "QualitySnippetsTruncationSnippetBoldedRangePosition", + "description": "Bolded range [begin, end)" + }, + "end": { + "$ref": "QualitySnippetsTruncationSnippetBoldedRangePosition" + }, + "text": { + "description": "Only populated for debugging.", + "type": "string" + }, + "type": { + "enum": [ + "TYPE_UNSPECIFIED", + "QUERY_TERM_MATCH", + "RADISH", + "BRAIN" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "QualitySnippetsTruncationSnippetBoldedRangePosition": { + "id": "QualitySnippetsTruncationSnippetBoldedRangePosition", + "properties": { + "byteOffset": { + "format": "int32", + "type": "integer" + }, + "index": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "QualityTimebasedLastSignificantUpdate": { "id": "QualityTimebasedLastSignificantUpdate", "properties": { + "adjustmentInfo": { + "$ref": "QualityTimebasedLastSignificantUpdateAdjustments", + "description": "This is stored only for debugging purposes. Please consult dates@ team before making a dependency on this field." + }, "date": { "description": "LastSignificantUpdate as UNIX timestamp in seconds. This is the new signal (go/lsu-dd) from LSU Selector V2 (once that is enabled, see b/171879888 for status), falling back to the legacy V1 signal if the V2 signal does not exist. Please use the 'source' field to determine where the value comes from.", "format": "int64", @@ -88078,6 +88486,76 @@ }, "type": "object" }, + "QualityTimebasedLastSignificantUpdateAdjustments": { + "id": "QualityTimebasedLastSignificantUpdateAdjustments", + "properties": { + "adjustmentSource": { + "description": "If the selected LSU has been adjusted, i.e. the maximum passage timestamp, firstseen or contentage were assigned to LSU, the adjustment source is stored here.", + "enum": [ + "UNSET", + "PASSAGE_TIMESTAMP", + "FIRSTSEEN", + "CONTENT_AGE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "isUpperboundTimestampPrecise": { + "description": "The timestamp is precise when it's derived from existing (>March 2022) passage timestamp.", + "type": "boolean" + }, + "unboundedTimestampInSeconds": { + "description": "The timestamp that was picked up by the component indicated in the LastSignificantUpdateSource but was dropped due to exceeding the upper bound. Set only if it's not equal to final LSU.", + "format": "int64", + "type": "string" + }, + "unboundedTimestampSource": { + "description": "The source that produced the unbounded timestamp.", + "enum": [ + "UNSET", + "LSU_V1", + "LSU_V2_UPDATE_MARKUP_SUPPORTED_BY_CONTENTAGE", + "LSU_V2_UPDATE_MARKUP_SUPPORTED_BY_ANNOTATION", + "LSU_V2_ANNOTATION_WITH_UPDATE_TAG", + "LSU_V2_PUBLICATION_MARKUP_SUPPORTED_BY_CONTENTAGE", + "LSU_V2_PUBLICATION_MARKUP_SUPPORTED_BY_ANNOTATION", + "LSU_V2_ANNOTATION_WITH_PATTERN_BYLINE_TAG", + "LSU_V2_RELIABLE_CONTENT_AGE_SUPPORTED_BY_ANNOTATION", + "LSU_MEDIUM_PRECISION_FRESH_SALIENT_ANNOTATION_LOW_SUPPORT", + "LSU_MEDIUM_PRECISION_FRESH_SALIENT_ANNOTATION_MEDIUM_SUPPORT", + "LSU_MEDIUM_PRECISION_FRESH_SALIENT_ANNOTATION_HIGH_SUPPORT", + "LSU_MEDIUM_PRECISION_FRESH_SALIENT_ANNOTATION_FULL_SUPPORT" + ], + "enumDescriptions": [ + "", + "The signal from legacy selector (quality/timebased/lastsignificantupdate/lsu-selector.h). It's a fallback for clients relying on ~100% recall of the signal.", + "The signal comes from update markup date supported by ContentAge.", + "The signal comes from update markup date supported by annotation.", + "The signal comes from date annotation representing update date of a page.", + "The signal comes from publication markup date supported by ContentAge.", + "The signal comes from publication markup date supported by annotation.", + "The signal comes from date annotation often selected as a byline.", + "The signal comes from ContentAge that's supported by date annotation.", + "", + "", + "", + "" + ], + "type": "string" + }, + "upperboundTimestampInSeconds": { + "description": "The upperbound value derived from passage timestamps. If present, the LSU date should never exceed this value. Design doc: go/lsu-max-passage-timestamp", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "QualityTimebasedOldnessInfo": { "id": "QualityTimebasedOldnessInfo", "properties": { @@ -89044,7 +89522,7 @@ "type": "object" }, "RepositoryAnnotationsRdfaRdfaRichSnippetsApplication": { - "description": "This structure holds data for application information for rich snippets Next ID: 51", + "description": "This structure holds data for application information for rich snippets Next ID: 53", "id": "RepositoryAnnotationsRdfaRdfaRichSnippetsApplication", "properties": { "appTypeData": { @@ -89124,6 +89602,10 @@ "iconUrlThumbnail": { "type": "string" }, + "imageData": { + "$ref": "QualityCalypsoAppsUniversalImageData", + "description": "Copied from google3/contentads/shared/boulder/mobile-app-data-image-data.proto." + }, "inAppPurchase": { "description": "Whether the app offers in-app purchase.", "type": "boolean" @@ -89143,6 +89625,9 @@ "$ref": "QualityCalypsoAppsUniversalAuLiveOpsDetailInfo", "description": "Unified proto for android LiveOps and iOS LiveEvents." }, + "localizedTrustedGenome": { + "$ref": "RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationLocalizedTrustedGenome" + }, "marketplace": { "description": "Market Android or itunes", "type": "string" @@ -89227,6 +89712,7 @@ "type": "string" }, "screenUrlHref": { + "description": "TODO(b/260128276) deprecate this field in favor of image_data.", "items": { "type": "string" }, @@ -89315,6 +89801,20 @@ }, "type": "object" }, + "RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationLocalizedTrustedGenome": { + "id": "RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationLocalizedTrustedGenome", + "properties": { + "language": { + "description": "The chosen language", + "type": "string" + }, + "localizedTg": { + "$ref": "VendingConsumerProtoTrustedGenomeAnnotation", + "description": "The TG tags matching the locale of the doc, if available" + } + }, + "type": "object" + }, "RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationRank": { "id": "RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationRank", "properties": { @@ -90069,11 +90569,6 @@ "format": "float", "type": "number" }, - "newConfidenceExperimentalDontUse": { - "description": "Experimental. This is used for doing experiments only. For example, new entity confidence can be populated here to experiment with replacing the one re-computed by NewAnnotationConfidence().", - "format": "float", - "type": "number" - }, "newsTopicalityScore": { "description": "DEPRECATED: this field is no longer set. As of early June 2018 it is referenced in hundreds of test files and is difficult to remove from the code base.", "format": "float", @@ -90777,9 +91272,6 @@ }, "type": "array" }, - "nameSignals": { - "$ref": "RepositoryWebrefPreprocessingNameSignals" - }, "refconNameInfo": { "description": "Contains names and names metadata used by Refcon.", "items": { @@ -91884,17 +92376,19 @@ "FEMALE", "ASPECT", "TARGET_AUDIENCE", - "TARGET_PURPOSE" + "TARGET_PURPOSE", + "SETTING_BY_LOCATION" ], "enumDescriptions": [ "", "A range that is an adjectival expression referring to a base entity.", - "An adjectival range is expressed in the superlaive degree.", + "An adjectival range is expressed in the superlative degree.", "A range which is lexically plural.", "A range expressing unequivocally a (semantic) female gender. This could be for expressions that are intrinsically female (\"aunt\") or the female expression of an entity that is lexically gendered (\"chairwoman\" as opposed to \"chairman\" or \"chairperson\").", "The range designates an aspect, that is, a modifier of some other range.", "Facets.", - "" + "", + "End of facets. This line marks where to generate new values for facets." ], "type": "string" }, @@ -92012,8 +92506,10 @@ "FEMININE_HONORIFIC", "GENERIC_HONORIFIC", "NEGATIVE_SUPERLATIVE", + "SUPERLATIVE", "FACET_AUDIENCE", - "FACET_PURPOSE" + "FACET_PURPOSE", + "FACET_SETTING_BY_LOCATION" ], "enumDescriptions": [ "", @@ -92066,8 +92562,10 @@ "Feminine Honorific markers.", "Non-specific Honorifc markers.", "", + "", "Facets.", - "" + "", + "End of facets. This line marks where to generate new values for facets." ], "type": "string" } @@ -92352,9 +92850,6 @@ }, "type": "array" }, - "queryToLongRunningStoryDataset": { - "$ref": "NewsReconServiceLrsQ2lrs2QueryToLrsDataset" - }, "resolutionPriority": { "description": "Undergoing migration into the PerVertical message. Avoid using it. Resolution priority for this entity. In case a query has many possible resolutions, only the ones with the highest resolution priority are annotated.", "format": "int32", @@ -92433,20 +92928,14 @@ "PRODUCTS", "SYMPTOMS", "CHAINS", - "SYMPTOMS_PATTERN", "MOVIES", "SPORTS_TEAM", "EXAMS", "MOTORCYCLES", - "TOURNAMENTS", "PRIMEREF", "SONGS", - "AWARDS", "EDUCATION", - "EVENTS", - "OLYMPICS", - "BIG_MOMENTS", - "DISASTERS" + "EVENTS" ], "enumDescriptions": [ "", @@ -92462,12 +92951,6 @@ "", "", "", - "", - "", - "", - "", - "", - "", "" ], "type": "string" @@ -92822,17 +93305,13 @@ "RATING_SOURCE_UNKNOWN", "RATING_SOURCE_EWOK", "RATING_SOURCE_SAFT_GOLDEN", - "RATING_SOURCE_CROWDCOMPUTE", - "RATING_SOURCE_CROWDCOMPUTE_RERATING", - "RATING_SOURCE_GOLDEN" + "RATING_SOURCE_CROWDCOMPUTE" ], "enumDescriptions": [ "", "", "", - "", - "", - "Ratings by WebRef engineers." + "" ], "type": "string" }, @@ -93096,18 +93575,6 @@ ], "type": "string" }, - "deprecatedItemId": { - "format": "int32", - "type": "integer" - }, - "deprecatedProjectId": { - "format": "int32", - "type": "integer" - }, - "deprecatedTaskId": { - "format": "int32", - "type": "integer" - }, "displayString": { "description": "How this rating is displayed in the evals, pre-computed from the other fields.", "type": "string" @@ -93116,16 +93583,10 @@ "description": "The url of the ewok task that resulted in this rating. Example: https://furball.corp.google.com/project/view-item?itemId=1&projectId=2", "type": "string" }, - "itemDescription": { - "type": "string" - }, "itemId": { "format": "uint64", "type": "string" }, - "language": { - "type": "string" - }, "pageIsAboutChain": { "description": "If the topic is about a business chain, whether the", "enum": [ @@ -93146,11 +93607,8 @@ ], "type": "string" }, - "pageNotLoaded": { - "description": "If true, content_relevance is set to NONE.", - "type": "boolean" - }, "projectId": { + "description": "Metadata for task-level ratings. Not filled for aggregated doc-level ratings. ", "format": "uint64", "type": "string" }, @@ -93158,11 +93616,6 @@ "description": "Whether rater can understand the topic.", "type": "boolean" }, - "ratingScore": { - "description": "Floating point representation of the `content_relevant` field.", - "format": "double", - "type": "number" - }, "taskDetails": { "$ref": "RepositoryWebrefTaskDetails" }, @@ -93170,18 +93623,6 @@ "format": "uint64", "type": "string" }, - "taskStatus": { - "type": "string" - }, - "taskUser": { - "format": "int32", - "type": "integer" - }, - "templateId": { - "description": "Metadata for task-level ratings. Not filled for aggregated doc-level ratings. ", - "format": "int32", - "type": "integer" - }, "topicIsChain": { "description": "Whether the topic is about a business chain.", "enum": [ @@ -93212,33 +93653,18 @@ "format": "uint64", "type": "string" }, - "docLevelRating": { - "$ref": "RepositoryWebrefPerDocRelevanceRating" - }, "entityNameRating": { "items": { "$ref": "RepositoryWebrefEntityNameRatings" }, "type": "array" }, - "listMembership": { - "items": { - "$ref": "RepositoryWebrefToprefListMembership" - }, - "type": "array" - }, "mentionRating": { "items": { "$ref": "RepositoryWebrefMentionRatings" }, "type": "array" }, - "pageClassification": { - "items": { - "$ref": "RepositoryWebrefToprefPageClassification" - }, - "type": "array" - }, "taskLevelRating": { "items": { "$ref": "RepositoryWebrefPerDocRelevanceRating" @@ -93405,34 +93831,6 @@ }, "type": "object" }, - "RepositoryWebrefPreprocessingNameSignals": { - "description": "If you add any field, make sure to add it in reffresh to the empty checks at the end of the corresponding name extractor processors (extract-*-names.cc).", - "id": "RepositoryWebrefPreprocessingNameSignals", - "properties": { - "normalizedNameData": { - "description": "The set of name candidates and their signals for a given entity.", - "items": { - "$ref": "RepositoryWebrefPreprocessingNormalizedNameData" - }, - "type": "array" - } - }, - "type": "object" - }, - "RepositoryWebrefPreprocessingNameVariantData": { - "description": "Represents a single name with all its signal, like language, sources and confidences.", - "id": "RepositoryWebrefPreprocessingNameVariantData", - "properties": { - "variantSignals": { - "description": "Sources providing this name variant and their metadata. NOTE: by convention we only allow one proto per source.", - "items": { - "$ref": "RepositoryWebrefPreprocessingNameVariantSignals" - }, - "type": "array" - } - }, - "type": "object" - }, "RepositoryWebrefPreprocessingNameVariantSignals": { "description": "Next available tag: 33.", "id": "RepositoryWebrefPreprocessingNameVariantSignals", @@ -93450,17 +93848,10 @@ "KG_ALIAS", "KG_ISBN13", "KG_GTIN", - "KG_PRONUNCIATION", "KG_STOCK_TICKER", "KG_AVIATION", - "KG_CARS", - "KG_AWARDS", - "KG_WEBSITE_DERIVED_NAME", - "KG_BRACKET_STRIPPED_DERIVED_NAME", - "KG_LOCATION_DERIVED_NAME", "KG_TRUSTED_ALIAS", "KG_CHEMICAL_SYMBOL", - "KG_YEAR", "KG_RADIO_STATION", "KG_REVERSE_UNIQUE_PROPERTY", "KG_TRANSIT_STATION_CODE", @@ -93473,10 +93864,7 @@ "ENTITY_NAME_TRANSLATIONS_GENERATOR", "MAPFACTS", "MAPFACTS_PHONENUMBER", - "MAPFACTS_PERSON_NAME_GENERATOR", - "MAPFACTS_PERSON_FIRST_NAME_GENERATOR", "MAPFACTS_STREET_NAME_GENERATOR", - "MAPFACTS_SCORER", "MAPFACTS_FUZZY_PHONENUMBER", "MAPFACTS_NAME_GENERATOR", "MAPFACTS_GEOCODES_ADDRESS_LINES", @@ -93486,91 +93874,42 @@ "MAPFACTS_POSTAL_CODE_WITH_COUNTRY_CODE", "MAPFACTS_TRANSIT_LINE_NAME_GENERATOR", "MAPFACTS_HOUSE_ID", - "COOC", "CDOCS", "CDOCS_ANCHOR", "CDOCS_NAVBOOST", - "CDOCS_WIKIPEDIA", "CDOCS_REFERENCE_PAGE_URL", - "CDOCS_SCORER", - "CDOCS_REFERENCE_PAGE_URL_DERIVED", "WIKIJOINS", - "WIKIJOINS_NICKNAME", "WIKIDATA_AKA", "WIKIDATA_LABEL", - "WIKIJOIN_FRAGMENT_REDIRECT", - "WIKIJOIN_ALIAS", "PRODUCT", "PRODUCT_TITLE", - "PRODUCT_TITLE_VARIATION", - "PRODUCT_QUERY", - "PRODUCT_STRONG_IDENTIFIER", "PRODUCT_MANUFACTURER_PART_NUMBER", "PRODUCT_MODEL_VARIATION", - "PRODUCT_UNTRUSTED", "PRODUCT_COMPANY_OR_BRAND_STRIPPING", "PRODUCT_AGGRESSIVE_STRIP", "PRODUCT_AGGRESSIVE_BRAND_STRIP", - "PER_ENTITY_SCORE_AGGREGATOR", - "PER_ENTITY_SCORE_AGGREGATOR_ENTITY_KEYED", - "PER_ENTITY_SCORE_AGGREGATOR_NAME_KEYED", - "PER_ENTITY_SCORE_AGGREGATOR_FINAL", "SCORER", - "SCORER_BEST_NAME_PICKER", - "SCORER_COMMON_NGRAM_CONCEPT_BOOST", - "SCORER_LEGACY_COMMON_NGRAM_CONCEPT_BOOST", - "SCORER_SYNTACTIC_NAME_PROMOTION", "SCORER_CATEGORICAL_NAME_SUPPRESSOR", - "SCORER_TYPE_BASED_MULTIPLIER", - "SCORER_NAVINESS_GUARANTEE", - "SCORER_SINGLE_LETTER_NAME_DEMOTION", - "SCORER_TRUST_EXTRAPOLATION", - "SCORER_TRUST_DERIVATION", - "SCORER_AWARDS_VERTICAL", "SCORER_BAD_SUBNAME_DEMOTION", "SCORER_YEAR_NAME_DEMOTION", - "SCORER_ENTITY_NAME_RATIO", - "SCORER_COLLECTION_PATTERN", "SCORER_NAME_BLACKLIST", - "SCORER_TOKEN_CLUSTERING", - "SCORER_DEPRECATED_TOKEN_CLUSTERING", "NAME_LEAKAGE_PREVENTION", - "PER_ENTITY_NAME_LEAKAGE_PREVENTION", - "PER_NAME_NAME_LEAKAGE_PREVENTION", - "SPECIFICITY_COMPUTER", "INCOMPATIBLE_NUMBER_DEMOTION", "BAD_STRIPPED_NAME", "BAD_FRINGE_NAME", "BAD_PERSON_NAME", "PERSON_NAME_GENERATOR", "PERSON_NAME_GENERATOR_WITH_INITIALS", - "HEBREW_LOCATION_NAME_INFLECTOR", "INJECTED", - "INJECTED_SHOWTIMES_CHAIN", - "INJECTED_OLYMPICS", - "MINI_COOC", - "MORPHOLOGY", - "LYRICS_TRUSTED_NAME", - "NAME_ANNOTATION_PROCESSOR", - "COMPANY_DERIVED_NAME", "AFFIXED_NAME_GENERATOR", - "AFFIXED_NAME_GENERATOR_TRUSTED", - "BUSINESS_DERIVED_NAME", "BUSINESS_SUFFIX_STRIPPED_NAME", "CHAIN_NAME_GENERATOR", - "DEPRECATED_LOCATION_STRIPPED_NAME", "LOCATION_STRIPPED_NAME", - "LOCATION_STRIPPED_NAVBOOST_NAME", - "PARENT_NAME_GENERATOR", - "PROPAGATE_NAMES", "PUNCTUATION_STRIPPED_NAME", "LEXICON_GENERATOR", - "NAME_SYNONYMS", - "CURATED_NAME", "COMPOUND_NAME", "INDIC_NORMALIZER", "STRIP_FIRST_STOPWORD", - "CONJUNCTION_NORMALIZE", "MIX_CASE_NORMALIZE", "MOVIE_YEAR", "STRIP_IMPLICATION", @@ -93579,15 +93918,11 @@ "STRIP_WIKI", "CIVICS_NAME_GENERATOR", "STRIPPED_THEATER_NAME", - "TRANSLITERATION", "NUMBER_VARIANT_GENERATOR", "PERSONAL_MEDIA_NAME_GENERATOR", - "MRF_INDEXING_NAME", "MRF_INDEXING_NAME_TV_SHOWS", - "MATCH", "MATCH_WITH_MIDDLE_INITIALS", - "COMPOUND_RETRIEVAL_KEY", - "EVENT_RETRIEVAL_KEY" + "COMBINED" ], "enumDescriptions": [ "", @@ -93598,14 +93933,7 @@ "", "", "", - "", - "", - "", - "", - "", - "", - "KG aliases that were manually generated, such as car model years.", - "", + "KG aliases that were manually generated, e.g. SxEy names for TV episodes", "", "", "", @@ -93626,9 +93954,6 @@ "", "", "", - "", - "", - "", "Postal codes with a prefixed country code, e.g. I 39303, A 6604, CH 8005.", "", "", @@ -93639,13 +93964,6 @@ "", "", "", - "Reference page urls stripped of web prefixes.", - "", - "", - "", - "", - "", - "Aliases mined from Wikipedia pages, with sources such as infoboxes and bolded description text.", "", "", "", @@ -93656,24 +93974,6 @@ "", "", "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "For the awards vertical for award categories we only trust names that come from structured data. This way we achieve our precision targets.", - "", "Scorer that checks and kills year-like names.", "", "", @@ -93683,34 +93983,9 @@ "", "", "", - "", - "", - "", - "", - "", - "", - "", - "", "This source is used for names injected in the name pipeline. This injection is a shortcut to get names in the model and should only be used as a temporary solution waiting to either put the names in KG or mine them directly in this pipeline.", "", "", - "Replaceability signals from mini cooc.", - "", - "Names considered trusted as they are found in lyrics.", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", "", "", "", @@ -93729,31 +94004,14 @@ "", "", "Names used for entity retrieval by MRF.", - "", - "Sources marking particular types of matches.", "Name is matched on middle initials.", - "A special key constructed as a combination of multiple items (mids, properties, etc.). Use cases include retrieval of compound entities based on components, potentially MDVC resolution in WebRef.", - "A special key for event retrieval." + "Source indicating a composition of signal sources." ], "type": "string" } }, "type": "object" }, - "RepositoryWebrefPreprocessingNormalizedNameData": { - "description": "Aggregation of all names of an entity that normalize to the same string.", - "id": "RepositoryWebrefPreprocessingNormalizedNameData", - "properties": { - "nameVariantData": { - "description": "Name variants and their signals by source. All these name variants normalize to @normalized_name given their locales. NOTE: This includes metadata aggregated for the normalized name.", - "items": { - "$ref": "RepositoryWebrefPreprocessingNameVariantData" - }, - "type": "array" - } - }, - "type": "object" - }, "RepositoryWebrefPreprocessingOriginalNames": { "id": "RepositoryWebrefPreprocessingOriginalNames", "properties": { @@ -94211,11 +94469,6 @@ "format": "float", "type": "number" }, - "explainedNormalizedTopicality": { - "description": "Fraction of importance_ratio (IR) that is explained by this entity and implied entities. E.g. a page about a song with IR 0.2 for the song and 0.5 for the artist actually has explained_normalized_topicality 0.7 for the song.", - "format": "float", - "type": "number" - }, "firstScore": { "description": "The raw topicality score of the primary entity.", "format": "float", @@ -94240,11 +94493,6 @@ "format": "float", "type": "number" }, - "referencePageSelectionScore": { - "description": "The score used to sort reference pages for a given entity. This score tries to assign higher scores to reference pages that are more useful to the model building.", - "format": "float", - "type": "number" - }, "selected": { "description": "True if the entity is selected as the reference page owner.", "type": "boolean" @@ -94693,151 +94941,6 @@ }, "type": "object" }, - "RepositoryWebrefToprefListMembership": { - "description": "Entity-level classification. Template: experimental/topref/eval_entities/template.jhtml", - "id": "RepositoryWebrefToprefListMembership", - "properties": { - "member": { - "items": { - "$ref": "RepositoryWebrefToprefListMembershipListMember" - }, - "type": "array" - }, - "taskData": { - "$ref": "RepositoryWebrefTaskData" - } - }, - "type": "object" - }, - "RepositoryWebrefToprefListMembershipListMember": { - "id": "RepositoryWebrefToprefListMembershipListMember", - "properties": { - "id": { - "$ref": "RepositoryWebrefWebrefEntityId" - }, - "isMember": { - "enum": [ - "YES_NO_UNSURE_NONE", - "YES", - "NO", - "UNSURE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "RepositoryWebrefToprefPageClassification": { - "description": "Top-level page classification. Template: experimental/topref/eval_main/template.jhtml", - "id": "RepositoryWebrefToprefPageClassification", - "properties": { - "isList": { - "enum": [ - "YES_NO_UNSURE_NONE", - "YES", - "NO", - "UNSURE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "isListTypeCorrect": { - "enum": [ - "YES_NO_UNSURE_NONE", - "YES", - "NO", - "UNSURE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "isRanking": { - "enum": [ - "YES_NO_UNSURE_NONE", - "YES", - "NO", - "UNSURE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "isToplist": { - "enum": [ - "YES_NO_UNSURE_NONE", - "YES", - "NO", - "UNSURE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "listType": { - "description": "A string generated based on the main collection of the list. E.g., /collection/geo/restaurant => \"Restaurants\" retrieved by following the /base/schemastaging/context_name/plural in KG.", - "type": "string" - }, - "ratedTitle": { - "description": "\"repeated\" because we potentially evaluate several (up to 5) title candidates for the page.", - "items": { - "$ref": "RepositoryWebrefToprefPageClassificationRatedTitle" - }, - "type": "array" - }, - "taskData": { - "$ref": "RepositoryWebrefTaskData" - } - }, - "type": "object" - }, - "RepositoryWebrefToprefPageClassificationRatedTitle": { - "id": "RepositoryWebrefToprefPageClassificationRatedTitle", - "properties": { - "isGood": { - "enum": [ - "YES_NO_UNSURE_NONE", - "YES", - "NO", - "UNSURE" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "title": { - "type": "string" - } - }, - "type": "object" - }, "RepositoryWebrefTripleAnnotation": { "id": "RepositoryWebrefTripleAnnotation", "properties": { @@ -95736,7 +95839,7 @@ "e.g. single family dwelling, office building.", "e.g. suite, room, hallway, cubicle.", "A terminal point represents a good location for a user to meet a taxi, ridesharing vehicle, or general driver.", - "An area controlled in some way by an authoritative source, such as a government-designated COVID containment zone. Features of this type should have one or more gcids corresponding to their specific regulation.", + "An area controlled in some way by an authoritative source, such as a government-designated COVID containment zone or an area under government sanctions. Features of this type should have one or more gcids corresponding to their specific regulation, and client handling of these features may vary based on the type of regulation.", "A grouping of TYPE_BORDER features (\"border segments\"), which together represent a border between two features of the same type.", "DEPRECATED", "A feature of completely unknown type. This should only be used when absolutely necessary. One example in which this type is useful is in the Chinese importer, which must heuristically segment addresses into components - it often does not know what types to make those components. Please note that the Oyster address formatter does not currently support address components of TYPE_UNKNOWN well." @@ -97176,6 +97279,19 @@ "description": "The original name for the area covered by the dataset.", "type": "string" }, + "locationResource": { + "enum": [ + "UNKNOWN", + "METADATA", + "WEBREF" + ], + "enumDescriptions": [ + "", + "When the locationthe is specified in the raw metadata", + "When the locationthe is not specified in the raw metadata" + ], + "type": "string" + }, "pointCoordinates": { "description": "Latitude and longitude for a single point in the form of \"lat,long\".", "type": "string" @@ -97679,12 +97795,14 @@ "enum": [ "UNKNOWN", "RAFFIA_PROXY_SERVICE", - "SPORE_DUMP" + "SPORE_DUMP", + "INFERRED" ], "enumDescriptions": [ "", "Fetched through Raffia proxy service (go/raffia-proxy).", - "Fetched through the data dump by Spore team, aka '/namespace/custom_corpus/prod/clients/tpkit/science_search/export-spore/ttl=3d/...'" + "Fetched through the data dump by Spore team, aka '/namespace/custom_corpus/prod/clients/tpkit/science_search/export-spore/ttl=3d/...'", + "Inferred using ML" ], "type": "string" }, @@ -97780,15 +97898,24 @@ "enum": [ "UNKNOWN", "FIELD_OF_STUDY", - "GEO" + "GEO", + "ORGANIZATION" ], "enumDescriptions": [ "", "/collection/field_of_studies in KG.", - "/collection/geo/* in KG." + "/collection/geo/* in KG.", + "/collection/organization/* in KG" ], "type": "string" }, + "kgCollection": { + "description": "HRID of the KG collections", + "items": { + "type": "string" + }, + "type": "array" + }, "mid": { "description": "The KG identifier of the WebrefEntity.", "type": "string" @@ -97993,77 +98120,6 @@ }, "type": "object" }, - "ScholarCitationPredictionSignal": { - "description": "An input into the citation prediction model.", - "id": "ScholarCitationPredictionSignal", - "properties": { - "metricType": { - "enum": [ - "METRIC_TYPE_NONE", - "METRIC_TYPE_MEAN", - "METRIC_TYPE_MEDIAN", - "METRIC_TYPE_20_80" - ], - "enumDescriptions": [ - "", - "", - "", - "Average of 20th and 80th percentiles." - ], - "type": "string" - }, - "signalType": { - "enum": [ - "SIGNAL_UNKNOWN", - "SIGNAL_NUM_FORWARD_LINKS", - "SIGNAL_ANY_PUBLICATION", - "SIGNAL_PUBORG", - "SIGNAL_AUTHOR_EMAIL_DOMAIN", - "SIGNAL_AUTHOR_DOC_LENGTH", - "SIGNAL_AUTHOR_TITLE_NGRAM", - "SIGNAL_VENUE_DOC_LENGTH", - "SIGNAL_VENUE_TITLE_NGRAM", - "SIGNAL_ANY_PUBLICATION_AUTHOR", - "SIGNAL_ANY_PUBLICATION_DOC_LENGTH", - "SIGNAL_ANY_PUBLICATION_TITLE_NGRAM", - "SIGNAL_PUBORG_DOC_LENGTH", - "SIGNAL_HOST_NAME_TITLE_NGRAM", - "SIGNAL_TOTAL_CITATIONS", - "SIGNAL_LAST_YEAR_CITATIONS", - "SIGNAL_2_YEARS_AGO_CITATIONS", - "SIGNAL_CITATIONS_PER_YEAR", - "SIGNAL_YEARS_WITH_NO_CITATION" - ], - "enumDescriptions": [ - "", - "Single fields.", - "", - "", - "", - "Pairs.", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "value": { - "format": "float", - "type": "number" - } - }, - "type": "object" - }, "ScienceCitation": { "id": "ScienceCitation", "properties": { @@ -98178,6 +98234,17 @@ "description": "DEPRECATED: use CitationSource", "type": "string" }, + "ClearedReason": { + "enum": [ + "CLEARED_REASON_NONE", + "CLEARED_REASON_TOC" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "ClusterDiscoveryDate": { "description": "Used for logging, recommendations, and sort-by-date. Contains the earliest discovery date of the cluster, adjusted for earlier publication dates. Stored in Universal time scale (100 ns ticks since 0001 AD) because Unix timestamp would lead to negative dates for pre-1970 docs.", "format": "int64", @@ -99284,325 +99351,164 @@ }, "type": "object" }, - "SciencePerDocData": { - "description": "Next tag: 43", - "id": "SciencePerDocData", + "SdrEmbedding": { + "id": "SdrEmbedding", "properties": { - "AbstractEndPosition": { - "description": "The first hit position after the end of the abstract. We index the abstract immediately after the body, so all hits between BodyEndPosition and AbstractEndPosition are from the abstract.", - "format": "int32", - "type": "integer" - }, - "BodyEndPosition": { - "description": "The first hit position past the last body hit.", - "format": "int32", - "type": "integer" - }, - "CitationPredictionSignal": { - "description": "Input features used to compute PredictedCitations.", + "values": { "items": { - "$ref": "ScholarCitationPredictionSignal" + "format": "float", + "type": "number" }, "type": "array" }, - "CourtLevel": { - "description": "Used for sorting legal documents by court; e.g. Supreme Court > Appeals Court > Trial Court", + "version": { "format": "int32", "type": "integer" - }, - "DEPRECATEDCrawlTime": { - "format": "int64", - "type": "string" - }, - "DiscoveryAgeInDays": { - "description": "The age in days since discovery date at the time of indexing. Used to compute PredictedCitations.", - "format": "int32", - "type": "integer" - }, - "DiscoveryTimestamp": { - "description": "Used for sorting articles by date, and as an input for recent-query ranking. Stored in Universal time scale (100 ns ticks since 0001 AD).", - "format": "int64", - "type": "string" - }, - "IsCitationOnly": { - "description": "citation-only marker - for use in scorer", - "type": "boolean" - }, - "NonScholarlinessPenalty": { - "description": "Scoring penalty for non-scholarly articles. In the range [0, 1], with 0 being no penalty and 1 being the full penalty.", - "format": "float", - "type": "number" - }, - "NumBackwardLinks": { - "description": "Summary statistics, for display in the FE.", - "format": "int32", - "type": "integer" - }, - "NumRelated": { - "format": "int32", - "type": "integer" - }, - "NumTitleWords": { - "description": "Used for exact title boost in Scholar, as of 1/7/2008.", - "format": "int32", - "type": "integer" - }, - "NumVersions": { - "format": "int32", - "type": "integer" - }, - "OffDomAnchors": { - "format": "int32", - "type": "integer" - }, - "OnSiteAnchors": { - "format": "int32", - "type": "integer" - }, - "PredictedCitations": { - "description": "The predicted new citations for this document once it reaches 5 years after its discovery date. Not set for: - Documents 5 years or older - Citation only documents - Patents and legal documents", - "format": "float", - "type": "number" - }, - "PredictedCitationsNext5Years": { - "description": "The predicted new citations for this document over the next 5 years. This differs from the PredictedCitations field in that this is set for documents of all ages, whereas PredictedCitations is only set for new documents. This is also a prediction over a fixed time interval, whereas the time interval for PredictedCitations depends on the document's age.", - "format": "float", - "type": "number" - }, - "PublicationDay": { - "format": "int32", - "type": "integer" - }, - "PublicationMonth": { - "format": "int32", - "type": "integer" - }, - "PublicationYear": { - "description": "Publication date. Used both for ranking of recent articles and for display in the FE.", - "format": "int32", - "type": "integer" - }, - "ScholarId": { - "description": "For links from websearch to scholar.", - "format": "uint64", - "type": "string" - }, - "Subject": { - "description": "DEPRECATED e.g., fp(\"med\")", - "format": "uint32", - "type": "integer" - }, - "TitleNgrams": { - "description": "A string encoding the uni-, bi-, and trigram weights in the title. This is encoded and decoded by science_search/util/title_ngrams.h.", - "format": "byte", - "type": "string" - }, - "TotalAnchors": { - "description": "Anchor count info for scorer", - "format": "int32", - "type": "integer" - }, - "Type": { - "description": "The type of the article - paper, review, patent, etc.", - "enum": [ - "FIRST_ARTICLE_TYPE", - "PAPER", - "BOOK", - "BOOKLET", - "CONFERENCE", - "INBOOK", - "INCOLLECTION", - "MANUAL", - "MS_THESIS", - "MISC", - "PHD_THESIS", - "TECHREPORT", - "UNPUBLISHED", - "PATENT", - "WEB_SITE", - "BS_THESIS", - "REVIEW_ARTICLE", - "JOURNAL", - "LEGAL_DOC", - "BIBLIOGRAPHY", - "BOOK_REVIEW", - "RETRACTION", - "EDITORIAL", - "ART_PERF_REVIEW", - "POETRY", - "FICTION", - "NEWS", - "BIOGRAPHICAL", - "LEGISLATION", - "REFERENCE_MATERIAL", - "STANDARD", - "META_ANALYSIS", - "RANDOMIZED_TRIAL", - "NUM_ARTICLE_TYPES" - ], - "enumDescriptions": [ - "", - "", - "", - "unused; ", - "synonym for PAPER; ", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "entire journal, not an article", - "", - "", - "", - "For tracking", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "author": { - "items": { - "$ref": "SciencePerDocDataAuthor" - }, - "type": "array" - }, - "referencediscussion": { - "items": { - "$ref": "SciencePerDocDataReferenceDiscussion" - }, - "type": "array" - }, - "section": { - "description": "Section markers, sorted by begin_position, no overlapping.", - "items": { - "$ref": "SciencePerDocDataSection" - }, - "type": "array" - }, - "signal": { - "items": { - "$ref": "SciencePerDocDataSignal" - }, - "type": "array" } }, "type": "object" }, - "SciencePerDocDataAuthor": { - "description": "Used for exact author boost and for display in the FE.", - "id": "SciencePerDocDataAuthor", + "SdrPageAnchorsDocInfo": { + "id": "SdrPageAnchorsDocInfo", "properties": { - "IsCJK": { - "type": "boolean" + "articleness": { + "format": "float", + "type": "number" }, - "LastName": { - "type": "string" + "pageAnchors": { + "items": { + "$ref": "SdrPageAnchorsSitelink" + }, + "type": "array" }, - "OtherNames": { + "qscore": { + "format": "float", + "type": "number" + }, + "sitelinkWrapper": { + "items": { + "$ref": "SdrPageAnchorsSitelinkWrapper" + }, + "type": "array" + }, + "textRichness": { + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "SdrPageAnchorsSitelink": { + "id": "SdrPageAnchorsSitelink", + "properties": { + "embedding": { + "$ref": "SdrEmbedding", + "description": "Needed for relevance scoring." + }, + "geometryScore": { + "description": "aggregate score from Section Geometry.", + "format": "float", + "type": "number" + }, + "headingAbbrvScore": { + "description": "Heading Abbreviation score.", + "format": "float", + "type": "number" + }, + "hpScore": { + "description": "Needed for heading/passage filtering.", + "format": "float", + "type": "number" + }, + "level": { + "format": "int32", + "type": "integer" + }, + "scrollTo": { + "$ref": "SdrScrollTo" + }, + "sectionHeight": { + "description": "Needed for Geometry Scoring and backoffs. from Section Geometry.", + "format": "int32", + "type": "integer" + }, + "text": { + "description": "Heading/Reformulated text is needed to display.", "type": "string" } }, "type": "object" }, - "SciencePerDocDataReferenceDiscussion": { - "id": "SciencePerDocDataReferenceDiscussion", + "SdrPageAnchorsSitelinkWrapper": { + "description": "This wrapper is used for passing in additional information to generate embeddings in Goldmine.", + "id": "SdrPageAnchorsSitelinkWrapper", "properties": { - "Level": { - "format": "int32", - "type": "integer" + "abbreviatedHeadingText": { + "type": "string" }, - "TargetID": { - "format": "uint64", + "abbrvEmbedding": { + "$ref": "SdrEmbedding" + }, + "headingEmbedding": { + "$ref": "SdrEmbedding" + }, + "normalizedHeadingText": { + "type": "string" + }, + "passageEmbedding": { + "$ref": "SdrEmbedding" + }, + "passageText": { "type": "string" } }, "type": "object" }, - "SciencePerDocDataSection": { - "id": "SciencePerDocDataSection", + "SdrScrollTo": { + "description": "Data needed to construct a go/scroll-to text fragment. The url fragment is: #:~:text=[prefix-,]text_start,text_end", + "id": "SdrScrollTo", "properties": { - "beginPosition": { - "description": "The first hit position at the start of the section.", - "format": "int32", - "type": "integer" + "onpageMatches": { + "$ref": "SdrScrollToOnPageMatches" }, - "numPositions": { - "description": "Delta in hit position from the start of the section to the end.", - "format": "int32", - "type": "integer" + "prefix": { + "description": "Prefix to help with disambiguating between multiple text matches on page. Optional.", + "type": "string" }, - "type": { - "enum": [ - "UNKNOWN", - "REFERENCE" - ], - "enumDescriptions": [ - "", - "" - ], + "suffix": { + "description": "Suffix to help with disambiguating between multiple text matches on page. Optional.", + "type": "string" + }, + "textEnd": { + "description": "End of the text span to be highlighted. Optional.", + "type": "string" + }, + "textStart": { + "description": "Start of the text span to be highlighted.", "type": "string" } }, "type": "object" }, - "SciencePerDocDataSignal": { - "id": "SciencePerDocDataSignal", + "SdrScrollToOnPageMatches": { + "description": "Number of matches in the page when using text alone, prefix + text, text + suffix, and prefix + text + suffix. The match is case-insensitive to align with go/scroll-to behavior.", + "id": "SdrScrollToOnPageMatches", "properties": { - "avgCitations": { - "description": "Values for different metrics", - "format": "float", - "type": "number" - }, - "count": { - "description": "Number of papers in the bucket for this paper/signal combination 16-bit value", + "text": { "format": "int32", "type": "integer" }, - "geThres1Count": { - "description": "Count of papers with 10 or more citations (ge is >=) 16-bit value", + "textWithPrefix": { "format": "int32", "type": "integer" }, - "geThres2Count": { - "description": "Count of papers with 50 or more citations 16-bit value", + "textWithPrefixSuffix": { "format": "int32", "type": "integer" }, - "index": { - "description": "Signal type dependent (for Journals refers to the year) index must refers to years ago not absolute year. 8-bit value", + "textWithSuffix": { "format": "int32", "type": "integer" - }, - "medianCitations": { - "format": "float", - "type": "number" - }, - "type": { - "format": "int32", - "type": "integer" - }, - "weight": { - "description": "Authors own a part of a paper value. This is the cumulative weight. If all papers falling into this bucket are single author papers, then weight will be equal to 1.0. Otherwise it will be smaller.", - "format": "float", - "type": "number" } }, "type": "object" @@ -99996,7 +99902,7 @@ "type": "object" }, "SecurityCredentialsPrincipalProto": { - "description": "A Principal represents something to which permissions are assigned, often but not always a user or group of some kind. It is most appropriate for use in ACLs and authorization checks. Callers should prefer to use the wrapper classes in google3/security/credentials/public/principal.h google3/java/com/google/security/credentials/Principal.java google3/security/credentials/go/principal.go unless direct proto access is essential. If you update this protocol buffer, please update the wrapper classes as well.", + "description": "A Principal represents something to which permissions are assigned, often but not always a user or group of some kind. It is most appropriate for use in ACLs and authorization checks. Callers should prefer to use the wrapper classes in google3/security/credentials/public/principal.h google3/java/com/google/security/credentials/Principal.java google3/security/credentials/go/principal.go unless direct proto access is essential. If you update this protocol buffer, please update the wrapper classes as well. LINT.IfChange", "id": "SecurityCredentialsPrincipalProto", "properties": { "allAuthenticatedUsers": { @@ -100171,7 +100077,7 @@ "type": "object" }, "SecurityCredentialsRbacRoleProto": { - "description": "Principal associated with a given RBAC role. This principal is used by Sphinx Provisioning Service for RBAC (go/cedi-auth) provisionable (go/sphinx-rbacz-design).", + "description": "Principal associated with a given RBAC role. This principal is used by Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).", "id": "SecurityCredentialsRbacRoleProto", "properties": { "name": { @@ -100185,14 +100091,14 @@ "type": "string" }, "rbacRoleName": { - "description": "Format: \"RbacNamespaceName.RbacRoleName(/field=value)*\", e.g., \"hr.v1.Reader\", \"hr.v1.Reader/language=EN_US/country=USA/room=NYC-9th-11A201\".", + "description": "Format: \"role/z?\" - \"role\" is the Sphinx globally unique name of the Sphinx role that provisions the RBAC role. - \"/z?\" suffix indicates which Zanzibar environment stores the role membership data (\"/zd\": dev, \"/zs\": staging, \"/zp\": prod, \"/zt\": local test instance). Example: \"mysystem_myrole/zp\"", "type": "string" } }, "type": "object" }, "SecurityCredentialsRbacSubjectProto": { - "description": "Principal associated with a given RBAC subject. This principal is used by Sphinx Provisioning Service for RBAC (go/cedi-auth) provisionable (go/sphinx-rbacz-design).", + "description": "Principal associated with a given RBAC subject. This principal is used by Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).", "id": "SecurityCredentialsRbacSubjectProto", "properties": { "username": { @@ -100642,6 +100548,10 @@ }, "type": "array" }, + "pageAnchorsDocInfo": { + "$ref": "SdrPageAnchorsDocInfo", + "description": "This field is populated in the Sitemap MDU subpopulator from cdoc data. This is used to store page anchors information for TopicTagsScrolltoFlow." + }, "searchInSite": { "description": "Enable site search.", "type": "boolean" @@ -100934,9 +100844,16 @@ "type": "object" }, "SnippetExtraInfoSnippetCandidateInfo": { - "description": "Next ID: 12", + "description": "Next ID: 14", "id": "SnippetExtraInfoSnippetCandidateInfo", "properties": { + "boldedRanges": { + "description": "Bolded ranges in the printed snippet lines.", + "items": { + "$ref": "QualitySnippetsTruncationSnippetBoldedRange" + }, + "type": "array" + }, "id": { "description": "Candidate identifier number, unique among all snippet candidates under each document in each request. What does this number mean: - Muppet candidates: This equals to the candidate's rank by Muppet snippets scorer. - Superroot candidates: No specific meaning, this number should be larger than that of Muppet candidates. This field is used to: - Verify whether snippet brain chooses a different snippet from Muppet (the one chosen by Muppet is always in id 0). - Print debugging information and sort candidates in debug output.", "format": "int32", @@ -100957,6 +100874,13 @@ "scoringInfo": { "$ref": "SnippetExtraInfoSnippetScoringInfo" }, + "sentenceStarts": { + "description": "Sentence starting positions in the printed snippet lines.", + "items": { + "$ref": "QualitySnippetsTruncationSnippetBoldedRangePosition" + }, + "type": "array" + }, "snippet": { "description": "Muppet fills snippet lines in `snippet` field.", "items": { @@ -101038,6 +100962,9 @@ "description": "Log model name, partition and input processor used to generate SnippetsBrain scores, if SnippetsBrain debugging is enabled.", "id": "SnippetExtraInfoSnippetsBrainModelInfo", "properties": { + "ng3ModelName": { + "type": "string" + }, "snippetsbrainModelName": { "description": "The below fields are populated by SnippetFlow in superroot.", "type": "string" @@ -101520,6 +101447,16 @@ }, "type": "object" }, + "SocialGraphApiProtoContactCreateContext": { + "description": "The ContactEditContext message is a wrapper around the generic ContactMutationContext data to represent when and where a contact create was performed.", + "id": "SocialGraphApiProtoContactCreateContext", + "properties": { + "mutationContext": { + "$ref": "SocialGraphApiProtoContactMutationContext" + } + }, + "type": "object" + }, "SocialGraphApiProtoContactDeletionContext": { "description": "The ContactDeletionContext message is a wrapper around the generic ContactMutationContext data, and will include any needed delete specific data. NOTE: Before using this message please review go/people-api-contact-deletion-context", "id": "SocialGraphApiProtoContactDeletionContext", @@ -101531,6 +101468,16 @@ }, "type": "object" }, + "SocialGraphApiProtoContactEditContext": { + "description": "The ContactEditContext message is a wrapper around the generic ContactMutationContext data to represent when and where a contact edit was performed.", + "id": "SocialGraphApiProtoContactEditContext", + "properties": { + "mutationContext": { + "$ref": "SocialGraphApiProtoContactMutationContext" + } + }, + "type": "object" + }, "SocialGraphApiProtoContactMutationContext": { "description": "This message is the generic mutation message which will encapsulate the fields which are shared between the create, update, and delete actions, including source of change, timestamp, and metadata messages passed in from the source for any source specific data (such as phone name/model from FSA).", "id": "SocialGraphApiProtoContactMutationContext", @@ -101668,11 +101615,15 @@ "source": { "enum": [ "DISPLAY_NAME_SOURCE_UNSPECIFIED", - "LIMITED_PROFILE" + "LIMITED_PROFILE", + "LIMITED_PROFILE_FULL_NAME", + "LIMITED_PROFILE_SHORTENED_NAME" ], "enumDescriptions": [ "", - "" + "DEPRECATED(b/248135053): in favor of `LIMITED_PROFILE_FULL_NAME`, and `LIMITED_PROFILE_SHORTENED_NAME`", + "The source is the limited profile, and the full name is visible.", + "The source is the limited profile, and it's a shortened name." ], "type": "string" } @@ -101815,7 +101766,7 @@ "id": "SocialGraphApiProtoMonthlyWeekdayRecurrence", "properties": { "weekDay": { - "description": "The nth occurrence of week_day to match. I.e. For 3rd Wednesday of the month, week_day = WEDNESDAY and week_day_number = 3. Values beyond the end of the month are skipped. Negative values are relative from end of month (e.g. Last Friday of every month).", + "description": "The nth occurrence of week_day to match. I.e. For 3rd Wednesday of the month, week_day = WEDNESDAY and week_day_number = 3. Values beyond the end of the month are skipped.", "enum": [ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", @@ -101916,15 +101867,19 @@ "type": "object" }, "SocialGraphApiProtoPartialNameOptionsParsedDisplayNameSpec": { - "description": "These options use more sophisticated logic from a location-aware name detector to parse the full name of a user into structured parts and operate on those parts. For more information on how names are parsed, see the NameOccurrence proto definition: http://google3/quality/peoplesearch/namedetector/detector/proto/name_occurrence.proto?l=50&rcl=334484707 Next ID: 7", + "description": "These options use more sophisticated logic from a location-aware name detector to parse the full name of a user into structured parts and operate on those parts. For more information on how names are parsed, see the NameOccurrence proto definition: http://google3/quality/peoplesearch/namedetector/detector/proto/name_occurrence.proto?l=50&rcl=334484707 In general, when parsing display names the following rules will apply to *all* specs: - Hyphenated names are broken down: \"Angelina Jollie-Pit\" is pre-processed as \"Angelina Jollie Pitt\"; - Prefixes are ignored: \"Prof. Albus Dumbledore\" is pre-processed as \"Albus Dumbledore\"; - Auxiliaries are ignored: \"Luís de Camões\" is pre-processed as \"Luís Camões\". Next ID: 8", "id": "SocialGraphApiProtoPartialNameOptionsParsedDisplayNameSpec", "properties": { "allInitialsFromParsedName": { - "description": "Extract an initial from each parsed name. For example, \"Niels Henrik David Bohr\" yields \"N. H. D. B.\". Other special cases are treated as follows: - Hyphenated names are broken down: \"Angelina Jollie-Pit\" yields \"A. J. P.\"; - Prefixes are ignored: \"Prof. Albus Dumbledore\" yields \"A. D.\"; - Auxiliaries are ignored: \"Luís de Camões\" yields \"L. C.\".", + "description": "Extract an initial from each parsed name. For example, \"Niels Henrik David Bohr\" yields \"N. H. D. B.\". Other special cases are treated as follows:", + "type": "boolean" + }, + "firstInitialAndFirstLastName": { + "description": "Show the initial of the very first name and the first last name, e.g. \"Hugo Daniel Hernandez Garcia\" yields \"H. Hernandez\".", "type": "boolean" }, "firstInitialAndVeryLastName": { - "description": "Show the initial of the very first name and the very last name, e.g. \"Ana Maria Silva\" yields \"A. Silva\". - Hyphenated names are broken down: \"Angelina Jollie-Pitt\" yields \"A. Pitt\"; - Prefixes are ignored: \"Prof. Albus Dumbledore\" yields \"A. Dumbledore\"; - Auxiliaries are ignored: \"Luís de Camões\" yields \"L. Camões\".", + "description": "Show the initial of the very first name and the very last name, e.g. \"Ana Maria Silva\" yields \"A. Silva\".", "type": "boolean" }, "knowledgeGraphNameShortening": { @@ -101946,11 +101901,11 @@ "type": "string" }, "veryFirstNameAndAllInitials": { - "description": "Show the full very first name and all the other initials, e.g. \"Ana Maria Silva\" yields \"Ana M. S.\". - Hyphenated names are broken down: \"Angelina Jollie-Pit\" yields \"Angelina J. P.\"; - Prefixes are ignored: \"Prof. Albus Dumbledore\" yields \"Albus D.\"; - Auxiliaries are ignored: \"Luís de Camões\" yields \"Luís C.\".", + "description": "Show the full very first name and all the other initials, e.g. \"Ana Maria Silva\" yields \"Ana M. S.\".", "type": "boolean" }, "veryFirstNameOnly": { - "description": "Show the very first name only, e.g. \"Ana Maria Silva\" yields \"Ana\". - Hyphenated names are broken down: \"Mary-Kate Smith\" yields \"Mary\"; - Prefixes are ignored: \"Prof. Albus Dumbledore\" yields \"Albus\";", + "description": "Show the very first name only, e.g. \"Ana Maria Silva\" yields \"Ana\".", "type": "boolean" } }, @@ -102151,14 +102106,14 @@ "type": "object" }, "SocialGraphApiProtoRecurrence": { - "description": "Flexible Recurrence proto to be used with People Prompts. Examples: Single recurrence that occurs on a specific date: single_recurrence { date { year: 2022 month: 11 day: 17 } } Yearly recurrence such as a birthday or anniversary: yearly_recurrence { monthly_pattern { monthly_day_recurrence { month_day: 17 } } months: JULY } Weekly reccurrence such as: every two weeks on Monday: every: 2 weekly_recurrence { week_day: MONDAY } Monthly recurrence such as: third Thursday of every month: monthly_recurrence { monthly_weekday_recurrence { week_day: THURSDAY week_day_number: 3 } } Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService) TODO(b/240850530) add link to validators when created.", + "description": "Flexible Recurrence proto to be used with People Prompts. Examples: Single recurrence that occurs on a specific date: single_recurrence { date { year: 2022 month: 11 day: 17 } } Yearly recurrence such as a birthday or anniversary: yearly_recurrence { monthly_pattern { monthly_day_recurrence { month_day: 17 } } months: JULY } Weekly reccurrence such as: every two weeks on Monday: every: 2 weekly_recurrence { week_day: MONDAY } Monthly recurrence such as: third Thursday of every month: monthly_recurrence { monthly_weekday_recurrence { week_day: THURSDAY week_day_number: 3 } } Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService) The canonical recurrence validation function is located here: http://google3/java/com/google/social/people/prompts/util/PromptValidators.java?q=func:%5CbvalidateRecurrence%5Cb", "id": "SocialGraphApiProtoRecurrence", "properties": { "dailyRecurrence": { "$ref": "SocialGraphApiProtoDailyRecurrence" }, "every": { - "description": "Multiplier on the frequency of the recurrence. Use this to specify patterns that recur every X days, months, years, etc. Example: [remind me to call mom every 2nd week]. Default value will be considered 1 (every day,every week,...) and not 0. This is ignored for a SingleRecurrence. Optional.", + "description": "Multiplier on the frequency of the recurrence. Use this to specify patterns that recur every X days, months, years, etc. Must be a positive int. Example: [remind me to call mom every 2nd week]. If this field isn't set, it will default to 1 (every day,every week, etc). This field is ignored when recurrence_data is a SingleRecurrence. Optional.", "format": "int32", "type": "integer" }, @@ -102171,10 +102126,10 @@ }, "recurrenceStart": { "$ref": "GoogleTypeDateTime", - "description": "The start of the recurrence can be represented as a DateTime. This is ignored for a SingleRecurrence." + "description": "The start of the recurrence can be represented as a DateTime. This field is ignored when recurrence_data is a SingleRecurrence." }, "repeatCount": { - "description": "Will repeat only a finite number of times. This is the original number of times the recurrence will repeat and not how many times are left for it to repeat.", + "description": "Will repeat only a finite number of times. This is the original number of times the recurrence will repeat and not how many times are left for it to repeat. This end type is not currently supported.", "format": "int32", "type": "integer" }, @@ -102614,7 +102569,7 @@ "type": "object" }, "SocialGraphApiProtoYearlyRecurrence": { - "description": "Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a monthly pattern and a set of months the pattern applies to. Some examples: \"Every January 16\" : monthly_pattern { month_day: 16 } months: JANUARY \"Last day of every April and August\" : monthly_pattern { month_day: -1 } months: APRIL months: AUGUST Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)", + "description": "Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a monthly pattern and a set of months the pattern applies to. Some examples: \"Every January 16\" : monthly_pattern { monthly_day_recurrence { month_day: 16 } } months: JANUARY \"Fourth Thursday of November and December\" : monthly_pattern { monthly_weekday_recurrence { week_day: THURSDAY week_day_number: 4 } } months: NOVEMBER months: DECEMBER Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)", "id": "SocialGraphApiProtoYearlyRecurrence", "properties": { "monthlyPattern": { @@ -103119,6 +103074,41 @@ }, "type": "object" }, + "SpamBrainData": { + "description": "This holds SpamBrain values which will be populated to docjoins & muppet. Proto is copied from spam_brain::SpamBrainData and populated at sitechunked site level (as opposed to the spambrain page classifier score).", + "id": "SpamBrainData", + "properties": { + "site": { + "description": "Sitechunker site granularity for this result", + "type": "string" + }, + "versionedData": { + "description": "Versioned scores of SB classifiers", + "items": { + "$ref": "SpamBrainScore" + }, + "type": "array" + } + }, + "type": "object" + }, + "SpamBrainScore": { + "description": "Message representing versioned scores", + "id": "SpamBrainScore", + "properties": { + "sbScore": { + "description": "The value corresponding to this version.", + "format": "float", + "type": "number" + }, + "versionId": { + "description": "The version id.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "SpamCookbookAction": { "description": "This protocol buffer indicates actions that we take based on Cookbook recipes (see http://cookbook/) matching a particular document.", "id": "SpamCookbookAction", @@ -103252,17 +103242,59 @@ }, "type": "object" }, + "StorageGraphBfgLmsPolicyMetadata": { + "description": "Metadata fields for LMS. See go/lms-online-restrictions for details.", + "id": "StorageGraphBfgLmsPolicyMetadata", + "properties": { + "clientIdsAllowed": { + "items": { + "type": "string" + }, + "type": "array" + }, + "isEditorial": { + "type": "boolean" + }, + "modificationsAllowed": { + "description": "Int values corresponds to the values of image_repository.licensed.api.restrictions.Modification enum.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "regionsAllowed": { + "$ref": "KeGovernanceTypedRegions" + }, + "regionsDisallowed": { + "$ref": "KeGovernanceTypedRegions" + }, + "requiresAttribution": { + "type": "boolean" + }, + "requiresFirstPartyOnly": { + "type": "boolean" + }, + "requiresLinkback": { + "type": "boolean" + }, + "requiresShareAlike": { + "type": "boolean" + } + }, + "type": "object" + }, "StorageGraphBfgPolicyMetadata": { "description": "Metadata about data governance policies. For more context, see go/ke-triple-dg-policy-and-metadata. If any attribute is not set, then there's no specific restrictions associated with the missing attribute. For example, if `availability_start_timestamp` is not set, the data won't be embargoed automatically; if `availability_end_timestamp` is not set, they won't expire automatically. LINT.IfChange", "id": "StorageGraphBfgPolicyMetadata", "properties": { "availabilityEndTimestamp": { - "description": "Timestamp after which data with this policy cannot be used. This value must be strictly larger/later than availability_start_time, if both are set. WARNING: This field is WIP and please do not populate it without reading go/ke-dg-tape and consulting ke-data-governance@.", + "description": "Timestamp after which data with this policy cannot be used. This value must be strictly larger/later than availability_start_time, if both are set.", "format": "google-datetime", "type": "string" }, "availabilityStartTimestamp": { - "description": "Timestamp before which data with this policy cannot be used. This value must be strictly smaller/earlier than availability_end_time, if both are set. WARNING: This field is WIP and please do not populate it without reading go/ke-dg-tape and consulting ke-data-governance@.", + "description": "Timestamp before which data with this policy cannot be used. This value must be strictly smaller/earlier than availability_end_time, if both are set.", "format": "google-datetime", "type": "string" }, @@ -103280,41 +103312,9 @@ }, "type": "array" }, - "lmsClientIdsAllowed": { - "items": { - "type": "string" - }, - "type": "array" - }, - "lmsIsEditorial": { - "description": "The following attributes with `lms_` prefix are for supporting LMS restrictions. See go/lms-online-restrictions for details.", - "type": "boolean" - }, - "lmsModificationsAllowed": { - "description": "Int values corresponds to the values of image_repository.licensed.api.restrictions.Modification enum.", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "lmsRegionsAllowed": { - "$ref": "KeGovernanceTypedRegions" - }, - "lmsRegionsDisallowed": { - "$ref": "KeGovernanceTypedRegions" - }, - "lmsRequiresAttribution": { - "type": "boolean" - }, - "lmsRequiresFirstPartyOnly": { - "type": "boolean" - }, - "lmsRequiresLink": { - "type": "boolean" - }, - "lmsRequiresShareAlike": { - "type": "boolean" + "lmsPolicyMetadata": { + "$ref": "StorageGraphBfgLmsPolicyMetadata", + "description": "Policy metadata fields for LMS data. Only expected to be used by LMS providers -- please consult ke-data-governance@ before populating this field." }, "policySourceType": { "description": "Policy metadata are VERTICAL by default. Vertical policy makers / providers does not need to set this field explicitly.", @@ -103536,6 +103536,7 @@ "ISOLATION_PKG_YOUTUBE_PRIVATE_PLAYLISTS", "ISOLATION_PKG_YOUTUBE_PUBLIC_AND_PRIVATE_PLAYLISTS", "ISOLATION_S3_CREATOR_PRESENCE", + "ISOLATION_S12Y_RECIPE_INGREDIENT_INSIGHTS", "UMP_TESTING_ONLY", "INTENTJOINS_NB_SIGNALS", "ADS_INTEGRITY_ANNOTATION", @@ -103553,6 +103554,7 @@ "RIGHTS_MANAGEMENT_102", "DICTIONARY_DATA_OXFORD", "DICTIONARY_DATA_LE_ROBERT", + "ENTITY_TEXT_FEATURES", "AR_ONBOARDING_TEST", "AR_ONBOARDING_TEST_2", "MATERIALIZED_ENRICHER_INTERNAL", @@ -103714,6 +103716,7 @@ "For personal playlists from YouTube's PlaylistService that have private visibility. PWG-YouTube approval required for all usecases involving this data.", "For data from YouTube's PlaylistService that has either public or private visibility (i.e. the combination of ISOLATION_PKG_YOUTUBE_PLAYLISTS and ISOLATION_PKG_YOUTUBE_PRIVATE_PLAYLISTS). PWG-YouTube approval required for all usecases involving this data.", "Access controls for Creator Channel's S-Cubed corpus data. See more in go/uro-access-required. YOU MUST CONTACT milk-tea@ before reading or writing this data", + "For Search sustainability's food choice feature, Recipe Ingredient Insights. Assign existing KG entities feature types to classify triggering behavior and insights. Owned by salehh@ and s12y-eng@ See go/rii-kg-triggering-migration for more information.", "This access control is used to guard data used by the Unified Media Platform team (ke-media-actions-serving@) for testing new features. It should never be used for purposes other than testing. More context at go/fake-media-provider.", "Access controls for the IntentJoins Navboost data. YOU MUST CONTACT intentjoins-eng@ before reading or writing this data.", "Access controls for Ads Integrity annotation data. Ads Integrity annotations are only available for Ads Integrity policy enforcement. See go/ai-political-km for more details. YOU MUST CONTACT ai-pacg@ before reading or writing this data.", @@ -103731,6 +103734,7 @@ "Corresponding to policy id = 102.", "", "", + "Access controls for EntityTextFeatures computed by the Enricher. YOU MUST CONTACT deepkg-infra-dev@ before reading or writing data with this ACL.", "This AccessRequirement is used for testing purpose only. Please do not use it on data.", "", "Data materialized by PQM13n for Enricher. Design proposal: go/enricher-m13n-ar. YOU MUST CONTACT ke-data-platform-access@ before reading or writing data with this acl.", @@ -106797,72 +106801,25 @@ "TC_IN_PSS_CHECK_A", "TC_IN_PSS_CHECK_B", "QUERY_IS_BOOTS_ELIGIBLE", - "ENTERTAINMENT_CLUSTER_SPELLING_CORRECTION", "QUERY_HAS_SELECTED_BOOTS_CHIP", "QUERY_HAS_ONLY_UNSELECTED_BOOTS_CHIPS", "SPONSORED_ADS_CLUSTER", - "SPONSORED_ADS_CLUSTER_ATLEAST_ONE_AD", - "INSPIRED_BY", - "MOVIE_DUPLICATES_WITHIN_3_DOCS", - "MOVIE_DUPLICATES_WITHIN_5_DOCS", - "MOVIE_DUPLICATES_WITHIN_7_DOCS", - "SHOULD_SEE_LIVE_OP_CLUSTER", "BOOKS_QUERY_HAS_LANGUAGE_INTENT", - "REWARD_RIBBON_IMPRESSION", "IRON_THRONE_QUERY", - "FAMILY_LIBRARY_SHARED_DESTINATION", "GUIDED_DISCOVERY", "BOOKS_AUTHOR_QUERY", - "HOME_SPONSORED_ADS_CLUSTER", - "HOME_SPONSORED_ADS_CLUSTER_GAP_OPTOUT", - "FAMILY_FRAUD_CHALLENGE", - "BOOKS_MONETIZABLE_QUERY", - "BOOKS_NONMONETIZABLE_QUERY", - "NON_BOOKS_QUERY", "BOOTS_PROD_V1_QUERY", - "BOOTS_TAG_OVERRIDE_QUERY", - "BOOTS_KG_ANNOTATION_QUERY", - "EDITORIAL_REVIEW_CARD_ELIGIBLE", - "BOOTS_DEST_QUERY_100_INSTALLS_QUERY", - "BOOTS_DEST_QUERY_150_INSTALLS_QUERY", "SHOULD_SEE_LIVE_OP_CLUSTER_CANDIDATES", - "REV_BOOST_V2_TEST_CODE", "ENTERTAINMENT_CLUSTER_TRIGGERING", - "BOOTS_MIN_TAGS_2", "BOOTS_EN_IN", "BOOTS_EN_GB", "BOOTS_EN_PH", "BOOTS_EN_CA", - "BOOTS_EN_AU", - "BOOTS_EN_I18N", - "BOOTS_V2_STAGING", - "OFFLINE_APP_SEARCH", "ENTERTAINMENT_CLUSTER_CONTAINER_SEARCH_ENABLED", - "BEST_SELLER_CART_TAG", - "BOOTS_DEST_QUERY_50_INSTALLS_QUERY", - "BOOTS_SAFT_SPEC2", "SEARCH_NAV_SPONSORED_ADS_CLUSTER", - "BOOTS_ISTA", - "BOOTS_EN_GLOBAL", "TOP_CHART_RANKING_INFO", "CLIENT_TEST_CODE_VERIFICATION", "APPS_PUB_QUERY", - "BOOTS_V2", - "HAS_BOOKS_BIGPOOL_RECS", - "TESTING_BOTH", - "TESTING_EVENT", - "BOOTS_MORE_CHIPS", - "BOOTS_TAG_CONVERSION_BASED_RERANKING", - "BOOTS_KG_FILTERS", - "BOOTS_JP_KR", - "BOOTS_ISTA_V2", - "BOOTS_FILTERS", - "BOOTS_EN_GLOBAL_V2", - "BOOTS_ISTA_V2_WITH_BOOTS_V2", - "BOOTS_ISTA_JP_KR", - "BOOTS_VS_ISTA_JP_KR", - "CHURNED_LIVE_OP_CANDIDATES_EVENT", - "CHURNED_LIVE_OP_EVENT", "ABUSIVE_QUERY_SQUASHING_EVENT", "HOME_SPONSORED_ADS_RE_ENGAGEMENT_CLUSTER_EVENT_LEVEL", "SEARCH_LIVE_OP_QUERY_EVENT", @@ -106923,6 +106880,10 @@ "APPS_PERSONALIZED_CATEGORICAL_GAME_SEEKING_QUERIES_EVENT_LEVEL", "APPS_PERSONALIZED_CATEGORICAL_NON_TG_QUERIES_EVENT_LEVEL", "APPS_PERSONALIZED_VERTICAL_RFY_CLUSTER_EVENT_LEVEL", + "APPS_PERSONALIZED_NAVIGATIONAL_EVENT_LEVEL", + "APPS_PERSONALIZED_NAVIGATIONAL_GAME_EVENT_LEVEL", + "APPS_PERSONALIZED_MDP_EVENT_LEVEL", + "APPS_PERSONALIZED_MDP_GAME_EVENT_LEVEL", "CDP_PROMOTIONAL_IMAGE_LOCALE_MATCH", "CDP_PROMOTIONAL_IMAGE_LOCALE_MISMATCH", "CDP_SCREENSHOT_LOCALE_MISMATCH", @@ -107057,8 +107018,16 @@ "EDITORS_CHOICE_CLUSTER_SERP_EVENT_LEVEL", "BESTK_CLUSTER_SERP_EVENT_LEVEL", "LIVEOPS_CLUSTER_SERP_EVENT_LEVEL", + "QUICKPICKS_CLUSTER_SERP_EVENT_LEVEL", "INLINE_DETAILS_AQUALITY_CHECK_PASS", "INLINE_DETAILS_AQUALITY_CHECK_FAIL", + "INLINE_DETAILS_IS_INLINE_URL_FRONTEND", + "INLINE_DETAILS_TQUALITY_CHECK_PASS_FRONTEND", + "INLINE_DETAILS_TQUALITY_CHECK_FAIL_FRONTEND", + "INLINE_DETAILS_AQUALITY_CHECK_PASS_FRONTEND", + "INLINE_DETAILS_AQUALITY_CHECK_FAIL_FRONTEND", + "INLINE_DETAILS_CALLER_AQUALITY_CHECK_PASS_FRONTEND", + "INLINE_DETAILS_CALLER_AQUALITY_CHECK_FAIL_FRONTEND", "FRESH_RESULTS_SEEKING_CURRENT_YEAR_EVENT_LEVEL", "FILTER_TQ_FAILURE_APP", "EDITORIAL_CONTENT_CLUSTER_FHR_SERP_EVENT_LEVEL", @@ -107070,6 +107039,12 @@ "DETAILS_PAGE_AQUALITY_PASSED_EVENT_LEVEL", "INLINE_DETAILS_CALLER_AQUALITY_CHECK_PASS", "INLINE_DETAILS_CALLER_AQUALITY_CHECK_FAIL", + "HSDP_AD_NETWORK_CALLER_TABLET_AQUALITY_CHECK_UNKNOWN", + "HSDP_AD_NETWORK_CALLER_TABLET_AQUALITY_CHECK_PASS", + "HSDP_AD_NETWORK_CALLER_TABLET_AQUALITY_CHECK_FAIL", + "HSDP_INDEPENDENT_APP_CALLER_TABLET_AQUALITY_CHECK_UNKNOWN", + "HSDP_INDEPENDENT_APP_CALLER_TABLET_AQUALITY_CHECK_PASS", + "HSDP_INDEPENDENT_APP_CALLER_TABLET_AQUALITY_CHECK_FAIL", "PTP_CLUSTER_SERP_P13N_RANKING_EVENT_LEVEL", "BROAD_INTENT_REWEIGHTING_EVENT_LEVEL", "QUERY_DEPENDENT_SNIPPET_EVENT_LEVEL", @@ -107080,6 +107055,16 @@ "BROAD_INTENT_GAMES_TIMESPENT_EVENT_LEVEL", "PLAY_STORE_IAP_SALES_MINI_DETAILS_PAGE_EAP_PARTNER_APPS_EVENT_LEVEL", "GEARHEAD_ATTEMPT_USB_RECOVERY", + "MDP_P13N_ALL_EVENT_LEVEL", + "MDP_P13N_GAME_QUERY_L5_EVENT_LEVEL", + "MDP_P13N_GAME_QUERY_L6_EVENT_LEVEL", + "MDP_P13N_GAME_QUERY_L7_EVENT_LEVEL", + "MDP_P13N_GAME_QUERY_L8_EVENT_LEVEL", + "MDP_P13N_GAME_QUERY_L9_EVENT_LEVEL", + "SECOND_PASS_POLARIS_RERANKING_EVENT_LEVEL", + "SECOND_PASS_POLARIS_WITH_RANKING_CHANGE_EVENT_LEVEL", + "EXPLORATORY_BOOSTING_EVENT_LEVEL", + "GEARHEAD_TOOLTIP_COOLWALK_DASHBOARD_UNAVAILABLE", "EVENT_LEVEL_TEST_CODE_LIMIT", "RESERVED_4", "RESERVED_5", @@ -107350,6 +107335,10 @@ "APPS_PERSONALIZED_CATEGORICAL_GAME_SEEKING_QUERIES_SESSION_LEVEL", "APPS_PERSONALIZED_CATEGORICAL_NON_TG_QUERIES_SESSION_LEVEL", "APPS_PERSONALIZED_VERTICAL_RFY_CLUSTER_SESSION_LEVEL", + "APPS_PERSONALIZED_NAVIGATIONAL_SESSION_LEVEL", + "APPS_PERSONALIZED_NAVIGATIONAL_GAME_SESSION_LEVEL", + "APPS_PERSONALIZED_MDP_SESSION_LEVEL", + "APPS_PERSONALIZED_MDP_GAME_SESSION_LEVEL", "PLAY_STORE_SHOW_CART", "MOVIES_RENTER", "LOYALTY_HOME_FIRST_TAB_SESSION_LEVEL", @@ -107810,12 +107799,15 @@ "EDITORS_CHOICE_CLUSTER_SERP_SESSION_LEVEL", "BESTK_CLUSTER_SERP_SESSION_LEVEL", "LIVEOPS_CLUSTER_SERP_SESSION_LEVEL", + "QUICKPICKS_CLUSTER_SERP_SESSION_LEVEL", "WIDE_MEDIA_CLUSTER_INVALID_VIDEO_ASSET_SESSION_LEVEL", "ALTERNATE_DEVICE_PRESENT_SESSION_LEVEL", "MULTIPLE_ALTERNATE_DEVICES_PER_FORM_FACTOR_SESSION_LEVEL", "APPS_SEARCH_DISCOVERY_CLUSTER_TRIGGERED_SESSION_LEVEL", "SUGGEST_CROSS_FORM_FACTOR_APPS_WEAR_SUGGESTIONS_ENABLED", "SUGGEST_CROSS_FORM_FACTOR_APPS_WEAR_SUGGESTIONS_AVAILABLE", + "SUGGEST_CROSS_FORM_FACTOR_APPS_TV_SUGGESTIONS_ENABLED", + "SUGGEST_CROSS_FORM_FACTOR_APPS_TV_SUGGESTIONS_AVAILABLE", "SUGGEST_APPS_SUBTEXT_SUGGESTIONS_SESSION_LEVEL", "INLINE_DETAILS_TQUALITY_CHECK_PASS_SESSION_LEVEL", "INLINE_DETAILS_TQUALITY_CHECK_FAIL_SESSION_LEVEL", @@ -107823,7 +107815,20 @@ "INLINE_DETAILS_AQUALITY_CHECK_FAIL_SESSION_LEVEL", "INLINE_DETAILS_CALLER_AQUALITY_CHECK_PASS_SESSION_LEVEL", "INLINE_DETAILS_CALLER_AQUALITY_CHECK_FAIL_SESSION_LEVEL", + "HSDP_AD_NETWORK_CALLER_TABLET_AQUALITY_CHECK_UNKNOWN_SESSION_LEVEL", + "HSDP_AD_NETWORK_CALLER_TABLET_AQUALITY_CHECK_PASS_SESSION_LEVEL", + "HSDP_AD_NETWORK_CALLER_TABLET_AQUALITY_CHECK_FAIL_SESSION_LEVEL", + "HSDP_INDEPENDENT_APP_CALLER_TABLET_AQUALITY_CHECK_UNKNOWN_SESSION_LEVEL", + "HSDP_INDEPENDENT_APP_CALLER_TABLET_AQUALITY_CHECK_PASS_SESSION_LEVEL", + "HSDP_INDEPENDENT_APP_CALLER_TABLET_AQUALITY_CHECK_FAIL_SESSION_LEVEL", "INLINE_DETAILS_IS_INLINE_URL_SESSION_LEVEL", + "INLINE_DETAILS_IS_INLINE_URL_FRONTEND_SESSION_LEVEL", + "INLINE_DETAILS_TQUALITY_CHECK_PASS_FRONTEND_SESSION_LEVEL", + "INLINE_DETAILS_TQUALITY_CHECK_FAIL_FRONTEND_SESSION_LEVEL", + "INLINE_DETAILS_AQUALITY_CHECK_PASS_FRONTEND_SESSION_LEVEL", + "INLINE_DETAILS_AQUALITY_CHECK_FAIL_FRONTEND_SESSION_LEVEL", + "INLINE_DETAILS_CALLER_AQUALITY_CHECK_PASS_FRONTEND_SESSION_LEVEL", + "INLINE_DETAILS_CALLER_AQUALITY_CHECK_FAIL_FRONTEND_SESSION_LEVEL", "SENT_EMAIL_ENTER_GRACE_PERIOD_SESSION_LEVEL", "SENT_EMAIL_ENTER_SUSPENDED_PERIOD_SESSION_LEVEL", "ANALYTICS_AD_LINKING_RECOMMENDATION_ELIGIBLE_SESSION_LEVEL", @@ -107979,7 +107984,25 @@ "PLANOGRAM_MERCH_AMERICAS_GAMES_PAYPAL_SESSION_LEVEL", "BROAD_INTENT_GAMES_TIMESPENT_SESSION_LEVEL", "ELIGIBLE_FOR_MANAGE_IN_APP_DETAILS_SESSION_LEVEL", - "SEE_REENGAGEMENT_ACC_SESSION_LEVEL", + "ELIGIBLE_FOR_ACC_SESSION_LEVEL", + "ELIGIBLE_FOR_ACQUISITION_ACC_SESSION_LEVEL", + "ELIGIBLE_FOR_REENGAGEMENT_ACC_SESSION_LEVEL", + "MDP_P13N_ALL_SESSION_LEVEL", + "MDP_P13N_GAME_QUERY_L5_SESSION_LEVEL", + "MDP_P13N_GAME_QUERY_L6_SESSION_LEVEL", + "MDP_P13N_GAME_QUERY_L7_SESSION_LEVEL", + "MDP_P13N_GAME_QUERY_L8_SESSION_LEVEL", + "MDP_P13N_GAME_QUERY_L9_SESSION_LEVEL", + "VIDEO_CAN_AUTOPLAY", + "VIDEO_CANNOT_AUTOPLAY", + "YOUTUBE_OPT_IN_NOTIFICATION_DRIVEN_PREFETCH_SESSION_LEVEL", + "YOUTUBE_COUNTERFACTUAL_OPT_IN_NOTIFICATION_DRIVEN_PREFETCH_SESSION_LEVEL", + "YOUTUBE_NOT_OPT_IN_NOTIFICATION_DRIVEN_PREFETCH_SESSION_LEVEL", + "YOUTUBE_FROM_LANDING_PAGE_SESSION_LEVEL", + "SECOND_PASS_POLARIS_RERANKING_SESSION_LEVEL", + "SECOND_PASS_POLARIS_WITH_RANKING_CHANGE_SESSION_LEVEL", + "EXPLORATORY_BOOSTING_SESSION_LEVEL", + "PLAY_BOOKS_READING_PROGRESS_TOOLTIP_SESSION_LEVEL", "SESSION_LEVEL_TEST_CODE_LIMIT", "SHOULD_SEE_LIVE_OP_CLUSTER_USER_LEVEL", "CART_ABANDONMENT_USER_LEVEL", @@ -108023,6 +108046,10 @@ "APPS_PERSONALIZED_CATEGORICAL_GAME_SEEKING_QUERIES_USER_LEVEL", "APPS_PERSONALIZED_CATEGORICAL_NON_TG_QUERIES_USER_LEVEL", "APPS_PERSONALIZED_VERTICAL_RFY_CLUSTER_USER_LEVEL", + "APPS_PERSONALIZED_NAVIGATIONAL_USER_LEVEL", + "APPS_PERSONALIZED_NAVIGATIONAL_GAME_USER_LEVEL", + "APPS_PERSONALIZED_MDP_USER_LEVEL", + "APPS_PERSONALIZED_MDP_GAME_USER_LEVEL", "SUBSCRIPTION_CANCELLATION_PROMOTION_USER_LEVEL", "SUBSCRIPTION_UPDATE_FOP_FOR_DCB_AS_PRIMARY_SIGNUP_USER_LEVEL", "SUBSCRIPTION_UPDATE_FOP_FOR_DCB_AS_PRIMARY_USER_LEVEL", @@ -108183,6 +108210,7 @@ "SHOULD_SEE_FIRST_PARTY_PROMO_LIVE_OP_CTA_USER_LEVEL", "SHOULD_SEE_FIRST_PARTY_PROMO_LIVE_OP_ON_SERP_MDP_USER_LEVEL", "SHOULD_SEE_FIRST_PARTY_PROMO_LIVE_OP_ON_APP_DETAILS_PAGE_USER_LEVEL", + "SHOULD_SEE_FIRST_PARTY_PROMO_LIVE_OP_ON_APP_DP_USER_LEVEL", "CART_ABANDONMENT_SUBSCRIPTION_ONE_TIME_PASS_USER_LEVEL", "LEGOLAND_INSTANT_FOP_SCREEN_USER_LEVEL", "LEGOLAND_INSTANT_FOP_SCREEN_WITH_PROMOTION_USER_LEVEL", @@ -108417,6 +108445,16 @@ "PLAY_ONBOARDING_QUEST_GAMES_HOME_USER_LEVEL", "SERVED_GPP_ONBOARDING_QUEST_USER_LEVEL", "YOUTUBE_OPTED_IN_NOTIFICATION_DRIVEN_PREFETCH_USER_LEVEL", + "PLAY_ONBOARDING_QUEST_GAMES_HOME_SERVER_USER_LEVEL", + "PCH_O2_WITH_CRE_USER_LEVEL", + "MERCH_USER_JOURNEY_SPEND_USER_LEVEL", + "PBUY_FINE_TUNING_WITH_TEXT_TREAT_USER_LEVEL", + "PLAY_GAMES_ACHIEVEMENT_LOYALTY_QUEST_USER_LEVEL", + "PLAY_BOOKS_READING_PROGRESS_TOOLTIP_USER_LEVEL", + "IAP_SKU_DEALS_LIVE_OP_GAMES_HOME_USER_LEVEL1", + "POST_PURCHASE_OFFER_POST_PURCHASE_CONFIRMATION_DIALOG_SERVER_USER_LEVEL", + "POST_PURCHASE_OFFER_POST_PURCHASE_OFFER_SAVED_DIALOG_SERVER_USER_LEVEL", + "POST_PURCHASE_OFFER_VALUE_PROMOTION_DIALOG_SHOWN_SERVER_USER_LEVEL", "USER_LEVEL_TEST_CODE_LIMIT" ], "enumDescriptions": [ @@ -108434,31 +108472,11 @@ "", "", "", - "", - "", - "", - "", - "", - "", - "User should see the live op cluster.", "go/books-language-handling for details", - "", "Create test code for go/it-design experiment", - "", "go/guided-discovery-design for details.", "", "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", "User has live op cluster candidates.", "", "", @@ -108468,36 +108486,9 @@ "", "", "", - "", - "", - "Aqua grammar is used to narrow to offline apps.", - "", - "", - "", - "", - "", - "", - "", - "", "For verify the client test code logging flow.", "", "", - "User has books bigpool recs.", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", "", "", "", @@ -108572,6 +108563,10 @@ "", "", "", + "", + "", + "", + "", "Indicates triggering of Topic RFY cluster", "Triggered Mini Topcharts in apps search.", "", @@ -108691,8 +108686,16 @@ "", "", "", + "", "Event level test codes containing result of aQuality lookup during market details url matching. A failed aQuality result suppresses inline details.", "", + "Event level test code for Aquality/Tquality filtering in LMD project. This is a duplicated testcode created for logging in frontend.", + "", + "", + "", + "", + "", + "", "Event level test code for tracking fresh results seeking within the current year search queries.", "Event level test code for when we filtered >=1 apps due to tq failure.", "Event level test code for Editorial Content/Articles in SERP (FHR)", @@ -108704,6 +108707,12 @@ "", "", "", + "Event level test codes containing results for caller tablet aQaulity checks for HSDP.", + "", + "", + "", + "", + "", "Event level test code for cluster, p13n ranking.", "TestCode for Broad Intent Reweighting Event Level.", "Event level test code for query dependent snippet.", @@ -108714,6 +108723,16 @@ "TestCode for Broad Intent Games TimeSpent Event Level.", "Test codes for the feature and each early-access partners for the Play Store IAP sales project at event-level. go/play-store-iap-sales-dd", "USB connection recovery.", + "MDP P13N", + "", + "", + "", + "", + "", + "Second pass polaris reranking event level.", + "Second pass polaris with ranking change event level.", + "Exploratory boosting event level.", + "Tooltip for unavailable dashboard support for selected navigation app.", "", "", "", @@ -108986,6 +109005,10 @@ "", "", "", + "", + "", + "", + "", "User visited the first tab of Loyalty Home.", "User visited the second tab of Loyalty Home.", "User visited the third tab of Loyalty Home.", @@ -109444,12 +109467,15 @@ "", "", "", + "", "Session level test code logged when the wide media card has invalid video asset in the asset agnostic 3x experiment.", "Session level test code that indicates that the user has at least one alternate form factor device.", "Session level test code that indicates that the user has at more than one alternate form factor devices per form factor.", "Session level test code that indicates that an apps discovery cluster was triggered on the search page.", "Session level test code that indicates that cross form factor wear Suggestion is enabled. b/222328256 for more details.", "Session level test code that indicates that at least one cross form factor wear suggestion is available. b/222328256 for more details.", + "Session level test code that indicates that cross form factor tv Suggestion is enabled. b/257494005 for more details.", + "Session level test code that indicates that at least one cross form factor tv suggestion is available. b/257494005 for more details.", "Session level test code that indicates the subtext is triggered for that group of suggestions. Could either be for XFF Cat, Nav or legacy subtext.", "Session level test codes containing result of tQuality lookup during market details url matching. A failed tQuality result suppresses inline details.", "", @@ -109457,7 +109483,20 @@ "", "", "", + "Session level test codes containing results for caller tablet aQaulity checks for HSDP.", + "", + "", + "", + "", + "", "Session level test code indicating external details URL is an inline URL.", + "Session level test code for Aquality/Tquality filtering in LMD project. This is a duplicated testcode created for logging in frontend.", + "", + "", + "", + "", + "", + "", "Session level test code that indicates that decline email is sent when the subscription enters grace period.", "Session level test code that indicates that decline email is sent when the subscription enters suspended period.", "Session level test code that indicates that user was eligible for ad linking recommendation.", @@ -109613,7 +109652,25 @@ "Session level test code for merch run planogram experiment", "TestCode for Broad Intent Games TimeSpent Session Level.", "Session level test code for eligible users for manage in-app details", - "Session level test code for users that see reengagement ACC", + "Session level test code for users are eligible for ACC", + "Session level test code for users are eligible for acquisition ACC", + "Session level test code for users are eligible for reengagement ACC", + "MDP P13N", + "", + "", + "", + "", + "", + "Session level test code to tell if a video can autoplay for the given user based on their settings and connection status", + "", + "Session level test code for YouTube commerce, tracking users who opt in notification driven prefetch.", + "", + "", + "", + "Second pass polaris reranking session level.", + "Second pass polaris with ranking change session level.", + "Exploratory boosting session level.", + "Session level test code for reading progress tooltip.", "", "User should see the live op cluster.", "Cart abandonment flow for purchase flow.", @@ -109657,6 +109714,10 @@ "", "", "", + "", + "", + "", + "", "Subscription cancellation flow for purchase flow per user.", "Subscription update fop flow at signup when the primary fop", "is dcb. Subscription update fop flow when the primary fop is dcb.", @@ -109817,6 +109878,7 @@ "", "", "", + "", "User saw/would have seen the subscription one time pass offer", "when abandonments the cart.", "", @@ -110051,6 +110113,16 @@ "User level test code for Play Onboarding quest, tracking users who are eligible for Play Onboarding quest in Games Home", "User level test code for users who have been served GPP onboarding quest.", "User level test code for YouTube commerce, tracking users who opted in notification driven prefetch.", + "User level test code for Play Onboarding quest, tracking users who are eligible for Play Onboarding quest in Games Home. This test code is logged on the server side.", + "User level test code for tracking users who are being shown PersistentCartHeader through purchase flow. This test code is logged on the server side.", + "User level test code for Merch user journey experiment. This test code is logged on the Growth Engine server side.", + "User level test code for new uplift modeling architecture with campaign features in treatment tower.", + "User level test code for Non-Play Growth Events experiment (go/npge-prd). Logged on the server side and applied to users that visit Loyalty Home and are eligible to receive a quest with Play Games Achievement tasks, regardless of whether the quest was shown or held back.", + "User level test code for reading progress tooltip.", + "User level test code for tracking users who should see the IAP Sku Games Home liveops card.", + "Post purchase offer test codes User level test code to track the user who sees the post purcahse offer redemption dialog for post purchase offer experiment.", + "User level test code to track the user who sees the post purcahse offer saved dialog for post purchase offer experiment.", + "User level test code to track the user who sees the value promotion dialog, including loyalty upsell, post purcahse offer and so on for post purchase offer experiment.", "" ], "type": "string" @@ -110068,7 +110140,7 @@ "type": "object" }, "VendingConsumerProtoTrustedGenomeEntity": { - "description": "Proto message containing the id, localized title, score, and hierarchy level of a trusted genome entity.", + "description": "Proto message containing the id, localized title, score, and hierarchy level of a trusted genome entity. Next ID: 10", "id": "VendingConsumerProtoTrustedGenomeEntity", "properties": { "categoryId": { @@ -110084,6 +110156,10 @@ "format": "int32", "type": "integer" }, + "predicateName": { + "description": "The name of the relation between the app and the entity. Required.", + "type": "string" + }, "queryText": { "description": "The localized query string for this trusted genome entity. This query will be used when we want to bring users to SERP on click.", "type": "string" @@ -110419,7 +110495,7 @@ "type": "string" }, "ns": { - "description": "LINT.ThenChange( //depot/google3/googledata/production/playbooks/video-assets/clients.md ) REQUIRED.", + "description": "LINT.ThenChange( //depot/google3/googledata/production/playbooks/video-assets/clients.md, //depot/google3/video/assets/venom/proto/namespace.proto ) REQUIRED.", "enum": [ "NS_UNKNOWN", "NS_YOUTUBE", @@ -110458,7 +110534,8 @@ "NS_DEMO", "NS_KARTO", "NS_CONTRIB_SERVICE_SHARED", - "NS_CONTRIB_SERVICE_GEO_UGC" + "NS_CONTRIB_SERVICE_GEO_UGC", + "NS_SEARCH_SPORTS" ], "enumDescriptions": [ "Default (invalid) namespace if the field is not set.", @@ -110498,7 +110575,8 @@ "Namespace for the Demo tier used by new clients to try things out.", "Namespace for Karto videos.", "Namespace for shared ContribService UGC videos.", - "Namespace for GEO UGC videos processed by ContribService. Please receive approval via go/vp-newclients before adding a new namespace." + "Namespace for GEO UGC videos processed by ContribService.", + "Namespace for Search Sports vertical videos. Please receive approval via go/vp-newclients before adding a new namespace." ], "type": "string" } @@ -111614,6 +111692,7 @@ "SHOPPING_COLOR_INFO_V1_V2", "SHOPPING_COLOR_INFO_V3", "SHOPPING_COLOR_INFO_V3_WITHOUT_PER_DOMAIN_OUTPUTS", + "SHOPPING_COLOR_SAMPLING_V1", "FOODNET_WIC_V1", "FOODNET_WIC_V2", "SINGLE_IMAGE_HOLISTIC_STABLE", @@ -111718,6 +111797,7 @@ "ColorInfo versions", "When both SHOPPING_COLOR_INFO_V3_WITHOUT_PER_DOMAIN_OUTPUTS and SHOPPING_COLOR_INFO_V3 are in the request, SHOPPING_COLOR_INFO_V3's response is returned.", "", + "", "FoodNet whole image classifier versions.", "", "Single Image Holistic versions.", @@ -113494,7 +113574,9 @@ "ASR_TRANSCRIPT", "COMMENT", "GENERATIVE_ASR_V2", - "SUMMARY_SEGMENT" + "SUMMARY_SEGMENT", + "OCR_EDU", + "ASR_SPAN_EDU" ], "enumDescriptions": [ "", @@ -113521,7 +113603,9 @@ "Anchors where each timed anchor represents one sentence in the ASR transcript.", "Anchors extracted from a YouTube comment.", "Generative ASR anchors V2.", - "Anchors pointing to the conclusion/summary part of the video. (go/vs-find-summary-segment)" + "Anchors pointing to the conclusion/summary part of the video. (go/vs-find-summary-segment)", + "OCR and ASR anchors generated for educational videos in edu Raffia Overlay.", + "" ], "type": "string" }, @@ -113679,7 +113763,7 @@ "type": "object" }, "VideoContentSearchVideoAnchorScoreInfo": { - "description": "Message to contain scoring / debugging information. If you want to add information which is not directly used in the final VideoAnchor data, it should be put here. Next ID: 25", + "description": "Message to contain scoring / debugging information. If you want to add information which is not directly used in the final VideoAnchor data, it should be put here. Next ID: 27", "id": "VideoContentSearchVideoAnchorScoreInfo", "properties": { "anchorCommonFeatureSet": { @@ -113690,6 +113774,10 @@ "$ref": "Proto2BridgeMessageSet", "description": "Additional attachments which extend MessageSet." }, + "babelCheckpointPath": { + "description": "The path to the particular babel checkpoint", + "type": "string" + }, "captionEntityAnchorFeatures": { "$ref": "VideoContentSearchCaptionEntityAnchorFeatures", "description": "Training features and debug info for caption entity anchors." @@ -113754,6 +113842,14 @@ "$ref": "VideoContentSearchMultimodalTopicTrainingFeatures", "description": "Features for a generated topic used to build training data for multimodal topics." }, + "normalizedBabelEmbedding": { + "description": "Normalized babel embedding of anchor.label(). If the label has more than one sentences, the embedding will be the averaged normalized embedding of each sentence.", + "items": { + "format": "float", + "type": "number" + }, + "type": "array" + }, "ocrAnchorFeature": { "$ref": "VideoContentSearchOnScreenTextFeature", "description": "OCR anchor features." @@ -113876,7 +113972,9 @@ "ASR_TRANSCRIPT", "COMMENT", "GENERATIVE_ASR_V2", - "SUMMARY_SEGMENT" + "SUMMARY_SEGMENT", + "OCR_EDU", + "ASR_SPAN_EDU" ], "enumDescriptions": [ "", @@ -113903,7 +114001,9 @@ "Anchors where each timed anchor represents one sentence in the ASR transcript.", "Anchors extracted from a YouTube comment.", "Generative ASR anchors V2.", - "Anchors pointing to the conclusion/summary part of the video. (go/vs-find-summary-segment)" + "Anchors pointing to the conclusion/summary part of the video. (go/vs-find-summary-segment)", + "OCR and ASR anchors generated for educational videos in edu Raffia Overlay.", + "" ], "type": "string" }, @@ -113991,7 +114091,9 @@ "ASR_TRANSCRIPT", "COMMENT", "GENERATIVE_ASR_V2", - "SUMMARY_SEGMENT" + "SUMMARY_SEGMENT", + "OCR_EDU", + "ASR_SPAN_EDU" ], "enumDescriptions": [ "", @@ -114018,7 +114120,9 @@ "Anchors where each timed anchor represents one sentence in the ASR transcript.", "Anchors extracted from a YouTube comment.", "Generative ASR anchors V2.", - "Anchors pointing to the conclusion/summary part of the video. (go/vs-find-summary-segment)" + "Anchors pointing to the conclusion/summary part of the video. (go/vs-find-summary-segment)", + "OCR and ASR anchors generated for educational videos in edu Raffia Overlay.", + "" ], "type": "string" }, @@ -125958,7 +126062,7 @@ "type": "object" }, "YoutubeCommentsClusteringMiniStanza": { - "description": "Intended to be simpler to work with than the ExportedStanza it's derived from See documentation: https://g3doc.corp.google.com/company/teams/youtube/community_intelligence/eng_resources/data_sources.md#ministanza Next available: 75", + "description": "Intended to be simpler to work with than the ExportedStanza it's derived from See documentation: https://g3doc.corp.google.com/company/teams/youtube/community_intelligence/eng_resources/data_sources.md#ministanza Next available: 76", "id": "YoutubeCommentsClusteringMiniStanza", "properties": { "ansibleScores": { @@ -126159,6 +126263,7 @@ "WEB_GVP_ADS", "ANDROID_GVP_ADS", "IOS_GVP_ADS", + "VAST_GVP_ADS", "GOOGLE_ASSISTANT", "GOOGLE_LIST_RECS", "GOOGLE_MEDIA_ACTIONS", @@ -126258,6 +126363,7 @@ "GVP clients (IMA and GMA SDKs) go/gvp-sdk These are ad SDKs used by non-YouTube publishers to play ads, including YouTube hosted ads. The main interaction with YouTube is for TrueView, which increments YouTube viewcount of the ad video after the delay is reached. Thus, the ad SDKs send requests to the viewcount/VSS pipeline. IMA SDK", "GMA SDK Android", "GMA SDK iOS", + "VAST based SDKs", "Middleware or Frontend Server Clients Google Assistant integration with Voz", "List Recs Service Clients", "Media Actions Service Clients", @@ -126489,6 +126595,10 @@ "format": "double", "type": "number" }, + "ytAuthorChannelId": { + "description": "The youtube channel id of the comment author.", + "type": "string" + }, "ytCommentQualityScore": { "description": "Existing quality corpus scores.", "format": "double", @@ -126830,13 +126940,8 @@ "GEO_TYPES_COLLECTION_BUSINESSES", "GEO_TYPES_COLLECTION_POTENTIALLY_SENSITIVE", "GEO_TYPE", - "ADDED_DURING_GEO_ENTITIES_PROMOTION", - "GEO_TYPE_COMPOUND_BUILDING", - "GEO_TYPE_POLITICAL", "GEO_TYPES_COLLECTION_SMALL_POLITICALS", - "GEO_TYPES_COLLECTION_CITY_LEVEL_POLITICALS", - "GEO_TYPES_COLLECTION_LARGE_POLITICALS", - "GEO_TYPES_COLLECTION_NATURAL_FEATURES", + "ADDED_DURING_GEO_ENTITIES_PROMOTION", "DENORM_LOCATION_TO_CONTAINING_COUNTRY", "DENORM_LOCATION_TO_CONTAINING_REGION", "DENORM_LOCATION_TO_CONTAINING_CITY", @@ -126882,14 +126987,14 @@ "The entity refers to a creator who has uploaded this video on a VEVO channel with no other creators. go/avg-use-cases go/artist-channels contact: ytm-classification-eng@google.com", "The entity refers to a creator who has uploaded this video on a channel that they are verified to control, but not their official channel go/avg-use-cases go/artist-channels contact: ytm-classification-eng@google.com", "The entity refers to a creator who has uploaded this video on a channel that they are verified to be related to, but may not control exclusively go/avg-use-cases go/artist-channels contact: ytm-classification-eng@google.com", - "The entity refers to the TV show that this video contains footage of, in a way that is appropriate for watching the show itself. A show with commentary voiceover shouldn't get this context. Typically determined using ContentID with audiovisual matches. This means that a show which is not claimed can't have this context.", + "Deprecated. The context is currently unused and very sparse populated. We plan to delete it.", "The entity refers to a TV show genre added from a TV show annotated on this video. Note that this does not imply that TV_SHOW_FOOTAGE is present on any annotation for this video; the show may have been obtained using metadata methods and we don't know for sure that footage is present.", "The entity refers to a movie genre added from a movie annotated on this video. Note that this might also trigger for shoulder content such as trailers or interviews.", "The entity refers to the top scored game title(s) for a particular gaming related video.", - "The entity refers to an item equiped by some \"object\" (in the subject-predicate-object sense) in the game in this video. This context comes from the game state annotation process detailed at go/game-state-annotation-design.", - "The entity refers to an item used by some \"object\" (in the subject-predicate-object sense) in the game in this video. This context comes from the game state annotation process detailed at go/game-state-annotation-design, and an example of its generation and meaning is described in go/clash-legos-semantics.", - "The entity refers to a character who is an ally of some \"object\" (in the subject-predicate-object sense) in the game in this video. This context comes from the game state annotation process detailed at go/game-state-annotation-design.", - "The entity refers to a character who is controlled by some \"object\" (in the subject-predicate-object sense) in the game in this video. This context comes from the game state annotation process detailed at go/game-state-annotation-design.", + "Deprecated. The experiment on top of this has not launched.", + "Deprecated. The experiment on top of this has not launched.", + "Deprecated. The experiment on top of this has not launched.", + "Deprecated. The experiment on top of this has not launched.", "The entity refers to a Legos annotation that is manually requested by the live discovery team for sports live streams.", "The entity refers to a creator who has uploaded this video on one of their channels that is present as a social profile in KG, e.g. https://screenshot.googleplex.com/RCNN3YPizpe.png. Annotations with this context may overlap with CREATOR_OFFICIAL_CHANNEL which is Disco3 specific.", "Deprecated context, do not use.", @@ -126927,11 +127032,6 @@ "Context used by Geo that indicates if an entity is a geo feature.", "Deprecated. See b/244583433. Instead, consider relying on GEO_TYPE and looking up individual KG types in YTKS.", "Deprecated. See b/244583433. Instead, consider relying on GEO_TYPE and looking up individual KG types in YTKS.", - "Deprecated. See b/244583433. Instead, consider relying on GEO_TYPE and looking up individual KG types in YTKS.", - "Deprecated. See b/244583433. Instead, consider relying on GEO_TYPE and looking up individual KG types in YTKS.", - "Deprecated. See b/244583433. Instead, consider relying on GEO_TYPE and looking up individual KG types in YTKS.", - "Deprecated. See b/244583433. Instead, consider relying on GEO_TYPE and looking up individual KG types in YTKS.", - "Deprecated. See b/244583433. Instead, consider relying on GEO_TYPE and looking up individual KG types in YTKS.", "Assigned to an entity that has been denormalized from an entity which it geographically contains according to the containing entity's type.", "", "", @@ -127050,7 +127150,7 @@ } }, "servicePath": "", - "title": "contentwarehouse API", + "title": "Document AI Warehouse API", "version": "v1", "version_module": true } \ No newline at end of file
diff --git a/discovery/googleapis/customsearch__v1.json b/discovery/googleapis/customsearch__v1.json index 4e8b80a..141ce4c 100644 --- a/discovery/googleapis/customsearch__v1.json +++ b/discovery/googleapis/customsearch__v1.json
@@ -673,7 +673,7 @@ } } }, - "revision": "20221203", + "revision": "20230116", "rootUrl": "https://customsearch.googleapis.com/", "schemas": { "Promotion": {
diff --git a/discovery/googleapis/datacatalog__v1.json b/discovery/googleapis/datacatalog__v1.json index 9b81e93..4a02a89 100644 --- a/discovery/googleapis/datacatalog__v1.json +++ b/discovery/googleapis/datacatalog__v1.json
@@ -529,6 +529,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "import": { + "description": "Imports entries from some source (e.g. dump in a Cloud Storage bucket) to the Data Catalog. Dump here is a snapshot of the third-party system state, that needs to be ingested in the Data Catalog. Import of entries is a sync operation that reconciles state of the third-party system and Data Catalog. ImportEntries is a long-running operation done in the background, so this method returns long-running operation resource. The resource can be queried with Operations.GetOperation which contains metadata and response.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries:import", + "httpMethod": "POST", + "id": "datacatalog.projects.locations.entryGroups.entries.import", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Target entry group for ingested entries.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/entries:import", + "request": { + "$ref": "GoogleCloudDatacatalogV1ImportEntriesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists entries. Note: Currently, this method can list only custom entries. To get a list of both custom and automatically created entries, use SearchCatalog.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries", @@ -1005,6 +1033,126 @@ } } }, + "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": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "datacatalog.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "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": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "datacatalog.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "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": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "datacatalog.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "datacatalog.projects.locations.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/[^/]+/locations/[^/]+$", + "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": "v1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "tagTemplates": { "methods": { "create": { @@ -1951,7 +2099,7 @@ } } }, - "revision": "20221025", + "revision": "20230109", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -2181,6 +2329,10 @@ "description": "Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.", "type": "string" }, + "defaultValue": { + "description": "Optional. Default value for the column.", + "type": "string" + }, "description": { "description": "Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.", "type": "string" @@ -2189,10 +2341,37 @@ "description": "Optional. Garbage collection policy for the column or column family. Applies to systems like Cloud Bigtable.", "type": "string" }, + "highestIndexingType": { + "description": "Optional. Most important inclusion of this column.", + "enum": [ + "INDEXING_TYPE_UNSPECIFIED", + "INDEXING_TYPE_NONE", + "INDEXING_TYPE_NON_UNIQUE", + "INDEXING_TYPE_UNIQUE", + "INDEXING_TYPE_PRIMARY_KEY" + ], + "enumDescriptions": [ + "Unspecified.", + "Column not a part of an index.", + "Column Part of non unique index.", + "Column part of unique index.", + "Column part of the primary key." + ], + "type": "string" + }, + "lookerColumnSpec": { + "$ref": "GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec", + "description": "Looker specific column info of this column." + }, "mode": { "description": "Optional. A column's mode indicates whether values in this column are required, nullable, or repeated. Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported. Default mode is `NULLABLE`.", "type": "string" }, + "ordinalPosition": { + "description": "Optional. Ordinal position", + "format": "int32", + "type": "integer" + }, "subcolumns": { "description": "Optional. Schema of sub-columns. A column can have zero or more sub-columns.", "items": { @@ -2207,6 +2386,45 @@ }, "type": "object" }, + "GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec": { + "description": "Column info specific to Looker System.", + "id": "GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec", + "properties": { + "type": { + "description": "Looker specific column type of this column.", + "enum": [ + "LOOKER_COLUMN_TYPE_UNSPECIFIED", + "DIMENSION", + "DIMENSION_GROUP", + "FILTER", + "MEASURE", + "PAREMETER" + ], + "enumDescriptions": [ + "Unspecified.", + "Dimension.", + "Dimension group - parent for Dimension.", + "Filter.", + "Measure.", + "Parameter." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDatacatalogV1CommonUsageStats": { + "description": "Common statistics on the entry's usage. They can be set on any system.", + "id": "GoogleCloudDatacatalogV1CommonUsageStats", + "properties": { + "viewCount": { + "description": "View count in source system.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDatacatalogV1Contacts": { "description": "Contact people for the entry.", "id": "GoogleCloudDatacatalogV1Contacts", @@ -2296,6 +2514,10 @@ "description": "Specification that applies to a table resource. Valid only for entries with the `TABLE` type.", "id": "GoogleCloudDatacatalogV1DatabaseTableSpec", "properties": { + "databaseViewSpec": { + "$ref": "GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec", + "description": "Spec what aplies to tables that are actually views. Not set for \"real\" tables." + }, "dataplexTable": { "$ref": "GoogleCloudDatacatalogV1DataplexTableSpec", "description": "Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.", @@ -2318,6 +2540,35 @@ }, "type": "object" }, + "GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec": { + "description": "Specification that applies to database view.", + "id": "GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec", + "properties": { + "baseTable": { + "description": "Name of a singular table this view reflects one to one.", + "type": "string" + }, + "sqlQuery": { + "description": "SQL query used to generate this view.", + "type": "string" + }, + "viewType": { + "description": "Type of this view.", + "enum": [ + "VIEW_TYPE_UNSPECIFIED", + "STANDARD_VIEW", + "MATERIALIZED_VIEW" + ], + "enumDescriptions": [ + "Default unknown view type.", + "Standard view.", + "Materialized view." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDatacatalogV1DataplexExternalTable": { "description": "External table registered by Dataplex. Dataplex publishes data discovered from an asset into multiple other systems (BigQuery, DPMS) in form of tables. We call them \"external tables\". External tables are also synced into the Data Catalog. This message contains pointers to those external tables (fully qualified name, resource name et cetera) within the Data Catalog.", "id": "GoogleCloudDatacatalogV1DataplexExternalTable", @@ -2341,14 +2592,18 @@ "BIGQUERY", "CLOUD_PUBSUB", "DATAPROC_METASTORE", - "DATAPLEX" + "DATAPLEX", + "CLOUD_SQL", + "LOOKER" ], "enumDescriptions": [ "Default unknown system.", "BigQuery.", "Cloud Pub/Sub.", "Dataproc Metastore.", - "Dataplex." + "Dataplex.", + "Cloud Sql", + "Looker" ], "type": "string" } @@ -2440,14 +2695,14 @@ }, "databaseTableSpec": { "$ref": "GoogleCloudDatacatalogV1DatabaseTableSpec", - "description": "Specification that applies to a table resource. Valid only for entries with the `TABLE` type." + "description": "Specification that applies to a table resource. Valid only for entries with the `TABLE` or `EXPLORE` type." }, "description": { "description": "Entry description that can consist of several sentences or paragraphs that describe entry contents. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). The maximum size is 2000 bytes when encoded in UTF-8. Default value is an empty string.", "type": "string" }, "displayName": { - "description": "Display name of an entry. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum size is 200 bytes when encoded in UTF-8. Default value is an empty string.", + "description": "Display name of an entry. The maximum size is 500 bytes when encoded in UTF-8. Default value is an empty string.", "type": "string" }, "filesetSpec": { @@ -2469,14 +2724,18 @@ "BIGQUERY", "CLOUD_PUBSUB", "DATAPROC_METASTORE", - "DATAPLEX" + "DATAPLEX", + "CLOUD_SQL", + "LOOKER" ], "enumDescriptions": [ "Default unknown system.", "BigQuery.", "Cloud Pub/Sub.", "Dataproc Metastore.", - "Dataplex." + "Dataplex.", + "Cloud Sql", + "Looker" ], "readOnly": true, "type": "string" @@ -2492,6 +2751,10 @@ "description": "The resource this metadata entry refers to. For Google Cloud Platform resources, `linked_resource` is the [Full Resource Name] (https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the `linked_resource` for a table resource from BigQuery is: `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}` Output only when the entry is one of the types in the `EntryType` enum. For entries with a `user_specified_type`, this field is optional and defaults to an empty string. The resource string must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.), colons (:), slashes (/), dashes (-), and hashes (#). The maximum size is 200 bytes when encoded in UTF-8.", "type": "string" }, + "lookerSystemSpec": { + "$ref": "GoogleCloudDatacatalogV1LookerSystemSpec", + "description": "Specification that applies to Looker sysstem. Only settable when `user_specified_system` is equal to `LOOKER`" + }, "name": { "description": "Output only. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name.", "readOnly": true, @@ -2514,6 +2777,10 @@ "$ref": "GoogleCloudDatacatalogV1SystemTimestamps", "description": "Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a system listed in the `IntegratedSystem` enum. For entries with `user_specified_system`, this field is optional and defaults to an empty timestamp." }, + "sqlDatabaseSystemSpec": { + "$ref": "GoogleCloudDatacatalogV1SqlDatabaseSystemSpec", + "description": "Specification that applies to a relational database system. Only settable when `user_specified_system` is equal to `SQL_DATABASE`" + }, "type": { "description": "The type of the entry. Only used for entries with types listed in the `EntryType` enum. Currently, only `FILESET` enum value is allowed. All other entries created in Data Catalog must use the `user_specified_type`.", "enum": [ @@ -2528,7 +2795,11 @@ "ROUTINE", "LAKE", "ZONE", - "SERVICE" + "SERVICE", + "DATABASE_SCHEMA", + "DASHBOARD", + "EXPLORE", + "LOOK" ], "enumDescriptions": [ "Default unknown type.", @@ -2542,7 +2813,11 @@ "Output only. Routine, for example, a BigQuery routine.", "A Dataplex lake.", "A Dataplex zone.", - "A service, for example, a Dataproc Metastore service." + "A service, for example, a Dataproc Metastore service.", + "Schema within a relational database.", + "A Dashboard, for example from Looker.", + "A Looker Explore. For more information, see [Looker Explore API] (https://developers.looker.com/api/explorer/4.0/methods/LookmlModel/lookml_model_explore).", + "A Looker Look. For more information, see [Looker Look API] (https://developers.looker.com/api/explorer/4.0/methods/Look)." ], "type": "string" }, @@ -2718,6 +2993,66 @@ }, "type": "object" }, + "GoogleCloudDatacatalogV1ImportEntriesMetadata": { + "description": "Metadata message for long-running operation returned by the ImportEntries.", + "id": "GoogleCloudDatacatalogV1ImportEntriesMetadata", + "properties": { + "errors": { + "description": "Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.", + "items": { + "$ref": "Status" + }, + "type": "array" + }, + "state": { + "description": "State of the import operation.", + "enum": [ + "IMPORT_STATE_UNSPECIFIED", + "IMPORT_QUEUED", + "IMPORT_IN_PROGRESS", + "IMPORT_DONE", + "IMPORT_OBSOLETE" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The dump with entries has been queued for import.", + "The import of entries is in progress.", + "The import of entries has been finished.", + "The import of entries has been abandoned in favor of a newer request." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDatacatalogV1ImportEntriesRequest": { + "description": "Request message for ImportEntries method.", + "id": "GoogleCloudDatacatalogV1ImportEntriesRequest", + "properties": { + "gcsBucketPath": { + "description": "Path to a Cloud Storage bucket that contains a dump ready for ingestion.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDatacatalogV1ImportEntriesResponse": { + "description": "Response message for long-running operation returned by the ImportEntries.", + "id": "GoogleCloudDatacatalogV1ImportEntriesResponse", + "properties": { + "deletedEntriesCount": { + "description": "Number of entries deleted as a result of import operation.", + "format": "int64", + "type": "string" + }, + "upsertedEntriesCount": { + "description": "Cumulative number of entries created and entries updated as a result of import operation.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDatacatalogV1ImportTaxonomiesRequest": { "description": "Request message for ImportTaxonomies.", "id": "GoogleCloudDatacatalogV1ImportTaxonomiesRequest", @@ -2851,6 +3186,37 @@ }, "type": "object" }, + "GoogleCloudDatacatalogV1LookerSystemSpec": { + "description": "Specification that applies to entries that are part `LOOKER` system (user_specified_type)", + "id": "GoogleCloudDatacatalogV1LookerSystemSpec", + "properties": { + "parentInstanceDisplayName": { + "description": "Name of the parent Looker Instance. Empty if it does not exist.", + "type": "string" + }, + "parentInstanceId": { + "description": "ID of the parent Looker Instance. Empty if it does not exist. Example value: `someinstance.looker.com`", + "type": "string" + }, + "parentModelDisplayName": { + "description": "Name of the parent Model. Empty if it does not exist.", + "type": "string" + }, + "parentModelId": { + "description": "ID of the parent Model. Empty if it does not exist.", + "type": "string" + }, + "parentViewDisplayName": { + "description": "Name of the parent View. Empty if it does not exist.", + "type": "string" + }, + "parentViewId": { + "description": "ID of the parent View. Empty if it does not exist.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDatacatalogV1ModifyEntryContactsRequest": { "description": "Request message for ModifyEntryContacts.", "id": "GoogleCloudDatacatalogV1ModifyEntryContactsRequest", @@ -3241,14 +3607,18 @@ "BIGQUERY", "CLOUD_PUBSUB", "DATAPROC_METASTORE", - "DATAPLEX" + "DATAPLEX", + "CLOUD_SQL", + "LOOKER" ], "enumDescriptions": [ "Default unknown system.", "BigQuery.", "Cloud Pub/Sub.", "Dataproc Metastore.", - "Dataplex." + "Dataplex.", + "Cloud Sql", + "Looker" ], "readOnly": true, "type": "string" @@ -3356,6 +3726,25 @@ }, "type": "object" }, + "GoogleCloudDatacatalogV1SqlDatabaseSystemSpec": { + "description": "Specification that applies to entries that are part `SQL_DATABASE` system (user_specified_type)", + "id": "GoogleCloudDatacatalogV1SqlDatabaseSystemSpec", + "properties": { + "databaseVersion": { + "description": "Version of the database engine.", + "type": "string" + }, + "instanceHost": { + "description": "Host of the SQL database enum InstanceHost { UNDEFINED = 0; SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the enclousing database instance.", + "type": "string" + }, + "sqlEngine": { + "description": "SQL Database Engine. enum SqlEngine { UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL = 2; SQL_SERVER = 3; } Engine of the enclosing database instance.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDatacatalogV1StarEntryRequest": { "description": "Request message for StarEntry.", "id": "GoogleCloudDatacatalogV1StarEntryRequest", @@ -3628,6 +4017,18 @@ "description": "The set of all usage signals that Data Catalog stores. Note: Usually, these signals are updated daily. In rare cases, an update may fail but will be performed again on the next day.", "id": "GoogleCloudDatacatalogV1UsageSignal", "properties": { + "commonUsageWithinTimeRange": { + "additionalProperties": { + "$ref": "GoogleCloudDatacatalogV1CommonUsageStats" + }, + "description": "Common usage statistics over each of the predefined time ranges. Supported time ranges are `{\"24H\", \"7D\", \"30D\", \"Lifetime\"}`.", + "type": "object" + }, + "favoriteCount": { + "description": "Favorite count in the source system.", + "format": "int64", + "type": "string" + }, "updateTime": { "description": "The end timestamp of the duration of usage statistics.", "format": "google-datetime", @@ -3683,6 +4084,59 @@ }, "type": "object" }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "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": "Status", + "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/{unique_id}`.", + "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" + }, "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", @@ -3718,6 +4172,33 @@ }, "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", + "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. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, "TestIamPermissionsRequest": { "description": "Request message for `TestIamPermissions` method.", "id": "TestIamPermissionsRequest",
diff --git a/discovery/googleapis/datafusion__v1.json b/discovery/googleapis/datafusion__v1.json index 33de85c..d124831 100644 --- a/discovery/googleapis/datafusion__v1.json +++ b/discovery/googleapis/datafusion__v1.json
@@ -735,7 +735,7 @@ } } }, - "revision": "20220908", + "revision": "20221213", "rootUrl": "https://datafusion.googleapis.com/", "schemas": { "Accelerator": { @@ -759,7 +759,7 @@ "type": "string" }, "state": { - "description": "The state of the accelerator", + "description": "The state of the accelerator.", "enum": [ "STATE_UNSPECIFIED", "ENABLED", @@ -767,10 +767,10 @@ "UNKNOWN" ], "enumDescriptions": [ - "Default value, do not use", - "Indicates that the accelerator is enabled and available to use", - "Indicates that the accelerator is disabled and not available to use", - "Indicates that accelerator state is currently unknown. Requests for enable, disable could be retried while in this state" + "Default value, do not use.", + "Indicates that the accelerator is enabled and available to use.", + "Indicates that the accelerator is disabled and not available to use.", + "Indicates that accelerator state is currently unknown. Requests for enable, disable could be retried while in this state." ], "type": "string" } @@ -1008,6 +1008,10 @@ "description": "Option to enable Stackdriver Monitoring.", "type": "boolean" }, + "enableZoneSeparation": { + "description": "Option to enable granular zone separation.", + "type": "boolean" + }, "eventPublishConfig": { "$ref": "EventPublishConfig", "description": "Option to enable and pass metadata for event publishing."
diff --git a/discovery/googleapis/datamigration__v1.json b/discovery/googleapis/datamigration__v1.json index 9a0fe0f..c09073b 100644 --- a/discovery/googleapis/datamigration__v1.json +++ b/discovery/googleapis/datamigration__v1.json
@@ -199,9 +199,19 @@ "type": "string" }, "requestId": { - "description": "A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "description": "Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", "location": "query", "type": "string" + }, + "skipValidation": { + "description": "Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles.", + "location": "query", + "type": "boolean" + }, + "validateOnly": { + "description": "Optional. Only validate the connection profile, but don't create any resources. The default is false. Only supported for Oracle connection profiles.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+parent}/connectionProfiles", @@ -369,15 +379,25 @@ "type": "string" }, "requestId": { - "description": "A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "description": "Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", "location": "query", "type": "string" }, + "skipValidation": { + "description": "Optional. Update the connection profile without validating it. The default is false. Only supported for Oracle connection profiles.", + "location": "query", + "type": "boolean" + }, "updateMask": { "description": "Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update.", "format": "google-fieldmask", "location": "query", "type": "string" + }, + "validateOnly": { + "description": "Optional. Only validate the connection profile, but don't update any resources. The default is false. Only supported for Oracle connection profiles.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}", @@ -449,6 +469,497 @@ } } }, + "conversionWorkspaces": { + "methods": { + "apply": { + "description": "Apply draft tree onto a specific destination database", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}:apply", + "httpMethod": "POST", + "id": "datamigration.projects.locations.conversionWorkspaces.apply", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the conversion workspace resource to apply draft to destination for. in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:apply", + "request": { + "$ref": "ApplyConversionWorkspaceRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "commit": { + "description": "Marks all the data in the conversion workspace as committed.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}:commit", + "httpMethod": "POST", + "id": "datamigration.projects.locations.conversionWorkspaces.commit", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the conversion workspace resource to commit.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:commit", + "request": { + "$ref": "CommitConversionWorkspaceRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "convert": { + "description": "Creates a draft tree schema for the destination database.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}:convert", + "httpMethod": "POST", + "id": "datamigration.projects.locations.conversionWorkspaces.convert", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:convert", + "request": { + "$ref": "ConvertConversionWorkspaceRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates a new conversion workspace in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces", + "httpMethod": "POST", + "id": "datamigration.projects.locations.conversionWorkspaces.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "conversionWorkspaceId": { + "description": "Required. The ID of the conversion workspace to create.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of conversion workspaces.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/conversionWorkspaces", + "request": { + "$ref": "ConversionWorkspace" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single conversion workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}", + "httpMethod": "DELETE", + "id": "datamigration.projects.locations.conversionWorkspaces.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the conversion workspace resource to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "describeConversionWorkspaceRevisions": { + "description": "Retrieves a list of committed revisions of a specific conversion workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}:describeConversionWorkspaceRevisions", + "httpMethod": "GET", + "id": "datamigration.projects.locations.conversionWorkspaces.describeConversionWorkspaceRevisions", + "parameterOrder": [ + "conversionWorkspace" + ], + "parameters": { + "commitId": { + "description": "Optional. Optional filter to request a specific commit id", + "location": "query", + "type": "string" + }, + "conversionWorkspace": { + "description": "Required. Name of the conversion workspace resource whose revisions are listed. in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+conversionWorkspace}:describeConversionWorkspaceRevisions", + "response": { + "$ref": "DescribeConversionWorkspaceRevisionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "describeDatabaseEntities": { + "description": "Use this method to describe the database entities tree for a specific conversion workspace and a specific tree type. The DB Entities are not a resource like conversion workspace or mapping rule, and they can not be created, updated or deleted like one. Instead they are simple data objects describing the structure of the client database.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}:describeDatabaseEntities", + "httpMethod": "GET", + "id": "datamigration.projects.locations.conversionWorkspaces.describeDatabaseEntities", + "parameterOrder": [ + "conversionWorkspace" + ], + "parameters": { + "commitId": { + "description": "Request a specific commit id. If not specified, the entities from the latest commit are returned.", + "location": "query", + "type": "string" + }, + "conversionWorkspace": { + "description": "Required. Name of the conversion workspace resource whose DB entities are described in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + }, + "filter": { + "description": "Filter the returned entities based on AIP-160 standard", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of entities to return. The service may return fewer than this value.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The nextPageToken value received in the previous call to conversionWorkspace.describeDatabaseEntities, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspace.describeDatabaseEntities must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "tree": { + "description": "The tree to fetch", + "enum": [ + "DB_TREE_TYPE_UNSPECIFIED", + "SOURCE_TREE", + "DRAFT_TREE", + "DESTINATION_TREE" + ], + "enumDescriptions": [ + "Unspecified tree type", + "The source database tree", + "The draft database tree", + "The destination database tree" + ], + "location": "query", + "type": "string" + }, + "uncommitted": { + "description": "Whether to retrieve the latest committed version of the entities or the latest version. This field is ignored if a specific commit_id is specified.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+conversionWorkspace}:describeDatabaseEntities", + "response": { + "$ref": "DescribeDatabaseEntitiesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single conversion workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}", + "httpMethod": "GET", + "id": "datamigration.projects.locations.conversionWorkspaces.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the conversion workspace resource to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ConversionWorkspace" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists conversion workspaces in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces", + "httpMethod": "GET", + "id": "datamigration.projects.locations.conversionWorkspaces.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters conversion workspaces listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list conversion workspaces created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **source.version = \"12.c.1\"** to select all conversion workspaces with source database version equal to 12.c.1", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets will be returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The nextPageToken value received in the previous call to conversionWorkspaces.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspaces.list must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of conversion workspaces.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/conversionWorkspaces", + "response": { + "$ref": "ListConversionWorkspacesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single conversion workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}", + "httpMethod": "PATCH", + "id": "datamigration.projects.locations.conversionWorkspaces.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Required. Field mask is used to specify the fields to be overwritten in the conversion workspace resource by the update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "ConversionWorkspace" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "rollback": { + "description": "Rollbacks a conversion workspace to the last committed spanshot.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}:rollback", + "httpMethod": "POST", + "id": "datamigration.projects.locations.conversionWorkspaces.rollback", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the conversion workspace resource to rollback to.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:rollback", + "request": { + "$ref": "RollbackConversionWorkspaceRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "searchBackgroundJobs": { + "description": "Use this method to search/list the background jobs for a specific conversion workspace. The background jobs are not a resource like conversion workspace or mapping rule, and they can not be created, updated or deleted like one. Instead they are a way to expose the data plane jobs log.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}:searchBackgroundJobs", + "httpMethod": "GET", + "id": "datamigration.projects.locations.conversionWorkspaces.searchBackgroundJobs", + "parameterOrder": [ + "conversionWorkspace" + ], + "parameters": { + "completedUntilTime": { + "description": "Optional. If supplied, will only return jobs that completed until (not including) the given timestamp.", + "format": "google-datetime", + "location": "query", + "type": "string" + }, + "conversionWorkspace": { + "description": "Required. Name of the conversion workspace resource whos jobs are listed. in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + }, + "maxSize": { + "description": "Optional. The maximum number of jobs to return. The service may return fewer than this value. If unspecified, at most 100 jobs will be returned. The maximum value is 100; values above 100 will be coerced to 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "returnMostRecentPerJobType": { + "description": "Optional. Whether or not to return just the most recent job per job type", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+conversionWorkspace}:searchBackgroundJobs", + "response": { + "$ref": "SearchBackgroundJobsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "seed": { + "description": "Imports a snapshot of the source database into the conversion workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}:seed", + "httpMethod": "POST", + "id": "datamigration.projects.locations.conversionWorkspaces.seed", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the conversion workspace resource to seed with new database structure. in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:seed", + "request": { + "$ref": "SeedConversionWorkspaceRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "mappingRules": { + "methods": { + "import": { + "description": "Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}/mappingRules:import", + "httpMethod": "POST", + "id": "datamigration.projects.locations.conversionWorkspaces.mappingRules.import", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/mappingRules:import", + "request": { + "$ref": "ImportMappingRulesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "migrationJobs": { "methods": { "create": { @@ -1041,13 +1552,161 @@ ] } } + }, + "privateConnections": { + "methods": { + "create": { + "description": "Creates a new private connection in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections", + "httpMethod": "POST", + "id": "datamigration.projects.locations.privateConnections.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent that owns the collection of PrivateConnections.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "privateConnectionId": { + "description": "Required. The private connection identifier.", + "location": "query", + "type": "string" + }, + "requestId": { + "description": "Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "location": "query", + "type": "string" + }, + "skipValidation": { + "description": "Optional. If set to true, will skip validations.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/privateConnections", + "request": { + "$ref": "PrivateConnection" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single Database Migration Service private connection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}", + "httpMethod": "DELETE", + "id": "datamigration.projects.locations.privateConnections.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the private connection to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single private connection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}", + "httpMethod": "GET", + "id": "datamigration.projects.locations.privateConnections.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the private connection to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/privateConnections/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "PrivateConnection" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Retrieves a list of private connections in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/privateConnections", + "httpMethod": "GET", + "id": "datamigration.projects.locations.privateConnections.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters private connections listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list private connections created this year by specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Order by fields for the result.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Maximum number of private connections to return. If unspecified, at most 50 private connections that will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent that owns the collection of private connections.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/privateConnections", + "response": { + "$ref": "ListPrivateConnectionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } } } } } } }, - "revision": "20221108", + "revision": "20230105", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -1090,6 +1749,21 @@ }, "type": "object" }, + "ApplyConversionWorkspaceRequest": { + "description": "Request message for 'ApplyConversionWorkspace' request.", + "id": "ApplyConversionWorkspaceRequest", + "properties": { + "connectionProfile": { + "description": "Fully qualified (Uri) name of the destination connection profile.", + "type": "string" + }, + "filter": { + "description": "Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering.", + "type": "string" + } + }, + "type": "object" + }, "AuditConfig": { "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", "id": "AuditConfig", @@ -1138,6 +1812,75 @@ }, "type": "object" }, + "BackgroundJobLogEntry": { + "description": "Execution log of a background job.", + "id": "BackgroundJobLogEntry", + "properties": { + "completionComment": { + "description": "Job completion comment, such as how many entities were seeded, how many warnings were found during conversion and similar information.", + "type": "string" + }, + "completionState": { + "description": "Job completion state, i.e. the final state after the job completed.", + "enum": [ + "JOB_COMPLETION_STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "The status is not specified. This state will be used when job is not yet finished.", + "Success.", + "Error." + ], + "type": "string" + }, + "finishTime": { + "description": "The timestamp when the background job was finished.", + "format": "google-datetime", + "type": "string" + }, + "id": { + "description": "The background job log entry id", + "type": "string" + }, + "importRulesJobDetails": { + "$ref": "ImportRulesJobDetails", + "description": "Import rules job details" + }, + "jobType": { + "description": "The type of job that was executed.", + "enum": [ + "BACKGROUND_JOB_TYPE_UNSPECIFIED", + "BACKGROUND_JOB_TYPE_SOURCE_SEED", + "BACKGROUND_JOB_TYPE_CONVERT", + "BACKGROUND_JOB_TYPE_APPLY_DESTINATION", + "BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE" + ], + "enumDescriptions": [ + "Unspecified background job type", + "Job to seed from the source database", + "Job to convert the source database into a draft of the destination database", + "Job to apply the draft tree onto the destination", + "Job to import and convert mapping rules from an external source such as an ora2pg config file" + ], + "type": "string" + }, + "requestAutocommit": { + "description": "Whether the client requested the conversion workspace to be committed after a successful completion of the job.", + "type": "boolean" + }, + "seedJobDetails": { + "$ref": "SeedJobDetails", + "description": "Seed job details" + }, + "startTime": { + "description": "The timestamp when the background job was started.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "Binding": { "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", @@ -1339,6 +2082,109 @@ }, "type": "object" }, + "ColumnEntity": { + "description": "Column is not used as an independent entity, it is retrieved as part of a Table entity.", + "id": "ColumnEntity", + "properties": { + "array": { + "description": "Is the column of array type", + "type": "boolean" + }, + "arrayLength": { + "description": "If the column is array, of which length", + "format": "int32", + "type": "integer" + }, + "autoGenerated": { + "description": "Is the column auto-generated/identity", + "type": "boolean" + }, + "charset": { + "description": "Charset override - instead of table level charset", + "type": "string" + }, + "collation": { + "description": "Collation override - instead of table level collation", + "type": "string" + }, + "comment": { + "description": "Comment associated with the column", + "type": "string" + }, + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + }, + "dataType": { + "description": "Column data type", + "type": "string" + }, + "defaultValue": { + "description": "Default value of the column", + "type": "string" + }, + "fractionalSecondsPrecision": { + "description": "Column fractional second precision - used for timestamp based datatypes", + "format": "int32", + "type": "integer" + }, + "length": { + "description": "Column length - e.g. varchar (50)", + "format": "int64", + "type": "string" + }, + "name": { + "description": "Column name", + "type": "string" + }, + "nullable": { + "description": "Is the column nullable", + "type": "boolean" + }, + "ordinalPosition": { + "description": "Column order in the table", + "format": "int32", + "type": "integer" + }, + "precision": { + "description": "Column precision - when relevant", + "format": "int32", + "type": "integer" + }, + "scale": { + "description": "Column scale - when relevant", + "format": "int32", + "type": "integer" + }, + "setValues": { + "description": "Specifies the list of values allowed in the column. List is empty if set values is not required", + "items": { + "type": "string" + }, + "type": "array" + }, + "udt": { + "description": "Is the column a UDT", + "type": "boolean" + } + }, + "type": "object" + }, + "CommitConversionWorkspaceRequest": { + "description": "Request message for 'CommitConversionWorkspace' request.", + "id": "CommitConversionWorkspaceRequest", + "properties": { + "commitName": { + "description": "Optional. Optional name of the commit.", + "type": "string" + } + }, + "type": "object" + }, "ConnectionProfile": { "description": "A connection profile definition.", "id": "ConnectionProfile", @@ -1381,6 +2227,10 @@ "description": "The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.", "type": "string" }, + "oracle": { + "$ref": "OracleConnectionProfile", + "description": "An Oracle database connection profile." + }, "postgresql": { "$ref": "PostgreSqlConnectionProfile", "description": "A PostgreSQL database connection profile." @@ -1436,6 +2286,272 @@ }, "type": "object" }, + "ConstraintEntity": { + "description": "Constraint is not used as an independent entity, it is retrieved as part of another entity such as Table or View.", + "id": "ConstraintEntity", + "properties": { + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + }, + "name": { + "description": "The name of the table constraint", + "type": "string" + }, + "referenceColumns": { + "description": "Reference Columns which may be associated with the constraint. eg: if the constraint is a FOREIGN_KEY, this represents the list of full names of referenced columns by the foreign key.", + "items": { + "type": "string" + }, + "type": "array" + }, + "referenceTable": { + "description": "Reference table which may be associated with the constraint. eg: if the constraint is a FOREIGN_KEY, this represents the list of full name of the referenced table by the foreign key.", + "type": "string" + }, + "tableColumns": { + "description": "Table columns used as part of the Constraint for e.g. primary key constraint should list the columns which constitutes the key", + "items": { + "type": "string" + }, + "type": "array" + }, + "tableName": { + "description": "Table which is associated with the constraint. In case the constraint is defined on a table, this field is left empty as this information is stored in parent_name. However, if constraint is defined on a view, this field stores the table name on which the view is defined.", + "type": "string" + }, + "type": { + "description": "Type of constraint - e.g. unique, primary key, foreign key (currently only primary key is supported)", + "type": "string" + } + }, + "type": "object" + }, + "ConversionWorkspace": { + "description": "The main conversion workspace resource entity.", + "id": "ConversionWorkspace", + "properties": { + "createTime": { + "description": "Output only. The timestamp when the workspace resource was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "destination": { + "$ref": "DatabaseEngineInfo", + "description": "Required. The destination engine details." + }, + "displayName": { + "description": "The display name for the workspace", + "type": "string" + }, + "globalSettings": { + "additionalProperties": { + "type": "string" + }, + "description": "A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true", + "type": "object" + }, + "hasUncommittedChanges": { + "description": "Output only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed)", + "readOnly": true, + "type": "boolean" + }, + "latestCommitId": { + "description": "Output only. The latest commit id", + "readOnly": true, + "type": "string" + }, + "latestCommitTime": { + "description": "Output only. The timestamp when the workspace was committed.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.", + "type": "string" + }, + "source": { + "$ref": "DatabaseEngineInfo", + "description": "Required. The source engine details." + }, + "updateTime": { + "description": "Output only. The timestamp when the workspace resource was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ConversionWorkspaceInfo": { + "description": "A conversion workspace's version.", + "id": "ConversionWorkspaceInfo", + "properties": { + "commitId": { + "description": "The commit ID of the conversion workspace.", + "type": "string" + }, + "name": { + "description": "The resource name (URI) of the conversion workspace.", + "type": "string" + } + }, + "type": "object" + }, + "ConvertConversionWorkspaceRequest": { + "description": "Request message for 'ConvertConversionWorkspace' request.", + "id": "ConvertConversionWorkspaceRequest", + "properties": { + "autoCommit": { + "description": "Should the conversion workspace be committed automatically after the conversion.", + "type": "boolean" + }, + "filter": { + "description": "Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.", + "type": "string" + } + }, + "type": "object" + }, + "DatabaseEngineInfo": { + "description": "The type and version of a source or destination DB.", + "id": "DatabaseEngineInfo", + "properties": { + "engine": { + "description": "Required. Engine Type.", + "enum": [ + "DATABASE_ENGINE_UNSPECIFIED", + "MYSQL", + "POSTGRESQL", + "ORACLE" + ], + "enumDescriptions": [ + "The source database engine of the migration job is unknown.", + "The source engine is MySQL.", + "The source engine is PostgreSQL.", + "The source engine is Oracle" + ], + "type": "string" + }, + "version": { + "description": "Required. Engine named version, for e.g. 12.c.1", + "type": "string" + } + }, + "type": "object" + }, + "DatabaseEntity": { + "description": "The base entity type for all the database related entities The message contains the entity name, the name of its parent, its type and the specific details per its type", + "id": "DatabaseEntity", + "properties": { + "databaseFunction": { + "$ref": "FunctionEntity", + "description": "Function" + }, + "databasePackage": { + "$ref": "PackageEntity", + "description": "Package" + }, + "entityType": { + "description": "The type of the database entity (table, view, index, ...).", + "enum": [ + "DATABASE_ENTITY_TYPE_UNSPECIFIED", + "DATABASE_ENTITY_TYPE_SCHEMA", + "DATABASE_ENTITY_TYPE_TABLE", + "DATABASE_ENTITY_TYPE_COLUMN", + "DATABASE_ENTITY_TYPE_CONSTRAINT", + "DATABASE_ENTITY_TYPE_INDEX", + "DATABASE_ENTITY_TYPE_TRIGGER", + "DATABASE_ENTITY_TYPE_VIEW", + "DATABASE_ENTITY_TYPE_SEQUENCE", + "DATABASE_ENTITY_TYPE_STORED_PROCEDURE", + "DATABASE_ENTITY_TYPE_FUNCTION", + "DATABASE_ENTITY_TYPE_SYNONYM", + "DATABASE_ENTITY_TYPE_DATABASE_PACKAGE", + "DATABASE_ENTITY_TYPE_UDT" + ], + "enumDescriptions": [ + "Unspecified database entity type", + "Schema", + "Table", + "Column", + "Constraint", + "Index", + "Trigger", + "View", + "Sequence", + "Stored Procedure", + "Function", + "Synonym", + "Package", + "UDT" + ], + "type": "string" + }, + "mappings": { + "description": "Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.", + "items": { + "$ref": "EntityMapping" + }, + "type": "array" + }, + "parentEntity": { + "description": "The full name of the parent entity (e.g. schema name).", + "type": "string" + }, + "schema": { + "$ref": "SchemaEntity", + "description": "Schema." + }, + "sequence": { + "$ref": "SequenceEntity", + "description": "Sequence" + }, + "shortName": { + "description": "The short name (e.g. table name) of the entity.", + "type": "string" + }, + "storedProcedure": { + "$ref": "StoredProcedureEntity", + "description": "Stored Procedure" + }, + "synonym": { + "$ref": "SynonymEntity", + "description": "Synonym" + }, + "table": { + "$ref": "TableEntity", + "description": "Table." + }, + "tree": { + "description": "The type of tree the entity belongs to.", + "enum": [ + "TREE_TYPE_UNSPECIFIED", + "SOURCE", + "DRAFT", + "DESTINATION" + ], + "enumDescriptions": [ + "Tree Type Unspecified.", + "Tree of entities loaded from a source database.", + "Tree of entities converted from the source tree using the mapping rules.", + "Tree of entities observed on the destination database." + ], + "type": "string" + }, + "view": { + "$ref": "ViewEntity", + "description": "View" + } + }, + "type": "object" + }, "DatabaseType": { "description": "A message defining the database engine and provider.", "id": "DatabaseType", @@ -1445,12 +2561,14 @@ "enum": [ "DATABASE_ENGINE_UNSPECIFIED", "MYSQL", - "POSTGRESQL" + "POSTGRESQL", + "ORACLE" ], "enumDescriptions": [ "The source database engine of the migration job is unknown.", "The source engine is MySQL.", - "The source engine is PostgreSQL." + "The source engine is PostgreSQL.", + "The source engine is Oracle" ], "type": "string" }, @@ -1475,6 +2593,38 @@ }, "type": "object" }, + "DescribeConversionWorkspaceRevisionsResponse": { + "description": "Response message for 'DescribeConversionWorkspaceRevisions' request.", + "id": "DescribeConversionWorkspaceRevisionsResponse", + "properties": { + "revisions": { + "description": "The list of conversion workspace revisions.", + "items": { + "$ref": "ConversionWorkspace" + }, + "type": "array" + } + }, + "type": "object" + }, + "DescribeDatabaseEntitiesResponse": { + "description": "Response message for 'DescribeDatabaseEntities' request.", + "id": "DescribeDatabaseEntitiesResponse", + "properties": { + "databaseEntities": { + "description": "The list of database entities for the conversion workspace.", + "items": { + "$ref": "DatabaseEntity" + }, + "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" + }, "DumpFlag": { "description": "Dump flag definition.", "id": "DumpFlag", @@ -1510,6 +2660,47 @@ "properties": {}, "type": "object" }, + "EntityMapping": { + "description": "Details of the mappings of a database entity.", + "id": "EntityMapping", + "properties": { + "draftEntity": { + "description": "Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column", + "type": "string" + }, + "mappingLog": { + "description": "Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity such as, a rule can handle the entity name, another rule can handle an entity type. In addition, rules which did not change the entity are also logged along the with the reason preventing them to do so.", + "items": { + "$ref": "EntityMappingLogEntry" + }, + "type": "array" + }, + "sourceEntity": { + "description": "Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column", + "type": "string" + } + }, + "type": "object" + }, + "EntityMappingLogEntry": { + "description": "A single record of a rule which was used for a mapping.", + "id": "EntityMappingLogEntry", + "properties": { + "mappingComment": { + "description": "Comment.", + "type": "string" + }, + "ruleId": { + "description": "Which rule caused it.", + "type": "string" + }, + "ruleRevisionId": { + "description": "Rule revision id", + "type": "string" + } + }, + "type": "object" + }, "Expr": { "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", "id": "Expr", @@ -1533,6 +2724,53 @@ }, "type": "object" }, + "ForwardSshTunnelConnectivity": { + "description": "Forward SSH Tunnel connectivity.", + "id": "ForwardSshTunnelConnectivity", + "properties": { + "hostname": { + "description": "Required. Hostname for the SSH tunnel.", + "type": "string" + }, + "password": { + "description": "Input only. SSH password.", + "type": "string" + }, + "port": { + "description": "Port for the SSH tunnel, default value is 22.", + "format": "int32", + "type": "integer" + }, + "privateKey": { + "description": "Input only. SSH private key.", + "type": "string" + }, + "username": { + "description": "Required. Username for the SSH tunnel.", + "type": "string" + } + }, + "type": "object" + }, + "FunctionEntity": { + "description": "Function's parent is a schema.", + "id": "FunctionEntity", + "properties": { + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + }, + "sqlCode": { + "description": "The SQL code which creates the function", + "type": "string" + } + }, + "type": "object" + }, "GenerateSshScriptRequest": { "description": "Request message for 'GenerateSshScript' request.", "id": "GenerateSshScriptRequest", @@ -1601,6 +2839,100 @@ }, "type": "object" }, + "ImportMappingRulesRequest": { + "description": "Request message for 'ImportMappingRules' request.", + "id": "ImportMappingRulesRequest", + "properties": { + "autoCommit": { + "description": "Should the conversion workspace be committed automatically after the import operation.", + "type": "boolean" + }, + "rulesFiles": { + "description": "One or more rules files", + "items": { + "$ref": "RulesFile" + }, + "type": "array" + }, + "rulesFormat": { + "description": "The format of the rules content file.", + "enum": [ + "IMPORT_RULES_FILE_FORMAT_UNSPECIFIED", + "IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE", + "IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE" + ], + "enumDescriptions": [ + "Unspecified Rules Format", + "Harbour Bridge Session file", + "ORA2PG config file" + ], + "type": "string" + } + }, + "type": "object" + }, + "ImportRulesJobDetails": { + "description": "Details regarding an Import Rules background job", + "id": "ImportRulesJobDetails", + "properties": { + "fileFormat": { + "description": "The requested file format", + "enum": [ + "IMPORT_RULES_FILE_FORMAT_UNSPECIFIED", + "IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE", + "IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE" + ], + "enumDescriptions": [ + "Unspecified Rules Format", + "Harbour Bridge Session file", + "ORA2PG config file" + ], + "type": "string" + }, + "files": { + "description": "File names used for the import rules job", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "IndexEntity": { + "description": "Index is not used as an independent entity, it is retrieved as part of a Table entity.", + "id": "IndexEntity", + "properties": { + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + }, + "name": { + "description": "The name of the index", + "type": "string" + }, + "tableColumns": { + "description": "Table columns used as part of the Index for e.g. B-TREE index should list the columns which constitutes the index.", + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "description": "Type of index - e.g. B-TREE", + "type": "string" + }, + "unique": { + "description": "boolean value indicating whether the index is unique", + "type": "boolean" + } + }, + "type": "object" + }, "ListConnectionProfilesResponse": { "description": "Response message for 'ListConnectionProfiles' request.", "id": "ListConnectionProfilesResponse", @@ -1626,6 +2958,31 @@ }, "type": "object" }, + "ListConversionWorkspacesResponse": { + "description": "Response message for 'ListConversionWorkspaces' request.", + "id": "ListConversionWorkspacesResponse", + "properties": { + "conversionWorkspaces": { + "description": "The list of conversion workspace objects.", + "items": { + "$ref": "ConversionWorkspace" + }, + "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" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ListLocationsResponse": { "description": "The response message for Locations.ListLocations.", "id": "ListLocationsResponse", @@ -1687,6 +3044,31 @@ }, "type": "object" }, + "ListPrivateConnectionsResponse": { + "description": "Response message for 'ListPrivateConnections' request.", + "id": "ListPrivateConnectionsResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "privateConnections": { + "description": "List of private connections.", + "items": { + "$ref": "PrivateConnection" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Location": { "description": "A resource that represents Google Cloud Platform location.", "id": "Location", @@ -1737,6 +3119,10 @@ "description": "Represents a Database Migration Service migration job object.", "id": "MigrationJob", "properties": { + "conversionWorkspace": { + "$ref": "ConversionWorkspaceInfo", + "description": "The conversion workspace used by the migration." + }, "createTime": { "description": "Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. Example: \"2014-10-02T15:01:23.045123456Z\".", "format": "google-datetime", @@ -1780,6 +3166,10 @@ "description": "Output only. The error details in case of state FAILED.", "readOnly": true }, + "filter": { + "description": "This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.", + "type": "string" + }, "labels": { "additionalProperties": { "type": "string" @@ -2035,6 +3425,74 @@ }, "type": "object" }, + "OracleConnectionProfile": { + "description": "Specifies connection parameters required specifically for Oracle databases.", + "id": "OracleConnectionProfile", + "properties": { + "databaseService": { + "description": "Required. Database service for the Oracle connection.", + "type": "string" + }, + "forwardSshConnectivity": { + "$ref": "ForwardSshTunnelConnectivity", + "description": "Forward SSH tunnel connectivity." + }, + "host": { + "description": "Required. The IP or hostname of the source Oracle database.", + "type": "string" + }, + "password": { + "description": "Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.", + "type": "string" + }, + "passwordSet": { + "description": "Output only. Indicates whether a new password is included in the request.", + "readOnly": true, + "type": "boolean" + }, + "port": { + "description": "Required. The network port of the source Oracle database.", + "format": "int32", + "type": "integer" + }, + "privateConnectivity": { + "$ref": "PrivateConnectivity", + "description": "Private connectivity." + }, + "staticServiceIpConnectivity": { + "$ref": "StaticServiceIpConnectivity", + "description": "Static Service IP connectivity." + }, + "username": { + "description": "Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.", + "type": "string" + } + }, + "type": "object" + }, + "PackageEntity": { + "description": "Package's parent is a schema.", + "id": "PackageEntity", + "properties": { + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + }, + "packageBody": { + "description": "The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory.", + "type": "string" + }, + "packageSqlCode": { + "description": "The SQL code which creates the package", + "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", @@ -2107,10 +3565,18 @@ "format": "int32", "type": "integer" }, + "privateServiceConnectConnectivity": { + "$ref": "PrivateServiceConnectConnectivity", + "description": "Private service connect connectivity." + }, "ssl": { "$ref": "SslConfig", "description": "SSL configuration for the destination to connect to the source database." }, + "staticIpConnectivity": { + "$ref": "StaticIpConnectivity", + "description": "Static ip connectivity data (default, no additional details needed)." + }, "username": { "description": "Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.", "type": "string" @@ -2152,6 +3618,94 @@ }, "type": "object" }, + "PrivateConnection": { + "description": "The PrivateConnection resource is used to establish private connectivity with the customer's network.", + "id": "PrivateConnection", + "properties": { + "createTime": { + "description": "Output only. The create time of the resource.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "The private connection display name.", + "type": "string" + }, + "error": { + "$ref": "Status", + "description": "Output only. The error details in case of state FAILED.", + "readOnly": true + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "The resource labels for private connections to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of \"key\": \"value\" pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`.", + "type": "object" + }, + "name": { + "description": "The resource's name.", + "type": "string" + }, + "state": { + "description": "Output only. The state of the Private Connection.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "CREATED", + "FAILED", + "DELETING", + "FAILED_TO_DELETE", + "DELETED" + ], + "enumDescriptions": [ + "", + "The private connection is in creation state - creating resources.", + "The private connection has been created with all of its resources.", + "The private connection creation has failed.", + "The private connection is being deleted.", + "Delete request has failed, resource is in invalid state.", + "The private connection has been deleted." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The last update time of the resource.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "vpcPeeringConfig": { + "$ref": "VpcPeeringConfig", + "description": "VPC Peering Config." + } + }, + "type": "object" + }, + "PrivateConnectivity": { + "description": "Private Connectivity.", + "id": "PrivateConnectivity", + "properties": { + "privateConnection": { + "description": "Required. The resource name (URI) of the private connection.", + "type": "string" + } + }, + "type": "object" + }, + "PrivateServiceConnectConnectivity": { + "description": "Private Service Connect connectivity (https://cloud.google.com/vpc/docs/private-service-connect#benefits-services)", + "id": "PrivateServiceConnectConnectivity", + "properties": { + "serviceAttachment": { + "description": "Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}", + "type": "string" + } + }, + "type": "object" + }, "PromoteMigrationJobRequest": { "description": "Request message for 'PromoteMigrationJob' request.", "id": "PromoteMigrationJobRequest", @@ -2194,6 +3748,130 @@ }, "type": "object" }, + "RollbackConversionWorkspaceRequest": { + "description": "Request message for 'RollbackConversionWorkspace' request.", + "id": "RollbackConversionWorkspaceRequest", + "properties": {}, + "type": "object" + }, + "RulesFile": { + "description": "Details of a single rules file", + "id": "RulesFile", + "properties": { + "rulesContent": { + "description": "The text content of the rules that needs to be converted", + "type": "string" + }, + "rulesSourceFilename": { + "description": "The filename of the rules that needs to be converted. This is used mainly so future logs of the import rules job will contain this detail and can therefore be searched by it later", + "type": "string" + } + }, + "type": "object" + }, + "SchemaEntity": { + "description": "Schema typically has no parent entity, but can have a parent entity DatabaseInstance (for database engines which supports it). For some database engines the term schema and user can be used interchangeably when they refer to a namespace or a collection of other database entities. Can store additional information which is schema specific.", + "id": "SchemaEntity", + "properties": { + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + } + }, + "type": "object" + }, + "SearchBackgroundJobsResponse": { + "description": "Response message for 'SearchBackgroundJobs' request.", + "id": "SearchBackgroundJobsResponse", + "properties": { + "jobs": { + "description": "The list of conversion workspace mapping rules.", + "items": { + "$ref": "BackgroundJobLogEntry" + }, + "type": "array" + } + }, + "type": "object" + }, + "SeedConversionWorkspaceRequest": { + "description": "Request message for 'SeedConversionWorkspace' request.", + "id": "SeedConversionWorkspaceRequest", + "properties": { + "autoCommit": { + "description": "Should the conversion workspace be committed automatically after the seed operation.", + "type": "boolean" + }, + "destinationConnectionProfile": { + "description": "Fully qualified (Uri) name of the destination connection profile.", + "type": "string" + }, + "sourceConnectionProfile": { + "description": "Fully qualified (Uri) name of the source connection profile.", + "type": "string" + } + }, + "type": "object" + }, + "SeedJobDetails": { + "description": "Details regarding a Seed background job", + "id": "SeedJobDetails", + "properties": { + "connectionProfile": { + "description": "The connection profile which was used for the seed job", + "type": "string" + } + }, + "type": "object" + }, + "SequenceEntity": { + "description": "Sequence's parent is a schema.", + "id": "SequenceEntity", + "properties": { + "cache": { + "description": "Indicates number of entries to cache / precreate", + "format": "int64", + "type": "string" + }, + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + }, + "cycle": { + "description": "Indicates whether the sequence value should cycle through", + "type": "boolean" + }, + "increment": { + "description": "Increment value for the sequence", + "format": "int64", + "type": "string" + }, + "maxValue": { + "description": "Maximum number for the sequence represented as bytes to accommodate large numbers", + "format": "byte", + "type": "string" + }, + "minValue": { + "description": "Minimum number for the sequence represented as bytes to accommodate large numbers", + "format": "byte", + "type": "string" + }, + "startValue": { + "description": "Start number for the sequence represented as bytes to accommodate large numbers", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", @@ -2318,6 +3996,12 @@ "properties": {}, "type": "object" }, + "StaticServiceIpConnectivity": { + "description": "Static IP address connectivity configured on service project.", + "id": "StaticServiceIpConnectivity", + "properties": {}, + "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", @@ -2351,6 +4035,127 @@ "properties": {}, "type": "object" }, + "StoredProcedureEntity": { + "description": "Stored procedure's parent is a schema.", + "id": "StoredProcedureEntity", + "properties": { + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + }, + "sqlCode": { + "description": "The SQL code which creates the stored procedure", + "type": "string" + } + }, + "type": "object" + }, + "SynonymEntity": { + "description": "Synonym's parent is a schema.", + "id": "SynonymEntity", + "properties": { + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + }, + "sourceEntity": { + "description": "The name of the entity for which the synonym is being created (the source)", + "type": "string" + }, + "sourceType": { + "description": "The type of the entity for which the synonym is being created (usually a table or a sequence)", + "enum": [ + "DATABASE_ENTITY_TYPE_UNSPECIFIED", + "DATABASE_ENTITY_TYPE_SCHEMA", + "DATABASE_ENTITY_TYPE_TABLE", + "DATABASE_ENTITY_TYPE_COLUMN", + "DATABASE_ENTITY_TYPE_CONSTRAINT", + "DATABASE_ENTITY_TYPE_INDEX", + "DATABASE_ENTITY_TYPE_TRIGGER", + "DATABASE_ENTITY_TYPE_VIEW", + "DATABASE_ENTITY_TYPE_SEQUENCE", + "DATABASE_ENTITY_TYPE_STORED_PROCEDURE", + "DATABASE_ENTITY_TYPE_FUNCTION", + "DATABASE_ENTITY_TYPE_SYNONYM", + "DATABASE_ENTITY_TYPE_DATABASE_PACKAGE", + "DATABASE_ENTITY_TYPE_UDT" + ], + "enumDescriptions": [ + "Unspecified database entity type", + "Schema", + "Table", + "Column", + "Constraint", + "Index", + "Trigger", + "View", + "Sequence", + "Stored Procedure", + "Function", + "Synonym", + "Package", + "UDT" + ], + "type": "string" + } + }, + "type": "object" + }, + "TableEntity": { + "description": "Table's parent is a schema.", + "id": "TableEntity", + "properties": { + "columns": { + "description": "Table Columns.", + "items": { + "$ref": "ColumnEntity" + }, + "type": "array" + }, + "comment": { + "description": "Comment associated with the table", + "type": "string" + }, + "constraints": { + "description": "Table Constraints.", + "items": { + "$ref": "ConstraintEntity" + }, + "type": "array" + }, + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + }, + "indices": { + "description": "Table Indices.", + "items": { + "$ref": "IndexEntity" + }, + "type": "array" + }, + "triggers": { + "description": "Table triggers.", + "items": { + "$ref": "TriggerEntity" + }, + "type": "array" + } + }, + "type": "object" + }, "TestIamPermissionsRequest": { "description": "Request message for `TestIamPermissions` method.", "id": "TestIamPermissionsRequest", @@ -2379,6 +4184,40 @@ }, "type": "object" }, + "TriggerEntity": { + "description": "Trigger is not used as an independent entity, it is retrieved as part of a Table entity.", + "id": "TriggerEntity", + "properties": { + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + }, + "name": { + "description": "The name of the trigger", + "type": "string" + }, + "sqlCode": { + "description": "The SQL code which creates the trigger", + "type": "string" + }, + "triggerType": { + "description": "Indicates when the trigger fires, e.g. BEFORE STATEMENT, AFTER EACH ROW", + "type": "string" + }, + "triggeringEvents": { + "description": "The DML, DDL, or database events that fires the trigger, e.g. INSERT, UPDATE", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "UserPassword": { "description": "The username/password for a database user. Used for specifying initial users at cluster creation time.", "id": "UserPassword", @@ -2405,6 +4244,32 @@ "properties": {}, "type": "object" }, + "ViewEntity": { + "description": "View's parent is a schema.", + "id": "ViewEntity", + "properties": { + "constraints": { + "description": "View Constraints.", + "items": { + "$ref": "ConstraintEntity" + }, + "type": "array" + }, + "customFeatures": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom engine specific features", + "type": "object" + }, + "sqlCode": { + "description": "The SQL code which creates the view.", + "type": "string" + } + }, + "type": "object" + }, "VmCreationConfig": { "description": "VM creation configuration message", "id": "VmCreationConfig", @@ -2435,6 +4300,21 @@ }, "type": "object" }, + "VpcPeeringConfig": { + "description": "The VPC Peering configuration is used to create VPC peering with the consumer's VPC.", + "id": "VpcPeeringConfig", + "properties": { + "subnet": { + "description": "Required. A free subnet for peering. (CIDR of /29)", + "type": "string" + }, + "vpcName": { + "description": "Required. Fully qualified name of the VPC DMS will peer to.", + "type": "string" + } + }, + "type": "object" + }, "VpcPeeringConnectivity": { "description": "The details of the VPC where the source database is located in Google Cloud. We will use this information to set up the VPC peering connection between Cloud SQL and this VPC.", "id": "VpcPeeringConnectivity",
diff --git a/discovery/googleapis/datapipelines__v1.json b/discovery/googleapis/datapipelines__v1.json index 6c39258..5a00a5d 100644 --- a/discovery/googleapis/datapipelines__v1.json +++ b/discovery/googleapis/datapipelines__v1.json
@@ -106,77 +106,6 @@ "projects": { "resources": { "locations": { - "methods": { - "computeSchema": { - "description": "Computes the schema for the transform. Computation from `raw_schema` will always occur if it is set. This requires that the transform supports that encoding. If no raw schema is provided and if the transform is for an IO, then this will attempt to connect to the resource using the details provided in `config` and infer the schema from that. If the transform is not an IO, is a sink that doesn't exist yet, or is a sink with no schema requirement, then this will fall back to basing the schema off the one provided in `input_schemas`. The computed schema will be validated.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:computeSchema", - "httpMethod": "POST", - "id": "datapipelines.projects.locations.computeSchema", - "parameterOrder": [ - "location" - ], - "parameters": { - "location": { - "description": "Required. The full location formatted as \"projects/{your-project}/locations/{google-cloud-region}\". If attempting to infer the schema from an existing Google Cloud resource, the default Data Pipelines service account for this project will be used in making requests for the resource. If the region given for \"{google-cloud-region}\" is different than the region where the resource is stored, then the data will be transferred to and processed in the region specified here, but it will not be persistently stored in this region.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+location}:computeSchema", - "request": { - "$ref": "GoogleCloudDatapipelinesV1ComputeSchemaRequest" - }, - "response": { - "$ref": "GoogleCloudDatapipelinesV1Schema" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "listPipelines": { - "description": "Lists pipelines. Returns a \"FORBIDDEN\" error if the caller doesn't have permission to access it.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", - "httpMethod": "GET", - "id": "datapipelines.projects.locations.listPipelines", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "An expression for filtering the results of the request. If unspecified, all pipelines will be returned. Multiple filters can be applied and must be comma separated. Fields eligible for filtering are: + `type`: The type of the pipeline (streaming or batch). Allowed values are `ALL`, `BATCH`, and `STREAMING`. + `status`: The activity status of the pipeline. Allowed values are `ALL`, `ACTIVE`, `ARCHIVED`, and `PAUSED`. For example, to limit results to active batch processing pipelines: type:BATCH,status:ACTIVE", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of entities to return. The service may return fewer than this value, even if there are additional pages. If unspecified, the max limit is yet to be determined by the backend implementation.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token, received from a previous `ListPipelines` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPipelines` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}", - "response": { - "$ref": "GoogleCloudDatapipelinesV1ListPipelinesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - }, "resources": { "pipelines": { "methods": { @@ -258,6 +187,47 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "list": { + "description": "Lists pipelines. Returns a \"FORBIDDEN\" error if the caller doesn't have permission to access it.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines", + "httpMethod": "GET", + "id": "datapipelines.projects.locations.pipelines.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "An expression for filtering the results of the request. If unspecified, all pipelines will be returned. Multiple filters can be applied and must be comma separated. Fields eligible for filtering are: + `type`: The type of the pipeline (streaming or batch). Allowed values are `ALL`, `BATCH`, and `STREAMING`. + `status`: The activity status of the pipeline. Allowed values are `ALL`, `ACTIVE`, `ARCHIVED`, and `PAUSED`. For example, to limit results to active batch processing pipelines: type:BATCH,status:ACTIVE", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of entities to return. The service may return fewer than this value, even if there are additional pages. If unspecified, the max limit is yet to be determined by the backend implementation.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListPipelines` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPipelines` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/pipelines", + "response": { + "$ref": "GoogleCloudDatapipelinesV1ListPipelinesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "patch": { "description": "Updates a pipeline. If successful, the updated Pipeline is returned. Returns `NOT_FOUND` if the pipeline doesn't exist. If UpdatePipeline does not return successfully, you can retry the UpdatePipeline request until you receive a successful response.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", @@ -391,198 +361,15 @@ } } } - }, - "transformDescriptions": { - "methods": { - "batchGet": { - "description": "Gets transform descriptions in a batch, associated with a list of provided uniform resource names.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transformDescriptions:batchGet", - "httpMethod": "GET", - "id": "datapipelines.projects.locations.transformDescriptions.batchGet", - "parameterOrder": [ - "parent" - ], - "parameters": { - "names": { - "description": "Optional. The names of the transform descriptions being retrieved, formatted as \"projects/{project}/locations/{location}/transformdescriptions/{transform_description}\". If no name is provided, all of the transform descriptions will be returned.", - "location": "query", - "repeated": true, - "type": "string" - }, - "parent": { - "description": "Required. The project and location shared by all transform descriptions being retrieved, formatted as \"projects/{project}/locations/{location}\".", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/transformDescriptions:batchGet", - "response": { - "$ref": "GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets the transform description associated with the provided uniform resource name.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transformDescriptions/{transformDescriptionsId}", - "httpMethod": "GET", - "id": "datapipelines.projects.locations.transformDescriptions.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The full name formatted as \"projects/{your-project}/locations/{google-cloud-region}/transformdescriptions/{uniform-resource-name}\".", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/transformDescriptions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "GoogleCloudDatapipelinesV1TransformDescription" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } } } } } } }, - "revision": "20221112", + "revision": "20230108", "rootUrl": "https://datapipelines.googleapis.com/", "schemas": { - "GoogleCloudDatapipelinesV1ArrayValue": { - "description": "Represents an array of values. The elements can be of any type.", - "id": "GoogleCloudDatapipelinesV1ArrayValue", - "properties": { - "elements": { - "description": "The elements of the array.", - "items": { - "$ref": "GoogleCloudDatapipelinesV1FieldValue" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1AtomicValue": { - "description": "Represents a non-dividable value.", - "id": "GoogleCloudDatapipelinesV1AtomicValue", - "properties": { - "booleanValue": { - "description": "A boolean value.", - "type": "boolean" - }, - "byteValue": { - "description": "An 8-bit signed value.", - "format": "int32", - "type": "integer" - }, - "bytesValue": { - "description": "An array of raw bytes.", - "format": "byte", - "type": "string" - }, - "datetimeValue": { - "$ref": "GoogleTypeDateTime", - "description": "A datetime value." - }, - "decimalValue": { - "$ref": "GoogleTypeDecimal", - "description": "A large decimal value, equivalent to Java BigDecimal." - }, - "doubleValue": { - "description": "A 64-bit floating point value.", - "format": "double", - "type": "number" - }, - "floatValue": { - "description": "A 32-bit floating point value.", - "format": "float", - "type": "number" - }, - "int16Value": { - "description": "A 16-bit signed value.", - "format": "int32", - "type": "integer" - }, - "int32Value": { - "description": "A 32-bit signed value.", - "format": "int32", - "type": "integer" - }, - "int64Value": { - "description": "A 64-bit signed value.", - "format": "int64", - "type": "string" - }, - "stringValue": { - "description": "A string value.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse": { - "description": "Response message for BatchGetTransformDescriptions", - "id": "GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse", - "properties": { - "transformDescriptions": { - "description": "List of requested transform descriptions.", - "items": { - "$ref": "GoogleCloudDatapipelinesV1TransformDescription" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1ComputeSchemaRequest": { - "description": "Request message for ComputeSchema", - "id": "GoogleCloudDatapipelinesV1ComputeSchemaRequest", - "properties": { - "config": { - "$ref": "GoogleCloudDatapipelinesV1ConfiguredTransform", - "description": "Required. The configuration for the transform. If this is not a source, then each input with its schema must be set. It is not required to have any outputs set." - }, - "inputSchemas": { - "description": "Optional. In relation to the full pipeline graph, the schemas of the transforms that are used as inputs to the one for `config`. If `config` represents a transform for reading from some resource, then this should be empty. For all other transforms, at least one value must be provided.", - "items": { - "$ref": "GoogleCloudDatapipelinesV1Schema" - }, - "type": "array" - }, - "rawSchema": { - "$ref": "GoogleCloudDatapipelinesV1RawSchemaInfo", - "description": "Optional. If set, this will use the provided raw schema to compute the schema rather than connecting to any resources. Validation will still occur to make sure it is compatible with all input schemas. If the transform is an IO, the IO must support that schema type." - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1ConfiguredTransform": { - "description": "A fully configured transform that can be validated.", - "id": "GoogleCloudDatapipelinesV1ConfiguredTransform", - "properties": { - "config": { - "$ref": "GoogleCloudDatapipelinesV1Row", - "description": "Configuration values provided. These must match the schema provided in the row's schema." - }, - "uniformResourceName": { - "description": "Unique resource name of the transform. This should be the same as the equivalent `TransformDescription` value.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDatapipelinesV1DataflowJobDetails": { "description": "Pipeline job details specific to the Dataflow API. This is encapsulated here to allow for more executors to store their specific details separately.", "id": "GoogleCloudDatapipelinesV1DataflowJobDetails", @@ -609,148 +396,6 @@ }, "type": "object" }, - "GoogleCloudDatapipelinesV1EnumerationValue": { - "description": "Represents a selected value from an EnumerationType.", - "id": "GoogleCloudDatapipelinesV1EnumerationValue", - "properties": { - "name": { - "description": "Name of the enum option.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1Field": { - "description": "Info for a single field in the schema.", - "id": "GoogleCloudDatapipelinesV1Field", - "properties": { - "name": { - "description": "Name of the field.", - "type": "string" - }, - "type": { - "$ref": "GoogleCloudDatapipelinesV1FieldType", - "description": "Type info for the field." - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1FieldType": { - "description": "Type info about a field.", - "id": "GoogleCloudDatapipelinesV1FieldType", - "properties": { - "collectionElementType": { - "$ref": "GoogleCloudDatapipelinesV1FieldType", - "description": "If `type` is an array or iterable, this is the type contained in that array or iterable." - }, - "logicalType": { - "$ref": "GoogleCloudDatapipelinesV1LogicalType", - "description": "If `type` is a logical type, this is the info for the specific logical type." - }, - "mapType": { - "$ref": "GoogleCloudDatapipelinesV1MapType", - "description": "If `type` is a map, this is the key and value types for that map." - }, - "nullable": { - "description": "Whether or not this field is nullable.", - "type": "boolean" - }, - "rowSchema": { - "$ref": "GoogleCloudDatapipelinesV1Schema", - "description": "If `type` is a row, this is the schema of that row." - }, - "type": { - "description": "Specific type of the field. For non-atomic types, the corresponding type info for that non-atomic must be set.", - "enum": [ - "TYPE_NAME_UNSPECIFIED", - "TYPE_NAME_BYTE", - "TYPE_NAME_INT16", - "TYPE_NAME_INT32", - "TYPE_NAME_INT64", - "TYPE_NAME_DECIMAL", - "TYPE_NAME_FLOAT", - "TYPE_NAME_DOUBLE", - "TYPE_NAME_STRING", - "TYPE_NAME_DATETIME", - "TYPE_NAME_BOOLEAN", - "TYPE_NAME_BYTES", - "TYPE_NAME_ARRAY", - "TYPE_NAME_ITERABLE", - "TYPE_NAME_MAP", - "TYPE_NAME_ROW", - "TYPE_NAME_LOGICAL_TYPE" - ], - "enumDescriptions": [ - "Type name is not set (generally an error)", - "8-bit signed integer", - "16-bit signed integer", - "32-bit signed integer", - "64-bit signed integer", - "Large decimal type (equivalent to Java BigDecimal)", - "32-bit floating point integer", - "64-bit floating point integer", - "String", - "Datetime", - "Bool", - "Convenience for an ARRAY of BYTE values", - "Array of some other values.", - "Iterable of some other values.", - "Key/Value mapping between values.", - "Struct that follows a particular schema", - "Beam logical type" - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1FieldValue": { - "description": "A single value in a row. The value set must correspond to the correct type from the row's schema.", - "id": "GoogleCloudDatapipelinesV1FieldValue", - "properties": { - "arrayValue": { - "$ref": "GoogleCloudDatapipelinesV1ArrayValue", - "description": "The array value of this field. Corresponds to TYPE_NAME_ARRAY in the schema." - }, - "atomicValue": { - "$ref": "GoogleCloudDatapipelinesV1AtomicValue", - "description": "The atomic value of this field. Must correspond to the correct atomic type in the schema." - }, - "enumValue": { - "$ref": "GoogleCloudDatapipelinesV1EnumerationValue", - "description": "The enum value of this field. Corresponds to TYPE_NAME_LOGICAL_TYPE in the schema if that logical type represents an `EnumerationType` type." - }, - "fixedBytesValue": { - "$ref": "GoogleCloudDatapipelinesV1FixedBytesValue", - "description": "The fixed-length byte collection of this field. Corresponds to TYPE_NAME_LOGICAL_TYPE in the schema if that logical type represents a `FixedBytes` type." - }, - "iterableValue": { - "$ref": "GoogleCloudDatapipelinesV1IterableValue", - "description": "The iterable value of this field. Corresponds to TYPE_NAME_ITERABLE in the schema." - }, - "mapValue": { - "$ref": "GoogleCloudDatapipelinesV1MapValue", - "description": "The map value of this field. Corresponds to TYPE_NAME_MAP in the schema." - }, - "rowValue": { - "$ref": "GoogleCloudDatapipelinesV1Row", - "description": "The row value of this field. Corresponds to TYPE_NAME_ROW in the schema. This row also holds to its own schema." - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1FixedBytesValue": { - "description": "Represents a collection of bytes whose size is the same as the associated FixedBytes size value.", - "id": "GoogleCloudDatapipelinesV1FixedBytesValue", - "properties": { - "value": { - "description": "The raw bytes. It must be exactly the size specified in the schema.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment": { "description": "The environment values to be set at runtime for a Flex Template.", "id": "GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment", @@ -850,20 +495,6 @@ }, "type": "object" }, - "GoogleCloudDatapipelinesV1IterableValue": { - "description": "Represents an iterable of values. The elements can be of any type.", - "id": "GoogleCloudDatapipelinesV1IterableValue", - "properties": { - "elements": { - "description": "The elements of the iterable.", - "items": { - "$ref": "GoogleCloudDatapipelinesV1FieldValue" - }, - "type": "array" - } - }, - "type": "object" - }, "GoogleCloudDatapipelinesV1Job": { "description": "Definition of the job information maintained by the pipeline. Fields in this entity are retrieved from the executor API (e.g. Dataflow API).", "id": "GoogleCloudDatapipelinesV1Job", @@ -1083,91 +714,6 @@ }, "type": "object" }, - "GoogleCloudDatapipelinesV1LogicalType": { - "description": "Represents the input for creating a specified logical type.", - "id": "GoogleCloudDatapipelinesV1LogicalType", - "properties": { - "enumerationType": { - "$ref": "GoogleCloudDatapipelinesV1LogicalTypeEnumerationType", - "description": "The enum represented by this logical type." - }, - "fixedBytes": { - "$ref": "GoogleCloudDatapipelinesV1LogicalTypeFixedBytes", - "description": "The fixed-size byte collection represented by this logical type." - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1LogicalTypeEnumerationType": { - "description": "Represents the Beam EnumerationType logical type.", - "id": "GoogleCloudDatapipelinesV1LogicalTypeEnumerationType", - "properties": { - "values": { - "description": "Names of the values. The numeric value is the same as the index.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1LogicalTypeFixedBytes": { - "description": "Represents the Beam FixedBytes logical type.", - "id": "GoogleCloudDatapipelinesV1LogicalTypeFixedBytes", - "properties": { - "sizeBytes": { - "description": "Number of bytes to allocate.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1MapType": { - "description": "Represents a map in a schema.", - "id": "GoogleCloudDatapipelinesV1MapType", - "properties": { - "mapKeyType": { - "$ref": "GoogleCloudDatapipelinesV1FieldType", - "description": "Key type of the map. Only atomic types are supported." - }, - "mapValueType": { - "$ref": "GoogleCloudDatapipelinesV1FieldType", - "description": "Value type of the map." - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1MapValue": { - "description": "Represents a key/value pairing.", - "id": "GoogleCloudDatapipelinesV1MapValue", - "properties": { - "entries": { - "description": "The entries in the map.", - "items": { - "$ref": "GoogleCloudDatapipelinesV1MapValueEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1MapValueEntry": { - "description": "A single entry in the map. Each entry must have a unique key.", - "id": "GoogleCloudDatapipelinesV1MapValueEntry", - "properties": { - "key": { - "$ref": "GoogleCloudDatapipelinesV1FieldValue", - "description": "The key value. Only atomic values are supported." - }, - "value": { - "$ref": "GoogleCloudDatapipelinesV1FieldValue", - "description": "The value associated with the key. It may be of any type." - } - }, - "type": "object" - }, "GoogleCloudDatapipelinesV1Pipeline": { "description": "The main pipeline entity and all the necessary metadata for launching and managing linked jobs.", "id": "GoogleCloudDatapipelinesV1Pipeline", @@ -1254,47 +800,6 @@ }, "type": "object" }, - "GoogleCloudDatapipelinesV1RawSchemaInfo": { - "description": "The raw schema and its type.", - "id": "GoogleCloudDatapipelinesV1RawSchemaInfo", - "properties": { - "rawSchema": { - "description": "The schema.", - "type": "string" - }, - "type": { - "description": "The type of the schema.", - "enum": [ - "RAW_SCHEMA_TYPE_UNSPECIFIED", - "RAW_SCHEMA_TYPE_AVRO" - ], - "enumDescriptions": [ - "The schema type is unknown.", - "The schema is an Avro schema." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1Row": { - "description": "Represents an Apache Beam row, though the `Any` nature of values is replaced with more concrete representations of valid values.", - "id": "GoogleCloudDatapipelinesV1Row", - "properties": { - "schema": { - "$ref": "GoogleCloudDatapipelinesV1SchemaSource", - "description": "Required. The schema of the row's data." - }, - "values": { - "description": "Required. The values of this Row. A fully built row is required to hold to the schema specified by `schema`.", - "items": { - "$ref": "GoogleCloudDatapipelinesV1FieldValue" - }, - "type": "array" - } - }, - "type": "object" - }, "GoogleCloudDatapipelinesV1RunPipelineRequest": { "description": "Request message for RunPipeline", "id": "GoogleCloudDatapipelinesV1RunPipelineRequest", @@ -1422,39 +927,6 @@ }, "type": "object" }, - "GoogleCloudDatapipelinesV1Schema": { - "description": "Represents a simplified Apache Beam schema.", - "id": "GoogleCloudDatapipelinesV1Schema", - "properties": { - "fields": { - "description": "Fields in the schema. Every field within a schema must have a unique name.", - "items": { - "$ref": "GoogleCloudDatapipelinesV1Field" - }, - "type": "array" - }, - "referenceId": { - "description": "An identifier of the schema for looking it up in a repository. This only needs to be set if the schema is stored in a repository.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDatapipelinesV1SchemaSource": { - "description": "Holds a schema or a reference to a schema in some repository.", - "id": "GoogleCloudDatapipelinesV1SchemaSource", - "properties": { - "localSchema": { - "$ref": "GoogleCloudDatapipelinesV1Schema", - "description": "Schema located locally with the message." - }, - "referenceId": { - "description": "The `reference_id` value of a schema in a repository.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDatapipelinesV1SdkVersion": { "description": "The version of the SDK used to run the job.", "id": "GoogleCloudDatapipelinesV1SdkVersion", @@ -1494,26 +966,6 @@ "properties": {}, "type": "object" }, - "GoogleCloudDatapipelinesV1TransformDescription": { - "description": "Description of a schema-aware transform, which provides info on how it can be configured.", - "id": "GoogleCloudDatapipelinesV1TransformDescription", - "properties": { - "name": { - "description": "Output only. The full name of this resource formatted as: projects/{project}/locations/{location}/transformDescriptions/{transform_description} `transform_description` is the same as the `uniform_resource_name` field.", - "readOnly": true, - "type": "string" - }, - "options": { - "$ref": "GoogleCloudDatapipelinesV1Schema", - "description": "Available options for configuring the transform." - }, - "uniformResourceName": { - "description": "Unique resource name of the transform.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDatapipelinesV1Workload": { "description": "Workload details for creating the pipeline jobs.", "id": "GoogleCloudDatapipelinesV1Workload", @@ -1561,83 +1013,6 @@ } }, "type": "object" - }, - "GoogleTypeDateTime": { - "description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", - "id": "GoogleTypeDateTime", - "properties": { - "day": { - "description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", - "format": "int32", - "type": "integer" - }, - "hours": { - "description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", - "format": "int32", - "type": "integer" - }, - "minutes": { - "description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", - "format": "int32", - "type": "integer" - }, - "month": { - "description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", - "format": "int32", - "type": "integer" - }, - "nanos": { - "description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", - "format": "int32", - "type": "integer" - }, - "seconds": { - "description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", - "format": "int32", - "type": "integer" - }, - "timeZone": { - "$ref": "GoogleTypeTimeZone", - "description": "Time zone." - }, - "utcOffset": { - "description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", - "format": "google-duration", - "type": "string" - }, - "year": { - "description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "GoogleTypeDecimal": { - "description": "A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's BigDecimal or Python's decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.org/3/library/decimal.html", - "id": "GoogleTypeDecimal", - "properties": { - "value": { - "description": "The decimal value, as a string. The string representation consists of an optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits (\"the integer\"), optionally followed by a fraction, optionally followed by an exponent. An empty string **should** be interpreted as `0`. The fraction consists of a decimal point followed by zero or more decimal digits. The string must contain at least one digit in either the integer or the fraction. The number formed by the sign, the integer and the fraction is referred to as the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal digits. Services **should** normalize decimal values before storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to upper-case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` -> `2.5`). Services **may** perform additional normalization based on its own needs and the internal decimal implementation selected, such as shifting the decimal point and exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services **may** preserve trailing zeroes in the fraction to indicate increased precision, but are not required to do so. Note that only the `.` character is supported to divide the integer and the fraction; `,` **should not** be supported regardless of locale. Additionally, thousand separators **should not** be supported. If a service does support them, values **must** be normalized. The ENBF grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range of supported values, the maximum supported precision (total number of digits), and, if applicable, the scale (number of digits after the decimal point), as well as how it behaves when receiving out-of-bounds values. Services **may** choose to accept values passed as input even when the value has a higher precision or scale than the service supports, and **should** round the value to fit the supported scale. Alternatively, the service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of the supported range.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleTypeTimeZone": { - "description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", - "id": "GoogleTypeTimeZone", - "properties": { - "id": { - "description": "IANA Time Zone Database time zone, e.g. \"America/New_York\".", - "type": "string" - }, - "version": { - "description": "Optional. IANA Time Zone Database version number, e.g. \"2019a\".", - "type": "string" - } - }, - "type": "object" } }, "servicePath": "",
diff --git a/discovery/googleapis/dataplex__v1.json b/discovery/googleapis/dataplex__v1.json index e197115..e4a67dd 100644 --- a/discovery/googleapis/dataplex__v1.json +++ b/discovery/googleapis/dataplex__v1.json
@@ -269,7 +269,7 @@ "dataScans": { "methods": { "create": { - "description": "Creates a dataScan resource.", + "description": "Creates a DataScan resource.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataScans", "httpMethod": "POST", "id": "dataplex.projects.locations.dataScans.create", @@ -278,12 +278,12 @@ ], "parameters": { "dataScanId": { - "description": "Required. DataScan identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique within the customer project / location.", + "description": "Required. DataScan identifier. Must contain only lowercase letters, numbers and hyphens. Must start with a letter. Must end with a number or a letter. Must be between 1-63 characters. Must be unique within the customer project / location.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The resource name of the parent location: projects/{project}/locations/{location_id} where {project} refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Required. The resource name of the parent location: projects/{project}/locations/{location_id} where project refers to a project_id or project_number and location_id refers to a GCP region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -302,7 +302,7 @@ ] }, "delete": { - "description": "Delete the dataScan resource.", + "description": "Deletes a DataScan resource.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataScans/{dataScansId}", "httpMethod": "DELETE", "id": "dataplex.projects.locations.dataScans.delete", @@ -311,7 +311,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where {project} refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a GCP region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataScans/[^/]+$", "required": true, @@ -327,7 +327,7 @@ ] }, "get": { - "description": "Get dataScan resource.", + "description": "Gets a DataScan resource.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataScans/{dataScansId}", "httpMethod": "GET", "id": "dataplex.projects.locations.dataScans.get", @@ -336,14 +336,14 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where {project} refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a GCP region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataScans/[^/]+$", "required": true, "type": "string" }, "view": { - "description": "Optional. Used to select the subset of DataScan information to return. Defaults to BASIC.", + "description": "Optional. Select the DataScan view to return. Defaults to BASIC.", "enum": [ "DATA_SCAN_VIEW_UNSPECIFIED", "BASIC", @@ -398,7 +398,7 @@ ] }, "list": { - "description": "Lists dataScans.", + "description": "Lists DataScans.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataScans", "httpMethod": "GET", "id": "dataplex.projects.locations.dataScans.list", @@ -428,7 +428,7 @@ "type": "string" }, "parent": { - "description": "Required. projects/{project}/locations/{location_id} where {project} refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Required. The resource name of the parent location: projects/{project}/locations/{location_id} where project refers to a project_id or project_number and location_id refers to a GCP region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -444,7 +444,7 @@ ] }, "patch": { - "description": "Update the dataScan resource.", + "description": "Updates a DataScan resource.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataScans/{dataScansId}", "httpMethod": "PATCH", "id": "dataplex.projects.locations.dataScans.patch", @@ -453,7 +453,7 @@ ], "parameters": { "name": { - "description": "Output only. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}. where {project} refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Output only. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataScans/[^/]+$", "required": true, @@ -478,7 +478,7 @@ ] }, "run": { - "description": "Run an on demand execution of a DataScan.", + "description": "Runs an on-demand execution of a DataScan", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataScans/{dataScansId}:run", "httpMethod": "POST", "id": "dataplex.projects.locations.dataScans.run", @@ -487,7 +487,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the DataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where {project} refers to a project_id or project_number and location_id refers to a GCP region. Only on-demand DataScans are allowed.", + "description": "Required. The resource name of the DataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where project refers to a project_id or project_number and location_id refers to a GCP region.Only OnDemand data scans are allowed.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataScans/[^/]+$", "required": true, @@ -566,7 +566,7 @@ "jobs": { "methods": { "get": { - "description": "Get DataScanJob resource.", + "description": "Gets a DataScanJob resource.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataScans/{dataScansId}/jobs/{jobsId}", "httpMethod": "GET", "id": "dataplex.projects.locations.dataScans.jobs.get", @@ -575,14 +575,14 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the DataScanJob: projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id} where {project} refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Required. The resource name of the DataScanJob: projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id} where project refers to a project_id or project_number and location_id refers to a GCP region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataScans/[^/]+/jobs/[^/]+$", "required": true, "type": "string" }, "view": { - "description": "Optional. Used to select the subset of DataScan information to return. Defaults to BASIC.", + "description": "Optional. Select the DataScanJob view to return. Defaults to BASIC.", "enum": [ "DATA_SCAN_JOB_VIEW_UNSPECIFIED", "BASIC", @@ -606,7 +606,7 @@ ] }, "list": { - "description": "Lists DataScanJobs under the given dataScan.", + "description": "Lists DataScanJobs under the given DataScan.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataScans/{dataScansId}/jobs", "httpMethod": "GET", "id": "dataplex.projects.locations.dataScans.jobs.list", @@ -626,7 +626,7 @@ "type": "string" }, "parent": { - "description": "Required. The resource name of the parent environment: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where {project} refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Required. The resource name of the parent environment: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a GCP region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataScans/[^/]+$", "required": true, @@ -2188,6 +2188,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "run": { + "description": "Run an on demand execution of a Task.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/lakes/{lakesId}/tasks/{tasksId}:run", + "httpMethod": "POST", + "id": "dataplex.projects.locations.lakes.tasks.run", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the task: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/lakes/[^/]+/tasks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:run", + "request": { + "$ref": "GoogleCloudDataplexV1RunTaskRequest" + }, + "response": { + "$ref": "GoogleCloudDataplexV1RunTaskResponse" + }, + "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/projects/{projectsId}/locations/{locationsId}/lakes/{lakesId}/tasks/{tasksId}:setIamPolicy", @@ -3416,7 +3444,7 @@ } } }, - "revision": "20221130", + "revision": "20230102", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -3751,7 +3779,7 @@ "description": "Optional. Configuration for Json data." }, "schedule": { - "description": "Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, \"CRON_TZ=America/New_York 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".", + "description": "Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.", "type": "string" } }, @@ -3879,6 +3907,20 @@ "description": "Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: projects/{project_number}/buckets/{bucket_id} projects/{project_number}/datasets/{dataset_id}", "type": "string" }, + "readAccessMode": { + "description": "Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.", + "enum": [ + "ACCESS_MODE_UNSPECIFIED", + "DIRECT", + "MANAGED" + ], + "enumDescriptions": [ + "Access mode unspecified.", + "Default. Data is accessed directly using storage APIs.", + "Data is accessed through a managed interface using BigQuery APIs." + ], + "type": "string" + }, "type": { "description": "Required. Immutable. Type of resource.", "enum": [ @@ -4086,26 +4128,26 @@ "properties": { "profile": { "$ref": "GoogleCloudDataplexV1DataProfileResultProfile", - "description": "This represents the profile information per field." + "description": "The profile information per field." }, "rowCount": { - "description": "The count of all rows in the sampled data. Return 0, if zero rows.", + "description": "The count of rows scanned.", "format": "int64", "type": "string" }, "scannedData": { "$ref": "GoogleCloudDataplexV1ScannedData", - "description": "The data scanned for this profile." + "description": "The data scanned for this result." } }, "type": "object" }, "GoogleCloudDataplexV1DataProfileResultProfile": { - "description": "Profile information describing the structure and layout of the data and contains the profile info.", + "description": "Contains name, type, mode and field type specific profile information.", "id": "GoogleCloudDataplexV1DataProfileResultProfile", "properties": { "fields": { - "description": "The sequence of fields describing data in table entities.", + "description": "List of fields with structural and profile information for each field.", "items": { "$ref": "GoogleCloudDataplexV1DataProfileResultProfileField" }, @@ -4115,11 +4157,11 @@ "type": "object" }, "GoogleCloudDataplexV1DataProfileResultProfileField": { - "description": "Represents a column field within a table schema.", + "description": "A field within a table.", "id": "GoogleCloudDataplexV1DataProfileResultProfileField", "properties": { "mode": { - "description": "The mode of the field. Its value will be: REQUIRED, if it is a required field. NULLABLE, if it is an optional field. REPEATED, if it is a repeated field.", + "description": "The mode of the field. Possible values include: REQUIRED, if it is a required field. NULLABLE, if it is an optional field. REPEATED, if it is a repeated field.", "type": "string" }, "name": { @@ -4128,7 +4170,7 @@ }, "profile": { "$ref": "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo", - "description": "The profile information for the corresponding field." + "description": "Profile information for the corresponding field." }, "type": { "description": "The field data type. Possible values include: STRING BYTE INT64 INT32 INT16 DOUBLE FLOAT DECIMAL BOOLEAN BINARY TIMESTAMP DATE TIME NULL RECORD", @@ -4138,33 +4180,33 @@ "type": "object" }, "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo": { - "description": "ProfileInfo defines the profile information for each schema field type.", + "description": "The profile information for each field type.", "id": "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo", "properties": { "distinctRatio": { - "description": "The ratio of rows that are distinct against the rows in the sampled data.", + "description": "Ratio of rows with distinct values against total scanned rows. Not available for complex non-groupable field type RECORD and fields with REPEATABLE mode.", "format": "double", "type": "number" }, "doubleProfile": { "$ref": "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo", - "description": "The corresponding double field profile." + "description": "Double type field information." }, "integerProfile": { "$ref": "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo", - "description": "The corresponding integer field profile." + "description": "Integer type field information." }, "nullRatio": { - "description": "The ratio of null rows against the rows in the sampled data.", + "description": "Ratio of rows with null value against total scanned rows.", "format": "double", "type": "number" }, "stringProfile": { "$ref": "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo", - "description": "The corresponding string field profile." + "description": "String type field information." }, "topNValues": { - "description": "The array of top N values of the field in the sampled data. Currently N is set as 10 or equal to distinct values in the field, whichever is smaller. This will be optional for complex non-groupable data-types such as JSON, ARRAY, JSON, STRUCT.", + "description": "The list of top N non-null values and number of times they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type RECORD and fields with REPEATABLE mode.", "items": { "$ref": "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue" }, @@ -4174,26 +4216,26 @@ "type": "object" }, "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo": { - "description": "DoubleFieldInfo defines output for any double type field.", + "description": "The profile information for a double type field.", "id": "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo", "properties": { "average": { - "description": "The average of non-null values of double field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows.", + "description": "Average of non-null values in the scanned data. NaN, if the field has a NaN.", "format": "double", "type": "number" }, "max": { - "description": "The maximum value of a double field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows.", + "description": "Maximum of non-null values in the scanned data. NaN, if the field has a NaN.", "format": "double", "type": "number" }, "min": { - "description": "The minimum value of a double field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows.", + "description": "Minimum of non-null values in the scanned data. NaN, if the field has a NaN.", "format": "double", "type": "number" }, "quartiles": { - "description": "A quartile divide the numebr of data points into four parts, or quarters, of more-or-less equal size. Three main quartiles used are: The first quartile (Q1) splits off the lowest 25% of data from the highest 75%. It is also known as the lower or 25th empirical quartile, as 25% of the data is below this point. The second quartile (Q2) is the median of a data set. So, 50% of the data lies below this point. The third quartile (Q3) splits off the highest 25% of data from the lowest 75%. It is known as the upper or 75th empirical quartile, as 75% of the data lies below this point. So, here the quartiles is provided as an ordered list of quartile values, occurring in order Q1, median, Q3.", + "description": "A quartile divides the number of data points into four parts, or quarters, of more-or-less equal size. Three main quartiles used are: The first quartile (Q1) splits off the lowest 25% of data from the highest 75%. It is also known as the lower or 25th empirical quartile, as 25% of the data is below this point. The second quartile (Q2) is the median of a data set. So, 50% of the data lies below this point. The third quartile (Q3) splits off the highest 25% of data from the lowest 75%. It is known as the upper or 75th empirical quartile, as 75% of the data lies below this point. Here, the quartiles is provided as an ordered list of quartile values for the scanned data, occurring in order Q1, median, Q3.", "items": { "format": "double", "type": "number" @@ -4201,7 +4243,7 @@ "type": "array" }, "standardDeviation": { - "description": "The standard deviation of non-null of double field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows.", + "description": "Standard deviation of non-null values in the scanned data. NaN, if the field has a NaN.", "format": "double", "type": "number" } @@ -4209,26 +4251,26 @@ "type": "object" }, "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo": { - "description": "IntegerFieldInfo defines output for any integer type field.", + "description": "The profile information for an integer type field.", "id": "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo", "properties": { "average": { - "description": "The average of non-null values of integer field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows.", + "description": "Average of non-null values in the scanned data. NaN, if the field has a NaN.", "format": "double", "type": "number" }, "max": { - "description": "The maximum value of an integer field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows.", + "description": "Maximum of non-null values in the scanned data. NaN, if the field has a NaN.", "format": "int64", "type": "string" }, "min": { - "description": "The minimum value of an integer field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows.", + "description": "Minimum of non-null values in the scanned data. NaN, if the field has a NaN.", "format": "int64", "type": "string" }, "quartiles": { - "description": "A quartile divide the number of data points into four parts, or quarters, of more-or-less equal size. Three main quartiles used are: The first quartile (Q1) splits off the lowest 25% of data from the highest 75%. It is also known as the lower or 25th empirical quartile, as 25% of the data is below this point. The second quartile (Q2) is the median of a data set. So, 50% of the data lies below this point. The third quartile (Q3) splits off the highest 25% of data from the lowest 75%. It is known as the upper or 75th empirical quartile, as 75% of the data lies below this point. So, here the quartiles is provided as an ordered list of quartile values, occurring in order Q1, median, Q3.", + "description": "A quartile divides the number of data points into four parts, or quarters, of more-or-less equal size. Three main quartiles used are: The first quartile (Q1) splits off the lowest 25% of data from the highest 75%. It is also known as the lower or 25th empirical quartile, as 25% of the data is below this point. The second quartile (Q2) is the median of a data set. So, 50% of the data lies below this point. The third quartile (Q3) splits off the highest 25% of data from the lowest 75%. It is known as the upper or 75th empirical quartile, as 75% of the data lies below this point. Here, the quartiles is provided as an ordered list of quartile values for the scanned data, occurring in order Q1, median, Q3.", "items": { "format": "int64", "type": "string" @@ -4236,7 +4278,7 @@ "type": "array" }, "standardDeviation": { - "description": "The standard deviation of non-null of integer field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows.", + "description": "Standard deviation of non-null values in the scanned data. NaN, if the field has a NaN.", "format": "double", "type": "number" } @@ -4244,21 +4286,21 @@ "type": "object" }, "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo": { - "description": "StringFieldInfo defines output info for any string type field.", + "description": "The profile information for a string type field.", "id": "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo", "properties": { "averageLength": { - "description": "The average length of a string field in the sampled data. Optional if zero non-null rows.", + "description": "Average length of non-null values in the scanned data.", "format": "double", "type": "number" }, "maxLength": { - "description": "The maximum length of a string field in the sampled data. Optional if zero non-null rows.", + "description": "Maximum length of non-null values in the scanned data.", "format": "int64", "type": "string" }, "minLength": { - "description": "The minimum length of the string field in the sampled data. Optional if zero non-null rows.", + "description": "Minimum length of non-null values in the scanned data.", "format": "int64", "type": "string" } @@ -4266,16 +4308,16 @@ "type": "object" }, "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue": { - "description": "The TopNValue defines the structure of output of top N values of a field.", + "description": "Top N non-null values in the scanned data.", "id": "GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue", "properties": { "count": { - "description": "The frequency count of the corresponding value in the field.", + "description": "Count of the corresponding value in the scanned data.", "format": "int64", "type": "string" }, "value": { - "description": "The value is the string value of the actual value from the field.", + "description": "String value of a top N non-null value.", "type": "string" } }, @@ -4288,7 +4330,7 @@ "type": "object" }, "GoogleCloudDataplexV1DataQualityDimensionResult": { - "description": "DataQualityDimensionResult provides a more detailed, per-dimension level view of the results.", + "description": "DataQualityDimensionResult provides a more detailed, per-dimension view of the results.", "id": "GoogleCloudDataplexV1DataQualityDimensionResult", "properties": { "passed": { @@ -4303,7 +4345,7 @@ "id": "GoogleCloudDataplexV1DataQualityResult", "properties": { "dimensions": { - "description": "A list of results at the dimension-level.", + "description": "A list of results at the dimension level.", "items": { "$ref": "GoogleCloudDataplexV1DataQualityDimensionResult" }, @@ -4341,11 +4383,11 @@ "type": "string" }, "dimension": { - "description": "Required. The dimension a rule belongs to. Results are also aggregated at the dimension-level. Supported dimensions are \"COMPLETENESS\", \"ACCURACY\", \"CONSISTENCY\", \"VALIDITY\", \"UNIQUENESS\", \"INTEGRITY\"", + "description": "Required. The dimension a rule belongs to. Results are also aggregated at the dimension level. Supported dimensions are \"COMPLETENESS\", \"ACCURACY\", \"CONSISTENCY\", \"VALIDITY\", \"UNIQUENESS\", \"INTEGRITY\"", "type": "string" }, "ignoreNull": { - "description": "Optional. Rows with null values will automatically fail a rule, unless ignore_null is true. In that case, such null rows are trivially considered passing. Only applicable to ColumnMap rules.", + "description": "Optional. Rows with null values will automatically fail a rule, unless ignore_null is true. In that case, such null rows are trivially considered passing.Only applicable to ColumnMap rules.", "type": "boolean" }, "nonNullExpectation": { @@ -4377,7 +4419,7 @@ "description": "Table rule which evaluates whether the provided expression is true." }, "threshold": { - "description": "Optional. The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of 0.0, 1.00 indicates default value (i.e. 1.0)", + "description": "Optional. The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of 0.0, 1.0.0 indicates default value (i.e. 1.0).", "format": "double", "type": "number" }, @@ -4407,11 +4449,11 @@ "type": "string" }, "strictMaxEnabled": { - "description": "Optional. Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed. Only relevant if a max_value has been defined. Default = false.", + "description": "Optional. Whether each value needs to be strictly lesser than ('<') the maximum, or if equality is allowed.Only relevant if a max_value has been defined. Default = false.", "type": "boolean" }, "strictMinEnabled": { - "description": "Optional. Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed. Only relevant if a min_value has been defined. Default = false.", + "description": "Optional. Whether each value needs to be strictly greater than ('>') the minimum, or if equality is allowed.Only relevant if a min_value has been defined. Default = false.", "type": "boolean" } }, @@ -4422,17 +4464,18 @@ "id": "GoogleCloudDataplexV1DataQualityRuleRegexExpectation", "properties": { "regex": { + "description": "A regular expression the column value is expected to match.", "type": "string" } }, "type": "object" }, "GoogleCloudDataplexV1DataQualityRuleResult": { - "description": "DataQualityRuleResult provides a more detailed, per-rule level view of the results.", + "description": "DataQualityRuleResult provides a more detailed, per-rule view of the results.", "id": "GoogleCloudDataplexV1DataQualityRuleResult", "properties": { "evaluatedCount": { - "description": "The number of rows a rule was evaluated against. This field is only valid for ColumnMap type rules. Evaluated count can be configured to either (1) include all rows (default) - with null rows automatically failing rule evaluation OR (2) exclude null rows from the evaluated_count, by setting ignore_nulls = true", + "description": "The number of rows a rule was evaluated against. This field is only valid for ColumnMap type rules.Evaluated count can be configured to either include all rows (default) - with null rows automatically failing rule evaluation, or exclude null rows from the evaluated_count, by setting ignore_nulls = true.", "format": "int64", "type": "string" }, @@ -4467,10 +4510,11 @@ "type": "object" }, "GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation": { - "description": "Evaluates whether each row passes the specified condition. The SQL expression needs to use BigQuery standard SQL syntax and should produce a boolean per row as the result. Example: col1 >= 0 AND col2 < 10", + "description": "Evaluates whether each row passes the specified condition.The SQL expression needs to use BigQuery standard SQL syntax and should produce a boolean value per row as the result.Example: col1 >= 0 AND col2 < 10", "id": "GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation", "properties": { "sqlExpression": { + "description": "The SQL expression.", "type": "string" } }, @@ -4481,6 +4525,7 @@ "id": "GoogleCloudDataplexV1DataQualityRuleSetExpectation", "properties": { "values": { + "description": "Expected values for the column value.", "items": { "type": "string" }, @@ -4494,11 +4539,11 @@ "id": "GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation", "properties": { "maxValue": { - "description": "The maximum column statistic value allowed for a row to pass this validation. At least one of min_value and max_value need to be provided.", + "description": "The maximum column statistic value allowed for a row to pass this validation.At least one of min_value and max_value need to be provided.", "type": "string" }, "minValue": { - "description": "The minimum column statistic value allowed for a row to pass this validation. At least one of min_value and max_value need to be provided.", + "description": "The minimum column statistic value allowed for a row to pass this validation.At least one of min_value and max_value need to be provided.", "type": "string" }, "statistic": { @@ -4517,21 +4562,22 @@ "type": "string" }, "strictMaxEnabled": { - "description": "Whether column statistic needs to be strictly lesser than ('<') the maximum, or if equality is allowed. Only relevant if a max_value has been defined. Default = false.", + "description": "Whether column statistic needs to be strictly lesser than ('<') the maximum, or if equality is allowed.Only relevant if a max_value has been defined. Default = false.", "type": "boolean" }, "strictMinEnabled": { - "description": "Whether column statistic needs to be strictly greater than ('>') the minimum, or if equality is allowed. Only relevant if a min_value has been defined. Default = false.", + "description": "Whether column statistic needs to be strictly greater than ('>') the minimum, or if equality is allowed.Only relevant if a min_value has been defined. Default = false.", "type": "boolean" } }, "type": "object" }, "GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation": { - "description": "Evaluates whether the provided expression is true. The SQL expression needs to use BigQuery standard SQL syntax and should produce a scalar boolean result. Example: MIN(col1) >= 0", + "description": "Evaluates whether the provided expression is true.The SQL expression needs to use BigQuery standard SQL syntax and should produce a scalar boolean result.Example: MIN(col1) >= 0", "id": "GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation", "properties": { "sqlExpression": { + "description": "The SQL expression.", "type": "string" } }, @@ -4558,7 +4604,7 @@ "type": "object" }, "GoogleCloudDataplexV1DataScan": { - "description": "Represents a user-visible job which provides the insights for the related data source. For examples: - Data Quality: generates queries based on the rules and run against the data to get data quality check results. - Data Profile: analyzes the data in table(s) and generates insights about the structure, content and relationships (such as null percent, cardinality, min/max/mean, etc).", + "description": "Represents a user-visible job which provides the insights for the related data source.For example: Data Quality: generates queries based on the rules and runs against the data to get data quality check results. Data Profile: analyzes the data in table(s) and generates insights about the structure, content and relationships (such as null percent, cardinality, min/max/mean, etc).", "id": "GoogleCloudDataplexV1DataScan", "properties": { "createTime": { @@ -4590,16 +4636,16 @@ "description": "DataQualityScan related setting." }, "description": { - "description": "Optional. Description of the scan. * Must be between 1-1024 characters.", + "description": "Optional. Description of the scan. Must be between 1-1024 characters.", "type": "string" }, "displayName": { - "description": "Optional. User friendly display name. * Must be between 1-256 characters.", + "description": "Optional. User friendly display name. Must be between 1-256 characters.", "type": "string" }, "executionSpec": { "$ref": "GoogleCloudDataplexV1DataScanExecutionSpec", - "description": "Optional. DataScan execution settings. If not specified, the fields under it will use their default values." + "description": "Optional. DataScan execution settings.If not specified, the fields in it will use their default values." }, "executionStatus": { "$ref": "GoogleCloudDataplexV1DataScanExecutionStatus", @@ -4614,7 +4660,7 @@ "type": "object" }, "name": { - "description": "Output only. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}. where {project} refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Output only. The relative resource name of the scan, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.", "readOnly": true, "type": "string" }, @@ -4645,9 +4691,9 @@ "DATA_PROFILE" ], "enumDescriptions": [ - "The DataScan Type is unspecified.", - "Data Quality Scan.", - "Data Profile Scan." + "The DataScan type is unspecified.", + "Data Quality scan.", + "Data Profile scan." ], "readOnly": true, "type": "string" @@ -4807,12 +4853,12 @@ "id": "GoogleCloudDataplexV1DataScanExecutionSpec", "properties": { "field": { - "description": "Immutable. The unnested field (Date or Timestamp) that contains values that monotonically increase over time.", + "description": "Immutable. The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time.If not specified, a data scan will run for all data in the table.", "type": "string" }, "trigger": { "$ref": "GoogleCloudDataplexV1Trigger", - "description": "Optional. Spec related to how often and when a scan should be triggered. If not specified, the default is OnDemand, which means the scan will not run until the user calls RunDataScan API." + "description": "Optional. Spec related to how often and when a scan should be triggered.If not specified, the default is OnDemand, which means the scan will not run until the user calls RunDataScan API." } }, "type": "object" @@ -4835,7 +4881,7 @@ "type": "object" }, "GoogleCloudDataplexV1DataScanJob": { - "description": "A DataScanJob represents an instance of a data scan.", + "description": "A DataScanJob represents an instance of DataScan execution.", "id": "GoogleCloudDataplexV1DataScanJob", "properties": { "dataProfileResult": { @@ -4870,7 +4916,7 @@ "type": "string" }, "name": { - "description": "Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}. where {project} refers to a project_id or project_number and location_id refers to a GCP region.", + "description": "Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.", "readOnly": true, "type": "string" }, @@ -4911,9 +4957,9 @@ "DATA_PROFILE" ], "enumDescriptions": [ - "The DataScan Type is unspecified.", - "Data Quality Scan.", - "Data Profile Scan." + "The DataScan type is unspecified.", + "Data Quality scan.", + "Data Profile scan." ], "readOnly": true, "type": "string" @@ -4931,7 +4977,7 @@ "id": "GoogleCloudDataplexV1DataSource", "properties": { "entity": { - "description": "Immutable. The dataplex entity that contains the data for DataScan, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.", + "description": "Immutable. The Dataplex entity that represents the data source (e.g. BigQuery table) for DataScan, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.", "type": "string" } }, @@ -5094,6 +5140,11 @@ "description": "Represents tables and fileset metadata contained within a zone.", "id": "GoogleCloudDataplexV1Entity", "properties": { + "access": { + "$ref": "GoogleCloudDataplexV1StorageAccess", + "description": "Output only. Identifies the access mechanism to the entity. Not user settable.", + "readOnly": true + }, "asset": { "description": "Required. Immutable. The ID of the asset associated with the storage location containing the entity data. The entity must be with in the same zone with the asset.", "type": "string" @@ -5179,6 +5230,11 @@ ], "type": "string" }, + "uid": { + "description": "Output only. System generated unique ID for the Entity. This ID will be different if the Entity is deleted and re-created with the same name.", + "readOnly": true, + "type": "string" + }, "updateTime": { "description": "Output only. The time when the entity was last updated.", "format": "google-datetime", @@ -5763,7 +5819,7 @@ "id": "GoogleCloudDataplexV1ListDataScanJobsResponse", "properties": { "dataScanJobs": { - "description": "DataScanJobs (metadata only) under a given dataScan.", + "description": "DataScanJobs (BASIC view only) under a given dataScan.", "items": { "$ref": "GoogleCloudDataplexV1DataScanJob" }, @@ -5781,7 +5837,7 @@ "id": "GoogleCloudDataplexV1ListDataScansResponse", "properties": { "dataScans": { - "description": "DataScans (metadata only) under the given parent location.", + "description": "DataScans (BASIC view only) under the given parent location.", "items": { "$ref": "GoogleCloudDataplexV1DataScan" }, @@ -6042,7 +6098,22 @@ "properties": { "job": { "$ref": "GoogleCloudDataplexV1DataScanJob", - "description": "DataScanJob created by RunDataScan API." + "description": "DataScanJob created by RunDataScan request." + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1RunTaskRequest": { + "id": "GoogleCloudDataplexV1RunTaskRequest", + "properties": {}, + "type": "object" + }, + "GoogleCloudDataplexV1RunTaskResponse": { + "id": "GoogleCloudDataplexV1RunTaskResponse", + "properties": { + "job": { + "$ref": "GoogleCloudDataplexV1Job", + "description": "Jobs created by RunTask API." } }, "type": "object" @@ -6063,15 +6134,15 @@ "id": "GoogleCloudDataplexV1ScannedDataIncrementalField", "properties": { "end": { - "description": "Value that marks the end of the range", + "description": "Value that marks the end of the range.", "type": "string" }, "field": { - "description": "The field that contains values which monotonically increases over time (e.g. timestamp).", + "description": "The field that contains values which monotonically increases over time (e.g. a timestamp column).", "type": "string" }, "start": { - "description": "Value that marks the start of the range", + "description": "Value that marks the start of the range.", "type": "string" } }, @@ -6382,6 +6453,28 @@ }, "type": "object" }, + "GoogleCloudDataplexV1StorageAccess": { + "description": "Describes the access mechanism of the data within its storage location.", + "id": "GoogleCloudDataplexV1StorageAccess", + "properties": { + "read": { + "description": "Output only. Describes the read access mechanism of the data. Not user settable.", + "enum": [ + "ACCESS_MODE_UNSPECIFIED", + "DIRECT", + "MANAGED" + ], + "enumDescriptions": [ + "Access mode unspecified.", + "Default. Data is accessed directly using storage APIs.", + "Data is accessed through a managed interface using BigQuery APIs." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1StorageFormat": { "description": "Describes the format of the data within its storage location.", "id": "GoogleCloudDataplexV1StorageFormat", @@ -6811,7 +6904,7 @@ "type": "integer" }, "schedule": { - "description": "Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running tasks periodically. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or \"TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, \"CRON_TZ=America/New_York 1 * * * *\", or \"TZ=America/New_York 1 * * * *\". This field is required for RECURRING tasks.", + "description": "Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running tasks periodically. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or \"TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *. This field is required for RECURRING tasks.", "type": "string" }, "startTime": { @@ -6842,7 +6935,7 @@ "properties": { "onDemand": { "$ref": "GoogleCloudDataplexV1TriggerOnDemand", - "description": "The scan runs one-time shortly after DataScan Creation." + "description": "The scan runs once via RunDataScan API." }, "schedule": { "$ref": "GoogleCloudDataplexV1TriggerSchedule", @@ -6852,7 +6945,7 @@ "type": "object" }, "GoogleCloudDataplexV1TriggerOnDemand": { - "description": "The scan runs one-time via RunDataScan API.", + "description": "The scan runs once via RunDataScan API.", "id": "GoogleCloudDataplexV1TriggerOnDemand", "properties": {}, "type": "object" @@ -6862,7 +6955,7 @@ "id": "GoogleCloudDataplexV1TriggerSchedule", "properties": { "cron": { - "description": "Required. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running scans periodically. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or \"TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, \"CRON_TZ=America/New_York 1 * * * *\", or \"TZ=America/New_York 1 * * * *\". This field is required for Schedule scans.", + "description": "Required. Cron (https://en.wikipedia.org/wiki/Cron) schedule for running scans periodically.To explicitly set a timezone in the cron tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or \"TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database (wikipedia (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)). For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.This field is required for Schedule scans.", "type": "string" } }, @@ -6989,7 +7082,7 @@ "description": "Optional. Configuration for Json data." }, "schedule": { - "description": "Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, \"CRON_TZ=America/New_York 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".", + "description": "Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.", "type": "string" } },
diff --git a/discovery/googleapis/dataproc__v1.json b/discovery/googleapis/dataproc__v1.json index ed392ee..931b1e2 100644 --- a/discovery/googleapis/dataproc__v1.json +++ b/discovery/googleapis/dataproc__v1.json
@@ -1661,6 +1661,103 @@ "https://www.googleapis.com/auth/cloud-platform" ] } + }, + "resources": { + "nodeGroups": { + "methods": { + "create": { + "description": "Creates a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).", + "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups", + "httpMethod": "POST", + "id": "dataproc.projects.regions.clusters.nodeGroups.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "nodeGroupId": { + "description": "Optional. An optional node group ID. Generated if not specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource where this node group will be created. Format: projects/{project}/regions/{region}/clusters/{cluster}", + "location": "path", + "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequests) with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/nodeGroups", + "request": { + "$ref": "NodeGroup" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the resource representation for a node group in a cluster.", + "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups/{nodeGroupsId}", + "httpMethod": "GET", + "id": "dataproc.projects.regions.clusters.nodeGroups.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the node group to retrieve. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}", + "location": "path", + "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+/nodeGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "NodeGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "resize": { + "description": "Resizes a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).", + "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups/{nodeGroupsId}:resize", + "httpMethod": "POST", + "id": "dataproc.projects.regions.clusters.nodeGroups.resize", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}", + "location": "path", + "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+/nodeGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:resize", + "request": { + "$ref": "ResizeNodeGroupRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } } }, "jobs": { @@ -2562,7 +2659,7 @@ } } }, - "revision": "20221114", + "revision": "20221207", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2626,6 +2723,21 @@ }, "type": "object" }, + "AuxiliaryNodeGroup": { + "description": "Node group identification and configuration information.", + "id": "AuxiliaryNodeGroup", + "properties": { + "nodeGroup": { + "$ref": "NodeGroup", + "description": "Required. Node group configuration." + }, + "nodeGroupId": { + "description": "Optional. A node group ID. Generated if not specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.", + "type": "string" + } + }, + "type": "object" + }, "AuxiliaryServicesConfig": { "description": "Auxiliary services configuration for a Cluster.", "id": "AuxiliaryServicesConfig", @@ -2948,6 +3060,13 @@ "$ref": "AutoscalingConfig", "description": "Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset." }, + "auxiliaryNodeGroups": { + "description": "Optional. The node group settings.", + "items": { + "$ref": "AuxiliaryNodeGroup" + }, + "type": "array" + }, "configBucket": { "description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.", "type": "string" @@ -3313,6 +3432,23 @@ }, "type": "object" }, + "DriverSchedulingConfig": { + "description": "Driver scheduling configuration.", + "id": "DriverSchedulingConfig", + "properties": { + "memoryMb": { + "description": "Required. The amount of memory in MB the driver is requesting.", + "format": "int32", + "type": "integer" + }, + "vcores": { + "description": "Required. The number of vCPUs the driver is requesting.", + "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", @@ -3369,7 +3505,7 @@ "id": "ExecutionConfig", "properties": { "idleTtl": { - "description": "Optional. The duration to keep the session alive while it's idling. Passing this threshold will cause the session to be terminated. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 10 minutes if not set.", + "description": "Optional. The duration to keep the session alive while it's idling. Passing this threshold will cause the session to be terminated. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set.", "format": "google-duration", "type": "string" }, @@ -3968,6 +4104,10 @@ "readOnly": true, "type": "string" }, + "driverSchedulingConfig": { + "$ref": "DriverSchedulingConfig", + "description": "Optional. Driver scheduling configuration." + }, "hadoopJob": { "$ref": "HadoopJob", "description": "Optional. Job is a Hadoop job." @@ -4123,12 +4263,12 @@ "id": "JobScheduling", "properties": { "maxFailuresPerHour": { - "description": "Optional. Maximum number of times per hour a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10.Note: Currently, this restartable job option is not supported in Dataproc workflow template (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template) jobs.", + "description": "Optional. Maximum number of times per hour a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed.A job may be reported as thrashing if the driver exits with a non-zero code four times within a 10-minute window.Maximum value is 10.Note: This restartable job option is not supported in Dataproc workflow templates (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template).", "format": "int32", "type": "integer" }, "maxFailuresTotal": { - "description": "Optional. Maximum number of times in total a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed. Maximum value is 240.Note: Currently, this restartable job option is not supported in Dataproc workflow template (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template) jobs.", + "description": "Optional. Maximum total number of times a driver may be restarted as a result of the driver exiting with a non-zero code. After the maximum number is reached, the job will be reported as failed.Maximum value is 240.Note: Currently, this restartable job option is not supported in Dataproc workflow templates (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template).", "format": "int32", "type": "integer" } @@ -4587,8 +4727,45 @@ }, "type": "object" }, + "NodeGroup": { + "description": "Dataproc Node Group. The Dataproc NodeGroup resource is not related to the Dataproc NodeGroupAffinity resource.", + "id": "NodeGroup", + "properties": { + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labelsn.", + "type": "object" + }, + "name": { + "description": "The Node group resource name (https://aip.dev/122).", + "type": "string" + }, + "nodeGroupConfig": { + "$ref": "InstanceGroupConfig", + "description": "Optional. The node group instance group configuration." + }, + "roles": { + "description": "Required. Node group roles.", + "items": { + "enum": [ + "ROLE_UNSPECIFIED", + "DRIVER" + ], + "enumDescriptions": [ + "Required unspecified role.", + "Job drivers run on the node pool." + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "NodeGroupAffinity": { - "description": "Node Group Affinity for clusters using sole-tenant node groups.", + "description": "Node Group Affinity for clusters using sole-tenant node groups. The Dataproc NodeGroupAffinity resource is not related to the Dataproc NodeGroup resource.", "id": "NodeGroupAffinity", "properties": { "nodeGroupUri": { @@ -5148,6 +5325,27 @@ }, "type": "object" }, + "ResizeNodeGroupRequest": { + "description": "A request to resize a node group.", + "id": "ResizeNodeGroupRequest", + "properties": { + "gracefulDecommissionTimeout": { + "description": "Optional. Timeout for graceful YARN decomissioning. Graceful decommissioning (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/scaling-clusters#graceful_decommissioning) allows the removal of nodes from the Compute Engine node group without interrupting jobs in progress. This timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs). Default timeout is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and higher.", + "format": "google-duration", + "type": "string" + }, + "requestId": { + "description": "Optional. A unique ID used to identify the request. If the server receives two ResizeNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.ResizeNodeGroupRequests) with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", + "type": "string" + }, + "size": { + "description": "Required. The number of running instances for the node group to maintain. The group adds or removes instances to maintain the number of instances specified by this parameter.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "RuntimeConfig": { "description": "Runtime configuration for a workload.", "id": "RuntimeConfig", @@ -5179,6 +5377,11 @@ "description": "Output only. Approximate workload resource usage calculated after workload finishes (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", "readOnly": true }, + "currentUsage": { + "$ref": "UsageSnapshot", + "description": "Output only. Snapshot of current workload resource usage.", + "readOnly": true + }, "diagnosticOutputUri": { "description": "Output only. A URI pointing to the location of the diagnostics tarball.", "readOnly": true, @@ -5866,6 +6069,28 @@ }, "type": "object" }, + "UsageSnapshot": { + "description": "The usage snaphot represents the resources consumed by a workload at a specified time.", + "id": "UsageSnapshot", + "properties": { + "milliDcu": { + "description": "Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", + "format": "int64", + "type": "string" + }, + "shuffleStorageGb": { + "description": "Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))", + "format": "int64", + "type": "string" + }, + "snapshotTime": { + "description": "Optional. The timestamp of the usage snapshot.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "ValueValidation": { "description": "Validation based on a list of allowed values.", "id": "ValueValidation",
diff --git a/discovery/googleapis/datastore__v1.json b/discovery/googleapis/datastore__v1.json index be9c7f2..ba68304 100644 --- a/discovery/googleapis/datastore__v1.json +++ b/discovery/googleapis/datastore__v1.json
@@ -652,7 +652,7 @@ } } }, - "revision": "20221130", + "revision": "20230110", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "Aggregation": { @@ -939,6 +939,11 @@ "description": "The result of fetching an entity from Datastore.", "id": "EntityResult", "properties": { + "createTime": { + "description": "The time at which the entity was created. This field is set for `FULL` entity results. If this entity is missing, this field will not be set.", + "format": "google-datetime", + "type": "string" + }, "cursor": { "description": "A cursor that points to the position after the result entity. Set only when the `EntityResult` is part of a `QueryResultBatch` message.", "format": "byte", @@ -1872,6 +1877,11 @@ "description": "Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.", "type": "boolean" }, + "createTime": { + "description": "The create time of the entity. This field will not be set after a 'delete'.", + "format": "google-datetime", + "type": "string" + }, "key": { "$ref": "Key", "description": "The automatically allocated key. Set only when the mutation allocated a key."
diff --git a/discovery/googleapis/datastream__v1.json b/discovery/googleapis/datastream__v1.json index f2c49cd..eaec34d 100644 --- a/discovery/googleapis/datastream__v1.json +++ b/discovery/googleapis/datastream__v1.json
@@ -575,6 +575,11 @@ "parent" ], "parameters": { + "force": { + "description": "Optional. If set to true, will skip validations.", + "location": "query", + "type": "boolean" + }, "parent": { "description": "Required. The parent that owns the collection of PrivateConnections.", "location": "path", @@ -1215,7 +1220,7 @@ } } }, - "revision": "20221106", + "revision": "20230103", "rootUrl": "https://datastream.googleapis.com/", "schemas": { "AvroFileFormat": { @@ -2599,6 +2604,7 @@ "id": "SingleTargetDataset", "properties": { "datasetId": { + "description": "The dataset ID of the target dataset.", "type": "string" } },
diff --git a/discovery/googleapis/deploymentmanager__v2.json b/discovery/googleapis/deploymentmanager__v2.json index c06e8de..a3012df 100644 --- a/discovery/googleapis/deploymentmanager__v2.json +++ b/discovery/googleapis/deploymentmanager__v2.json
@@ -987,7 +987,7 @@ } } }, - "revision": "20221117", + "revision": "20221208", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AuditConfig": {
diff --git a/discovery/googleapis/dfareporting__v3.5.json b/discovery/googleapis/dfareporting__v3.5.json index b1abd9c..31d336a 100644 --- a/discovery/googleapis/dfareporting__v3.5.json +++ b/discovery/googleapis/dfareporting__v3.5.json
@@ -9657,7 +9657,7 @@ } } }, - "revision": "20221027", + "revision": "20230103", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": {
diff --git a/discovery/googleapis/dfareporting__v4.json b/discovery/googleapis/dfareporting__v4.json index 33c26e7..be08ed5 100644 --- a/discovery/googleapis/dfareporting__v4.json +++ b/discovery/googleapis/dfareporting__v4.json
@@ -10030,7 +10030,7 @@ } } }, - "revision": "20221027", + "revision": "20230103", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": {
diff --git a/discovery/googleapis/dialogflow__v2.json b/discovery/googleapis/dialogflow__v2.json index 2047293..ec90c56 100644 --- a/discovery/googleapis/dialogflow__v2.json +++ b/discovery/googleapis/dialogflow__v2.json
@@ -3673,6 +3673,39 @@ } } } + }, + "suggestions": { + "methods": { + "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", + "httpMethod": "POST", + "id": "dialogflow.projects.conversations.suggestions.suggestConversationSummary", + "parameterOrder": [ + "conversation" + ], + "parameters": { + "conversation": { + "description": "Required. The conversation to fetch suggestion for. Format: `projects//locations//conversations/`.", + "location": "path", + "pattern": "^projects/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+conversation}/suggestions:suggestConversationSummary", + "request": { + "$ref": "GoogleCloudDialogflowV2SuggestConversationSummaryRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2SuggestConversationSummaryResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } } } }, @@ -7453,6 +7486,39 @@ } } } + }, + "suggestions": { + "methods": { + "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", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.conversations.suggestions.suggestConversationSummary", + "parameterOrder": [ + "conversation" + ], + "parameters": { + "conversation": { + "description": "Required. The conversation to fetch suggestion for. Format: `projects//locations//conversations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+conversation}/suggestions:suggestConversationSummary", + "request": { + "$ref": "GoogleCloudDialogflowV2SuggestConversationSummaryRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2SuggestConversationSummaryResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } } } }, @@ -8075,7 +8141,7 @@ } } }, - "revision": "20221202", + "revision": "20230110", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -8159,6 +8225,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3ConversationSignals": { + "description": "This message is used to hold all the Conversation Signals data, which will be converted to JSON and exported to BigQuery.", + "id": "GoogleCloudDialogflowCxV3ConversationSignals", + "properties": { + "turnSignals": { + "$ref": "GoogleCloudDialogflowCxV3TurnSignals", + "description": "Required. Turn signals for the current turn." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3ConversationTurn": { "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", "id": "GoogleCloudDialogflowCxV3ConversationTurn", @@ -9119,6 +9196,10 @@ "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", "id": "GoogleCloudDialogflowCxV3ResponseMessage", "properties": { + "channel": { + "description": "The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.", + "type": "string" + }, "conversationSuccess": { "$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", "description": "Indicates that the conversation succeeded." @@ -9578,6 +9659,61 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3TurnSignals": { + "description": "Collection of all signals that were extracted for a single turn of the conversation.", + "id": "GoogleCloudDialogflowCxV3TurnSignals", + "properties": { + "agentEscalated": { + "description": "Whether agent responded with LiveAgentHandoff fulfillment.", + "type": "boolean" + }, + "dtmfUsed": { + "description": "Whether user was using DTMF input.", + "type": "boolean" + }, + "failureReasons": { + "description": "Failure reasons of the turn.", + "items": { + "enum": [ + "FAILURE_REASON_UNSPECIFIED", + "FAILED_INTENT", + "FAILED_WEBHOOK" + ], + "enumDescriptions": [ + "Failure reason is not assigned.", + "Whether NLU failed to recognize user intent.", + "Whether webhook failed during the turn." + ], + "type": "string" + }, + "type": "array" + }, + "noMatch": { + "description": "Whether NLU predicted NO_MATCH.", + "type": "boolean" + }, + "noUserInput": { + "description": "Whether user provided no input.", + "type": "boolean" + }, + "reachedEndPage": { + "description": "Whether turn resulted in End Session page.", + "type": "boolean" + }, + "userEscalated": { + "description": "Whether user was specifically asking for a live agent.", + "type": "boolean" + }, + "webhookStatuses": { + "description": "Human-readable statuses of the webhooks triggered during this turn.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata": { "description": "Metadata for UpdateDocument operation.", "id": "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata", @@ -9950,6 +10086,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1ConversationSignals": { + "description": "This message is used to hold all the Conversation Signals data, which will be converted to JSON and exported to BigQuery.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationSignals", + "properties": { + "turnSignals": { + "$ref": "GoogleCloudDialogflowCxV3beta1TurnSignals", + "description": "Required. Turn signals for the current turn." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1ConversationTurn": { "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", "id": "GoogleCloudDialogflowCxV3beta1ConversationTurn", @@ -10910,6 +11057,10 @@ "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", "id": "GoogleCloudDialogflowCxV3beta1ResponseMessage", "properties": { + "channel": { + "description": "The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.", + "type": "string" + }, "conversationSuccess": { "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess", "description": "Indicates that the conversation succeeded." @@ -11369,6 +11520,61 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1TurnSignals": { + "description": "Collection of all signals that were extracted for a single turn of the conversation.", + "id": "GoogleCloudDialogflowCxV3beta1TurnSignals", + "properties": { + "agentEscalated": { + "description": "Whether agent responded with LiveAgentHandoff fulfillment.", + "type": "boolean" + }, + "dtmfUsed": { + "description": "Whether user was using DTMF input.", + "type": "boolean" + }, + "failureReasons": { + "description": "Failure reasons of the turn.", + "items": { + "enum": [ + "FAILURE_REASON_UNSPECIFIED", + "FAILED_INTENT", + "FAILED_WEBHOOK" + ], + "enumDescriptions": [ + "Failure reason is not assigned.", + "Whether NLU failed to recognize user intent.", + "Whether webhook failed during the turn." + ], + "type": "string" + }, + "type": "array" + }, + "noMatch": { + "description": "Whether NLU predicted NO_MATCH.", + "type": "boolean" + }, + "noUserInput": { + "description": "Whether user provided no input.", + "type": "boolean" + }, + "reachedEndPage": { + "description": "Whether turn resulted in End Session page.", + "type": "boolean" + }, + "userEscalated": { + "description": "Whether user was specifically asking for a live agent.", + "type": "boolean" + }, + "webhookStatuses": { + "description": "Human-readable statuses of the webhooks triggered during this turn.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata": { "description": "Metadata for UpdateDocument operation.", "id": "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata", @@ -11798,6 +12004,31 @@ "Document is efficient." ], "type": "string" + }, + "summarizationFeedback": { + "$ref": "GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback", + "description": "Optional. Feedback for conversation summarization." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback": { + "description": "Feedback for conversation summarization.", + "id": "GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback", + "properties": { + "startTime": { + "description": "Timestamp when composing of the summary starts.", + "format": "google-datetime", + "type": "string" + }, + "submitTime": { + "description": "Timestamp when the summary was submitted.", + "format": "google-datetime", + "type": "string" + }, + "summaryText": { + "description": "Text of actual submitted summary.", + "type": "string" } }, "type": "object" @@ -16056,6 +16287,64 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2SuggestConversationSummaryRequest": { + "description": "The request message for Conversations.SuggestConversationSummary.", + "id": "GoogleCloudDialogflowV2SuggestConversationSummaryRequest", + "properties": { + "contextSize": { + "description": "Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.", + "format": "int32", + "type": "integer" + }, + "latestMessage": { + "description": "The name of the latest conversation message used as context for compiling suggestion. If empty, the latest message of the conversation will be used. Format: `projects//locations//conversations//messages/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SuggestConversationSummaryResponse": { + "description": "The response message for Conversations.SuggestConversationSummary.", + "id": "GoogleCloudDialogflowV2SuggestConversationSummaryResponse", + "properties": { + "contextSize": { + "description": "Number of messages prior to and including last_conversation_message used to compile the suggestion. It may be smaller than the SuggestSummaryRequest.context_size field in the request if there weren't that many messages in the conversation.", + "format": "int32", + "type": "integer" + }, + "latestMessage": { + "description": "The name of the latest conversation message used as context for compiling suggestion. Format: `projects//locations//conversations//messages/`.", + "type": "string" + }, + "summary": { + "$ref": "GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary", + "description": "Generated summary." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary": { + "description": "Generated summary for a conversation.", + "id": "GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary", + "properties": { + "answerRecord": { + "description": "The name of the answer record. Format: \"projects//answerRecords/\"", + "type": "string" + }, + "text": { + "description": "The summary content that is concatenated into one string.", + "type": "string" + }, + "textSections": { + "additionalProperties": { + "type": "string" + }, + "description": "The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.", + "type": "object" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2SuggestFaqAnswersRequest": { "description": "The request message for Participants.SuggestFaqAnswers.", "id": "GoogleCloudDialogflowV2SuggestFaqAnswersRequest", @@ -18696,6 +18985,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowV3alpha1ConversationSignals": { + "description": "This message is used to hold all the Conversation Signals data, which will be converted to JSON and exported to BigQuery.", + "id": "GoogleCloudDialogflowV3alpha1ConversationSignals", + "properties": { + "turnSignals": { + "$ref": "GoogleCloudDialogflowV3alpha1TurnSignals", + "description": "Required. Turn signals for the current turn." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata": { "description": "Metadata for CreateDocument operation.", "id": "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata", @@ -18778,6 +19078,65 @@ }, "type": "object" }, + "GoogleCloudDialogflowV3alpha1TurnSignals": { + "description": "Collection of all signals that were extracted for a single turn of the conversation.", + "id": "GoogleCloudDialogflowV3alpha1TurnSignals", + "properties": { + "agentEscalated": { + "description": "Whether agent responded with LiveAgentHandoff fulfillment.", + "type": "boolean" + }, + "dtmfUsed": { + "description": "Whether user was using DTMF input.", + "type": "boolean" + }, + "failureReasons": { + "description": "Failure reasons of the turn.", + "items": { + "enum": [ + "FAILURE_REASON_UNSPECIFIED", + "FAILED_INTENT", + "FAILED_WEBHOOK" + ], + "enumDescriptions": [ + "Failure reason is not assigned.", + "Whether NLU failed to recognize user intent.", + "Whether webhook failed during the turn." + ], + "type": "string" + }, + "type": "array" + }, + "noMatch": { + "description": "Whether NLU predicted NO_MATCH.", + "type": "boolean" + }, + "noUserInput": { + "description": "Whether user provided no input.", + "type": "boolean" + }, + "reachedEndPage": { + "description": "Whether turn resulted in End Session page.", + "type": "boolean" + }, + "triggeredAbandonmentEvent": { + "description": "Whether agent has triggered the event corresponding to user abandoning the conversation.", + "type": "boolean" + }, + "userEscalated": { + "description": "Whether user was specifically asking for a live agent.", + "type": "boolean" + }, + "webhookStatuses": { + "description": "Human-readable statuses of the webhooks triggered during this turn.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata": { "description": "Metadata for UpdateDocument operation.", "id": "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata",
diff --git a/discovery/googleapis/dialogflow__v3.json b/discovery/googleapis/dialogflow__v3.json index e4b5c78..5c5e0f3 100644 --- a/discovery/googleapis/dialogflow__v3.json +++ b/discovery/googleapis/dialogflow__v3.json
@@ -3818,7 +3818,7 @@ } } }, - "revision": "20221202", + "revision": "20230110", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -4138,6 +4138,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3ConversationSignals": { + "description": "This message is used to hold all the Conversation Signals data, which will be converted to JSON and exported to BigQuery.", + "id": "GoogleCloudDialogflowCxV3ConversationSignals", + "properties": { + "turnSignals": { + "$ref": "GoogleCloudDialogflowCxV3TurnSignals", + "description": "Required. Turn signals for the current turn." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3ConversationTurn": { "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", "id": "GoogleCloudDialogflowCxV3ConversationTurn", @@ -6325,6 +6336,10 @@ "description": "Configures whether sentiment analysis should be performed. If not provided, sentiment analysis is not performed.", "type": "boolean" }, + "channel": { + "description": "The channel which this query is for. If specified, only the ResponseMessage associated with the channel will be returned. If no ResponseMessage is associated with the channel, it falls back to the ResponseMessage with unspecified channel. If unspecified, the ResponseMessage with unspecified channel will be returned.", + "type": "string" + }, "currentPage": { "description": "The unique identifier of the page to override the current page in the session. Format: `projects//locations//agents//flows//pages/`. If `current_page` is specified, the previous state of the session will be ignored by Dialogflow, including the previous page and the previous session parameters. In most cases, current_page and parameters should be configured together to direct a session to a specific state.", "type": "string" @@ -6504,6 +6519,10 @@ "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", "id": "GoogleCloudDialogflowCxV3ResponseMessage", "properties": { + "channel": { + "description": "The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.", + "type": "string" + }, "conversationSuccess": { "$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", "description": "Indicates that the conversation succeeded." @@ -7451,6 +7470,61 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3TurnSignals": { + "description": "Collection of all signals that were extracted for a single turn of the conversation.", + "id": "GoogleCloudDialogflowCxV3TurnSignals", + "properties": { + "agentEscalated": { + "description": "Whether agent responded with LiveAgentHandoff fulfillment.", + "type": "boolean" + }, + "dtmfUsed": { + "description": "Whether user was using DTMF input.", + "type": "boolean" + }, + "failureReasons": { + "description": "Failure reasons of the turn.", + "items": { + "enum": [ + "FAILURE_REASON_UNSPECIFIED", + "FAILED_INTENT", + "FAILED_WEBHOOK" + ], + "enumDescriptions": [ + "Failure reason is not assigned.", + "Whether NLU failed to recognize user intent.", + "Whether webhook failed during the turn." + ], + "type": "string" + }, + "type": "array" + }, + "noMatch": { + "description": "Whether NLU predicted NO_MATCH.", + "type": "boolean" + }, + "noUserInput": { + "description": "Whether user provided no input.", + "type": "boolean" + }, + "reachedEndPage": { + "description": "Whether turn resulted in End Session page.", + "type": "boolean" + }, + "userEscalated": { + "description": "Whether user was specifically asking for a live agent.", + "type": "boolean" + }, + "webhookStatuses": { + "description": "Human-readable statuses of the webhooks triggered during this turn.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata": { "description": "Metadata for UpdateDocument operation.", "id": "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata", @@ -8046,6 +8120,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1ConversationSignals": { + "description": "This message is used to hold all the Conversation Signals data, which will be converted to JSON and exported to BigQuery.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationSignals", + "properties": { + "turnSignals": { + "$ref": "GoogleCloudDialogflowCxV3beta1TurnSignals", + "description": "Required. Turn signals for the current turn." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1ConversationTurn": { "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", "id": "GoogleCloudDialogflowCxV3beta1ConversationTurn", @@ -9006,6 +9091,10 @@ "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", "id": "GoogleCloudDialogflowCxV3beta1ResponseMessage", "properties": { + "channel": { + "description": "The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.", + "type": "string" + }, "conversationSuccess": { "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess", "description": "Indicates that the conversation succeeded." @@ -9465,6 +9554,61 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1TurnSignals": { + "description": "Collection of all signals that were extracted for a single turn of the conversation.", + "id": "GoogleCloudDialogflowCxV3beta1TurnSignals", + "properties": { + "agentEscalated": { + "description": "Whether agent responded with LiveAgentHandoff fulfillment.", + "type": "boolean" + }, + "dtmfUsed": { + "description": "Whether user was using DTMF input.", + "type": "boolean" + }, + "failureReasons": { + "description": "Failure reasons of the turn.", + "items": { + "enum": [ + "FAILURE_REASON_UNSPECIFIED", + "FAILED_INTENT", + "FAILED_WEBHOOK" + ], + "enumDescriptions": [ + "Failure reason is not assigned.", + "Whether NLU failed to recognize user intent.", + "Whether webhook failed during the turn." + ], + "type": "string" + }, + "type": "array" + }, + "noMatch": { + "description": "Whether NLU predicted NO_MATCH.", + "type": "boolean" + }, + "noUserInput": { + "description": "Whether user provided no input.", + "type": "boolean" + }, + "reachedEndPage": { + "description": "Whether turn resulted in End Session page.", + "type": "boolean" + }, + "userEscalated": { + "description": "Whether user was specifically asking for a live agent.", + "type": "boolean" + }, + "webhookStatuses": { + "description": "Human-readable statuses of the webhooks triggered during this turn.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata": { "description": "Metadata for UpdateDocument operation.", "id": "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata", @@ -14081,6 +14225,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowV3alpha1ConversationSignals": { + "description": "This message is used to hold all the Conversation Signals data, which will be converted to JSON and exported to BigQuery.", + "id": "GoogleCloudDialogflowV3alpha1ConversationSignals", + "properties": { + "turnSignals": { + "$ref": "GoogleCloudDialogflowV3alpha1TurnSignals", + "description": "Required. Turn signals for the current turn." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata": { "description": "Metadata for CreateDocument operation.", "id": "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata", @@ -14163,6 +14318,65 @@ }, "type": "object" }, + "GoogleCloudDialogflowV3alpha1TurnSignals": { + "description": "Collection of all signals that were extracted for a single turn of the conversation.", + "id": "GoogleCloudDialogflowV3alpha1TurnSignals", + "properties": { + "agentEscalated": { + "description": "Whether agent responded with LiveAgentHandoff fulfillment.", + "type": "boolean" + }, + "dtmfUsed": { + "description": "Whether user was using DTMF input.", + "type": "boolean" + }, + "failureReasons": { + "description": "Failure reasons of the turn.", + "items": { + "enum": [ + "FAILURE_REASON_UNSPECIFIED", + "FAILED_INTENT", + "FAILED_WEBHOOK" + ], + "enumDescriptions": [ + "Failure reason is not assigned.", + "Whether NLU failed to recognize user intent.", + "Whether webhook failed during the turn." + ], + "type": "string" + }, + "type": "array" + }, + "noMatch": { + "description": "Whether NLU predicted NO_MATCH.", + "type": "boolean" + }, + "noUserInput": { + "description": "Whether user provided no input.", + "type": "boolean" + }, + "reachedEndPage": { + "description": "Whether turn resulted in End Session page.", + "type": "boolean" + }, + "triggeredAbandonmentEvent": { + "description": "Whether agent has triggered the event corresponding to user abandoning the conversation.", + "type": "boolean" + }, + "userEscalated": { + "description": "Whether user was specifically asking for a live agent.", + "type": "boolean" + }, + "webhookStatuses": { + "description": "Human-readable statuses of the webhooks triggered during this turn.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata": { "description": "Metadata for UpdateDocument operation.", "id": "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata",
diff --git a/discovery/googleapis/digitalassetlinks__v1.json b/discovery/googleapis/digitalassetlinks__v1.json index 9c65bcd..b7502b2 100644 --- a/discovery/googleapis/digitalassetlinks__v1.json +++ b/discovery/googleapis/digitalassetlinks__v1.json
@@ -198,7 +198,7 @@ } } }, - "revision": "20221129", + "revision": "20230110", "rootUrl": "https://digitalassetlinks.googleapis.com/", "schemas": { "AndroidAppAsset": {
diff --git a/discovery/googleapis/displayvideo__v1.json b/discovery/googleapis/displayvideo__v1.json index ff2bd28..5a5dee2 100644 --- a/discovery/googleapis/displayvideo__v1.json +++ b/discovery/googleapis/displayvideo__v1.json
@@ -8144,7 +8144,7 @@ } } }, - "revision": "20221205", + "revision": "20230111", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -12575,7 +12575,11 @@ "EXCHANGE_MEDIANET", "EXCHANGE_TAPJOY", "EXCHANGE_VISTAR", - "EXCHANGE_DAX" + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -12646,7 +12650,11 @@ "Media.net.", "Tapjoy.", "Vistar.", - "DAX." + "DAX.", + "JCD.", + "Place Exchange.", + "AppLovin.", + "Connatix." ], "type": "string" }, @@ -12743,7 +12751,11 @@ "EXCHANGE_MEDIANET", "EXCHANGE_TAPJOY", "EXCHANGE_VISTAR", - "EXCHANGE_DAX" + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -12814,7 +12826,11 @@ "Media.net.", "Tapjoy.", "Vistar.", - "DAX." + "DAX.", + "JCD.", + "Place Exchange.", + "AppLovin.", + "Connatix." ], "type": "string" }, @@ -12912,7 +12928,11 @@ "EXCHANGE_MEDIANET", "EXCHANGE_TAPJOY", "EXCHANGE_VISTAR", - "EXCHANGE_DAX" + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -12983,7 +13003,11 @@ "Media.net.", "Tapjoy.", "Vistar.", - "DAX." + "DAX.", + "JCD.", + "Place Exchange.", + "AppLovin.", + "Connatix." ], "readOnly": true, "type": "string" @@ -13822,7 +13846,11 @@ "EXCHANGE_MEDIANET", "EXCHANGE_TAPJOY", "EXCHANGE_VISTAR", - "EXCHANGE_DAX" + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -13893,7 +13921,11 @@ "Media.net.", "Tapjoy.", "Vistar.", - "DAX." + "DAX.", + "JCD.", + "Place Exchange.", + "AppLovin.", + "Connatix." ], "type": "string" }, @@ -14663,7 +14695,11 @@ "EXCHANGE_MEDIANET", "EXCHANGE_TAPJOY", "EXCHANGE_VISTAR", - "EXCHANGE_DAX" + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -14734,7 +14770,11 @@ "Media.net.", "Tapjoy.", "Vistar.", - "DAX." + "DAX.", + "JCD.", + "Place Exchange.", + "AppLovin.", + "Connatix." ], "type": "string" },
diff --git a/discovery/googleapis/displayvideo__v2.json b/discovery/googleapis/displayvideo__v2.json index 6befa09..4ecd0d0 100644 --- a/discovery/googleapis/displayvideo__v2.json +++ b/discovery/googleapis/displayvideo__v2.json
@@ -8489,7 +8489,7 @@ } } }, - "revision": "20221205", + "revision": "20230111", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -8754,7 +8754,7 @@ "id": "AdvertiserBillingConfig", "properties": { "billingProfileId": { - "description": "The ID of a billing profile assigned to the advertiser.", + "description": "The ID of a billing profile assigned to the advertiser. This field will default to the default billing profile ID of the advertiser's parent partner if a value is not provided.", "format": "int64", "type": "string" } @@ -9162,7 +9162,7 @@ "type": "string" }, "assignedTargetingOptionIdAlias": { - "description": "Output only. An alias for the assigned targeting option id field. This field is only supported for targeting types with enum targeting enabled. This value can be used in place of the assignedTargetingOptionId required for GET and DELETE targeting methods. An alias for the assignedTargetingOptionId. This value can be used in place of `assignedTargetingOptionId` when retrieving or deleting existing targeting. This field will only be supported for all assigned targeting options of the following targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` This field is also supported for line item assigned targeting options of the following targeting types: * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`", + "description": "Output only. An alias for the assigned_targeting_option_id. This value can be used in place of `assignedTargetingOptionId` when retrieving or deleting existing targeting. This field will only be supported for all assigned targeting options of the following targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` This field is also supported for line item assigned targeting options of the following targeting types: * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`", "readOnly": true, "type": "string" }, @@ -13047,7 +13047,11 @@ "EXCHANGE_MEDIANET", "EXCHANGE_TAPJOY", "EXCHANGE_VISTAR", - "EXCHANGE_DAX" + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -13118,7 +13122,11 @@ "Media.net.", "Tapjoy.", "Vistar.", - "DAX." + "DAX.", + "JCD.", + "Place Exchange.", + "AppLovin.", + "Connatix." ], "type": "string" } @@ -13214,7 +13222,11 @@ "EXCHANGE_MEDIANET", "EXCHANGE_TAPJOY", "EXCHANGE_VISTAR", - "EXCHANGE_DAX" + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -13285,7 +13297,11 @@ "Media.net.", "Tapjoy.", "Vistar.", - "DAX." + "DAX.", + "JCD.", + "Place Exchange.", + "AppLovin.", + "Connatix." ], "type": "string" }, @@ -13382,7 +13398,11 @@ "EXCHANGE_MEDIANET", "EXCHANGE_TAPJOY", "EXCHANGE_VISTAR", - "EXCHANGE_DAX" + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -13453,7 +13473,11 @@ "Media.net.", "Tapjoy.", "Vistar.", - "DAX." + "DAX.", + "JCD.", + "Place Exchange.", + "AppLovin.", + "Connatix." ], "type": "string" }, @@ -13551,7 +13575,11 @@ "EXCHANGE_MEDIANET", "EXCHANGE_TAPJOY", "EXCHANGE_VISTAR", - "EXCHANGE_DAX" + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -13622,7 +13650,11 @@ "Media.net.", "Tapjoy.", "Vistar.", - "DAX." + "DAX.", + "JCD.", + "Place Exchange.", + "AppLovin.", + "Connatix." ], "readOnly": true, "type": "string" @@ -14480,7 +14512,11 @@ "EXCHANGE_MEDIANET", "EXCHANGE_TAPJOY", "EXCHANGE_VISTAR", - "EXCHANGE_DAX" + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -14551,7 +14587,11 @@ "Media.net.", "Tapjoy.", "Vistar.", - "DAX." + "DAX.", + "JCD.", + "Place Exchange.", + "AppLovin.", + "Connatix." ], "type": "string" }, @@ -15321,7 +15361,11 @@ "EXCHANGE_MEDIANET", "EXCHANGE_TAPJOY", "EXCHANGE_VISTAR", - "EXCHANGE_DAX" + "EXCHANGE_DAX", + "EXCHANGE_JCD", + "EXCHANGE_PLACE_EXCHANGE", + "EXCHANGE_APPLOVIN", + "EXCHANGE_CONNATIX" ], "enumDescriptions": [ "Exchange is not specified or is unknown in this version.", @@ -15392,7 +15436,11 @@ "Media.net.", "Tapjoy.", "Vistar.", - "DAX." + "DAX.", + "JCD.", + "Place Exchange.", + "AppLovin.", + "Connatix." ], "type": "string" }, @@ -19195,6 +19243,74 @@ }, "type": "object" }, + "VideoAdSequenceSettings": { + "description": "Settings related to VideoAdSequence.", + "id": "VideoAdSequenceSettings", + "properties": { + "minimumDuration": { + "description": "The minimum time interval before the same user sees this sequence again.", + "enum": [ + "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_UNSPECIFIED", + "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_WEEK", + "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_MONTH" + ], + "enumDescriptions": [ + "Unspecified or unknown.", + "7 days.", + "30 days." + ], + "type": "string" + }, + "steps": { + "description": "The steps of which the sequence consists.", + "items": { + "$ref": "VideoAdSequenceStep" + }, + "type": "array" + } + }, + "type": "object" + }, + "VideoAdSequenceStep": { + "description": "The detail of a single step in a VideoAdSequence.", + "id": "VideoAdSequenceStep", + "properties": { + "adGroupId": { + "description": "The ID of the corresponding ad group of the step.", + "format": "int64", + "type": "string" + }, + "interactionType": { + "description": "The interaction on the previous step that will lead the viewer to this step. The first step does not have interaction_type.", + "enum": [ + "INTERACTION_TYPE_UNSPECIFIED", + "INTERACTION_TYPE_PAID_VIEW", + "INTERACTION_TYPE_SKIP", + "INTERACTION_TYPE_IMPRESSION", + "INTERACTION_TYPE_ENGAGED_IMPRESSION" + ], + "enumDescriptions": [ + "Unspecified or unknown", + "A paid view.", + "Skipped by the viewer.", + "A (viewed) ad impression.", + "An ad impression that was not immediately skipped by the viewer, but didn't reach the billable event either." + ], + "type": "string" + }, + "previousStepId": { + "description": "The ID of the previous step. The first step does not have previous step.", + "format": "int64", + "type": "string" + }, + "stepId": { + "description": "The ID of the step.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "VideoPlayerSizeAssignedTargetingOptionDetails": { "description": "Video player size targeting option details. This will be populated in the video_player_size_details field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`. Explicitly targeting all options is not supported. Remove all video player size targeting options to achieve this effect.", "id": "VideoPlayerSizeAssignedTargetingOptionDetails", @@ -19402,6 +19518,10 @@ "$ref": "YoutubeAndPartnersThirdPartyMeasurementSettings", "description": "The third-party measurement settings of the line item." }, + "videoAdSequenceSettings": { + "$ref": "VideoAdSequenceSettings", + "description": "The settings related to VideoAdSequence." + }, "viewFrequencyCap": { "$ref": "FrequencyCap", "description": "The view frequency cap settings of the line item. The max_views field in this settings object must be used if assigning a limited cap."
diff --git a/discovery/googleapis/dlp__v2.json b/discovery/googleapis/dlp__v2.json index a49a09e..e59f3ec 100644 --- a/discovery/googleapis/dlp__v2.json +++ b/discovery/googleapis/dlp__v2.json
@@ -3410,7 +3410,7 @@ } } }, - "revision": "20221204", + "revision": "20230109", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": {
diff --git a/discovery/googleapis/dns__v1.json b/discovery/googleapis/dns__v1.json index 49f0480..494215b 100644 --- a/discovery/googleapis/dns__v1.json +++ b/discovery/googleapis/dns__v1.json
@@ -1822,7 +1822,7 @@ } } }, - "revision": "20221202", + "revision": "20230106", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": {
diff --git a/discovery/googleapis/docs__v1.json b/discovery/googleapis/docs__v1.json index ed2cc33..1613ccb 100644 --- a/discovery/googleapis/docs__v1.json +++ b/discovery/googleapis/docs__v1.json
@@ -214,7 +214,7 @@ } } }, - "revision": "20221201", + "revision": "20230103", "rootUrl": "https://docs.googleapis.com/", "schemas": { "AutoText": {
diff --git a/discovery/googleapis/documentai__v1.json b/discovery/googleapis/documentai__v1.json index 7812c27..d906aa7 100644 --- a/discovery/googleapis/documentai__v1.json +++ b/discovery/googleapis/documentai__v1.json
@@ -326,6 +326,31 @@ }, "processorTypes": { "methods": { + "get": { + "description": "Gets a processor type detail.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processorTypes/{processorTypesId}", + "httpMethod": "GET", + "id": "documentai.projects.locations.processorTypes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The processor type resource name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/processorTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudDocumentaiV1ProcessorType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists the processor types that exist.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processorTypes", @@ -892,7 +917,7 @@ } } }, - "revision": "20221114", + "revision": "20230106", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { @@ -1162,11 +1187,11 @@ "type": "object" }, "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId": { - "description": "Identifies a document uniquely within the scope of a dataset in the GCS-based option.", + "description": "Identifies a document uniquely within the scope of a dataset in the Cloud Storage option.", "id": "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId", "properties": { "cwDocId": { - "description": "Optional. Id of the document (indexed) managed by Content Warehouse.", + "description": "Id of the document (indexed) managed by Content Warehouse.", "type": "string" }, "gcsUri": { @@ -1475,11 +1500,11 @@ "id": "GoogleCloudDocumentaiUiv1beta3RevisionReference", "properties": { "latestProcessorVersion": { - "description": "Read the revision generated by the processor version, returns error if it does not exist.", + "description": "Reads the revision generated by the processor version.", "type": "string" }, "revisionCase": { - "description": "Read the revision by the predefined case.", + "description": "Reads the revision by the predefined case.", "enum": [ "REVISION_CASE_UNSPECIFIED", "LATEST_HUMAN_REVIEW", @@ -1493,7 +1518,7 @@ "type": "string" }, "revisionId": { - "description": "Read the revision given by the id, returns error if it does not exist.", + "description": "Reads the revision given by the id.", "type": "string" } }, @@ -1953,7 +1978,7 @@ "type": "array" }, "textStyles": { - "description": "Placeholder. Styles for the Document.text.", + "description": "Styles for the Document.text.", "items": { "$ref": "GoogleCloudDocumentaiV1DocumentStyle" }, @@ -2056,7 +2081,7 @@ "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -2104,6 +2129,27 @@ "gcsUri": { "description": "The Cloud Storage uri (a directory) of the output.", "type": "string" + }, + "shardingConfig": { + "$ref": "GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig", + "description": "Specifies the sharding config for the output document." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig": { + "description": "The sharding config for the output document.", + "id": "GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig", + "properties": { + "pagesOverlap": { + "description": "The number of overlapping pages between consecutive shards.", + "format": "int32", + "type": "integer" + }, + "pagesPerShard": { + "description": "The number of pages per shard.", + "format": "int32", + "type": "integer" } }, "type": "object" @@ -2273,7 +2319,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.", + "description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", "format": "int64", "type": "string" } @@ -2393,7 +2439,7 @@ "type": "array" }, "valueType": { - "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the field_value is normal text) - \"unfilled_checkbox\" - \"filled_checkbox\"", + "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", "type": "string" } }, @@ -2908,7 +2954,7 @@ "description": "If specified, lists all the possible values for this entity. This should not be more than a handful of values. If the number of values is >10 or could change frequently use the `EntityType.value_ontology` field and specify a list of all possible values in a value ontology file." }, "name": { - "description": "Name of the type. It must be unique within the schema file and cannot be a 'Common Type'. Besides that we use the following naming conventions: - *use `snake_casing`* - name matching is case-insensitive - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward compatibility internal infrastructure and tooling can handle any ascii character) - The `/` is sometimes used to denote a property of a type. For example `line_item/amount`. This convention is deprecated, but will still be honored for backward compatibility.", + "description": "Name of the type. It must be unique within the schema file and cannot be a 'Common Type'. Besides that we use the following naming conventions: - *use `snake_casing`* - name matching is case-sensitive - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward compatibility internal infrastructure and tooling can handle any ascii character) - The `/` is sometimes used to denote a property of a type. For example `line_item/amount`. This convention is deprecated, but will still be honored for backward compatibility.", "type": "string" }, "properties": { @@ -3455,6 +3501,13 @@ "description": "The resource name of the processor type. Format: `projects/{project}/processorTypes/{processor_type}`", "type": "string" }, + "sampleDocumentUris": { + "description": "A set of Cloud Storage URIs of sample documents for this processor.", + "items": { + "type": "string" + }, + "type": "array" + }, "type": { "description": "The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc.", "type": "string" @@ -3712,62 +3765,6 @@ }, "type": "object" }, - "GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata": { - "description": "The long running operation metadata for AnalyzeHitlData.", - "id": "GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1alpha1CommonOperationMetadata", - "description": "The basic metadata of the long running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1alpha1CommonOperationMetadata": { - "description": "The common metadata for long running operations.", - "id": "GoogleCloudDocumentaiV1alpha1CommonOperationMetadata", - "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "resource": { - "description": "A related resource to this operation.", - "type": "string" - }, - "state": { - "description": "The state of the operation.", - "enum": [ - "STATE_UNSPECIFIED", - "RUNNING", - "CANCELLING", - "SUCCEEDED", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "Unspecified state.", - "Operation is still running.", - "Operation is being cancelled.", - "Operation succeeded.", - "Operation failed.", - "Operation is cancelled." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDocumentaiV1beta1Barcode": { "description": "Encodes the detailed information of a barcode.", "id": "GoogleCloudDocumentaiV1beta1Barcode", @@ -3883,7 +3880,7 @@ "type": "array" }, "textStyles": { - "description": "Placeholder. Styles for the Document.text.", + "description": "Styles for the Document.text.", "items": { "$ref": "GoogleCloudDocumentaiV1beta1DocumentStyle" }, @@ -3986,7 +3983,7 @@ "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -4176,7 +4173,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.", + "description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", "format": "int64", "type": "string" } @@ -4296,7 +4293,7 @@ "type": "array" }, "valueType": { - "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the field_value is normal text) - \"unfilled_checkbox\" - \"filled_checkbox\"", + "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", "type": "string" } }, @@ -5164,7 +5161,7 @@ "type": "array" }, "textStyles": { - "description": "Placeholder. Styles for the Document.text.", + "description": "Styles for the Document.text.", "items": { "$ref": "GoogleCloudDocumentaiV1beta2DocumentStyle" }, @@ -5267,7 +5264,7 @@ "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -5477,7 +5474,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.", + "description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", "format": "int64", "type": "string" } @@ -5597,7 +5594,7 @@ "type": "array" }, "valueType": { - "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the field_value is normal text) - \"unfilled_checkbox\" - \"filled_checkbox\"", + "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", "type": "string" } },
diff --git a/discovery/googleapis/domains__v1.json b/discovery/googleapis/domains__v1.json index 0fceaec..f0529ef 100644 --- a/discovery/googleapis/domains__v1.json +++ b/discovery/googleapis/domains__v1.json
@@ -841,7 +841,7 @@ } } }, - "revision": "20221110", + "revision": "20230105", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": {
diff --git a/discovery/googleapis/domainsrdap__v1.json b/discovery/googleapis/domainsrdap__v1.json index 5bbdd03..d4a7cd3 100644 --- a/discovery/googleapis/domainsrdap__v1.json +++ b/discovery/googleapis/domainsrdap__v1.json
@@ -287,7 +287,7 @@ } } }, - "revision": "20221206", + "revision": "20230112", "rootUrl": "https://domainsrdap.googleapis.com/", "schemas": { "HttpBody": {
diff --git a/discovery/googleapis/doubleclickbidmanager__v1.1.json b/discovery/googleapis/doubleclickbidmanager__v1.1.json index 9de63d9..75f1289 100644 --- a/discovery/googleapis/doubleclickbidmanager__v1.1.json +++ b/discovery/googleapis/doubleclickbidmanager__v1.1.json
@@ -278,7 +278,7 @@ } } }, - "revision": "20221123", + "revision": "20230104", "rootUrl": "https://doubleclickbidmanager.googleapis.com/", "schemas": { "ChannelGrouping": {
diff --git a/discovery/googleapis/doubleclickbidmanager__v2.json b/discovery/googleapis/doubleclickbidmanager__v2.json index 3ecfcea..6a819e0 100644 --- a/discovery/googleapis/doubleclickbidmanager__v2.json +++ b/discovery/googleapis/doubleclickbidmanager__v2.json
@@ -318,7 +318,7 @@ } } }, - "revision": "20221123", + "revision": "20230104", "rootUrl": "https://doubleclickbidmanager.googleapis.com/", "schemas": { "ChannelGrouping": {
diff --git a/discovery/googleapis/doubleclicksearch__v2.json b/discovery/googleapis/doubleclicksearch__v2.json index 6f9ddb4..c7aa122 100644 --- a/discovery/googleapis/doubleclicksearch__v2.json +++ b/discovery/googleapis/doubleclicksearch__v2.json
@@ -542,7 +542,7 @@ } } }, - "revision": "20221130", + "revision": "20230110", "rootUrl": "https://doubleclicksearch.googleapis.com/", "schemas": { "Availability": {
diff --git a/discovery/googleapis/drive__v2.json b/discovery/googleapis/drive__v2.json index 84cb4b0..25d7602 100644 --- a/discovery/googleapis/drive__v2.json +++ b/discovery/googleapis/drive__v2.json
@@ -38,7 +38,7 @@ "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/drive/", - "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/cXikBl0YBUnX3C-wGZogQP3_FMA\"", + "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/x5b-YdVpYecPlbkeJZj4PNXRNas\"", "icons": { "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" @@ -3668,7 +3668,7 @@ } } }, - "revision": "20221127", + "revision": "20230105", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": {
diff --git a/discovery/googleapis/drive__v3.json b/discovery/googleapis/drive__v3.json index ddb3aa0..b3ec078 100644 --- a/discovery/googleapis/drive__v3.json +++ b/discovery/googleapis/drive__v3.json
@@ -35,7 +35,7 @@ "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/drive/", - "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/ay5d43uaNtSGiYgv47Uv1V07Qw8\"", + "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/0Tx895GJQ6kFXnddzKHiKA5Vu5c\"", "icons": { "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" @@ -228,7 +228,7 @@ }, "spaces": { "default": "drive", - "description": "A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.", + "description": "A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'.", "location": "query", "type": "string" }, @@ -335,7 +335,7 @@ }, "spaces": { "default": "drive", - "description": "A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.", + "description": "A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'.", "location": "query", "type": "string" }, @@ -404,7 +404,7 @@ "comments": { "methods": { "create": { - "description": "Creates a new comment on a file.", + "description": "Creates a comment on a file.", "httpMethod": "POST", "id": "drive.comments.create", "parameterOrder": [ @@ -585,7 +585,7 @@ "drives": { "methods": { "create": { - "description": "Creates a new shared drive.", + "description": "Creates a shared drive.", "httpMethod": "POST", "id": "drive.drives.create", "parameterOrder": [ @@ -869,7 +869,7 @@ ] }, "create": { - "description": "Creates a new file.", + "description": "Creates a file.", "httpMethod": "POST", "id": "drive.files.create", "mediaUpload": { @@ -1216,7 +1216,7 @@ }, "spaces": { "default": "drive", - "description": "A comma-separated list of spaces to query within the corpus. Supported values are 'drive' and 'appDataFolder'.", + "description": "A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'.", "location": "query", "type": "string" }, @@ -1796,7 +1796,7 @@ "replies": { "methods": { "create": { - "description": "Creates a new reply to a comment.", + "description": "Creates a reply to a comment.", "httpMethod": "POST", "id": "drive.replies.create", "parameterOrder": [ @@ -2312,7 +2312,7 @@ } } }, - "revision": "20221127", + "revision": "20230105", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": {
diff --git a/discovery/googleapis/driveactivity__v2.json b/discovery/googleapis/driveactivity__v2.json index 98dfcaa..b909fc6 100644 --- a/discovery/googleapis/driveactivity__v2.json +++ b/discovery/googleapis/driveactivity__v2.json
@@ -130,7 +130,7 @@ } } }, - "revision": "20221205", + "revision": "20230115", "rootUrl": "https://driveactivity.googleapis.com/", "schemas": { "Action": { @@ -401,7 +401,7 @@ "type": "object" }, "ConsolidationStrategy": { - "description": "How the individual activities are consolidated. A set of activities may be consolidated into one combined activity if they are related in some way, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related.", + "description": "How the individual activities are consolidated. If a set of activities is related they can be consolidated into one combined activity, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related.", "id": "ConsolidationStrategy", "properties": { "legacy": { @@ -868,7 +868,7 @@ "type": "object" }, "Legacy": { - "description": "A strategy which consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action.", + "description": "A strategy that consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action.", "id": "Legacy", "properties": {}, "type": "object" @@ -901,7 +901,7 @@ "type": "object" }, "NoConsolidation": { - "description": "A strategy which does no consolidation of individual activities.", + "description": "A strategy that does no consolidation of individual activities.", "id": "NoConsolidation", "properties": {}, "type": "object" @@ -1035,15 +1035,15 @@ "id": "QueryDriveActivityRequest", "properties": { "ancestorName": { - "description": "Return activities for this Drive folder and all children and descendants. The format is `items/ITEM_ID`.", + "description": "Return activities for this Drive folder, plus all children and descendants. The format is `items/ITEM_ID`.", "type": "string" }, "consolidationStrategy": { "$ref": "ConsolidationStrategy", - "description": "Details on how to consolidate related actions that make up the activity. If not set, then related actions are not consolidated." + "description": "Details on how to consolidate related actions that make up the activity. If not set, then related actions aren't consolidated." }, "filter": { - "description": "The filtering for items returned from this query request. The format of the filter string is a sequence of expressions, joined by an optional \"AND\", where each expression is of the form \"field operator value\". Supported fields: - `time`: Uses numerical operators on date values either in terms of milliseconds since Jan 1, 1970 or in RFC 3339 format. Examples: - `time > 1452409200000 AND time <= 1492812924310` - `time >= \"2016-01-10T01:02:03-05:00\"` - `detail.action_detail_case`: Uses the \"has\" operator (:) and either a singular value or a list of allowed action types enclosed in parentheses. Examples: - `detail.action_detail_case: RENAME` - `detail.action_detail_case:(CREATE EDIT)` - `-detail.action_detail_case:MOVE` ", + "description": "The filtering for items returned from this query request. The format of the filter string is a sequence of expressions, joined by an optional \"AND\", where each expression is of the form \"field operator value\". Supported fields: - `time`: Uses numerical operators on date values either in terms of milliseconds since Jan 1, 1970 or in RFC 3339 format. Examples: - `time > 1452409200000 AND time <= 1492812924310` - `time >= \"2016-01-10T01:02:03-05:00\"` - `detail.action_detail_case`: Uses the \"has\" operator (:) and either a singular value or a list of allowed action types enclosed in parentheses, separated by a space. To exclude a result from the response, prepend a hyphen (`-`) to the beginning of the filter string. Examples: - `detail.action_detail_case:RENAME` - `detail.action_detail_case:(CREATE RESTORE)` - `-detail.action_detail_case:MOVE` ", "type": "string" }, "itemName": { @@ -1051,12 +1051,12 @@ "type": "string" }, "pageSize": { - "description": "The miminum number of activities desired in the response; the server will attempt to return at least this quanitity. The server may also return fewer activities if it has a partial response ready before the request times out. If not set, a default value is used.", + "description": "The minimum number of activities desired in the response; the server attempts to return at least this quantity. The server may also return fewer activities if it has a partial response ready before the request times out. If not set, a default value is used.", "format": "int32", "type": "integer" }, "pageToken": { - "description": "The token identifying which page of results to return. Set this to the next_page_token value returned from a previous query to obtain the following page of results. If not set, the first page of results will be returned.", + "description": "The token identifies which page of results to return. Set this to the next_page_token value returned from a previous query to obtain the following page of results. If not set, the first page of results is returned.", "type": "string" } }, @@ -1262,7 +1262,7 @@ "type": "object" }, "Target": { - "description": "Information about the target of activity.", + "description": "Information about the target of activity. For more information on how activity history is shared with users, see [Activity history visibility](https://developers.google.com/drive/activity/v2#activityhistory).", "id": "Target", "properties": { "drive": {
diff --git a/discovery/googleapis/drivelabels__v2.json b/discovery/googleapis/drivelabels__v2.json index 90cae2b..02f1dd7 100644 --- a/discovery/googleapis/drivelabels__v2.json +++ b/discovery/googleapis/drivelabels__v2.json
@@ -215,7 +215,7 @@ } } }, - "revision": "20221130", + "revision": "20230111", "rootUrl": "https://drivelabels.googleapis.com/", "schemas": { "GoogleAppsDriveLabelsV2BadgeColors": {
diff --git a/discovery/googleapis/essentialcontacts__v1.json b/discovery/googleapis/essentialcontacts__v1.json index 55b1ca3..92626a5 100644 --- a/discovery/googleapis/essentialcontacts__v1.json +++ b/discovery/googleapis/essentialcontacts__v1.json
@@ -848,7 +848,7 @@ } } }, - "revision": "20221205", + "revision": "20230116", "rootUrl": "https://essentialcontacts.googleapis.com/", "schemas": { "GoogleCloudEssentialcontactsV1ComputeContactsResponse": {
diff --git a/discovery/googleapis/eventarc__v1.json b/discovery/googleapis/eventarc__v1.json index 214599f..9614bd3 100644 --- a/discovery/googleapis/eventarc__v1.json +++ b/discovery/googleapis/eventarc__v1.json
@@ -1195,7 +1195,7 @@ } } }, - "revision": "20221117", + "revision": "20230106", "rootUrl": "https://eventarc.googleapis.com/", "schemas": { "AuditConfig": { @@ -1391,7 +1391,7 @@ "id": "Destination", "properties": { "cloudFunction": { - "description": "The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: `projects/{project}/locations/{location}/functions/{function}`", + "description": "The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.", "type": "string" }, "cloudRun": {
diff --git a/discovery/googleapis/fcm__v1.json b/discovery/googleapis/fcm__v1.json index 8f088d0..3845320 100644 --- a/discovery/googleapis/fcm__v1.json +++ b/discovery/googleapis/fcm__v1.json
@@ -144,7 +144,7 @@ } } }, - "revision": "20221205", + "revision": "20230106", "rootUrl": "https://fcm.googleapis.com/", "schemas": { "AndroidConfig": {
diff --git a/discovery/googleapis/file__v1.json b/discovery/googleapis/file__v1.json index 0a8e585..2af9c95 100644 --- a/discovery/googleapis/file__v1.json +++ b/discovery/googleapis/file__v1.json
@@ -844,7 +844,7 @@ } } }, - "revision": "20221111", + "revision": "20230103", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { @@ -1585,7 +1585,7 @@ "type": "object" }, "MaintenancePolicy": { - "description": "Defines policies to service maintenance events.", + "description": "LINT.IfChange Defines policies to service maintenance events.", "id": "MaintenancePolicy", "properties": { "createTime": {
diff --git a/discovery/googleapis/firebaseappcheck__v1.json b/discovery/googleapis/firebaseappcheck__v1.json index add5e56..ab0bb0f 100644 --- a/discovery/googleapis/firebaseappcheck__v1.json +++ b/discovery/googleapis/firebaseappcheck__v1.json
@@ -1336,7 +1336,7 @@ } } }, - "revision": "20221205", + "revision": "20230116", "rootUrl": "https://firebaseappcheck.googleapis.com/", "schemas": { "GoogleFirebaseAppcheckV1AppAttestConfig": {
diff --git a/discovery/googleapis/firebasedynamiclinks__v1.json b/discovery/googleapis/firebasedynamiclinks__v1.json index 9cf70bd..2470bba 100644 --- a/discovery/googleapis/firebasedynamiclinks__v1.json +++ b/discovery/googleapis/firebasedynamiclinks__v1.json
@@ -223,7 +223,7 @@ } } }, - "revision": "20221206", + "revision": "20230116", "rootUrl": "https://firebasedynamiclinks.googleapis.com/", "schemas": { "AnalyticsInfo": {
diff --git a/discovery/googleapis/firebasehosting__v1.json b/discovery/googleapis/firebasehosting__v1.json index 8c83836..18de8ca 100644 --- a/discovery/googleapis/firebasehosting__v1.json +++ b/discovery/googleapis/firebasehosting__v1.json
@@ -184,7 +184,7 @@ } } }, - "revision": "20221204", + "revision": "20230111", "rootUrl": "https://firebasehosting.googleapis.com/", "schemas": { "CancelOperationRequest": {
diff --git a/discovery/googleapis/firebaseml__v1.json b/discovery/googleapis/firebaseml__v1.json index 4018f95..1d90b25 100644 --- a/discovery/googleapis/firebaseml__v1.json +++ b/discovery/googleapis/firebaseml__v1.json
@@ -202,7 +202,7 @@ } } }, - "revision": "20221205", + "revision": "20230116", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "CancelOperationRequest": {
diff --git a/discovery/googleapis/firebaseremoteconfig__v1.json b/discovery/googleapis/firebaseremoteconfig__v1.json index ae88b47..31170fc 100644 --- a/discovery/googleapis/firebaseremoteconfig__v1.json +++ b/discovery/googleapis/firebaseremoteconfig__v1.json
@@ -337,7 +337,7 @@ } } }, - "revision": "20221205", + "revision": "20230111", "rootUrl": "https://firebaseremoteconfig.googleapis.com/", "schemas": { "ExperimentDescription": {
diff --git a/discovery/googleapis/firebaserules__v1.json b/discovery/googleapis/firebaserules__v1.json index 6a3a5b5..5eeb7ce 100644 --- a/discovery/googleapis/firebaserules__v1.json +++ b/discovery/googleapis/firebaserules__v1.json
@@ -475,7 +475,7 @@ } } }, - "revision": "20221025", + "revision": "20221228", "rootUrl": "https://firebaserules.googleapis.com/", "schemas": { "Arg": {
diff --git a/discovery/googleapis/firestore__v1.json b/discovery/googleapis/firestore__v1.json index 851a431..a3214e0 100644 --- a/discovery/googleapis/firestore__v1.json +++ b/discovery/googleapis/firestore__v1.json
@@ -144,6 +144,47 @@ "https://www.googleapis.com/auth/datastore" ] }, + "delete": { + "description": "Deletes a database.", + "flatPath": "v1/projects/{projectsId}/databases/{databasesId}", + "httpMethod": "DELETE", + "id": "firestore.projects.databases.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "If set to true and the Database is not found, the request will succeed but no action will be taken.", + "location": "query", + "type": "boolean" + }, + "etag": { + "description": "The current etag of the Database. If an etag is provided and does not match the current etag of the database, deletion will be blocked and a FAILED_PRECONDITION error will be returned.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. A name of the form `projects/{project_id}/databases/{database_id}`", + "location": "path", + "pattern": "^projects/[^/]+/databases/[^/]+$", + "required": true, + "type": "string" + }, + "validateOnly": { + "description": "If set, validate the request and preview the response, but do not actually delete the database.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/datastore" + ] + }, "exportDocuments": { "description": "Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage. For more details on export behavior and output format, refer to: https://cloud.google.com/firestore/docs/manage-data/export-import", "flatPath": "v1/projects/{projectsId}/databases/{databasesId}:exportDocuments", @@ -786,7 +827,7 @@ ], "parameters": { "collectionId": { - "description": "Required. The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`.", + "description": "Optional. The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`. This is optional, and when not provided, Firestore will list documents from all collections under the provided `parent`.", "location": "path", "required": true, "type": "string" @@ -798,18 +839,18 @@ "type": "string" }, "orderBy": { - "description": "The order to sort results by. For example: `priority desc, name`.", + "description": "Optional. The optional ordering of the documents to return. For example: `priority desc, __name__ desc`. This mirrors the `ORDER BY` used in Firestore queries but in a string representation. When absent, documents are ordered based on `__name__ ASC`.", "location": "query", "type": "string" }, "pageSize": { - "description": "The maximum number of documents to return.", + "description": "Optional. The maximum number of documents to return in a single response. Firestore may return fewer than this value.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "The `next_page_token` value returned from a previous List request, if any.", + "description": "Optional. A page token, received from a previous `ListDocuments` response. Provide this to retrieve the subsequent page. When paginating, all other parameters (with the exception of `page_size`) must match the values set in the request that generated the page token.", "location": "query", "type": "string" }, @@ -821,18 +862,18 @@ "type": "string" }, "readTime": { - "description": "Reads documents as they were at the given time. This may not be older than 270 seconds.", + "description": "Perform the read at the provided time. This may not be older than 270 seconds.", "format": "google-datetime", "location": "query", "type": "string" }, "showMissing": { - "description": "If the list should show missing documents. A missing document is a document that does not exist but has sub-documents. These documents will be returned with a key but will not have fields, Document.create_time, or Document.update_time set. Requests with `show_missing` may not specify `where` or `order_by`.", + "description": "If the list should show missing documents. A document is missing if it does not exist, but there are sub-documents nested underneath it. When true, such missing documents will be returned with a key but will not have fields, `create_time`, or `update_time` set. Requests with `show_missing` may not specify `where` or `order_by`.", "location": "query", "type": "boolean" }, "transaction": { - "description": "Reads documents in a transaction.", + "description": "Perform the read as part of an already active transaction.", "format": "byte", "location": "query", "type": "string" @@ -887,7 +928,7 @@ ], "parameters": { "collectionId": { - "description": "Required. The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`.", + "description": "Optional. The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`. This is optional, and when not provided, Firestore will list documents from all collections under the provided `parent`.", "location": "path", "required": true, "type": "string" @@ -899,18 +940,18 @@ "type": "string" }, "orderBy": { - "description": "The order to sort results by. For example: `priority desc, name`.", + "description": "Optional. The optional ordering of the documents to return. For example: `priority desc, __name__ desc`. This mirrors the `ORDER BY` used in Firestore queries but in a string representation. When absent, documents are ordered based on `__name__ ASC`.", "location": "query", "type": "string" }, "pageSize": { - "description": "The maximum number of documents to return.", + "description": "Optional. The maximum number of documents to return in a single response. Firestore may return fewer than this value.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "The `next_page_token` value returned from a previous List request, if any.", + "description": "Optional. A page token, received from a previous `ListDocuments` response. Provide this to retrieve the subsequent page. When paginating, all other parameters (with the exception of `page_size`) must match the values set in the request that generated the page token.", "location": "query", "type": "string" }, @@ -922,18 +963,18 @@ "type": "string" }, "readTime": { - "description": "Reads documents as they were at the given time. This may not be older than 270 seconds.", + "description": "Perform the read at the provided time. This may not be older than 270 seconds.", "format": "google-datetime", "location": "query", "type": "string" }, "showMissing": { - "description": "If the list should show missing documents. A missing document is a document that does not exist but has sub-documents. These documents will be returned with a key but will not have fields, Document.create_time, or Document.update_time set. Requests with `show_missing` may not specify `where` or `order_by`.", + "description": "If the list should show missing documents. A document is missing if it does not exist, but there are sub-documents nested underneath it. When true, such missing documents will be returned with a key but will not have fields, `create_time`, or `update_time` set. Requests with `show_missing` may not specify `where` or `order_by`.", "location": "query", "type": "boolean" }, "transaction": { - "description": "Reads documents in a transaction.", + "description": "Perform the read as part of an already active transaction.", "format": "byte", "location": "query", "type": "string" @@ -1351,7 +1392,7 @@ } } }, - "revision": "20221130", + "revision": "20230110", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -2704,7 +2745,7 @@ "type": "array" }, "nextPageToken": { - "description": "The next page token.", + "description": "A token to retrieve the next page of documents. If this field is omitted, there are no subsequent pages.", "type": "string" } },
diff --git a/discovery/googleapis/fitness__v1.json b/discovery/googleapis/fitness__v1.json index 7216af4..8c89f2d 100644 --- a/discovery/googleapis/fitness__v1.json +++ b/discovery/googleapis/fitness__v1.json
@@ -830,7 +830,7 @@ } } }, - "revision": "20221129", + "revision": "20230113", "rootUrl": "https://fitness.googleapis.com/", "schemas": { "AggregateBucket": {
diff --git a/discovery/googleapis/forms__v1.json b/discovery/googleapis/forms__v1.json index e869be0..f3958ed 100644 --- a/discovery/googleapis/forms__v1.json +++ b/discovery/googleapis/forms__v1.json
@@ -421,7 +421,7 @@ } } }, - "revision": "20221201", + "revision": "20230110", "rootUrl": "https://forms.googleapis.com/", "schemas": { "Answer": {
diff --git a/discovery/googleapis/gamesConfiguration__v1configuration.json b/discovery/googleapis/gamesConfiguration__v1configuration.json index 65936d6..53d77a0 100644 --- a/discovery/googleapis/gamesConfiguration__v1configuration.json +++ b/discovery/googleapis/gamesConfiguration__v1configuration.json
@@ -380,7 +380,7 @@ } } }, - "revision": "20221202", + "revision": "20230112", "rootUrl": "https://gamesconfiguration.googleapis.com/", "schemas": { "AchievementConfiguration": {
diff --git a/discovery/googleapis/gamesManagement__v1management.json b/discovery/googleapis/gamesManagement__v1management.json index bae6d42..55420a9 100644 --- a/discovery/googleapis/gamesManagement__v1management.json +++ b/discovery/googleapis/gamesManagement__v1management.json
@@ -470,7 +470,7 @@ } } }, - "revision": "20221202", + "revision": "20230112", "rootUrl": "https://gamesmanagement.googleapis.com/", "schemas": { "AchievementResetAllResponse": {
diff --git a/discovery/googleapis/games__v1.json b/discovery/googleapis/games__v1.json index 61b6f7d..f325521 100644 --- a/discovery/googleapis/games__v1.json +++ b/discovery/googleapis/games__v1.json
@@ -1243,7 +1243,7 @@ } } }, - "revision": "20221202", + "revision": "20230112", "rootUrl": "https://games.googleapis.com/", "schemas": { "AchievementDefinition": {
diff --git a/discovery/googleapis/gameservices__v1.json b/discovery/googleapis/gameservices__v1.json index 6091156..ca39e6e 100644 --- a/discovery/googleapis/gameservices__v1.json +++ b/discovery/googleapis/gameservices__v1.json
@@ -399,7 +399,7 @@ } } }, - "revision": "20221027", + "revision": "20230105", "rootUrl": "https://gameservices.googleapis.com/", "schemas": { "AuditConfig": {
diff --git a/discovery/googleapis/gkebackup__v1.json b/discovery/googleapis/gkebackup__v1.json index 1106541..a2c479e 100644 --- a/discovery/googleapis/gkebackup__v1.json +++ b/discovery/googleapis/gkebackup__v1.json
@@ -1686,7 +1686,7 @@ } } }, - "revision": "20221110", + "revision": "20230105", "rootUrl": "https://gkebackup.googleapis.com/", "schemas": { "AuditConfig": {
diff --git a/discovery/googleapis/gkehub__v1.json b/discovery/googleapis/gkehub__v1.json index 40d5c71..d5adeda 100644 --- a/discovery/googleapis/gkehub__v1.json +++ b/discovery/googleapis/gkehub__v1.json
@@ -903,7 +903,7 @@ } } }, - "revision": "20221108", + "revision": "20221207", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -1080,7 +1080,7 @@ "id": "ConfigManagementConfigSync", "properties": { "allowVerticalScale": { - "description": "Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling.", + "description": "Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated.", "type": "boolean" }, "enabled": { @@ -2559,6 +2559,10 @@ "$ref": "ConfigManagementMembershipSpec", "description": "Config Management-specific spec." }, + "fleetInherited": { + "description": "True if value of `feature_spec` was inherited from a fleet-level default.", + "type": "boolean" + }, "fleetobservability": { "$ref": "FleetObservabilityMembershipSpec", "description": "Fleet observability membership spec"
diff --git a/discovery/googleapis/gmail__v1.json b/discovery/googleapis/gmail__v1.json index 243a79c..5815016 100644 --- a/discovery/googleapis/gmail__v1.json +++ b/discovery/googleapis/gmail__v1.json
@@ -1632,6 +1632,401 @@ } }, "resources": { + "cse": { + "resources": { + "identities": { + "methods": { + "create": { + "description": "Creates and configures a client-side encryption identity that's authorized to send mail from the user account. Google publishes the S/MIME certificate to a shared domain-wide directory so that people within a Google Workspace organization can encrypt and send mail to the identity. [Beta](https://workspace.google.com/terms/service-terms/index.html).", + "flatPath": "gmail/v1/users/{userId}/settings/cse/identities", + "httpMethod": "POST", + "id": "gmail.users.settings.cse.identities.create", + "parameterOrder": [ + "userId" + ], + "parameters": { + "userId": { + "default": "me", + "description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "gmail/v1/users/{userId}/settings/cse/identities", + "request": { + "$ref": "CseIdentity" + }, + "response": { + "$ref": "CseIdentity" + }, + "scopes": [ + "https://www.googleapis.com/auth/gmail.settings.basic", + "https://www.googleapis.com/auth/gmail.settings.sharing" + ] + }, + "delete": { + "description": "Deletes a client-side encryption identity. The authenticated user can no longer use the identity to send encrypted messages. You cannot restore the identity after you delete it. Instead, use the CreateCseIdentity method to create another identity with the same configuration. [Beta](https://workspace.google.com/terms/service-terms/index.html).", + "flatPath": "gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}", + "httpMethod": "DELETE", + "id": "gmail.users.settings.cse.identities.delete", + "parameterOrder": [ + "userId", + "cseEmailAddress" + ], + "parameters": { + "cseEmailAddress": { + "description": "The primary email address associated with the client-side encryption identity configuration that's removed.", + "location": "path", + "required": true, + "type": "string" + }, + "userId": { + "default": "me", + "description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}", + "scopes": [ + "https://www.googleapis.com/auth/gmail.settings.basic", + "https://www.googleapis.com/auth/gmail.settings.sharing" + ] + }, + "get": { + "description": "Retrieves a client-side encryption identity configuration. [Beta](https://workspace.google.com/terms/service-terms/index.html).", + "flatPath": "gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}", + "httpMethod": "GET", + "id": "gmail.users.settings.cse.identities.get", + "parameterOrder": [ + "userId", + "cseEmailAddress" + ], + "parameters": { + "cseEmailAddress": { + "description": "The primary email address associated with the client-side encryption identity configuration that's retrieved.", + "location": "path", + "required": true, + "type": "string" + }, + "userId": { + "default": "me", + "description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}", + "response": { + "$ref": "CseIdentity" + }, + "scopes": [ + "https://mail.google.com/", + "https://www.googleapis.com/auth/gmail.modify", + "https://www.googleapis.com/auth/gmail.readonly", + "https://www.googleapis.com/auth/gmail.settings.basic", + "https://www.googleapis.com/auth/gmail.settings.sharing" + ] + }, + "list": { + "description": "Lists the client-side encrypted identities for an authenticated user. [Beta](https://workspace.google.com/terms/service-terms/index.html).", + "flatPath": "gmail/v1/users/{userId}/settings/cse/identities", + "httpMethod": "GET", + "id": "gmail.users.settings.cse.identities.list", + "parameterOrder": [ + "userId" + ], + "parameters": { + "pageSize": { + "default": "20", + "description": "The number of identities to return. If not provided, the page size will default to 20 entries.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Pagination token indicating which page of identities to return. If the token is not supplied, then the API will return the first page of results.", + "location": "query", + "type": "string" + }, + "userId": { + "default": "me", + "description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "gmail/v1/users/{userId}/settings/cse/identities", + "response": { + "$ref": "ListCseIdentitiesResponse" + }, + "scopes": [ + "https://mail.google.com/", + "https://www.googleapis.com/auth/gmail.modify", + "https://www.googleapis.com/auth/gmail.readonly", + "https://www.googleapis.com/auth/gmail.settings.basic", + "https://www.googleapis.com/auth/gmail.settings.sharing" + ] + }, + "patch": { + "description": "Associates a different key pair with an existing client-side encryption identity. The updated key pair must validate against Google's [S/MIME certificate profiles](https://support.google.com/a/answer/7300887). [Beta](https://workspace.google.com/terms/service-terms/index.html).", + "flatPath": "gmail/v1/users/{userId}/settings/cse/identities/{emailAddress}", + "httpMethod": "PATCH", + "id": "gmail.users.settings.cse.identities.patch", + "parameterOrder": [ + "userId", + "emailAddress" + ], + "parameters": { + "emailAddress": { + "description": "The email address of the client-side encryption identity to update.", + "location": "path", + "required": true, + "type": "string" + }, + "userId": { + "default": "me", + "description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "gmail/v1/users/{userId}/settings/cse/identities/{emailAddress}", + "request": { + "$ref": "CseIdentity" + }, + "response": { + "$ref": "CseIdentity" + }, + "scopes": [ + "https://www.googleapis.com/auth/gmail.settings.basic", + "https://www.googleapis.com/auth/gmail.settings.sharing" + ] + } + } + }, + "keypairs": { + "methods": { + "create": { + "description": "Creates and uploads a client-side encryption S/MIME public key certificate chain and private key metadata for the authenticated user. [Beta](https://workspace.google.com/terms/service-terms/index.html).", + "flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs", + "httpMethod": "POST", + "id": "gmail.users.settings.cse.keypairs.create", + "parameterOrder": [ + "userId" + ], + "parameters": { + "userId": { + "default": "me", + "description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "gmail/v1/users/{userId}/settings/cse/keypairs", + "request": { + "$ref": "CseKeyPair" + }, + "response": { + "$ref": "CseKeyPair" + }, + "scopes": [ + "https://www.googleapis.com/auth/gmail.settings.basic", + "https://www.googleapis.com/auth/gmail.settings.sharing" + ] + }, + "disable": { + "description": "Turns off a client-side encryption key pair. The authenticated user can no longer use the key pair to decrypt incoming CSE message texts or sign outgoing CSE mail. To regain access, use the EnableCseKeyPair to turn on the key pair. After 30 days, you can permanently delete the key pair by using the ObliterateCseKeyPair method. [Beta](https://workspace.google.com/terms/service-terms/index.html).", + "flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable", + "httpMethod": "POST", + "id": "gmail.users.settings.cse.keypairs.disable", + "parameterOrder": [ + "userId", + "keyPairId" + ], + "parameters": { + "keyPairId": { + "description": "The identifier of the key pair to turn off.", + "location": "path", + "required": true, + "type": "string" + }, + "userId": { + "default": "me", + "description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable", + "request": { + "$ref": "DisableCseKeyPairRequest" + }, + "response": { + "$ref": "CseKeyPair" + }, + "scopes": [ + "https://www.googleapis.com/auth/gmail.settings.basic", + "https://www.googleapis.com/auth/gmail.settings.sharing" + ] + }, + "enable": { + "description": "Turns on a client-side encryption key pair that was turned off. The key pair becomes active again for any associated client-side encryption identities. [Beta](https://workspace.google.com/terms/service-terms/index.html).", + "flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:enable", + "httpMethod": "POST", + "id": "gmail.users.settings.cse.keypairs.enable", + "parameterOrder": [ + "userId", + "keyPairId" + ], + "parameters": { + "keyPairId": { + "description": "The identifier of the key pair to turn on.", + "location": "path", + "required": true, + "type": "string" + }, + "userId": { + "default": "me", + "description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:enable", + "request": { + "$ref": "EnableCseKeyPairRequest" + }, + "response": { + "$ref": "CseKeyPair" + }, + "scopes": [ + "https://www.googleapis.com/auth/gmail.settings.basic", + "https://www.googleapis.com/auth/gmail.settings.sharing" + ] + }, + "get": { + "description": "Retrieves an existing client-side encryption key pair. [Beta](https://workspace.google.com/terms/service-terms/index.html).", + "flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}", + "httpMethod": "GET", + "id": "gmail.users.settings.cse.keypairs.get", + "parameterOrder": [ + "userId", + "keyPairId" + ], + "parameters": { + "keyPairId": { + "description": "The identifier of the key pair to retrieve.", + "location": "path", + "required": true, + "type": "string" + }, + "userId": { + "default": "me", + "description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}", + "response": { + "$ref": "CseKeyPair" + }, + "scopes": [ + "https://mail.google.com/", + "https://www.googleapis.com/auth/gmail.modify", + "https://www.googleapis.com/auth/gmail.readonly", + "https://www.googleapis.com/auth/gmail.settings.basic", + "https://www.googleapis.com/auth/gmail.settings.sharing" + ] + }, + "list": { + "description": "Lists client-side encryption key pairs for an authenticated user. [Beta](https://workspace.google.com/terms/service-terms/index.html).", + "flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs", + "httpMethod": "GET", + "id": "gmail.users.settings.cse.keypairs.list", + "parameterOrder": [ + "userId" + ], + "parameters": { + "pageSize": { + "default": "20", + "description": "The number of key pairs to return. If not provided, the page size will default to 20 entries.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Pagination token indicating which page of key pairs to return. If the token is not supplied, then the API will return the first page of results.", + "location": "query", + "type": "string" + }, + "userId": { + "default": "me", + "description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "gmail/v1/users/{userId}/settings/cse/keypairs", + "response": { + "$ref": "ListCseKeyPairsResponse" + }, + "scopes": [ + "https://mail.google.com/", + "https://www.googleapis.com/auth/gmail.modify", + "https://www.googleapis.com/auth/gmail.readonly", + "https://www.googleapis.com/auth/gmail.settings.basic", + "https://www.googleapis.com/auth/gmail.settings.sharing" + ] + }, + "obliterate": { + "description": "Deletes a client-side encryption key pair permanently and immediately. You can only permanently delete key pairs that have been turned off for more than 30 days. To turn off a key pair, use the DisableCseKeyPair method. Gmail can't restore or decrypt any messages that were encrypted by an obliterated key. Authenticated users and Google Workspace administrators lose access to reading the encrypted messages. [Beta](https://workspace.google.com/terms/service-terms/index.html).", + "flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:obliterate", + "httpMethod": "POST", + "id": "gmail.users.settings.cse.keypairs.obliterate", + "parameterOrder": [ + "userId", + "keyPairId" + ], + "parameters": { + "keyPairId": { + "description": "The identifier of the key pair to obliterate.", + "location": "path", + "required": true, + "type": "string" + }, + "userId": { + "default": "me", + "description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:obliterate", + "request": { + "$ref": "ObliterateCseKeyPairRequest" + }, + "scopes": [ + "https://www.googleapis.com/auth/gmail.settings.basic", + "https://www.googleapis.com/auth/gmail.settings.sharing" + ] + } + } + } + } + }, "delegates": { "methods": { "create": { @@ -2681,7 +3076,7 @@ } } }, - "revision": "20221128", + "revision": "20230102", "rootUrl": "https://gmail.googleapis.com/", "schemas": { "AutoForwarding": { @@ -2757,6 +3152,94 @@ }, "type": "object" }, + "CseIdentity": { + "description": "[Beta](https://workspace.google.com/terms/service-terms/index.html). The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages.", + "id": "CseIdentity", + "properties": { + "emailAddress": { + "description": "The email address for the sending identity. The email address must be the primary email address of the authenticated user.", + "type": "string" + }, + "primaryKeyPairId": { + "description": "If a key pair is associated, the identifier of the key pair, CseKeyPair.", + "type": "string" + } + }, + "type": "object" + }, + "CseKeyPair": { + "description": "[Beta](https://workspace.google.com/terms/service-terms/index.html). A client-side encryption S/MIME key pair, which is comprised of a public key, its certificate chain, and metadata for its paired private key. Gmail uses the key pair to complete the following tasks: - Sign outgoing client-side encrypted messages. - Save and reopen drafts of client-side encrypted messages. - Save and reopen sent messages. - Decrypt incoming or archived S/MIME messages.", + "id": "CseKeyPair", + "properties": { + "disableTime": { + "description": "Output only. If a key pair is set to `DISABLED`, the time that the key pair's state changed from `ENABLED` to `DISABLED`. This field is present only when the key pair is in state `DISABLED`.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "enablementState": { + "description": "Output only. The current state of the key pair.", + "enum": [ + "stateUnspecified", + "enabled", + "disabled" + ], + "enumDescriptions": [ + "The current state of the key pair is not set. The key pair is neither turned on nor turned off.", + "The key pair is turned on. For any email messages that this key pair encrypts, Gmail decrypts the messages and signs any outgoing mail with the private key. To turn on a key pair, use the EnableCseKeyPair method.", + "The key pair is turned off. Authenticated users cannot decrypt email messages nor sign outgoing messages. If a key pair is turned off for more than 30 days, you can permanently delete it. To turn off a key pair, use the DisableCseKeyPair method." + ], + "readOnly": true, + "type": "string" + }, + "keyPairId": { + "description": "Output only. The immutable ID for the client-side encryption S/MIME key pair.", + "readOnly": true, + "type": "string" + }, + "pem": { + "description": "Output only. The public key and its certificate chain, in [PEM](https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail) format.", + "readOnly": true, + "type": "string" + }, + "pkcs7": { + "description": "Input only. The public key and its certificate chain. The chain must be in [PKCS#7](https://en.wikipedia.org/wiki/PKCS_7) format and use PEM encoding and ASCII armor.", + "type": "string" + }, + "privateKeyMetadata": { + "description": "Metadata for instances of this key pair's private key.", + "items": { + "$ref": "CsePrivateKeyMetadata" + }, + "type": "array" + }, + "subjectEmailAddresses": { + "description": "Output only. The email address identities that are specified on the leaf certificate.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "CsePrivateKeyMetadata": { + "description": "Metadata for a private key instance.", + "id": "CsePrivateKeyMetadata", + "properties": { + "kaclsKeyMetadata": { + "$ref": "KaclsKeyMetadata", + "description": "Metadata for a private key instance managed by an external key access control list service." + }, + "privateKeyMetadataId": { + "description": "Output only. The immutable ID for the private key metadata instance.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Delegate": { "description": "Settings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account. See \"Set up mail delegation\" for more information about delegates.", "id": "Delegate", @@ -2786,6 +3269,12 @@ }, "type": "object" }, + "DisableCseKeyPairRequest": { + "description": "Requests to turn off a client-side encryption key pair.", + "id": "DisableCseKeyPairRequest", + "properties": {}, + "type": "object" + }, "Draft": { "description": "A draft email in the user's mailbox.", "id": "Draft", @@ -2806,6 +3295,12 @@ }, "type": "object" }, + "EnableCseKeyPairRequest": { + "description": "Requests to turn on a client-side encryption key pair.", + "id": "EnableCseKeyPairRequest", + "properties": {}, + "type": "object" + }, "Filter": { "description": "Resource definition for Gmail filters. Filters apply to specific messages instead of an entire email thread.", "id": "Filter", @@ -3062,6 +3557,21 @@ }, "type": "object" }, + "KaclsKeyMetadata": { + "description": "Metadata for private keys managed by an external key access control list service. For details about managing key access, see [Google Workspace CSE API Reference](https://developers.google.com/workspace/cse/reference).", + "id": "KaclsKeyMetadata", + "properties": { + "kaclsData": { + "description": "Opaque data generated and used by the key access control list service. Maximum size: 8 KiB.", + "type": "string" + }, + "kaclsUri": { + "description": "The URI of the key access control list service that manages the private key.", + "type": "string" + } + }, + "type": "object" + }, "Label": { "description": "Labels are used to categorize messages and threads within the user's mailbox. The maximum number of labels supported for a user's mailbox is 10,000.", "id": "Label", @@ -3187,6 +3697,40 @@ }, "type": "object" }, + "ListCseIdentitiesResponse": { + "id": "ListCseIdentitiesResponse", + "properties": { + "cseIdentities": { + "description": "One page of the list of CSE identities configured for the user.", + "items": { + "$ref": "CseIdentity" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Pagination token to be passed to a subsequent ListCseIdentities call in order to retrieve the next page of identities. If this value is not returned or is the empty string, then no further pages remain.", + "type": "string" + } + }, + "type": "object" + }, + "ListCseKeyPairsResponse": { + "id": "ListCseKeyPairsResponse", + "properties": { + "cseKeyPairs": { + "description": "One page of the list of CSE key pairs installed for the user.", + "items": { + "$ref": "CseKeyPair" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Pagination token to be passed to a subsequent ListCseKeyPairs call in order to retrieve the next page of key pairs. If this value is not returned, then no further pages remain.", + "type": "string" + } + }, + "type": "object" + }, "ListDelegatesResponse": { "description": "Response for the ListDelegates method.", "id": "ListDelegatesResponse", @@ -3527,6 +4071,12 @@ }, "type": "object" }, + "ObliterateCseKeyPairRequest": { + "description": "Request to obliterate a CSE key pair.", + "id": "ObliterateCseKeyPairRequest", + "properties": {}, + "type": "object" + }, "PopSettings": { "description": "POP settings for an account.", "id": "PopSettings",
diff --git a/discovery/googleapis/gmailpostmastertools__v1.json b/discovery/googleapis/gmailpostmastertools__v1.json index 0cd1ee5..294c2e1 100644 --- a/discovery/googleapis/gmailpostmastertools__v1.json +++ b/discovery/googleapis/gmailpostmastertools__v1.json
@@ -263,7 +263,7 @@ } } }, - "revision": "20221205", + "revision": "20230115", "rootUrl": "https://gmailpostmastertools.googleapis.com/", "schemas": { "DeliveryError": {
diff --git a/discovery/googleapis/groupsmigration__v1.json b/discovery/googleapis/groupsmigration__v1.json index 960e0b5..389eaba 100644 --- a/discovery/googleapis/groupsmigration__v1.json +++ b/discovery/googleapis/groupsmigration__v1.json
@@ -145,7 +145,7 @@ } } }, - "revision": "20221201", + "revision": "20221208", "rootUrl": "https://groupsmigration.googleapis.com/", "schemas": { "Groups": {
diff --git a/discovery/googleapis/healthcare__v1.json b/discovery/googleapis/healthcare__v1.json index a85f532..10680be 100644 --- a/discovery/googleapis/healthcare__v1.json +++ b/discovery/googleapis/healthcare__v1.json
@@ -3252,7 +3252,7 @@ ] }, "search": { - "description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`. Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. If there are additional results, the returned `Bundle` contains a link of `relation` \"next\", which has a `_page_token` parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changes and when the change is reflected in search results. For samples and detailed information, see [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).", + "description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` (DSTU2 and STU3) or `:iterate` (R4). Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. If there are additional results, the returned `Bundle` contains a link of `relation` \"next\", which has a `_page_token` parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changes and when the change is reflected in search results. For samples and detailed information, see [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/_search", "httpMethod": "POST", "id": "healthcare.projects.locations.datasets.fhirStores.fhir.search", @@ -3280,7 +3280,7 @@ ] }, "search-type": { - "description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`. Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. If there are additional results, the returned `Bundle` contains a link of `relation` \"next\", which has a `_page_token` parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changes and when the change is reflected in search results. For samples and detailed information, see [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).", + "description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` (DSTU2 and STU3) or `:iterate` (R4). Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. If there are additional results, the returned `Bundle` contains a link of `relation` \"next\", which has a `_page_token` parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changes and when the change is reflected in search results. For samples and detailed information, see [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{resourceType}/_search", "httpMethod": "POST", "id": "healthcare.projects.locations.datasets.fhirStores.fhir.search-type", @@ -4051,7 +4051,7 @@ } } }, - "revision": "20221111", + "revision": "20221220", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "ActivateConsentRequest": { @@ -4581,13 +4581,13 @@ "id": "DateShiftConfig", "properties": { "cryptoKey": { - "description": "An AES 128/192/256 bit key. Causes the shift to be computed based on this key and the patient ID. A default key is generated for each de-identification operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set.", + "description": "An AES 128/192/256 bit key. The date shift is computed based on this key and the patient ID. If the patient ID is empty for a DICOM resource, the date shift is computed based on this key and the study instance UID. If `crypto_key` is not set, then `kms_wrapped` is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if `kms_wrapped` is set.", "format": "byte", "type": "string" }, "kmsWrapped": { "$ref": "KmsWrappedCryptoKey", - "description": "KMS wrapped key. Must not be set if `crypto_key` is set." + "description": "KMS wrapped key. If `kms_wrapped` is not set, then `crypto_key` is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if `crypto_key` is set." } }, "type": "object" @@ -4817,7 +4817,7 @@ "type": "number" }, "linkedEntities": { - "description": "linked_entities are candidate ontological concepts that this entity mention may refer to. They are sorted by decreasing confidence.it", + "description": "linked_entities are candidate ontological concepts that this entity mention may refer to. They are sorted by decreasing confidence.", "items": { "$ref": "LinkedEntity" },
diff --git a/discovery/googleapis/homegraph__v1.json b/discovery/googleapis/homegraph__v1.json index 2670e3d..7db2ca6 100644 --- a/discovery/googleapis/homegraph__v1.json +++ b/discovery/googleapis/homegraph__v1.json
@@ -14,7 +14,7 @@ "canonicalName": "Home Graph Service", "description": "", "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/actions/smarthome/create-app#request-sync", + "documentationLink": "https://developers.home.google.com/cloud-to-cloud/get-started", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -106,7 +106,7 @@ "agentUsers": { "methods": { "delete": { - "description": "Unlinks the given third-party user from your smart home Action. All data related to this user will be deleted. For more details on how users link their accounts, see [fulfillment and authentication](https://developers.google.com/assistant/smarthome/concepts/fulfillment-authentication). The third-party user's identity is passed in via the `agent_user_id` (see DeleteAgentUserRequest). This request must be authorized using service account credentials from your Actions console project.", + "description": "Unlinks the given third-party user from your smart home Action. All data related to this user will be deleted. For more details on how users link their accounts, see [fulfillment and authentication](https://developers.home.google.com/cloud-to-cloud/primer/fulfillment). The third-party user's identity is passed in via the `agent_user_id` (see DeleteAgentUserRequest). This request must be authorized using service account credentials from your Actions console project.", "flatPath": "v1/agentUsers/{agentUsersId}", "httpMethod": "DELETE", "id": "homegraph.agentUsers.delete", @@ -158,7 +158,7 @@ ] }, "reportStateAndNotification": { - "description": "Reports device state and optionally sends device notifications. Called by your smart home Action when the state of a third-party device changes or you need to send a notification about the device. See [Implement Report State](https://developers.google.com/assistant/smarthome/develop/report-state) for more information. This method updates the device state according to its declared [traits](https://developers.google.com/assistant/smarthome/concepts/devices-traits). Publishing a new state value outside of these traits will result in an `INVALID_ARGUMENT` error response. The third-party user's identity is passed in via the `agent_user_id` (see ReportStateAndNotificationRequest). This request must be authorized using service account credentials from your Actions console project.", + "description": "Reports device state and optionally sends device notifications. Called by your smart home Action when the state of a third-party device changes or you need to send a notification about the device. See [Implement Report State](https://developers.home.google.com/cloud-to-cloud/integration/report-state) for more information. This method updates the device state according to its declared [traits](https://developers.home.google.com/cloud-to-cloud/primer/device-types-and-traits). Publishing a new state value outside of these traits will result in an `INVALID_ARGUMENT` error response. The third-party user's identity is passed in via the `agent_user_id` (see ReportStateAndNotificationRequest). This request must be authorized using service account credentials from your Actions console project.", "flatPath": "v1/devices:reportStateAndNotification", "httpMethod": "POST", "id": "homegraph.devices.reportStateAndNotification", @@ -176,7 +176,7 @@ ] }, "requestSync": { - "description": "Requests Google to send an `action.devices.SYNC` [intent](https://developers.google.com/assistant/smarthome/reference/intent/sync) to your smart home Action to update device metadata for the given user. The third-party user's identity is passed via the `agent_user_id` (see RequestSyncDevicesRequest). This request must be authorized using service account credentials from your Actions console project.", + "description": "Requests Google to send an `action.devices.SYNC` [intent](https://developers.home.google.com/cloud-to-cloud/intents/sync) to your smart home Action to update device metadata for the given user. The third-party user's identity is passed via the `agent_user_id` (see RequestSyncDevicesRequest). This request must be authorized using service account credentials from your Actions console project.", "flatPath": "v1/devices:requestSync", "httpMethod": "POST", "id": "homegraph.devices.requestSync", @@ -214,7 +214,7 @@ } } }, - "revision": "20221118", + "revision": "20230106", "rootUrl": "https://homegraph.googleapis.com/", "schemas": { "AgentDeviceId": { @@ -260,7 +260,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Custom device attributes stored in Home Graph and provided to your smart home Action in each [QUERY](https://developers.google.com/assistant/smarthome/reference/intent/query) and [EXECUTE](https://developers.google.com/assistant/smarthome/reference/intent/execute) intent. Data in this object has a few constraints: No sensitive information, including but not limited to Personally Identifiable Information.", + "description": "Custom device attributes stored in Home Graph and provided to your smart home Action in each [QUERY](https://developers.home.google.com/cloud-to-cloud/intents/query) and [EXECUTE](https://developers.home.google.com/cloud-to-cloud/intents/execute) intent. Data in this object has a few constraints: No sensitive information, including but not limited to Personally Identifiable Information.", "type": "object" }, "deviceInfo": { @@ -280,7 +280,7 @@ "type": "boolean" }, "otherDeviceIds": { - "description": "Alternate IDs associated with this device. This is used to identify cloud synced devices enabled for [local fulfillment](https://developers.google.com/assistant/smarthome/concepts/local).", + "description": "Alternate IDs associated with this device. This is used to identify cloud synced devices enabled for [local fulfillment](https://developers.home.google.com/local-home/overview).", "items": { "$ref": "AgentOtherDeviceId" }, @@ -295,14 +295,14 @@ "type": "string" }, "traits": { - "description": "Traits supported by the device. See [device traits](https://developers.google.com/assistant/smarthome/traits).", + "description": "Traits supported by the device. See [device traits](https://developers.home.google.com/cloud-to-cloud/traits).", "items": { "type": "string" }, "type": "array" }, "type": { - "description": "Hardware type of the device. See [device types](https://developers.google.com/assistant/smarthome/guides).", + "description": "Hardware type of the device. See [device types](https://developers.home.google.com/cloud-to-cloud/guides).", "type": "string" }, "willReportState": { @@ -414,7 +414,7 @@ "type": "object" }, "QueryResponse": { - "description": "Response type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call. This should follow the same format as the Google smart home `action.devices.QUERY` [response](https://developers.google.com/assistant/smarthome/reference/intent/query). # Example ```json { \"requestId\": \"ff36a3cc-ec34-11e6-b1a0-64510650abcf\", \"payload\": { \"devices\": { \"123\": { \"on\": true, \"online\": true }, \"456\": { \"on\": true, \"online\": true, \"brightness\": 80, \"color\": { \"name\": \"cerulean\", \"spectrumRGB\": 31655 } } } } } ```", + "description": "Response type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call. This should follow the same format as the Google smart home `action.devices.QUERY` [response](https://developers.home.google.com/cloud-to-cloud/intents/query). Example: ```json { \"requestId\": \"ff36a3cc-ec34-11e6-b1a0-64510650abcf\", \"payload\": { \"devices\": { \"123\": { \"on\": true, \"online\": true }, \"456\": { \"on\": true, \"online\": true, \"brightness\": 80, \"color\": { \"name\": \"cerulean\", \"spectrumRGB\": 31655 } } } } } ```", "id": "QueryResponse", "properties": { "payload": { @@ -455,7 +455,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Notifications metadata for devices. See the **Device NOTIFICATIONS** section of the individual trait [reference guides](https://developers.google.com/assistant/smarthome/traits).", + "description": "Notifications metadata for devices. See the **Device NOTIFICATIONS** section of the individual trait [reference guides](https://developers.home.google.com/cloud-to-cloud/traits).", "type": "object" }, "states": { @@ -463,14 +463,14 @@ "description": "Properties of the object.", "type": "any" }, - "description": "States of devices to update. See the **Device STATES** section of the individual trait [reference guides](https://developers.google.com/assistant/smarthome/traits).", + "description": "States of devices to update. See the **Device STATES** section of the individual trait [reference guides](https://developers.home.google.com/cloud-to-cloud/traits).", "type": "object" } }, "type": "object" }, "ReportStateAndNotificationRequest": { - "description": "Request type for the [`ReportStateAndNotification`](#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification) call. It may include states, notifications, or both. States and notifications are defined per `device_id` (for example, \"123\" and \"456\" in the following example). # Example ```json { \"requestId\": \"ff36a3cc-ec34-11e6-b1a0-64510650abcf\", \"agentUserId\": \"1234\", \"payload\": { \"devices\": { \"states\": { \"123\": { \"on\": true }, \"456\": { \"on\": true, \"brightness\": 10 } }, } } } ```", + "description": "Request type for the [`ReportStateAndNotification`](#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification) call. It may include states, notifications, or both. States and notifications are defined per `device_id` (for example, \"123\" and \"456\" in the following example). Example: ```json { \"requestId\": \"ff36a3cc-ec34-11e6-b1a0-64510650abcf\", \"agentUserId\": \"1234\", \"payload\": { \"devices\": { \"states\": { \"123\": { \"on\": true }, \"456\": { \"on\": true, \"brightness\": 10 } }, } } } ```", "id": "ReportStateAndNotificationRequest", "properties": { "agentUserId": { @@ -555,7 +555,7 @@ "type": "object" }, "SyncResponse": { - "description": "Response type for the [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) call. This should follow the same format as the Google smart home `action.devices.SYNC` [response](https://developers.google.com/assistant/smarthome/reference/intent/sync). # Example ```json { \"requestId\": \"ff36a3cc-ec34-11e6-b1a0-64510650abcf\", \"payload\": { \"agentUserId\": \"1836.15267389\", \"devices\": [{ \"id\": \"123\", \"type\": \"action.devices.types.OUTLET\", \"traits\": [ \"action.devices.traits.OnOff\" ], \"name\": { \"defaultNames\": [\"My Outlet 1234\"], \"name\": \"Night light\", \"nicknames\": [\"wall plug\"] }, \"willReportState\": false, \"deviceInfo\": { \"manufacturer\": \"lights-out-inc\", \"model\": \"hs1234\", \"hwVersion\": \"3.2\", \"swVersion\": \"11.4\" }, \"customData\": { \"fooValue\": 74, \"barValue\": true, \"bazValue\": \"foo\" } }] } } ```", + "description": "Response type for the [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) call. This should follow the same format as the Google smart home `action.devices.SYNC` [response](https://developers.home.google.com/cloud-to-cloud/intents/sync). Example: ```json { \"requestId\": \"ff36a3cc-ec34-11e6-b1a0-64510650abcf\", \"payload\": { \"agentUserId\": \"1836.15267389\", \"devices\": [{ \"id\": \"123\", \"type\": \"action.devices.types.OUTLET\", \"traits\": [ \"action.devices.traits.OnOff\" ], \"name\": { \"defaultNames\": [\"My Outlet 1234\"], \"name\": \"Night light\", \"nicknames\": [\"wall plug\"] }, \"willReportState\": false, \"deviceInfo\": { \"manufacturer\": \"lights-out-inc\", \"model\": \"hs1234\", \"hwVersion\": \"3.2\", \"swVersion\": \"11.4\" }, \"customData\": { \"fooValue\": 74, \"barValue\": true, \"bazValue\": \"foo\" } }] } } ```", "id": "SyncResponse", "properties": { "payload": {
diff --git a/discovery/googleapis/iam__v1.json b/discovery/googleapis/iam__v1.json index 9e44bcb..b4fa849 100644 --- a/discovery/googleapis/iam__v1.json +++ b/discovery/googleapis/iam__v1.json
@@ -1234,7 +1234,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "Required. The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1259,7 +1259,7 @@ ], "parameters": { "name": { - "description": "The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1287,7 +1287,7 @@ ], "parameters": { "name": { - "description": "The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1315,7 +1315,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "Required. The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1407,7 +1407,7 @@ ], "parameters": { "name": { - "description": "The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to get the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", + "description": "The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1463,7 +1463,7 @@ ], "parameters": { "name": { - "description": "Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1491,7 +1491,7 @@ ], "parameters": { "name": { - "description": "Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1547,7 +1547,7 @@ ], "parameters": { "name": { - "description": "The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_UNIQUE_ID}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account.", + "description": "The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1575,7 +1575,7 @@ ], "parameters": { "name": { - "description": "The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to get the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", + "description": "The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1607,7 +1607,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "Required. The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1635,7 +1635,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the service account key in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "Required. The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account key `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$", "required": true, @@ -1660,7 +1660,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the service account key in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "Required. The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account key `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$", "required": true, @@ -1688,7 +1688,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the service account key in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "Required. The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account key `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$", "required": true, @@ -1716,7 +1716,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the service account key in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "Required. The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account key `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$", "required": true, @@ -1772,7 +1772,7 @@ "type": "string" }, "name": { - "description": "Required. The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID`, will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "Required. The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1797,7 +1797,7 @@ ], "parameters": { "name": { - "description": "The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.", + "description": "The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "location": "path", "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", "required": true, @@ -1919,7 +1919,7 @@ } } }, - "revision": "20221201", + "revision": "20230105", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AdminAuditData": { @@ -2196,7 +2196,7 @@ "description": "google.iam.v1.Binding.condition object to be linted." }, "fullResourceName": { - "description": "The full resource name of the policy this lint request is about. The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.", + "description": "The full resource name of the policy this lint request is about. The name follows the Google Cloud format for full resource names. For example, a Cloud project with ID `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource name is not used to read a policy from IAM. Only the data in the request object is linted.", "type": "string" } }, @@ -2757,7 +2757,7 @@ "type": "string" }, "name": { - "description": "The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to get the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", + "description": "The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.", "type": "string" }, "oauth2ClientId": {
diff --git a/discovery/googleapis/iamcredentials__v1.json b/discovery/googleapis/iamcredentials__v1.json index d9bc428..c4f6bdc 100644 --- a/discovery/googleapis/iamcredentials__v1.json +++ b/discovery/googleapis/iamcredentials__v1.json
@@ -224,7 +224,7 @@ } } }, - "revision": "20221108", + "revision": "20230106", "rootUrl": "https://iamcredentials.googleapis.com/", "schemas": { "GenerateAccessTokenRequest": {
diff --git a/discovery/googleapis/iap__v1.json b/discovery/googleapis/iap__v1.json index 15f1d3a..b35984d 100644 --- a/discovery/googleapis/iap__v1.json +++ b/discovery/googleapis/iap__v1.json
@@ -650,7 +650,7 @@ } } }, - "revision": "20221202", + "revision": "20221209", "rootUrl": "https://iap.googleapis.com/", "schemas": { "AccessDeniedPageSettings": {
diff --git a/discovery/googleapis/ids__v1.json b/discovery/googleapis/ids__v1.json index b412ead..9277a29 100644 --- a/discovery/googleapis/ids__v1.json +++ b/discovery/googleapis/ids__v1.json
@@ -347,6 +347,45 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "patch": { + "description": "Updates the parameters of a single Endpoint.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}", + "httpMethod": "PATCH", + "id": "ids.projects.locations.endpoints.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The name of the endpoint.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$", + "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. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he 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" + }, + "updateMask": { + "description": "Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Endpoint" + }, + "response": { + "$ref": "Operation" + }, + "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/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:setIamPolicy", @@ -533,7 +572,7 @@ } } }, - "revision": "20220831", + "revision": "20221113", "rootUrl": "https://ids.googleapis.com/", "schemas": { "AuditConfig": { @@ -697,6 +736,13 @@ "readOnly": true, "type": "string" }, + "threatExceptions": { + "description": "List of threat IDs to be excepted from generating alerts.", + "items": { + "type": "string" + }, + "type": "array" + }, "trafficLogs": { "description": "Whether the endpoint should report traffic logs in addition to threat logs.", "type": "boolean"
diff --git a/discovery/googleapis/indexing__v3.json b/discovery/googleapis/indexing__v3.json index 7d6d579..f1d0e3b 100644 --- a/discovery/googleapis/indexing__v3.json +++ b/discovery/googleapis/indexing__v3.json
@@ -147,7 +147,7 @@ } } }, - "revision": "20221201", + "revision": "20221220", "rootUrl": "https://indexing.googleapis.com/", "schemas": { "PublishUrlNotificationResponse": {
diff --git a/discovery/googleapis/jobs__v3.json b/discovery/googleapis/jobs__v3.json index cd0f188..f5952f0 100644 --- a/discovery/googleapis/jobs__v3.json +++ b/discovery/googleapis/jobs__v3.json
@@ -649,7 +649,7 @@ } } }, - "revision": "20221116", + "revision": "20230114", "rootUrl": "https://jobs.googleapis.com/", "schemas": { "ApplicationInfo": { @@ -2321,7 +2321,7 @@ "type": "array" }, "disableAutomaticEnrollmentSelection": { - "description": "If true, disable automatic enrollment selection (at all diversion points). Automatic enrollment selection means experiment selection process based on the experiment's automatic enrollment condition. This does not disable selection of forced experiments. Setting this filed to false does not change anything in experiment selection process.", + "description": "If true, disable automatic enrollment selection (at all diversion points). Automatic enrollment selection means experiment selection process based on the experiment's automatic enrollment condition. This does not disable selection of forced experiments. Setting this field to false does not change anything in the experiment selection process.", "type": "boolean" }, "disableExpNames": { @@ -2347,11 +2347,11 @@ "type": "array" }, "disableManualEnrollmentSelection": { - "description": "If true, disable manual enrollment selection (at all diversion points). Manual enrollment selection means experiment selection process based on the request's manual enrollment states (a.k.a. opt-in experiments). This does not disable selection of forced experiments. Setting this filed to false does not change anything in experiment selection process.", + "description": "If true, disable manual enrollment selection (at all diversion points). Manual enrollment selection means experiment selection process based on the request's manual enrollment states (a.k.a. opt-in experiments). This does not disable selection of forced experiments. Setting this field to false does not change anything in the experiment selection process.", "type": "boolean" }, "disableOrganicSelection": { - "description": "If true, disable organic experiment selection (at all diversion points). Organic selection means experiment selection process based on traffic allocation and diversion condition evaluation. This does not disable selection of forced experiments. This is useful in cases when it is not known whether experiment selection behavior is responsible for a error or breakage. Disabling organic selection may help to isolate the cause of a given problem. Setting this filed to false does not change anything in experiment selection process.", + "description": "If true, disable organic experiment selection (at all diversion points). Organic selection means experiment selection process based on traffic allocation and diversion condition evaluation. This does not disable selection of forced experiments. This is useful in cases when it is not known whether experiment selection behavior is responsible for a error or breakage. Disabling organic selection may help to isolate the cause of a given problem. Setting this field to false does not change anything in the experiment selection process.", "type": "boolean" }, "forcedFlags": { @@ -2369,7 +2369,7 @@ "type": "object" }, "testingMode": { - "description": "If set to ALL_OFF, organic selection will be disabled; if set to ALL_ON, organic selection will be disabled, and only select launch experiments will receive traffic. See go/mendel-aoao-runtime-design.", + "description": "Sets different testing modes. See the documentation in the TestingMode message for more information.", "enum": [ "TESTING_MODE_UNSPECIFIED", "TESTING_MODE_ALL_OFF",
diff --git a/discovery/googleapis/jobs__v4.json b/discovery/googleapis/jobs__v4.json index 7b689af..6040b98 100644 --- a/discovery/googleapis/jobs__v4.json +++ b/discovery/googleapis/jobs__v4.json
@@ -901,7 +901,7 @@ } } }, - "revision": "20221116", + "revision": "20230114", "rootUrl": "https://jobs.googleapis.com/", "schemas": { "ApplicationInfo": { @@ -2517,7 +2517,7 @@ "type": "array" }, "disableAutomaticEnrollmentSelection": { - "description": "If true, disable automatic enrollment selection (at all diversion points). Automatic enrollment selection means experiment selection process based on the experiment's automatic enrollment condition. This does not disable selection of forced experiments. Setting this filed to false does not change anything in experiment selection process.", + "description": "If true, disable automatic enrollment selection (at all diversion points). Automatic enrollment selection means experiment selection process based on the experiment's automatic enrollment condition. This does not disable selection of forced experiments. Setting this field to false does not change anything in the experiment selection process.", "type": "boolean" }, "disableExpNames": { @@ -2543,11 +2543,11 @@ "type": "array" }, "disableManualEnrollmentSelection": { - "description": "If true, disable manual enrollment selection (at all diversion points). Manual enrollment selection means experiment selection process based on the request's manual enrollment states (a.k.a. opt-in experiments). This does not disable selection of forced experiments. Setting this filed to false does not change anything in experiment selection process.", + "description": "If true, disable manual enrollment selection (at all diversion points). Manual enrollment selection means experiment selection process based on the request's manual enrollment states (a.k.a. opt-in experiments). This does not disable selection of forced experiments. Setting this field to false does not change anything in the experiment selection process.", "type": "boolean" }, "disableOrganicSelection": { - "description": "If true, disable organic experiment selection (at all diversion points). Organic selection means experiment selection process based on traffic allocation and diversion condition evaluation. This does not disable selection of forced experiments. This is useful in cases when it is not known whether experiment selection behavior is responsible for a error or breakage. Disabling organic selection may help to isolate the cause of a given problem. Setting this filed to false does not change anything in experiment selection process.", + "description": "If true, disable organic experiment selection (at all diversion points). Organic selection means experiment selection process based on traffic allocation and diversion condition evaluation. This does not disable selection of forced experiments. This is useful in cases when it is not known whether experiment selection behavior is responsible for a error or breakage. Disabling organic selection may help to isolate the cause of a given problem. Setting this field to false does not change anything in the experiment selection process.", "type": "boolean" }, "forcedFlags": { @@ -2565,7 +2565,7 @@ "type": "object" }, "testingMode": { - "description": "If set to ALL_OFF, organic selection will be disabled; if set to ALL_ON, organic selection will be disabled, and only select launch experiments will receive traffic. See go/mendel-aoao-runtime-design.", + "description": "Sets different testing modes. See the documentation in the TestingMode message for more information.", "enum": [ "TESTING_MODE_UNSPECIFIED", "TESTING_MODE_ALL_OFF",
diff --git a/discovery/googleapis/keep__v1.json b/discovery/googleapis/keep__v1.json index f977116..a40946e 100644 --- a/discovery/googleapis/keep__v1.json +++ b/discovery/googleapis/keep__v1.json
@@ -312,7 +312,7 @@ } } }, - "revision": "20221205", + "revision": "20230102", "rootUrl": "https://keep.googleapis.com/", "schemas": { "Attachment": {
diff --git a/discovery/googleapis/kgsearch__v1.json b/discovery/googleapis/kgsearch__v1.json index 31a8b51..edf376b 100644 --- a/discovery/googleapis/kgsearch__v1.json +++ b/discovery/googleapis/kgsearch__v1.json
@@ -150,7 +150,7 @@ } } }, - "revision": "20221204", + "revision": "20230115", "rootUrl": "https://kgsearch.googleapis.com/", "schemas": { "SearchResponse": {
diff --git a/discovery/googleapis/language__v1.json b/discovery/googleapis/language__v1.json index 8454c8f..8400d96 100644 --- a/discovery/googleapis/language__v1.json +++ b/discovery/googleapis/language__v1.json
@@ -225,7 +225,7 @@ } } }, - "revision": "20221126", + "revision": "20230104", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": {
diff --git a/discovery/googleapis/libraryagent__v1.json b/discovery/googleapis/libraryagent__v1.json index 6f437e6..f3a9a05 100644 --- a/discovery/googleapis/libraryagent__v1.json +++ b/discovery/googleapis/libraryagent__v1.json
@@ -277,7 +277,7 @@ } } }, - "revision": "20221205", + "revision": "20230115", "rootUrl": "https://libraryagent.googleapis.com/", "schemas": { "GoogleExampleLibraryagentV1Book": {
diff --git a/discovery/googleapis/licensing__v1.json b/discovery/googleapis/licensing__v1.json index b0d2724..867fe16 100644 --- a/discovery/googleapis/licensing__v1.json +++ b/discovery/googleapis/licensing__v1.json
@@ -398,7 +398,7 @@ } } }, - "revision": "20221203", + "revision": "20230103", "rootUrl": "https://licensing.googleapis.com/", "schemas": { "Empty": {
diff --git a/discovery/googleapis/localservices__v1.json b/discovery/googleapis/localservices__v1.json index 92ff83a..3d5fed4 100644 --- a/discovery/googleapis/localservices__v1.json +++ b/discovery/googleapis/localservices__v1.json
@@ -248,7 +248,7 @@ } } }, - "revision": "20221205", + "revision": "20230115", "rootUrl": "https://localservices.googleapis.com/", "schemas": { "GoogleAdsHomeservicesLocalservicesV1AccountReport": {
diff --git a/discovery/googleapis/logging__v2.json b/discovery/googleapis/logging__v2.json index 65fa8c6..f039b3b 100644 --- a/discovery/googleapis/logging__v2.json +++ b/discovery/googleapis/logging__v2.json
@@ -6005,7 +6005,7 @@ } } }, - "revision": "20221130", + "revision": "20230104", "rootUrl": "https://logging.googleapis.com/", "schemas": { "BigQueryOptions": { @@ -6417,7 +6417,7 @@ "id": "ListLogEntriesRequest", "properties": { "filter": { - "description": "Optional. A filter that chooses which log entries to return. See Advanced Logs Queries (https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of the filter is 20000 characters.", + "description": "Optional. Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.", "type": "string" }, "orderBy": { @@ -7677,7 +7677,7 @@ "type": "string" }, "filter": { - "description": "Optional. A filter that chooses which log entries to return. See Advanced Logs Filters (https://cloud.google.com/logging/docs/view/advanced_filters). Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not in resource_names will cause the filter to return no results. The maximum length of the filter is 20000 characters.", + "description": "Optional. Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.", "type": "string" }, "resourceNames": {
diff --git a/discovery/googleapis/managedidentities__v1.json b/discovery/googleapis/managedidentities__v1.json index 699a8d7..9c30221 100644 --- a/discovery/googleapis/managedidentities__v1.json +++ b/discovery/googleapis/managedidentities__v1.json
@@ -1401,7 +1401,7 @@ } } }, - "revision": "20221027", + "revision": "20221227", "rootUrl": "https://managedidentities.googleapis.com/", "schemas": { "AttachTrustRequest": { @@ -2369,7 +2369,7 @@ "type": "object" }, "MaintenancePolicy": { - "description": "Defines policies to service maintenance events.", + "description": "LINT.IfChange Defines policies to service maintenance events.", "id": "MaintenancePolicy", "properties": { "createTime": {
diff --git a/discovery/googleapis/manufacturers__v1.json b/discovery/googleapis/manufacturers__v1.json index 95dfa42..671580d 100644 --- a/discovery/googleapis/manufacturers__v1.json +++ b/discovery/googleapis/manufacturers__v1.json
@@ -286,7 +286,7 @@ } } }, - "revision": "20221206", + "revision": "20230112", "rootUrl": "https://manufacturers.googleapis.com/", "schemas": { "Attributes": {
diff --git a/discovery/googleapis/memcache__v1.json b/discovery/googleapis/memcache__v1.json index 3e297e0..edc0236 100644 --- a/discovery/googleapis/memcache__v1.json +++ b/discovery/googleapis/memcache__v1.json
@@ -554,7 +554,7 @@ } } }, - "revision": "20220929", + "revision": "20230103", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { @@ -1269,7 +1269,7 @@ "type": "object" }, "MaintenancePolicy": { - "description": "Defines policies to service maintenance events.", + "description": "LINT.IfChange Defines policies to service maintenance events.", "id": "MaintenancePolicy", "properties": { "createTime": {
diff --git a/discovery/googleapis/metastore__v1.json b/discovery/googleapis/metastore__v1.json index 6209ee8..09ef387 100644 --- a/discovery/googleapis/metastore__v1.json +++ b/discovery/googleapis/metastore__v1.json
@@ -1257,7 +1257,7 @@ } } }, - "revision": "20221130", + "revision": "20230106", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AuditConfig": { @@ -1430,7 +1430,7 @@ "type": "string" }, "subnetwork": { - "description": "Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:`projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}", + "description": "Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}", "type": "string" } },
diff --git a/discovery/googleapis/ml__v1.json b/discovery/googleapis/ml__v1.json index ee9a3b1..129b4a1 100644 --- a/discovery/googleapis/ml__v1.json +++ b/discovery/googleapis/ml__v1.json
@@ -1484,7 +1484,7 @@ } } }, - "revision": "20221110", + "revision": "20221215", "rootUrl": "https://ml.googleapis.com/", "schemas": { "GoogleApi__HttpBody": {
diff --git a/discovery/googleapis/monitoring__v3.json b/discovery/googleapis/monitoring__v3.json index 8547a2d..56f470f 100644 --- a/discovery/googleapis/monitoring__v3.json +++ b/discovery/googleapis/monitoring__v3.json
@@ -1645,6 +1645,144 @@ } } }, + "snoozes": { + "methods": { + "create": { + "description": "Creates a Snooze that will prevent alerts, which match the provided criteria, from being opened. The Snooze applies for a specific time interval.", + "flatPath": "v3/projects/{projectsId}/snoozes", + "httpMethod": "POST", + "id": "monitoring.projects.snoozes.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) in which a Snooze should be created. The format is: projects/[PROJECT_ID_OR_NUMBER] ", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/snoozes", + "request": { + "$ref": "Snooze" + }, + "response": { + "$ref": "Snooze" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring" + ] + }, + "get": { + "description": "Retrieves a Snooze by name.", + "flatPath": "v3/projects/{projectsId}/snoozes/{snoozesId}", + "httpMethod": "GET", + "id": "monitoring.projects.snoozes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The ID of the Snooze to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID] ", + "location": "path", + "pattern": "^projects/[^/]+/snoozes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "Snooze" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.read" + ] + }, + "list": { + "description": "Lists the Snoozes associated with a project. Can optionally pass in filter, which specifies predicates to match Snoozes.", + "flatPath": "v3/projects/{projectsId}/snoozes", + "httpMethod": "GET", + "id": "monitoring.projects.snoozes.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Optional filter to restrict results to the given criteria. The following fields are supported. interval.start_time interval.end_timeFor example: ``` interval.start_time > \"2022-03-11T00:00:00-08:00\" AND interval.end_time < \"2022-03-12T00:00:00-08:00\" ``` ", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return for a single query. The server may further constrain the maximum number of results returned in a single page. The value should be in the range 1, 1000. If the value given is outside this range, the server will decide the number of results to be returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The next_page_token from a previous call to ListSnoozesRequest to get the next page of results.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) whose Snoozes should be listed. The format is: projects/[PROJECT_ID_OR_NUMBER] ", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/snoozes", + "response": { + "$ref": "ListSnoozesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring", + "https://www.googleapis.com/auth/monitoring.read" + ] + }, + "patch": { + "description": "Updates a Snooze, identified by its name, with the parameters in the given Snooze object.", + "flatPath": "v3/projects/{projectsId}/snoozes/{snoozesId}", + "httpMethod": "PATCH", + "id": "monitoring.projects.snoozes.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Snooze. The format is: projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID] The ID of the Snooze will be generated by the system.", + "location": "path", + "pattern": "^projects/[^/]+/snoozes/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The fields to update.For each field listed in update_mask: If the Snooze object supplied in the UpdateSnoozeRequest has a value for that field, the value of the field in the existing Snooze will be set to the value of the field in the supplied Snooze. If the field does not have a value in the supplied Snooze, the field in the existing Snooze is set to its default value.Fields not listed retain their existing value.The following are the field names that are accepted in update_mask: display_name interval.start_time interval.end_timeThat said, the start time and end time of the Snooze determines which fields can legally be updated. Before attempting an update, users should consult the documentation for UpdateSnoozeRequest, which talks about which fields can be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "Snooze" + }, + "response": { + "$ref": "Snooze" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/monitoring" + ] + } + } + }, "timeSeries": { "methods": { "create": { @@ -2574,7 +2712,7 @@ } } }, - "revision": "20221130", + "revision": "20230102", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -3189,6 +3327,20 @@ }, "type": "object" }, + "Criteria": { + "description": "Criteria specific to the AlertPolicys that this Snooze applies to. The Snooze will suppress alerts that come from one of the AlertPolicys whose names are supplied.", + "id": "Criteria", + "properties": { + "policies": { + "description": "The specific AlertPolicy names for the alert that should be snoozed. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] There is a limit of 10 policies per snooze. This limit is checked during snooze creation.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Custom": { "description": "Use a custom service to designate a service that you want to monitor when none of the other service types (like App Engine, Cloud Run, or a GKE type) matches your intended service.", "id": "Custom", @@ -3477,6 +3629,18 @@ }, "type": "object" }, + "ForecastOptions": { + "description": "Options used when forecasting the time series and testing the predicted value against the threshold.", + "id": "ForecastOptions", + "properties": { + "forecastHorizon": { + "description": "Required. The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured duration, then the time series is considered to be failing.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GetNotificationChannelVerificationCodeRequest": { "description": "The GetNotificationChannelVerificationCode request.", "id": "GetNotificationChannelVerificationCodeRequest", @@ -4059,6 +4223,24 @@ }, "type": "object" }, + "ListSnoozesResponse": { + "description": "The results of a successful ListSnoozes call, containing the matching Snoozes.", + "id": "ListSnoozesResponse", + "properties": { + "nextPageToken": { + "description": "Page token for repeated calls to ListSnoozes, to fetch additional pages of results. If this is empty or missing, there are no more pages.", + "type": "string" + }, + "snoozes": { + "description": "Snoozes matching this list call.", + "items": { + "$ref": "Snooze" + }, + "type": "array" + } + }, + "type": "object" + }, "ListTimeSeriesResponse": { "description": "The ListTimeSeries response.", "id": "ListTimeSeriesResponse", @@ -4443,6 +4625,10 @@ "description": "Required. A filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the ListTimeSeries request (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that call is useful to verify the time series that will be retrieved / processed). The filter must specify the metric type and the resource type. Optionally, it can specify resource labels and metric labels. This field must not exceed 2048 Unicode characters in length.", "type": "string" }, + "forecastOptions": { + "$ref": "ForecastOptions", + "description": "When this field is present, the MetricThreshold condition forecasts whether the time series is predicted to violate the threshold within the forecast_horizion. When this field is not set, the MetricThreshold tests the current value of the timeseries against the threshold." + }, "thresholdValue": { "description": "A value against which to compare the time series.", "format": "double", @@ -5164,6 +5350,29 @@ }, "type": "object" }, + "Snooze": { + "description": "A Snooze will prevent any alerts from being opened, and close any that are already open. The Snooze will work on alerts that match the criteria defined in the Snooze. The Snooze will be active from interval.start_time through interval.end_time.", + "id": "Snooze", + "properties": { + "criteria": { + "$ref": "Criteria", + "description": "Required. This defines the criteria for applying the Snooze. See Criteria for more information." + }, + "displayName": { + "description": "Required. A display name for the Snooze. This can be, at most, 512 unicode characters.", + "type": "string" + }, + "interval": { + "$ref": "TimeInterval", + "description": "Required. The Snooze will be active from interval.start_time through interval.end_time. interval.start_time cannot be in the past. There is a 15 second clock skew to account for the time it takes for a request to reach the API from the UI." + }, + "name": { + "description": "Required. The name of the Snooze. The format is: projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID] The ID of the Snooze will be generated by the system.", + "type": "string" + } + }, + "type": "object" + }, "SourceContext": { "description": "SourceContext represents information about the source of a protobuf element, like the file in which it is defined.", "id": "SourceContext",
diff --git a/discovery/googleapis/mybusinessaccountmanagement__v1.json b/discovery/googleapis/mybusinessaccountmanagement__v1.json index 83143eb..8bfa54b 100644 --- a/discovery/googleapis/mybusinessaccountmanagement__v1.json +++ b/discovery/googleapis/mybusinessaccountmanagement__v1.json
@@ -528,7 +528,7 @@ } } }, - "revision": "20221206", + "revision": "20230115", "rootUrl": "https://mybusinessaccountmanagement.googleapis.com/", "schemas": { "AcceptInvitationRequest": { @@ -575,7 +575,7 @@ "type": "string" }, "primaryOwner": { - "description": "Required. Input only. The resource name of the account which will be the primary owner of the account being created. It should be of the form `accounts/{account_id}/`.", + "description": "Required. Input only. The resource name of the account which will be the primary owner of the account being created. It should be of the form `accounts/{account_id}`.", "type": "string" }, "role": {
diff --git a/discovery/googleapis/mybusinessbusinesscalls__v1.json b/discovery/googleapis/mybusinessbusinesscalls__v1.json index 47d3921..61b5dc6 100644 --- a/discovery/googleapis/mybusinessbusinesscalls__v1.json +++ b/discovery/googleapis/mybusinessbusinesscalls__v1.json
@@ -196,7 +196,7 @@ } } }, - "revision": "20221206", + "revision": "20230115", "rootUrl": "https://mybusinessbusinesscalls.googleapis.com/", "schemas": { "AggregateMetrics": {
diff --git a/discovery/googleapis/mybusinessbusinessinformation__v1.json b/discovery/googleapis/mybusinessbusinessinformation__v1.json index eef296a..44a6fb4 100644 --- a/discovery/googleapis/mybusinessbusinessinformation__v1.json +++ b/discovery/googleapis/mybusinessbusinessinformation__v1.json
@@ -660,7 +660,7 @@ } } }, - "revision": "20221206", + "revision": "20230115", "rootUrl": "https://mybusinessbusinessinformation.googleapis.com/", "schemas": { "AdWordsLocationExtensions": {
diff --git a/discovery/googleapis/mybusinesslodging__v1.json b/discovery/googleapis/mybusinesslodging__v1.json index 96abc45..b31f69b 100644 --- a/discovery/googleapis/mybusinesslodging__v1.json +++ b/discovery/googleapis/mybusinesslodging__v1.json
@@ -192,7 +192,7 @@ } } }, - "revision": "20221206", + "revision": "20230115", "rootUrl": "https://mybusinesslodging.googleapis.com/", "schemas": { "Accessibility": {
diff --git a/discovery/googleapis/mybusinessnotifications__v1.json b/discovery/googleapis/mybusinessnotifications__v1.json index c3ef640..3b52103 100644 --- a/discovery/googleapis/mybusinessnotifications__v1.json +++ b/discovery/googleapis/mybusinessnotifications__v1.json
@@ -152,7 +152,7 @@ } } }, - "revision": "20221206", + "revision": "20230115", "rootUrl": "https://mybusinessnotifications.googleapis.com/", "schemas": { "NotificationSetting": {
diff --git a/discovery/googleapis/mybusinessplaceactions__v1.json b/discovery/googleapis/mybusinessplaceactions__v1.json index 6afc91f..c43092f 100644 --- a/discovery/googleapis/mybusinessplaceactions__v1.json +++ b/discovery/googleapis/mybusinessplaceactions__v1.json
@@ -279,7 +279,7 @@ } } }, - "revision": "20221206", + "revision": "20230115", "rootUrl": "https://mybusinessplaceactions.googleapis.com/", "schemas": { "Empty": {
diff --git a/discovery/googleapis/mybusinessqanda__v1.json b/discovery/googleapis/mybusinessqanda__v1.json index b186246..958648d 100644 --- a/discovery/googleapis/mybusinessqanda__v1.json +++ b/discovery/googleapis/mybusinessqanda__v1.json
@@ -321,7 +321,7 @@ } } }, - "revision": "20221206", + "revision": "20230115", "rootUrl": "https://mybusinessqanda.googleapis.com/", "schemas": { "Answer": {
diff --git a/discovery/googleapis/mybusinessverifications__v1.json b/discovery/googleapis/mybusinessverifications__v1.json index 44663f5..590a7d4 100644 --- a/discovery/googleapis/mybusinessverifications__v1.json +++ b/discovery/googleapis/mybusinessverifications__v1.json
@@ -254,7 +254,7 @@ } } }, - "revision": "20221206", + "revision": "20230115", "rootUrl": "https://mybusinessverifications.googleapis.com/", "schemas": { "AddressVerificationData": {
diff --git a/discovery/googleapis/networkconnectivity__v1.json b/discovery/googleapis/networkconnectivity__v1.json index ae28f5f..f1f41fd 100644 --- a/discovery/googleapis/networkconnectivity__v1.json +++ b/discovery/googleapis/networkconnectivity__v1.json
@@ -542,7 +542,7 @@ "internalRanges": { "methods": { "create": { - "description": "Creates a new InternalRange in a given project and location.", + "description": "Creates a new internal range in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges", "httpMethod": "POST", "id": "networkconnectivity.projects.locations.internalRanges.create", @@ -556,7 +556,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource's name of the InternalRange.", + "description": "Required. The parent resource's name of the internal range.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -580,7 +580,7 @@ ] }, "delete": { - "description": "Deletes a single InternalRange.", + "description": "Deletes a single internal range.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "DELETE", "id": "networkconnectivity.projects.locations.internalRanges.delete", @@ -589,7 +589,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the InternalRange to delete.", + "description": "Required. The name of the internal range to delete.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", "required": true, @@ -610,7 +610,7 @@ ] }, "get": { - "description": "Gets details of a single InternalRange.", + "description": "Gets details of a single internal range.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "GET", "id": "networkconnectivity.projects.locations.internalRanges.get", @@ -635,7 +635,7 @@ ] }, "list": { - "description": "Lists InternalRanges in a given project and location.", + "description": "Lists internal ranges in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges", "httpMethod": "GET", "id": "networkconnectivity.projects.locations.internalRanges.list", @@ -681,7 +681,7 @@ ] }, "patch": { - "description": "Updates the parameters of a single InternalRange.", + "description": "Updates the parameters of a single internal range.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "PATCH", "id": "networkconnectivity.projects.locations.internalRanges.patch", @@ -690,7 +690,7 @@ ], "parameters": { "name": { - "description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", + "description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", "required": true, @@ -1391,7 +1391,7 @@ } } }, - "revision": "20221107", + "revision": "20230105", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { @@ -1580,7 +1580,7 @@ "type": "object" }, "Hub": { - "description": "A Network Connectivity Center hub is a collection of spokes. A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the data transfer feature, the resources associated with those spokes must all reside in the same VPC network. Spokes that do not use data transfer can be associated with any VPC network in your project.", + "description": "A Network Connectivity Center hub is a global management resource to which you attach spokes. A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the site-to-site data transfer feature, the resources associated with those spokes must all be in the same VPC network. Spokes that do not use site-to-site data transfer can be associated with any VPC network in your project.", "id": "Hub", "properties": { "createTime": { @@ -1645,11 +1645,11 @@ "type": "object" }, "InternalRange": { - "description": "The InternalRange resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (it's usage and peering behavior). Networking resources can link to this range if they are created as belonging to it. Next id: 14", + "description": "The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.", "id": "InternalRange", "properties": { "createTime": { - "description": "Time when the InternalRange was created.", + "description": "Time when the internal range was created.", "format": "google-datetime", "type": "string" }, @@ -1658,7 +1658,7 @@ "type": "string" }, "ipCidrRange": { - "description": "IP range that this InternalRange defines.", + "description": "The IP range that this internal range defines.", "type": "string" }, "labels": { @@ -1669,15 +1669,15 @@ "type": "object" }, "name": { - "description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", + "description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", "type": "string" }, "network": { - "description": "The URL or resource ID of the network in which to reserve the Internal Range. The network cannot be deleted if there are any reserved Internal Ranges referring to it. Legacy network is not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123", + "description": "The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123", "type": "string" }, "overlaps": { - "description": "Optional. Types of resources that are allowed to overlap with the current InternalRange.", + "description": "Optional. Types of resources that are allowed to overlap with the current internal range.", "items": { "enum": [ "OVERLAP_UNSPECIFIED", @@ -1685,14 +1685,14 @@ ], "enumDescriptions": [ "No overlap overrides.", - "Allow creation of static routes more specific that the current InternalRange." + "Allow creation of static routes more specific that the current internal range." ], "type": "string" }, "type": "array" }, "peering": { - "description": "The type of peering set for this InternalRange.", + "description": "The type of peering set for this internal range.", "enum": [ "PEERING_UNSPECIFIED", "FOR_SELF", @@ -1701,14 +1701,14 @@ ], "enumDescriptions": [ "If Peering is left unspecified in CreateInternalRange or UpdateInternalRange, it will be defaulted to FOR_SELF.", - "This is the default behavior and represents the case that this InternalRange is intended to be used in the VPC on which it is created and is accessible from it’s peers. This implies that peers or peer-of-peer’s cannot use this range.", - "This behavior can be set when the Internal Range is being reserved for usage by the peers. This means that no resource within the VPC in which it is being created can use this to associate with a GCP resource, but one of the peer’s can. This represents \"donating\" a range for peers to use.", - "This behavior can be set when the Internal Range is being reserved for usage by the VPC on which it is created but not shared with the peers. In a sense it is local to the VPC. This can be used to create Internal Ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for interconnect routes that are not shared with peers. This also implies that peer’s cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC too." + "This is the default behavior and represents the case that this internal range is intended to be used in the VPC in which it is created and is accessible from its peers. This implies that peers or peers-of-peers cannot use this range.", + "This behavior can be set when the internal range is being reserved for usage by peers. This means that no resource within the VPC in which it is being created can use this to associate with a VPC resource, but one of the peers can. This represents donating a range for peers to use.", + "This behavior can be set when the internal range is being reserved for usage by the VPC in which it is created, but not shared with peers. In a sense, it is local to the VPC. This can be used to create internal ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for Interconnect routes that are not shared with peers. This also implies that peers cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC, too." ], "type": "string" }, "prefixLength": { - "description": "An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, it's an error if the range sizes don't match. Can also be used during updates to change the range size.", + "description": "An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.", "format": "int32", "type": "integer" }, @@ -1720,7 +1720,7 @@ "type": "array" }, "updateTime": { - "description": "Time when the InternalRange was updated.", + "description": "Time when the internal range was updated.", "format": "google-datetime", "type": "string" }, @@ -1732,14 +1732,14 @@ "EXTERNAL_TO_VPC" ], "enumDescriptions": [ - "Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.", - "A GCP resource can use the reserved CIDR block by associating it with the Internal Range resource if usage is set to FOR_VPC.", - "Ranges created with EXTERNAL_TO_VPC cannot be associated with GCP resources and are meant to block out address ranges for various use cases, like for example, usage on-prem, with dynamic route announcements via interconnect." + "Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.", + "A VPC resource can use the reserved CIDR block by associating it with the internal range resource if usage is set to FOR_VPC.", + "Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC resources and are meant to block out address ranges for various use cases, like for example, usage on-prem, with dynamic route announcements via interconnect." ], "type": "string" }, "users": { - "description": "Output only. The list of resources that refer to this internal range. Resources that use the InternalRange for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this InternalRange. Having a user, based on this reference, prevents deletion of the InternalRange referred to. Can be empty.", + "description": "Output only. The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.", "items": { "type": "string" }, @@ -1848,7 +1848,7 @@ "id": "ListInternalRangesResponse", "properties": { "internalRanges": { - "description": "InternalRanges to be returned.", + "description": "Internal ranges to be returned.", "items": { "$ref": "InternalRange" }, @@ -2092,7 +2092,7 @@ "type": "object" }, "Spoke": { - "description": "A Network Connectivity Center spoke represents a connection between your Google Cloud network resources and a non-Google-Cloud network. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields: * linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances", + "description": "A Network Connectivity Center spoke represents one or more network connectivity resources. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields: * linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances", "id": "Spoke", "properties": { "createTime": {
diff --git a/discovery/googleapis/networkmanagement__v1.json b/discovery/googleapis/networkmanagement__v1.json index e24c0b3..d081089 100644 --- a/discovery/googleapis/networkmanagement__v1.json +++ b/discovery/googleapis/networkmanagement__v1.json
@@ -589,7 +589,7 @@ } } }, - "revision": "20221117", + "revision": "20230105", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": {
diff --git a/discovery/googleapis/networksecurity__v1.json b/discovery/googleapis/networksecurity__v1.json index 43ecaf3..fdd30ed 100644 --- a/discovery/googleapis/networksecurity__v1.json +++ b/discovery/googleapis/networksecurity__v1.json
@@ -1035,7 +1035,7 @@ } } }, - "revision": "20221103", + "revision": "20230106", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AuthorizationPolicy": {
diff --git a/discovery/googleapis/networkservices__v1.json b/discovery/googleapis/networkservices__v1.json index e7e0088..3f072f4 100644 --- a/discovery/googleapis/networkservices__v1.json +++ b/discovery/googleapis/networkservices__v1.json
@@ -2146,7 +2146,7 @@ } } }, - "revision": "20221128", + "revision": "20230105", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": {
diff --git a/discovery/googleapis/notebooks__v1.json b/discovery/googleapis/notebooks__v1.json index 2d815dd..e19c15d 100644 --- a/discovery/googleapis/notebooks__v1.json +++ b/discovery/googleapis/notebooks__v1.json
@@ -1902,7 +1902,7 @@ } } }, - "revision": "20221110", + "revision": "20221213", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2040,7 +2040,7 @@ "type": "boolean" }, "gcsBucket": { - "description": "Required. User Cloud Storage bucket location (REQUIRED) ## Must be formatted with path prefix (gs://$GCS_BUCKET) Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account or ## user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz", + "description": "Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`). Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account or user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz`", "type": "string" }, "packetCaptureFlagEnabled": { @@ -2048,7 +2048,7 @@ "type": "boolean" }, "relativePath": { - "description": "Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (gs://$GCS_BUCKET/$DATE_$TIME.tar.gz) Example of full path where Log file will be written: gs://$GCS_BUCKET/$RELATIVE_PATH/", + "description": "Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (`gs://$GCS_BUCKET/$DATE_$TIME.tar.gz`) Example of full path where Log file will be written: `gs://$GCS_BUCKET/$RELATIVE_PATH/`", "type": "string" }, "repairFlagEnabled": { @@ -3562,6 +3562,11 @@ "description": "Output only. Bool indicating whether an newer image is available in an image family.", "readOnly": true, "type": "boolean" + }, + "version": { + "description": "Output only. version of boot image such as M100, from release label of the image.", + "readOnly": true, + "type": "string" } }, "type": "object"
diff --git a/discovery/googleapis/ondemandscanning__v1.json b/discovery/googleapis/ondemandscanning__v1.json index 2a138f7..cb336a9 100644 --- a/discovery/googleapis/ondemandscanning__v1.json +++ b/discovery/googleapis/ondemandscanning__v1.json
@@ -337,7 +337,7 @@ } } }, - "revision": "20221114", + "revision": "20230109", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1720,14 +1720,18 @@ "OS", "MAVEN", "GO", - "GO_STDLIB" + "GO_STDLIB", + "PYPI", + "NPM" ], "enumDescriptions": [ "", "Operating System", "Java packages from Maven.", "Go third-party packages.", - "Go toolchain + standard library packages." + "Go toolchain + standard library packages.", + "Python packages.", + "NPM packages." ], "type": "string" },
diff --git a/discovery/googleapis/orgpolicy__v2.json b/discovery/googleapis/orgpolicy__v2.json index 12013a6..6034f2b 100644 --- a/discovery/googleapis/orgpolicy__v2.json +++ b/discovery/googleapis/orgpolicy__v2.json
@@ -895,7 +895,7 @@ } } }, - "revision": "20221205", + "revision": "20230111", "rootUrl": "https://orgpolicy.googleapis.com/", "schemas": { "GoogleCloudOrgpolicyV2AlternatePolicySpec": {
diff --git a/discovery/googleapis/osconfig__v1.json b/discovery/googleapis/osconfig__v1.json index c40947f..550155b 100644 --- a/discovery/googleapis/osconfig__v1.json +++ b/discovery/googleapis/osconfig__v1.json
@@ -998,7 +998,7 @@ } } }, - "revision": "20221205", + "revision": "20230115", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptSettings": { @@ -2399,7 +2399,7 @@ "type": "string" }, "script": { - "description": "An inline script. The size of the script is limited to 1024 characters.", + "description": "An inline script. The size of the script is limited to 32KiB.", "type": "string" } }, @@ -2468,7 +2468,7 @@ "id": "OSPolicyResourceFileResource", "properties": { "content": { - "description": "A a file with this content. The size of the content is limited to 1024 characters.", + "description": "A a file with this content. The size of the content is limited to 32KiB.", "type": "string" }, "file": {
diff --git a/discovery/googleapis/oslogin__v1.json b/discovery/googleapis/oslogin__v1.json index d97106c..68b9da1 100644 --- a/discovery/googleapis/oslogin__v1.json +++ b/discovery/googleapis/oslogin__v1.json
@@ -341,7 +341,7 @@ } } }, - "revision": "20221111", + "revision": "20230107", "rootUrl": "https://oslogin.googleapis.com/", "schemas": { "Empty": {
diff --git a/discovery/googleapis/pagespeedonline__v5.json b/discovery/googleapis/pagespeedonline__v5.json index 66a4107..4de69dc 100644 --- a/discovery/googleapis/pagespeedonline__v5.json +++ b/discovery/googleapis/pagespeedonline__v5.json
@@ -191,7 +191,7 @@ } } }, - "revision": "20221202", + "revision": "20230112", "rootUrl": "https://pagespeedonline.googleapis.com/", "schemas": { "AuditRefs": {
diff --git a/discovery/googleapis/paymentsresellersubscription__v1.json b/discovery/googleapis/paymentsresellersubscription__v1.json index 67e7a9e..0286860 100644 --- a/discovery/googleapis/paymentsresellersubscription__v1.json +++ b/discovery/googleapis/paymentsresellersubscription__v1.json
@@ -394,7 +394,7 @@ } } }, - "revision": "20221204", + "revision": "20230111", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { "GoogleCloudPaymentsResellerSubscriptionV1Amount": { @@ -1120,7 +1120,8 @@ "LINE_ITEM_STATE_INACTIVE", "LINE_ITEM_STATE_NEW", "LINE_ITEM_STATE_ACTIVATING", - "LINE_ITEM_STATE_DEACTIVATING" + "LINE_ITEM_STATE_DEACTIVATING", + "LINE_ITEM_STATE_WAITING_TO_DEACTIVATE" ], "enumDescriptions": [ "Unspecified state.", @@ -1128,7 +1129,8 @@ "The line item is in INACTIVE state.", "The line item is new, and is not activated or charged yet.", "The line item is being activated in order to be charged. If a free trial applies to the line item, the line item is pending a prorated charge at the end of the free trial period, as indicated by `line_item_free_trial_end_time`.", - "The line item is being deactivated." + "The line item is being deactivated, and a prorated refund in being processed.", + "The line item is scheduled to be deactivated at the end of the current cycle." ], "readOnly": true, "type": "string"
diff --git a/discovery/googleapis/people__v1.json b/discovery/googleapis/people__v1.json index 5297a47..6d23a1f 100644 --- a/discovery/googleapis/people__v1.json +++ b/discovery/googleapis/people__v1.json
@@ -998,7 +998,7 @@ "type": "string" }, "resourceName": { - "description": "The resource name for the person, assigned by the server. An ASCII string with a max length of 27 characters, in the form of `people/{person_id}`.", + "description": "The resource name for the person, assigned by the server. An ASCII string in the form of `people/{person_id}`.", "location": "path", "pattern": "^people/[^/]+$", "required": true, @@ -1171,7 +1171,7 @@ } } }, - "revision": "20221201", + "revision": "20230112", "rootUrl": "https://people.googleapis.com/", "schemas": { "Address": { @@ -2676,7 +2676,7 @@ "type": "array" }, "resourceName": { - "description": "The resource name for the person, assigned by the server. An ASCII string with a max length of 27 characters, in the form of `people/{person_id}`.", + "description": "The resource name for the person, assigned by the server. An ASCII string in the form of `people/{person_id}`.", "type": "string" }, "sipAddresses": {
diff --git a/discovery/googleapis/photoslibrary__v1.json b/discovery/googleapis/photoslibrary__v1.json index 61186b6..6ca73b2 100644 --- a/discovery/googleapis/photoslibrary__v1.json +++ b/discovery/googleapis/photoslibrary__v1.json
@@ -639,7 +639,7 @@ } } }, - "revision": "20221206", + "revision": "20230115", "rootUrl": "https://photoslibrary.googleapis.com/", "schemas": { "AddEnrichmentToAlbumRequest": { @@ -1422,7 +1422,7 @@ "description": "If an error occurred during the creation of this media item, this field is populated with information related to the error. For details regarding this field, see Status." }, "uploadToken": { - "description": "The upload token used to create this new media item.", + "description": "The upload token used to create this new (simple) media item. Only populated if the media item is simple and required a single upload token.", "type": "string" } },
diff --git a/discovery/googleapis/playcustomapp__v1.json b/discovery/googleapis/playcustomapp__v1.json index 2ce3ece..d768cff 100644 --- a/discovery/googleapis/playcustomapp__v1.json +++ b/discovery/googleapis/playcustomapp__v1.json
@@ -156,7 +156,7 @@ } } }, - "revision": "20221203", + "revision": "20230116", "rootUrl": "https://playcustomapp.googleapis.com/", "schemas": { "CustomApp": {
diff --git a/discovery/googleapis/playintegrity__v1.json b/discovery/googleapis/playintegrity__v1.json index f3add64..630325e 100644 --- a/discovery/googleapis/playintegrity__v1.json +++ b/discovery/googleapis/playintegrity__v1.json
@@ -12,7 +12,7 @@ "baseUrl": "https://playintegrity.googleapis.com/", "batchPath": "batch", "canonicalName": "Play Integrity", - "description": "Play Integrity", + "description": "The Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification.", "discoveryVersion": "v1", "documentationLink": "https://developer.android.com/google/play/integrity", "icons": { @@ -136,7 +136,7 @@ } } }, - "revision": "20221203", + "revision": "20230116", "rootUrl": "https://playintegrity.googleapis.com/", "schemas": { "AccountActivity": { @@ -287,7 +287,11 @@ "id": "RequestDetails", "properties": { "nonce": { - "description": "Required. Nonce that was provided in the request (which is base64 web-safe no-wrap).", + "description": "Nonce that was provided in the request (which is base64 web-safe no-wrap).", + "type": "string" + }, + "requestHash": { + "description": "Request hash that was provided in the request.", "type": "string" }, "requestPackageName": {
diff --git a/discovery/googleapis/policyanalyzer__v1.json b/discovery/googleapis/policyanalyzer__v1.json index 0031813..7b6cb65 100644 --- a/discovery/googleapis/policyanalyzer__v1.json +++ b/discovery/googleapis/policyanalyzer__v1.json
@@ -161,7 +161,7 @@ } } }, - "revision": "20221204", + "revision": "20230115", "rootUrl": "https://policyanalyzer.googleapis.com/", "schemas": { "GoogleCloudPolicyanalyzerV1Activity": {
diff --git a/discovery/googleapis/policysimulator__v1.json b/discovery/googleapis/policysimulator__v1.json index a5738b9..4dd4b7a 100644 --- a/discovery/googleapis/policysimulator__v1.json +++ b/discovery/googleapis/policysimulator__v1.json
@@ -705,7 +705,7 @@ } } }, - "revision": "20221112", + "revision": "20230108", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudPolicysimulatorV1AccessStateDiff": {
diff --git a/discovery/googleapis/policytroubleshooter__v1.json b/discovery/googleapis/policytroubleshooter__v1.json index fdf8e22..b2cb79d 100644 --- a/discovery/googleapis/policytroubleshooter__v1.json +++ b/discovery/googleapis/policytroubleshooter__v1.json
@@ -126,7 +126,7 @@ } } }, - "revision": "20221204", + "revision": "20230115", "rootUrl": "https://policytroubleshooter.googleapis.com/", "schemas": { "GoogleCloudPolicytroubleshooterV1AccessTuple": {
diff --git a/discovery/googleapis/privateca__v1.json b/discovery/googleapis/privateca__v1.json index c8945a8..3b8a962 100644 --- a/discovery/googleapis/privateca__v1.json +++ b/discovery/googleapis/privateca__v1.json
@@ -1593,7 +1593,7 @@ } } }, - "revision": "20221117", + "revision": "20230105", "rootUrl": "https://privateca.googleapis.com/", "schemas": { "AccessUrls": {
diff --git a/discovery/googleapis/pubsub__v1.json b/discovery/googleapis/pubsub__v1.json index c1ac81d..caa9107 100644 --- a/discovery/googleapis/pubsub__v1.json +++ b/discovery/googleapis/pubsub__v1.json
@@ -1423,7 +1423,7 @@ } } }, - "revision": "20221122", + "revision": "20230102", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { @@ -1460,7 +1460,7 @@ "enumDescriptions": [ "Default value. This value is unused.", "The subscription can actively send messages to BigQuery", - "Cannot write to the BigQuery table because of permission denied errors.", + "Cannot write to the BigQuery table because of permission denied errors. This can happen if - Pub/Sub SA has not been granted the [appropriate BigQuery IAM permissions](https://cloud.google.com/pubsub/docs/create-subscription#assign_bigquery_service_account) - bigquery.googleapis.com API is not enabled for the project ([instructions](https://cloud.google.com/service-usage/docs/enable-disable))", "Cannot write to the BigQuery table because it does not exist.", "Cannot write to the BigQuery table due to a schema mismatch." ],
diff --git a/discovery/googleapis/pubsublite__v1.json b/discovery/googleapis/pubsublite__v1.json index 995d6be..2e75014 100644 --- a/discovery/googleapis/pubsublite__v1.json +++ b/discovery/googleapis/pubsublite__v1.json
@@ -1038,7 +1038,7 @@ } } }, - "revision": "20221115", + "revision": "20221230", "rootUrl": "https://pubsublite.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1222,6 +1222,58 @@ "properties": {}, "type": "object" }, + "ExportConfig": { + "description": "Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.", + "id": "ExportConfig", + "properties": { + "currentState": { + "description": "Output only. The current state of the export, which may be different to the desired state due to errors. This field is output only.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "PAUSED", + "PERMISSION_DENIED", + "NOT_FOUND" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Messages are being exported.", + "Exporting messages is suspended.", + "Messages cannot be exported due to permission denied errors. Output only.", + "Messages cannot be exported due to missing resources. Output only." + ], + "readOnly": true, + "type": "string" + }, + "deadLetterTopic": { + "description": "Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.", + "type": "string" + }, + "desiredState": { + "description": "The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "PAUSED", + "PERMISSION_DENIED", + "NOT_FOUND" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Messages are being exported.", + "Exporting messages is suspended.", + "Messages cannot be exported due to permission denied errors. Output only.", + "Messages cannot be exported due to missing resources. Output only." + ], + "type": "string" + }, + "pubsubConfig": { + "$ref": "PubSubConfig", + "description": "Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic." + } + }, + "type": "object" + }, "ListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "ListOperationsResponse", @@ -1445,6 +1497,17 @@ }, "type": "object" }, + "PubSubConfig": { + "description": "Configuration for exporting to a Pub/Sub topic.", + "id": "PubSubConfig", + "properties": { + "topic": { + "description": "The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.", + "type": "string" + } + }, + "type": "object" + }, "Reservation": { "description": "Metadata about a reservation resource.", "id": "Reservation", @@ -1555,6 +1618,10 @@ "$ref": "DeliveryConfig", "description": "The settings for this subscription's message delivery." }, + "exportConfig": { + "$ref": "ExportConfig", + "description": "If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination." + }, "name": { "description": "The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}", "type": "string"
diff --git a/discovery/googleapis/realtimebidding__v1.json b/discovery/googleapis/realtimebidding__v1.json index c07a3a9..6484086 100644 --- a/discovery/googleapis/realtimebidding__v1.json +++ b/discovery/googleapis/realtimebidding__v1.json
@@ -1303,7 +1303,7 @@ } } }, - "revision": "20221206", + "revision": "20230113", "rootUrl": "https://realtimebidding.googleapis.com/", "schemas": { "ActivatePretargetingConfigRequest": {
diff --git a/discovery/googleapis/recaptchaenterprise__v1.json b/discovery/googleapis/recaptchaenterprise__v1.json index a127474..432f8d7 100644 --- a/discovery/googleapis/recaptchaenterprise__v1.json +++ b/discovery/googleapis/recaptchaenterprise__v1.json
@@ -12,7 +12,7 @@ "baseUrl": "https://recaptchaenterprise.googleapis.com/", "batchPath": "batch", "canonicalName": "Recaptcha Enterprise", - "description": "", + "description": "Help protect your website from fraudulent activity, spam, and abuse without creating friction.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/recaptcha-enterprise/", "icons": { @@ -512,7 +512,7 @@ } } }, - "revision": "20221112", + "revision": "20230107", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "schemas": { "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": { @@ -543,6 +543,57 @@ }, "type": "object" }, + "GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo": { + "description": "Information about account verification, used for identity verification.", + "id": "GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo", + "properties": { + "endpoints": { + "description": "Endpoints that can be used for identity verification.", + "items": { + "$ref": "GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo" + }, + "type": "array" + }, + "languageCode": { + "description": "Language code preference for the verification message, set as a IETF BCP 47 language code.", + "type": "string" + }, + "latestVerificationResult": { + "description": "Output only. Result of the latest account verification challenge.", + "enum": [ + "RESULT_UNSPECIFIED", + "SUCCESS_USER_VERIFIED", + "ERROR_USER_NOT_VERIFIED", + "ERROR_SITE_ONBOARDING_INCOMPLETE", + "ERROR_RECIPIENT_NOT_ALLOWED", + "ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED", + "ERROR_CRITICAL_INTERNAL", + "ERROR_CUSTOMER_QUOTA_EXHAUSTED", + "ERROR_VERIFICATION_BYPASSED", + "ERROR_VERDICT_MISMATCH" + ], + "enumDescriptions": [ + "No information about the latest account verification.", + "The user was successfully verified. This means the account verification challenge was successfully completed.", + "The user failed the verification challenge.", + "The site is not properly onboarded to use the account verification feature.", + "The recipient is not allowed for account verification. This can occur during integration but should not occur in production.", + "The recipient has already been sent too many verification codes in a short amount of time.", + "The verification flow could not be completed due to a critical internal error.", + "The client has exceeded their two factor request quota for this period of time.", + "The request cannot be processed at the time because of an incident. This bypass can be restricted to a problematic destination email domain, a customer, or could affect the entire service.", + "The request parameters do not match with the token provided and cannot be processed." + ], + "readOnly": true, + "type": "string" + }, + "username": { + "description": "Username of the account that is being verified. Deprecated. Customers should now provide the hashed account ID field in Event.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudRecaptchaenterpriseV1AndroidKeySettings": { "description": "Settings specific to keys that can be used by Android apps.", "id": "GoogleCloudRecaptchaenterpriseV1AndroidKeySettings", @@ -646,6 +697,10 @@ "$ref": "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment", "description": "Assessment returned by account defender when a hashed_account_id is provided." }, + "accountVerification": { + "$ref": "GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo", + "description": "Account verification information for identity verification. The assessment event must include a token and site key to use this feature." + }, "event": { "$ref": "GoogleCloudRecaptchaenterpriseV1Event", "description": "The event being assessed." @@ -699,6 +754,32 @@ }, "type": "object" }, + "GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo": { + "description": "Information about a verification endpoint that can be used for 2FA.", + "id": "GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo", + "properties": { + "emailAddress": { + "description": "Email address for which to trigger a verification request.", + "type": "string" + }, + "lastVerificationTime": { + "description": "Output only. Timestamp of the last successful verification for the endpoint, if any.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "phoneNumber": { + "description": "Phone number for which to trigger a verification request. Should be given in E.164 format.", + "type": "string" + }, + "requestToken": { + "description": "Output only. Token to provide to the client to trigger endpoint verification. It must be used within 15 minutes.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudRecaptchaenterpriseV1Event": { "id": "GoogleCloudRecaptchaenterpriseV1Event", "properties": { @@ -883,7 +964,12 @@ "GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest": { "description": "The migrate key request message.", "id": "GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest", - "properties": {}, + "properties": { + "skipBillingCheck": { + "description": "Optional. If true, skips the billing check. A reCAPTCHA Enterprise key or migrated key behaves differently than a reCAPTCHA (non-Enterprise version) key when you reach a quota limit (see https://cloud.google.com/recaptcha-enterprise/quotas#quota_limit). To avoid any disruption of your usage, we check that a billing account is present. If your usage of reCAPTCHA is under the free quota, you can safely skip the billing check and proceed with the migration. See https://cloud.google.com/recaptcha-enterprise/docs/billing-information.", + "type": "boolean" + } + }, "type": "object" }, "GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification": {
diff --git a/discovery/googleapis/recommender__v1.json b/discovery/googleapis/recommender__v1.json index beed31b..8d57854 100644 --- a/discovery/googleapis/recommender__v1.json +++ b/discovery/googleapis/recommender__v1.json
@@ -439,6 +439,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "markDismissed": { + "description": "Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.", + "flatPath": "v1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markDismissed", + "httpMethod": "POST", + "id": "recommender.billingAccounts.locations.recommenders.recommendations.markDismissed", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the recommendation.", + "location": "path", + "pattern": "^billingAccounts/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:markDismissed", + "request": { + "$ref": "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest" + }, + "response": { + "$ref": "GoogleCloudRecommenderV1Recommendation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "markFailed": { "description": "Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.", "flatPath": "v1/billingAccounts/{billingAccountsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markFailed", @@ -707,6 +735,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "markDismissed": { + "description": "Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.", + "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markDismissed", + "httpMethod": "POST", + "id": "recommender.folders.locations.recommenders.recommendations.markDismissed", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the recommendation.", + "location": "path", + "pattern": "^folders/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:markDismissed", + "request": { + "$ref": "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest" + }, + "response": { + "$ref": "GoogleCloudRecommenderV1Recommendation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "markFailed": { "description": "Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.", "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markFailed", @@ -1107,6 +1163,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "markDismissed": { + "description": "Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markDismissed", + "httpMethod": "POST", + "id": "recommender.organizations.locations.recommenders.recommendations.markDismissed", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the recommendation.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:markDismissed", + "request": { + "$ref": "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest" + }, + "response": { + "$ref": "GoogleCloudRecommenderV1Recommendation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "markFailed": { "description": "Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markFailed", @@ -1507,6 +1591,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "markDismissed": { + "description": "Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markDismissed", + "httpMethod": "POST", + "id": "recommender.projects.locations.recommenders.recommendations.markDismissed", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the recommendation.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/recommenders/[^/]+/recommendations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:markDismissed", + "request": { + "$ref": "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest" + }, + "response": { + "$ref": "GoogleCloudRecommenderV1Recommendation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "markFailed": { "description": "Marks the Recommendation State as Failed. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation failed. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationFailed can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/recommenders/{recommendersId}/recommendations/{recommendationsId}:markFailed", @@ -1572,7 +1684,7 @@ } } }, - "revision": "20221113", + "revision": "20230108", "rootUrl": "https://recommender.googleapis.com/", "schemas": { "GoogleCloudRecommenderV1CostProjection": { @@ -1903,6 +2015,17 @@ }, "type": "object" }, + "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest": { + "description": "Request for the `MarkRecommendationDismissed` Method.", + "id": "GoogleCloudRecommenderV1MarkRecommendationDismissedRequest", + "properties": { + "etag": { + "description": "Fingerprint of the Recommendation. Provides optimistic locking.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudRecommenderV1MarkRecommendationFailedRequest": { "description": "Request for the `MarkRecommendationFailed` Method.", "id": "GoogleCloudRecommenderV1MarkRecommendationFailedRequest",
diff --git a/discovery/googleapis/redis__v1.json b/discovery/googleapis/redis__v1.json index 0792130..4c4003f 100644 --- a/discovery/googleapis/redis__v1.json +++ b/discovery/googleapis/redis__v1.json
@@ -622,7 +622,7 @@ } } }, - "revision": "20221127", + "revision": "20230111", "rootUrl": "https://redis.googleapis.com/", "schemas": { "Empty": { @@ -1272,7 +1272,7 @@ "Snapshot every 1 hour.", "Snapshot every 6 hours.", "Snapshot every 12 hours.", - "Snapshot every 24 horus." + "Snapshot every 24 hours." ], "type": "string" },
diff --git a/discovery/googleapis/reseller__v1.json b/discovery/googleapis/reseller__v1.json index 6d130a2..796a64a 100644 --- a/discovery/googleapis/reseller__v1.json +++ b/discovery/googleapis/reseller__v1.json
@@ -629,7 +629,7 @@ } } }, - "revision": "20221204", + "revision": "20230112", "rootUrl": "https://reseller.googleapis.com/", "schemas": { "Address": {
diff --git a/discovery/googleapis/resourcesettings__v1.json b/discovery/googleapis/resourcesettings__v1.json index 7dc67b2..b319179 100644 --- a/discovery/googleapis/resourcesettings__v1.json +++ b/discovery/googleapis/resourcesettings__v1.json
@@ -497,7 +497,7 @@ } } }, - "revision": "20221205", + "revision": "20230115", "rootUrl": "https://resourcesettings.googleapis.com/", "schemas": { "GoogleCloudResourcesettingsV1ListSettingsResponse": {
diff --git a/discovery/googleapis/retail__v2.json b/discovery/googleapis/retail__v2.json index eda18b4..adcc824 100644 --- a/discovery/googleapis/retail__v2.json +++ b/discovery/googleapis/retail__v2.json
@@ -1147,7 +1147,7 @@ ], "parameters": { "placement": { - "description": "Required. Full resource name of the format: `{placement=projects/*/locations/global/catalogs/default_catalog/servingConfigs/*}` or `{placement=projects/*/locations/global/catalogs/default_catalog/placements/*}`. We recommend using the `servingConfigs` resource. `placements` is a legacy resource. The ID of the Recommendations AI serving config or placement. Before you can request predictions from your model, you must create at least one serving config or placement for it. For more information, see [Managing serving configurations] (https://cloud.google.com/retail/docs/manage-configs). The full list of available serving configs can be seen at https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs", + "description": "Required. Full resource name of the format: `{placement=projects/*/locations/global/catalogs/default_catalog/servingConfigs/*}` or `{placement=projects/*/locations/global/catalogs/default_catalog/placements/*}`. We recommend using the `servingConfigs` resource. `placements` is a legacy resource. The ID of the Recommendations AI serving config or placement. Before you can request predictions from your model, you must create at least one serving config or placement for it. For more information, see [Manage serving configs] (https://cloud.google.com/retail/docs/manage-configs). The full list of available serving configs can be seen at https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$", "required": true, @@ -1175,7 +1175,7 @@ ], "parameters": { "placement": { - "description": "Required. The resource name of the Retail Search serving config, such as `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` or the name of the legacy placement resource, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the serving configuration name and the set of models that will be used to make the search.", + "description": "Required. The resource name of the Retail Search serving config, such as `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` or the name of the legacy placement resource, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the serving config name and the set of models that will be used to make the search.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$", "required": true, @@ -1388,7 +1388,7 @@ ], "parameters": { "placement": { - "description": "Required. Full resource name of the format: `{placement=projects/*/locations/global/catalogs/default_catalog/servingConfigs/*}` or `{placement=projects/*/locations/global/catalogs/default_catalog/placements/*}`. We recommend using the `servingConfigs` resource. `placements` is a legacy resource. The ID of the Recommendations AI serving config or placement. Before you can request predictions from your model, you must create at least one serving config or placement for it. For more information, see [Managing serving configurations] (https://cloud.google.com/retail/docs/manage-configs). The full list of available serving configs can be seen at https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs", + "description": "Required. Full resource name of the format: `{placement=projects/*/locations/global/catalogs/default_catalog/servingConfigs/*}` or `{placement=projects/*/locations/global/catalogs/default_catalog/placements/*}`. We recommend using the `servingConfigs` resource. `placements` is a legacy resource. The ID of the Recommendations AI serving config or placement. Before you can request predictions from your model, you must create at least one serving config or placement for it. For more information, see [Manage serving configs] (https://cloud.google.com/retail/docs/manage-configs). The full list of available serving configs can be seen at https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", "required": true, @@ -1444,7 +1444,7 @@ ], "parameters": { "placement": { - "description": "Required. The resource name of the Retail Search serving config, such as `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` or the name of the legacy placement resource, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the serving configuration name and the set of models that will be used to make the search.", + "description": "Required. The resource name of the Retail Search serving config, such as `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` or the name of the legacy placement resource, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the serving config name and the set of models that will be used to make the search.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", "required": true, @@ -1489,7 +1489,7 @@ "type": "string" }, "prebuiltRule": { - "description": "The prebuilt rule name that can convert a specific type of raw_json. For example: \"default_schema/v1.0\"", + "description": "The prebuilt rule name that can convert a specific type of raw_json. For example: \"ga4_bq\" rule for the GA4 user event schema.", "location": "query", "type": "string" }, @@ -1616,6 +1616,11 @@ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", "required": true, "type": "string" + }, + "writeAsync": { + "description": "If set to true, the user event will be written asynchronously after validation, and the API will respond without waiting for the write. Therefore, silent failures can occur even if the API returns success. In case of silent failures, error messages can be found in Stackdriver logs.", + "location": "query", + "type": "boolean" } }, "path": "v2/{+parent}/userEvents:write", @@ -1778,7 +1783,7 @@ } } }, - "revision": "20221130", + "revision": "20230105", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -2155,14 +2160,14 @@ "type": "string" }, "exactSearchableOption": { - "description": "If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This property only applies to textual custom attributes and requires indexable set to enabled to enable exact-searchable.", + "description": "If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This property only applies to textual custom attributes and requires indexable set to enabled to enable exact-searchable. If unset, the server behavior defaults to EXACT_SEARCHABLE_DISABLED.", "enum": [ "EXACT_SEARCHABLE_OPTION_UNSPECIFIED", "EXACT_SEARCHABLE_ENABLED", "EXACT_SEARCHABLE_DISABLED" ], "enumDescriptions": [ - "Value used when unset. Defaults to EXACT_SEARCHABLE_DISABLED.", + "Value used when unset.", "Exact searchable option enabled for an attribute.", "Exact searchable option disabled for an attribute." ], @@ -2188,18 +2193,18 @@ "type": "string" }, "key": { - "description": "Required. Attribute name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute name can contain only alpha-numeric characters and underscores. For example, an attribute named `attributes.abc_xyz` can be indexed, but an attribute named `attributes.abc-xyz` cannot be indexed.", + "description": "Required. Attribute name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute name can contain only alpha-numeric characters and underscores. For example, an attribute named `attributes.abc_xyz` can be indexed, but an attribute named `attributes.abc-xyz` cannot be indexed. For attributes whoes key start with `attributes.`, we refer them as custom attributes. Otherwise they are built-in attributes such as `color` and `brands`.", "type": "string" }, "retrievableOption": { - "description": "If RETRIEVABLE_ENABLED, attribute values are retrievable in the search results.", + "description": "If RETRIEVABLE_ENABLED, attribute values are retrievable in the search results. If unset, the server behavior defaults to RETRIEVABLE_DISABLED.", "enum": [ "RETRIEVABLE_OPTION_UNSPECIFIED", "RETRIEVABLE_ENABLED", "RETRIEVABLE_DISABLED" ], "enumDescriptions": [ - "Value used when unset. Defaults to RETRIEVABLE_DISABLED.", + "Value used when unset.", "Retrievable option enabled for an attribute.", "Retrievable option disabled for an attribute." ], @@ -2249,7 +2254,7 @@ "type": "array" }, "colors": { - "description": "The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single \"Mixed\" instead of multiple values. A maximum of 25 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).", + "description": "The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single \"Mixed\" instead of multiple values. A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).", "items": { "type": "string" }, @@ -2460,7 +2465,7 @@ "id": "GoogleCloudRetailV2Control", "properties": { "associatedServingConfigIds": { - "description": "Output only. List of serving configuration ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view.", + "description": "Output only. List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view.", "items": { "type": "string" }, @@ -4293,7 +4298,7 @@ "type": "string" }, "diversityType": { - "description": "What kind of diversity to use - data driven or rule based.", + "description": "What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY.", "enum": [ "DIVERSITY_TYPE_UNSPECIFIED", "RULE_BASED_DIVERSITY", @@ -4362,7 +4367,7 @@ "description": "The specification for personalization spec. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set. SearchRequest.personalization_spec will override ServingConfig.personalization_spec." }, "priceRerankingLevel": { - "description": "How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-raranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.", + "description": "How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.", "type": "string" }, "redirectControlIds": { @@ -5008,7 +5013,7 @@ "type": "object" }, "GoogleCloudRetailV2alphaModelPageOptimizationConfig": { - "description": "The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configurations to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey.", + "description": "The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configs to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey.", "id": "GoogleCloudRetailV2alphaModelPageOptimizationConfig", "properties": { "pageOptimizationEventType": {
diff --git a/discovery/googleapis/run__v1.json b/discovery/googleapis/run__v1.json index 4fe2752..248d339 100644 --- a/discovery/googleapis/run__v1.json +++ b/discovery/googleapis/run__v1.json
@@ -2287,7 +2287,7 @@ } } }, - "revision": "20221129", + "revision": "20230108", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -2544,7 +2544,7 @@ "type": "array" }, "env": { - "description": "List of environment variables to set in the container.", + "description": "List of environment variables to set in the container. EnvVar with duplicate names are generally allowed; if referencing a secret, the name must be unique for the container. For non-secret EnvVar names, the Container will only get the last-declared one.", "items": { "$ref": "EnvVar" }, @@ -2570,7 +2570,7 @@ "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "name": { - "description": "Name of the container specified as a DNS_LABEL. Currently unused in Cloud Run. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names", + "description": "Name of the container specified as a DNS_LABEL (RFC 1123). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names", "type": "string" }, "ports": {
diff --git a/discovery/googleapis/run__v2.json b/discovery/googleapis/run__v2.json index fbcf164..78a7343 100644 --- a/discovery/googleapis/run__v2.json +++ b/discovery/googleapis/run__v2.json
@@ -1057,7 +1057,7 @@ } } }, - "revision": "20221129", + "revision": "20230108", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -1076,7 +1076,7 @@ "type": "object" }, "GoogleCloudRunV2CloudSqlInstance": { - "description": "Represents a specific Cloud SQL instance.", + "description": "Represents a set of Cloud SQL instances. Each one will be available under /cloudsql/[instance]. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.", "id": "GoogleCloudRunV2CloudSqlInstance", "properties": { "instances": { @@ -1265,7 +1265,7 @@ "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes" }, "name": { - "description": "Name of the container specified as a DNS_LABEL.", + "description": "Name of the container specified as a DNS_LABEL (RFC 1123).", "type": "string" }, "ports": { @@ -1354,6 +1354,12 @@ "description": "KRM-style annotations for the resource.", "type": "object" }, + "cancelledCount": { + "description": "Output only. The number of tasks which reached phase Cancelled.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "completionTime": { "description": "Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.", "format": "google-datetime", @@ -1439,6 +1445,11 @@ ], "type": "string" }, + "logUri": { + "description": "Output only. URI where logs for this execution can be found in Cloud Console.", + "readOnly": true, + "type": "string" + }, "name": { "description": "Output only. The unique name of this Execution.", "readOnly": true, @@ -1461,6 +1472,12 @@ "readOnly": true, "type": "boolean" }, + "retriedCount": { + "description": "Output only. The number of tasks which have retried at least once.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "runningCount": { "description": "Output only. The number of actively running tasks.", "format": "int32", @@ -1948,6 +1965,25 @@ "description": "A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek", "type": "string" }, + "encryptionKeyRevocationAction": { + "description": "The action to take if the encryption key is revoked.", + "enum": [ + "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED", + "PREVENT_NEW", + "SHUTDOWN" + ], + "enumDescriptions": [ + "Unspecified", + "Prevents the creation of new instances.", + "Shuts down existing instances, and prevents creation of new ones." + ], + "type": "string" + }, + "encryptionKeyShutdownDuration": { + "description": "If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.", + "format": "google-duration", + "type": "string" + }, "etag": { "description": "Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.", "readOnly": true, @@ -2537,6 +2573,11 @@ "description": "Output only. Result of the last attempt of this Task.", "readOnly": true }, + "logUri": { + "description": "Output only. URI where logs for this execution can be found in Cloud Console.", + "readOnly": true, + "type": "string" + }, "maxRetries": { "description": "Number of retries allowed per Task, before marking this Task failed.", "format": "int32",
diff --git a/discovery/googleapis/runtimeconfig__v1.json b/discovery/googleapis/runtimeconfig__v1.json index e828e5f..aac8cb0 100644 --- a/discovery/googleapis/runtimeconfig__v1.json +++ b/discovery/googleapis/runtimeconfig__v1.json
@@ -208,7 +208,7 @@ } } }, - "revision": "20221206", + "revision": "20230109", "rootUrl": "https://runtimeconfig.googleapis.com/", "schemas": { "CancelOperationRequest": {
diff --git a/discovery/googleapis/safebrowsing__v4.json b/discovery/googleapis/safebrowsing__v4.json index 413db86..3a4daf1 100644 --- a/discovery/googleapis/safebrowsing__v4.json +++ b/discovery/googleapis/safebrowsing__v4.json
@@ -259,7 +259,7 @@ } } }, - "revision": "20221130", + "revision": "20230108", "rootUrl": "https://safebrowsing.googleapis.com/", "schemas": { "GoogleProtobufEmpty": {
diff --git a/discovery/googleapis/script__v1.json b/discovery/googleapis/script__v1.json index 0dc9ede..c2c4af0 100644 --- a/discovery/googleapis/script__v1.json +++ b/discovery/googleapis/script__v1.json
@@ -885,7 +885,7 @@ } } }, - "revision": "20221126", + "revision": "20230110", "rootUrl": "https://script.googleapis.com/", "schemas": { "Content": {
diff --git a/discovery/googleapis/searchconsole__v1.json b/discovery/googleapis/searchconsole__v1.json index b3babd3..abca476 100644 --- a/discovery/googleapis/searchconsole__v1.json +++ b/discovery/googleapis/searchconsole__v1.json
@@ -398,7 +398,7 @@ } } }, - "revision": "20221203", + "revision": "20230116", "rootUrl": "https://searchconsole.googleapis.com/", "schemas": { "AmpInspectionResult": {
diff --git a/discovery/googleapis/secretmanager__v1.json b/discovery/googleapis/secretmanager__v1.json index 89c4018..355be77 100644 --- a/discovery/googleapis/secretmanager__v1.json +++ b/discovery/googleapis/secretmanager__v1.json
@@ -641,7 +641,7 @@ } } }, - "revision": "20221112", + "revision": "20221210", "rootUrl": "https://secretmanager.googleapis.com/", "schemas": { "AccessSecretVersionResponse": {
diff --git a/discovery/googleapis/securitycenter__v1.json b/discovery/googleapis/securitycenter__v1.json index 840a1c1..d7c0760 100644 --- a/discovery/googleapis/securitycenter__v1.json +++ b/discovery/googleapis/securitycenter__v1.json
@@ -117,7 +117,7 @@ ], "parameters": { "parent": { - "description": "Required. Name of the parent to groupBy. Its format is \"organizations/[organization_id], folders/[folder_id], or projects/[project_id]\".", + "description": "Required. The name of the parent to group the assets by. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -178,7 +178,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the parent assets should belong to. Its format is \"organizations/[organization_id], folders/[folder_id], or projects/[project_id]\".", + "description": "Required. The name of the parent that the listed assets belong to. Its format is \"organizations/[organization_id], \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -258,7 +258,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new BigQuery export's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent resource of the new BigQuery export. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -286,7 +286,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", + "description": "Required. The name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", "location": "path", "pattern": "^folders/[^/]+/bigQueryExports/[^/]+$", "required": true, @@ -599,7 +599,7 @@ ], "parameters": { "configId": { - "description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and contain alphanumeric characters, underscores or hyphens only.", + "description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.", "location": "query", "type": "string" }, @@ -693,7 +693,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the parent to list notification configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent in which to list the notification configurations. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -767,7 +767,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id], folders/[folder_id], or projects/[project_id]\".", + "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id], \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -950,6 +950,7 @@ ], "parameters": { "name": { + "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", "location": "path", "pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+$", "required": true, @@ -1128,7 +1129,7 @@ ], "parameters": { "parent": { - "description": "Required. Name of the parent to groupBy. Its format is \"organizations/[organization_id], folders/[folder_id], or projects/[project_id]\".", + "description": "Required. The name of the parent to group the assets by. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -1189,7 +1190,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the parent assets should belong to. Its format is \"organizations/[organization_id], folders/[folder_id], or projects/[project_id]\".", + "description": "Required. The name of the parent that the listed assets belong to. Its format is \"organizations/[organization_id], \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -1297,7 +1298,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new BigQuery export's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent resource of the new BigQuery export. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -1325,7 +1326,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", + "description": "Required. The name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", "location": "path", "pattern": "^organizations/[^/]+/bigQueryExports/[^/]+$", "required": true, @@ -1638,7 +1639,7 @@ ], "parameters": { "configId": { - "description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and contain alphanumeric characters, underscores or hyphens only.", + "description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.", "location": "query", "type": "string" }, @@ -1732,7 +1733,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the parent to list notification configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent in which to list the notification configurations. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -2007,7 +2008,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id], folders/[folder_id], or projects/[project_id]\".", + "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id], \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -2313,6 +2314,7 @@ ], "parameters": { "name": { + "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", "location": "path", "pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", "required": true, @@ -2430,7 +2432,7 @@ ], "parameters": { "parent": { - "description": "Required. Name of the parent to groupBy. Its format is \"organizations/[organization_id], folders/[folder_id], or projects/[project_id]\".", + "description": "Required. The name of the parent to group the assets by. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -2491,7 +2493,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the parent assets should belong to. Its format is \"organizations/[organization_id], folders/[folder_id], or projects/[project_id]\".", + "description": "Required. The name of the parent that the listed assets belong to. Its format is \"organizations/[organization_id], \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -2571,7 +2573,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new BigQuery export's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent resource of the new BigQuery export. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -2599,7 +2601,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", + "description": "Required. The name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", "location": "path", "pattern": "^projects/[^/]+/bigQueryExports/[^/]+$", "required": true, @@ -2912,7 +2914,7 @@ ], "parameters": { "configId": { - "description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and contain alphanumeric characters, underscores or hyphens only.", + "description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.", "location": "query", "type": "string" }, @@ -3006,7 +3008,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the parent to list notification configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent in which to list the notification configurations. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -3080,7 +3082,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id], folders/[folder_id], or projects/[project_id]\".", + "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id], \"folders/[folder_id]\", or \"projects/[project_id]\".", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -3263,6 +3265,7 @@ ], "parameters": { "name": { + "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", "location": "path", "pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+$", "required": true, @@ -3367,7 +3370,7 @@ } } }, - "revision": "20221205", + "revision": "20230105", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -3706,11 +3709,11 @@ "type": "object" }, "Contact": { - "description": "Representa a single contact's email address", + "description": "The email address of a contact.", "id": "Contact", "properties": { "email": { - "description": "An email address e.g. \"person123@company.com\"", + "description": "An email address. For example, \"`person123@company.com`\".", "type": "string" } }, @@ -4324,7 +4327,7 @@ }, "vulnerability": { "$ref": "Vulnerability", - "description": "Represents vulnerability-specific fields like CVE and CVS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" + "description": "Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" } }, "type": "object" @@ -4383,7 +4386,7 @@ "id": "GoogleCloudSecuritycenterV1BigQueryExport", "properties": { "createTime": { - "description": "Output only. The time at which the big query export was created. This field is set by the server and will be ignored if provided on export on creation.", + "description": "Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -4401,7 +4404,7 @@ "type": "string" }, "mostRecentEditor": { - "description": "Output only. Email address of the user who last edited the big query export. This field is set by the server and will be ignored if provided on export creation or update.", + "description": "Output only. Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.", "readOnly": true, "type": "string" }, @@ -4410,12 +4413,12 @@ "type": "string" }, "principal": { - "description": "Output only. The service account that needs permission to create table, upload data to the big query dataset.", + "description": "Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.", "readOnly": true, "type": "string" }, "updateTime": { - "description": "Output only. The most recent time at which the big export was updated. This field is set by the server and will be ignored if provided on export creation or update.", + "description": "Output only. The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -4440,7 +4443,7 @@ "description": "The Role or ClusterRole referenced by the binding." }, "subjects": { - "description": "Represents the subjects(s) bound to the role. Not always available for PATCH requests.", + "description": "Represents one or more subjects that are bound to the role. Not always available for PATCH requests.", "items": { "$ref": "Subject" }, @@ -5151,7 +5154,7 @@ "type": "object" }, "Indicator": { - "description": "Represents what's commonly known as an Indicator of compromise (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise", + "description": "Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).", "id": "Indicator", "properties": { "domains": { @@ -5162,7 +5165,7 @@ "type": "array" }, "ipAddresses": { - "description": "List of ip addresses associated to the Finding.", + "description": "The list of IP addresses that are associated with the finding.", "items": { "type": "string" }, @@ -5194,7 +5197,7 @@ "type": "string" }, "unexpectedCodeModification": { - "description": "True when unexpected modifications of kernel read-only data memory are present.", + "description": "True when unexpected modifications of kernel code memory are present.", "type": "boolean" }, "unexpectedFtraceHandler": { @@ -5218,7 +5221,7 @@ "type": "boolean" }, "unexpectedReadOnlyDataModification": { - "description": "Flag indicating unexpected modifications of kernel read-only data memory.", + "description": "True when unexpected modifications of kernel read-only data memory are present.", "type": "boolean" }, "unexpectedSystemCallHandler": { @@ -5229,7 +5232,7 @@ "type": "object" }, "Kubernetes": { - "description": "Kubernetes related attributes.", + "description": "Kubernetes-related attributes.", "id": "Kubernetes", "properties": { "accessReviews": { @@ -6222,7 +6225,7 @@ "type": "object" }, "SetFindingStateRequest": { - "description": "Request message for updating a finding's state. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", + "description": "Request message for updating a finding's state.", "id": "SetFindingStateRequest", "properties": { "startTime": {
diff --git a/discovery/googleapis/serviceconsumermanagement__v1.json b/discovery/googleapis/serviceconsumermanagement__v1.json index e6f389d..2b6e761 100644 --- a/discovery/googleapis/serviceconsumermanagement__v1.json +++ b/discovery/googleapis/serviceconsumermanagement__v1.json
@@ -540,7 +540,7 @@ } } }, - "revision": "20221204", + "revision": "20230111", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "AddTenantProjectRequest": {
diff --git a/discovery/googleapis/servicecontrol__v1.json b/discovery/googleapis/servicecontrol__v1.json index e9da27d..1277366 100644 --- a/discovery/googleapis/servicecontrol__v1.json +++ b/discovery/googleapis/servicecontrol__v1.json
@@ -195,7 +195,7 @@ } } }, - "revision": "20221028", + "revision": "20230109", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "AllocateInfo": { @@ -1464,14 +1464,12 @@ "enum": [ "ACQUIRE", "ACQUIRE_BEST_EFFORT", - "CHECK", - "RELEASE" + "CHECK" ], "enumDescriptions": [ "Decreases available quota by the cost specified for the operation. If cost is higher than available quota, operation fails and returns error.", "Decreases available quota by the cost specified for the operation. If cost is higher than available quota, operation does not fail and available quota goes down to zero but it returns error.", - "Does not change any available quota. Only checks if there is enough quota. No lock is placed on the checked tokens neither.", - "DEPRECATED: Increases available quota by the operation cost specified for the operation." + "Does not change any available quota. Only checks if there is enough quota. No lock is placed on the checked tokens neither." ], "type": "string" }
diff --git a/discovery/googleapis/servicecontrol__v2.json b/discovery/googleapis/servicecontrol__v2.json index af65c2c..3450ea8 100644 --- a/discovery/googleapis/servicecontrol__v2.json +++ b/discovery/googleapis/servicecontrol__v2.json
@@ -167,7 +167,7 @@ } } }, - "revision": "20221028", + "revision": "20230109", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "Api": {
diff --git a/discovery/googleapis/servicedirectory__v1.json b/discovery/googleapis/servicedirectory__v1.json index 5b98ade..074bad9 100644 --- a/discovery/googleapis/servicedirectory__v1.json +++ b/discovery/googleapis/servicedirectory__v1.json
@@ -881,7 +881,7 @@ } } }, - "revision": "20221103", + "revision": "20230105", "rootUrl": "https://servicedirectory.googleapis.com/", "schemas": { "Binding": {
diff --git a/discovery/googleapis/servicemanagement__v1.json b/discovery/googleapis/servicemanagement__v1.json index 10832ce..0dbbea9 100644 --- a/discovery/googleapis/servicemanagement__v1.json +++ b/discovery/googleapis/servicemanagement__v1.json
@@ -827,7 +827,7 @@ } } }, - "revision": "20221111", + "revision": "20230105", "rootUrl": "https://servicemanagement.googleapis.com/", "schemas": { "Advice": { @@ -1072,6 +1072,11 @@ "description": "The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP \"authorization\" header, and sent to the backend.", "type": "string" }, + "minDeadline": { + "description": "Deprecated, do not use.", + "format": "double", + "type": "number" + }, "operationDeadline": { "description": "The number of seconds to wait for the completion of a long running operation. The default is no deadline.", "format": "double", @@ -1169,6 +1174,105 @@ }, "type": "object" }, + "ClientLibrarySettings": { + "description": "Details about how and where to publish client libraries.", + "id": "ClientLibrarySettings", + "properties": { + "cppSettings": { + "$ref": "CppSettings", + "description": "Settings for C++ client libraries." + }, + "dotnetSettings": { + "$ref": "DotnetSettings", + "description": "Settings for .NET client libraries." + }, + "goSettings": { + "$ref": "GoSettings", + "description": "Settings for Go client libraries." + }, + "javaSettings": { + "$ref": "JavaSettings", + "description": "Settings for legacy Java features, supported in the Service YAML." + }, + "launchStage": { + "description": "Launch stage of this version of the API.", + "enum": [ + "LAUNCH_STAGE_UNSPECIFIED", + "UNIMPLEMENTED", + "PRELAUNCH", + "EARLY_ACCESS", + "ALPHA", + "BETA", + "GA", + "DEPRECATED" + ], + "enumDescriptions": [ + "Do not use this default value.", + "The feature is not yet implemented. Users can not use it.", + "Prelaunch features are hidden from users and are only visible internally.", + "Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", + "Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", + "Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", + "GA features are open to all developers and are considered stable and fully qualified for production use.", + "Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." + ], + "type": "string" + }, + "nodeSettings": { + "$ref": "NodeSettings", + "description": "Settings for Node client libraries." + }, + "phpSettings": { + "$ref": "PhpSettings", + "description": "Settings for PHP client libraries." + }, + "pythonSettings": { + "$ref": "PythonSettings", + "description": "Settings for Python client libraries." + }, + "restNumericEnums": { + "description": "When using transport=rest, the client request will encode enums as numbers rather than strings.", + "type": "boolean" + }, + "rubySettings": { + "$ref": "RubySettings", + "description": "Settings for Ruby client libraries." + }, + "version": { + "description": "Version of the API to apply these settings to.", + "type": "string" + } + }, + "type": "object" + }, + "CommonLanguageSettings": { + "description": "Required information for every language.", + "id": "CommonLanguageSettings", + "properties": { + "destinations": { + "description": "The destination where API teams want this client library to be published.", + "items": { + "enum": [ + "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", + "GITHUB", + "PACKAGE_MANAGER" + ], + "enumDescriptions": [ + "Client libraries will neither be generated nor published to package managers.", + "Generate the client library in a repo under github.com/googleapis, but don't publish it to package managers.", + "Publish the library to package managers like nuget.org and npmjs.com." + ], + "type": "string" + }, + "type": "array" + }, + "referenceDocsUri": { + "description": "Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest", + "type": "string" + } + }, + "type": "object" + }, "ConfigChange": { "description": "Output generated from semantically comparing two versions of a service configuration. Includes detailed information about a field that have changed with applicable advice about potential consequences for the change, such as backwards-incompatibility.", "id": "ConfigChange", @@ -1330,7 +1434,7 @@ "type": "object" }, "Control": { - "description": "Selects and configures the service controller used by the service. The service controller handles two things: - **What is allowed:** for each API request, Chemist checks the project status, activation status, abuse status, billing status, service status, location restrictions, VPC Service Controls, SuperQuota, and other policies. - **What has happened:** for each API response, Chemist reports the telemetry data to analytics, auditing, billing, eventing, logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data not associated with API traffic, such as billing metrics. Example: control: environment: servicecontrol.googleapis.com", + "description": "Selects and configures the service controller used by the service. Example: control: environment: servicecontrol.googleapis.com", "id": "Control", "properties": { "environment": { @@ -1340,6 +1444,17 @@ }, "type": "object" }, + "CppSettings": { + "description": "Settings for C++ client libraries.", + "id": "CppSettings", + "properties": { + "common": { + "$ref": "CommonLanguageSettings", + "description": "Some settings." + } + }, + "type": "object" + }, "CustomError": { "description": "Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError", "id": "CustomError", @@ -1480,6 +1595,17 @@ }, "type": "object" }, + "DotnetSettings": { + "description": "Settings for Dotnet client libraries.", + "id": "DotnetSettings", + "properties": { + "common": { + "$ref": "CommonLanguageSettings", + "description": "Some settings." + } + }, + "type": "object" + }, "EnableServiceResponse": { "description": "Operation payload for EnableService method.", "id": "EnableServiceResponse", @@ -1490,6 +1616,13 @@ "description": "`Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true", "id": "Endpoint", "properties": { + "aliases": { + "description": "Unimplemented. Dot not use. DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on.", + "items": { + "type": "string" + }, + "type": "array" + }, "allowCors": { "description": "Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.", "type": "boolean" @@ -1788,6 +1921,17 @@ }, "type": "object" }, + "GoSettings": { + "description": "Settings for Go client libraries.", + "id": "GoSettings", + "properties": { + "common": { + "$ref": "CommonLanguageSettings", + "description": "Some settings." + } + }, + "type": "object" + }, "Http": { "description": "Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.", "id": "Http", @@ -1856,6 +2000,28 @@ }, "type": "object" }, + "JavaSettings": { + "description": "Settings for Java client libraries.", + "id": "JavaSettings", + "properties": { + "common": { + "$ref": "CommonLanguageSettings", + "description": "Some settings." + }, + "libraryPackage": { + "description": "The package name to use in Java. Clobbers the java_package option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.java.package_name\" field in gapic.yaml. API teams should use the protobuf java_package option where possible. Example of a YAML configuration:: publishing: java_settings: library_package: com.google.cloud.pubsub.v1", + "type": "string" + }, + "serviceClassNames": { + "additionalProperties": { + "type": "string" + }, + "description": "Configure the Java class name to use instead of the service's for its corresponding generated GAPIC client. Keys are fully-qualified service names as they appear in the protobuf (including the full the language_settings.java.interface_names\" field in gapic.yaml. API teams should otherwise use the service name as it appears in the protobuf. Example of a YAML configuration:: publishing: java_settings: service_class_names: - google.pubsub.v1.Publisher: TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin", + "type": "object" + } + }, + "type": "object" + }, "JwtLocation": { "description": "Specifies a location to extract JWT from an API request.", "id": "JwtLocation", @@ -2045,6 +2211,33 @@ }, "type": "object" }, + "LongRunning": { + "description": "Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).", + "id": "LongRunning", + "properties": { + "initialPollDelay": { + "description": "Initial delay after which the first poll request will be made. Default value: 5 seconds.", + "format": "google-duration", + "type": "string" + }, + "maxPollDelay": { + "description": "Maximum time between two subsequent poll requests. Default value: 45 seconds.", + "format": "google-duration", + "type": "string" + }, + "pollDelayMultiplier": { + "description": "Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.", + "format": "float", + "type": "number" + }, + "totalPollTimeout": { + "description": "Total polling timeout. Default value: 5 minutes.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "ManagedService": { "description": "The full representation of a Service that is managed by Google Service Management.", "id": "ManagedService", @@ -2106,6 +2299,21 @@ }, "type": "object" }, + "MethodSettings": { + "description": "Describes the generator configuration for a method.", + "id": "MethodSettings", + "properties": { + "longRunning": { + "$ref": "LongRunning", + "description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_behavior: - selector: CreateAdDomain long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes" + }, + "selector": { + "description": "The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options.", + "type": "string" + } + }, + "type": "object" + }, "MetricDescriptor": { "description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable. ", "id": "MetricDescriptor", @@ -2381,6 +2589,17 @@ }, "type": "object" }, + "NodeSettings": { + "description": "Settings for Node client libraries.", + "id": "NodeSettings", + "properties": { + "common": { + "$ref": "CommonLanguageSettings", + "description": "Some settings." + } + }, + "type": "object" + }, "OAuthRequirements": { "description": "OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for \"Read-only access to Google Calendar\" and \"Access to Cloud Platform\". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.", "id": "OAuthRequirements", @@ -2514,6 +2733,17 @@ }, "type": "object" }, + "PhpSettings": { + "description": "Settings for Php client libraries.", + "id": "PhpSettings", + "properties": { + "common": { + "$ref": "CommonLanguageSettings", + "description": "Some settings." + } + }, + "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", @@ -2545,6 +2775,83 @@ }, "type": "object" }, + "Publishing": { + "description": "This message configures the settings for publishing [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from the service config.", + "id": "Publishing", + "properties": { + "apiShortName": { + "description": "Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: \"speech\".", + "type": "string" + }, + "codeownerGithubTeams": { + "description": "GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.", + "items": { + "type": "string" + }, + "type": "array" + }, + "docTagPrefix": { + "description": "A prefix used in sample code when demarking regions to be included in documentation.", + "type": "string" + }, + "documentationUri": { + "description": "Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview", + "type": "string" + }, + "githubLabel": { + "description": "GitHub label to apply to issues and pull requests opened for this API.", + "type": "string" + }, + "librarySettings": { + "description": "Client library settings. If the same version string appears multiple times in this list, then the last one wins. Settings from earlier settings with the same version string are discarded.", + "items": { + "$ref": "ClientLibrarySettings" + }, + "type": "array" + }, + "methodSettings": { + "description": "A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern.", + "items": { + "$ref": "MethodSettings" + }, + "type": "array" + }, + "newIssueUri": { + "description": "Link to a place that API users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103", + "type": "string" + }, + "organization": { + "description": "For whom the client library is being published.", + "enum": [ + "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", + "CLOUD", + "ADS", + "PHOTOS", + "STREET_VIEW" + ], + "enumDescriptions": [ + "Not useful.", + "Google Cloud Platform Org.", + "Ads (Advertising) Org.", + "Photos Org.", + "Street View Org." + ], + "type": "string" + } + }, + "type": "object" + }, + "PythonSettings": { + "description": "Settings for Python client libraries.", + "id": "PythonSettings", + "properties": { + "common": { + "$ref": "CommonLanguageSettings", + "description": "Some settings." + } + }, + "type": "object" + }, "Quota": { "description": "Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: \"1/min/{project}\" # rate limit for consumer projects values: STANDARD: 10000 (The metric rules bind all methods to the read_calls metric, except for the UpdateBook and DeleteBook methods. These two methods are mapped to the write_calls metric, with the UpdateBook method consuming at twice rate as the DeleteBook method.) metric_rules: - selector: \"*\" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 ", "id": "Quota", @@ -2689,6 +2996,17 @@ }, "type": "object" }, + "RubySettings": { + "description": "Settings for Ruby client libraries.", + "id": "RubySettings", + "properties": { + "common": { + "$ref": "CommonLanguageSettings", + "description": "Some settings." + } + }, + "type": "object" + }, "Service": { "description": "`Service` is the root object of Google API service configuration (service config). It describes the basic information about a logical service, such as the service name and the user-facing title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. For more information, see each proto message definition. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar visibility: rules: - selector: \"google.calendar.v3.*\" restriction: PREVIEW backend: rules: - selector: \"google.calendar.v3.*\" address: calendar.example.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth", "id": "Service", @@ -2792,6 +3110,10 @@ "description": "The Google project that owns this service.", "type": "string" }, + "publishing": { + "$ref": "Publishing", + "description": "Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers." + }, "quota": { "$ref": "Quota", "description": "Quota configuration."
diff --git a/discovery/googleapis/servicenetworking__v1.json b/discovery/googleapis/servicenetworking__v1.json index 7a4f0a6..a4f368d 100644 --- a/discovery/googleapis/servicenetworking__v1.json +++ b/discovery/googleapis/servicenetworking__v1.json
@@ -863,7 +863,7 @@ } } }, - "revision": "20221115", + "revision": "20230115", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -973,6 +973,10 @@ "description": "Request to create a subnetwork in a previously peered service network.", "id": "AddSubnetworkRequest", "properties": { + "allowSubnetCidrRoutesOverlap": { + "description": "Optional. Defines the allowSubnetCidrRoutesOverlap field of the subnet, e.g. Available in alpha and beta according to [Compute API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/subnetworks/insert)", + "type": "boolean" + }, "checkServiceNetworkingUsePermission": { "description": "Optional. The IAM permission check determines whether the consumer project has 'servicenetworking.services.use' permission or not.", "type": "boolean" @@ -995,7 +999,7 @@ "type": "string" }, "ipPrefixLength": { - "description": "Required. The prefix length of the subnet's IP address range. Use CIDR range notation, such as `30` to provision a subnet with an `x.x.x.x/30` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range.", + "description": "Required. The prefix length of the subnet's IP address range. Use CIDR range notation, such as `29` to provision a subnet with an `x.x.x.x/29` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range. GCE disallows subnets with prefix_length > 29", "format": "int32", "type": "integer" }, @@ -1026,6 +1030,10 @@ }, "type": "array" }, + "role": { + "description": "Optional. Defines the role field of the subnet, e.g. 'ACTIVE'. For information about the roles that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.", + "type": "string" + }, "secondaryIpRangeSpecs": { "description": "Optional. A list of secondary IP ranges to be created within the new subnetwork.", "items": { @@ -3044,7 +3052,7 @@ "id": "RangeReservation", "properties": { "ipPrefixLength": { - "description": "Required. The size of the desired subnet. Use usual CIDR range notation. For example, '30' to find unused x.x.x.x/30 CIDR range. The goal is to determine if one of the allocated ranges has enough free space for a subnet of the requested size.", + "description": "Required. The size of the desired subnet. Use usual CIDR range notation. For example, '29' to find unused x.x.x.x/29 CIDR range. The goal is to determine if one of the allocated ranges has enough free space for a subnet of the requested size. GCE disallows subnets with prefix_length > 29", "format": "int32", "type": "integer" }, @@ -3056,7 +3064,7 @@ "type": "array" }, "secondaryRangeIpPrefixLengths": { - "description": "Optional. The size of the desired secondary ranges for the subnet. Use usual CIDR range notation. For example, '30' to find unused x.x.x.x/30 CIDR range. The goal is to determine that the allocated ranges have enough free space for all the requested secondary ranges.", + "description": "Optional. The size of the desired secondary ranges for the subnet. Use usual CIDR range notation. For example, '29' to find unused x.x.x.x/29 CIDR range. The goal is to determine that the allocated ranges have enough free space for all the requested secondary ranges. GCE disallows subnets with prefix_length > 29", "items": { "format": "int32", "type": "integer"
diff --git a/discovery/googleapis/serviceusage__v1.json b/discovery/googleapis/serviceusage__v1.json index 656f23a..942e139 100644 --- a/discovery/googleapis/serviceusage__v1.json +++ b/discovery/googleapis/serviceusage__v1.json
@@ -424,7 +424,7 @@ } } }, - "revision": "20221204", + "revision": "20230111", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AdminQuotaPolicy": {
diff --git a/discovery/googleapis/sheets__v4.json b/discovery/googleapis/sheets__v4.json index 7457a25..4c37410 100644 --- a/discovery/googleapis/sheets__v4.json +++ b/discovery/googleapis/sheets__v4.json
@@ -167,7 +167,7 @@ ] }, "get": { - "description": "Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a field mask listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges.", + "description": "Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a [field mask](https://developers.google.com/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges.", "flatPath": "v4/spreadsheets/{spreadsheetId}", "httpMethod": "GET", "id": "sheets.spreadsheets.get", @@ -206,7 +206,7 @@ ] }, "getByDataFilter": { - "description": "Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data one of 2 ways: * Specify a field mask listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want.", + "description": "Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data one of 2 ways: * Specify a [field mask](https://developers.google.com/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want.", "flatPath": "v4/spreadsheets/{spreadsheetId}:getByDataFilter", "httpMethod": "POST", "id": "sheets.spreadsheets.getByDataFilter", @@ -868,7 +868,7 @@ } } }, - "revision": "20221115", + "revision": "20230104", "rootUrl": "https://sheets.googleapis.com/", "schemas": { "AddBandingRequest": {
diff --git a/discovery/googleapis/slides__v1.json b/discovery/googleapis/slides__v1.json index c22c2f0..9c3fef2 100644 --- a/discovery/googleapis/slides__v1.json +++ b/discovery/googleapis/slides__v1.json
@@ -311,7 +311,7 @@ } } }, - "revision": "20221115", + "revision": "20230104", "rootUrl": "https://slides.googleapis.com/", "schemas": { "AffineTransform": { @@ -530,14 +530,14 @@ "properties": { "elementProperties": { "$ref": "PageElementProperties", - "description": "The element properties for the image. When the aspect ratio of the provided size does not match the image aspect ratio, the image is scaled and centered with respect to the size in order to maintain aspect ratio. The provided transform is applied after this operation. The PageElementProperties.size property is optional. If you don't specify the size, the default size of the image is used. The PageElementProperties.transform property is optional. If you don't specify a transform, the image will be placed at the top left corner of the page." + "description": "The element properties for the image. When the aspect ratio of the provided size does not match the image aspect ratio, the image is scaled and centered with respect to the size in order to maintain the aspect ratio. The provided transform is applied after this operation. The PageElementProperties.size property is optional. If you don't specify the size, the default size of the image is used. The PageElementProperties.transform property is optional. If you don't specify a transform, the image will be placed at the top-left corner of the page." }, "objectId": { "description": "A user-supplied object ID. If you specify an ID, it must be unique among all pages and page elements in the presentation. The ID must start with an alphanumeric character or an underscore (matches regex `[a-zA-Z0-9_]`); remaining characters may include those as well as a hyphen or colon (matches regex `[a-zA-Z0-9_-:]`). The length of the ID must not be less than 5 or greater than 50. If you don't specify an ID, a unique one is generated.", "type": "string" }, "url": { - "description": "The image URL. The image is fetched once at insertion time and a copy is stored for display inside the presentation. Images must be less than 50MB in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. The provided URL can be at most 2 kB in length. The URL itself is saved with the image, and exposed via the Image.source_url field.", + "description": "The image URL. The image is fetched once at insertion time and a copy is stored for display inside the presentation. Images must be less than 50 MB in size, can't exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF formats. The provided URL can be up to 2 KB in length. The URL is saved with the image, and exposed through the Image.source_url field.", "type": "string" } },
diff --git a/discovery/googleapis/smartdevicemanagement__v1.json b/discovery/googleapis/smartdevicemanagement__v1.json index dd60961..a4f7870 100644 --- a/discovery/googleapis/smartdevicemanagement__v1.json +++ b/discovery/googleapis/smartdevicemanagement__v1.json
@@ -343,7 +343,7 @@ } } }, - "revision": "20221128", + "revision": "20221210", "rootUrl": "https://smartdevicemanagement.googleapis.com/", "schemas": { "GoogleHomeEnterpriseSdmV1Device": {
diff --git a/discovery/googleapis/sourcerepo__v1.json b/discovery/googleapis/sourcerepo__v1.json index 429f73a..3af66a2 100644 --- a/discovery/googleapis/sourcerepo__v1.json +++ b/discovery/googleapis/sourcerepo__v1.json
@@ -448,7 +448,7 @@ } } }, - "revision": "20221129", + "revision": "20230110", "rootUrl": "https://sourcerepo.googleapis.com/", "schemas": { "AuditConfig": {
diff --git a/discovery/googleapis/spanner__v1.json b/discovery/googleapis/spanner__v1.json index fe482d4..784f053 100644 --- a/discovery/googleapis/spanner__v1.json +++ b/discovery/googleapis/spanner__v1.json
@@ -2400,7 +2400,7 @@ } } }, - "revision": "20221121", + "revision": "20230113", "rootUrl": "https://spanner.googleapis.com/", "schemas": { "Backup": {
diff --git a/discovery/googleapis/speech__v1.json b/discovery/googleapis/speech__v1.json index 5059e0d..875d168 100644 --- a/discovery/googleapis/speech__v1.json +++ b/discovery/googleapis/speech__v1.json
@@ -522,9 +522,22 @@ } } }, - "revision": "20221115", + "revision": "20230106", "rootUrl": "https://speech.googleapis.com/", "schemas": { + "ABNFGrammar": { + "id": "ABNFGrammar", + "properties": { + "abnfStrings": { + "description": "All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ClassItem": { "description": "An item of the class.", "id": "ClassItem", @@ -1110,6 +1123,10 @@ "description": "Speech adaptation configuration.", "id": "SpeechAdaptation", "properties": { + "abnfGrammar": { + "$ref": "ABNFGrammar", + "description": "Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar" + }, "customClasses": { "description": "A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.", "items": {
diff --git a/discovery/googleapis/storage__v1.json b/discovery/googleapis/storage__v1.json index ab3b96d..d8571d4 100644 --- a/discovery/googleapis/storage__v1.json +++ b/discovery/googleapis/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": "\"3137373637323833343536383936393533373730\"", + "etag": "\"3137373539353436393037313838323535373536\"", "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" @@ -3004,7 +3004,7 @@ } } }, - "revision": "20221130", + "revision": "20230114", "rootUrl": "https://storage.googleapis.com/", "schemas": { "Bucket": {
diff --git a/discovery/googleapis/storagetransfer__v1.json b/discovery/googleapis/storagetransfer__v1.json index 2304002..cfbb06c 100644 --- a/discovery/googleapis/storagetransfer__v1.json +++ b/discovery/googleapis/storagetransfer__v1.json
@@ -630,7 +630,7 @@ } } }, - "revision": "20221103", + "revision": "20230105", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AgentPool": { @@ -893,6 +893,27 @@ }, "type": "object" }, + "EventStream": { + "description": "Specifies the Event-driven transfer options. Event-driven transfers listen to an event stream to transfer updated files.", + "id": "EventStream", + "properties": { + "eventStreamExpirationTime": { + "description": "Specifies the data and time at which Storage Transfer Service stops listening for events from this stream. After this time, any transfers in progress will complete, but no new transfers are initiated.", + "format": "google-datetime", + "type": "string" + }, + "eventStreamStartTime": { + "description": "Specifies the date and time that Storage Transfer Service starts listening for events from this stream. If no start time is specified or start time is in the past, Storage Transfer Service starts listening immediately.", + "format": "google-datetime", + "type": "string" + }, + "name": { + "description": "Required. Specifies a unique name of the resource such as AWS SQS ARN in the form 'arn:aws:sqs:region:account_id:queue_name', or Pub/Sub subscription resource name in the form 'projects/{project}/subscriptions/{sub}'.", + "type": "string" + } + }, + "type": "object" + }, "GcsData": { "description": "In a GcsData resource, an object's name is the Cloud Storage object's name and its \"last modification time\" refers to the object's `updated` property of Cloud Storage objects, which changes when the content or the metadata of the object is updated.", "id": "GcsData", @@ -1607,6 +1628,10 @@ "description": "A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.", "type": "string" }, + "eventStream": { + "$ref": "EventStream", + "description": "Specifies the event stream for the transfer job for event-driven transfers. When EventStream is specified, the Schedule fields are ignored." + }, "lastModificationTime": { "description": "Output only. The time that the transfer job was last modified.", "format": "google-datetime", @@ -1717,7 +1742,8 @@ "SUCCESS", "FAILED", "ABORTED", - "QUEUED" + "QUEUED", + "SUSPENDING" ], "enumDescriptions": [ "Zero is an illegal value.", @@ -1726,7 +1752,8 @@ "Completed successfully.", "Terminated due to an unrecoverable failure.", "Aborted by the user.", - "Temporarily delayed by the system. No user action is required." + "Temporarily delayed by the system. No user action is required.", + "The operation is suspending and draining the ongoing work to completion." ], "type": "string" },
diff --git a/discovery/googleapis/streetviewpublish__v1.json b/discovery/googleapis/streetviewpublish__v1.json index feff406..9b9f03e 100644 --- a/discovery/googleapis/streetviewpublish__v1.json +++ b/discovery/googleapis/streetviewpublish__v1.json
@@ -531,7 +531,7 @@ } } }, - "revision": "20221205", + "revision": "20230116", "rootUrl": "https://streetviewpublish.googleapis.com/", "schemas": { "BatchDeletePhotosRequest": { @@ -806,6 +806,33 @@ }, "type": "object" }, + "NoOverlapGpsFailureDetails": { + "description": "Details related to PhotoSequenceProcessingFailureReason#NO_OVERLAP_GPS.", + "id": "NoOverlapGpsFailureDetails", + "properties": { + "gpsEndTime": { + "description": "Time of last recorded GPS point.", + "format": "google-datetime", + "type": "string" + }, + "gpsStartTime": { + "description": "Time of first recorded GPS point.", + "format": "google-datetime", + "type": "string" + }, + "videoEndTime": { + "description": "End time of video.", + "format": "google-datetime", + "type": "string" + }, + "videoStartTime": { + "description": "Start time of video.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "NotOutdoorsFailureDetails": { "description": "Details related to ProcessingFailureReason#NOT_OUTDOORS. If there are multiple indoor frames found, the first frame is recorded here.", "id": "NotOutdoorsFailureDetails", @@ -1226,6 +1253,10 @@ "$ref": "InsufficientGpsFailureDetails", "description": "See InsufficientGpsFailureDetails." }, + "noOverlapGpsDetails": { + "$ref": "NoOverlapGpsFailureDetails", + "description": "See NoOverlapGpsFailureDetails." + }, "notOutdoorsDetails": { "$ref": "NotOutdoorsFailureDetails", "description": "See NotOutdoorsFailureDetails."
diff --git a/discovery/googleapis/sts__v1.json b/discovery/googleapis/sts__v1.json index 4775fc7..6e8df1f 100644 --- a/discovery/googleapis/sts__v1.json +++ b/discovery/googleapis/sts__v1.json
@@ -111,8 +111,23 @@ "$ref": "GoogleIdentityStsV1IntrospectTokenResponse" } }, + "oauthtoken": { + "description": "Exchanges a credential that represents the resource owner's authorization for a Google-generated [OAuth 2.0 access token] (https://www.rfc-editor.org/rfc/rfc6749#section-5) or [refreshes an accesstoken] (https://www.rfc-editor.org/rfc/rfc6749#section-6) following [the OAuth 2.0 authorization framework] (https://tools.ietf.org/html/rfc8693) The credential can be one of the following: - An authorization code issued by the workforce identity federation authorization endpoint - A [refresh token](https://www.rfc-editor.org/rfc/rfc6749#section-10.4) issued by this endpoint This endpoint is only meant to be called by the Google Cloud CLI. Also note that this API only accepts the authorization code issued for workforce pools.", + "flatPath": "v1/oauthtoken", + "httpMethod": "POST", + "id": "sts.oauthtoken", + "parameterOrder": [], + "parameters": {}, + "path": "v1/oauthtoken", + "request": { + "$ref": "GoogleIdentityStsV1ExchangeOauthTokenRequest" + }, + "response": { + "$ref": "GoogleIdentityStsV1ExchangeOauthTokenResponse" + } + }, "token": { - "description": "Exchanges a credential for a Google OAuth 2.0 access token. The token asserts an external identity within an identity pool, or it applies a Credential Access Boundary to a Google access token. Note that workforce pools do not support Credential Access Boundary at the moment. When you call this method, do not send the `Authorization` HTTP header in the request. This method does not require the `Authorization` header, and using the header can cause the request to fail.", + "description": "Exchanges a credential for a Google OAuth 2.0 access token. The token asserts an external identity within an identity pool, or it applies a Credential Access Boundary to a Google access token. Note that workforce pools do not support Credential Access Boundaries. When you call this method, do not send the `Authorization` HTTP header in the request. This method does not require the `Authorization` header, and using the header can cause the request to fail.", "flatPath": "v1/token", "httpMethod": "POST", "id": "sts.token", @@ -129,7 +144,7 @@ } } }, - "revision": "20221112", + "revision": "20230107", "rootUrl": "https://sts.googleapis.com/", "schemas": { "GoogleIamV1Binding": { @@ -190,6 +205,69 @@ }, "type": "object" }, + "GoogleIdentityStsV1ExchangeOauthTokenRequest": { + "description": "Request message for ExchangeOauthToken", + "id": "GoogleIdentityStsV1ExchangeOauthTokenRequest", + "properties": { + "clientId": { + "description": "Optional. The client identifier for the OAuth 2.0 client that requested the provided token. It is REQUIRED when the [client] (https://www.rfc-editor.org/rfc/rfc6749#section-1.1) is not authenticating with the authorization server, i.e. when authentication method is [client authentication] (https://www.rfc-editor.org/rfc/rfc6749#section-3.2.1).", + "type": "string" + }, + "code": { + "description": "Optional. The authorization code that was previously from workforce identity federation's `authorize` endpoint. Required if the flow is authorization code flow, i.e. if grant_type is 'authorization_code'", + "type": "string" + }, + "codeVerifier": { + "description": "Optional. The code verifier for the PKCE request, Google Cloud CLI originally generates it before the authorization request. PKCE is used to protect authorization code from interception attacks. See https://www.rfc-editor.org/rfc/rfc7636#section-1.1 and https://www.rfc-editor.org/rfc/rfc7636#section-3. It is required when the flow is authorization code flow, i.e. if grant_type is 'authorization_code'", + "type": "string" + }, + "grantType": { + "description": "Required. The grant types are as follows: - 'authorization_code' : an authorization code flow, i.e. exchange of authorization code for the Oauth access token - 'refresh_token' : a refresh token flow, i.e. obtain a new access token by providing the refresh token. See https://www.rfc-editor.org/rfc/rfc6749#section-6", + "type": "string" + }, + "redirectUri": { + "description": "Optional. redirect_url is required when the flow is authorization code flow i.e. if grant_type is `authorization_code` See https://www.rfc-editor.org/rfc/rfc6749#section-4.1.3", + "type": "string" + }, + "refreshToken": { + "description": "Optional. The Refresh token is the credential that is used to obtain a new access token when the current access token becomes invalid or expires. Required when using refresh token flow, i.e. if `grant_type` is 'refresh_token' See https://www.rfc-editor.org/rfc/rfc6749#section-1.5 and https://www.rfc-editor.org/rfc/rfc6749#section-6", + "type": "string" + }, + "scope": { + "description": "Optional. An optional list of scopes that are requested for the token to be returned. See https://www.rfc-editor.org/rfc/rfc6749#section-3.3 Must be a list of space-delimited, case-sensitive strings. Note: Currently, the scopes in the request are not supported", + "type": "string" + } + }, + "type": "object" + }, + "GoogleIdentityStsV1ExchangeOauthTokenResponse": { + "description": "Response message for ExchangeOauthToken. see https://www.rfc-editor.org/rfc/rfc6749#section-5.1", + "id": "GoogleIdentityStsV1ExchangeOauthTokenResponse", + "properties": { + "access_token": { + "description": "An OAuth 2.0 security token, issued by Google, in response to the Oauth token exchange request for the authorization code and refresh token flows. The returned [access token](https://www.rfc-editor.org/rfc/rfc6749#section-4.1.4). Tokens can vary in size, depending, in part, on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time.", + "type": "string" + }, + "expires_in": { + "description": "The amount of time, in seconds, between the time when the access token was issued and the time when the access token will expires.", + "format": "int32", + "type": "integer" + }, + "refresh_token": { + "description": "A refresh token, issued by Google, in response to the OAuth token exchange request for refresh token flow", + "type": "string" + }, + "scope": { + "description": "A list of scopes associated with the returned token.", + "type": "string" + }, + "token_type": { + "description": "The type of token. Field reserved for RFC compliance. See https://www.rfc-editor.org/rfc/rfc6749#section-5.1 Note: No token_type is returned for current implementation", + "type": "string" + } + }, + "type": "object" + }, "GoogleIdentityStsV1ExchangeTokenRequest": { "description": "Request message for ExchangeToken.", "id": "GoogleIdentityStsV1ExchangeTokenRequest",
diff --git a/discovery/googleapis/tagmanager__v1.json b/discovery/googleapis/tagmanager__v1.json index 8661415..7fb5694 100644 --- a/discovery/googleapis/tagmanager__v1.json +++ b/discovery/googleapis/tagmanager__v1.json
@@ -1931,7 +1931,7 @@ } } }, - "revision": "20221130", + "revision": "20230113", "rootUrl": "https://tagmanager.googleapis.com/", "schemas": { "Account": {
diff --git a/discovery/googleapis/tagmanager__v2.json b/discovery/googleapis/tagmanager__v2.json index 0b31d93..6fb7e01 100644 --- a/discovery/googleapis/tagmanager__v2.json +++ b/discovery/googleapis/tagmanager__v2.json
@@ -1448,7 +1448,8 @@ "queryString", "serverPageLocationUrl", "serverPageLocationPath", - "serverPageLocationHostname" + "serverPageLocationHostname", + "visitorRegion" ], "enumDescriptions": [ "", @@ -1563,6 +1564,7 @@ "", "", "", + "", "" ], "location": "query", @@ -1709,7 +1711,8 @@ "queryString", "serverPageLocationUrl", "serverPageLocationPath", - "serverPageLocationHostname" + "serverPageLocationHostname", + "visitorRegion" ], "enumDescriptions": [ "", @@ -1824,6 +1827,7 @@ "", "", "", + "", "" ], "location": "query", @@ -1998,7 +2002,8 @@ "queryString", "serverPageLocationUrl", "serverPageLocationPath", - "serverPageLocationHostname" + "serverPageLocationHostname", + "visitorRegion" ], "enumDescriptions": [ "", @@ -2113,6 +2118,7 @@ "", "", "", + "", "" ], "location": "query", @@ -3709,7 +3715,7 @@ } } }, - "revision": "20221130", + "revision": "20230113", "rootUrl": "https://tagmanager.googleapis.com/", "schemas": { "Account": { @@ -3919,7 +3925,8 @@ "queryString", "serverPageLocationUrl", "serverPageLocationPath", - "serverPageLocationHostname" + "serverPageLocationHostname", + "visitorRegion" ], "enumDescriptions": [ "", @@ -4034,6 +4041,7 @@ "", "", "", + "", "" ], "type": "string"
diff --git a/discovery/googleapis/tasks__v1.json b/discovery/googleapis/tasks__v1.json index 2ea895a..e2b4e73 100644 --- a/discovery/googleapis/tasks__v1.json +++ b/discovery/googleapis/tasks__v1.json
@@ -564,7 +564,7 @@ } } }, - "revision": "20221203", + "revision": "20230115", "rootUrl": "https://tasks.googleapis.com/", "schemas": { "Task": {
diff --git a/discovery/googleapis/testing__v1.json b/discovery/googleapis/testing__v1.json index 313cd16..f101184 100644 --- a/discovery/googleapis/testing__v1.json +++ b/discovery/googleapis/testing__v1.json
@@ -281,7 +281,7 @@ } } }, - "revision": "20221129", + "revision": "20230110", "rootUrl": "https://testing.googleapis.com/", "schemas": { "Account": { @@ -1424,7 +1424,7 @@ "id": "ManualSharding", "properties": { "testTargetsForShard": { - "description": "Required. Group of packages, classes, and/or test methods to be run for each manually-created shard. You must specify at least one shard if this field is present. When you select one or more physical devices, the number of repeated test_targets_for_shard must be <= 50. When you select one or more ARM virtual devices, it must be <= 50. When you select only x86 virtual devices, it must be <= 500.", + "description": "Required. Group of packages, classes, and/or test methods to be run for each manually-created shard. You must specify at least one shard if this field is present. When you select one or more physical devices, the number of repeated test_targets_for_shard must be <= 50. When you select one or more ARM virtual devices, it must be <= 100. When you select only x86 virtual devices, it must be <= 500.", "items": { "$ref": "TestTargetsForShard" }, @@ -1867,7 +1867,6 @@ "INVALID_INPUT_APK", "INVALID_APK_PREVIEW_SDK", "MATRIX_TOO_LARGE", - "DEVICE_QUOTA_EXCEEDED", "TEST_QUOTA_EXCEEDED", "SERVICE_NOT_ACTIVATED", "UNKNOWN_PERMISSION_ERROR" @@ -1909,7 +1908,6 @@ "Either the provided input APK path was malformed, the APK file does not exist, or the user does not have permission to access the APK file.", "APK is built for a preview SDK which is unsupported", "The matrix expanded to contain too many executions.", - "Deprecated: Not enough device quota to run the executions in this matrix.", "Not enough test quota to run the executions in this matrix.", "A required cloud service api is not activated. See: https://firebase.google.com/docs/test-lab/android/continuous#requirements", "There was an unknown permission issue running this test." @@ -2202,7 +2200,7 @@ "id": "UniformSharding", "properties": { "numShards": { - "description": "Required. The total number of shards to create. This must always be a positive number that is no greater than the total number of test cases. When you select one or more physical devices, the number of shards must be <= 50. When you select one or more ARM virtual devices, it must be <= 50. When you select only x86 virtual devices, it must be <= 500.", + "description": "Required. The total number of shards to create. This must always be a positive number that is no greater than the total number of test cases. When you select one or more physical devices, the number of shards must be <= 50. When you select one or more ARM virtual devices, it must be <= 100. When you select only x86 virtual devices, it must be <= 500.", "format": "int32", "type": "integer" }
diff --git a/discovery/googleapis/texttospeech__v1.json b/discovery/googleapis/texttospeech__v1.json index e0bd2f4..64ffb4e 100644 --- a/discovery/googleapis/texttospeech__v1.json +++ b/discovery/googleapis/texttospeech__v1.json
@@ -157,108 +157,110 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "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": "v1/operations/{operationsId}", - "httpMethod": "GET", - "id": "texttospeech.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^operations/.*$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", - "flatPath": "v1/operations", - "httpMethod": "GET", - "id": "texttospeech.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": "^operations$", - "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": "v1/{+name}", - "response": { - "$ref": "ListOperationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, "projects": { "resources": { "locations": { + "methods": { + "synthesizeLongAudio": { + "description": "Synthesizes long form text asynchronously.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:synthesizeLongAudio", + "httpMethod": "POST", + "id": "texttospeech.projects.locations.synthesizeLongAudio", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "The resource states of the request in the form of `projects/*/locations/*/voices/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}:synthesizeLongAudio", + "request": { + "$ref": "SynthesizeLongAudioRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { - "voices": { + "operations": { "methods": { - "synthesizeLongAudio": { - "description": "Synthesizes long form text asynchronously.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/voices/{voicesId}:SynthesizeLongAudio", - "httpMethod": "POST", - "id": "texttospeech.projects.locations.voices.synthesizeLongAudio", + "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": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "texttospeech.projects.locations.operations.get", "parameterOrder": [ - "parent" + "name" ], "parameters": { - "parent": { - "description": "The resource states of the request in the form of projects/*/locations/*/voices/*.", + "name": { + "description": "The name of the operation resource.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/voices/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", "required": true, "type": "string" } }, - "path": "v1/{+parent}:SynthesizeLongAudio", - "request": { - "$ref": "SynthesizeLongAudioRequest" - }, + "path": "v1/{+name}", "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "texttospeech.projects.locations.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/[^/]+/locations/[^/]+$", + "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": "v1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } } @@ -314,7 +316,7 @@ } } }, - "revision": "20221201", + "revision": "20230105", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AudioConfig": { @@ -408,6 +410,23 @@ "properties": {}, "type": "object" }, + "GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata": { + "description": "Metadata for response returned by the `SynthesizeLongAudio` method.", + "id": "GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata", + "properties": { + "progressPercentage": { + "description": "The progress of the most recent processing update in percentage, ie. 70.0%.", + "format": "double", + "type": "number" + }, + "startTime": { + "description": "Time when the request was received.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "ListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "ListOperationsResponse", @@ -517,6 +536,23 @@ }, "type": "object" }, + "SynthesizeLongAudioMetadata": { + "description": "Metadata for response returned by the `SynthesizeLongAudio` method.", + "id": "SynthesizeLongAudioMetadata", + "properties": { + "progressPercentage": { + "description": "The progress of the most recent processing update in percentage, ie. 70.0%.", + "format": "double", + "type": "number" + }, + "startTime": { + "description": "Time when the request was received.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "SynthesizeLongAudioRequest": { "description": "The top-level message sent by the client for the `SynthesizeLongAudio` method.", "id": "SynthesizeLongAudioRequest",
diff --git a/discovery/googleapis/tpu__v1.json b/discovery/googleapis/tpu__v1.json index 93c26d9..4eeb019 100644 --- a/discovery/googleapis/tpu__v1.json +++ b/discovery/googleapis/tpu__v1.json
@@ -657,7 +657,7 @@ } } }, - "revision": "20221130", + "revision": "20230105", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorType": {
diff --git a/discovery/googleapis/tpu__v2.json b/discovery/googleapis/tpu__v2.json index e372f4b..e6b2786 100644 --- a/discovery/googleapis/tpu__v2.json +++ b/discovery/googleapis/tpu__v2.json
@@ -471,7 +471,7 @@ ], "parameters": { "name": { - "description": "The resource name.", + "description": "Required. The resource name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", "required": true, @@ -499,7 +499,7 @@ ], "parameters": { "name": { - "description": "The resource name.", + "description": "Required. The resource name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", "required": true, @@ -719,7 +719,7 @@ } } }, - "revision": "20221130", + "revision": "20230105", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorType": {
diff --git a/discovery/googleapis/trafficdirector__v2.json b/discovery/googleapis/trafficdirector__v2.json index 0cd8c74..5e2cae6 100644 --- a/discovery/googleapis/trafficdirector__v2.json +++ b/discovery/googleapis/trafficdirector__v2.json
@@ -126,7 +126,7 @@ } } }, - "revision": "20221106", + "revision": "20221216", "rootUrl": "https://trafficdirector.googleapis.com/", "schemas": { "Address": {
diff --git a/discovery/googleapis/transcoder__v1.json b/discovery/googleapis/transcoder__v1.json index 2398492..bfd3310 100644 --- a/discovery/googleapis/transcoder__v1.json +++ b/discovery/googleapis/transcoder__v1.json
@@ -383,7 +383,7 @@ } } }, - "revision": "20221108", + "revision": "20230105", "rootUrl": "https://transcoder.googleapis.com/", "schemas": { "AdBreak": { @@ -803,7 +803,7 @@ "type": "integer" }, "heightPixels": { - "description": "The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used.", + "description": "The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.", "format": "int32", "type": "integer" }, @@ -838,7 +838,7 @@ "type": "integer" }, "widthPixels": { - "description": "The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used.", + "description": "The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.", "format": "int32", "type": "integer" } @@ -897,7 +897,7 @@ "type": "integer" }, "heightPixels": { - "description": "The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used.", + "description": "The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.", "format": "int32", "type": "integer" }, @@ -932,7 +932,7 @@ "type": "integer" }, "widthPixels": { - "description": "The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used.", + "description": "The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.", "format": "int32", "type": "integer" } @@ -1437,12 +1437,12 @@ "type": "integer" }, "spriteHeightPixels": { - "description": "Required. The height of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_height_pixels field or the SpriteSheet.sprite_width_pixels field, but not both (the API will automatically calculate the missing field).", + "description": "Required. The height of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_height_pixels field or the SpriteSheet.sprite_width_pixels field, but not both (the API will automatically calculate the missing field). For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.", "format": "int32", "type": "integer" }, "spriteWidthPixels": { - "description": "Required. The width of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_width_pixels field or the SpriteSheet.sprite_height_pixels field, but not both (the API will automatically calculate the missing field).", + "description": "Required. The width of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_width_pixels field or the SpriteSheet.sprite_height_pixels field, but not both (the API will automatically calculate the missing field). For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.", "format": "int32", "type": "integer" }, @@ -1573,7 +1573,7 @@ "type": "integer" }, "heightPixels": { - "description": "The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used.", + "description": "The height of the video in pixels. Must be an even integer. When not specified, the height is adjusted to match the specified width and input aspect ratio. If both are omitted, the input height is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.", "format": "int32", "type": "integer" }, @@ -1590,7 +1590,7 @@ "type": "string" }, "widthPixels": { - "description": "The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used.", + "description": "The width of the video in pixels. Must be an even integer. When not specified, the width is adjusted to match the specified height and input aspect ratio. If both are omitted, the input width is used. For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.", "format": "int32", "type": "integer" }
diff --git a/discovery/googleapis/translate__v3.json b/discovery/googleapis/translate__v3.json index ddaf9af..4b1dc2d 100644 --- a/discovery/googleapis/translate__v3.json +++ b/discovery/googleapis/translate__v3.json
@@ -455,6 +455,234 @@ } }, "resources": { + "datasets": { + "methods": { + "create": { + "description": "Creates a Dataset.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets", + "httpMethod": "POST", + "id": "translate.projects.locations.datasets.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The project name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/datasets", + "request": { + "$ref": "Dataset" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-translation" + ] + }, + "delete": { + "description": "Deletes a dataset and all of its contents.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", + "httpMethod": "DELETE", + "id": "translate.projects.locations.datasets.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the dataset to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-translation" + ] + }, + "exportData": { + "description": "Exports dataset's data to the provided output location.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:exportData", + "httpMethod": "POST", + "id": "translate.projects.locations.datasets.exportData", + "parameterOrder": [ + "dataset" + ], + "parameters": { + "dataset": { + "description": "Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+dataset}:exportData", + "request": { + "$ref": "ExportDataRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-translation" + ] + }, + "get": { + "description": "Gets a Dataset.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", + "httpMethod": "GET", + "id": "translate.projects.locations.datasets.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the dataset to retrieve.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "Dataset" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-translation" + ] + }, + "importData": { + "description": "Import sentence pairs into translation Dataset.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:importData", + "httpMethod": "POST", + "id": "translate.projects.locations.datasets.importData", + "parameterOrder": [ + "dataset" + ], + "parameters": { + "dataset": { + "description": "Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+dataset}:importData", + "request": { + "$ref": "ImportDataRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-translation" + ] + }, + "list": { + "description": "Lists datasets.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets", + "httpMethod": "GET", + "id": "translate.projects.locations.datasets.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. Requested page size. The server can return fewer results than requested.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListDatasets call.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/datasets", + "response": { + "$ref": "ListDatasetsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-translation" + ] + } + }, + "resources": { + "examples": { + "methods": { + "list": { + "description": "Lists sentence pairs in the dataset.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/examples", + "httpMethod": "GET", + "id": "translate.projects.locations.datasets.examples.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression for filtering the examples that will be returned. Example filter: * `usage=TRAIN`", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. The server can return fewer results than requested.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListExamples call.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Name of the parent dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/examples", + "response": { + "$ref": "ListExamplesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-translation" + ] + } + } + } + } + }, "glossaries": { "methods": { "create": { @@ -768,6 +996,133 @@ } } }, + "models": { + "methods": { + "create": { + "description": "Creates a Model.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/models", + "httpMethod": "POST", + "id": "translate.projects.locations.models.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The project name, in form of `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/models", + "request": { + "$ref": "Model" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-translation" + ] + }, + "delete": { + "description": "Deletes a model.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/models/{modelsId}", + "httpMethod": "DELETE", + "id": "translate.projects.locations.models.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the model to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-translation" + ] + }, + "get": { + "description": "Gets a model.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/models/{modelsId}", + "httpMethod": "GET", + "id": "translate.projects.locations.models.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the model to retrieve.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "Model" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-translation" + ] + }, + "list": { + "description": "Lists models.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/models", + "httpMethod": "GET", + "id": "translate.projects.locations.models.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression for filtering the models that will be returned. Supported filter: `dataset_id=${dataset_id}`", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. The server can return fewer results than requested.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListModels call.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/models", + "response": { + "$ref": "ListModelsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-translation" + ] + } + } + }, "operations": { "methods": { "cancel": { @@ -929,7 +1284,7 @@ } } }, - "revision": "20221111", + "revision": "20230106", "rootUrl": "https://translation.googleapis.com/", "schemas": { "BatchDocumentInputConfig": { @@ -958,6 +1313,10 @@ "description": "The BatchTranslateDocument request.", "id": "BatchTranslateDocumentRequest", "properties": { + "customizedAttribution": { + "description": "Optional. This flag is to support user customized attribution. If not provided, the default is `Machine Translated by Google`. Customized attribution should follow rules in https://cloud.google.com/translate/attribution#attribution_and_logos", + "type": "string" + }, "formatConversions": { "additionalProperties": { "type": "string" @@ -1060,6 +1419,90 @@ "properties": {}, "type": "object" }, + "Dataset": { + "description": "A dataset that hosts the examples (sentence pairs) used for translation models.", + "id": "Dataset", + "properties": { + "createTime": { + "description": "Output only. Timestamp when this dataset was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.", + "type": "string" + }, + "exampleCount": { + "description": "Output only. The number of examples in the dataset.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "name": { + "description": "The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`", + "type": "string" + }, + "sourceLanguageCode": { + "description": "The BCP-47 language code of the source language.", + "type": "string" + }, + "targetLanguageCode": { + "description": "The BCP-47 language code of the target language.", + "type": "string" + }, + "testExampleCount": { + "description": "Output only. Number of test examples (sentence pairs).", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "trainExampleCount": { + "description": "Output only. Number of training examples (sentence pairs).", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "updateTime": { + "description": "Output only. Timestamp when this dataset was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "validateExampleCount": { + "description": "Output only. Number of validation examples (sentence pairs).", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, + "DatasetInputConfig": { + "description": "Input configuration for datasets.", + "id": "DatasetInputConfig", + "properties": { + "inputFiles": { + "description": "Files containing the sentence pairs to be imported to the dataset.", + "items": { + "$ref": "InputFile" + }, + "type": "array" + } + }, + "type": "object" + }, + "DatasetOutputConfig": { + "description": "Output configuration for datasets.", + "id": "DatasetOutputConfig", + "properties": { + "gcsDestination": { + "$ref": "GcsOutputDestination", + "description": "Google Cloud Storage destination to write the output." + } + }, + "type": "object" + }, "DetectLanguageRequest": { "description": "The request message for language detection.", "id": "DetectLanguageRequest", @@ -1110,7 +1553,7 @@ "type": "number" }, "languageCode": { - "description": "The BCP-47 language code of source content in the request, detected automatically.", + "description": "The BCP-47 language code of the source content in the request, detected automatically.", "type": "string" } }, @@ -1180,6 +1623,42 @@ "properties": {}, "type": "object" }, + "Example": { + "description": "A sentence pair.", + "id": "Example", + "properties": { + "name": { + "description": "Output only. The resource name of the example, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}/examples/{example_id}'", + "readOnly": true, + "type": "string" + }, + "sourceText": { + "description": "Sentence in source language.", + "type": "string" + }, + "targetText": { + "description": "Sentence in target language.", + "type": "string" + }, + "usage": { + "description": "Output only. Usage of the sentence pair. Options are TRAIN|VALIDATION|TEST.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ExportDataRequest": { + "description": "Request message for ExportData.", + "id": "ExportDataRequest", + "properties": { + "outputConfig": { + "$ref": "DatasetOutputConfig", + "description": "Required. The config for the output content." + } + }, + "type": "object" + }, "GcsDestination": { "description": "The Google Cloud Storage location for the output content.", "id": "GcsDestination", @@ -1191,6 +1670,28 @@ }, "type": "object" }, + "GcsInputSource": { + "description": "The Google Cloud Storage location for the input content.", + "id": "GcsInputSource", + "properties": { + "inputUri": { + "description": "Required. Source data URI. For example, `gs://my_bucket/my_object`.", + "type": "string" + } + }, + "type": "object" + }, + "GcsOutputDestination": { + "description": "The Google Cloud Storage location for the output content.", + "id": "GcsOutputDestination", + "properties": { + "outputUriPrefix": { + "description": "Required. Google Cloud Storage URI to output directory. For example, `gs://bucket/directory`. The requesting user must have write permission to the bucket. The directory will be created if it doesn't exist.", + "type": "string" + } + }, + "type": "object" + }, "GcsSource": { "description": "The Google Cloud Storage location for the input content.", "id": "GcsSource", @@ -1203,7 +1704,7 @@ "type": "object" }, "Glossary": { - "description": "Represents a glossary built from user provided data.", + "description": "Represents a glossary built from user-provided data.", "id": "Glossary", "properties": { "displayName": { @@ -1276,7 +1777,7 @@ "properties": { "gcsSource": { "$ref": "GcsSource", - "description": "Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): 2 column file, tab- or comma-separated. The first column is source text. The second column is target text. The file must not contain headers. That is, the first row is data, not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary)." + "description": "Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary)." } }, "type": "object" @@ -1325,6 +1826,17 @@ }, "type": "object" }, + "ImportDataRequest": { + "description": "Request message for ImportData.", + "id": "ImportDataRequest", + "properties": { + "inputConfig": { + "$ref": "DatasetInputConfig", + "description": "Required. The config for the input content." + } + }, + "type": "object" + }, "InputConfig": { "description": "Input configuration for BatchTranslateText request.", "id": "InputConfig", @@ -1340,6 +1852,21 @@ }, "type": "object" }, + "InputFile": { + "description": "An input file.", + "id": "InputFile", + "properties": { + "gcsSource": { + "$ref": "GcsInputSource", + "description": "Google Cloud Storage file source." + }, + "usage": { + "description": "Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.", + "type": "string" + } + }, + "type": "object" + }, "LanguageCodePair": { "description": "Used with unidirectional glossaries.", "id": "LanguageCodePair", @@ -1369,6 +1896,42 @@ }, "type": "object" }, + "ListDatasetsResponse": { + "description": "Response message for ListDatasets.", + "id": "ListDatasetsResponse", + "properties": { + "datasets": { + "description": "The datasets read.", + "items": { + "$ref": "Dataset" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token to retrieve next page of results. Pass this token to the page_token field in the ListDatasetsRequest to obtain the corresponding page.", + "type": "string" + } + }, + "type": "object" + }, + "ListExamplesResponse": { + "description": "Response message for ListExamples.", + "id": "ListExamplesResponse", + "properties": { + "examples": { + "description": "The sentence pairs.", + "items": { + "$ref": "Example" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token to retrieve next page of results. Pass this token to the page_token field in the ListExamplesRequest to obtain the corresponding page.", + "type": "string" + } + }, + "type": "object" + }, "ListGlossariesResponse": { "description": "Response message for ListGlossaries.", "id": "ListGlossariesResponse", @@ -1423,6 +1986,24 @@ }, "type": "object" }, + "ListModelsResponse": { + "description": "Response message for ListModels.", + "id": "ListModelsResponse", + "properties": { + "models": { + "description": "The models read.", + "items": { + "$ref": "Model" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token to retrieve next page of results. Pass this token to the page_token field in the ListModelsRequest to obtain the corresponding page.", + "type": "string" + } + }, + "type": "object" + }, "ListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "ListOperationsResponse", @@ -1475,6 +2056,71 @@ }, "type": "object" }, + "Model": { + "description": "A trained translation model.", + "id": "Model", + "properties": { + "createTime": { + "description": "Output only. Timestamp when the model resource was created, which is also when the training started.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dataset": { + "description": "The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`", + "type": "string" + }, + "deployTime": { + "description": "Output only. Timestamp when the model training finished and ready to be used for translation.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.", + "type": "string" + }, + "name": { + "description": "The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}`", + "type": "string" + }, + "sourceLanguageCode": { + "description": "Output only. The BCP-47 language code of the source language.", + "readOnly": true, + "type": "string" + }, + "targetLanguageCode": { + "description": "Output only. The BCP-47 language code of the target language.", + "readOnly": true, + "type": "string" + }, + "testExampleCount": { + "description": "Output only. Number of examples (sentence pairs) used to test the model.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "trainExampleCount": { + "description": "Output only. Number of examples (sentence pairs) used to train the model.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "updateTime": { + "description": "Output only. Timestamp when this model was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "validateExampleCount": { + "description": "Output only. Number of examples (sentence pairs) used to validate the model.", + "format": "int32", + "readOnly": true, + "type": "integer" + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", @@ -1516,7 +2162,7 @@ "properties": { "gcsDestination": { "$ref": "GcsDestination", - "description": "Google Cloud Storage destination for output content. For every single input file (for example, gs://a/b/c.[extension]), we generate at most 2 * n output files. (n is the # of target_language_codes in the BatchTranslateTextRequest). Output files (tsv) generated are compliant with RFC 4180 except that record delimiters are '\\n' instead of '\\r\\n'. We don't provide any way to change record delimiters. While the input files are being processed, we write/update an index file 'index.csv' under 'output_uri_prefix' (for example, gs://translation-test/index.csv) The index file is generated/updated as new files are being translated. The format is: input_file,target_language_code,translations_file,errors_file, glossary_translations_file,glossary_errors_file input_file is one file we matched using gcs_source.input_uri. target_language_code is provided in the request. translations_file contains the translations. (details provided below) errors_file contains the errors during processing of the file. (details below). Both translations_file and errors_file could be empty strings if we have no content to output. glossary_translations_file and glossary_errors_file are always empty strings if the input_file is tsv. They could also be empty if we have no content to output. Once a row is present in index.csv, the input/output matching never changes. Callers should also expect all the content in input_file are processed and ready to be consumed (that is, no partial output file is written). Since index.csv will be keeping updated during the process, please make sure there is no custom retention policy applied on the output bucket that may avoid file updating. (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) The format of translations_file (for target language code 'trg') is: gs://translation_test/a_b_c_'trg'_translations.[extension] If the input file extension is tsv, the output has the following columns: Column 1: ID of the request provided in the input, if it's not provided in the input, then the input row number is used (0-based). Column 2: source sentence. Column 3: translation without applying a glossary. Empty string if there is an error. Column 4 (only present if a glossary is provided in the request): translation after applying the glossary. Empty string if there is an error applying the glossary. Could be same string as column 3 if there is no glossary applied. If input file extension is a txt or html, the translation is directly written to the output file. If glossary is requested, a separate glossary_translations_file has format of gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] The format of errors file (for target language code 'trg') is: gs://translation_test/a_b_c_'trg'_errors.[extension] If the input file extension is tsv, errors_file contains the following: Column 1: ID of the request provided in the input, if it's not provided in the input, then the input row number is used (0-based). Column 2: source sentence. Column 3: Error detail for the translation. Could be empty. Column 4 (only present if a glossary is provided in the request): Error when applying the glossary. If the input file extension is txt or html, glossary_error_file will be generated that contains error details. glossary_error_file has format of gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]" + "description": "Google Cloud Storage destination for output content. For every single input file (for example, gs://a/b/c.[extension]), we generate at most 2 * n output files. (n is the # of target_language_codes in the BatchTranslateTextRequest). Output files (tsv) generated are compliant with RFC 4180 except that record delimiters are '\\n' instead of '\\r\\n'. We don't provide any way to change record delimiters. While the input files are being processed, we write/update an index file 'index.csv' under 'output_uri_prefix' (for example, gs://translation-test/index.csv) The index file is generated/updated as new files are being translated. The format is: input_file,target_language_code,translations_file,errors_file, glossary_translations_file,glossary_errors_file input_file is one file we matched using gcs_source.input_uri. target_language_code is provided in the request. translations_file contains the translations. (details provided below) errors_file contains the errors during processing of the file. (details below). Both translations_file and errors_file could be empty strings if we have no content to output. glossary_translations_file and glossary_errors_file are always empty strings if the input_file is tsv. They could also be empty if we have no content to output. Once a row is present in index.csv, the input/output matching never changes. Callers should also expect all the content in input_file are processed and ready to be consumed (that is, no partial output file is written). Since index.csv will be keeping updated during the process, please make sure there is no custom retention policy applied on the output bucket that may avoid file updating. (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) The format of translations_file (for target language code 'trg') is: `gs://translation_test/a_b_c_'trg'_translations.[extension]` If the input file extension is tsv, the output has the following columns: Column 1: ID of the request provided in the input, if it's not provided in the input, then the input row number is used (0-based). Column 2: source sentence. Column 3: translation without applying a glossary. Empty string if there is an error. Column 4 (only present if a glossary is provided in the request): translation after applying the glossary. Empty string if there is an error applying the glossary. Could be same string as column 3 if there is no glossary applied. If input file extension is a txt or html, the translation is directly written to the output file. If glossary is requested, a separate glossary_translations_file has format of gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] The format of errors file (for target language code 'trg') is: gs://translation_test/a_b_c_'trg'_errors.[extension] If the input file extension is tsv, errors_file contains the following: Column 1: ID of the request provided in the input, if it's not provided in the input, then the input row number is used (0-based). Column 2: source sentence. Column 3: Error detail for the translation. Could be empty. Column 4 (only present if a glossary is provided in the request): Error when applying the glossary. If the input file extension is txt or html, glossary_error_file will be generated that contains error details. glossary_error_file has format of gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]" } }, "type": "object" @@ -1553,19 +2199,19 @@ "id": "SupportedLanguage", "properties": { "displayName": { - "description": "Human readable name of the language localized in the display language specified in the request.", + "description": "Human-readable name of the language localized in the display language specified in the request.", "type": "string" }, "languageCode": { - "description": "Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN')", + "description": "Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN').", "type": "string" }, "supportSource": { - "description": "Can be used as source language.", + "description": "Can be used as a source language.", "type": "boolean" }, "supportTarget": { - "description": "Can be used as target language.", + "description": "Can be used as a target language.", "type": "boolean" } }, @@ -1601,6 +2247,10 @@ "$ref": "DocumentOutputConfig", "description": "Optional. Output configurations. Defines if the output file should be stored within Cloud Storage as well as the desired output format. If not provided the translated file will only be returned through a byte-stream and its output mime type will be the same as the input file's mime type." }, + "enableShadowRemovalNativePdf": { + "description": "Optional. If true, use the text removal server to remove the shadow text on background image for native pdf translation.", + "type": "boolean" + }, "glossaryConfig": { "$ref": "TranslateTextGlossaryConfig", "description": "Optional. Glossary to be applied. The glossary must be within the same region (have the same location-id) as the model, otherwise an INVALID_ARGUMENT (400) error is returned." @@ -1655,15 +2305,15 @@ "type": "object" }, "TranslateTextGlossaryConfig": { - "description": "Configures which glossary should be used for a specific target language, and defines options for applying that glossary.", + "description": "Configures which glossary is used for a specific target language and defines options for applying that glossary.", "id": "TranslateTextGlossaryConfig", "properties": { "glossary": { - "description": "Required. The `glossary` to be applied for this translation. The format depends on glossary: - User provided custom glossary: `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`", + "description": "Required. The `glossary` to be applied for this translation. The format depends on the glossary: - User-provided custom glossary: `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`", "type": "string" }, "ignoreCase": { - "description": "Optional. Indicates match is case-insensitive. Default value is false if missing.", + "description": "Optional. Indicates match is case insensitive. The default value is `false` if missing.", "type": "boolean" } }, @@ -1674,7 +2324,7 @@ "id": "TranslateTextRequest", "properties": { "contents": { - "description": "Required. The content of the input in string format. We recommend the total content be less than 30k codepoints. The max length of this field is 1024. Use BatchTranslateText for larger text.", + "description": "Required. The content of the input in string format. We recommend the total content be less than 30,000 codepoints. The max length of this field is 1024. Use BatchTranslateText for larger text.", "items": { "type": "string" },
diff --git a/discovery/googleapis/travelimpactmodel__v1.json b/discovery/googleapis/travelimpactmodel__v1.json index 6407dc6..52e8c1b 100644 --- a/discovery/googleapis/travelimpactmodel__v1.json +++ b/discovery/googleapis/travelimpactmodel__v1.json
@@ -114,7 +114,7 @@ } } }, - "revision": "20221203", + "revision": "20230116", "rootUrl": "https://travelimpactmodel.googleapis.com/", "schemas": { "ComputeFlightEmissionsRequest": {
diff --git a/discovery/googleapis/vault__v1.json b/discovery/googleapis/vault__v1.json index 865fbc4..2e5be93 100644 --- a/discovery/googleapis/vault__v1.json +++ b/discovery/googleapis/vault__v1.json
@@ -1191,7 +1191,7 @@ } } }, - "revision": "20221123", + "revision": "20230105", "rootUrl": "https://vault.googleapis.com/", "schemas": { "AccountCount": {
diff --git a/discovery/googleapis/verifiedaccess__v1.json b/discovery/googleapis/verifiedaccess__v1.json index a072c54..52343b9 100644 --- a/discovery/googleapis/verifiedaccess__v1.json +++ b/discovery/googleapis/verifiedaccess__v1.json
@@ -144,7 +144,7 @@ } } }, - "revision": "20221202", + "revision": "20221214", "rootUrl": "https://verifiedaccess.googleapis.com/", "schemas": { "Challenge": {
diff --git a/discovery/googleapis/verifiedaccess__v2.json b/discovery/googleapis/verifiedaccess__v2.json index 298281b..742e5d8 100644 --- a/discovery/googleapis/verifiedaccess__v2.json +++ b/discovery/googleapis/verifiedaccess__v2.json
@@ -144,7 +144,7 @@ } } }, - "revision": "20221202", + "revision": "20221214", "rootUrl": "https://verifiedaccess.googleapis.com/", "schemas": { "Challenge": {
diff --git a/discovery/googleapis/versionhistory__v1.json b/discovery/googleapis/versionhistory__v1.json index 2ee196a..28f148a 100644 --- a/discovery/googleapis/versionhistory__v1.json +++ b/discovery/googleapis/versionhistory__v1.json
@@ -269,7 +269,7 @@ } } }, - "revision": "20221204", + "revision": "20230115", "rootUrl": "https://versionhistory.googleapis.com/", "schemas": { "Channel": {
diff --git a/discovery/googleapis/videointelligence__v1.json b/discovery/googleapis/videointelligence__v1.json index d1d7558..a0aed63 100644 --- a/discovery/googleapis/videointelligence__v1.json +++ b/discovery/googleapis/videointelligence__v1.json
@@ -348,7 +348,7 @@ } } }, - "revision": "20220913", + "revision": "20230105", "rootUrl": "https://videointelligence.googleapis.com/", "schemas": { "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": {
diff --git a/discovery/googleapis/vision__v1.json b/discovery/googleapis/vision__v1.json index 0eb03c0..5607da0 100644 --- a/discovery/googleapis/vision__v1.json +++ b/discovery/googleapis/vision__v1.json
@@ -1280,7 +1280,7 @@ } } }, - "revision": "20221112", + "revision": "20230106", "rootUrl": "https://vision.googleapis.com/", "schemas": { "AddProductToProductSetRequest": {
diff --git a/discovery/googleapis/vmmigration__v1.json b/discovery/googleapis/vmmigration__v1.json index 03c0fa3..f3159e3 100644 --- a/discovery/googleapis/vmmigration__v1.json +++ b/discovery/googleapis/vmmigration__v1.json
@@ -1970,9 +1970,24 @@ } } }, - "revision": "20221126", + "revision": "20230105", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { + "AccessKeyCredentials": { + "description": "Message describing AWS Credentials using access key id and secret.", + "id": "AccessKeyCredentials", + "properties": { + "accessKeyId": { + "description": "AWS access key ID.", + "type": "string" + }, + "secretAccessKey": { + "description": "Input only. AWS secret access key.", + "type": "string" + } + }, + "type": "object" + }, "AdaptingOSStep": { "description": "AdaptingOSStep contains specific step details.", "id": "AdaptingOSStep", @@ -2055,6 +2070,262 @@ }, "type": "object" }, + "AwsSecurityGroup": { + "description": "AwsSecurityGroup describes a security group of an AWS VM.", + "id": "AwsSecurityGroup", + "properties": { + "id": { + "description": "The AWS security group id.", + "type": "string" + }, + "name": { + "description": "The AWS security group name.", + "type": "string" + } + }, + "type": "object" + }, + "AwsSourceDetails": { + "description": "AwsSourceDetails message describes a specific source details for the AWS source type.", + "id": "AwsSourceDetails", + "properties": { + "accessKeyCreds": { + "$ref": "AccessKeyCredentials", + "description": "AWS Credentials using access key id and secret." + }, + "awsRegion": { + "description": "Immutable. The AWS region that the source VMs will be migrated from.", + "type": "string" + }, + "error": { + "$ref": "Status", + "description": "Output only. Provides details on the state of the Source in case of an error.", + "readOnly": true + }, + "inventorySecurityGroupNames": { + "description": "AWS security group names to limit the scope of the source inventory.", + "items": { + "type": "string" + }, + "type": "array" + }, + "inventoryTagList": { + "description": "AWS resource tags to limit the scope of the source inventory.", + "items": { + "$ref": "Tag" + }, + "type": "array" + }, + "migrationResourcesUserTags": { + "additionalProperties": { + "type": "string" + }, + "description": "User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m2vm`.", + "type": "object" + }, + "publicIp": { + "description": "Output only. The source's public IP. All communication initiated by this source will originate from this IP.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. State of the source as determined by the health check.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "FAILED", + "ACTIVE" + ], + "enumDescriptions": [ + "The state is unknown. This is used for API compatibility only and is not used by the system.", + "The state was not sampled by the health checks yet.", + "The source is available but might not be usable yet due to invalid credentials or another reason. The error message will contain further details.", + "The source exists and its credentials were verified." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "AwsSourceVmDetails": { + "description": "Represent the source AWS VM details.", + "id": "AwsSourceVmDetails", + "properties": { + "committedStorageBytes": { + "description": "The total size of the disks being migrated in bytes.", + "format": "int64", + "type": "string" + }, + "firmware": { + "description": "The firmware type of the source VM.", + "enum": [ + "FIRMWARE_UNSPECIFIED", + "EFI", + "BIOS" + ], + "enumDescriptions": [ + "The firmware is unknown.", + "The firmware is EFI.", + "The firmware is BIOS." + ], + "type": "string" + } + }, + "type": "object" + }, + "AwsVmDetails": { + "description": "AwsVmDetails describes a VM in AWS.", + "id": "AwsVmDetails", + "properties": { + "architecture": { + "description": "The CPU architecture.", + "enum": [ + "VM_ARCHITECTURE_UNSPECIFIED", + "I386", + "X86_64", + "ARM64", + "X86_64_MAC" + ], + "enumDescriptions": [ + "The architecture is unknown.", + "The architecture is I386.", + "The architecture is X86_64.", + "The architecture is ARM64.", + "The architecture is X86_64_MAC." + ], + "type": "string" + }, + "bootOption": { + "description": "The VM Boot Option.", + "enum": [ + "BOOT_OPTION_UNSPECIFIED", + "EFI", + "BIOS" + ], + "enumDescriptions": [ + "The boot option is unknown.", + "The boot option is UEFI.", + "The boot option is LEGACY-BIOS." + ], + "type": "string" + }, + "committedStorageMb": { + "description": "The total size of the storage allocated to the VM in MB.", + "format": "int64", + "type": "string" + }, + "cpuCount": { + "description": "The number of cpus the VM has.", + "format": "int32", + "type": "integer" + }, + "diskCount": { + "description": "The number of disks the VM has.", + "format": "int32", + "type": "integer" + }, + "displayName": { + "description": "The display name of the VM. Note that this value is not necessarily unique.", + "type": "string" + }, + "instanceType": { + "description": "The instance type of the VM.", + "type": "string" + }, + "memoryMb": { + "description": "The memory size of the VM in MB.", + "format": "int32", + "type": "integer" + }, + "osDescription": { + "description": "The VM's OS.", + "type": "string" + }, + "powerState": { + "description": "Output only. The power state of the VM at the moment list was taken.", + "enum": [ + "POWER_STATE_UNSPECIFIED", + "ON", + "OFF", + "SUSPENDED", + "PENDING" + ], + "enumDescriptions": [ + "Power state is not specified.", + "The VM is turned on.", + "The VM is turned off.", + "The VM is suspended. This is similar to hibernation or sleep mode.", + "The VM is starting." + ], + "readOnly": true, + "type": "string" + }, + "securityGroups": { + "description": "The security groups the VM belongs to.", + "items": { + "$ref": "AwsSecurityGroup" + }, + "type": "array" + }, + "sourceDescription": { + "description": "The descriptive name of the AWS's source this VM is connected to.", + "type": "string" + }, + "sourceId": { + "description": "The id of the AWS's source this VM is connected to.", + "type": "string" + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "The tags of the VM.", + "type": "object" + }, + "virtualizationType": { + "description": "The virtualization type.", + "enum": [ + "VM_VIRTUALIZATION_TYPE_UNSPECIFIED", + "HVM", + "PARAVIRTUAL" + ], + "enumDescriptions": [ + "The virtualization type is unknown.", + "The virtualziation type is HVM.", + "The virtualziation type is PARAVIRTUAL." + ], + "type": "string" + }, + "vmId": { + "description": "The VM ID in AWS.", + "type": "string" + }, + "vpcId": { + "description": "The VPC ID the VM belongs to.", + "type": "string" + }, + "zone": { + "description": "The AWS zone of the VM.", + "type": "string" + } + }, + "type": "object" + }, + "AwsVmsDetails": { + "description": "AWSVmsDetails describes VMs in AWS.", + "id": "AwsVmsDetails", + "properties": { + "details": { + "description": "The details of the AWS VMs.", + "items": { + "$ref": "AwsVmDetails" + }, + "type": "array" + } + }, + "type": "object" + }, "CancelCloneJobRequest": { "description": "Request message for 'CancelCloneJob' request.", "id": "CancelCloneJobRequest", @@ -2407,7 +2678,7 @@ "type": "array" }, "project": { - "description": "The GCP target project ID or project name.", + "description": "The Google Cloud target project ID or project name.", "type": "string" }, "secureBoot": { @@ -2627,7 +2898,7 @@ "type": "object" }, "DatacenterConnector": { - "description": "DatacenterConnector message describes a connector between the Source and GCP, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to GCP and support vm migration data transfer.", + "description": "DatacenterConnector message describes a connector between the Source and Google Cloud, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to Google Cloud and support vm migration data transfer.", "id": "DatacenterConnector", "properties": { "applianceInfrastructureVersion": { @@ -2646,7 +2917,7 @@ "readOnly": true }, "bucket": { - "description": "Output only. The communication channel between the datacenter connector and GCP.", + "description": "Output only. The communication channel between the datacenter connector and Google Cloud.", "readOnly": true, "type": "string" }, @@ -2727,6 +2998,10 @@ "description": "Response message for fetchInventory.", "id": "FetchInventoryResponse", "properties": { + "awsVms": { + "$ref": "AwsVmsDetails", + "description": "The description of the VMs in a Source of type AWS." + }, "nextPageToken": { "description": "Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", "readOnly": true, @@ -3151,6 +3426,11 @@ "description": "MigratingVm describes the VM that will be migrated from a Source environment and its replication state.", "id": "MigratingVm", "properties": { + "awsSourceVmDetails": { + "$ref": "AwsSourceVmDetails", + "description": "Output only. Details of the VM from an AWS source.", + "readOnly": true + }, "computeEngineTargetDefaults": { "$ref": "ComputeEngineTargetDefaults", "description": "Details of the target VM in Compute Engine." @@ -3632,6 +3912,10 @@ "description": "Source message describes a specific vm migration Source resource. It contains the source environment information.", "id": "Source", "properties": { + "aws": { + "$ref": "AwsSourceDetails", + "description": "AWS type source details." + }, "createTime": { "description": "Output only. The create time timestamp.", "format": "google-datetime", @@ -3700,6 +3984,21 @@ }, "type": "object" }, + "Tag": { + "description": "Tag is an AWS tag representation.", + "id": "Tag", + "properties": { + "key": { + "description": "Key of tag.", + "type": "string" + }, + "value": { + "description": "Value of tag.", + "type": "string" + } + }, + "type": "object" + }, "TargetProject": { "description": "TargetProject message represents a target Compute Engine project for a migration or a clone.", "id": "TargetProject", @@ -4055,7 +4354,7 @@ } }, "servicePath": "", - "title": "Migrate to Virtual Machines API", + "title": "VM Migration API", "version": "v1", "version_module": true } \ No newline at end of file
diff --git a/discovery/googleapis/webfonts__v1.json b/discovery/googleapis/webfonts__v1.json index 37c688d..027346b 100644 --- a/discovery/googleapis/webfonts__v1.json +++ b/discovery/googleapis/webfonts__v1.json
@@ -133,7 +133,7 @@ } } }, - "revision": "20221205", + "revision": "20221206", "rootUrl": "https://webfonts.googleapis.com/", "schemas": { "Webfont": {
diff --git a/discovery/googleapis/webrisk__v1.json b/discovery/googleapis/webrisk__v1.json index ca8d63f..d869a83 100644 --- a/discovery/googleapis/webrisk__v1.json +++ b/discovery/googleapis/webrisk__v1.json
@@ -450,7 +450,7 @@ } } }, - "revision": "20221204", + "revision": "20230107", "rootUrl": "https://webrisk.googleapis.com/", "schemas": { "GoogleCloudWebriskV1ComputeThreatListDiffResponse": {
diff --git a/discovery/googleapis/websecurityscanner__v1.json b/discovery/googleapis/websecurityscanner__v1.json index 6c779ba..67273f8 100644 --- a/discovery/googleapis/websecurityscanner__v1.json +++ b/discovery/googleapis/websecurityscanner__v1.json
@@ -524,7 +524,7 @@ } } }, - "revision": "20221112", + "revision": "20230107", "rootUrl": "https://websecurityscanner.googleapis.com/", "schemas": { "Authentication": { @@ -1176,7 +1176,8 @@ "AUTHENTICATION_CONFIG_ISSUE", "TIMED_OUT_WHILE_SCANNING", "TOO_MANY_REDIRECTS", - "TOO_MANY_HTTP_ERRORS" + "TOO_MANY_HTTP_ERRORS", + "STARTING_URLS_CRAWL_HTTP_ERRORS" ], "enumDescriptions": [ "Default value is never used.", @@ -1185,7 +1186,8 @@ "Indicates an authentication error, usually due to outdated ScanConfig authentication settings.", "Indicates a scan operation timeout, usually caused by a very large site.", "Indicates that a scan encountered excessive redirects, either to authentication or some other page outside of the scan scope.", - "Indicates that a scan encountered numerous errors from the web site pages. When available, most_common_http_error_code field indicates the most common HTTP error code encountered during the scan." + "Indicates that a scan encountered numerous errors from the web site pages. When available, most_common_http_error_code field indicates the most common HTTP error code encountered during the scan.", + "Indicates that some of the starting web urls returned HTTP errors during the scan." ], "type": "string" },
diff --git a/discovery/googleapis/workflowexecutions__v1.json b/discovery/googleapis/workflowexecutions__v1.json index 8f03dd1..8d4315d 100644 --- a/discovery/googleapis/workflowexecutions__v1.json +++ b/discovery/googleapis/workflowexecutions__v1.json
@@ -222,7 +222,7 @@ ], "enumDescriptions": [ "The default / unset value.", - "Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.", + "Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.", "Includes all data." ], "location": "query", @@ -273,7 +273,7 @@ ], "enumDescriptions": [ "The default / unset value.", - "Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.", + "Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, duration, state and workflow_revision_id.", "Includes all data." ], "location": "query", @@ -297,7 +297,7 @@ } } }, - "revision": "20221108", + "revision": "20230103", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { "CancelExecutionRequest": { @@ -341,12 +341,18 @@ "LOG_ERRORS_ONLY" ], "enumDescriptions": [ - "No call logging specified.", + "No call logging level specified.", "Log all call steps within workflows, all call returns, and all exceptions raised.", "Log only exceptions that are raised from call steps within workflows." ], "type": "string" }, + "duration": { + "description": "Output only. Measures the duration of the execution.", + "format": "google-duration", + "readOnly": true, + "type": "string" + }, "endTime": { "description": "Output only. Marks the end of execution, successful or not.", "format": "google-datetime",
diff --git a/discovery/googleapis/workflows__v1.json b/discovery/googleapis/workflows__v1.json index 562134c..f8a559d 100644 --- a/discovery/googleapis/workflows__v1.json +++ b/discovery/googleapis/workflows__v1.json
@@ -273,7 +273,7 @@ "workflows": { "methods": { "create": { - "description": "Creates a new workflow. If a workflow with the specified name already exists in the specified project and location, the long running operation will return ALREADY_EXISTS error.", + "description": "Creates a new workflow. If a workflow with the specified name already exists in the specified project and location, the long running operation returns a ALREADY_EXISTS error.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows", "httpMethod": "POST", "id": "workflows.projects.locations.workflows.create", @@ -331,7 +331,7 @@ ] }, "get": { - "description": "Gets details of a single Workflow.", + "description": "Gets details of a single workflow.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}", "httpMethod": "GET", "id": "workflows.projects.locations.workflows.get", @@ -340,7 +340,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the workflow which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}", + "description": "Required. Name of the workflow for which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$", "required": true, @@ -356,7 +356,7 @@ ] }, "list": { - "description": "Lists Workflows in a given project and location. The default order is not specified.", + "description": "Lists workflows in a given project and location. The default order is not specified.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows", "httpMethod": "GET", "id": "workflows.projects.locations.workflows.list", @@ -370,12 +370,12 @@ "type": "string" }, "orderBy": { - "description": "Comma-separated list of fields that that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a \" desc\" suffix. If not specified, the results will be returned in an unspecified order.", + "description": "Comma-separated list of fields that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a \"desc\" suffix. If not specified, the results are returned in an unspecified order.", "location": "query", "type": "string" }, "pageSize": { - "description": "Maximum number of workflows to return per call. The service may return fewer than this value. If the value is not specified, a default value of 500 will be used. The maximum permitted value is 1000 and values greater than 1000 will be coerced down to 1000.", + "description": "Maximum number of workflows to return per call. The service might return fewer than this value even if not at the end of the collection. If a value is not specified, a default value of 500 is used. The maximum permitted value is 1000 and values greater than 1000 are coerced down to 1000.", "format": "int32", "location": "query", "type": "integer" @@ -402,7 +402,7 @@ ] }, "patch": { - "description": "Updates an existing workflow. Running this method has no impact on already running executions of the workflow. A new revision of the workflow may be created as a result of a successful update operation. In that case, such revision will be used in new workflow executions.", + "description": "Updates an existing workflow. Running this method has no impact on already running executions of the workflow. A new revision of the workflow might be created as a result of a successful update operation. In that case, the new revision is used in new workflow executions.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}", "httpMethod": "PATCH", "id": "workflows.projects.locations.workflows.patch", @@ -442,7 +442,7 @@ } } }, - "revision": "20221103", + "revision": "20230105", "rootUrl": "https://workflows.googleapis.com/", "schemas": { "Empty": { @@ -503,7 +503,7 @@ "type": "array" }, "workflows": { - "description": "The workflows which match the request.", + "description": "The workflows that match the request.", "items": { "$ref": "Workflow" }, @@ -642,7 +642,7 @@ "id": "Workflow", "properties": { "createTime": { - "description": "Output only. The timestamp of when the workflow was created.", + "description": "Output only. The timestamp for when the workflow was created.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -655,7 +655,7 @@ "additionalProperties": { "type": "string" }, - "description": "Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.", + "description": "Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed.", "type": "object" }, "name": { @@ -663,7 +663,7 @@ "type": "string" }, "revisionCreateTime": { - "description": "Output only. The timestamp that the latest revision of the workflow was created.", + "description": "Output only. The timestamp for the latest revision of the workflow's creation.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -695,7 +695,7 @@ "type": "string" }, "updateTime": { - "description": "Output only. The last update timestamp of the workflow.", + "description": "Output only. The timestamp for when the workflow was last updated.", "format": "google-datetime", "readOnly": true, "type": "string"
diff --git a/discovery/googleapis/workloadmanager__v1.json b/discovery/googleapis/workloadmanager__v1.json new file mode 100644 index 0000000..0581f78 --- /dev/null +++ b/discovery/googleapis/workloadmanager__v1.json
@@ -0,0 +1,1020 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://workloadmanager.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Workload Manager", + "description": "", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/workload-manager/docs", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "workloadmanager:v1", + "kind": "discovery#restDescription", + "name": "workloadmanager", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "workloadmanager.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "workloadmanager.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "evaluations": { + "methods": { + "create": { + "description": "Creates a new Evaluation in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations", + "httpMethod": "POST", + "id": "workloadmanager.projects.locations.evaluations.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "evaluationId": { + "description": "Required. Id of the requesting object If auto-generating Id server-side, remove this field and evaluation_id from the method_signature of Create RPC", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the evaluation location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he 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": "v1/{+parent}/evaluations", + "request": { + "$ref": "Evaluation" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single Evaluation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}", + "httpMethod": "GET", + "id": "workloadmanager.projects.locations.evaluations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Evaluation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Evaluations in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations", + "httpMethod": "GET", + "id": "workloadmanager.projects.locations.evaluations.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Filtering results", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Hint for how to order the results", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListEvaluationsRequest", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/evaluations", + "response": { + "$ref": "ListEvaluationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "insights": { + "methods": { + "writeInsight": { + "description": "Write the data insights to workload manager data warehouse.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/insights:writeInsight", + "httpMethod": "POST", + "id": "workloadmanager.projects.locations.insights.writeInsight", + "parameterOrder": [ + "location" + ], + "parameters": { + "location": { + "description": "Required. The GCP location. The format is: projects/{project}/locations/{location}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+location}/insights:writeInsight", + "request": { + "$ref": "WriteInsightRequest" + }, + "response": { + "$ref": "WriteInsightResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "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": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "workloadmanager.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "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": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "workloadmanager.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "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": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "workloadmanager.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "workloadmanager.projects.locations.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/[^/]+/locations/[^/]+$", + "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": "v1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20230105", + "rootUrl": "https://workloadmanager.googleapis.com/", + "schemas": { + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "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" + }, + "Evaluation": { + "description": "Message describing Evaluation object", + "id": "Evaluation", + "properties": { + "createTime": { + "description": "Output only. [Output only] Create time stamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Description of the Evaluation", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Labels as key value pairs", + "type": "object" + }, + "name": { + "description": "name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}'", + "type": "string" + }, + "resourceFilter": { + "$ref": "ResourceFilter", + "description": "annotations as key value pairs" + }, + "resourceStatus": { + "$ref": "ResourceStatus", + "description": "Output only. [Output only] The updated rule ids if exist.", + "readOnly": true + }, + "ruleNames": { + "description": "the name of the rule", + "items": { + "type": "string" + }, + "type": "array" + }, + "ruleVersions": { + "description": "Output only. [Output only] The updated rule ids if exist.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "updateTime": { + "description": "Output only. [Output only] Update time stamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GceInstanceFilter": { + "description": "Message describing compute engine instance filter", + "id": "GceInstanceFilter", + "properties": { + "serviceAccounts": { + "description": "Service account of compute engine", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Insight": { + "description": "A presentation of host resource usage where the workload runs.", + "id": "Insight", + "properties": { + "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." + }, + "sapValidation": { + "$ref": "SapValidation", + "description": "The insights data for the sap workload validation." + }, + "sentTime": { + "description": "Output only. [Output only] Create time stamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ListEvaluationsResponse": { + "description": "Message for response to listing Evaluations", + "id": "ListEvaluationsResponse", + "properties": { + "evaluations": { + "description": "The list of Evaluation", + "items": { + "$ref": "Evaluation" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents Google Cloud Platform location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "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": "Status", + "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/{unique_id}`.", + "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" + }, + "OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ResourceFilter": { + "description": "Message describing resource filters", + "id": "ResourceFilter", + "properties": { + "gceInstanceFilter": { + "$ref": "GceInstanceFilter", + "description": "Filter compute engine resource" + }, + "inclusionLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "The label used for filter resource", + "type": "object" + }, + "resourceIdPatterns": { + "description": "The id pattern for filter resource", + "items": { + "type": "string" + }, + "type": "array" + }, + "scopes": { + "description": "The scopes of evaluation resource", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ResourceStatus": { + "description": "Message describing resource status", + "id": "ResourceStatus", + "properties": { + "rulesNewerVersions": { + "description": "the new version of rule id if exists", + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "description": "State of the resource", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "DELETING" + ], + "enumDescriptions": [ + "The state has not been populated in this message.", + "Resource has an active Create operation.", + "Resource has no outstanding operations on it or has active Update operations.", + "Resource has an active Delete operation." + ], + "type": "string" + } + }, + "type": "object" + }, + "SapDiscovery": { + "description": "The schema of SAP system discovery data.", + "id": "SapDiscovery", + "properties": { + "applicationLayer": { + "$ref": "SapDiscoveryComponent", + "description": "An SAP system may run without an application layer." + }, + "databaseLayer": { + "$ref": "SapDiscoveryComponent", + "description": "An SAP System must have a database." + }, + "metadata": { + "$ref": "SapDiscoveryMetadata", + "description": "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.", + "type": "string" + }, + "updateTime": { + "description": "Unix timestamp this system has been updated last.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "SapDiscoveryComponent": { + "description": "Message describing the system component.", + "id": "SapDiscoveryComponent", + "properties": { + "applicationType": { + "description": "The component is a SAP application.", + "type": "string" + }, + "databaseType": { + "description": "The component is a SAP database.", + "type": "string" + }, + "hostProject": { + "description": "Pantheon Project in which the resources reside.", + "type": "string" + }, + "resources": { + "description": "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.", + "type": "string" + } + }, + "type": "object" + }, + "SapDiscoveryMetadata": { + "description": "Message describing SAP discovery system metadata", + "id": "SapDiscoveryMetadata", + "properties": { + "customerRegion": { + "description": "Customer region string for customer's use. Does not represent GCP region.", + "type": "string" + }, + "definedSystem": { + "description": "Customer defined, something like \"E-commerce pre prod\"", + "type": "string" + }, + "environmentType": { + "description": "Should be \"prod\", \"QA\", \"dev\", \"staging\", etc.", + "type": "string" + }, + "sapProduct": { + "description": "This sap product name", + "type": "string" + } + }, + "type": "object" + }, + "SapDiscoveryResource": { + "description": "Message describing a resource.", + "id": "SapDiscoveryResource", + "properties": { + "relatedResources": { + "description": "A list of resource URIs related to this resource.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resourceKind": { + "description": "ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.", + "type": "string" + }, + "resourceType": { + "description": "The type of this resource.", + "enum": [ + "RESOURCE_TYPE_UNSPECIFIED", + "COMPUTE", + "STORAGE", + "NETWORK" + ], + "enumDescriptions": [ + "Undefined resource type.", + "This is a compute resource.", + "This a storage resource.", + "This is a network resource." + ], + "type": "string" + }, + "resourceUri": { + "description": "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.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "SapValidation": { + "description": "A presentation of SAP workload insight. The schema of SAP workloads validation related data.", + "id": "SapValidation", + "properties": { + "validationDetails": { + "description": "A list of SAP validation metrics data.", + "items": { + "$ref": "SapValidationValidationDetail" + }, + "type": "array" + } + }, + "type": "object" + }, + "SapValidationValidationDetail": { + "description": "Message describing the SAP validation metrics.", + "id": "SapValidationValidationDetail", + "properties": { + "details": { + "additionalProperties": { + "type": "string" + }, + "description": "The pairs of metrics data: field name & field value.", + "type": "object" + }, + "sapValidationType": { + "description": "The SAP system that the validation data is from.", + "enum": [ + "SAP_VALIDATION_TYPE_UNSPECIFIED", + "SYSTEM", + "COROSYNC", + "PACEMAKER", + "HANA", + "NETWEAVER" + ], + "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." + ], + "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", + "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. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "WriteInsightRequest": { + "description": "Request for sending the data insights.", + "id": "WriteInsightRequest", + "properties": { + "insight": { + "$ref": "Insight", + "description": "Required. The metrics data details." + }, + "requestId": { + "description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he 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).", + "type": "string" + } + }, + "type": "object" + }, + "WriteInsightResponse": { + "description": "The response for write insights request.", + "id": "WriteInsightResponse", + "properties": {}, + "type": "object" + } + }, + "servicePath": "", + "title": "Workload Manager API", + "version": "v1", + "version_module": true +} \ No newline at end of file
diff --git a/discovery/googleapis/youtubeAnalytics__v2.json b/discovery/googleapis/youtubeAnalytics__v2.json index d595e18..960f4bd 100644 --- a/discovery/googleapis/youtubeAnalytics__v2.json +++ b/discovery/googleapis/youtubeAnalytics__v2.json
@@ -419,7 +419,7 @@ } } }, - "revision": "20221203", + "revision": "20230116", "rootUrl": "https://youtubeanalytics.googleapis.com/", "schemas": { "EmptyResponse": {
diff --git a/discovery/googleapis/youtube__v3.json b/discovery/googleapis/youtube__v3.json index f223487..eb525f7 100644 --- a/discovery/googleapis/youtube__v3.json +++ b/discovery/googleapis/youtube__v3.json
@@ -3829,7 +3829,7 @@ } } }, - "revision": "20221205", + "revision": "20230104", "rootUrl": "https://youtube.googleapis.com/", "schemas": { "AbuseReport": {
diff --git a/discovery/googleapis/youtubereporting__v1.json b/discovery/googleapis/youtubereporting__v1.json index 0866f2f..07e7cff 100644 --- a/discovery/googleapis/youtubereporting__v1.json +++ b/discovery/googleapis/youtubereporting__v1.json
@@ -410,7 +410,7 @@ } } }, - "revision": "20221203", + "revision": "20230116", "rootUrl": "https://youtubereporting.googleapis.com/", "schemas": { "Empty": {
diff --git a/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json b/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json index d9ef2ec..b8bc869 100644 --- a/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json +++ b/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json
@@ -2567,7 +2567,7 @@ } } }, - "revision": "20221206", + "revision": "20230113", "rootUrl": "https://adexchangebuyer.googleapis.com/", "schemas": { "AbsoluteDateRange": {
diff --git a/discovery/googleapis_beta/alertcenter__v1beta1.json b/discovery/googleapis_beta/alertcenter__v1beta1.json index 27901a4..466a043 100644 --- a/discovery/googleapis_beta/alertcenter__v1beta1.json +++ b/discovery/googleapis_beta/alertcenter__v1beta1.json
@@ -421,7 +421,7 @@ } } }, - "revision": "20221128", + "revision": "20230110", "rootUrl": "https://alertcenter.googleapis.com/", "schemas": { "AbuseDetected": { @@ -766,7 +766,7 @@ "id": "ApnsCertificateExpirationInfo", "properties": { "appleId": { - "description": "The Apple ID used for the certificate, may be blank if admins did not enter it.", + "description": "The Apple ID used for the certificate may be blank if admins didn't enter it.", "type": "string" }, "expirationTime": { @@ -1604,7 +1604,8 @@ "DRIVE_WARN_ON_EXTERNAL_SHARING", "ALERT", "RULE_ACTIVATE", - "RULE_DEACTIVATE" + "RULE_DEACTIVATE", + "DELETE_WEBPROTECT_EVIDENCE" ], "enumDescriptions": [ "Action type is unspecified.", @@ -1612,7 +1613,8 @@ "Show a warning message when sharing a file externally.", "Send alert.", "Activate Rule Action", - "Deactivate Rule Action" + "Deactivate Rule Action", + "Chrome actions Delete web protect evidence file" ], "type": "string" }, @@ -1646,7 +1648,8 @@ "DRIVE_WARN_ON_EXTERNAL_SHARING", "ALERT", "RULE_ACTIVATE", - "RULE_DEACTIVATE" + "RULE_DEACTIVATE", + "DELETE_WEBPROTECT_EVIDENCE" ], "enumDescriptions": [ "Action type is unspecified.", @@ -1654,7 +1657,8 @@ "Show a warning message when sharing a file externally.", "Send alert.", "Activate Rule Action", - "Deactivate Rule Action" + "Deactivate Rule Action", + "Chrome actions Delete web protect evidence file" ], "type": "string" }, @@ -1864,6 +1868,73 @@ }, "type": "object" }, + "TransferError": { + "description": "Details for an invalid transfer or forward.", + "id": "TransferError", + "properties": { + "email": { + "description": "User's email address. This may be unavailable if the entity was deleted.", + "type": "string" + }, + "entityType": { + "description": "Type of entity being transferred to. For ring group members, this should always be USER.", + "enum": [ + "TRANSFER_ENTITY_TYPE_UNSPECIFIED", + "TRANSFER_AUTO_ATTENDANT", + "TRANSFER_RING_GROUP", + "TRANSFER_USER" + ], + "enumDescriptions": [ + "Entity type wasn't set.", + "Transfer to auto attendant.", + "Transfer to ring group.", + "Transfer to user." + ], + "type": "string" + }, + "id": { + "description": "Ring group or auto attendant ID. Not set for users.", + "type": "string" + }, + "invalidReason": { + "description": "Reason for the error.", + "enum": [ + "TRANSFER_INVALID_REASON_UNSPECIFIED", + "TRANSFER_TARGET_DELETED", + "UNLICENSED", + "SUSPENDED", + "NO_PHONE_NUMBER" + ], + "enumDescriptions": [ + "Reason wasn't specified.", + "The transfer target can't be found—most likely it was deleted.", + "The user's Google Voice license was removed.", + "The user's Google Workspace account was suspended.", + "The transfer target no longer has a phone number. This reason should become deprecated once we support numberless transfer." + ], + "type": "string" + }, + "name": { + "description": "User's full name, or the ring group / auto attendant name. This may be unavailable if the entity was deleted.", + "type": "string" + } + }, + "type": "object" + }, + "TransferMisconfiguration": { + "description": "Error related to transferring or forwarding a phone call.", + "id": "TransferMisconfiguration", + "properties": { + "errors": { + "description": "Details for each invalid transfer or forward.", + "items": { + "$ref": "TransferError" + }, + "type": "array" + } + }, + "type": "object" + }, "UndeleteAlertRequest": { "description": "A request to undelete a specific alert that was marked for deletion.", "id": "UndeleteAlertRequest", @@ -1915,6 +1986,86 @@ } }, "type": "object" + }, + "VoiceMisconfiguration": { + "description": "An alert triggered when Google Voice configuration becomes invalid, generally due to an external entity being modified or deleted.", + "id": "VoiceMisconfiguration", + "properties": { + "entityName": { + "description": "Name of the entity whose configuration is now invalid.", + "type": "string" + }, + "entityType": { + "description": "Type of the entity whose configuration is now invalid.", + "enum": [ + "ENTITY_TYPE_UNSPECIFIED", + "AUTO_ATTENDANT", + "RING_GROUP" + ], + "enumDescriptions": [ + "Entity type wasn't set.", + "Invalid auto attendant.", + "Invalid ring group." + ], + "type": "string" + }, + "fixUri": { + "description": "Link that the admin can follow to fix the issue.", + "type": "string" + }, + "membersMisconfiguration": { + "$ref": "TransferMisconfiguration", + "description": "Issue(s) with members of a ring group." + }, + "transferMisconfiguration": { + "$ref": "TransferMisconfiguration", + "description": "Issue(s) with transferring or forwarding to an external entity." + }, + "voicemailMisconfiguration": { + "$ref": "VoicemailMisconfiguration", + "description": "Issue(s) with sending to voicemail." + } + }, + "type": "object" + }, + "VoicemailMisconfiguration": { + "description": "Issue(s) with sending to voicemail.", + "id": "VoicemailMisconfiguration", + "properties": { + "errors": { + "description": "Issue(s) with voicemail recipients.", + "items": { + "$ref": "VoicemailRecipientError" + }, + "type": "array" + } + }, + "type": "object" + }, + "VoicemailRecipientError": { + "description": "Issue(s) with a voicemail recipient.", + "id": "VoicemailRecipientError", + "properties": { + "email": { + "description": "Email address of the invalid recipient. This may be unavailable if the recipient was deleted.", + "type": "string" + }, + "invalidReason": { + "description": "Reason for the error.", + "enum": [ + "EMAIL_INVALID_REASON_UNSPECIFIED", + "OUT_OF_QUOTA", + "RECIPIENT_DELETED" + ], + "enumDescriptions": [ + "Reason wasn't specified.", + "User can't receive emails due to insufficient quota.", + "All recipients were deleted." + ], + "type": "string" + } + }, + "type": "object" } }, "servicePath": "",
diff --git a/discovery/googleapis_beta/analyticsadmin__v1beta.json b/discovery/googleapis_beta/analyticsadmin__v1beta.json index ea37e4c..25cbbbf 100644 --- a/discovery/googleapis_beta/analyticsadmin__v1beta.json +++ b/discovery/googleapis_beta/analyticsadmin__v1beta.json
@@ -1534,7 +1534,7 @@ } } }, - "revision": "20221206", + "revision": "20230112", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1betaAccount": {
diff --git a/discovery/googleapis_beta/analyticsdata__v1beta.json b/discovery/googleapis_beta/analyticsdata__v1beta.json index 0513b7e..a959fb7 100644 --- a/discovery/googleapis_beta/analyticsdata__v1beta.json +++ b/discovery/googleapis_beta/analyticsdata__v1beta.json
@@ -176,7 +176,7 @@ ], "parameters": { "property": { - "description": "A Google Analytics GA4 property identifier whose events are tracked. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). `property` should be the same value as in your `runReport` request. Example: properties/1234 Set the Property ID to 0 for compatibility checking on dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.", + "description": "A Google Analytics GA4 property identifier whose events are tracked. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). `property` should be the same value as in your `runReport` request. Example: properties/1234", "location": "path", "pattern": "^properties/[^/]+$", "required": true, @@ -311,7 +311,7 @@ } } }, - "revision": "20221203", + "revision": "20230115", "rootUrl": "https://analyticsdata.googleapis.com/", "schemas": { "ActiveMetricRestriction": {
diff --git a/discovery/googleapis_beta/area120tables__v1alpha1.json b/discovery/googleapis_beta/area120tables__v1alpha1.json index c9e8c6e..5d7aa51 100644 --- a/discovery/googleapis_beta/area120tables__v1alpha1.json +++ b/discovery/googleapis_beta/area120tables__v1alpha1.json
@@ -584,7 +584,7 @@ } } }, - "revision": "20221129", + "revision": "20230116", "rootUrl": "https://area120tables.googleapis.com/", "schemas": { "BatchCreateRowsRequest": {
diff --git a/discovery/googleapis_beta/bigqueryconnection__v1beta1.json b/discovery/googleapis_beta/bigqueryconnection__v1beta1.json index b00ea9f..48177f3 100644 --- a/discovery/googleapis_beta/bigqueryconnection__v1beta1.json +++ b/discovery/googleapis_beta/bigqueryconnection__v1beta1.json
@@ -393,7 +393,7 @@ } } }, - "revision": "20220913", + "revision": "20230107", "rootUrl": "https://bigqueryconnection.googleapis.com/", "schemas": { "AuditConfig": {
diff --git a/discovery/googleapis_beta/clouderrorreporting__v1beta1.json b/discovery/googleapis_beta/clouderrorreporting__v1beta1.json index f2bfe6c..5633e8b 100644 --- a/discovery/googleapis_beta/clouderrorreporting__v1beta1.json +++ b/discovery/googleapis_beta/clouderrorreporting__v1beta1.json
@@ -429,7 +429,7 @@ } } }, - "revision": "20221110", + "revision": "20221215", "rootUrl": "https://clouderrorreporting.googleapis.com/", "schemas": { "DeleteEventsResponse": {
diff --git a/discovery/googleapis_beta/cloudfunctions__v2beta.json b/discovery/googleapis_beta/cloudfunctions__v2beta.json index 1835bbb..cafb63c 100644 --- a/discovery/googleapis_beta/cloudfunctions__v2beta.json +++ b/discovery/googleapis_beta/cloudfunctions__v2beta.json
@@ -569,7 +569,7 @@ } } }, - "revision": "20221129", + "revision": "20230105", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -812,7 +812,7 @@ "type": "string" }, "environment": { - "description": "Describe whether the function is gen1 or gen2.", + "description": "Describe whether the function is 1st Gen or 2nd Gen.", "enum": [ "ENVIRONMENT_UNSPECIFIED", "GEN_1",
diff --git a/discovery/googleapis_beta/cloudsupport__v2beta.json b/discovery/googleapis_beta/cloudsupport__v2beta.json index 7d38a7f..42db6f8 100644 --- a/discovery/googleapis_beta/cloudsupport__v2beta.json +++ b/discovery/googleapis_beta/cloudsupport__v2beta.json
@@ -324,7 +324,7 @@ ] }, "patch": { - "description": "Update the specified case. Only a subset of fields (display_name, description, time_zone, subscriber_email_addresses, related_resources, severity, priority, primary_contact, and labels) can be updated.", + "description": "Update the specified case. Only a subset of fields can be updated.", "flatPath": "v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}", "httpMethod": "PATCH", "id": "cloudsupport.cases.patch", @@ -340,7 +340,7 @@ "type": "string" }, "updateMask": { - "description": "A field that represents attributes of a case object that should be updated as part of this request. Supported values are severity, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields will be updated. WARNING: If you do not provide a field mask then you may accidentally clear some fields. For example, if you leave field mask empty and do not provide a value for subscriber_email_addresses then subscriber_email_addresses will be updated to empty.", + "description": "A list of attributes of the case object that should be updated as part of this request. Supported values are severity, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated. WARNING: If you do not provide a field mask, then you may accidentally clear some fields. For example, if you leave field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -573,7 +573,7 @@ } } }, - "revision": "20221129", + "revision": "20230110", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": {
diff --git a/discovery/googleapis_beta/containeranalysis__v1beta1.json b/discovery/googleapis_beta/containeranalysis__v1beta1.json index 2a2a7a9..6f3c254 100644 --- a/discovery/googleapis_beta/containeranalysis__v1beta1.json +++ b/discovery/googleapis_beta/containeranalysis__v1beta1.json
@@ -753,7 +753,7 @@ } } }, - "revision": "20221112", + "revision": "20230106", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": {
diff --git a/discovery/googleapis_beta/datacatalog__v1beta1.json b/discovery/googleapis_beta/datacatalog__v1beta1.json index 24d6500..cb2e5d4 100644 --- a/discovery/googleapis_beta/datacatalog__v1beta1.json +++ b/discovery/googleapis_beta/datacatalog__v1beta1.json
@@ -1806,7 +1806,7 @@ } } }, - "revision": "20221025", + "revision": "20230109", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -1883,6 +1883,55 @@ }, "type": "object" }, + "GoogleCloudDatacatalogV1ImportEntriesMetadata": { + "description": "Metadata message for long-running operation returned by the ImportEntries.", + "id": "GoogleCloudDatacatalogV1ImportEntriesMetadata", + "properties": { + "errors": { + "description": "Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.", + "items": { + "$ref": "Status" + }, + "type": "array" + }, + "state": { + "description": "State of the import operation.", + "enum": [ + "IMPORT_STATE_UNSPECIFIED", + "IMPORT_QUEUED", + "IMPORT_IN_PROGRESS", + "IMPORT_DONE", + "IMPORT_OBSOLETE" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The dump with entries has been queued for import.", + "The import of entries is in progress.", + "The import of entries has been finished.", + "The import of entries has been abandoned in favor of a newer request." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDatacatalogV1ImportEntriesResponse": { + "description": "Response message for long-running operation returned by the ImportEntries.", + "id": "GoogleCloudDatacatalogV1ImportEntriesResponse", + "properties": { + "deletedEntriesCount": { + "description": "Number of entries deleted as a result of import operation.", + "format": "int64", + "type": "string" + }, + "upsertedEntriesCount": { + "description": "Cumulative number of entries created and entries updated as a result of import operation.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec": { "description": "Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding", "id": "GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec", @@ -2887,6 +2936,33 @@ }, "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", + "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. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, "TestIamPermissionsRequest": { "description": "Request message for `TestIamPermissions` method.", "id": "TestIamPermissionsRequest",
diff --git a/discovery/googleapis_beta/dataflow__v1b3.json b/discovery/googleapis_beta/dataflow__v1b3.json index b8a5811..1a41d48 100644 --- a/discovery/googleapis_beta/dataflow__v1b3.json +++ b/discovery/googleapis_beta/dataflow__v1b3.json
@@ -2238,7 +2238,7 @@ } } }, - "revision": "20221128", + "revision": "20230106", "rootUrl": "https://dataflow.googleapis.com/", "schemas": { "ApproximateProgress": { @@ -4742,7 +4742,8 @@ "GCS_WRITE_FOLDER", "PUBSUB_TOPIC", "PUBSUB_SUBSCRIPTION", - "BIGQUERY_TABLE" + "BIGQUERY_TABLE", + "JAVASCRIPT_UDF_FILE" ], "enumDescriptions": [ "Default input type.", @@ -4755,7 +4756,8 @@ "The parameter specifies a Cloud Storage folder to write to.", "The parameter specifies a Pub/Sub Topic.", "The parameter specifies a Pub/Sub Subscription.", - "The parameter specifies a BigQuery table." + "The parameter specifies a BigQuery table.", + "The parameter specifies a JavaScript UDF in Cloud Storage." ], "type": "string" }, @@ -6054,6 +6056,21 @@ }, "type": "object" }, + "Straggler": { + "description": "Information for a straggler.", + "id": "Straggler", + "properties": { + "batchStraggler": { + "$ref": "StragglerInfo", + "description": "Batch straggler identification and debugging information." + }, + "streamingStraggler": { + "$ref": "StreamingStragglerInfo", + "description": "Streaming straggler identification and debugging information." + } + }, + "type": "object" + }, "StragglerDebuggingInfo": { "description": "Information useful for debugging a straggler. Each type will provide specialized debugging information relevant for a particular cause. The StragglerDebuggingInfo will be 1:1 mapping to the StragglerCause enum.", "id": "StragglerDebuggingInfo", @@ -6088,6 +6105,13 @@ "description": "Summarized straggler identification details.", "id": "StragglerSummary", "properties": { + "recentStragglers": { + "description": "The most recent stragglers.", + "items": { + "$ref": "Straggler" + }, + "type": "array" + }, "stragglerCauseCount": { "additionalProperties": { "format": "int64", @@ -6328,6 +6352,37 @@ }, "type": "object" }, + "StreamingStragglerInfo": { + "description": "Information useful for streaming straggler identification and debugging.", + "id": "StreamingStragglerInfo", + "properties": { + "dataWatermarkLag": { + "description": "The event-time watermark lag at the time of the straggler detection.", + "format": "google-duration", + "type": "string" + }, + "endTime": { + "description": "End time of this straggler.", + "format": "google-datetime", + "type": "string" + }, + "startTime": { + "description": "Start time of this straggler.", + "format": "google-datetime", + "type": "string" + }, + "systemWatermarkLag": { + "description": "The system watermark lag at the time of the straggler detection.", + "format": "google-duration", + "type": "string" + }, + "workerName": { + "description": "Name of the worker where the straggler was detected.", + "type": "string" + } + }, + "type": "object" + }, "StringList": { "description": "A metric value representing a list of strings.", "id": "StringList", @@ -7005,6 +7060,10 @@ "workerShutdownNotice": { "$ref": "WorkerShutdownNotice", "description": "Shutdown notice by workers." + }, + "workerThreadScalingReport": { + "$ref": "WorkerThreadScalingReport", + "description": "Thread scaling information reported by workers." } }, "type": "object" @@ -7043,6 +7102,10 @@ "workerShutdownNoticeResponse": { "$ref": "WorkerShutdownNoticeResponse", "description": "Service's response to shutdown notice (currently empty)." + }, + "workerThreadScalingReportResponse": { + "$ref": "WorkerThreadScalingReportResponse", + "description": "Service's thread scaling recommendation for workers." } }, "type": "object" @@ -7243,6 +7306,30 @@ "properties": {}, "type": "object" }, + "WorkerThreadScalingReport": { + "description": "Contains information about the thread scaling information of a worker.", + "id": "WorkerThreadScalingReport", + "properties": { + "currentThreadCount": { + "description": "Current number of active threads in a worker.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "WorkerThreadScalingReportResponse": { + "description": "Contains the thread scaling recommendation for a worker from the backend.", + "id": "WorkerThreadScalingReportResponse", + "properties": { + "recommendedThreadCount": { + "description": "Recommended number of threads for a worker.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "WriteInstruction": { "description": "An instruction that writes records. Takes one input, produces no outputs.", "id": "WriteInstruction",
diff --git a/discovery/googleapis_beta/datalabeling__v1beta1.json b/discovery/googleapis_beta/datalabeling__v1beta1.json index dea65ef..1885b0c 100644 --- a/discovery/googleapis_beta/datalabeling__v1beta1.json +++ b/discovery/googleapis_beta/datalabeling__v1beta1.json
@@ -1594,7 +1594,7 @@ } } }, - "revision": "20221029", + "revision": "20221205", "rootUrl": "https://datalabeling.googleapis.com/", "schemas": { "GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata": {
diff --git a/discovery/googleapis_beta/datastream__v1alpha1.json b/discovery/googleapis_beta/datastream__v1alpha1.json index 10e7525..18ba4a6 100644 --- a/discovery/googleapis_beta/datastream__v1alpha1.json +++ b/discovery/googleapis_beta/datastream__v1alpha1.json
@@ -1194,7 +1194,7 @@ } } }, - "revision": "20221106", + "revision": "20230103", "rootUrl": "https://datastream.googleapis.com/", "schemas": { "AvroFileFormat": {
diff --git a/discovery/googleapis_beta/documentai__v1beta3.json b/discovery/googleapis_beta/documentai__v1beta3.json index 9b56093..3d2d015 100644 --- a/discovery/googleapis_beta/documentai__v1beta3.json +++ b/discovery/googleapis_beta/documentai__v1beta3.json
@@ -297,6 +297,31 @@ }, "processorTypes": { "methods": { + "get": { + "description": "Gets a processor type detail.", + "flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processorTypes/{processorTypesId}", + "httpMethod": "GET", + "id": "documentai.projects.locations.processorTypes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The processor type resource name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/processorTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta3/{+name}", + "response": { + "$ref": "GoogleCloudDocumentaiV1beta3ProcessorType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists the processor types that exist.", "flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/processorTypes", @@ -957,7 +982,7 @@ } } }, - "revision": "20221114", + "revision": "20230106", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { @@ -1227,11 +1252,11 @@ "type": "object" }, "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId": { - "description": "Identifies a document uniquely within the scope of a dataset in the GCS-based option.", + "description": "Identifies a document uniquely within the scope of a dataset in the Cloud Storage option.", "id": "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId", "properties": { "cwDocId": { - "description": "Optional. Id of the document (indexed) managed by Content Warehouse.", + "description": "Id of the document (indexed) managed by Content Warehouse.", "type": "string" }, "gcsUri": { @@ -1540,11 +1565,11 @@ "id": "GoogleCloudDocumentaiUiv1beta3RevisionReference", "properties": { "latestProcessorVersion": { - "description": "Read the revision generated by the processor version, returns error if it does not exist.", + "description": "Reads the revision generated by the processor version.", "type": "string" }, "revisionCase": { - "description": "Read the revision by the predefined case.", + "description": "Reads the revision by the predefined case.", "enum": [ "REVISION_CASE_UNSPECIFIED", "LATEST_HUMAN_REVIEW", @@ -1558,7 +1583,7 @@ "type": "string" }, "revisionId": { - "description": "Read the revision given by the id, returns error if it does not exist.", + "description": "Reads the revision given by the id.", "type": "string" } }, @@ -1999,62 +2024,6 @@ "properties": {}, "type": "object" }, - "GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata": { - "description": "The long running operation metadata for AnalyzeHitlData.", - "id": "GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata", - "properties": { - "commonMetadata": { - "$ref": "GoogleCloudDocumentaiV1alpha1CommonOperationMetadata", - "description": "The basic metadata of the long running operation." - } - }, - "type": "object" - }, - "GoogleCloudDocumentaiV1alpha1CommonOperationMetadata": { - "description": "The common metadata for long running operations.", - "id": "GoogleCloudDocumentaiV1alpha1CommonOperationMetadata", - "properties": { - "createTime": { - "description": "The creation time of the operation.", - "format": "google-datetime", - "type": "string" - }, - "resource": { - "description": "A related resource to this operation.", - "type": "string" - }, - "state": { - "description": "The state of the operation.", - "enum": [ - "STATE_UNSPECIFIED", - "RUNNING", - "CANCELLING", - "SUCCEEDED", - "FAILED", - "CANCELLED" - ], - "enumDescriptions": [ - "Unspecified state.", - "Operation is still running.", - "Operation is being cancelled.", - "Operation succeeded.", - "Operation failed.", - "Operation is cancelled." - ], - "type": "string" - }, - "stateMessage": { - "description": "A message providing more details about the current state of processing.", - "type": "string" - }, - "updateTime": { - "description": "The last update time of the operation.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDocumentaiV1beta1Barcode": { "description": "Encodes the detailed information of a barcode.", "id": "GoogleCloudDocumentaiV1beta1Barcode", @@ -2170,7 +2139,7 @@ "type": "array" }, "textStyles": { - "description": "Placeholder. Styles for the Document.text.", + "description": "Styles for the Document.text.", "items": { "$ref": "GoogleCloudDocumentaiV1beta1DocumentStyle" }, @@ -2273,7 +2242,7 @@ "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -2463,7 +2432,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.", + "description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", "format": "int64", "type": "string" } @@ -2583,7 +2552,7 @@ "type": "array" }, "valueType": { - "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the field_value is normal text) - \"unfilled_checkbox\" - \"filled_checkbox\"", + "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", "type": "string" } }, @@ -3451,7 +3420,7 @@ "type": "array" }, "textStyles": { - "description": "Placeholder. Styles for the Document.text.", + "description": "Styles for the Document.text.", "items": { "$ref": "GoogleCloudDocumentaiV1beta2DocumentStyle" }, @@ -3554,7 +3523,7 @@ "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -3764,7 +3733,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.", + "description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", "format": "int64", "type": "string" } @@ -3884,7 +3853,7 @@ "type": "array" }, "valueType": { - "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the field_value is normal text) - \"unfilled_checkbox\" - \"filled_checkbox\"", + "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", "type": "string" } }, @@ -4769,6 +4738,10 @@ "$ref": "GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig", "description": "The overall output config for batch process." }, + "processOptions": { + "$ref": "GoogleCloudDocumentaiV1beta3ProcessOptions", + "description": "Inference-time options for the process API" + }, "skipHumanReview": { "description": "Whether Human Review feature should be skipped for this request. Default to false.", "type": "boolean" @@ -5003,7 +4976,7 @@ "type": "array" }, "textStyles": { - "description": "Placeholder. Styles for the Document.text.", + "description": "Styles for the Document.text.", "items": { "$ref": "GoogleCloudDocumentaiV1beta3DocumentStyle" }, @@ -5106,7 +5079,7 @@ "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "text": { - "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate float or int normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", + "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" } }, @@ -5154,6 +5127,27 @@ "gcsUri": { "description": "The Cloud Storage uri (a directory) of the output.", "type": "string" + }, + "shardingConfig": { + "$ref": "GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig", + "description": "Specifies the sharding config for the output document." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig": { + "description": "The sharding config for the output document.", + "id": "GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfigShardingConfig", + "properties": { + "pagesOverlap": { + "description": "The number of overlapping pages between consecutive shards.", + "format": "int32", + "type": "integer" + }, + "pagesPerShard": { + "description": "The number of pages per shard.", + "format": "int32", + "type": "integer" } }, "type": "object" @@ -5323,7 +5317,7 @@ "type": "string" }, "page": { - "description": "Required. Index into the Document.pages element, for example using Document.pages to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.", + "description": "Required. Index into the Document.pages element, for example using `Document.pages` to locate the related page element. This field is skipped when its value is the default `0`. See https://developers.google.com/protocol-buffers/docs/proto3#json.", "format": "int64", "type": "string" } @@ -5443,7 +5437,7 @@ "type": "array" }, "valueType": { - "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the field_value is normal text) - \"unfilled_checkbox\" - \"filled_checkbox\"", + "description": "If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the `field_value` is normal text) - `unfilled_checkbox` - `filled_checkbox`", "type": "string" } }, @@ -5958,7 +5952,7 @@ "description": "If specified, lists all the possible values for this entity. This should not be more than a handful of values. If the number of values is >10 or could change frequently use the `EntityType.value_ontology` field and specify a list of all possible values in a value ontology file." }, "name": { - "description": "Name of the type. It must be unique within the schema file and cannot be a 'Common Type'. Besides that we use the following naming conventions: - *use `snake_casing`* - name matching is case-insensitive - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward compatibility internal infrastructure and tooling can handle any ascii character) - The `/` is sometimes used to denote a property of a type. For example `line_item/amount`. This convention is deprecated, but will still be honored for backward compatibility.", + "description": "Name of the type. It must be unique within the schema file and cannot be a 'Common Type'. Besides that we use the following naming conventions: - *use `snake_casing`* - name matching is case-sensitive - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward compatibility internal infrastructure and tooling can handle any ascii character) - The `/` is sometimes used to denote a property of a type. For example `line_item/amount`. This convention is deprecated, but will still be honored for backward compatibility.", "type": "string" }, "properties": { @@ -6604,6 +6598,28 @@ }, "type": "object" }, + "GoogleCloudDocumentaiV1beta3OcrConfig": { + "description": "Config for Document OCR.", + "id": "GoogleCloudDocumentaiV1beta3OcrConfig", + "properties": { + "enableNativePdfParsing": { + "description": "Enables special handling for PDFs with existing text information. Results in better text extraction quality in such PDF inputs.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta3ProcessOptions": { + "description": "Options for Process API", + "id": "GoogleCloudDocumentaiV1beta3ProcessOptions", + "properties": { + "ocrConfig": { + "$ref": "GoogleCloudDocumentaiV1beta3OcrConfig", + "description": "Only applicable to \"Document OCR Processor\". Returns error if set on other processor types." + } + }, + "type": "object" + }, "GoogleCloudDocumentaiV1beta3ProcessRequest": { "description": "Request message for the process document method.", "id": "GoogleCloudDocumentaiV1beta3ProcessRequest", @@ -6621,6 +6637,10 @@ "$ref": "GoogleCloudDocumentaiV1beta3Document", "description": "An inline document proto." }, + "processOptions": { + "$ref": "GoogleCloudDocumentaiV1beta3ProcessOptions", + "description": "Inference-time options for the process API" + }, "rawDocument": { "$ref": "GoogleCloudDocumentaiV1beta3RawDocument", "description": "A raw document content (bytes)." @@ -6761,6 +6781,13 @@ "description": "The resource name of the processor type. Format: `projects/{project}/processorTypes/{processor_type}`", "type": "string" }, + "sampleDocumentUris": { + "description": "A set of Cloud Storage URIs of sample documents for this processor.", + "items": { + "type": "string" + }, + "type": "array" + }, "type": { "description": "The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc.", "type": "string"
diff --git a/discovery/googleapis_beta/domains__v1beta1.json b/discovery/googleapis_beta/domains__v1beta1.json index bdb61b7..3db89a2 100644 --- a/discovery/googleapis_beta/domains__v1beta1.json +++ b/discovery/googleapis_beta/domains__v1beta1.json
@@ -841,7 +841,7 @@ } } }, - "revision": "20221110", + "revision": "20230105", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": {
diff --git a/discovery/googleapis_beta/factchecktools__v1alpha1.json b/discovery/googleapis_beta/factchecktools__v1alpha1.json index 2bd1e6c..43175f7 100644 --- a/discovery/googleapis_beta/factchecktools__v1alpha1.json +++ b/discovery/googleapis_beta/factchecktools__v1alpha1.json
@@ -302,7 +302,7 @@ } } }, - "revision": "20221204", + "revision": "20230115", "rootUrl": "https://factchecktools.googleapis.com/", "schemas": { "GoogleFactcheckingFactchecktoolsV1alpha1Claim": {
diff --git a/discovery/googleapis_beta/fcmdata__v1beta1.json b/discovery/googleapis_beta/fcmdata__v1beta1.json index 09cc44f..940e7ac 100644 --- a/discovery/googleapis_beta/fcmdata__v1beta1.json +++ b/discovery/googleapis_beta/fcmdata__v1beta1.json
@@ -152,7 +152,7 @@ } } }, - "revision": "20221205", + "revision": "20230116", "rootUrl": "https://fcmdata.googleapis.com/", "schemas": { "GoogleFirebaseFcmDataV1beta1AndroidDeliveryData": {
diff --git a/discovery/googleapis_beta/firebase__v1beta1.json b/discovery/googleapis_beta/firebase__v1beta1.json index 07f8780..bcb93b2 100644 --- a/discovery/googleapis_beta/firebase__v1beta1.json +++ b/discovery/googleapis_beta/firebase__v1beta1.json
@@ -431,7 +431,7 @@ ], "parameters": { "filter": { - "description": "A query string compatible with Google's [AIP-160](https://google.aip.dev/160) standard. Use any of the following fields in a query: * [`app_id`](../projects.apps#FirebaseAppInfo.FIELDS.app_id) * [`namespace`](../projects.apps#FirebaseAppInfo.FIELDS.namespace) * [`platform`](../projects.apps#FirebaseAppInfo.FIELDS.platform) We also support the following \"virtual\" fields (fields which are not actually part of the returned resource object, but can be queried as if they are pre-populated with specific values): * `sha1_hash` or `sha1_hashes`: This field is considered to be a repeated `string` field, populated with the list of all SHA-1 certificate fingerprints registered with the app. This list is empty if the app is not an Android app. * `sha256_hash` or `sha256_hashes`: This field is considered to be a repeated `string` field, populated with the list of all SHA-256 certificate fingerprints registered with the app. This list is empty if the app is not an Android app. * `app_store_id`: This field is considered to be a singular `string` field, populated with the Apple App Store ID registered with the app. This field is empty if the app is not an iOS app. * `team_id`: This field is considered to be a singular `string` field, populated with the Apple team ID registered with the app. This field is empty if the app is not an iOS app.", + "description": "A query string compatible with Google's [AIP-160 standard](https://google.aip.dev/160). Use any of the following fields in a query: * [`app_id`](../projects/searchApps#FirebaseAppInfo.FIELDS.app_id) * [`namespace`](../projects/searchApps#FirebaseAppInfo.FIELDS.namespace) * [`platform`](../projects/searchApps#FirebaseAppInfo.FIELDS.platform) This query also supports the following \"virtual\" fields. These are fields which are not actually part of the returned resource object, but they can be queried as if they are pre-populated with specific values. * `sha1_hash` or `sha1_hashes`: This field is considered to be a _repeated_ `string` field, populated with the list of all SHA-1 certificate fingerprints registered with the AndroidApp. This list is empty if the App is not an `AndroidApp`. * `sha256_hash` or `sha256_hashes`: This field is considered to be a _repeated_ `string` field, populated with the list of all SHA-256 certificate fingerprints registered with the AndroidApp. This list is empty if the App is not an `AndroidApp`. * `app_store_id`: This field is considered to be a _singular_ `string` field, populated with the Apple App Store ID registered with the IosApp. This field is empty if the App is not an `IosApp`. * `team_id`: This field is considered to be a _singular_ `string` field, populated with the Apple team ID registered with the IosApp. This field is empty if the App is not an `IosApp`.", "location": "query", "type": "string" }, @@ -1318,7 +1318,7 @@ } } }, - "revision": "20221122", + "revision": "20230116", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { @@ -1422,6 +1422,10 @@ "description": "The user-assigned display name for the `AndroidApp`.", "type": "string" }, + "etag": { + "description": "This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding. Learn more about `etag` in Google's [AIP-154 standard](https://google.aip.dev/154#declarative-friendly-resources). This etag is strongly validated.", + "type": "string" + }, "name": { "description": "The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510). Note that the value for PROJECT_IDENTIFIER in any response body will be the `ProjectId`. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see [`appId`](../projects.androidApps#AndroidApp.FIELDS.app_id)).", "type": "string" @@ -1459,7 +1463,7 @@ "enumDescriptions": [ "Unspecified state.", "The App is active.", - "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." + "The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string" @@ -1578,7 +1582,7 @@ "enumDescriptions": [ "Unspecified state.", "The App is active.", - "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." + "The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string" @@ -1594,7 +1598,7 @@ "additionalProperties": { "type": "string" }, - "description": "Set of user-defined annotations for the FirebaseProject as per [AIP-128](https://google.aip.dev/128#annotations). These annotations are intended solely for developers and client-side tools Firebase services will not mutate this annotation set.", + "description": "A set of user-defined annotations for the FirebaseProject. Learn more about annotations in Google's [AIP-128 standard](https://google.aip.dev/128#annotations). These annotations are intended solely for developers and client-side tools. Firebase services will not mutate this annotations set.", "type": "object" }, "displayName": { @@ -1602,7 +1606,7 @@ "type": "string" }, "etag": { - "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding. [AIP-154](https://google.aip.dev/154#declarative-friendly-resources). This etag is strongly validated.", + "description": "This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding. Learn more about `etag` in Google's [AIP-154 standard](https://google.aip.dev/154#declarative-friendly-resources). This etag is strongly validated.", "type": "string" }, "name": { @@ -1668,6 +1672,10 @@ "description": "The user-assigned display name for the `IosApp`.", "type": "string" }, + "etag": { + "description": "This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding. Learn more about `etag` in Google's [AIP-154 standard](https://google.aip.dev/154#declarative-friendly-resources). This etag is strongly validated.", + "type": "string" + }, "name": { "description": "The resource name of the IosApp, in the format: projects/PROJECT_IDENTIFIER /iosApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510). Note that the value for PROJECT_IDENTIFIER in any response body will be the `ProjectId`. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see [`appId`](../projects.iosApps#IosApp.FIELDS.app_id)).", "type": "string" @@ -1687,7 +1695,7 @@ "enumDescriptions": [ "Unspecified state.", "The App is active.", - "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." + "The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string" @@ -1952,11 +1960,11 @@ "type": "boolean" }, "etag": { - "description": "Checksum provided in the AndroidApp entity, which if provided ensures the client has an up-to-date value before proceeding.", + "description": "Checksum provided in the AndroidApp resource. If provided, this checksum ensures that the client has an up-to-date value before proceeding.", "type": "string" }, "immediate": { - "description": "Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteAndroidApp.", + "description": "Determines whether to _immediately_ delete the AndroidApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteAndroidApp.", "type": "boolean" }, "validateOnly": { @@ -1974,11 +1982,11 @@ "type": "boolean" }, "etag": { - "description": "Checksum provided in the IosApp entity, which if provided ensures the client has an up-to-date value before proceeding.", + "description": "Checksum provided in the IosApp resource. If provided, this checksum ensures that the client has an up-to-date value before proceeding.", "type": "string" }, "immediate": { - "description": "Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteIosApp", + "description": "Determines whether to _immediately_ delete the IosApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteIosApp", "type": "boolean" }, "validateOnly": { @@ -1996,11 +2004,11 @@ "type": "boolean" }, "etag": { - "description": "Checksum provided in the WebApp entity, which if provided ensures the client has an up-to-date value before proceeding.", + "description": "Checksum provided in the WebApp resource. If provided, this checksum ensures that the client has an up-to-date value before proceeding.", "type": "string" }, "immediate": { - "description": "Determines whether to _immediately_ delete the App. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means that the App may be restored to the Project within 30 days using UndeleteWebApp", + "description": "Determines whether to _immediately_ delete the WebApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteWebApp", "type": "boolean" }, "validateOnly": { @@ -2136,7 +2144,7 @@ "id": "UndeleteAndroidAppRequest", "properties": { "etag": { - "description": "Checksum provided in the AndroidApp entity, which if provided ensures the client has an up-to-date value before proceeding.", + "description": "Checksum provided in the AndroidApp resource. If provided, this checksum ensures that the client has an up-to-date value before proceeding.", "type": "string" }, "validateOnly": { @@ -2150,7 +2158,7 @@ "id": "UndeleteIosAppRequest", "properties": { "etag": { - "description": "Checksum provided in the IosApp entity, which if provided ensures the client has an up-to-date value before proceeding.", + "description": "Checksum provided in the IosApp resource. If provided, this checksum ensures that the client has an up-to-date value before proceeding.", "type": "string" }, "validateOnly": { @@ -2164,7 +2172,7 @@ "id": "UndeleteWebAppRequest", "properties": { "etag": { - "description": "Checksum provided in the WebApp entity, which if provided ensures the client has an up-to-date value before proceeding.", + "description": "Checksum provided in the WebApp resource. If provided, this checksum ensures that the client has an up-to-date value before proceeding.", "type": "string" }, "validateOnly": { @@ -2198,6 +2206,10 @@ "description": "The user-assigned display name for the `WebApp`.", "type": "string" }, + "etag": { + "description": "This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding. Learn more about `etag` in Google's [AIP-154 standard](https://google.aip.dev/154#declarative-friendly-resources). This etag is strongly validated.", + "type": "string" + }, "name": { "description": "The resource name of the WebApp, in the format: projects/PROJECT_IDENTIFIER /webApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510). Note that the value for PROJECT_IDENTIFIER in any response body will be the `ProjectId`. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see [`appId`](../projects.webApps#WebApp.FIELDS.app_id)).", "type": "string" @@ -2217,7 +2229,7 @@ "enumDescriptions": [ "Unspecified state.", "The App is active.", - "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." + "The App has been soft-deleted. After an App has been in the `DELETED` state for more than 30 days, it is considered expired and will be permanently deleted. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string"
diff --git a/discovery/googleapis_beta/firebaseappcheck__v1beta.json b/discovery/googleapis_beta/firebaseappcheck__v1beta.json index b58d642..4572a23 100644 --- a/discovery/googleapis_beta/firebaseappcheck__v1beta.json +++ b/discovery/googleapis_beta/firebaseappcheck__v1beta.json
@@ -1462,7 +1462,7 @@ } } }, - "revision": "20221205", + "revision": "20230116", "rootUrl": "https://firebaseappcheck.googleapis.com/", "schemas": { "GoogleFirebaseAppcheckV1betaAppAttestConfig": {
diff --git a/discovery/googleapis_beta/firebasedatabase__v1beta.json b/discovery/googleapis_beta/firebasedatabase__v1beta.json index 125895b..9702b44 100644 --- a/discovery/googleapis_beta/firebasedatabase__v1beta.json +++ b/discovery/googleapis_beta/firebasedatabase__v1beta.json
@@ -21,7 +21,7 @@ "baseUrl": "https://firebasedatabase.googleapis.com/", "batchPath": "batch", "canonicalName": "Firebase Realtime Database", - "description": "The Firebase Realtime Database Management API enables programmatic provisioning and management of Realtime Database instances.", + "description": "The Firebase Realtime Database API enables programmatic provisioning and management of Realtime Database instances.", "discoveryVersion": "v1", "documentationLink": "https://firebase.google.com/docs/reference/rest/database/database-management/rest/", "icons": { @@ -349,7 +349,7 @@ } } }, - "revision": "20221122", + "revision": "20230116", "rootUrl": "https://firebasedatabase.googleapis.com/", "schemas": { "DatabaseInstance": {
diff --git a/discovery/googleapis_beta/firebasestorage__v1beta.json b/discovery/googleapis_beta/firebasestorage__v1beta.json index 99c677e..694ec0b 100644 --- a/discovery/googleapis_beta/firebasestorage__v1beta.json +++ b/discovery/googleapis_beta/firebasestorage__v1beta.json
@@ -236,7 +236,7 @@ } } }, - "revision": "20221125", + "revision": "20230106", "rootUrl": "https://firebasestorage.googleapis.com/", "schemas": { "AddFirebaseRequest": {
diff --git a/discovery/googleapis_beta/gkehub__v2alpha.json b/discovery/googleapis_beta/gkehub__v2alpha.json index 6cd0a33..2a0499f 100644 --- a/discovery/googleapis_beta/gkehub__v2alpha.json +++ b/discovery/googleapis_beta/gkehub__v2alpha.json
@@ -278,7 +278,7 @@ } } }, - "revision": "20221108", + "revision": "20221207", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "CancelOperationRequest": {
diff --git a/discovery/googleapis_beta/ideahub__v1beta.json b/discovery/googleapis_beta/ideahub__v1beta.json deleted file mode 100644 index cdb77e3..0000000 --- a/discovery/googleapis_beta/ideahub__v1beta.json +++ /dev/null
@@ -1,473 +0,0 @@ -{ - "basePath": "", - "baseUrl": "https://ideahub.googleapis.com/", - "batchPath": "batch", - "canonicalName": "Ideahub", - "description": "This is an invitation-only API.", - "discoveryVersion": "v1", - "documentationLink": "https://console.cloud.google.com/apis/library/ideahub.googleapis.com", - "icons": { - "x16": "http://www.google.com/images/icons/product/search-16.gif", - "x32": "http://www.google.com/images/icons/product/search-32.gif" - }, - "id": "ideahub:v1beta", - "kind": "discovery#restDescription", - "name": "ideahub", - "ownerDomain": "google.com", - "ownerName": "Google", - "parameters": { - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "access_token": { - "description": "OAuth access token.", - "location": "query", - "type": "string" - }, - "alt": { - "default": "json", - "description": "Data format for response.", - "enum": [ - "json", - "media", - "proto" - ], - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ], - "location": "query", - "type": "string" - }, - "callback": { - "description": "JSONP", - "location": "query", - "type": "string" - }, - "fields": { - "description": "Selector specifying which fields to include in a partial response.", - "location": "query", - "type": "string" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "location": "query", - "type": "string" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "location": "query", - "type": "string" - }, - "prettyPrint": { - "default": "true", - "description": "Returns response with indentations and line breaks.", - "location": "query", - "type": "boolean" - }, - "quotaUser": { - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", - "location": "query", - "type": "string" - }, - "uploadType": { - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query", - "type": "string" - }, - "upload_protocol": { - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", - "location": "query", - "type": "string" - } - }, - "protocol": "rest", - "resources": { - "platforms": { - "resources": { - "properties": { - "resources": { - "ideaActivities": { - "methods": { - "create": { - "description": "Creates an idea activity entry.", - "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/ideaActivities", - "httpMethod": "POST", - "id": "ideahub.platforms.properties.ideaActivities.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. The parent resource where this idea activity will be created. Format: platforms/{platform}/property/{property}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+parent}/ideaActivities", - "request": { - "$ref": "GoogleSearchIdeahubV1betaIdeaActivity" - }, - "response": { - "$ref": "GoogleSearchIdeahubV1betaIdeaActivity" - } - } - } - }, - "ideaStates": { - "methods": { - "patch": { - "description": "Update an idea state resource.", - "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/ideaStates/{ideaStatesId}", - "httpMethod": "PATCH", - "id": "ideahub.platforms.properties.ideaStates.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+/ideaStates/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "The list of fields to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta/{+name}", - "request": { - "$ref": "GoogleSearchIdeahubV1betaIdeaState" - }, - "response": { - "$ref": "GoogleSearchIdeahubV1betaIdeaState" - } - } - } - }, - "ideas": { - "methods": { - "list": { - "description": "List ideas for a given Creator and filter and sort options.", - "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/ideas", - "httpMethod": "GET", - "id": "ideahub.platforms.properties.ideas.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions are implicitly combined, as if the `AND` operator was always used. The `OR` operator is currently unsupported. * Supported functions: - `saved(bool)`: If set to true, fetches only saved ideas. If set to false, fetches all except saved ideas. Can't be simultaneously used with `dismissed(bool)`. - `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be simultaneously used with `saved(bool)`. The `false` value is currently unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)` The length of this field should be no more than 500 characters.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Order semantics described below.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will be coerced to 2000.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Used to fetch next page.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. If defined, specifies the creator for which to filter by. Format: publishers/{publisher}/properties/{property}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+parent}/ideas", - "response": { - "$ref": "GoogleSearchIdeahubV1betaListIdeasResponse" - } - } - } - }, - "locales": { - "methods": { - "list": { - "description": "Returns which locales ideas are available in for a given Creator.", - "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/locales", - "httpMethod": "GET", - "id": "ideahub.platforms.properties.locales.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "pageSize": { - "description": "The maximum number of locales to return. The service may return fewer than this value. If unspecified, at most 100 locales will be returned. The maximum value is 100; values above 100 will be coerced to 100.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token, received from a previous `ListAvailableLocales` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAvailableLocales` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The web property to check idea availability for Format: platforms/{platform}/property/{property}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta/{+parent}/locales", - "response": { - "$ref": "GoogleSearchIdeahubV1betaListAvailableLocalesResponse" - } - } - } - }, - "topicStates": { - "methods": { - "patch": { - "description": "Update a topic state resource.", - "flatPath": "v1beta/platforms/{platformsId}/properties/{propertiesId}/topicStates/{topicStatesId}", - "httpMethod": "PATCH", - "id": "ideahub.platforms.properties.topicStates.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", - "location": "path", - "pattern": "^platforms/[^/]+/properties/[^/]+/topicStates/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "The list of fields to be updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta/{+name}", - "request": { - "$ref": "GoogleSearchIdeahubV1betaTopicState" - }, - "response": { - "$ref": "GoogleSearchIdeahubV1betaTopicState" - } - } - } - } - } - } - } - } - }, - "revision": "20221203", - "rootUrl": "https://ideahub.googleapis.com/", - "schemas": { - "GoogleSearchIdeahubV1betaAvailableLocale": { - "description": "Represents locales that are available for a web property.", - "id": "GoogleSearchIdeahubV1betaAvailableLocale", - "properties": { - "locale": { - "description": "A string in BCP 47 format, without a resource prefix.", - "type": "string" - }, - "name": { - "description": "A string in BCP 47 format, prefixed with the platform and property name, and \"locales/\". Format: platforms/{platform}/properties/{property}/locales/{locale}", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaIdea": { - "description": "A single Idea that we want to show the end user.", - "id": "GoogleSearchIdeahubV1betaIdea", - "properties": { - "name": { - "description": "Unique identifier for the idea. Format: ideas/{ideaId}", - "type": "string" - }, - "text": { - "description": "The idea’s text.", - "type": "string" - }, - "topics": { - "description": "The Topics that match the idea.", - "items": { - "$ref": "GoogleSearchIdeahubV1betaTopic" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaIdeaActivity": { - "description": "An idea activity entry.", - "id": "GoogleSearchIdeahubV1betaIdeaActivity", - "properties": { - "ideas": { - "description": "The Idea IDs for this entry. If empty, topics should be set.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Unique identifier for the idea activity. The name is ignored when creating an idea activity. Format: platforms/{platform}/properties/{property}/ideaActivities/{idea_activity}", - "type": "string" - }, - "topics": { - "description": "The Topic IDs for this entry. If empty, ideas should be set.", - "items": { - "type": "string" - }, - "type": "array" - }, - "type": { - "description": "The type of activity performed.", - "enum": [ - "TYPE_UNSPECIFIED", - "POST_DRAFTED", - "POST_PUBLISHED", - "POST_DELETED", - "POST_UNPUBLISHED" - ], - "enumDescriptions": [ - "An unspecified, unknown type of idea activity.", - "An idea activity type indicating a post has been drafted.", - "An idea activity type indicating a post has been published.", - "An idea activity type indicating a post has been deleted.", - "An idea activity type indicating a post has been unpublished." - ], - "type": "string" - }, - "uri": { - "description": "The uri the activity relates to.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaIdeaState": { - "description": "Represents idea state specific to a web property.", - "id": "GoogleSearchIdeahubV1betaIdeaState", - "properties": { - "dismissed": { - "description": "Whether the idea is dismissed.", - "type": "boolean" - }, - "name": { - "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", - "type": "string" - }, - "saved": { - "description": "Whether the idea is saved.", - "type": "boolean" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaListAvailableLocalesResponse": { - "description": "Response for whether ideas are available for a given web property on a platform, for the currently logged-in user.", - "id": "GoogleSearchIdeahubV1betaListAvailableLocalesResponse", - "properties": { - "availableLocales": { - "description": "Locales for which ideas are available for the given Creator.", - "items": { - "$ref": "GoogleSearchIdeahubV1betaAvailableLocale" - }, - "type": "array" - }, - "nextPageToken": { - "description": "A token that 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" - }, - "GoogleSearchIdeahubV1betaListIdeasResponse": { - "id": "GoogleSearchIdeahubV1betaListIdeasResponse", - "properties": { - "ideas": { - "description": "Results for the ListIdeasRequest.", - "items": { - "$ref": "GoogleSearchIdeahubV1betaIdea" - }, - "type": "array" - }, - "nextPageToken": { - "description": "Used to fetch the next page in a subsequent request.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaTopic": { - "description": "Represents a Topic umbrella for a list of questions that a Creator may want to respond to.", - "id": "GoogleSearchIdeahubV1betaTopic", - "properties": { - "displayName": { - "description": "String displayed to the creator indicating the name of the Topic.", - "type": "string" - }, - "mid": { - "description": "The mID of the topic.", - "type": "string" - }, - "name": { - "description": "Unique identifier for the topic. Format: topics/{topic}", - "type": "string" - } - }, - "type": "object" - }, - "GoogleSearchIdeahubV1betaTopicState": { - "description": "Represents topic state specific to a web property.", - "id": "GoogleSearchIdeahubV1betaTopicState", - "properties": { - "dismissed": { - "description": "Whether the topic is dismissed.", - "type": "boolean" - }, - "name": { - "description": "Unique identifier for the topic state. Format: platforms/{platform}/properties/{property}/topicStates/{topic_state}", - "type": "string" - }, - "saved": { - "description": "Whether the topic is saved.", - "type": "boolean" - } - }, - "type": "object" - } - }, - "servicePath": "", - "title": "Idea Hub API", - "version": "v1beta", - "version_module": true -} \ No newline at end of file
diff --git a/discovery/googleapis_beta/lifesciences__v2beta.json b/discovery/googleapis_beta/lifesciences__v2beta.json index 23fdda6..2bee71a 100644 --- a/discovery/googleapis_beta/lifesciences__v2beta.json +++ b/discovery/googleapis_beta/lifesciences__v2beta.json
@@ -310,7 +310,7 @@ } } }, - "revision": "20221125", + "revision": "20230106", "rootUrl": "https://lifesciences.googleapis.com/", "schemas": { "Accelerator": {
diff --git a/discovery/googleapis_beta/metastore__v1beta.json b/discovery/googleapis_beta/metastore__v1beta.json index 4123755..f7c3b9b 100644 --- a/discovery/googleapis_beta/metastore__v1beta.json +++ b/discovery/googleapis_beta/metastore__v1beta.json
@@ -1549,7 +1549,7 @@ } } }, - "revision": "20221130", + "revision": "20230106", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -1567,6 +1567,12 @@ }, "type": "object" }, + "AlterMetadataResourceLocationResponse": { + "description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", + "id": "AlterMetadataResourceLocationResponse", + "properties": {}, + "type": "object" + }, "AuditConfig": { "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", "id": "AuditConfig", @@ -1756,7 +1762,7 @@ "type": "string" }, "subnetwork": { - "description": "Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:`projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}", + "description": "Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}", "type": "string" } }, @@ -2453,6 +2459,12 @@ }, "type": "object" }, + "MoveTableToDatabaseResponse": { + "description": "Response message for DataprocMetastore.MoveTableToDatabase.", + "id": "MoveTableToDatabaseResponse", + "properties": {}, + "type": "object" + }, "NetworkConfig": { "description": "Network configuration for the Dataproc Metastore service.", "id": "NetworkConfig", @@ -2602,7 +2614,12 @@ "RemoveIamPolicyRequest": { "description": "Request message for DataprocMetastore.RemoveIamPolicy.", "id": "RemoveIamPolicyRequest", - "properties": {}, + "properties": { + "asynchronous": { + "description": "Optional. Removes IAM policy attached to database or table asynchronously when it is set. The default is false.", + "type": "boolean" + } + }, "type": "object" }, "RemoveIamPolicyResponse": {
diff --git a/discovery/googleapis_beta/networkconnectivity__v1alpha1.json b/discovery/googleapis_beta/networkconnectivity__v1alpha1.json index 698c56d..3a9b16e 100644 --- a/discovery/googleapis_beta/networkconnectivity__v1alpha1.json +++ b/discovery/googleapis_beta/networkconnectivity__v1alpha1.json
@@ -451,7 +451,7 @@ "internalRanges": { "methods": { "create": { - "description": "Creates a new InternalRange in a given project and location.", + "description": "Creates a new internal range in a given project and location.", "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges", "httpMethod": "POST", "id": "networkconnectivity.projects.locations.internalRanges.create", @@ -472,7 +472,7 @@ "type": "string" }, "requestId": { - "description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he 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).", + "description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if the 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" } @@ -489,7 +489,7 @@ ] }, "delete": { - "description": "Deletes a single InternalRange.", + "description": "Deletes a single internal range.", "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "DELETE", "id": "networkconnectivity.projects.locations.internalRanges.delete", @@ -505,7 +505,7 @@ "type": "string" }, "requestId": { - "description": "Optional. 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. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he 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).", + "description": "Optional. 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. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if the 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" } @@ -519,7 +519,7 @@ ] }, "get": { - "description": "Gets details of a single InternalRange.", + "description": "Gets details of a single internal range.", "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "GET", "id": "networkconnectivity.projects.locations.internalRanges.get", @@ -575,7 +575,7 @@ ] }, "list": { - "description": "Lists InternalRanges in a given project and location.", + "description": "Lists internal ranges in a given project and location.", "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges", "httpMethod": "GET", "id": "networkconnectivity.projects.locations.internalRanges.list", @@ -621,7 +621,7 @@ ] }, "patch": { - "description": "Updates the parameters of a single InternalRange.", + "description": "Updates the parameters of a single internal range.", "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", "httpMethod": "PATCH", "id": "networkconnectivity.projects.locations.internalRanges.patch", @@ -630,19 +630,19 @@ ], "parameters": { "name": { - "description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", + "description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", "required": true, "type": "string" }, "requestId": { - "description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he 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).", + "description": "Optional. 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. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if the 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" }, "updateMask": { - "description": "Optional. Field mask is used to specify the fields to be overwritten in the InternalRange resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "description": "Optional. Field mask is used to specify the fields to be overwritten in the internal range resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1114,7 +1114,7 @@ } } }, - "revision": "20221107", + "revision": "20230105", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { @@ -1367,11 +1367,11 @@ "type": "object" }, "InternalRange": { - "description": "The InternalRange resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (it's usage and peering behavior). Networking resources can link to this range if they are created as belonging to it. Next id: 14", + "description": "The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.", "id": "InternalRange", "properties": { "createTime": { - "description": "Time when the InternalRange was created.", + "description": "Time when the internal range was created.", "format": "google-datetime", "type": "string" }, @@ -1380,7 +1380,7 @@ "type": "string" }, "ipCidrRange": { - "description": "IP range that this InternalRange defines.", + "description": "IP range that this internal range defines.", "type": "string" }, "labels": { @@ -1391,15 +1391,15 @@ "type": "object" }, "name": { - "description": "Immutable. The name of a InternalRange. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", + "description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", "type": "string" }, "network": { - "description": "The URL or resource ID of the network in which to reserve the Internal Range. The network cannot be deleted if there are any reserved Internal Ranges referring to it. Legacy network is not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123", + "description": "The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. This can only be specified for a global internal address. Example: - URL: /compute/v1/projects/{project}/global/networks/{resourceId} - ID: network123", "type": "string" }, "overlaps": { - "description": "Optional. Types of resources that are allowed to overlap with the current InternalRange.", + "description": "Optional. Types of resources that are allowed to overlap with the current internal range.", "items": { "enum": [ "OVERLAP_UNSPECIFIED", @@ -1407,14 +1407,14 @@ ], "enumDescriptions": [ "No overlap overrides.", - "Allow creation of static routes more specific that the current InternalRange." + "Allow creation of static routes more specific than the current internal range." ], "type": "string" }, "type": "array" }, "peering": { - "description": "The type of peering set for this InternalRange.", + "description": "The type of peering set for this internal range.", "enum": [ "PEERING_UNSPECIFIED", "FOR_SELF", @@ -1423,14 +1423,14 @@ ], "enumDescriptions": [ "If Peering is left unspecified in CreateInternalRange or UpdateInternalRange, it will be defaulted to FOR_SELF.", - "This is the default behavior and represents the case that this InternalRange is intended to be used in the VPC on which it is created and is accessible from it’s peers. This implies that peers or peer-of-peer’s cannot use this range.", - "This behavior can be set when the Internal Range is being reserved for usage by the peers. This means that no resource within the VPC in which it is being created can use this to associate with a GCP resource, but one of the peer’s can. This represents \"donating\" a range for peers to use.", - "This behavior can be set when the Internal Range is being reserved for usage by the VPC on which it is created but not shared with the peers. In a sense it is local to the VPC. This can be used to create Internal Ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for interconnect routes that are not shared with peers. This also implies that peer’s cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC too." + "This is the default behavior and represents the case that this internal range is intended to be used in the VPC in which it is created and is accessible from its peers. This implies that peers or peers-of-peers cannot use this range.", + "This behavior can be set when the internal range is being reserved for usage by the peers. This means that no resource within the VPC in which it is being created can use this to associate with a VPC resource, but one of the peers can. This represents donating a range for peers to use.", + "This behavior can be set when the internal range is being reserved for usage by the VPC in which it is created but not shared with the peers. In a sense it is local to the VPC. This can be used to create internal ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for Interconnect routes that are not shared with peers. This also implies that peers cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC, too." ], "type": "string" }, "prefixLength": { - "description": "An alternate to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, it's an error if the range sizes don't match. Can also be used during updates to change the range size.", + "description": "An alternative to ip_cidr_range. Can be set when trying to create a reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size.", "format": "int32", "type": "integer" }, @@ -1442,26 +1442,26 @@ "type": "array" }, "updateTime": { - "description": "Time when the InternalRange was updated.", + "description": "Time when the internal range was updated.", "format": "google-datetime", "type": "string" }, "usage": { - "description": "The type of usage set for this InternalRange.", + "description": "The type of usage set for this internal range.", "enum": [ "USAGE_UNSPECIFIED", "FOR_VPC", "EXTERNAL_TO_VPC" ], "enumDescriptions": [ - "Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.", - "A GCP resource can use the reserved CIDR block by associating it with the Internal Range resource if usage is set to FOR_VPC.", - "Ranges created with EXTERNAL_TO_VPC cannot be associated with GCP resources and are meant to block out address ranges for various use cases, like for example, usage on-prem, with dynamic route announcements via interconnect." + "Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.", + "A VPC resource can use the reserved CIDR block by associating it with the internal range resource if usage is set to FOR_VPC.", + "Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC resources and are meant to block out address ranges for various use cases such as usage on-premises, with dynamic route announcements via Interconnect." ], "type": "string" }, "users": { - "description": "Output only. The list of resources that refer to this internal range. Resources that use the InternalRange for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this InternalRange. Having a user, based on this reference, prevents deletion of the InternalRange referred to. Can be empty.", + "description": "Output only. The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range that is referred to. Can be empty.", "items": { "type": "string" }, @@ -1501,7 +1501,7 @@ "id": "ListInternalRangesResponse", "properties": { "internalRanges": { - "description": "InternalRanges to be returned.", + "description": "Internal range to be returned.", "items": { "$ref": "InternalRange" },
diff --git a/discovery/googleapis_beta/networksecurity__v1beta1.json b/discovery/googleapis_beta/networksecurity__v1beta1.json index d491b9a..cd0d268 100644 --- a/discovery/googleapis_beta/networksecurity__v1beta1.json +++ b/discovery/googleapis_beta/networksecurity__v1beta1.json
@@ -103,6 +103,137 @@ }, "protocol": "rest", "resources": { + "organizations": { + "resources": { + "locations": { + "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": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "networksecurity.organizations.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "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": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "networksecurity.organizations.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "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": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "networksecurity.organizations.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "networksecurity.organizations.locations.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": "^organizations/[^/]+/locations/[^/]+$", + "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": "v1beta1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + }, "projects": { "resources": { "locations": { @@ -175,6 +306,97 @@ } }, "resources": { + "addressGroups": { + "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": "v1beta1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:getIamPolicy", + "httpMethod": "GET", + "id": "networksecurity.projects.locations.addressGroups.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/[^/]+/addressGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+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": "v1beta1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:setIamPolicy", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.addressGroups.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/[^/]+/addressGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+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": "v1beta1/projects/{projectsId}/locations/{locationsId}/addressGroups/{addressGroupsId}:testIamPermissions", + "httpMethod": "POST", + "id": "networksecurity.projects.locations.addressGroups.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/[^/]+/addressGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+resource}:testIamPermissions", + "request": { + "$ref": "GoogleIamV1TestIamPermissionsRequest" + }, + "response": { + "$ref": "GoogleIamV1TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "authorizationPolicies": { "methods": { "create": { @@ -1035,7 +1257,7 @@ } } }, - "revision": "20221103", + "revision": "20230106", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AuthorizationPolicy": {
diff --git a/discovery/googleapis_beta/ondemandscanning__v1beta1.json b/discovery/googleapis_beta/ondemandscanning__v1beta1.json index a82f8d1..128e66a 100644 --- a/discovery/googleapis_beta/ondemandscanning__v1beta1.json +++ b/discovery/googleapis_beta/ondemandscanning__v1beta1.json
@@ -337,7 +337,7 @@ } } }, - "revision": "20221114", + "revision": "20230109", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1716,14 +1716,18 @@ "OS", "MAVEN", "GO", - "GO_STDLIB" + "GO_STDLIB", + "PYPI", + "NPM" ], "enumDescriptions": [ "", "Operating System", "Java packages from Maven.", "Go third-party packages.", - "Go toolchain + standard library packages." + "Go toolchain + standard library packages.", + "Python packages.", + "NPM packages." ], "type": "string" },
diff --git a/discovery/googleapis_beta/osconfig__v1alpha.json b/discovery/googleapis_beta/osconfig__v1alpha.json index 5fed78a..e05da1a 100644 --- a/discovery/googleapis_beta/osconfig__v1alpha.json +++ b/discovery/googleapis_beta/osconfig__v1alpha.json
@@ -682,7 +682,7 @@ } } }, - "revision": "20221205", + "revision": "20230115", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "CVSSv3": { @@ -2098,7 +2098,7 @@ "type": "string" }, "script": { - "description": "An inline script. The size of the script is limited to 1024 characters.", + "description": "An inline script. The size of the script is limited to 32KiB.", "type": "string" } }, @@ -2167,7 +2167,7 @@ "id": "OSPolicyResourceFileResource", "properties": { "content": { - "description": "A a file with this content. The size of the content is limited to 1024 characters.", + "description": "A a file with this content. The size of the content is limited to 32KiB.", "type": "string" }, "file": {
diff --git a/discovery/googleapis_beta/policysimulator__v1beta1.json b/discovery/googleapis_beta/policysimulator__v1beta1.json index d228472..f2fe137 100644 --- a/discovery/googleapis_beta/policysimulator__v1beta1.json +++ b/discovery/googleapis_beta/policysimulator__v1beta1.json
@@ -705,7 +705,7 @@ } } }, - "revision": "20221112", + "revision": "20230108", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudPolicysimulatorV1Replay": {
diff --git a/discovery/googleapis_beta/privateca__v1beta1.json b/discovery/googleapis_beta/privateca__v1beta1.json index f732d5f..20d4a97 100644 --- a/discovery/googleapis_beta/privateca__v1beta1.json +++ b/discovery/googleapis_beta/privateca__v1beta1.json
@@ -1252,7 +1252,7 @@ } } }, - "revision": "20221117", + "revision": "20230105", "rootUrl": "https://privateca.googleapis.com/", "schemas": { "AccessUrls": {
diff --git a/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json b/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json index 87bc49b..58c7a0a 100644 --- a/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json +++ b/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json
@@ -2482,7 +2482,7 @@ } } }, - "revision": "20221014", + "revision": "20230115", "rootUrl": "https://prod-tt-sasportal.googleapis.com/", "schemas": { "SasPortalAssignment": { @@ -2512,7 +2512,7 @@ "description": "The frequency range of the channel." }, "score": { - "description": "The channel score, normalized to be in [0,100].", + "description": "The channel score, normalized to be in the range [0,100].", "format": "double", "type": "number" } @@ -2566,7 +2566,7 @@ "type": "string" }, "frns": { - "description": "Output only. The FRNs copied from its direct parent.", + "description": "Output only. The FCC Registration Numbers (FRNs) copied from its direct parent.", "items": { "type": "string" }, @@ -2616,7 +2616,7 @@ "type": "string" }, "grantRangeAllowlists": { - "description": "Only ranges within the allowlists are available for new grants.", + "description": "Only ranges that are within the allowlists are available for new grants.", "items": { "$ref": "SasPortalFrequencyRange" }, @@ -2861,19 +2861,19 @@ "id": "SasPortalDeviceMetadata", "properties": { "antennaModel": { - "description": "If populated, the Antenna Model Pattern to use. Format is: RecordCreatorId:PatternId", + "description": "If populated, the Antenna Model Pattern to use. Format is: `RecordCreatorId:PatternId`", "type": "string" }, "commonChannelGroup": { - "description": "CCG. A group of CBSDs in the same ICG requesting a common primary channel assignment. See CBRSA-TS-2001 V3.0.0 for more details.", + "description": "Common Channel Group (CCG). A group of CBSDs in the same ICG requesting a common primary channel assignment. For more details, see [CBRSA-TS-2001 V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-TS-2001-V3.0.0_Approved-for-publication.pdf).", "type": "string" }, "interferenceCoordinationGroup": { - "description": "ICG. A group of CBSDs that manage their own interference with the group. See CBRSA-TS-2001 V3.0.0 for more details.", + "description": "Interference Coordination Group (ICG). A group of CBSDs that manage their own interference with the group. For more details, see [CBRSA-TS-2001 V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-TS-2001-V3.0.0_Approved-for-publication.pdf).", "type": "string" }, "nrqzValidated": { - "description": "Output only. Whether a CPI has validated to have coordinated with the National Quiet Zone office.", + "description": "Output only. Set to `true` if a CPI has validated that they have coordinated with the National Quiet Zone office.", "readOnly": true, "type": "boolean" }, @@ -3002,6 +3002,11 @@ "format": "int32", "type": "integer" }, + "antennaGainNewField": { + "description": "As above, but as a DoubleValue.", + "format": "double", + "type": "number" + }, "antennaModel": { "description": "If an external antenna is used, the antenna model is optionally provided in this field. The string has a maximum length of 128 octets.", "type": "string" @@ -3015,6 +3020,11 @@ "format": "int32", "type": "integer" }, + "eirpCapabilityNewField": { + "description": "As above, but as a DoubleValue.", + "format": "double", + "type": "number" + }, "height": { "description": "Device antenna height in meters. When the `heightType` parameter value is \"AGL\", the antenna height should be given relative to ground level. When the `heightType` parameter value is \"AMSL\", it is given with respect to WGS84 datum.", "format": "double", @@ -3193,7 +3203,7 @@ "id": "SasPortalNrqzValidation", "properties": { "caseId": { - "description": "Validation case id.", + "description": "Validation case ID.", "type": "string" }, "cpiId": { @@ -3201,12 +3211,12 @@ "type": "string" }, "latitude": { - "description": "Device latitude associated with the validation.", + "description": "Device latitude that's associated with the validation.", "format": "double", "type": "number" }, "longitude": { - "description": "Device longitude associated with the validation.", + "description": "Device longitude that's associated with the validation.", "format": "double", "type": "number" }, @@ -3286,7 +3296,7 @@ "id": "SasPortalSetPolicyRequest", "properties": { "disableNotification": { - "description": "Optional. Set the field as true when we would like to disable the onboarding notification.", + "description": "Optional. Set the field as `true` to disable the onboarding notification.", "type": "boolean" }, "policy": {
diff --git a/discovery/googleapis_beta/recommendationengine__v1beta1.json b/discovery/googleapis_beta/recommendationengine__v1beta1.json index b3a77d8..4e88f04 100644 --- a/discovery/googleapis_beta/recommendationengine__v1beta1.json +++ b/discovery/googleapis_beta/recommendationengine__v1beta1.json
@@ -839,7 +839,7 @@ } } }, - "revision": "20221103", + "revision": "20230105", "rootUrl": "https://recommendationengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": {
diff --git a/discovery/googleapis_beta/sasportal__v1alpha1.json b/discovery/googleapis_beta/sasportal__v1alpha1.json index 715b02b..82d40b4 100644 --- a/discovery/googleapis_beta/sasportal__v1alpha1.json +++ b/discovery/googleapis_beta/sasportal__v1alpha1.json
@@ -2481,7 +2481,7 @@ } } }, - "revision": "20221013", + "revision": "20230111", "rootUrl": "https://sasportal.googleapis.com/", "schemas": { "SasPortalAssignment": { @@ -2511,7 +2511,7 @@ "description": "The frequency range of the channel." }, "score": { - "description": "The channel score, normalized to be in [0,100].", + "description": "The channel score, normalized to be in the range [0,100].", "format": "double", "type": "number" } @@ -2565,7 +2565,7 @@ "type": "string" }, "frns": { - "description": "Output only. The FRNs copied from its direct parent.", + "description": "Output only. The FCC Registration Numbers (FRNs) copied from its direct parent.", "items": { "type": "string" }, @@ -2615,7 +2615,7 @@ "type": "string" }, "grantRangeAllowlists": { - "description": "Only ranges within the allowlists are available for new grants.", + "description": "Only ranges that are within the allowlists are available for new grants.", "items": { "$ref": "SasPortalFrequencyRange" }, @@ -2860,19 +2860,19 @@ "id": "SasPortalDeviceMetadata", "properties": { "antennaModel": { - "description": "If populated, the Antenna Model Pattern to use. Format is: RecordCreatorId:PatternId", + "description": "If populated, the Antenna Model Pattern to use. Format is: `RecordCreatorId:PatternId`", "type": "string" }, "commonChannelGroup": { - "description": "CCG. A group of CBSDs in the same ICG requesting a common primary channel assignment. See CBRSA-TS-2001 V3.0.0 for more details.", + "description": "Common Channel Group (CCG). A group of CBSDs in the same ICG requesting a common primary channel assignment. For more details, see [CBRSA-TS-2001 V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-TS-2001-V3.0.0_Approved-for-publication.pdf).", "type": "string" }, "interferenceCoordinationGroup": { - "description": "ICG. A group of CBSDs that manage their own interference with the group. See CBRSA-TS-2001 V3.0.0 for more details.", + "description": "Interference Coordination Group (ICG). A group of CBSDs that manage their own interference with the group. For more details, see [CBRSA-TS-2001 V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-TS-2001-V3.0.0_Approved-for-publication.pdf).", "type": "string" }, "nrqzValidated": { - "description": "Output only. Whether a CPI has validated to have coordinated with the National Quiet Zone office.", + "description": "Output only. Set to `true` if a CPI has validated that they have coordinated with the National Quiet Zone office.", "readOnly": true, "type": "boolean" }, @@ -3001,6 +3001,11 @@ "format": "int32", "type": "integer" }, + "antennaGainNewField": { + "description": "As above, but as a DoubleValue.", + "format": "double", + "type": "number" + }, "antennaModel": { "description": "If an external antenna is used, the antenna model is optionally provided in this field. The string has a maximum length of 128 octets.", "type": "string" @@ -3014,6 +3019,11 @@ "format": "int32", "type": "integer" }, + "eirpCapabilityNewField": { + "description": "As above, but as a DoubleValue.", + "format": "double", + "type": "number" + }, "height": { "description": "Device antenna height in meters. When the `heightType` parameter value is \"AGL\", the antenna height should be given relative to ground level. When the `heightType` parameter value is \"AMSL\", it is given with respect to WGS84 datum.", "format": "double", @@ -3192,7 +3202,7 @@ "id": "SasPortalNrqzValidation", "properties": { "caseId": { - "description": "Validation case id.", + "description": "Validation case ID.", "type": "string" }, "cpiId": { @@ -3200,12 +3210,12 @@ "type": "string" }, "latitude": { - "description": "Device latitude associated with the validation.", + "description": "Device latitude that's associated with the validation.", "format": "double", "type": "number" }, "longitude": { - "description": "Device longitude associated with the validation.", + "description": "Device longitude that's associated with the validation.", "format": "double", "type": "number" }, @@ -3285,7 +3295,7 @@ "id": "SasPortalSetPolicyRequest", "properties": { "disableNotification": { - "description": "Optional. Set the field as true when we would like to disable the onboarding notification.", + "description": "Optional. Set the field as `true` to disable the onboarding notification.", "type": "boolean" }, "policy": {
diff --git a/discovery/googleapis_beta/sqladmin__v1beta4.json b/discovery/googleapis_beta/sqladmin__v1beta4.json index 050e2b2..d9f2d56 100644 --- a/discovery/googleapis_beta/sqladmin__v1beta4.json +++ b/discovery/googleapis_beta/sqladmin__v1beta4.json
@@ -1919,7 +1919,7 @@ } } }, - "revision": "20221116", + "revision": "20221209", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -2310,6 +2310,7 @@ "MYSQL_8_0_28", "MYSQL_8_0_29", "MYSQL_8_0_30", + "MYSQL_8_0_31", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -2338,6 +2339,7 @@ "The database major version is MySQL 8.0 and the minor version is 28.", "The database major version is MySQL 8.0 and the minor version is 29.", "The database major version is MySQL 8.0 and the minor version is 30.", + "The database major version is MySQL 8.0 and the minor version is 31.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.", @@ -2496,6 +2498,7 @@ "MYSQL_8_0_28", "MYSQL_8_0_29", "MYSQL_8_0_30", + "MYSQL_8_0_31", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -2524,6 +2527,7 @@ "The database major version is MySQL 8.0 and the minor version is 28.", "The database major version is MySQL 8.0 and the minor version is 29.", "The database major version is MySQL 8.0 and the minor version is 30.", + "The database major version is MySQL 8.0 and the minor version is 31.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.", @@ -3028,6 +3032,7 @@ "MYSQL_8_0_28", "MYSQL_8_0_29", "MYSQL_8_0_30", + "MYSQL_8_0_31", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -3056,6 +3061,7 @@ "The database major version is MySQL 8.0 and the minor version is 28.", "The database major version is MySQL 8.0 and the minor version is 29.", "The database major version is MySQL 8.0 and the minor version is 30.", + "The database major version is MySQL 8.0 and the minor version is 31.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.",
diff --git a/discovery/googleapis_beta/toolresults__v1beta3.json b/discovery/googleapis_beta/toolresults__v1beta3.json index 177fda2..b221733 100644 --- a/discovery/googleapis_beta/toolresults__v1beta3.json +++ b/discovery/googleapis_beta/toolresults__v1beta3.json
@@ -1462,7 +1462,7 @@ } } }, - "revision": "20221206", + "revision": "20230116", "rootUrl": "https://toolresults.googleapis.com/", "schemas": { "ANR": {
diff --git a/discovery/googleapis_beta/tpu__v2alpha1.json b/discovery/googleapis_beta/tpu__v2alpha1.json index 319f795..3e8404c 100644 --- a/discovery/googleapis_beta/tpu__v2alpha1.json +++ b/discovery/googleapis_beta/tpu__v2alpha1.json
@@ -509,7 +509,7 @@ ], "parameters": { "name": { - "description": "The resource name.", + "description": "Required. The resource name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", "required": true, @@ -537,7 +537,7 @@ ], "parameters": { "name": { - "description": "The resource name.", + "description": "Required. The resource name.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/nodes/[^/]+$", "required": true, @@ -890,7 +890,7 @@ } } }, - "revision": "20221130", + "revision": "20230105", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorType": { @@ -1528,7 +1528,7 @@ "description": "Required. The node." }, "nodeId": { - "description": "The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format. This is only specified when requesting a single node. In case of multi-node requests, multi_node_params must be populated instead. It's an error to specify both node_id and multi_node_params.", + "description": "The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format. This is only specified when requesting a single node. In case of multi-node requests, multi_node_params must be populated instead. It's an error to specify both node_id and multi_node_params.", "type": "string" }, "parent": {
diff --git a/generated/googleapis/CHANGELOG.md b/generated/googleapis/CHANGELOG.md index b7a612b..ff7ef3a 100644 --- a/generated/googleapis/CHANGELOG.md +++ b/generated/googleapis/CHANGELOG.md
@@ -1,3 +1,17 @@ +## 10.0.0 + +### API changes + +- `analyticshub` - new! +- `baremetalsolution` - dropped v1. (Still have v2) +- `batch` - new! +- `contentwarehouse` - new! +- `displayvideo` - added `v2` +- `metastore` - new! +- `tpu` - added `v2` +- `travelimpactmodel` - new! +- `workloadmanager` - new! + ## 9.2.0 - Require Dart 2.17 or later.
diff --git a/generated/googleapis/README.md b/generated/googleapis/README.md index 04507b1..f9d6ddc 100644 --- a/generated/googleapis/README.md +++ b/generated/googleapis/README.md
@@ -18,1646 +18,1646 @@ Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences. - [Documentation](https://developers.google.com/abusive-experience-report/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/abusiveexperiencereport.v1/abusiveexperiencereport.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/abusiveexperiencereport.v1/abusiveexperiencereport.v1-library.html) #### Accelerated Mobile Pages (AMP) URL API - `acceleratedmobilepageurl.v1` Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s). - [Documentation](https://developers.google.com/amp/cache/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/acceleratedmobilepageurl.v1/acceleratedmobilepageurl.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/acceleratedmobilepageurl.v1/acceleratedmobilepageurl.v1-library.html) #### Access Approval API - `accessapproval.v1` An API for controlling access to data by Google personnel. - [Documentation](https://cloud.google.com/cloud-provider-access-management/access-approval/docs) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/accessapproval.v1/accessapproval.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/accessapproval.v1/accessapproval.v1-library.html) #### Access Context Manager API - `accesscontextmanager.v1` An API for setting attribute based access control to requests to GCP services. - [Documentation](https://cloud.google.com/access-context-manager/docs/reference/rest/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/accesscontextmanager.v1/accesscontextmanager.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/accesscontextmanager.v1/accesscontextmanager.v1-library.html) #### Ad Experience Report API - `adexperiencereport.v1` Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads. - [Documentation](https://developers.google.com/ad-experience-report/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/adexperiencereport.v1/adexperiencereport.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/adexperiencereport.v1/adexperiencereport.v1-library.html) #### Admin SDK API - `admin.datatransfer_v1` Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain. - [Documentation](https://developers.google.com/admin-sdk/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/admin.datatransfer_v1/admin.datatransfer_v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/admin.datatransfer_v1/admin.datatransfer_v1-library.html) #### Admin SDK API - `admin.directory_v1` Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain. - [Documentation](https://developers.google.com/admin-sdk/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/admin.directory_v1/admin.directory_v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/admin.directory_v1/admin.directory_v1-library.html) #### Admin SDK API - `admin.reports_v1` Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain. - [Documentation](https://developers.google.com/admin-sdk/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/admin.reports_v1/admin.reports_v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/admin.reports_v1/admin.reports_v1-library.html) #### AdMob API - `admob.v1` The AdMob API allows publishers to programmatically get information about their AdMob account. - [Documentation](https://developers.google.com/admob/api/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/admob.v1/admob.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/admob.v1/admob.v1-library.html) #### AdSense Management API - `adsense.v2` The AdSense Management API allows publishers to access their inventory and run earnings and performance reports. - [Documentation](https://developers.google.com/adsense/management/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/adsense.v2/adsense.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/adsense.v2/adsense.v2-library.html) ####  AdSense Host API - `adsensehost.v4_1` Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts. - [Documentation](https://developers.google.com/adsense/host/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/adsensehost.v4_1/adsensehost.v4_1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/adsensehost.v4_1/adsensehost.v4_1-library.html) ####  Google Analytics API - `analytics.v3` Views and manages your Google Analytics data. - [Documentation](https://developers.google.com/analytics/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/analytics.v3/analytics.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/analytics.v3/analytics.v3-library.html) #### Analytics Hub API - `analyticshub.v1` Exchange data and analytics assets securely and efficiently. - [Documentation](https://cloud.google.com/bigquery/docs/analytics-hub-introduction) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/analyticshub.v1/analyticshub.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/analyticshub.v1/analyticshub.v1-library.html) #### Analytics Reporting API - `analyticsreporting.v4` Accesses Analytics report data. - [Documentation](https://developers.google.com/analytics/devguides/reporting/core/v4/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/analyticsreporting.v4/analyticsreporting.v4-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/analyticsreporting.v4/analyticsreporting.v4-library.html) #### Android Device Provisioning Partner API - `androiddeviceprovisioning.v1` Automates Android zero-touch enrollment for device resellers, customers, and EMMs. - [Documentation](https://developers.google.com/zero-touch/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/androiddeviceprovisioning.v1/androiddeviceprovisioning.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/androiddeviceprovisioning.v1/androiddeviceprovisioning.v1-library.html) #### Google Play EMM API - `androidenterprise.v1` Manages the deployment of apps to Android Enterprise devices. - [Documentation](https://developers.google.com/android/work/play/emm-api) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/androidenterprise.v1/androidenterprise.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/androidenterprise.v1/androidenterprise.v1-library.html) #### Android Management API - `androidmanagement.v1` The Android Management API provides remote enterprise management of Android devices and apps. - [Documentation](https://developers.google.com/android/management) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/androidmanagement.v1/androidmanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/androidmanagement.v1/androidmanagement.v1-library.html) #### Google Play Android Developer API - `androidpublisher.v3` Lets Android application developers access their Google Play accounts. At a high level, the expected workflow is to "insert" an Edit, make changes as necessary, and then "commit" it. - [Documentation](https://developers.google.com/android-publisher) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/androidpublisher.v3/androidpublisher.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/androidpublisher.v3/androidpublisher.v3-library.html) #### API Gateway API - `apigateway.v1` - [Documentation](https://cloud.google.com/api-gateway/docs) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/apigateway.v1/apigateway.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/apigateway.v1/apigateway.v1-library.html) #### Apigee API - `apigee.v1` Use the Apigee API to programmatically develop and manage APIs with a set of RESTful operations. Develop and secure API proxies, deploy and undeploy API proxy revisions, monitor APIs, configure environments, manage users, and more. Note: This product is available as a free trial for a time period of 60 days. - [Documentation](https://cloud.google.com/apigee-api-management/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/apigee.v1/apigee.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/apigee.v1/apigee.v1-library.html) #### Apigee Registry API - `apigeeregistry.v1` - [Documentation](https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/apigeeregistry.v1/apigeeregistry.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/apigeeregistry.v1/apigeeregistry.v1-library.html) #### API Keys API - `apikeys.v2` Manages the API keys associated with developer projects. - [Documentation](https://cloud.google.com/api-keys/docs) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/apikeys.v2/apikeys.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/apikeys.v2/apikeys.v2-library.html) #### App Engine Admin API - `appengine.v1` Provisions and manages developers' App Engine applications. - [Documentation](https://cloud.google.com/appengine/docs/admin-api/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/appengine.v1/appengine.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/appengine.v1/appengine.v1-library.html) #### Artifact Registry API - `artifactregistry.v1` Store and manage build artifacts in a scalable and integrated service built on Google infrastructure. - [Documentation](https://cloud.google.com/artifacts/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/artifactregistry.v1/artifactregistry.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/artifactregistry.v1/artifactregistry.v1-library.html) #### Assured Workloads API - `assuredworkloads.v1` - [Documentation](https://cloud.google.com/learnmoreurl) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/assuredworkloads.v1/assuredworkloads.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/assuredworkloads.v1/assuredworkloads.v1-library.html) #### Authorized Buyers Marketplace API - `authorizedbuyersmarketplace.v1` The Authorized Buyers Marketplace API lets buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers. - [Documentation](https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/authorizedbuyersmarketplace.v1/authorizedbuyersmarketplace.v1-library.html) - -#### Bare Metal Solution API - `baremetalsolution.v1` - -Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center. - -- [Documentation](https://cloud.google.com/bare-metal) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/baremetalsolution.v1/baremetalsolution.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/authorizedbuyersmarketplace.v1/authorizedbuyersmarketplace.v1-library.html) #### Bare Metal Solution API - `baremetalsolution.v2` Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center. - [Documentation](https://cloud.google.com/bare-metal) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/baremetalsolution.v2/baremetalsolution.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/baremetalsolution.v2/baremetalsolution.v2-library.html) #### Batch API - `batch.v1` An API to manage the running of batch jobs on Google Cloud Platform. - [Documentation](https://cloud.google.com/batch/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/batch.v1/batch.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/batch.v1/batch.v1-library.html) #### BeyondCorp API - `beyondcorp.v1` Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity solutions. - [Documentation](https://cloud.google.com/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/beyondcorp.v1/beyondcorp.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/beyondcorp.v1/beyondcorp.v1-library.html) ####  BigQuery API - `bigquery.v2` A data platform for customers to create, manage, share and query data. - [Documentation](https://cloud.google.com/bigquery/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/bigquery.v2/bigquery.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/bigquery.v2/bigquery.v2-library.html) #### BigQuery Data Transfer API - `bigquerydatatransfer.v1` Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis. - [Documentation](https://cloud.google.com/bigquery-transfer/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/bigquerydatatransfer.v1/bigquerydatatransfer.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/bigquerydatatransfer.v1/bigquerydatatransfer.v1-library.html) #### BigQuery Reservation API - `bigqueryreservation.v1` A service to modify your BigQuery flat-rate reservations. - [Documentation](https://cloud.google.com/bigquery/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/bigqueryreservation.v1/bigqueryreservation.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/bigqueryreservation.v1/bigqueryreservation.v1-library.html) #### Cloud Bigtable Admin API - `bigtableadmin.v2` Administer your Cloud Bigtable tables and instances. - [Documentation](https://cloud.google.com/bigtable/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/bigtableadmin.v2/bigtableadmin.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/bigtableadmin.v2/bigtableadmin.v2-library.html) #### Cloud Billing Budget API - `billingbudgets.v1` The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan. - [Documentation](https://cloud.google.com/billing/docs/how-to/budget-api-overview) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/billingbudgets.v1/billingbudgets.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/billingbudgets.v1/billingbudgets.v1-library.html) #### Binary Authorization API - `binaryauthorization.v1` The management interface for Binary Authorization, a service that provides policy-based deployment validation and control for images deployed to Google Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run. - [Documentation](https://cloud.google.com/binary-authorization/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/binaryauthorization.v1/binaryauthorization.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/binaryauthorization.v1/binaryauthorization.v1-library.html) #### Blogger API - `blogger.v3` The Blogger API provides access to posts, comments and pages of a Blogger blog. - [Documentation](https://developers.google.com/blogger/docs/3.0/getting_started) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/blogger.v3/blogger.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/blogger.v3/blogger.v3-library.html) #### Books API - `books.v1` The Google Books API allows clients to access the Google Books repository. - [Documentation](https://code.google.com/apis/books/docs/v1/getting_started.html) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/books.v1/books.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/books.v1/books.v1-library.html) #### Business Profile Performance API - `businessprofileperformance.v1` The Business Profile Performance API allows merchants to fetch performance reports about their business profile on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/businessprofileperformance.v1/businessprofileperformance.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/businessprofileperformance.v1/businessprofileperformance.v1-library.html) #### Calendar API - `calendar.v3` Manipulates events and other calendar data. - [Documentation](https://developers.google.com/google-apps/calendar/firstapp) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/calendar.v3/calendar.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/calendar.v3/calendar.v3-library.html) #### Certificate Manager API - `certificatemanager.v1` - [Documentation](https://cloud.google.com/certificate-manager) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/certificatemanager.v1/certificatemanager.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/certificatemanager.v1/certificatemanager.v1-library.html) #### Google Chat API - `chat.v1` Enables apps to fetch information and perform actions in Google Chat. Authentication is a prerequisite for using the Google Chat REST API. - [Documentation](https://developers.google.com/hangouts/chat) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/chat.v1/chat.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/chat.v1/chat.v1-library.html) #### Chrome Management API - `chromemanagement.v1` The Chrome Management API is a suite of services that allows Chrome administrators to view, manage and gain insights on their Chrome OS and Chrome Browser devices. - [Documentation](https://developers.google.com/chrome/management/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/chromemanagement.v1/chromemanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/chromemanagement.v1/chromemanagement.v1-library.html) #### Chrome Policy API - `chromepolicy.v1` The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers. - [Documentation](https://developers.google.com/chrome/policy) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/chromepolicy.v1/chromepolicy.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/chromepolicy.v1/chromepolicy.v1-library.html) #### Chrome UX Report API - `chromeuxreport.v1` The Chrome UX Report API lets you view real user experience data for millions of websites. - [Documentation](https://developers.google.com/web/tools/chrome-user-experience-report/api/reference) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/chromeuxreport.v1/chromeuxreport.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/chromeuxreport.v1/chromeuxreport.v1-library.html) #### Google Civic Information API - `civicinfo.v2` Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses. - [Documentation](https://developers.google.com/civic-information/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/civicinfo.v2/civicinfo.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/civicinfo.v2/civicinfo.v2-library.html) #### Google Classroom API - `classroom.v1` Manages classes, rosters, and invitations in Google Classroom. - [Documentation](https://developers.google.com/classroom/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/classroom.v1/classroom.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/classroom.v1/classroom.v1-library.html) #### Cloud Asset API - `cloudasset.v1` -The cloud asset API manages the history and inventory of cloud resources. +The Cloud Asset API manages the history and inventory of Google Cloud resources. - [Documentation](https://cloud.google.com/asset-inventory/docs/quickstart) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudasset.v1/cloudasset.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudasset.v1/cloudasset.v1-library.html) #### Cloud Billing API - `cloudbilling.v1` Allows developers to manage billing for their Google Cloud Platform projects programmatically. - [Documentation](https://cloud.google.com/billing/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudbilling.v1/cloudbilling.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudbilling.v1/cloudbilling.v1-library.html) #### Cloud Build API - `cloudbuild.v1` Creates and manages builds on Google Cloud Platform. - [Documentation](https://cloud.google.com/cloud-build/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudbuild.v1/cloudbuild.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudbuild.v1/cloudbuild.v1-library.html) #### Cloud Channel API - `cloudchannel.v1` The Cloud Channel API enables Google Cloud partners to have a single unified resale platform and APIs across all of Google Cloud including GCP, Workspace, Maps and Chrome. - [Documentation](https://cloud.google.com/channel) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudchannel.v1/cloudchannel.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudchannel.v1/cloudchannel.v1-library.html) #### Cloud Debugger API - `clouddebugger.v2` Examines the call stack and variables of a running application without stopping or slowing it down. - [Documentation](https://cloud.google.com/debugger) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/clouddebugger.v2/clouddebugger.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/clouddebugger.v2/clouddebugger.v2-library.html) #### Google Cloud Deploy API - `clouddeploy.v1` - [Documentation](https://cloud.google.com/deploy/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/clouddeploy.v1/clouddeploy.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/clouddeploy.v1/clouddeploy.v1-library.html) #### Cloud Functions API - `cloudfunctions.v1` Manages lightweight user-provided functions executed in response to events. - [Documentation](https://cloud.google.com/functions) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudfunctions.v1/cloudfunctions.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudfunctions.v1/cloudfunctions.v1-library.html) #### Cloud Functions API - `cloudfunctions.v2` Manages lightweight user-provided functions executed in response to events. - [Documentation](https://cloud.google.com/functions) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudfunctions.v2/cloudfunctions.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudfunctions.v2/cloudfunctions.v2-library.html) #### Cloud Identity API - `cloudidentity.v1` API for provisioning and managing identity resources. - [Documentation](https://cloud.google.com/identity/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudidentity.v1/cloudidentity.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudidentity.v1/cloudidentity.v1-library.html) #### Cloud IoT API - `cloudiot.v1` Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform. - [Documentation](https://cloud.google.com/iot) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudiot.v1/cloudiot.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudiot.v1/cloudiot.v1-library.html) #### Cloud Key Management Service (KMS) API - `cloudkms.v1` Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications. - [Documentation](https://cloud.google.com/kms/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudkms.v1/cloudkms.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudkms.v1/cloudkms.v1-library.html) #### Stackdriver Profiler API - `cloudprofiler.v2` Manages continuous profiling information. - [Documentation](https://cloud.google.com/profiler/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudprofiler.v2/cloudprofiler.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudprofiler.v2/cloudprofiler.v2-library.html) #### Cloud Resource Manager API - `cloudresourcemanager.v1` Creates, reads, and updates metadata for Google Cloud Platform resource containers. - [Documentation](https://cloud.google.com/resource-manager) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudresourcemanager.v1/cloudresourcemanager.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudresourcemanager.v1/cloudresourcemanager.v1-library.html) #### Cloud Resource Manager API - `cloudresourcemanager.v2` Creates, reads, and updates metadata for Google Cloud Platform resource containers. - [Documentation](https://cloud.google.com/resource-manager) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudresourcemanager.v2/cloudresourcemanager.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudresourcemanager.v2/cloudresourcemanager.v2-library.html) #### Cloud Resource Manager API - `cloudresourcemanager.v3` Creates, reads, and updates metadata for Google Cloud Platform resource containers. - [Documentation](https://cloud.google.com/resource-manager) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudresourcemanager.v3/cloudresourcemanager.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudresourcemanager.v3/cloudresourcemanager.v3-library.html) #### Cloud Scheduler API - `cloudscheduler.v1` Creates and manages jobs run on a regular recurring schedule. - [Documentation](https://cloud.google.com/scheduler/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudscheduler.v1/cloudscheduler.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudscheduler.v1/cloudscheduler.v1-library.html) #### Cloud Search API - `cloudsearch.v1` Cloud Search provides cloud-based search capabilities over Google Workspace data. The Cloud Search API allows indexing of non-Google Workspace data into Cloud Search. - [Documentation](https://developers.google.com/cloud-search/docs/guides/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudsearch.v1/cloudsearch.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudsearch.v1/cloudsearch.v1-library.html) #### Cloud Shell API - `cloudshell.v1` Allows users to start, configure, and connect to interactive shell sessions running in the cloud. - [Documentation](https://cloud.google.com/shell/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudshell.v1/cloudshell.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudshell.v1/cloudshell.v1-library.html) #### Cloud Tasks API - `cloudtasks.v2` Manages the execution of large numbers of distributed requests. - [Documentation](https://cloud.google.com/tasks/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudtasks.v2/cloudtasks.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudtasks.v2/cloudtasks.v2-library.html) #### Cloud Trace API - `cloudtrace.v2` Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry. - [Documentation](https://cloud.google.com/trace) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/cloudtrace.v2/cloudtrace.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/cloudtrace.v2/cloudtrace.v2-library.html) #### Cloud Composer API - `composer.v1` Manages Apache Airflow environments on Google Cloud Platform. - [Documentation](https://cloud.google.com/composer/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/composer.v1/composer.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/composer.v1/composer.v1-library.html) ####  Compute Engine API - `compute.v1` Creates and runs virtual machines on Google Cloud Platform. - [Documentation](https://cloud.google.com/compute/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/compute.v1/compute.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/compute.v1/compute.v1-library.html) #### Connectors API - `connectors.v1` Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface. - [Documentation](https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/connectors.v1/connectors.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/connectors.v1/connectors.v1-library.html) #### Connectors API - `connectors.v2` Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface. - [Documentation](https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/connectors.v2/connectors.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/connectors.v2/connectors.v2-library.html) #### Contact Center AI Insights API - `contactcenterinsights.v1` - [Documentation](https://cloud.google.com/contact-center/insights/docs) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/contactcenterinsights.v1/contactcenterinsights.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/contactcenterinsights.v1/contactcenterinsights.v1-library.html) #### Kubernetes Engine API - `container.v1` Builds and manages container-based applications, powered by the open source Kubernetes technology. - [Documentation](https://cloud.google.com/container-engine/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/container.v1/container.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/container.v1/container.v1-library.html) #### Container Analysis API - `containeranalysis.v1` An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts. - [Documentation](https://cloud.google.com/container-analysis/api/reference/rest/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/containeranalysis.v1/containeranalysis.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/containeranalysis.v1/containeranalysis.v1-library.html) #### Content API for Shopping - `content.v2_1` Manage your product listings and accounts for Google Shopping - [Documentation](https://developers.google.com/shopping-content/v2/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/content.v2_1/content.v2_1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/content.v2_1/content.v2_1-library.html) -#### contentwarehouse API - `contentwarehouse.v1` +#### Document AI Warehouse API - `contentwarehouse.v1` - [Documentation](https://cloud.google.com/document-warehouse) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/contentwarehouse.v1/contentwarehouse.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/contentwarehouse.v1/contentwarehouse.v1-library.html) #### Custom Search API - `customsearch.v1` Searches over a website or collection of websites - [Documentation](https://developers.google.com/custom-search/v1/introduction) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/customsearch.v1/customsearch.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/customsearch.v1/customsearch.v1-library.html) #### Google Cloud Data Catalog API - `datacatalog.v1` A fully managed and highly scalable data discovery and metadata management service. - [Documentation](https://cloud.google.com/data-catalog/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/datacatalog.v1/datacatalog.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/datacatalog.v1/datacatalog.v1-library.html) #### Cloud Data Fusion API - `datafusion.v1` Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure. - [Documentation](https://cloud.google.com/data-fusion/docs) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/datafusion.v1/datafusion.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/datafusion.v1/datafusion.v1-library.html) #### Database Migration API - `datamigration.v1` Manage Cloud Database Migration Service resources on Google Cloud Platform. - [Documentation](https://cloud.google.com/database-migration/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/datamigration.v1/datamigration.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/datamigration.v1/datamigration.v1-library.html) #### Data pipelines API - `datapipelines.v1` Data Pipelines provides an interface for creating, updating, and managing recurring Data Analytics jobs. - [Documentation](https://cloud.google.com/dataflow/docs/guides/data-pipelines) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/datapipelines.v1/datapipelines.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/datapipelines.v1/datapipelines.v1-library.html) #### Cloud Dataplex API - `dataplex.v1` Dataplex API is used to manage the lifecycle of data lakes. - [Documentation](https://cloud.google.com/dataplex/docs) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/dataplex.v1/dataplex.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/dataplex.v1/dataplex.v1-library.html) #### Cloud Dataproc API - `dataproc.v1` Manages Hadoop-based clusters and jobs on Google Cloud Platform. - [Documentation](https://cloud.google.com/dataproc/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/dataproc.v1/dataproc.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/dataproc.v1/dataproc.v1-library.html) #### Cloud Datastore API - `datastore.v1` Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. - [Documentation](https://cloud.google.com/datastore/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/datastore.v1/datastore.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/datastore.v1/datastore.v1-library.html) #### Datastream API - `datastream.v1` - [Documentation](https://cloud.google.com/datastream/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/datastream.v1/datastream.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/datastream.v1/datastream.v1-library.html) #### Cloud Deployment Manager V2 API - `deploymentmanager.v2` The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources. - [Documentation](https://cloud.google.com/deployment-manager) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/deploymentmanager.v2/deploymentmanager.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/deploymentmanager.v2/deploymentmanager.v2-library.html) #### Campaign Manager 360 API - `dfareporting.v3_5` Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360. - [Documentation](https://developers.google.com/doubleclick-advertisers/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/dfareporting.v3_5/dfareporting.v3_5-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/dfareporting.v3_5/dfareporting.v3_5-library.html) #### Campaign Manager 360 API - `dfareporting.v4` Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360. - [Documentation](https://developers.google.com/doubleclick-advertisers/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/dfareporting.v4/dfareporting.v4-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/dfareporting.v4/dfareporting.v4-library.html) #### Dialogflow API - `dialogflow.v2` Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices). - [Documentation](https://cloud.google.com/dialogflow/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/dialogflow.v2/dialogflow.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/dialogflow.v2/dialogflow.v2-library.html) #### Dialogflow API - `dialogflow.v3` Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices). - [Documentation](https://cloud.google.com/dialogflow/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/dialogflow.v3/dialogflow.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/dialogflow.v3/dialogflow.v3-library.html) #### Digital Asset Links API - `digitalassetlinks.v1` Discovers relationships between online assets such as websites or mobile apps. - [Documentation](https://developers.google.com/digital-asset-links/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/digitalassetlinks.v1/digitalassetlinks.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/digitalassetlinks.v1/digitalassetlinks.v1-library.html) #### API Discovery Service - `discovery.v1` Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API. - [Documentation](https://developers.google.com/discovery/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/discovery.v1/discovery.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/discovery.v1/discovery.v1-library.html) #### Display & Video 360 API - `displayvideo.v1` Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items. - [Documentation](https://developers.google.com/display-video/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/displayvideo.v1/displayvideo.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/displayvideo.v1/displayvideo.v1-library.html) #### Display & Video 360 API - `displayvideo.v2` Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items. - [Documentation](https://developers.google.com/display-video/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/displayvideo.v2/displayvideo.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/displayvideo.v2/displayvideo.v2-library.html) #### Cloud Data Loss Prevention (DLP) API - `dlp.v2` Provides methods for detection, risk analysis, and de-identification of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories. - [Documentation](https://cloud.google.com/dlp/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/dlp.v2/dlp.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/dlp.v2/dlp.v2-library.html) #### Cloud DNS API - `dns.v1` - [Documentation](https://cloud.google.com/dns/docs) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/dns.v1/dns.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/dns.v1/dns.v1-library.html) #### Google Docs API - `docs.v1` Reads and writes Google Docs documents. - [Documentation](https://developers.google.com/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/docs.v1/docs.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/docs.v1/docs.v1-library.html) #### Cloud Document AI API - `documentai.v1` Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML. - [Documentation](https://cloud.google.com/document-ai/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/documentai.v1/documentai.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/documentai.v1/documentai.v1-library.html) #### Cloud Domains API - `domains.v1` Enables management and configuration of domain names. - [Documentation](https://cloud.google.com/domains/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/domains.v1/domains.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/domains.v1/domains.v1-library.html) #### Domains RDAP API - `domainsrdap.v1` Read-only public API that lets users search for information about domain names. - [Documentation](https://developers.google.com/domains/rdap/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/domainsrdap.v1/domainsrdap.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/domainsrdap.v1/domainsrdap.v1-library.html) #### DoubleClick Bid Manager API - `doubleclickbidmanager.v1_1` DoubleClick Bid Manager API allows users to manage and create campaigns and reports. - [Documentation](https://developers.google.com/bid-manager/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/doubleclickbidmanager.v1_1/doubleclickbidmanager.v1_1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/doubleclickbidmanager.v1_1/doubleclickbidmanager.v1_1-library.html) #### DoubleClick Bid Manager API - `doubleclickbidmanager.v2` DoubleClick Bid Manager API allows users to manage and create campaigns and reports. - [Documentation](https://developers.google.com/bid-manager/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/doubleclickbidmanager.v2/doubleclickbidmanager.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/doubleclickbidmanager.v2/doubleclickbidmanager.v2-library.html) #### Search Ads 360 API - `doubleclicksearch.v2` The Search Ads 360 API allows developers to automate uploading conversions and downloading reports from Search Ads 360. - [Documentation](https://developers.google.com/search-ads) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/doubleclicksearch.v2/doubleclicksearch.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/doubleclicksearch.v2/doubleclicksearch.v2-library.html) ####  Drive API - `drive.v2` Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions. - [Documentation](https://developers.google.com/drive/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/drive.v2/drive.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/drive.v2/drive.v2-library.html) ####  Drive API - `drive.v3` Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions. - [Documentation](https://developers.google.com/drive/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/drive.v3/drive.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/drive.v3/drive.v3-library.html) #### Drive Activity API - `driveactivity.v2` Provides a historical view of activity in Google Drive. - [Documentation](https://developers.google.com/drive/activity/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/driveactivity.v2/driveactivity.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/driveactivity.v2/driveactivity.v2-library.html) #### Drive Labels API - `drivelabels.v2` An API for managing Drive Labels - [Documentation](https://developers.google.com/drive/labels) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/drivelabels.v2/drivelabels.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/drivelabels.v2/drivelabels.v2-library.html) #### Essential Contacts API - `essentialcontacts.v1` - [Documentation](https://cloud.google.com/essentialcontacts/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/essentialcontacts.v1/essentialcontacts.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/essentialcontacts.v1/essentialcontacts.v1-library.html) #### Eventarc API - `eventarc.v1` Build event-driven applications on Google Cloud Platform. - [Documentation](https://cloud.google.com/eventarc) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/eventarc.v1/eventarc.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/eventarc.v1/eventarc.v1-library.html) #### Firebase Cloud Messaging API - `fcm.v1` FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost. - [Documentation](https://firebase.google.com/docs/cloud-messaging) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/fcm.v1/fcm.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/fcm.v1/fcm.v1-library.html) #### Cloud Filestore API - `file.v1` The Cloud Filestore API is used for creating and managing cloud file servers. - [Documentation](https://cloud.google.com/filestore/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/file.v1/file.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/file.v1/file.v1-library.html) #### Firebase App Check API - `firebaseappcheck.v1` Firebase App Check works alongside other Firebase services to help protect your backend resources from abuse, such as billing fraud or phishing. - [Documentation](https://firebase.google.com/docs/app-check) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/firebaseappcheck.v1/firebaseappcheck.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/firebaseappcheck.v1/firebaseappcheck.v1-library.html) #### Firebase Dynamic Links API - `firebasedynamiclinks.v1` Programmatically creates and manages Firebase Dynamic Links. - [Documentation](https://firebase.google.com/docs/dynamic-links/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/firebasedynamiclinks.v1/firebasedynamiclinks.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/firebasedynamiclinks.v1/firebasedynamiclinks.v1-library.html) #### Firebase Hosting API - `firebasehosting.v1` The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files. - [Documentation](https://firebase.google.com/docs/hosting/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/firebasehosting.v1/firebasehosting.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/firebasehosting.v1/firebasehosting.v1-library.html) #### Firebase ML API - `firebaseml.v1` Access custom machine learning models hosted via Firebase ML. - [Documentation](https://firebase.google.com) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/firebaseml.v1/firebaseml.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/firebaseml.v1/firebaseml.v1-library.html) #### Firebase Remote Config API - `firebaseremoteconfig.v1` The Firebase Remote Config API lets developers change the behavior and appearance of their apps without requiring users to download an app update. It is an alternative to, but can be used in tandem with, the Firebase console at https://console.firebase.google.com. - [Documentation](https://firebase.google.com/docs/remote-config/use-config-rest) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/firebaseremoteconfig.v1/firebaseremoteconfig.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/firebaseremoteconfig.v1/firebaseremoteconfig.v1-library.html) #### Firebase Rules API - `firebaserules.v1` Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request. - [Documentation](https://firebase.google.com/docs/storage/security) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/firebaserules.v1/firebaserules.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/firebaserules.v1/firebaserules.v1-library.html) #### Cloud Firestore API - `firestore.v1` Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. - [Documentation](https://cloud.google.com/firestore) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/firestore.v1/firestore.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/firestore.v1/firestore.v1-library.html) #### Fitness API - `fitness.v1` The Fitness API for managing users' fitness tracking data. - [Documentation](https://developers.google.com/fit/rest/v1/get-started) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/fitness.v1/fitness.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/fitness.v1/fitness.v1-library.html) #### Google Forms API - `forms.v1` Reads and writes Google Forms and responses. - [Documentation](https://developers.google.com/forms/api) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/forms.v1/forms.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/forms.v1/forms.v1-library.html) #### Google Play Game Services - `games.v1` The Google Play games service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more. - [Documentation](https://developers.google.com/games/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/games.v1/games.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/games.v1/games.v1-library.html) #### Google Play Game Services Publishing API - `gamesConfiguration.v1configuration` The Google Play Game Services Publishing API allows developers to configure their games in Game Services. - [Documentation](https://developers.google.com/games/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/gamesConfiguration.v1configuration/gamesConfiguration.v1configuration-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/gamesConfiguration.v1configuration/gamesConfiguration.v1configuration-library.html) #### Google Play Game Management - `gamesManagement.v1management` The Google Play Game Management API allows developers to manage resources from the Google Play Game service. - [Documentation](https://developers.google.com/games/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/gamesManagement.v1management/gamesManagement.v1management-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/gamesManagement.v1management/gamesManagement.v1management-library.html) #### Game Services API - `gameservices.v1` Deploy and manage infrastructure for global multiplayer gaming experiences. - [Documentation](https://cloud.google.com/solutions/gaming/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/gameservices.v1/gameservices.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/gameservices.v1/gameservices.v1-library.html) #### Backup for GKE API - `gkebackup.v1` Backup for GKE is a managed Kubernetes workload backup and restore service for GKE clusters. - [Documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/gkebackup.v1/gkebackup.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/gkebackup.v1/gkebackup.v1-library.html) #### GKE Hub API - `gkehub.v1` - [Documentation](https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/gkehub.v1/gkehub.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/gkehub.v1/gkehub.v1-library.html) #### Gmail API - `gmail.v1` The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels. - [Documentation](https://developers.google.com/gmail/api/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/gmail.v1/gmail.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/gmail.v1/gmail.v1-library.html) #### Gmail Postmaster Tools API - `gmailpostmastertools.v1` The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently. - [Documentation](https://developers.google.com/gmail/postmaster) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/gmailpostmastertools.v1/gmailpostmastertools.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/gmailpostmastertools.v1/gmailpostmastertools.v1-library.html) #### Groups Migration API - `groupsmigration.v1` The Groups Migration API allows domain administrators to archive emails into Google groups. - [Documentation](https://developers.google.com/google-apps/groups-migration/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/groupsmigration.v1/groupsmigration.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/groupsmigration.v1/groupsmigration.v1-library.html) ####  Groups Settings API - `groupssettings.v1` Manages permission levels and related settings of a group. - [Documentation](https://developers.google.com/google-apps/groups-settings/get_started) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/groupssettings.v1/groupssettings.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/groupssettings.v1/groupssettings.v1-library.html) #### Cloud Healthcare API - `healthcare.v1` Manage, store, and access healthcare data in Google Cloud Platform. - [Documentation](https://cloud.google.com/healthcare) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/healthcare.v1/healthcare.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/healthcare.v1/healthcare.v1-library.html) #### HomeGraph API - `homegraph.v1` -- [Documentation](https://developers.google.com/actions/smarthome/create-app#request-sync) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/homegraph.v1/homegraph.v1-library.html) +- [Documentation](https://developers.home.google.com/cloud-to-cloud/get-started) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/homegraph.v1/homegraph.v1-library.html) #### Identity and Access Management (IAM) API - `iam.v1` Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. - [Documentation](https://cloud.google.com/iam/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/iam.v1/iam.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/iam.v1/iam.v1-library.html) #### IAM Service Account Credentials API - `iamcredentials.v1` Creates short-lived credentials for impersonating IAM service accounts. To enable this API, you must enable the IAM API (iam.googleapis.com). - [Documentation](https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/iamcredentials.v1/iamcredentials.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/iamcredentials.v1/iamcredentials.v1-library.html) #### Cloud Identity-Aware Proxy API - `iap.v1` Controls access to cloud applications running on Google Cloud Platform. - [Documentation](https://cloud.google.com/iap) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/iap.v1/iap.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/iap.v1/iap.v1-library.html) ####  Google Identity Toolkit API - `identitytoolkit.v3` Help the third party sites to implement federated login. - [Documentation](https://developers.google.com/identity-toolkit/v3/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/identitytoolkit.v3/identitytoolkit.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/identitytoolkit.v3/identitytoolkit.v3-library.html) #### Cloud IDS API - `ids.v1` Cloud IDS (Cloud Intrusion Detection System) detects malware, spyware, command-and-control attacks, and other network-based threats. Its security efficacy is industry leading, built with Palo Alto Networks technologies. When you use this product, your organization name and consumption levels will be shared with Palo Alto Networks. - [Documentation](https://cloud.google.com/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/ids.v1/ids.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/ids.v1/ids.v1-library.html) #### Indexing API - `indexing.v3` Notifies Google when your web pages change. - [Documentation](https://developers.google.com/search/apis/indexing-api/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/indexing.v3/indexing.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/indexing.v3/indexing.v3-library.html) #### Cloud Talent Solution API - `jobs.v3` Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. - [Documentation](https://cloud.google.com/talent-solution/job-search/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/jobs.v3/jobs.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/jobs.v3/jobs.v3-library.html) #### Cloud Talent Solution API - `jobs.v4` Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. - [Documentation](https://cloud.google.com/talent-solution/job-search/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/jobs.v4/jobs.v4-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/jobs.v4/jobs.v4-library.html) #### Google Keep API - `keep.v1` The Google Keep API is used in an enterprise environment to manage Google Keep content and resolve issues identified by cloud security software. - [Documentation](https://developers.google.com/keep/api) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/keep.v1/keep.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/keep.v1/keep.v1-library.html) #### Knowledge Graph Search API - `kgsearch.v1` Searches the Google Knowledge Graph for entities. - [Documentation](https://developers.google.com/knowledge-graph/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/kgsearch.v1/kgsearch.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/kgsearch.v1/kgsearch.v1-library.html) #### Cloud Natural Language API - `language.v1` Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers. - [Documentation](https://cloud.google.com/natural-language/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/language.v1/language.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/language.v1/language.v1-library.html) #### Library Agent API - `libraryagent.v1` A simple Google Example Library API. - [Documentation](https://cloud.google.com/docs/quota) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/libraryagent.v1/libraryagent.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/libraryagent.v1/libraryagent.v1-library.html) #### Enterprise License Manager API - `licensing.v1` The Google Enterprise License Manager API lets you manage Google Workspace and related licenses for all users of a customer that you manage. - [Documentation](https://developers.google.com/admin-sdk/licensing/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/licensing.v1/licensing.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/licensing.v1/licensing.v1-library.html) #### Local Services API - `localservices.v1` - [Documentation](https://ads.google.com/local-services-ads/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/localservices.v1/localservices.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/localservices.v1/localservices.v1-library.html) #### Cloud Logging API - `logging.v2` Writes log entries and manages your Cloud Logging configuration. - [Documentation](https://cloud.google.com/logging/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/logging.v2/logging.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/logging.v2/logging.v2-library.html) #### Managed Service for Microsoft Active Directory API - `managedidentities.v1` The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD). - [Documentation](https://cloud.google.com/managed-microsoft-ad/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/managedidentities.v1/managedidentities.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/managedidentities.v1/managedidentities.v1-library.html) #### Manufacturer Center API - `manufacturers.v1` Public API for managing Manufacturer Center related data. - [Documentation](https://developers.google.com/manufacturers/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/manufacturers.v1/manufacturers.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/manufacturers.v1/manufacturers.v1-library.html) #### Cloud Memorystore for Memcached API - `memcache.v1` Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP. - [Documentation](https://cloud.google.com/memorystore/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/memcache.v1/memcache.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/memcache.v1/memcache.v1-library.html) #### Dataproc Metastore API - `metastore.v1` The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services. - [Documentation](https://cloud.google.com/dataproc-metastore/docs) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/metastore.v1/metastore.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/metastore.v1/metastore.v1-library.html) #### AI Platform Training & Prediction API - `ml.v1` An API to enable creating and using machine learning models. - [Documentation](https://cloud.google.com/ml/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/ml.v1/ml.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/ml.v1/ml.v1-library.html) #### Cloud Monitoring API - `monitoring.v3` Manages your Cloud Monitoring data and configurations. - [Documentation](https://cloud.google.com/monitoring/api/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/monitoring.v3/monitoring.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/monitoring.v3/monitoring.v3-library.html) #### My Business Account Management API - `mybusinessaccountmanagement.v1` The My Business Account Management API provides an interface for managing access to a location on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/mybusinessaccountmanagement.v1/mybusinessaccountmanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/mybusinessaccountmanagement.v1/mybusinessaccountmanagement.v1-library.html) #### My Business Business Calls API - `mybusinessbusinesscalls.v1` The My Business Business Calls API manages business calls information of a location on Google and collect insights like the number of missed calls to their location. Additional information about Business calls can be found at https://support.google.com/business/answer/9688285?p=call_history. If the Google Business Profile links to a Google Ads account and call history is turned on, calls that last longer than a specific time, and that can be attributed to an ad interaction, will show in the linked Google Ads account under the "Calls from Ads" conversion. If smart bidding and call conversions are used in the optimization strategy, there could be a change in ad spend. Learn more about smart bidding. To view and perform actions on a location's calls, you need to be a `OWNER`, `CO_OWNER` or `MANAGER` of the location. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/mybusinessbusinesscalls.v1/mybusinessbusinesscalls.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/mybusinessbusinesscalls.v1/mybusinessbusinesscalls.v1-library.html) #### My Business Business Information API - `mybusinessbusinessinformation.v1` The My Business Business Information API provides an interface for managing business information. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/mybusinessbusinessinformation.v1/mybusinessbusinessinformation.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/mybusinessbusinessinformation.v1/mybusinessbusinessinformation.v1-library.html) #### My Business Lodging API - `mybusinesslodging.v1` The My Business Lodging API enables managing lodging business information on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/mybusinesslodging.v1/mybusinesslodging.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/mybusinesslodging.v1/mybusinesslodging.v1-library.html) #### My Business Notifications API - `mybusinessnotifications.v1` The My Business Notification Settings API enables managing notification settings for business accounts. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/mybusinessnotifications.v1/mybusinessnotifications.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/mybusinessnotifications.v1/mybusinessnotifications.v1-library.html) #### My Business Place Actions API - `mybusinessplaceactions.v1` The My Business Place Actions API provides an interface for managing place action links of a location on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/mybusinessplaceactions.v1/mybusinessplaceactions.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/mybusinessplaceactions.v1/mybusinessplaceactions.v1-library.html) #### My Business Q&A API - `mybusinessqanda.v1` The My Business Q&A API allows questions and answers to be posted for specific listings. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/mybusinessqanda.v1/mybusinessqanda.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/mybusinessqanda.v1/mybusinessqanda.v1-library.html) #### My Business Verifications API - `mybusinessverifications.v1` The My Business Verifications API provides an interface for taking verifications related actions for locations. - [Documentation](https://developers.google.com/my-business/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/mybusinessverifications.v1/mybusinessverifications.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/mybusinessverifications.v1/mybusinessverifications.v1-library.html) #### Network Connectivity API - `networkconnectivity.v1` This API enables connectivity with and between Google Cloud resources. - [Documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/networkconnectivity.v1/networkconnectivity.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/networkconnectivity.v1/networkconnectivity.v1-library.html) #### Network Management API - `networkmanagement.v1` The Network Management API provides a collection of network performance monitoring and diagnostic capabilities. - [Documentation](https://cloud.google.com/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/networkmanagement.v1/networkmanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/networkmanagement.v1/networkmanagement.v1-library.html) #### Network Security API - `networksecurity.v1` - [Documentation](https://cloud.google.com/networking) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/networksecurity.v1/networksecurity.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/networksecurity.v1/networksecurity.v1-library.html) #### Network Services API - `networkservices.v1` - [Documentation](https://cloud.google.com/networking) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/networkservices.v1/networkservices.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/networkservices.v1/networkservices.v1-library.html) #### Notebooks API - `notebooks.v1` Notebooks API is used to manage notebook resources in Google Cloud. - [Documentation](https://cloud.google.com/notebooks/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/notebooks.v1/notebooks.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/notebooks.v1/notebooks.v1-library.html) ####  Google OAuth2 API - `oauth2.v2` Obtains end-user authorization grants for use with other Google APIs. - [Documentation](https://developers.google.com/identity/protocols/oauth2/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/oauth2.v2/oauth2.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/oauth2.v2/oauth2.v2-library.html) #### On-Demand Scanning API - `ondemandscanning.v1` A service to scan container images for vulnerabilities. - [Documentation](https://cloud.google.com/container-analysis/docs/on-demand-scanning/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/ondemandscanning.v1/ondemandscanning.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/ondemandscanning.v1/ondemandscanning.v1-library.html) #### Organization Policy API - `orgpolicy.v2` The Org Policy API allows users to configure governance rules on their GCP resources across the Cloud Resource Hierarchy. - [Documentation](https://cloud.google.com/orgpolicy/docs/reference/rest/index.html) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/orgpolicy.v2/orgpolicy.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/orgpolicy.v2/orgpolicy.v2-library.html) #### OS Config API - `osconfig.v1` OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances. - [Documentation](https://cloud.google.com/compute/docs/osconfig/rest) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/osconfig.v1/osconfig.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/osconfig.v1/osconfig.v1-library.html) #### Cloud OS Login API - `oslogin.v1` You can use OS Login to manage access to your VM instances using IAM roles. - [Documentation](https://cloud.google.com/compute/docs/oslogin/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/oslogin.v1/oslogin.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/oslogin.v1/oslogin.v1-library.html) #### PageSpeed Insights API - `pagespeedonline.v5` The PageSpeed Insights API lets you analyze the performance of your website with a simple API. It offers tailored suggestions for how you can optimize your site, and lets you easily integrate PageSpeed Insights analysis into your development tools and workflow. - [Documentation](https://developers.google.com/speed/docs/insights/v5/about) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/pagespeedonline.v5/pagespeedonline.v5-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/pagespeedonline.v5/pagespeedonline.v5-library.html) #### Payments Reseller Subscription API - `paymentsresellersubscription.v1` - [Documentation](https://developers.google.com/payments/reseller/subscription/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/paymentsresellersubscription.v1/paymentsresellersubscription.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/paymentsresellersubscription.v1/paymentsresellersubscription.v1-library.html) #### People API - `people.v1` Provides access to information about profiles and contacts. - [Documentation](https://developers.google.com/people/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/people.v1/people.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/people.v1/people.v1-library.html) #### Photos Library API - `photoslibrary.v1` Manage photos, videos, and albums in Google Photos - [Documentation](https://developers.google.com/photos/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/photoslibrary.v1/photoslibrary.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/photoslibrary.v1/photoslibrary.v1-library.html) #### Google Play Custom App Publishing API - `playcustomapp.v1` API to create and publish custom Android apps - [Documentation](https://developers.google.com/android/work/play/custom-app-api/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/playcustomapp.v1/playcustomapp.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/playcustomapp.v1/playcustomapp.v1-library.html) #### Google Play Integrity API - `playintegrity.v1` -Play Integrity +The Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification. - [Documentation](https://developer.android.com/google/play/integrity) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/playintegrity.v1/playintegrity.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/playintegrity.v1/playintegrity.v1-library.html) #### Policy Analyzer API - `policyanalyzer.v1` - [Documentation](https://www.google.com) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/policyanalyzer.v1/policyanalyzer.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/policyanalyzer.v1/policyanalyzer.v1-library.html) #### Policy Simulator API - `policysimulator.v1` Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy. - [Documentation](https://cloud.google.com/iam/docs/simulating-access) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/policysimulator.v1/policysimulator.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/policysimulator.v1/policysimulator.v1-library.html) #### Policy Troubleshooter API - `policytroubleshooter.v1` - [Documentation](https://cloud.google.com/iam/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/policytroubleshooter.v1/policytroubleshooter.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/policytroubleshooter.v1/policytroubleshooter.v1-library.html) #### Certificate Authority API - `privateca.v1` The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys. - [Documentation](https://cloud.google.com/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/privateca.v1/privateca.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/privateca.v1/privateca.v1-library.html) #### Cloud Pub/Sub API - `pubsub.v1` Provides reliable, many-to-many, asynchronous messaging between applications. - [Documentation](https://cloud.google.com/pubsub/docs) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/pubsub.v1/pubsub.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/pubsub.v1/pubsub.v1-library.html) #### Pub/Sub Lite API - `pubsublite.v1` - [Documentation](https://cloud.google.com/pubsub/lite/docs) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/pubsublite.v1/pubsublite.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/pubsublite.v1/pubsublite.v1-library.html) #### Real-time Bidding API - `realtimebidding.v1` Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status. - [Documentation](https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/realtimebidding.v1/realtimebidding.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/realtimebidding.v1/realtimebidding.v1-library.html) #### reCAPTCHA Enterprise API - `recaptchaenterprise.v1` +Help protect your website from fraudulent activity, spam, and abuse without creating friction. + - [Documentation](https://cloud.google.com/recaptcha-enterprise/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/recaptchaenterprise.v1/recaptchaenterprise.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/recaptchaenterprise.v1/recaptchaenterprise.v1-library.html) #### Recommender API - `recommender.v1` - [Documentation](https://cloud.google.com/recommender/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/recommender.v1/recommender.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/recommender.v1/recommender.v1-library.html) #### Google Cloud Memorystore for Redis API - `redis.v1` Creates and manages Redis instances on the Google Cloud Platform. - [Documentation](https://cloud.google.com/memorystore/docs/redis/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/redis.v1/redis.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/redis.v1/redis.v1-library.html) #### Google Workspace Reseller API - `reseller.v1` Perform common functions that are available on the Channel Services console at scale, like placing orders and viewing customer information - [Documentation](https://developers.google.com/google-apps/reseller/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/reseller.v1/reseller.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/reseller.v1/reseller.v1-library.html) #### Resource Settings API - `resourcesettings.v1` The Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy. - [Documentation](https://cloud.google.com/resource-manager/docs/resource-settings/overview) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/resourcesettings.v1/resourcesettings.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/resourcesettings.v1/resourcesettings.v1-library.html) #### Retail API - `retail.v2` Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud. - [Documentation](https://cloud.google.com/recommendations) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/retail.v2/retail.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/retail.v2/retail.v2-library.html) #### Cloud Run Admin API - `run.v1` Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/. - [Documentation](https://cloud.google.com/run/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/run.v1/run.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/run.v1/run.v1-library.html) #### Cloud Run Admin API - `run.v2` Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/. - [Documentation](https://cloud.google.com/run/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/run.v2/run.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/run.v2/run.v2-library.html) #### Cloud Runtime Configuration API - `runtimeconfig.v1` The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions. - [Documentation](https://cloud.google.com/deployment-manager/runtime-configurator/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/runtimeconfig.v1/runtimeconfig.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/runtimeconfig.v1/runtimeconfig.v1-library.html) #### Safe Browsing API - `safebrowsing.v4` Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API. - [Documentation](https://developers.google.com/safe-browsing/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/safebrowsing.v4/safebrowsing.v4-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/safebrowsing.v4/safebrowsing.v4-library.html) #### Apps Script API - `script.v1` Manages and executes Google Apps Script projects. - [Documentation](https://developers.google.com/apps-script/api/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/script.v1/script.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/script.v1/script.v1-library.html) #### Google Search Console API - `searchconsole.v1` The Search Console API provides access to both Search Console data (verified users only) and to public information on an URL basis (anyone) - [Documentation](https://developers.google.com/webmaster-tools/search-console-api/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/searchconsole.v1/searchconsole.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/searchconsole.v1/searchconsole.v1-library.html) #### Secret Manager API - `secretmanager.v1` Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security. - [Documentation](https://cloud.google.com/secret-manager/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/secretmanager.v1/secretmanager.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/secretmanager.v1/secretmanager.v1-library.html) #### Security Command Center API - `securitycenter.v1` Security Command Center API provides access to temporal views of assets and findings within an organization. - [Documentation](https://cloud.google.com/security-command-center) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/securitycenter.v1/securitycenter.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/securitycenter.v1/securitycenter.v1-library.html) #### Service Consumer Management API - `serviceconsumermanagement.v1` Manages the service consumers of a Service Infrastructure service. - [Documentation](https://cloud.google.com/service-consumer-management/docs/overview) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/serviceconsumermanagement.v1/serviceconsumermanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/serviceconsumermanagement.v1/serviceconsumermanagement.v1-library.html) #### Service Control API - `servicecontrol.v1` Provides admission control and telemetry reporting for services integrated with Service Infrastructure. - [Documentation](https://cloud.google.com/service-control/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/servicecontrol.v1/servicecontrol.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/servicecontrol.v1/servicecontrol.v1-library.html) #### Service Control API - `servicecontrol.v2` Provides admission control and telemetry reporting for services integrated with Service Infrastructure. - [Documentation](https://cloud.google.com/service-control/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/servicecontrol.v2/servicecontrol.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/servicecontrol.v2/servicecontrol.v2-library.html) #### Service Directory API - `servicedirectory.v1` Service Directory is a platform for discovering, publishing, and connecting services. - [Documentation](https://cloud.google.com/service-directory) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/servicedirectory.v1/servicedirectory.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/servicedirectory.v1/servicedirectory.v1-library.html) #### Service Management API - `servicemanagement.v1` Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers. - [Documentation](https://cloud.google.com/service-management/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/servicemanagement.v1/servicemanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/servicemanagement.v1/servicemanagement.v1-library.html) #### Service Networking API - `servicenetworking.v1` Provides automatic management of network configurations necessary for certain services. - [Documentation](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/servicenetworking.v1/servicenetworking.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/servicenetworking.v1/servicenetworking.v1-library.html) #### Service Usage API - `serviceusage.v1` Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use. - [Documentation](https://cloud.google.com/service-usage/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/serviceusage.v1/serviceusage.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/serviceusage.v1/serviceusage.v1-library.html) #### Google Sheets API - `sheets.v4` Reads and writes Google Sheets. - [Documentation](https://developers.google.com/sheets/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/sheets.v4/sheets.v4-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/sheets.v4/sheets.v4-library.html) ####  Google Site Verification API - `siteVerification.v1` Verifies ownership of websites or domains with Google. - [Documentation](https://developers.google.com/site-verification/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/siteVerification.v1/siteVerification.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/siteVerification.v1/siteVerification.v1-library.html) #### Google Slides API - `slides.v1` Reads and writes Google Slides presentations. - [Documentation](https://developers.google.com/slides/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/slides.v1/slides.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/slides.v1/slides.v1-library.html) #### Smart Device Management API - `smartdevicemanagement.v1` Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically. - [Documentation](https://developers.google.com/nest/device-access) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/smartdevicemanagement.v1/smartdevicemanagement.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/smartdevicemanagement.v1/smartdevicemanagement.v1-library.html) #### Cloud Source Repositories API - `sourcerepo.v1` Accesses source code repositories hosted by Google. - [Documentation](https://cloud.google.com/source-repositories/docs/apis) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/sourcerepo.v1/sourcerepo.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/sourcerepo.v1/sourcerepo.v1-library.html) #### Cloud Spanner API - `spanner.v1` Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service. - [Documentation](https://cloud.google.com/spanner/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/spanner.v1/spanner.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/spanner.v1/spanner.v1-library.html) #### Cloud Speech-to-Text API - `speech.v1` Converts audio to text by applying powerful neural network models. - [Documentation](https://cloud.google.com/speech-to-text/docs/quickstart-protocol) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/speech.v1/speech.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/speech.v1/speech.v1-library.html) ####  Cloud Storage JSON API - `storage.v1` Stores and retrieves potentially large, immutable data objects. - [Documentation](https://developers.google.com/storage/docs/json_api/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/storage.v1/storage.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/storage.v1/storage.v1-library.html) #### Storage Transfer API - `storagetransfer.v1` Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets. - [Documentation](https://cloud.google.com/storage-transfer/docs) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/storagetransfer.v1/storagetransfer.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/storagetransfer.v1/storagetransfer.v1-library.html) #### Street View Publish API - `streetviewpublish.v1` Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images. - [Documentation](https://developers.google.com/streetview/publish/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/streetviewpublish.v1/streetviewpublish.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/streetviewpublish.v1/streetviewpublish.v1-library.html) #### Security Token Service API - `sts.v1` The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources. - [Documentation](https://cloud.google.com/iam/docs/workload-identity-federation) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/sts.v1/sts.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/sts.v1/sts.v1-library.html) #### Tag Manager API - `tagmanager.v1` This API allows clients to access and modify container and tag configuration. - [Documentation](https://developers.google.com/tag-manager) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/tagmanager.v1/tagmanager.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/tagmanager.v1/tagmanager.v1-library.html) #### Tag Manager API - `tagmanager.v2` This API allows clients to access and modify container and tag configuration. - [Documentation](https://developers.google.com/tag-manager) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/tagmanager.v2/tagmanager.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/tagmanager.v2/tagmanager.v2-library.html) #### Tasks API - `tasks.v1` The Google Tasks API lets you manage your tasks and task lists. - [Documentation](https://developers.google.com/tasks/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/tasks.v1/tasks.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/tasks.v1/tasks.v1-library.html) #### Cloud Testing API - `testing.v1` Allows developers to run automated tests for their mobile applications on Google infrastructure. - [Documentation](https://developers.google.com/cloud-test-lab/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/testing.v1/testing.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/testing.v1/testing.v1-library.html) #### Cloud Text-to-Speech API - `texttospeech.v1` Synthesizes natural-sounding speech by applying powerful neural network models. - [Documentation](https://cloud.google.com/text-to-speech/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/texttospeech.v1/texttospeech.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/texttospeech.v1/texttospeech.v1-library.html) #### Cloud TPU API - `tpu.v1` TPU API provides customers with access to Google TPU technology. - [Documentation](https://cloud.google.com/tpu/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/tpu.v1/tpu.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/tpu.v1/tpu.v1-library.html) #### Cloud TPU API - `tpu.v2` TPU API provides customers with access to Google TPU technology. - [Documentation](https://cloud.google.com/tpu/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/tpu.v2/tpu.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/tpu.v2/tpu.v2-library.html) #### Traffic Director API - `trafficdirector.v2` - [Documentation](https://cloud.google.com/traffic-director) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/trafficdirector.v2/trafficdirector.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/trafficdirector.v2/trafficdirector.v2-library.html) #### Transcoder API - `transcoder.v1` This API converts video files into formats suitable for consumer distribution. For more information, see the Transcoder API overview. - [Documentation](https://cloud.google.com/transcoder/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/transcoder.v1/transcoder.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/transcoder.v1/transcoder.v1-library.html) #### Cloud Translation API - `translate.v3` Integrates text translation into your website or application. - [Documentation](https://cloud.google.com/translate/docs/quickstarts) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/translate.v3/translate.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/translate.v3/translate.v3-library.html) #### Travel Impact Model API - `travelimpactmodel.v1` Travel Impact Model API lets you query travel carbon emission estimates. - [Documentation](https://developers.google.com/travel/impact-model) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/travelimpactmodel.v1/travelimpactmodel.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/travelimpactmodel.v1/travelimpactmodel.v1-library.html) #### Google Vault API - `vault.v1` Retention and eDiscovery for Google Workspace. To work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege. For example, to download an export, an account needs the **Manage Exports** privilege and the matter shared with them. - [Documentation](https://developers.google.com/vault) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/vault.v1/vault.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/vault.v1/vault.v1-library.html) #### Chrome Verified Access API - `verifiedaccess.v1` API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network - [Documentation](https://developers.google.com/chrome/verified-access) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/verifiedaccess.v1/verifiedaccess.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/verifiedaccess.v1/verifiedaccess.v1-library.html) #### Chrome Verified Access API - `verifiedaccess.v2` API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network - [Documentation](https://developers.google.com/chrome/verified-access) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/verifiedaccess.v2/verifiedaccess.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/verifiedaccess.v2/verifiedaccess.v2-library.html) #### versionhistory.googleapis.com API - `versionhistory.v1` Version History API - Prod - [Documentation](https://developer.chrome.com/docs/versionhistory/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/versionhistory.v1/versionhistory.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/versionhistory.v1/versionhistory.v1-library.html) #### Cloud Video Intelligence API - `videointelligence.v1` Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API. - [Documentation](https://cloud.google.com/video-intelligence/docs/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/videointelligence.v1/videointelligence.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/videointelligence.v1/videointelligence.v1-library.html) #### Cloud Vision API - `vision.v1` Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications. - [Documentation](https://cloud.google.com/vision/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/vision.v1/vision.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/vision.v1/vision.v1-library.html) -#### Migrate to Virtual Machines API - `vmmigration.v1` +#### VM Migration API - `vmmigration.v1` Use the Migrate to Virtual Machines API to programmatically migrate workloads. - [Documentation](https://cloud.google.com/migrate/virtual-machines) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/vmmigration.v1/vmmigration.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/vmmigration.v1/vmmigration.v1-library.html) #### Web Fonts Developer API - `webfonts.v1` The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google. - [Documentation](https://developers.google.com/fonts/docs/developer_api) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/webfonts.v1/webfonts.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/webfonts.v1/webfonts.v1-library.html) #### Web Risk API - `webrisk.v1` - [Documentation](https://cloud.google.com/web-risk/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/webrisk.v1/webrisk.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/webrisk.v1/webrisk.v1-library.html) #### Web Security Scanner API - `websecurityscanner.v1` Scans your Compute and App Engine apps for common web vulnerabilities. - [Documentation](https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/websecurityscanner.v1/websecurityscanner.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/websecurityscanner.v1/websecurityscanner.v1-library.html) #### Workflow Executions API - `workflowexecutions.v1` Execute workflows created with Workflows API. - [Documentation](https://cloud.google.com/workflows) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/workflowexecutions.v1/workflowexecutions.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/workflowexecutions.v1/workflowexecutions.v1-library.html) #### Workflows API - `workflows.v1` Manage workflow definitions. To execute workflows and manage executions, see the Workflows Executions API. - [Documentation](https://cloud.google.com/workflows) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/workflows.v1/workflows.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/workflows.v1/workflows.v1-library.html) + +#### Workload Manager API - `workloadmanager.v1` + +- [Documentation](https://cloud.google.com/workload-manager/docs) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/workloadmanager.v1/workloadmanager.v1-library.html) #### YouTube Data API v3 - `youtube.v3` The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels. - [Documentation](https://developers.google.com/youtube/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/youtube.v3/youtube.v3-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/youtube.v3/youtube.v3-library.html) #### YouTube Analytics API - `youtubeAnalytics.v2` Retrieves your YouTube Analytics data. - [Documentation](https://developers.google.com/youtube/analytics) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/youtubeAnalytics.v2/youtubeAnalytics.v2-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/youtubeAnalytics.v2/youtubeAnalytics.v2-library.html) #### YouTube Reporting API - `youtubereporting.v1` Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files. - [Documentation](https://developers.google.com/youtube/reporting/v1/reports/) -- [API details](https://pub.dev/documentation/googleapis/9.2.0/youtubereporting.v1/youtubereporting.v1-library.html) +- [API details](https://pub.dev/documentation/googleapis/10.0.0/youtubereporting.v1/youtubereporting.v1-library.html)
diff --git a/generated/googleapis/lib/accessapproval/v1.dart b/generated/googleapis/lib/accessapproval/v1.dart index 764f96d..46b88fa 100644 --- a/generated/googleapis/lib/accessapproval/v1.dart +++ b/generated/googleapis/lib/accessapproval/v1.dart
@@ -1812,14 +1812,15 @@ /// The product for which Access Approval will be enrolled. /// /// Allowed values are listed below (case-sensitive): * all * GA * App Engine - /// * BigQuery * Cloud Bigtable * Cloud Key Management Service * Compute - /// Engine * Cloud Dataflow * Cloud Dataproc * Cloud DLP * Cloud EKM * Cloud - /// HSM * Cloud Identity and Access Management * Cloud Logging * Cloud Pub/Sub - /// * Cloud Spanner * Cloud SQL * Cloud Storage * Google Kubernetes Engine * - /// Organization Policy Serivice * Persistent Disk * Resource Manager * Secret - /// Manager * Speaker ID Note: These values are supported as input for legacy - /// purposes, but will not be returned from the API. * all * ga-only * - /// appengine.googleapis.com * bigquery.googleapis.com * + /// . * Artifact Registry * BigQuery * Cloud Bigtable * Cloud Key Management + /// Service * Compute Engine * Cloud Dataflow * Cloud Dataproc * Cloud DLP * + /// Cloud EKM * Cloud HSM * Cloud Identity and Access Management * Cloud + /// Logging * Cloud Pub/Sub * Cloud Spanner * Cloud SQL * Cloud Storage * + /// Google Kubernetes Engine * Organization Policy Serivice * Persistent Disk + /// * Resource Manager * Secret Manager * Speaker ID Note: These values are + /// supported as input for legacy purposes, but will not be returned from the + /// API. * all * ga-only * appengine.googleapis.com * + /// artifactregistry.googleapis.com * bigquery.googleapis.com * /// bigtable.googleapis.com * container.googleapis.com * /// cloudkms.googleapis.com * cloudresourcemanager.googleapis.com * /// cloudsql.googleapis.com * compute.googleapis.com * dataflow.googleapis.com
diff --git a/generated/googleapis/lib/accesscontextmanager/v1.dart b/generated/googleapis/lib/accesscontextmanager/v1.dart index d8e5d05..57eae3d 100644 --- a/generated/googleapis/lib/accesscontextmanager/v1.dart +++ b/generated/googleapis/lib/accesscontextmanager/v1.dart
@@ -24,6 +24,7 @@ /// /// - [AccessPoliciesResource] /// - [AccessPoliciesAccessLevelsResource] +/// - [AccessPoliciesAuthorizedOrgsDescsResource] /// - [AccessPoliciesServicePerimetersResource] /// - [OperationsResource] /// - [OrganizationsResource] @@ -71,6 +72,8 @@ AccessPoliciesAccessLevelsResource get accessLevels => AccessPoliciesAccessLevelsResource(_requester); + AccessPoliciesAuthorizedOrgsDescsResource get authorizedOrgsDescs => + AccessPoliciesAuthorizedOrgsDescsResource(_requester); AccessPoliciesServicePerimetersResource get servicePerimeters => AccessPoliciesServicePerimetersResource(_requester); @@ -786,6 +789,244 @@ } } +class AccessPoliciesAuthorizedOrgsDescsResource { + final commons.ApiRequester _requester; + + AccessPoliciesAuthorizedOrgsDescsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a authorized orgs desc. + /// + /// The long-running operation from this RPC has a successful status after the + /// authorized orgs desc propagates to long-lasting storage. If a authorized + /// orgs desc contains errors, an error response is returned for the first + /// error encountered. The name of this `AuthorizedOrgsDesc` will be assigned + /// during creation. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Resource name for the access policy which owns this + /// Authorized Orgs Desc. Format: `accessPolicies/{policy_id}` + /// Value must have pattern `^accessPolicies/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> create( + AuthorizedOrgsDesc request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$parent') + '/authorizedOrgsDescs'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Deletes a authorized orgs desc based on the resource name. + /// + /// The long-running operation from this RPC has a successful status after the + /// authorized orgs desc is removed from long-lasting storage. + /// + /// Request parameters: + /// + /// [name] - Required. Resource name for the Authorized Orgs Desc. Format: + /// `accessPolicies/{policy_id}/authorizedOrgsDesc/{authorized_orgs_desc_id}` + /// Value must have pattern + /// `^accessPolicies/\[^/\]+/authorizedOrgsDescs/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> delete( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Gets a authorized orgs desc based on the resource name. + /// + /// Request parameters: + /// + /// [name] - Required. Resource name for the Authorized Orgs Desc. Format: + /// `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_descs_id}` + /// Value must have pattern + /// `^accessPolicies/\[^/\]+/authorizedOrgsDescs/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [AuthorizedOrgsDesc]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<AuthorizedOrgsDesc> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return AuthorizedOrgsDesc.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Lists all authorized orgs descs for an access policy. + /// + /// Request parameters: + /// + /// [parent] - Required. Resource name for the access policy to list + /// Authorized Orgs Desc from. Format: `accessPolicies/{policy_id}` + /// Value must have pattern `^accessPolicies/\[^/\]+$`. + /// + /// [pageSize] - Number of Authorized Orgs Descs to include in the list. + /// Default 100. + /// + /// [pageToken] - Next page token for the next batch of Authorized Orgs Desc + /// instances. Defaults to the first page of results. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListAuthorizedOrgsDescsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListAuthorizedOrgsDescsResponse> list( + core.String parent, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$parent') + '/authorizedOrgsDescs'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListAuthorizedOrgsDescsResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Updates a authorized orgs desc. + /// + /// The long-running operation from this RPC has a successful status after the + /// authorized orgs desc propagates to long-lasting storage. If a authorized + /// orgs desc contains errors, an error response is returned for the first + /// error encountered. Only the organization list in `AuthorizedOrgsDesc` can + /// be updated. The name, authorization_type, asset_type and + /// authorization_direction cannot be updated. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Assigned by the server during creation. The last segment has an + /// arbitrary length and has only URI unreserved characters (as defined by + /// [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). + /// Should not be specified by the client during creation. Example: + /// "accessPolicies/122256/authorizedOrgs/b3-BhcX_Ud5N" + /// Value must have pattern + /// `^accessPolicies/\[^/\]+/authorizedOrgsDescs/\[^/\]+$`. + /// + /// [updateMask] - Required. Mask to control which fields get updated. Must be + /// non-empty. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> patch( + AuthorizedOrgsDesc request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } +} + class AccessPoliciesServicePerimetersResource { final commons.ApiRequester _requester; @@ -1781,6 +2022,94 @@ /// exempting jose@example.com from DATA_READ logging. typedef AuditLogConfig = $AuditLogConfig; +/// `AuthorizedOrgsDesc` is a resource that contains a list of organizations for +/// a authorization type and asset type and its authorization direction. +class AuthorizedOrgsDesc { + /// The asset type of this authorized orgs desc. + /// + /// e.g. device, credential strength. + /// Possible string values are: + /// - "ASSET_TYPE_UNSPECIFIED" : No asset type specified. + /// - "ASSET_TYPE_DEVICE" : Device asset type. + /// - "ASSET_TYPE_CREDENTIAL_STRENGTH" : credential strength asset type. + core.String? assetType; + + /// Authorization direction of this authorization relationship. + /// + /// i.e. Whether to allow specified orgs to evaluate this org's traffic, or + /// allow specified orgs' traffic to be evaluated by this org. Orgs specified + /// as `AUTHORIZATION_DIRECTION_TO` in this + /// AuthorizedOrgsDesc\[com.google.identity.accesscontextmanager.v1.AuthorizedOrgsDesc\] + /// must also specify this org as the `AUTHORIZATION_DIRECTION_FROM` in their + /// own AuthorizedOrgsDesc in order for this relationship to take effect. Orgs + /// specified as `AUTHORIZATION_DIRECTION_FROM` in this + /// AuthorizedOrgsDesc\[com.google.identity.accesscontextmanager.v1.AuthorizedOrgsDesc\] + /// must also specify this org as the `AUTHORIZATION_DIRECTION_TO` in their + /// own AuthorizedOrgsDesc in order for this relationship to take effect. + /// Possible string values are: + /// - "AUTHORIZATION_DIRECTION_UNSPECIFIED" : No direction specified. + /// - "AUTHORIZATION_DIRECTION_TO" : Specified orgs will evaluate traffic. + /// - "AUTHORIZATION_DIRECTION_FROM" : Specified orgs' traffic will be + /// evaluated. + core.String? authorizationDirection; + + /// The authorization type of this authorized orgs desc. + /// + /// e.g.authorization, troubleshooting or logging. + /// Possible string values are: + /// - "AUTHORIZATION_TYPE_UNSPECIFIED" : No authorization type specified. + /// - "AUTHORIZATION_TYPE_TRUST" : This authorization relationship is "trust". + core.String? authorizationType; + + /// Assigned by the server during creation. + /// + /// The last segment has an arbitrary length and has only URI unreserved + /// characters (as defined by + /// [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). + /// Should not be specified by the client during creation. Example: + /// "accessPolicies/122256/authorizedOrgs/b3-BhcX_Ud5N" + core.String? name; + + /// The list of organization ids in this AuthorizedOrgsDesc. + core.List<core.String>? orgs; + + AuthorizedOrgsDesc({ + this.assetType, + this.authorizationDirection, + this.authorizationType, + this.name, + this.orgs, + }); + + AuthorizedOrgsDesc.fromJson(core.Map json_) + : this( + assetType: json_.containsKey('assetType') + ? json_['assetType'] as core.String + : null, + authorizationDirection: json_.containsKey('authorizationDirection') + ? json_['authorizationDirection'] as core.String + : null, + authorizationType: json_.containsKey('authorizationType') + ? json_['authorizationType'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + orgs: json_.containsKey('orgs') + ? (json_['orgs'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (assetType != null) 'assetType': assetType!, + if (authorizationDirection != null) + 'authorizationDirection': authorizationDirection!, + if (authorizationType != null) 'authorizationType': authorizationType!, + if (name != null) 'name': name!, + if (orgs != null) 'orgs': orgs!, + }; +} + /// `BasicLevel` is an `AccessLevel` using a set of recommended features. class BasicLevel { /// How the `conditions` list should be combined to determine if a request is @@ -2609,6 +2938,41 @@ }; } +/// A response to `ListAuthorizedOrgsDescsRequest`. +class ListAuthorizedOrgsDescsResponse { + /// List of the Authorized Orgs Desc instances. + core.List<AuthorizedOrgsDesc>? authorizedOrgsDescs; + + /// The pagination token to retrieve the next page of results. + /// + /// If the value is empty, no further results remain. + core.String? nextPageToken; + + ListAuthorizedOrgsDescsResponse({ + this.authorizedOrgsDescs, + this.nextPageToken, + }); + + ListAuthorizedOrgsDescsResponse.fromJson(core.Map json_) + : this( + authorizedOrgsDescs: json_.containsKey('authorizedOrgsDescs') + ? (json_['authorizedOrgsDescs'] as core.List) + .map((value) => AuthorizedOrgsDesc.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (authorizedOrgsDescs != null) + 'authorizedOrgsDescs': authorizedOrgsDescs!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + /// Response of ListGcpUserAccessBindings. class ListGcpUserAccessBindingsResponse { /// GcpUserAccessBinding @@ -3152,7 +3516,9 @@ /// A list of Google Cloud resources that are inside of the service perimeter. /// - /// Currently only projects are allowed. Format: `projects/{project_number}` + /// Currently only projects and VPCs are allowed. Project format: + /// `projects/{project_number}` VPC format: + /// `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. core.List<core.String>? resources; /// Google Cloud services that are subject to the Service Perimeter
diff --git a/generated/googleapis/lib/admin/directory_v1.dart b/generated/googleapis/lib/admin/directory_v1.dart index 11bf26d..629b495 100644 --- a/generated/googleapis/lib/admin/directory_v1.dart +++ b/generated/googleapis/lib/admin/directory_v1.dart
@@ -7962,6 +7962,25 @@ /// Reports of CPU utilization and temperature (Read-only) core.List<ChromeOsDeviceCpuStatusReports>? cpuStatusReports; + /// (Read-only) Deprovision reason. + /// Possible string values are: + /// - "deprovisionReasonUnspecified" : The deprovision reason is unknown. + /// - "deprovisionReasonSameModelReplacement" : Same model replacement. + /// - "deprovisionReasonUpgrade" : Device upgrade. + /// - "deprovisionReasonDomainMove" : Domain move. + /// - "deprovisionReasonServiceExpiration" : Service expiration. + /// - "deprovisionReasonOther" : Other. + /// - "deprovisionReasonDifferentModelReplacement" : Different model + /// replacement. + /// - "deprovisionReasonRetiringDevice" : Retiring device. + /// - "deprovisionReasonUpgradeTransfer" : Transferring perpetual upgrade to a + /// new device. + /// - "deprovisionReasonNotRequired" : No reason required, i.e. licenses + /// returned to customer's license pool. + /// - "deprovisionReasonRepairCenter" : Deprovisioned by a RMA (service + /// center) caller. + core.String? deprovisionReason; + /// A list of device files to download (Read-only) core.List<ChromeOsDeviceDeviceFiles>? deviceFiles; @@ -8005,6 +8024,9 @@ /// `admin#directory#chromeosdevice`. core.String? kind; + /// (Read-only) Date and time for the last deprovision of the device. + core.String? lastDeprovisionTimestamp; + /// Date and time the device was last enrolled (Read-only) core.DateTime? lastEnrollmentTime; @@ -8130,6 +8152,7 @@ this.bootMode, this.cpuInfo, this.cpuStatusReports, + this.deprovisionReason, this.deviceFiles, this.deviceId, this.diskVolumeReports, @@ -8140,6 +8163,7 @@ this.firmwareVersion, this.firstEnrollmentTime, this.kind, + this.lastDeprovisionTimestamp, this.lastEnrollmentTime, this.lastKnownNetwork, this.lastSync, @@ -8200,6 +8224,9 @@ value as core.Map<core.String, core.dynamic>)) .toList() : null, + deprovisionReason: json_.containsKey('deprovisionReason') + ? json_['deprovisionReason'] as core.String + : null, deviceFiles: json_.containsKey('deviceFiles') ? (json_['deviceFiles'] as core.List) .map((value) => ChromeOsDeviceDeviceFiles.fromJson( @@ -8232,6 +8259,10 @@ ? json_['firstEnrollmentTime'] as core.String : null, kind: json_.containsKey('kind') ? json_['kind'] as core.String : null, + lastDeprovisionTimestamp: + json_.containsKey('lastDeprovisionTimestamp') + ? json_['lastDeprovisionTimestamp'] as core.String + : null, lastEnrollmentTime: json_.containsKey('lastEnrollmentTime') ? core.DateTime.parse(json_['lastEnrollmentTime'] as core.String) : null, @@ -8323,6 +8354,7 @@ if (bootMode != null) 'bootMode': bootMode!, if (cpuInfo != null) 'cpuInfo': cpuInfo!, if (cpuStatusReports != null) 'cpuStatusReports': cpuStatusReports!, + if (deprovisionReason != null) 'deprovisionReason': deprovisionReason!, if (deviceFiles != null) 'deviceFiles': deviceFiles!, if (deviceId != null) 'deviceId': deviceId!, if (diskVolumeReports != null) 'diskVolumeReports': diskVolumeReports!, @@ -8336,6 +8368,8 @@ if (firstEnrollmentTime != null) 'firstEnrollmentTime': firstEnrollmentTime!, if (kind != null) 'kind': kind!, + if (lastDeprovisionTimestamp != null) + 'lastDeprovisionTimestamp': lastDeprovisionTimestamp!, if (lastEnrollmentTime != null) 'lastEnrollmentTime': lastEnrollmentTime!.toUtc().toIso8601String(), if (lastKnownNetwork != null) 'lastKnownNetwork': lastKnownNetwork!, @@ -8794,6 +8828,7 @@ /// revert the device back to a factory state with no enrollment unless the /// device is subject to forced or auto enrollment. Use with caution, as this /// is an irreversible action! + /// - "DEVICE_START_CRD_SESSION" : Starts a Chrome Remote Desktop session. core.String? type; DirectoryChromeosdevicesCommand({ @@ -8842,6 +8877,13 @@ /// The result of executing a command. class DirectoryChromeosdevicesCommandResult { + /// The payload for the command result. + /// + /// The following commands respond with a payload: - DEVICE_START_CRD_SESSION: + /// Payload is a stringified JSON object in the form: { "url": url }. The URL + /// provides a link to the CRD session. + core.String? commandResultPayload; + /// The error message with a short explanation as to why the command failed. /// /// Only present if the command failed. @@ -8859,6 +8901,7 @@ core.String? result; DirectoryChromeosdevicesCommandResult({ + this.commandResultPayload, this.errorMessage, this.executeTime, this.result, @@ -8866,6 +8909,9 @@ DirectoryChromeosdevicesCommandResult.fromJson(core.Map json_) : this( + commandResultPayload: json_.containsKey('commandResultPayload') + ? json_['commandResultPayload'] as core.String + : null, errorMessage: json_.containsKey('errorMessage') ? json_['errorMessage'] as core.String : null, @@ -8878,6 +8924,8 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (commandResultPayload != null) + 'commandResultPayload': commandResultPayload!, if (errorMessage != null) 'errorMessage': errorMessage!, if (executeTime != null) 'executeTime': executeTime!, if (result != null) 'result': result!, @@ -8904,13 +8952,19 @@ /// revert the device back to a factory state with no enrollment unless the /// device is subject to forced or auto enrollment. Use with caution, as this /// is an irreversible action! + /// - "DEVICE_START_CRD_SESSION" : Starts a Chrome Remote Desktop session. core.String? commandType; /// The payload for the command, provide it only if command supports it. /// /// The following commands support adding payload: - SET_VOLUME: Payload is a /// stringified JSON object in the form: { "volume": 50 }. The volume has to - /// be an integer in the range \[0,100\]. + /// be an integer in the range \[0,100\]. - DEVICE_START_CRD_SESSION: Payload + /// is optionally a stringified JSON object in the form: { + /// "ackedUserPresence": true }. ackedUserPresence is a boolean. If a device + /// is being used, ackedUserPresence must be set to true to acknowledge that + /// you want to start a CRD session anyways. It is false by default, so a CRD + /// command will fail if used on an active device without this field. core.String? payload; DirectoryChromeosdevicesIssueCommandRequest({ @@ -9397,8 +9451,15 @@ /// Google Groups provide your users the ability to send messages to groups of /// people using the group's email address. /// -/// For more information about common tasks, see the \[Developer's -/// Guide\](/admin-sdk/directory/v1/guides/manage-groups). +/// For more information about common tasks, see the +/// [Developer's Guide](https://developers.google.com/admin-sdk/directory/v1/guides/manage-groups). +/// For information about other types of groups, see the +/// [Cloud Identity Groups API documentation](https://cloud.google.com/identity/docs/groups). +/// Note: The user calling the API (or being impersonated by a service account) +/// must have an assigned +/// [role](https://developers.google.com/admin-sdk/directory/v1/guides/manage-roles) +/// that includes Admin API Groups permissions, such as Super Admin or Groups +/// Admin. class Group { /// Read-only. ///
diff --git a/generated/googleapis/lib/admob/v1.dart b/generated/googleapis/lib/admob/v1.dart index f4b6883..609bd24 100644 --- a/generated/googleapis/lib/admob/v1.dart +++ b/generated/googleapis/lib/admob/v1.dart
@@ -467,6 +467,19 @@ /// Describes an AdMob app for a specific platform (For example: Android or /// iOS). class App { + /// The approval state for the app. + /// + /// Output only. + /// Possible string values are: + /// - "APP_APPROVAL_STATE_UNSPECIFIED" : Default value for an unset field. Do + /// not use. + /// - "ACTION_REQUIRED" : The app requires additional user action to be + /// approved. Please refer to https://support.google.com/admob/answer/10564477 + /// for details and next steps. + /// - "IN_REVIEW" : The app is pending review. + /// - "APPROVED" : The app is approved and can serve ads. + core.String? appApprovalState; + /// The externally visible ID of the app which can be used to integrate with /// the AdMob SDK. /// @@ -499,6 +512,7 @@ core.String? platform; App({ + this.appApprovalState, this.appId, this.linkedAppInfo, this.manualAppInfo, @@ -508,6 +522,9 @@ App.fromJson(core.Map json_) : this( + appApprovalState: json_.containsKey('appApprovalState') + ? json_['appApprovalState'] as core.String + : null, appId: json_.containsKey('appId') ? json_['appId'] as core.String : null, linkedAppInfo: json_.containsKey('linkedAppInfo') @@ -525,6 +542,7 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (appApprovalState != null) 'appApprovalState': appApprovalState!, if (appId != null) 'appId': appId!, if (linkedAppInfo != null) 'linkedAppInfo': linkedAppInfo!, if (manualAppInfo != null) 'manualAppInfo': manualAppInfo!,
diff --git a/generated/googleapis/lib/androidenterprise/v1.dart b/generated/googleapis/lib/androidenterprise/v1.dart index 1352f96..1d5a979 100644 --- a/generated/googleapis/lib/androidenterprise/v1.dart +++ b/generated/googleapis/lib/androidenterprise/v1.dart
@@ -494,6 +494,58 @@ response_ as core.Map<core.String, core.dynamic>); } + /// Returns a token for device enrollment. + /// + /// The DPC can encode this token within the QR/NFC/zero-touch enrollment + /// payload or fetch it before calling the on-device API to authenticate the + /// user. The token can be generated for each device or reused across multiple + /// devices. + /// + /// Request parameters: + /// + /// [enterpriseId] - The ID of the enterprise. + /// + /// [deviceType] - Whether it’s a dedicated device or a knowledge worker + /// device. + /// Possible string values are: + /// - "unknown" : This value is unused + /// - "dedicatedDevice" : This device is a dedicated device. + /// - "knowledgeWorker" : This device is required to have an authenticated + /// user. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CreateEnrollmentTokenResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<CreateEnrollmentTokenResponse> createEnrollmentToken( + core.String enterpriseId, { + core.String? deviceType, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (deviceType != null) 'deviceType': [deviceType], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'androidenterprise/v1/enterprises/' + + commons.escapeVariable('$enterpriseId') + + '/createEnrollmentToken'; + + final response_ = await _requester.request( + url_, + 'POST', + queryParams: queryParams_, + ); + return CreateEnrollmentTokenResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + /// Returns a unique token to access an embeddable UI. /// /// To generate a web UI, pass the generated token into the managed Google @@ -824,7 +876,7 @@ /// [requestMode] - The request mode for pulling notifications. Specifying /// waitForNotifications will cause the request to block and wait until one or /// more notifications are present, or return an empty notification list if no - /// notifications are present after some time. Speciying returnImmediately + /// notifications are present after some time. Specifying returnImmediately /// will cause the request to immediately return the pending notifications, or /// an empty list if no notifications are present. If omitted, defaults to /// waitForNotifications. @@ -4536,6 +4588,27 @@ }; } +/// Response message for create enrollment token. +class CreateEnrollmentTokenResponse { + /// Enrollment token. + core.String? enrollmentToken; + + CreateEnrollmentTokenResponse({ + this.enrollmentToken, + }); + + CreateEnrollmentTokenResponse.fromJson(core.Map json_) + : this( + enrollmentToken: json_.containsKey('enrollmentToken') + ? json_['enrollmentToken'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (enrollmentToken != null) 'enrollmentToken': enrollmentToken!, + }; +} + /// A Devices resource represents a mobile device managed by the EMM and /// belonging to a specific enterprise user. class Device { @@ -4758,6 +4831,11 @@ /// This is only supported for enterprises created via the EMM-initiated flow. core.List<Administrator>? administrator; + /// Settings for Google-provided user authentication. + /// + /// Output only. + GoogleAuthenticationSettings? googleAuthenticationSettings; + /// The unique ID for the enterprise. core.String? id; @@ -4769,6 +4847,7 @@ Enterprise({ this.administrator, + this.googleAuthenticationSettings, this.id, this.name, this.primaryDomain, @@ -4782,6 +4861,12 @@ value as core.Map<core.String, core.dynamic>)) .toList() : null, + googleAuthenticationSettings: + json_.containsKey('googleAuthenticationSettings') + ? GoogleAuthenticationSettings.fromJson( + json_['googleAuthenticationSettings'] + as core.Map<core.String, core.dynamic>) + : null, id: json_.containsKey('id') ? json_['id'] as core.String : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, primaryDomain: json_.containsKey('primaryDomain') @@ -4791,6 +4876,8 @@ core.Map<core.String, core.dynamic> toJson() => { if (administrator != null) 'administrator': administrator!, + if (googleAuthenticationSettings != null) + 'googleAuthenticationSettings': googleAuthenticationSettings!, if (id != null) 'id': id!, if (name != null) 'name': name!, if (primaryDomain != null) 'primaryDomain': primaryDomain!, @@ -4974,6 +5061,47 @@ }; } +/// Contains settings for Google-provided user authentication. +class GoogleAuthenticationSettings { + /// Whether dedicated devices are allowed. + /// Possible string values are: + /// - "dedicatedDevicesAllowedUnspecified" : This value is unused. + /// - "disallowed" : Dedicated devices are not allowed. + /// - "allowed" : Dedicated devices are allowed. + core.String? dedicatedDevicesAllowed; + + /// Whether Google authentication is required. + /// Possible string values are: + /// - "googleAuthenticationRequiredUnspecified" : This value is unused. + /// - "notRequired" : Google authentication is not required. + /// - "required" : User is required to be successfully authenticated by + /// Google. + core.String? googleAuthenticationRequired; + + GoogleAuthenticationSettings({ + this.dedicatedDevicesAllowed, + this.googleAuthenticationRequired, + }); + + GoogleAuthenticationSettings.fromJson(core.Map json_) + : this( + dedicatedDevicesAllowed: json_.containsKey('dedicatedDevicesAllowed') + ? json_['dedicatedDevicesAllowed'] as core.String + : null, + googleAuthenticationRequired: + json_.containsKey('googleAuthenticationRequired') + ? json_['googleAuthenticationRequired'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (dedicatedDevicesAllowed != null) + 'dedicatedDevicesAllowed': dedicatedDevicesAllowed!, + if (googleAuthenticationRequired != null) + 'googleAuthenticationRequired': googleAuthenticationRequired!, + }; +} + /// Group license objects allow you to keep track of licenses (called /// entitlements) for both free and paid apps. ///
diff --git a/generated/googleapis/lib/apigee/v1.dart b/generated/googleapis/lib/apigee/v1.dart index 109f399..4c7aa98 100644 --- a/generated/googleapis/lib/apigee/v1.dart +++ b/generated/googleapis/lib/apigee/v1.dart
@@ -255,9 +255,9 @@ /// /// Request parameters: /// - /// [parent] - Required. Name of the GCP project in which to associate the - /// Apigee organization. Pass the information as a query parameter using the - /// following structure in your request: `projects/` + /// [parent] - Required. Name of the Google Cloud project in which to + /// associate the Apigee organization. Pass the information as a query + /// parameter using the following structure in your request: `projects/` /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -565,8 +565,8 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Lists the Apigee organizations and associated GCP projects that you have - /// permission to access. + /// Lists the Apigee organizations and associated Google Cloud projects that + /// you have permission to access. /// /// See /// [Understanding organizations](https://cloud.google.com/apigee/docs/api-platform/fundamentals/organization-structure). @@ -5271,6 +5271,61 @@ response_ as core.Map<core.String, core.dynamic>); } + /// Gets the deployed ingress configuration for an environment group. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the deployed configuration for the environment + /// group in the following format: + /// 'organizations/{org}/envgroups/{envgroup}/deployedIngressConfig'. + /// Value must have pattern + /// `^organizations/\[^/\]+/envgroups/\[^/\]+/deployedIngressConfig$`. + /// + /// [view] - When set to FULL, additional details about the specific + /// deployments receiving traffic will be included in the IngressConfig + /// response's RoutingRules. + /// Possible string values are: + /// - "INGRESS_CONFIG_VIEW_UNSPECIFIED" : The default/unset value. The API + /// will default to the BASIC view. + /// - "BASIC" : Include all ingress config data necessary for the runtime to + /// configure ingress, but no more. Routing rules will include only basepath + /// and destination environment. This the default value. + /// - "FULL" : Include all ingress config data, including internal debug info + /// for each routing rule such as the proxy claiming a particular basepath and + /// when the routing rule first appeared in the env group. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudApigeeV1EnvironmentGroupConfig]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleCloudApigeeV1EnvironmentGroupConfig> + getDeployedIngressConfig( + core.String name, { + core.String? view, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (view != null) 'view': [view], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleCloudApigeeV1EnvironmentGroupConfig.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + /// Lists all environment groups. /// /// Request parameters: @@ -17117,7 +17172,7 @@ }; } -/// NEXT ID: 9 +/// NEXT ID: 11 class GoogleCloudApigeeV1DeploymentConfig { /// Additional key-value metadata for the deployment. core.Map<core.String, core.String>? attributes; @@ -17127,6 +17182,16 @@ /// Defaults to "/". core.String? basePath; + /// The list of deployment groups in which this proxy should be deployed. + /// + /// Not currently populated for shared flows. + core.List<core.String>? deploymentGroups; + + /// A mapping from basepaths to proxy endpoint names in this proxy. + /// + /// Not populated for shared flows. + core.Map<core.String, core.String>? endpoints; + /// Location of the API proxy bundle as a URI. core.String? location; @@ -17152,6 +17217,8 @@ GoogleCloudApigeeV1DeploymentConfig({ this.attributes, this.basePath, + this.deploymentGroups, + this.endpoints, this.location, this.name, this.proxyUid, @@ -17173,6 +17240,19 @@ basePath: json_.containsKey('basePath') ? json_['basePath'] as core.String : null, + deploymentGroups: json_.containsKey('deploymentGroups') + ? (json_['deploymentGroups'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + endpoints: json_.containsKey('endpoints') + ? (json_['endpoints'] as core.Map<core.String, core.dynamic>).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, location: json_.containsKey('location') ? json_['location'] as core.String : null, @@ -17189,6 +17269,8 @@ core.Map<core.String, core.dynamic> toJson() => { if (attributes != null) 'attributes': attributes!, if (basePath != null) 'basePath': basePath!, + if (deploymentGroups != null) 'deploymentGroups': deploymentGroups!, + if (endpoints != null) 'endpoints': endpoints!, if (location != null) 'location': location!, if (name != null) 'name': name!, if (proxyUid != null) 'proxyUid': proxyUid!, @@ -17197,6 +17279,44 @@ }; } +/// DeploymentGroupConfig represents a deployment group that should be present +/// in a particular environment. +class GoogleCloudApigeeV1DeploymentGroupConfig { + /// Name of the deployment group in the following format: + /// `organizations/{org}/environments/{env}/deploymentGroups/{group}`. + core.String? name; + + /// Revision number which can be used by the runtime to detect if the + /// deployment group has changed between two versions. + core.String? revisionId; + + /// Unique ID. + /// + /// The ID will only change if the deployment group is deleted and recreated. + core.String? uid; + + GoogleCloudApigeeV1DeploymentGroupConfig({ + this.name, + this.revisionId, + this.uid, + }); + + GoogleCloudApigeeV1DeploymentGroupConfig.fromJson(core.Map json_) + : this( + name: json_.containsKey('name') ? json_['name'] as core.String : null, + revisionId: json_.containsKey('revisionId') + ? json_['revisionId'] as core.String + : null, + uid: json_.containsKey('uid') ? json_['uid'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (name != null) 'name': name!, + if (revisionId != null) 'revisionId': revisionId!, + if (uid != null) 'uid': uid!, + }; +} + class GoogleCloudApigeeV1Developer { /// Access type. core.String? accessType; @@ -17883,6 +18003,40 @@ }; } +/// EndpointChainingRule specifies the proxies contained in a particular +/// deployment group, so that other deployment groups can find them in chaining +/// calls. +class GoogleCloudApigeeV1EndpointChainingRule { + /// The deployment group to target for cross-shard chaining calls to these + /// proxies. + core.String? deploymentGroup; + + /// List of proxy ids which may be found in the given deployment group. + core.List<core.String>? proxyIds; + + GoogleCloudApigeeV1EndpointChainingRule({ + this.deploymentGroup, + this.proxyIds, + }); + + GoogleCloudApigeeV1EndpointChainingRule.fromJson(core.Map json_) + : this( + deploymentGroup: json_.containsKey('deploymentGroup') + ? json_['deploymentGroup'] as core.String + : null, + proxyIds: json_.containsKey('proxyIds') + ? (json_['proxyIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (deploymentGroup != null) 'deploymentGroup': deploymentGroup!, + if (proxyIds != null) 'proxyIds': proxyIds!, + }; +} + /// Metadata common to many entities in this API. class GoogleCloudApigeeV1EntityMetadata { /// Time at which the API proxy was created, in milliseconds since epoch. @@ -18103,9 +18257,19 @@ /// Debug mask that applies to all deployments in the environment. GoogleCloudApigeeV1DebugMask? debugMask; + /// List of deployment groups in the environment. + core.List<GoogleCloudApigeeV1DeploymentGroupConfig>? deploymentGroups; + /// List of deployments in the environment. core.List<GoogleCloudApigeeV1DeploymentConfig>? deployments; + /// Revision ID for environment-scoped resources (e.g. target servers, + /// keystores) in this config. + /// + /// This ID will increment any time a resource not scoped to a deployment + /// group changes. + core.String? envScopedRevisionId; + /// Feature flags inherited from the organization and environment. core.Map<core.String, core.String>? featureFlags; @@ -18173,7 +18337,9 @@ this.createTime, this.dataCollectors, this.debugMask, + this.deploymentGroups, this.deployments, + this.envScopedRevisionId, this.featureFlags, this.flowhooks, this.forwardProxyUri, @@ -18210,12 +18376,22 @@ ? GoogleCloudApigeeV1DebugMask.fromJson( json_['debugMask'] as core.Map<core.String, core.dynamic>) : null, + deploymentGroups: json_.containsKey('deploymentGroups') + ? (json_['deploymentGroups'] as core.List) + .map((value) => + GoogleCloudApigeeV1DeploymentGroupConfig.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, deployments: json_.containsKey('deployments') ? (json_['deployments'] as core.List) .map((value) => GoogleCloudApigeeV1DeploymentConfig.fromJson( value as core.Map<core.String, core.dynamic>)) .toList() : null, + envScopedRevisionId: json_.containsKey('envScopedRevisionId') + ? json_['envScopedRevisionId'] as core.String + : null, featureFlags: json_.containsKey('featureFlags') ? (json_['featureFlags'] as core.Map<core.String, core.dynamic>) .map( @@ -18287,7 +18463,10 @@ if (createTime != null) 'createTime': createTime!, if (dataCollectors != null) 'dataCollectors': dataCollectors!, if (debugMask != null) 'debugMask': debugMask!, + if (deploymentGroups != null) 'deploymentGroups': deploymentGroups!, if (deployments != null) 'deployments': deployments!, + if (envScopedRevisionId != null) + 'envScopedRevisionId': envScopedRevisionId!, if (featureFlags != null) 'featureFlags': featureFlags!, if (flowhooks != null) 'flowhooks': flowhooks!, if (forwardProxyUri != null) 'forwardProxyUri': forwardProxyUri!, @@ -18436,9 +18615,18 @@ /// EnvironmentGroupConfig is a revisioned snapshot of an EnvironmentGroup and /// its associated routing rules. class GoogleCloudApigeeV1EnvironmentGroupConfig { + /// A list of proxies in each deployment group for proxy chaining calls. + core.List<GoogleCloudApigeeV1EndpointChainingRule>? endpointChainingRules; + /// Host names for the environment group. core.List<core.String>? hostnames; + /// When this message appears in the top-level IngressConfig, this field will + /// be populated in lieu of the inlined routing_rules and hostnames fields. + /// + /// Some URL for downloading the full EnvironmentGroupConfig for this group. + core.String? location; + /// Name of the environment group in the following format: /// `organizations/{org}/envgroups/{envgroup}`. core.String? name; @@ -18458,7 +18646,9 @@ core.String? uid; GoogleCloudApigeeV1EnvironmentGroupConfig({ + this.endpointChainingRules, this.hostnames, + this.location, this.name, this.revisionId, this.routingRules, @@ -18467,11 +18657,21 @@ GoogleCloudApigeeV1EnvironmentGroupConfig.fromJson(core.Map json_) : this( + endpointChainingRules: json_.containsKey('endpointChainingRules') + ? (json_['endpointChainingRules'] as core.List) + .map((value) => + GoogleCloudApigeeV1EndpointChainingRule.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, hostnames: json_.containsKey('hostnames') ? (json_['hostnames'] as core.List) .map((value) => value as core.String) .toList() : null, + location: json_.containsKey('location') + ? json_['location'] as core.String + : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, revisionId: json_.containsKey('revisionId') ? json_['revisionId'] as core.String @@ -18486,7 +18686,10 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (endpointChainingRules != null) + 'endpointChainingRules': endpointChainingRules!, if (hostnames != null) 'hostnames': hostnames!, + if (location != null) 'location': location!, if (name != null) 'name': name!, if (revisionId != null) 'revisionId': revisionId!, if (routingRules != null) 'routingRules': routingRules!, @@ -20403,7 +20606,7 @@ } class GoogleCloudApigeeV1ListOrganizationsResponse { - /// List of Apigee organizations and associated GCP projects. + /// List of Apigee organizations and associated Google Cloud projects. core.List<GoogleCloudApigeeV1OrganizationProjectMapping>? organizations; GoogleCloudApigeeV1ListOrganizationsResponse({ @@ -21142,7 +21345,8 @@ /// DEPRECATED: This field will be deprecated once Apigee supports DRZ. /// - /// Primary GCP region for analytics data storage. For valid values, see + /// Primary Google Cloud region for analytics data storage. For valid values, + /// see /// [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org). /// /// Required. @@ -21449,7 +21653,7 @@ /// Name of the Apigee organization. core.String? organization; - /// GCP project associated with the Apigee organization + /// Google Cloud project associated with the Apigee organization core.String? projectId; /// DEPRECATED: Use `project_id`. @@ -23157,6 +23361,12 @@ /// of a single `*` character will match any string. core.String? basepath; + /// Name of a deployment group in an environment bound to the environment + /// group in the following format: + /// `organizations/{org}/environment/{env}/deploymentGroups/{group}` Only one + /// of environment or deployment_group will be set. + core.String? deploymentGroup; + /// The env group config revision_id when this rule was added or last updated. /// /// This value is set when the rule is created and will only update if the the @@ -23168,8 +23378,14 @@ /// Name of an environment bound to the environment group in the following /// format: `organizations/{org}/environments/{env}`. + /// + /// Only one of environment or deployment_group will be set. core.String? environment; + /// Conflicting targets, which will be resource names specifying either + /// deployment groups or environments. + core.List<core.String>? otherTargets; + /// The resource name of the proxy revision that is receiving this basepath in /// the following format: `organizations/{org}/apis/{api}/revisions/{rev}`. /// @@ -23186,8 +23402,10 @@ GoogleCloudApigeeV1RoutingRule({ this.basepath, + this.deploymentGroup, this.envGroupRevision, this.environment, + this.otherTargets, this.receiver, this.updateTime, }); @@ -23197,12 +23415,20 @@ basepath: json_.containsKey('basepath') ? json_['basepath'] as core.String : null, + deploymentGroup: json_.containsKey('deploymentGroup') + ? json_['deploymentGroup'] as core.String + : null, envGroupRevision: json_.containsKey('envGroupRevision') ? json_['envGroupRevision'] as core.String : null, environment: json_.containsKey('environment') ? json_['environment'] as core.String : null, + otherTargets: json_.containsKey('otherTargets') + ? (json_['otherTargets'] as core.List) + .map((value) => value as core.String) + .toList() + : null, receiver: json_.containsKey('receiver') ? json_['receiver'] as core.String : null, @@ -23213,8 +23439,10 @@ core.Map<core.String, core.dynamic> toJson() => { if (basepath != null) 'basepath': basepath!, + if (deploymentGroup != null) 'deploymentGroup': deploymentGroup!, if (envGroupRevision != null) 'envGroupRevision': envGroupRevision!, if (environment != null) 'environment': environment!, + if (otherTargets != null) 'otherTargets': otherTargets!, if (receiver != null) 'receiver': receiver!, if (updateTime != null) 'updateTime': updateTime!, }; @@ -24993,7 +25221,7 @@ /// TargetServer configuration. /// -/// TargetServers are used to decouple a proxy's TargetEndpoint +/// TargetServers are used to decouple a proxy TargetEndpoint /// HTTPTargetConnections from concrete URLs for backend services. class GoogleCloudApigeeV1TargetServer { /// A human-readable description of this TargetServer.
diff --git a/generated/googleapis/lib/appengine/v1.dart b/generated/googleapis/lib/appengine/v1.dart index 57debd7..58f739b 100644 --- a/generated/googleapis/lib/appengine/v1.dart +++ b/generated/googleapis/lib/appengine/v1.dart
@@ -32,6 +32,9 @@ /// - [AppsServicesResource] /// - [AppsServicesVersionsResource] /// - [AppsServicesVersionsInstancesResource] +/// - [ProjectsResource] +/// - [ProjectsLocationsResource] +/// - [ProjectsLocationsApplicationsResource] library appengine.v1; import 'dart:async' as async; @@ -67,6 +70,7 @@ final commons.ApiRequester _requester; AppsResource get apps => AppsResource(_requester); + ProjectsResource get projects => ProjectsResource(_requester); AppengineApi(http.Client client, {core.String rootUrl = 'https://appengine.googleapis.com/', @@ -2088,6 +2092,78 @@ } } +class ProjectsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsResource get locations => + ProjectsLocationsResource(_requester); + + ProjectsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsApplicationsResource get applications => + ProjectsLocationsApplicationsResource(_requester); + + ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsApplicationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsApplicationsResource(commons.ApiRequester client) + : _requester = client; + + /// Gets information about an application. + /// + /// Request parameters: + /// + /// [projectsId] - Part of `name`. Name of the Application resource to get. + /// Example: apps/myapp. + /// + /// [locationsId] - Part of `name`. See documentation of `projectsId`. + /// + /// [applicationsId] - Part of `name`. See documentation of `projectsId`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Application]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Application> get( + core.String projectsId, + core.String locationsId, + core.String applicationsId, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/projects/' + + commons.escapeVariable('$projectsId') + + '/locations/' + + commons.escapeVariable('$locationsId') + + '/applications/' + + commons.escapeVariable('$applicationsId'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Application.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + /// Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration /// for API handlers. class ApiConfigHandler {
diff --git a/generated/googleapis/lib/assuredworkloads/v1.dart b/generated/googleapis/lib/assuredworkloads/v1.dart index b686855..5f8a210 100644 --- a/generated/googleapis/lib/assuredworkloads/v1.dart +++ b/generated/googleapis/lib/assuredworkloads/v1.dart
@@ -902,6 +902,8 @@ typedef GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse = $Empty; /// Workload monitoring Violation. +/// +/// Next Id: 22 class GoogleCloudAssuredworkloadsV1Violation { /// A boolean that indicates if the violation is acknowledged core.bool? acknowledged;
diff --git a/generated/googleapis/lib/baremetalsolution/v1.dart b/generated/googleapis/lib/baremetalsolution/v1.dart deleted file mode 100644 index 670791c..0000000 --- a/generated/googleapis/lib/baremetalsolution/v1.dart +++ /dev/null
@@ -1,375 +0,0 @@ -// This is a generated file (see the discoveryapis_generator project). - -// ignore_for_file: camel_case_types -// ignore_for_file: comment_references -// ignore_for_file: file_names -// ignore_for_file: library_names -// ignore_for_file: lines_longer_than_80_chars -// ignore_for_file: non_constant_identifier_names -// ignore_for_file: prefer_expression_function_bodies -// ignore_for_file: prefer_interpolation_to_compose_strings -// ignore_for_file: unnecessary_brace_in_string_interps -// ignore_for_file: unnecessary_lambdas -// ignore_for_file: unnecessary_string_interpolations - -/// Bare Metal Solution API - v1 -/// -/// Provides ways to manage Bare Metal Solution hardware installed in a regional -/// extension located near a Google Cloud data center. -/// -/// For more information, see <https://cloud.google.com/bare-metal> -/// -/// Create an instance of [BaremetalsolutionApi] to access these resources: -/// -/// - [OperationsResource] -library baremetalsolution.v1; - -import 'dart:async' as async; -import 'dart:convert' as convert; -import 'dart:core' as core; - -import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; -import 'package:http/http.dart' as http; - -// ignore: deprecated_member_use_from_same_package -import '../shared.dart'; -import '../src/user_agent.dart'; - -export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' - show ApiRequestError, DetailedApiRequestError; - -/// Provides ways to manage Bare Metal Solution hardware installed in a regional -/// extension located near a Google Cloud data center. -class BaremetalsolutionApi { - /// See, edit, configure, and delete your Google Cloud data and see the email - /// address for your Google Account. - static const cloudPlatformScope = - 'https://www.googleapis.com/auth/cloud-platform'; - - final commons.ApiRequester _requester; - - OperationsResource get operations => OperationsResource(_requester); - - BaremetalsolutionApi(http.Client client, - {core.String rootUrl = 'https://baremetalsolution.googleapis.com/', - core.String servicePath = ''}) - : _requester = - commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); -} - -class OperationsResource { - final commons.ApiRequester _requester; - - OperationsResource(commons.ApiRequester client) : _requester = client; - - /// 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`. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [name] - The name of the operation resource to be cancelled. - /// Value must have pattern `^operations/.*$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Empty]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Empty> cancel( - CancelOperationRequest request, - core.String name, { - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':cancel'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return Empty.fromJson(response_ as core.Map<core.String, core.dynamic>); - } - - /// 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`. - /// - /// Request parameters: - /// - /// [name] - The name of the operation resource to be deleted. - /// Value must have pattern `^operations/.*$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Empty]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Empty> delete( - core.String name, { - core.String? $fields, - }) async { - final queryParams_ = <core.String, core.List<core.String>>{ - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$name'); - - final response_ = await _requester.request( - url_, - 'DELETE', - queryParams: queryParams_, - ); - return Empty.fromJson(response_ as core.Map<core.String, core.dynamic>); - } - - /// 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. - /// - /// Request parameters: - /// - /// [name] - The name of the operation resource. - /// Value must have pattern `^operations/.*$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Operation]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Operation> get( - core.String name, { - core.String? $fields, - }) async { - final queryParams_ = <core.String, core.List<core.String>>{ - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$name'); - - final response_ = await _requester.request( - url_, - 'GET', - queryParams: queryParams_, - ); - return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); - } - - /// Lists operations that match the specified filter in the request. - /// - /// If the server doesn't support this method, it returns `UNIMPLEMENTED`. - /// NOTE: the `name` binding allows API services to override the binding to - /// use different resource name schemes, such as `users / * /operations`. To - /// override the binding, API services can add a binding such as - /// `"/v1/{name=users / * }/operations"` to their service configuration. For - /// backwards compatibility, the default name includes the operations - /// collection id, however overriding users must ensure the name binding is - /// the parent resource, without the operations collection id. - /// - /// Request parameters: - /// - /// [name] - The name of the operation's parent resource. - /// Value must have pattern `^operations$`. - /// - /// [filter] - The standard list filter. - /// - /// [pageSize] - The standard list page size. - /// - /// [pageToken] - The standard list page token. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [ListOperationsResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<ListOperationsResponse> list( - core.String name, { - core.String? filter, - core.int? pageSize, - core.String? pageToken, - core.String? $fields, - }) async { - final queryParams_ = <core.String, core.List<core.String>>{ - if (filter != null) 'filter': [filter], - if (pageSize != null) 'pageSize': ['${pageSize}'], - if (pageToken != null) 'pageToken': [pageToken], - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$name'); - - final response_ = await _requester.request( - url_, - 'GET', - queryParams: queryParams_, - ); - return ListOperationsResponse.fromJson( - response_ as core.Map<core.String, core.dynamic>); - } -} - -/// The request message for Operations.CancelOperation. -typedef CancelOperationRequest = $Empty; - -/// 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); } -typedef Empty = $Empty; - -/// The response message for Operations.ListOperations. -class ListOperationsResponse { - /// The standard List next-page token. - core.String? nextPageToken; - - /// A list of operations that matches the specified filter in the request. - core.List<Operation>? operations; - - ListOperationsResponse({ - this.nextPageToken, - this.operations, - }); - - ListOperationsResponse.fromJson(core.Map json_) - : this( - nextPageToken: json_.containsKey('nextPageToken') - ? json_['nextPageToken'] as core.String - : null, - operations: json_.containsKey('operations') - ? (json_['operations'] as core.List) - .map((value) => Operation.fromJson( - value as core.Map<core.String, core.dynamic>)) - .toList() - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (nextPageToken != null) 'nextPageToken': nextPageToken!, - if (operations != null) 'operations': operations!, - }; -} - -/// This resource represents a long-running operation that is the result of a -/// network API call. -class Operation { - /// 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. - core.bool? done; - - /// The error result of the operation in case of failure or cancellation. - Status? error; - - /// 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. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.Map<core.String, core.Object?>? metadata; - - /// 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/{unique_id}`. - core.String? name; - - /// 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`. - /// - /// The values for Object must be JSON objects. It can consist of `num`, - /// `String`, `bool` and `null` as well as `Map` and `List` values. - core.Map<core.String, core.Object?>? response; - - Operation({ - this.done, - this.error, - this.metadata, - this.name, - this.response, - }); - - Operation.fromJson(core.Map json_) - : this( - done: json_.containsKey('done') ? json_['done'] as core.bool : null, - error: json_.containsKey('error') - ? Status.fromJson( - json_['error'] as core.Map<core.String, core.dynamic>) - : null, - metadata: json_.containsKey('metadata') - ? json_['metadata'] as core.Map<core.String, core.dynamic> - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - response: json_.containsKey('response') - ? json_['response'] as core.Map<core.String, core.dynamic> - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (done != null) 'done': done!, - if (error != null) 'error': error!, - if (metadata != null) 'metadata': metadata!, - if (name != null) 'name': name!, - if (response != null) 'response': response!, - }; -} - -/// 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). -typedef Status = $Status;
diff --git a/generated/googleapis/lib/baremetalsolution/v2.dart b/generated/googleapis/lib/baremetalsolution/v2.dart index af23f99..c801af0 100644 --- a/generated/googleapis/lib/baremetalsolution/v2.dart +++ b/generated/googleapis/lib/baremetalsolution/v2.dart
@@ -2361,6 +2361,14 @@ /// be populated in Get/List responses. core.List<Volume>? volumes; + /// The workload profile for the instance. + /// Possible string values are: + /// - "WORKLOAD_PROFILE_UNSPECIFIED" : The workload profile is in an unknown + /// state. + /// - "WORKLOAD_PROFILE_GENERIC" : The workload profile is generic. + /// - "WORKLOAD_PROFILE_HANA" : The workload profile is hana. + core.String? workloadProfile; + Instance({ this.createTime, this.hyperthreadingEnabled, @@ -2379,6 +2387,7 @@ this.state, this.updateTime, this.volumes, + this.workloadProfile, }); Instance.fromJson(core.Map json_) @@ -2446,6 +2455,9 @@ value as core.Map<core.String, core.dynamic>)) .toList() : null, + workloadProfile: json_.containsKey('workloadProfile') + ? json_['workloadProfile'] as core.String + : null, ); core.Map<core.String, core.dynamic> toJson() => { @@ -2468,6 +2480,7 @@ if (state != null) 'state': state!, if (updateTime != null) 'updateTime': updateTime!, if (volumes != null) 'volumes': volumes!, + if (workloadProfile != null) 'workloadProfile': workloadProfile!, }; } @@ -4802,6 +4815,14 @@ /// - "HDD" : This storage type for this volume is HDD. core.String? storageType; + /// The workload profile for the volume. + /// Possible string values are: + /// - "WORKLOAD_PROFILE_UNSPECIFIED" : The workload profile is in an unknown + /// state. + /// - "GENERIC" : The workload profile is generic. + /// - "HANA" : The workload profile is hana. + core.String? workloadProfile; + Volume({ this.autoGrownSizeGib, this.bootVolume, @@ -4824,6 +4845,7 @@ this.snapshotSchedulePolicy, this.state, this.storageType, + this.workloadProfile, }); Volume.fromJson(core.Map json_) @@ -4893,6 +4915,9 @@ storageType: json_.containsKey('storageType') ? json_['storageType'] as core.String : null, + workloadProfile: json_.containsKey('workloadProfile') + ? json_['workloadProfile'] as core.String + : null, ); core.Map<core.String, core.dynamic> toJson() => { @@ -4921,6 +4946,7 @@ 'snapshotSchedulePolicy': snapshotSchedulePolicy!, if (state != null) 'state': state!, if (storageType != null) 'storageType': storageType!, + if (workloadProfile != null) 'workloadProfile': workloadProfile!, }; }
diff --git a/generated/googleapis/lib/batch/v1.dart b/generated/googleapis/lib/batch/v1.dart index 9857708..a62c06f 100644 --- a/generated/googleapis/lib/batch/v1.dart +++ b/generated/googleapis/lib/batch/v1.dart
@@ -25,10 +25,8 @@ /// - [ProjectsLocationsJobsResource] /// - [ProjectsLocationsJobsTaskGroupsResource] /// - [ProjectsLocationsJobsTaskGroupsTasksResource] -/// - [ProjectsLocationsNodesResource] /// - [ProjectsLocationsOperationsResource] /// - [ProjectsLocationsStateResource] -/// - [ProjectsLocationsTasksResource] library batch.v1; import 'dart:async' as async; @@ -77,14 +75,10 @@ ProjectsLocationsJobsResource get jobs => ProjectsLocationsJobsResource(_requester); - ProjectsLocationsNodesResource get nodes => - ProjectsLocationsNodesResource(_requester); ProjectsLocationsOperationsResource get operations => ProjectsLocationsOperationsResource(_requester); ProjectsLocationsStateResource get state => ProjectsLocationsStateResource(_requester); - ProjectsLocationsTasksResource get tasks => - ProjectsLocationsTasksResource(_requester); ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; @@ -649,168 +643,6 @@ } } -class ProjectsLocationsNodesResource { - final commons.ApiRequester _requester; - - ProjectsLocationsNodesResource(commons.ApiRequester client) - : _requester = client; - - /// Gets the access control policy for a resource. - /// - /// Returns an empty policy if the resource exists and does not have a policy - /// set. - /// - /// Request parameters: - /// - /// [resource] - 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. - /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/nodes/\[^/\]+$`. - /// - /// [options_requestedPolicyVersion] - 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). - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Policy]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Policy> getIamPolicy( - core.String resource, { - core.int? options_requestedPolicyVersion, - core.String? $fields, - }) async { - final queryParams_ = <core.String, core.List<core.String>>{ - if (options_requestedPolicyVersion != null) - 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; - - final response_ = await _requester.request( - url_, - 'GET', - queryParams: queryParams_, - ); - return Policy.fromJson(response_ as core.Map<core.String, core.dynamic>); - } - - /// Sets the access control policy on the specified resource. - /// - /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, - /// and `PERMISSION_DENIED` errors. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [resource] - 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. - /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/nodes/\[^/\]+$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Policy]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Policy> setIamPolicy( - SetIamPolicyRequest request, - core.String resource, { - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return Policy.fromJson(response_ as core.Map<core.String, core.dynamic>); - } - - /// 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. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [resource] - 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. - /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/nodes/\[^/\]+$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [TestIamPermissionsResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<TestIamPermissionsResponse> testIamPermissions( - TestIamPermissionsRequest request, - core.String resource, { - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if ($fields != null) 'fields': [$fields], - }; - - final url_ = - 'v1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return TestIamPermissionsResponse.fromJson( - response_ as core.Map<core.String, core.dynamic>); - } -} - class ProjectsLocationsOperationsResource { final commons.ApiRequester _requester; @@ -1053,168 +885,6 @@ } } -class ProjectsLocationsTasksResource { - final commons.ApiRequester _requester; - - ProjectsLocationsTasksResource(commons.ApiRequester client) - : _requester = client; - - /// Gets the access control policy for a resource. - /// - /// Returns an empty policy if the resource exists and does not have a policy - /// set. - /// - /// Request parameters: - /// - /// [resource] - 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. - /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/tasks/\[^/\]+$`. - /// - /// [options_requestedPolicyVersion] - 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). - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Policy]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Policy> getIamPolicy( - core.String resource, { - core.int? options_requestedPolicyVersion, - core.String? $fields, - }) async { - final queryParams_ = <core.String, core.List<core.String>>{ - if (options_requestedPolicyVersion != null) - 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; - - final response_ = await _requester.request( - url_, - 'GET', - queryParams: queryParams_, - ); - return Policy.fromJson(response_ as core.Map<core.String, core.dynamic>); - } - - /// Sets the access control policy on the specified resource. - /// - /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, - /// and `PERMISSION_DENIED` errors. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [resource] - 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. - /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/tasks/\[^/\]+$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Policy]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Policy> setIamPolicy( - SetIamPolicyRequest request, - core.String resource, { - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return Policy.fromJson(response_ as core.Map<core.String, core.dynamic>); - } - - /// 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. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [resource] - 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. - /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/tasks/\[^/\]+$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [TestIamPermissionsResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<TestIamPermissionsResponse> testIamPermissions( - TestIamPermissionsRequest request, - core.String resource, { - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if ($fields != null) 'fields': [$fields], - }; - - final url_ = - 'v1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return TestIamPermissionsResponse.fromJson( - response_ as core.Map<core.String, core.dynamic>); - } -} - /// Accelerator describes Compute Engine accelerators to be attached to the VM. class Accelerator { /// The number of accelerators of this type. @@ -1340,9 +1010,11 @@ }; } -/// AgentMetadata never changes for a single instance of VM agent. +/// VM Agent Metadata. class AgentMetadata { /// When the VM agent started. + /// + /// Use agent_startup_time instead. core.String? creationTime; /// Full name of the entity that created this vm. @@ -1352,12 +1024,18 @@ /// is retrieved from the vm metadata key of "created-by". core.String? creator; + /// image version for the VM that this agent is installed on. + core.String? imageVersion; + /// GCP instance name (go/instance-name). core.String? instance; /// GCP instance ID (go/instance-id). core.String? instanceId; + /// If the GCP instance has received preemption notice. + core.bool? instancePreemptionNoticeReceived; + /// parsed contents of /etc/os-release core.Map<core.String, core.String>? osRelease; @@ -1370,8 +1048,10 @@ AgentMetadata({ this.creationTime, this.creator, + this.imageVersion, this.instance, this.instanceId, + this.instancePreemptionNoticeReceived, this.osRelease, this.version, this.zone, @@ -1385,12 +1065,19 @@ creator: json_.containsKey('creator') ? json_['creator'] as core.String : null, + imageVersion: json_.containsKey('imageVersion') + ? json_['imageVersion'] as core.String + : null, instance: json_.containsKey('instance') ? json_['instance'] as core.String : null, instanceId: json_.containsKey('instanceId') ? json_['instanceId'] as core.String : null, + instancePreemptionNoticeReceived: + json_.containsKey('instancePreemptionNoticeReceived') + ? json_['instancePreemptionNoticeReceived'] as core.bool + : null, osRelease: json_.containsKey('osRelease') ? (json_['osRelease'] as core.Map<core.String, core.dynamic>).map( (key, item) => core.MapEntry( @@ -1408,8 +1095,11 @@ core.Map<core.String, core.dynamic> toJson() => { if (creationTime != null) 'creationTime': creationTime!, if (creator != null) 'creator': creator!, + if (imageVersion != null) 'imageVersion': imageVersion!, if (instance != null) 'instance': instance!, if (instanceId != null) 'instanceId': instanceId!, + if (instancePreemptionNoticeReceived != null) + 'instancePreemptionNoticeReceived': instancePreemptionNoticeReceived!, if (osRelease != null) 'osRelease': osRelease!, if (version != null) 'version': version!, if (zone != null) 'zone': zone!, @@ -1518,6 +1208,43 @@ }; } +/// VM timing information +class AgentTimingInfo { + /// Agent startup time + core.String? agentStartupTime; + + /// Boot timestamp of the VM OS + core.String? bootTime; + + /// Startup time of the Batch VM script. + core.String? scriptStartupTime; + + AgentTimingInfo({ + this.agentStartupTime, + this.bootTime, + this.scriptStartupTime, + }); + + AgentTimingInfo.fromJson(core.Map json_) + : this( + agentStartupTime: json_.containsKey('agentStartupTime') + ? json_['agentStartupTime'] as core.String + : null, + bootTime: json_.containsKey('bootTime') + ? json_['bootTime'] as core.String + : null, + scriptStartupTime: json_.containsKey('scriptStartupTime') + ? json_['scriptStartupTime'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (agentStartupTime != null) 'agentStartupTime': agentStartupTime!, + if (bootTime != null) 'bootTime': bootTime!, + if (scriptStartupTime != null) 'scriptStartupTime': scriptStartupTime!, + }; +} + /// A Job's resource allocation policy describes when, where, and how compute /// resources should be allocated for the Job. class AllocationPolicy { @@ -1862,13 +1589,13 @@ /// Optional password for logging in to a docker registry. /// - /// If password matches "projects / * /secrets / * /versions / * " then Batch + /// If password matches `projects / * /secrets / * /versions / * ` then Batch /// will read the password from the Secret Manager; core.String? password; /// Optional username for logging in to a docker registry. /// - /// If username matches "projects / * /secrets / * /versions / * " then Batch + /// If username matches `projects / * /secrets / * /versions / * ` then Batch /// will read the username from the Secret Manager. core.String? username; @@ -1946,20 +1673,35 @@ core.String? diskInterface; /// Name of a public or custom image used as the data source. + /// + /// For example, the following are all valid URLs: (1) Specify the image by + /// its family name: projects/{project}/global/images/family/{image_family} + /// (2) Specify the image version: + /// projects/{project}/global/images/{image_version} You can also use Batch + /// customized image in short names. The following image values are supported + /// for a boot disk: "batch-debian": use Batch Debian images. "batch-centos": + /// use Batch CentOS images. "batch-cos": use Batch Container-Optimized + /// images. core.String? image; /// Disk size in GB. /// - /// This field is ignored if `data_source` is `disk` or `image`. If `type` is - /// `local-ssd`, size_gb should be a multiple of 375GB, otherwise, the final - /// size will be the next greater multiple of 375 GB. + /// For persistent disk, this field is ignored if `data_source` is `image` or + /// `snapshot`. For local SSD, size_gb should be a multiple of 375GB, + /// otherwise, the final size will be the next greater multiple of 375 GB. For + /// boot disk, Batch will calculate the boot disk size based on source image + /// and task requirements if you do not speicify the size. If both this field + /// and the boot_disk_mib field in task spec's compute_resource are defined, + /// Batch will only honor this field. core.String? sizeGb; /// Name of a snapshot used as the data source. core.String? snapshot; - /// Disk type as shown in `gcloud compute disk-types list` For example, - /// "pd-ssd", "pd-standard", "pd-balanced", "local-ssd". + /// Disk type as shown in `gcloud compute disk-types list`. + /// + /// For example, local SSD uses type "local-ssd". Persistent disks and boot + /// disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard". core.String? type; Disk({ @@ -2006,15 +1748,41 @@ /// An Environment describes a collection of environment variables to set when /// executing Tasks. class Environment { + /// An encrypted JSON dictionary where the key/value pairs correspond to + /// environment variable names and their values. + KMSEnvMap? encryptedVariables; + + /// A map of environment variable names to Secret Manager secret names. + /// + /// The VM will access the named secrets to set the value of each environment + /// variable. + core.Map<core.String, core.String>? secretVariables; + /// A map of environment variable names to values. core.Map<core.String, core.String>? variables; Environment({ + this.encryptedVariables, + this.secretVariables, this.variables, }); Environment.fromJson(core.Map json_) : this( + encryptedVariables: json_.containsKey('encryptedVariables') + ? KMSEnvMap.fromJson(json_['encryptedVariables'] + as core.Map<core.String, core.dynamic>) + : null, + secretVariables: json_.containsKey('secretVariables') + ? (json_['secretVariables'] + as core.Map<core.String, core.dynamic>) + .map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, variables: json_.containsKey('variables') ? (json_['variables'] as core.Map<core.String, core.dynamic>).map( (key, item) => core.MapEntry( @@ -2026,6 +1794,9 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (encryptedVariables != null) + 'encryptedVariables': encryptedVariables!, + if (secretVariables != null) 'secretVariables': secretVariables!, if (variables != null) 'variables': variables!, }; } @@ -2078,6 +1849,11 @@ /// The accelerators attached to each VM instance. core.List<Accelerator>? accelerators; + /// Book disk to be created and attached to each VM by this InstancePolicy. + /// + /// Boot disk will be deleted when the VM is deleted. + Disk? bootDisk; + /// Non-boot disks to be attached for each VM created by this InstancePolicy. /// /// New disks will be deleted when the VM is deleted. @@ -2107,6 +1883,7 @@ InstancePolicy({ this.accelerators, + this.bootDisk, this.disks, this.machineType, this.minCpuPlatform, @@ -2121,6 +1898,10 @@ value as core.Map<core.String, core.dynamic>)) .toList() : null, + bootDisk: json_.containsKey('bootDisk') + ? Disk.fromJson( + json_['bootDisk'] as core.Map<core.String, core.dynamic>) + : null, disks: json_.containsKey('disks') ? (json_['disks'] as core.List) .map((value) => AttachedDisk.fromJson( @@ -2140,6 +1921,7 @@ core.Map<core.String, core.dynamic> toJson() => { if (accelerators != null) 'accelerators': accelerators!, + if (bootDisk != null) 'bootDisk': bootDisk!, if (disks != null) 'disks': disks!, if (machineType != null) 'machineType': machineType!, if (minCpuPlatform != null) 'minCpuPlatform': minCpuPlatform!, @@ -2483,6 +2265,34 @@ }; } +class KMSEnvMap { + /// The value of the cipherText response from the `encrypt` method. + core.String? cipherText; + + /// The name of the KMS key that will be used to decrypt the cipher text. + core.String? keyName; + + KMSEnvMap({ + this.cipherText, + this.keyName, + }); + + KMSEnvMap.fromJson(core.Map json_) + : this( + cipherText: json_.containsKey('cipherText') + ? json_['cipherText'] as core.String + : null, + keyName: json_.containsKey('keyName') + ? json_['keyName'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (cipherText != null) 'cipherText': cipherText!, + if (keyName != null) 'keyName': keyName!, + }; +} + /// LifecyclePolicy describes how to deal with task failures based on different /// conditions. class LifecyclePolicy { @@ -2833,7 +2643,12 @@ /// A network interface. class NetworkInterface { - /// The URL of the network resource. + /// The URL of an existing network resource. + /// + /// You can specify the network as a full or partial URL. For example, the + /// following are all valid URLs: + /// https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} + /// projects/{project}/global/networks/{network} global/networks/{network} core.String? network; /// Default is false (with an external IP address). @@ -2846,7 +2661,13 @@ /// information. core.bool? noExternalIpAddress; - /// The URL of the Subnetwork resource. + /// The URL of an existing subnetwork resource in the network. + /// + /// You can specify the subnetwork as a full or partial URL. For example, the + /// following are all valid URLs: + /// https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} + /// projects/{project}/regions/{region}/subnetworks/{subnetwork} + /// regions/{region}/subnetworks/{subnetwork} core.String? subnetwork; NetworkInterface({ @@ -3104,11 +2925,15 @@ /// Agent info. AgentInfo? agentInfo; + /// Agent timing info. + AgentTimingInfo? agentTimingInfo; + /// Agent metadata. AgentMetadata? metadata; ReportAgentStateRequest({ this.agentInfo, + this.agentTimingInfo, this.metadata, }); @@ -3118,6 +2943,10 @@ ? AgentInfo.fromJson( json_['agentInfo'] as core.Map<core.String, core.dynamic>) : null, + agentTimingInfo: json_.containsKey('agentTimingInfo') + ? AgentTimingInfo.fromJson(json_['agentTimingInfo'] + as core.Map<core.String, core.dynamic>) + : null, metadata: json_.containsKey('metadata') ? AgentMetadata.fromJson( json_['metadata'] as core.Map<core.String, core.dynamic>) @@ -3126,21 +2955,36 @@ core.Map<core.String, core.dynamic> toJson() => { if (agentInfo != null) 'agentInfo': agentInfo!, + if (agentTimingInfo != null) 'agentTimingInfo': agentTimingInfo!, if (metadata != null) 'metadata': metadata!, }; } /// Response to ReportAgentStateRequest. class ReportAgentStateResponse { + /// Default report interval override + core.String? defaultReportInterval; + + /// Minimum report interval override + core.String? minReportInterval; + /// Tasks assigned to the agent core.List<AgentTask>? tasks; ReportAgentStateResponse({ + this.defaultReportInterval, + this.minReportInterval, this.tasks, }); ReportAgentStateResponse.fromJson(core.Map json_) : this( + defaultReportInterval: json_.containsKey('defaultReportInterval') + ? json_['defaultReportInterval'] as core.String + : null, + minReportInterval: json_.containsKey('minReportInterval') + ? json_['minReportInterval'] as core.String + : null, tasks: json_.containsKey('tasks') ? (json_['tasks'] as core.List) .map((value) => AgentTask.fromJson( @@ -3150,6 +2994,9 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (defaultReportInterval != null) + 'defaultReportInterval': defaultReportInterval!, + if (minReportInterval != null) 'minReportInterval': minReportInterval!, if (tasks != null) 'tasks': tasks!, }; } @@ -3599,9 +3446,7 @@ /// Environment variables to set before running the Task. Environment? environment; - /// Environment variables to set before running the Task. - /// - /// You can set up to 100 environments. + /// Deprecated: please use environment(non-plural) instead. core.Map<core.String, core.String>? environments; /// Lifecycle management schema when any task in a task group is failed.
diff --git a/generated/googleapis/lib/bigquery/v2.dart b/generated/googleapis/lib/bigquery/v2.dart index 0e9485f..ef6da75 100644 --- a/generated/googleapis/lib/bigquery/v2.dart +++ b/generated/googleapis/lib/bigquery/v2.dart
@@ -8944,7 +8944,7 @@ /// /// Unless read_mask is set in the request, only the following fields are /// populated: etag, project_id, dataset_id, routine_id, routine_type, - /// creation_time, last_modified_time, and language. + /// creation_time, last_modified_time, language, and remote_function_options. core.List<Routine>? routines; ListRoutinesResponse({ @@ -9004,6 +9004,13 @@ } class MaterializedViewDefinition { + /// Allow non incremental materialized view definition. + /// + /// The default value is "false". + /// + /// Optional. + core.bool? allowNonIncrementalDefinition; + /// \[TrustedTester\] Enable automatic refresh of the materialized view when /// the base table is updated. /// @@ -9043,6 +9050,7 @@ core.String? refreshIntervalMs; MaterializedViewDefinition({ + this.allowNonIncrementalDefinition, this.enableRefresh, this.lastRefreshTime, this.maxStaleness, @@ -9052,6 +9060,10 @@ MaterializedViewDefinition.fromJson(core.Map json_) : this( + allowNonIncrementalDefinition: + json_.containsKey('allow_non_incremental_definition') + ? json_['allow_non_incremental_definition'] as core.bool + : null, enableRefresh: json_.containsKey('enableRefresh') ? json_['enableRefresh'] as core.bool : null, @@ -9069,6 +9081,8 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (allowNonIncrementalDefinition != null) + 'allow_non_incremental_definition': allowNonIncrementalDefinition!, if (enableRefresh != null) 'enableRefresh': enableRefresh!, if (lastRefreshTime != null) 'lastRefreshTime': lastRefreshTime!, if (maxStaleness != null) 'maxStaleness': maxStaleness!, @@ -10769,7 +10783,8 @@ /// Optional. core.List<core.String>? importedLibraries; - /// Defaults to "SQL". + /// Defaults to "SQL" if remote_function_options field is absent, not set + /// otherwise. /// /// Optional. /// Possible string values are: @@ -10795,7 +10810,7 @@ /// If absent, the return table type is inferred from definition_body at query /// time in each query that references this routine. If present, then the /// columns in the evaluated table result will be cast to match the column - /// types specificed in return table type, at query time. + /// types specified in return table type, at query time. /// /// Optional. StandardSqlTableType? returnTableType; @@ -11455,10 +11470,11 @@ /// [Apache Spark](https://spark.apache.org/docs/latest/index.html). core.List<core.String>? jarUris; - /// The main file URI of the Spark application. + /// The main file/jar URI of the Spark application. /// /// Exactly one of the definition_body field and the main_file_uri field must - /// be set. + /// be set for Python. Exactly one of main_class and main_file_uri field + /// should be set for Java/Scala language type. core.String? mainFileUri; /// Configuration properties as a set of key/value pairs, which will be passed
diff --git a/generated/googleapis/lib/bigtableadmin/v2.dart b/generated/googleapis/lib/bigtableadmin/v2.dart index f7c270f..ea376fb 100644 --- a/generated/googleapis/lib/bigtableadmin/v2.dart +++ b/generated/googleapis/lib/bigtableadmin/v2.dart
@@ -3977,7 +3977,7 @@ /// /// All tables in an instance are served from all Clusters in the instance. class Instance { - /// A server-assigned timestamp representing when this Instance was created. + /// A commit timestamp representing when this Instance was created. /// /// For instances created before this field was added (August 2021), this /// value is `seconds: 0, nanos: 1`. @@ -4935,8 +4935,8 @@ /// Set to true to make the table protected against data loss. /// - /// i.e. deleting the following resources through Admin APIs are prohibited: - - /// The table. - The column families in the table. - The instance containing + /// i.e. deleting the following resources through Admin APIs are prohibited: * + /// The table. * The column families in the table. * The instance containing /// the table. Note one can still delete the data stored in the table through /// Data APIs. core.bool? deletionProtection;
diff --git a/generated/googleapis/lib/blogger/v3.dart b/generated/googleapis/lib/blogger/v3.dart index 835a465..0b979f0 100644 --- a/generated/googleapis/lib/blogger/v3.dart +++ b/generated/googleapis/lib/blogger/v3.dart
@@ -712,6 +712,8 @@ /// /// [pageId] - null /// + /// [useTrash] - Move to Trash if possible + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -723,9 +725,11 @@ async.Future<void> delete( core.String blogId, core.String pageId, { + core.bool? useTrash, core.String? $fields, }) async { final queryParams_ = <core.String, core.List<core.String>>{ + if (useTrash != null) 'useTrash': ['${useTrash}'], if ($fields != null) 'fields': [$fields], }; @@ -1238,6 +1242,8 @@ /// /// [postId] - null /// + /// [useTrash] - Move to Trash if possible + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -1249,9 +1255,11 @@ async.Future<void> delete( core.String blogId, core.String postId, { + core.bool? useTrash, core.String? $fields, }) async { final queryParams_ = <core.String, core.List<core.String>>{ + if (useTrash != null) 'useTrash': ['${useTrash}'], if ($fields != null) 'fields': [$fields], }; @@ -1456,6 +1464,12 @@ /// /// [pageToken] - null /// + /// [sortOption] - Sort direction applied to post list. + /// Possible string values are: + /// - "SORT_OPTION_UNSPECIFIED" : The unspecified sort option. + /// - "DESCENDING" : The option to sort posts in descending order in time. + /// - "ASCENDING" : The option to sort posts in ascending order in time. + /// /// [startDate] - null /// /// [status] - null @@ -1486,6 +1500,7 @@ core.int? maxResults, core.String? orderBy, core.String? pageToken, + core.String? sortOption, core.String? startDate, core.List<core.String>? status, core.String? view, @@ -1499,6 +1514,7 @@ if (maxResults != null) 'maxResults': ['${maxResults}'], if (orderBy != null) 'orderBy': [orderBy], if (pageToken != null) 'pageToken': [pageToken], + if (sortOption != null) 'sortOption': [sortOption], if (startDate != null) 'startDate': [startDate], if (status != null) 'status': status, if (view != null) 'view': [view],
diff --git a/generated/googleapis/lib/chat/v1.dart b/generated/googleapis/lib/chat/v1.dart index 3a6835f..757a4ae 100644 --- a/generated/googleapis/lib/chat/v1.dart +++ b/generated/googleapis/lib/chat/v1.dart
@@ -21,11 +21,7 @@ /// /// Create an instance of [HangoutsChatApi] to access these resources: /// -/// - [DmsResource] -/// - [DmsConversationsResource] /// - [MediaResource] -/// - [RoomsResource] -/// - [RoomsConversationsResource] /// - [SpacesResource] /// - [SpacesMembersResource] /// - [SpacesMessagesResource] @@ -62,6 +58,10 @@ static const chatMembershipsScope = 'https://www.googleapis.com/auth/chat.memberships'; + /// View members in Google Chat conversations. + static const chatMembershipsReadonlyScope = + 'https://www.googleapis.com/auth/chat.memberships.readonly'; + /// View, compose, send, update, and delete messages, and add, view, and /// delete reactions to messages. static const chatMessagesScope = @@ -71,15 +71,21 @@ static const chatMessagesCreateScope = 'https://www.googleapis.com/auth/chat.messages.create'; - /// view messages and reactions in Google Chat + /// View messages and reactions in Google Chat static const chatMessagesReadonlyScope = 'https://www.googleapis.com/auth/chat.messages.readonly'; + /// Create conversations and spaces and view or update metadata (including + /// history settings) in Google Chat + static const chatSpacesScope = 'https://www.googleapis.com/auth/chat.spaces'; + + /// View chat and spaces in Google Chat + static const chatSpacesReadonlyScope = + 'https://www.googleapis.com/auth/chat.spaces.readonly'; + final commons.ApiRequester _requester; - DmsResource get dms => DmsResource(_requester); MediaResource get media => MediaResource(_requester); - RoomsResource get rooms => RoomsResource(_requester); SpacesResource get spaces => SpacesResource(_requester); HangoutsChatApi(http.Client client, @@ -89,261 +95,6 @@ commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); } -class DmsResource { - final commons.ApiRequester _requester; - - DmsConversationsResource get conversations => - DmsConversationsResource(_requester); - - DmsResource(commons.ApiRequester client) : _requester = client; - - /// Legacy path for creating message. - /// - /// Calling these will result in a BadRequest response. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [parent] - Required. The resource name of the space in which to create a - /// message. Format: spaces/{space} - /// Value must have pattern `^dms/\[^/\]+$`. - /// - /// [messageId] - Optional. A custom name for a Chat message assigned at - /// creation. Must start with `client-` and contain only lowercase letters, - /// numbers, and hyphens up to 63 characters in length. Specify this field to - /// get, update, or delete the message with the specified value. For example - /// usage, see - /// [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message). - /// - /// [messageReplyOption] - Optional. Specifies whether a message starts a - /// thread or replies to one. Only supported in named spaces. - /// Possible string values are: - /// - "MESSAGE_REPLY_OPTION_UNSPECIFIED" : Default. Starts a thread. - /// - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD" : Creates the message as a reply - /// to the thread specified by thread ID or thread_key. If it fails, the - /// message starts a new thread instead. - /// - "REPLY_MESSAGE_OR_FAIL" : Creates the message as a reply to the thread - /// specified by thread ID or thread_key. If it fails, a NOT_FOUND error is - /// returned instead. - /// - /// [requestId] - Optional. A unique request ID for this message. Specifying - /// an existing request ID returns the message created with that ID instead of - /// creating a new message. - /// - /// [threadKey] - Optional. Deprecated: Use thread.thread_key instead. Opaque - /// thread identifier. To start or add to a thread, create a message and - /// specify a `threadKey` or the thread.name. For example usage, see \[Start - /// or reply to a message - /// thread\](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread). - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Message]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Message> messages( - Message request, - core.String parent, { - core.String? messageId, - core.String? messageReplyOption, - core.String? requestId, - core.String? threadKey, - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if (messageId != null) 'messageId': [messageId], - if (messageReplyOption != null) - 'messageReplyOption': [messageReplyOption], - if (requestId != null) 'requestId': [requestId], - if (threadKey != null) 'threadKey': [threadKey], - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/messages'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return Message.fromJson(response_ as core.Map<core.String, core.dynamic>); - } - - /// Legacy path for creating message. - /// - /// Calling these will result in a BadRequest response. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [parent] - Required. The resource name of the space in which to create a - /// message. Format: spaces/{space} - /// Value must have pattern `^dms/\[^/\]+$`. - /// - /// [messageId] - Optional. A custom name for a Chat message assigned at - /// creation. Must start with `client-` and contain only lowercase letters, - /// numbers, and hyphens up to 63 characters in length. Specify this field to - /// get, update, or delete the message with the specified value. For example - /// usage, see - /// [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message). - /// - /// [messageReplyOption] - Optional. Specifies whether a message starts a - /// thread or replies to one. Only supported in named spaces. - /// Possible string values are: - /// - "MESSAGE_REPLY_OPTION_UNSPECIFIED" : Default. Starts a thread. - /// - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD" : Creates the message as a reply - /// to the thread specified by thread ID or thread_key. If it fails, the - /// message starts a new thread instead. - /// - "REPLY_MESSAGE_OR_FAIL" : Creates the message as a reply to the thread - /// specified by thread ID or thread_key. If it fails, a NOT_FOUND error is - /// returned instead. - /// - /// [requestId] - Optional. A unique request ID for this message. Specifying - /// an existing request ID returns the message created with that ID instead of - /// creating a new message. - /// - /// [threadKey] - Optional. Deprecated: Use thread.thread_key instead. Opaque - /// thread identifier. To start or add to a thread, create a message and - /// specify a `threadKey` or the thread.name. For example usage, see \[Start - /// or reply to a message - /// thread\](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread). - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Message]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Message> webhooks( - Message request, - core.String parent, { - core.String? messageId, - core.String? messageReplyOption, - core.String? requestId, - core.String? threadKey, - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if (messageId != null) 'messageId': [messageId], - if (messageReplyOption != null) - 'messageReplyOption': [messageReplyOption], - if (requestId != null) 'requestId': [requestId], - if (threadKey != null) 'threadKey': [threadKey], - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/webhooks'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return Message.fromJson(response_ as core.Map<core.String, core.dynamic>); - } -} - -class DmsConversationsResource { - final commons.ApiRequester _requester; - - DmsConversationsResource(commons.ApiRequester client) : _requester = client; - - /// Legacy path for creating message. - /// - /// Calling these will result in a BadRequest response. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [parent] - Required. The resource name of the space in which to create a - /// message. Format: spaces/{space} - /// Value must have pattern `^dms/\[^/\]+/conversations/\[^/\]+$`. - /// - /// [messageId] - Optional. A custom name for a Chat message assigned at - /// creation. Must start with `client-` and contain only lowercase letters, - /// numbers, and hyphens up to 63 characters in length. Specify this field to - /// get, update, or delete the message with the specified value. For example - /// usage, see - /// [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message). - /// - /// [messageReplyOption] - Optional. Specifies whether a message starts a - /// thread or replies to one. Only supported in named spaces. - /// Possible string values are: - /// - "MESSAGE_REPLY_OPTION_UNSPECIFIED" : Default. Starts a thread. - /// - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD" : Creates the message as a reply - /// to the thread specified by thread ID or thread_key. If it fails, the - /// message starts a new thread instead. - /// - "REPLY_MESSAGE_OR_FAIL" : Creates the message as a reply to the thread - /// specified by thread ID or thread_key. If it fails, a NOT_FOUND error is - /// returned instead. - /// - /// [requestId] - Optional. A unique request ID for this message. Specifying - /// an existing request ID returns the message created with that ID instead of - /// creating a new message. - /// - /// [threadKey] - Optional. Deprecated: Use thread.thread_key instead. Opaque - /// thread identifier. To start or add to a thread, create a message and - /// specify a `threadKey` or the thread.name. For example usage, see \[Start - /// or reply to a message - /// thread\](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread). - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Message]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Message> messages( - Message request, - core.String parent, { - core.String? messageId, - core.String? messageReplyOption, - core.String? requestId, - core.String? threadKey, - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if (messageId != null) 'messageId': [messageId], - if (messageReplyOption != null) - 'messageReplyOption': [messageReplyOption], - if (requestId != null) 'requestId': [requestId], - if (threadKey != null) 'threadKey': [threadKey], - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/messages'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return Message.fromJson(response_ as core.Map<core.String, core.dynamic>); - } -} - class MediaResource { final commons.ApiRequester _requester; @@ -402,261 +153,6 @@ } } -class RoomsResource { - final commons.ApiRequester _requester; - - RoomsConversationsResource get conversations => - RoomsConversationsResource(_requester); - - RoomsResource(commons.ApiRequester client) : _requester = client; - - /// Legacy path for creating message. - /// - /// Calling these will result in a BadRequest response. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [parent] - Required. The resource name of the space in which to create a - /// message. Format: spaces/{space} - /// Value must have pattern `^rooms/\[^/\]+$`. - /// - /// [messageId] - Optional. A custom name for a Chat message assigned at - /// creation. Must start with `client-` and contain only lowercase letters, - /// numbers, and hyphens up to 63 characters in length. Specify this field to - /// get, update, or delete the message with the specified value. For example - /// usage, see - /// [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message). - /// - /// [messageReplyOption] - Optional. Specifies whether a message starts a - /// thread or replies to one. Only supported in named spaces. - /// Possible string values are: - /// - "MESSAGE_REPLY_OPTION_UNSPECIFIED" : Default. Starts a thread. - /// - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD" : Creates the message as a reply - /// to the thread specified by thread ID or thread_key. If it fails, the - /// message starts a new thread instead. - /// - "REPLY_MESSAGE_OR_FAIL" : Creates the message as a reply to the thread - /// specified by thread ID or thread_key. If it fails, a NOT_FOUND error is - /// returned instead. - /// - /// [requestId] - Optional. A unique request ID for this message. Specifying - /// an existing request ID returns the message created with that ID instead of - /// creating a new message. - /// - /// [threadKey] - Optional. Deprecated: Use thread.thread_key instead. Opaque - /// thread identifier. To start or add to a thread, create a message and - /// specify a `threadKey` or the thread.name. For example usage, see \[Start - /// or reply to a message - /// thread\](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread). - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Message]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Message> messages( - Message request, - core.String parent, { - core.String? messageId, - core.String? messageReplyOption, - core.String? requestId, - core.String? threadKey, - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if (messageId != null) 'messageId': [messageId], - if (messageReplyOption != null) - 'messageReplyOption': [messageReplyOption], - if (requestId != null) 'requestId': [requestId], - if (threadKey != null) 'threadKey': [threadKey], - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/messages'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return Message.fromJson(response_ as core.Map<core.String, core.dynamic>); - } - - /// Legacy path for creating message. - /// - /// Calling these will result in a BadRequest response. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [parent] - Required. The resource name of the space in which to create a - /// message. Format: spaces/{space} - /// Value must have pattern `^rooms/\[^/\]+$`. - /// - /// [messageId] - Optional. A custom name for a Chat message assigned at - /// creation. Must start with `client-` and contain only lowercase letters, - /// numbers, and hyphens up to 63 characters in length. Specify this field to - /// get, update, or delete the message with the specified value. For example - /// usage, see - /// [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message). - /// - /// [messageReplyOption] - Optional. Specifies whether a message starts a - /// thread or replies to one. Only supported in named spaces. - /// Possible string values are: - /// - "MESSAGE_REPLY_OPTION_UNSPECIFIED" : Default. Starts a thread. - /// - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD" : Creates the message as a reply - /// to the thread specified by thread ID or thread_key. If it fails, the - /// message starts a new thread instead. - /// - "REPLY_MESSAGE_OR_FAIL" : Creates the message as a reply to the thread - /// specified by thread ID or thread_key. If it fails, a NOT_FOUND error is - /// returned instead. - /// - /// [requestId] - Optional. A unique request ID for this message. Specifying - /// an existing request ID returns the message created with that ID instead of - /// creating a new message. - /// - /// [threadKey] - Optional. Deprecated: Use thread.thread_key instead. Opaque - /// thread identifier. To start or add to a thread, create a message and - /// specify a `threadKey` or the thread.name. For example usage, see \[Start - /// or reply to a message - /// thread\](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread). - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Message]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Message> webhooks( - Message request, - core.String parent, { - core.String? messageId, - core.String? messageReplyOption, - core.String? requestId, - core.String? threadKey, - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if (messageId != null) 'messageId': [messageId], - if (messageReplyOption != null) - 'messageReplyOption': [messageReplyOption], - if (requestId != null) 'requestId': [requestId], - if (threadKey != null) 'threadKey': [threadKey], - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/webhooks'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return Message.fromJson(response_ as core.Map<core.String, core.dynamic>); - } -} - -class RoomsConversationsResource { - final commons.ApiRequester _requester; - - RoomsConversationsResource(commons.ApiRequester client) : _requester = client; - - /// Legacy path for creating message. - /// - /// Calling these will result in a BadRequest response. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [parent] - Required. The resource name of the space in which to create a - /// message. Format: spaces/{space} - /// Value must have pattern `^rooms/\[^/\]+/conversations/\[^/\]+$`. - /// - /// [messageId] - Optional. A custom name for a Chat message assigned at - /// creation. Must start with `client-` and contain only lowercase letters, - /// numbers, and hyphens up to 63 characters in length. Specify this field to - /// get, update, or delete the message with the specified value. For example - /// usage, see - /// [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message). - /// - /// [messageReplyOption] - Optional. Specifies whether a message starts a - /// thread or replies to one. Only supported in named spaces. - /// Possible string values are: - /// - "MESSAGE_REPLY_OPTION_UNSPECIFIED" : Default. Starts a thread. - /// - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD" : Creates the message as a reply - /// to the thread specified by thread ID or thread_key. If it fails, the - /// message starts a new thread instead. - /// - "REPLY_MESSAGE_OR_FAIL" : Creates the message as a reply to the thread - /// specified by thread ID or thread_key. If it fails, a NOT_FOUND error is - /// returned instead. - /// - /// [requestId] - Optional. A unique request ID for this message. Specifying - /// an existing request ID returns the message created with that ID instead of - /// creating a new message. - /// - /// [threadKey] - Optional. Deprecated: Use thread.thread_key instead. Opaque - /// thread identifier. To start or add to a thread, create a message and - /// specify a `threadKey` or the thread.name. For example usage, see \[Start - /// or reply to a message - /// thread\](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread). - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Message]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Message> messages( - Message request, - core.String parent, { - core.String? messageId, - core.String? messageReplyOption, - core.String? requestId, - core.String? threadKey, - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if (messageId != null) 'messageId': [messageId], - if (messageReplyOption != null) - 'messageReplyOption': [messageReplyOption], - if (requestId != null) 'requestId': [requestId], - if (threadKey != null) 'threadKey': [threadKey], - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/messages'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return Message.fromJson(response_ as core.Map<core.String, core.dynamic>); - } -} - class SpacesResource { final commons.ApiRequester _requester; @@ -772,86 +268,6 @@ return ListSpacesResponse.fromJson( response_ as core.Map<core.String, core.dynamic>); } - - /// Legacy path for creating message. - /// - /// Calling these will result in a BadRequest response. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [parent] - Required. The resource name of the space in which to create a - /// message. Format: spaces/{space} - /// Value must have pattern `^spaces/\[^/\]+$`. - /// - /// [messageId] - Optional. A custom name for a Chat message assigned at - /// creation. Must start with `client-` and contain only lowercase letters, - /// numbers, and hyphens up to 63 characters in length. Specify this field to - /// get, update, or delete the message with the specified value. For example - /// usage, see - /// [Name a created message](https://developers.google.com/chat/api/guides/crudl/messages#name_a_created_message). - /// - /// [messageReplyOption] - Optional. Specifies whether a message starts a - /// thread or replies to one. Only supported in named spaces. - /// Possible string values are: - /// - "MESSAGE_REPLY_OPTION_UNSPECIFIED" : Default. Starts a thread. - /// - "REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD" : Creates the message as a reply - /// to the thread specified by thread ID or thread_key. If it fails, the - /// message starts a new thread instead. - /// - "REPLY_MESSAGE_OR_FAIL" : Creates the message as a reply to the thread - /// specified by thread ID or thread_key. If it fails, a NOT_FOUND error is - /// returned instead. - /// - /// [requestId] - Optional. A unique request ID for this message. Specifying - /// an existing request ID returns the message created with that ID instead of - /// creating a new message. - /// - /// [threadKey] - Optional. Deprecated: Use thread.thread_key instead. Opaque - /// thread identifier. To start or add to a thread, create a message and - /// specify a `threadKey` or the thread.name. For example usage, see \[Start - /// or reply to a message - /// thread\](/chat/api/guides/crudl/messages#start_or_reply_to_a_message_thread). - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Message]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Message> webhooks( - Message request, - core.String parent, { - core.String? messageId, - core.String? messageReplyOption, - core.String? requestId, - core.String? threadKey, - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if (messageId != null) 'messageId': [messageId], - if (messageReplyOption != null) - 'messageReplyOption': [messageReplyOption], - if (requestId != null) 'requestId': [requestId], - if (threadKey != null) 'threadKey': [threadKey], - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/webhooks'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return Message.fromJson(response_ as core.Map<core.String, core.dynamic>); - } } class SpacesMembersResource { @@ -1000,7 +416,10 @@ /// which grants early access to certain features. /// [User authentication](https://developers.google.com/chat/api/guides/auth/users) /// requires the `chat.messages` or `chat.messages.create` authorization - /// scope. + /// scope. Because Chat provides authentication for + /// [webhooks](https://developers.google.com/chat/how-tos/webhooks) as part of + /// the URL that's generated when a webhook is registered, webhooks can create + /// messages without a service account or user authentication. /// /// [request] - The metadata request object. /// @@ -1707,7 +1126,6 @@ }; } -/// [Developer Preview](https://developers.google.com/workspace/preview). class AttachmentDataRef { /// The resource name of the attachment data. /// @@ -4803,7 +4221,9 @@ class Space { /// The space's display name. /// - /// For direct messages between humans, this field might be empty. + /// Required when + /// [creating a space](https://developers.google.com/chat/api/reference/rest/v1/spaces/create). + /// For direct messages, this field may be empty. core.String? displayName; /// Resource name of the space.
diff --git a/generated/googleapis/lib/chromemanagement/v1.dart b/generated/googleapis/lib/chromemanagement/v1.dart index 56bf4aa..929285b 100644 --- a/generated/googleapis/lib/chromemanagement/v1.dart +++ b/generated/googleapis/lib/chromemanagement/v1.dart
@@ -1727,6 +1727,15 @@ /// Output only. core.bool? supportEnabled; + /// Types of an item in the Chrome Web Store + /// + /// Output only. + /// Possible string values are: + /// - "ITEM_TYPE_UNSPECIFIED" : Unspecified ItemType. + /// - "EXTENSION" : Chrome Extensions. + /// - "OTHERS" : Any other type than extension. + core.String? type; + GoogleChromeManagementV1ChromeAppInfo({ this.googleOwned, this.isCwsHosted, @@ -1738,6 +1747,7 @@ this.permissions, this.siteAccess, this.supportEnabled, + this.type, }); GoogleChromeManagementV1ChromeAppInfo.fromJson(core.Map json_) @@ -1781,6 +1791,7 @@ supportEnabled: json_.containsKey('supportEnabled') ? json_['supportEnabled'] as core.bool : null, + type: json_.containsKey('type') ? json_['type'] as core.String : null, ); core.Map<core.String, core.dynamic> toJson() => { @@ -1795,6 +1806,7 @@ if (permissions != null) 'permissions': permissions!, if (siteAccess != null) 'siteAccess': siteAccess!, if (supportEnabled != null) 'supportEnabled': supportEnabled!, + if (type != null) 'type': type!, }; } @@ -4275,17 +4287,17 @@ /// Output only. core.String? name; - /// Payload for network connection state change event. - /// - /// Present only when `event_type` is `NETWORK_CONNECTION_STATE_CHANGE`. - /// - /// Output only. - GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent? - networkConnectionStateChangeEvent; - /// Timestamp that represents when the event was reported. core.String? reportTime; + /// Payload for usb peripherals event. + /// + /// Present only when the `event_type` field is either `USB_ADDED` or + /// `USB_REMOVED`. + /// + /// Output only. + GoogleChromeManagementV1TelemetryUsbPeripheralsEvent? usbPeripheralsEvent; + /// Information about the user associated with the event. /// /// Output only. @@ -4297,8 +4309,8 @@ this.eventType, this.httpsLatencyChangeEvent, this.name, - this.networkConnectionStateChangeEvent, this.reportTime, + this.usbPeripheralsEvent, this.user, }); @@ -4323,15 +4335,14 @@ as core.Map<core.String, core.dynamic>) : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, - networkConnectionStateChangeEvent: json_ - .containsKey('networkConnectionStateChangeEvent') - ? GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent - .fromJson(json_['networkConnectionStateChangeEvent'] - as core.Map<core.String, core.dynamic>) - : null, reportTime: json_.containsKey('reportTime') ? json_['reportTime'] as core.String : null, + usbPeripheralsEvent: json_.containsKey('usbPeripheralsEvent') + ? GoogleChromeManagementV1TelemetryUsbPeripheralsEvent.fromJson( + json_['usbPeripheralsEvent'] + as core.Map<core.String, core.dynamic>) + : null, user: json_.containsKey('user') ? GoogleChromeManagementV1TelemetryUserInfo.fromJson( json_['user'] as core.Map<core.String, core.dynamic>) @@ -4346,10 +4357,9 @@ if (httpsLatencyChangeEvent != null) 'httpsLatencyChangeEvent': httpsLatencyChangeEvent!, if (name != null) 'name': name!, - if (networkConnectionStateChangeEvent != null) - 'networkConnectionStateChangeEvent': - networkConnectionStateChangeEvent!, if (reportTime != null) 'reportTime': reportTime!, + if (usbPeripheralsEvent != null) + 'usbPeripheralsEvent': usbPeripheralsEvent!, if (user != null) 'user': user!, }; } @@ -4393,43 +4403,30 @@ }; } -/// `TelemetryNetworkConnectionStateChangeEvent` is triggered on network -/// connection state changes. -class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent { - /// Current connection state of the network. - /// Possible string values are: - /// - "NETWORK_CONNECTION_STATE_UNSPECIFIED" : Network connection state - /// unspecified. - /// - "ONLINE" : The network is connected and internet connectivity is - /// available. - /// - "CONNECTED" : The network is connected and not in a detected portal - /// state, but internet connectivity may not be available. - /// - "PORTAL" : The network is connected but a portal state was detected. - /// Internet connectivity may be limited. - /// - "CONNECTING" : The network is in the process of connecting. - /// - "NOT_CONNECTED" : The network is not connected. - core.String? connectionState; +/// `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or +/// removed. +class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent { + /// List of usb devices that were either added or removed. + core.List<GoogleChromeManagementV1UsbPeripheralReport>? usbPeripheralReport; - /// Unique identifier of the network. - core.String? guid; - - GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent({ - this.connectionState, - this.guid, + GoogleChromeManagementV1TelemetryUsbPeripheralsEvent({ + this.usbPeripheralReport, }); - GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent.fromJson( - core.Map json_) + GoogleChromeManagementV1TelemetryUsbPeripheralsEvent.fromJson(core.Map json_) : this( - connectionState: json_.containsKey('connectionState') - ? json_['connectionState'] as core.String + usbPeripheralReport: json_.containsKey('usbPeripheralReport') + ? (json_['usbPeripheralReport'] as core.List) + .map((value) => + GoogleChromeManagementV1UsbPeripheralReport.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() : null, - guid: json_.containsKey('guid') ? json_['guid'] as core.String : null, ); core.Map<core.String, core.dynamic> toJson() => { - if (connectionState != null) 'connectionState': connectionState!, - if (guid != null) 'guid': guid!, + if (usbPeripheralReport != null) + 'usbPeripheralReport': usbPeripheralReport!, }; } @@ -4587,6 +4584,95 @@ }; } +/// USB connected peripheral report. +class GoogleChromeManagementV1UsbPeripheralReport { + /// Categories the device belongs to https://www.usb.org/defined-class-codes + /// + /// Output only. + core.List<core.String>? categories; + + /// Class ID https://www.usb.org/defined-class-codes + /// + /// Output only. + core.int? classId; + + /// Firmware version + /// + /// Output only. + core.String? firmwareVersion; + + /// Device name, model name, or product name + /// + /// Output only. + core.String? name; + + /// Product ID + /// + /// Output only. + core.int? pid; + + /// Subclass ID https://www.usb.org/defined-class-codes + /// + /// Output only. + core.int? subclassId; + + /// Vendor name + /// + /// Output only. + core.String? vendor; + + /// Vendor ID + /// + /// Output only. + core.int? vid; + + GoogleChromeManagementV1UsbPeripheralReport({ + this.categories, + this.classId, + this.firmwareVersion, + this.name, + this.pid, + this.subclassId, + this.vendor, + this.vid, + }); + + GoogleChromeManagementV1UsbPeripheralReport.fromJson(core.Map json_) + : this( + categories: json_.containsKey('categories') + ? (json_['categories'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + classId: json_.containsKey('classId') + ? json_['classId'] as core.int + : null, + firmwareVersion: json_.containsKey('firmwareVersion') + ? json_['firmwareVersion'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + pid: json_.containsKey('pid') ? json_['pid'] as core.int : null, + subclassId: json_.containsKey('subclassId') + ? json_['subclassId'] as core.int + : null, + vendor: json_.containsKey('vendor') + ? json_['vendor'] as core.String + : null, + vid: json_.containsKey('vid') ? json_['vid'] as core.int : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (categories != null) 'categories': categories!, + if (classId != null) 'classId': classId!, + if (firmwareVersion != null) 'firmwareVersion': firmwareVersion!, + if (name != null) 'name': name!, + if (pid != null) 'pid': pid!, + if (subclassId != null) 'subclassId': subclassId!, + if (vendor != null) 'vendor': vendor!, + if (vid != null) 'vid': vid!, + }; +} + /// The `Status` type defines a logical error model that is suitable for /// different programming environments, including REST APIs and RPC APIs. ///
diff --git a/generated/googleapis/lib/chromepolicy/v1.dart b/generated/googleapis/lib/chromepolicy/v1.dart index 1872597..92c7c61 100644 --- a/generated/googleapis/lib/chromepolicy/v1.dart +++ b/generated/googleapis/lib/chromepolicy/v1.dart
@@ -1253,6 +1253,30 @@ }; } +/// Information about any range constraints. +class GoogleChromePolicyVersionsV1FieldConstraints { + /// The allowed range for numeric fields. + GoogleChromePolicyVersionsV1NumericRangeConstraint? numericRangeConstraint; + + GoogleChromePolicyVersionsV1FieldConstraints({ + this.numericRangeConstraint, + }); + + GoogleChromePolicyVersionsV1FieldConstraints.fromJson(core.Map json_) + : this( + numericRangeConstraint: json_.containsKey('numericRangeConstraint') + ? GoogleChromePolicyVersionsV1NumericRangeConstraint.fromJson( + json_['numericRangeConstraint'] + as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (numericRangeConstraint != null) + 'numericRangeConstraint': numericRangeConstraint!, + }; +} + /// Request parameters for inheriting policy value of a specific org unit target /// from the policy value of its parent org unit. class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest { @@ -1545,6 +1569,35 @@ }; } +/// A constraint on upper and/or lower bounds, with at least one being set. +class GoogleChromePolicyVersionsV1NumericRangeConstraint { + /// Maximum value. + core.String? maximum; + + /// Minimum value. + core.String? minimum; + + GoogleChromePolicyVersionsV1NumericRangeConstraint({ + this.maximum, + this.minimum, + }); + + GoogleChromePolicyVersionsV1NumericRangeConstraint.fromJson(core.Map json_) + : this( + maximum: json_.containsKey('maximum') + ? json_['maximum'] as core.String + : null, + minimum: json_.containsKey('minimum') + ? json_['minimum'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (maximum != null) 'maximum': maximum!, + if (minimum != null) 'minimum': minimum!, + }; +} + /// Resource representing a policy schema. class GoogleChromePolicyVersionsV1PolicySchema { /// Specific access restrictions related to this policy. @@ -1773,6 +1826,12 @@ /// Output only. core.String? field; + /// Information on any input constraints associated on the values for the + /// field. + /// + /// Output only. + GoogleChromePolicyVersionsV1FieldConstraints? fieldConstraints; + /// Provides a list of fields and values. /// /// At least one of the fields must have the corresponding value in order for @@ -1822,6 +1881,7 @@ this.defaultValue, this.description, this.field, + this.fieldConstraints, this.fieldDependencies, this.fieldDescription, this.inputConstraint, @@ -1841,6 +1901,11 @@ : null, field: json_.containsKey('field') ? json_['field'] as core.String : null, + fieldConstraints: json_.containsKey('fieldConstraints') + ? GoogleChromePolicyVersionsV1FieldConstraints.fromJson( + json_['fieldConstraints'] + as core.Map<core.String, core.dynamic>) + : null, fieldDependencies: json_.containsKey('fieldDependencies') ? (json_['fieldDependencies'] as core.List) .map((value) => @@ -1886,6 +1951,7 @@ if (defaultValue != null) 'defaultValue': defaultValue!, if (description != null) 'description': description!, if (field != null) 'field': field!, + if (fieldConstraints != null) 'fieldConstraints': fieldConstraints!, if (fieldDependencies != null) 'fieldDependencies': fieldDependencies!, if (fieldDescription != null) 'fieldDescription': fieldDescription!, if (inputConstraint != null) 'inputConstraint': inputConstraint!,
diff --git a/generated/googleapis/lib/civicinfo/v2.dart b/generated/googleapis/lib/civicinfo/v2.dart index 1a45145..8a7cea8 100644 --- a/generated/googleapis/lib/civicinfo/v2.dart +++ b/generated/googleapis/lib/civicinfo/v2.dart
@@ -1851,9 +1851,10 @@ /// - "typeTerminalPoint" : A terminal point represents a good location for a /// user to meet a taxi, ridesharing vehicle, or general driver. /// - "typeRegulatedArea" : An area controlled in some way by an authoritative - /// source, such as a government-designated COVID containment zone. Features - /// of this type should have one or more gcids corresponding to their specific - /// regulation. + /// source, such as a government-designated COVID containment zone or an area + /// under government sanctions. Features of this type should have one or more + /// gcids corresponding to their specific regulation, and client handling of + /// these features may vary based on the type of regulation. /// - "typeLogicalBorder" : A grouping of TYPE_BORDER features ("border /// segments"), which together represent a border between two features of the /// same type.
diff --git a/generated/googleapis/lib/classroom/v1.dart b/generated/googleapis/lib/classroom/v1.dart index a99596a..c081060 100644 --- a/generated/googleapis/lib/classroom/v1.dart +++ b/generated/googleapis/lib/classroom/v1.dart
@@ -378,7 +378,8 @@ /// access errors. * `NOT_FOUND` if no course exists with the requested ID. * /// `INVALID_ARGUMENT` if invalid fields are specified in the update mask or /// if no update mask is supplied. * `FAILED_PRECONDITION` for the following - /// request errors: * CourseNotModifiable * InactiveCourseOwner + /// request errors: * CourseNotModifiable * InactiveCourseOwner * + /// IneligibleOwner /// /// [request] - The metadata request object. /// @@ -2884,10 +2885,11 @@ /// re-create an invitation to make changes. This method returns the following /// error codes: * `PERMISSION_DENIED` if the requesting user is not permitted /// to create invitations for this course or for access errors. * `NOT_FOUND` - /// if the course or the user does not exist. * `FAILED_PRECONDITION` if the - /// requested user's account is disabled or if the user already has this role - /// or a role with greater permissions. * `ALREADY_EXISTS` if an invitation - /// for the specified user and course already exists. + /// if the course or the user does not exist. * `FAILED_PRECONDITION`: * if + /// the requested user's account is disabled. * if the user already has this + /// role or a role with greater permissions. * for the following request + /// errors: * IneligibleOwner * `ALREADY_EXISTS` if an invitation for the + /// specified user and course already exists. /// /// [request] - The metadata request object. ///
diff --git a/generated/googleapis/lib/cloudasset/v1.dart b/generated/googleapis/lib/cloudasset/v1.dart index f41c977..1562c61 100644 --- a/generated/googleapis/lib/cloudasset/v1.dart +++ b/generated/googleapis/lib/cloudasset/v1.dart
@@ -14,7 +14,8 @@ /// Cloud Asset API - v1 /// -/// The cloud asset API manages the history and inventory of cloud resources. +/// The Cloud Asset API manages the history and inventory of Google Cloud +/// resources. /// /// For more information, see /// <https://cloud.google.com/asset-inventory/docs/quickstart> @@ -43,7 +44,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; -/// The cloud asset API manages the history and inventory of cloud resources. +/// The Cloud Asset API manages the history and inventory of Google Cloud +/// resources. class CloudAssetApi { /// See, edit, configure, and delete your Google Cloud data and see the email /// address for your Google Account. @@ -105,9 +107,8 @@ /// - "CONTENT_TYPE_UNSPECIFIED" : Unspecified content type. /// - "RESOURCE" : Resource metadata. /// - "IAM_POLICY" : The actual IAM policy set on a resource. - /// - "ORG_POLICY" : The Cloud Organization Policy set on an asset. - /// - "ACCESS_POLICY" : The Cloud Access context manager Policy set on an - /// asset. + /// - "ORG_POLICY" : The organization policy set on an asset. + /// - "ACCESS_POLICY" : The Access Context Manager policy set on an asset. /// - "OS_INVENTORY" : The runtime OS Inventory information. /// - "RELATIONSHIP" : The related resources. /// @@ -514,7 +515,7 @@ /// [savedQueryId] - Required. The ID to use for the saved query, which must /// be unique in the specified parent. It will become the final component of /// the saved query's resource name. This value should be 4-63 characters, and - /// valid characters are /a-z-/. Notice that this field is required in the + /// valid characters are `a-z-`. Notice that this field is required in the /// saved query creation, and the `name` field of the `saved_query` will be /// ignored. /// @@ -785,20 +786,20 @@ /// true, the response will include access analysis from identities to /// resources via service account impersonation. This is a very expensive /// operation, because many derived queries will be executed. We highly - /// recommend you use AssetService.AnalyzeIamPolicyLongrunning rpc instead. + /// recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. /// For example, if the request analyzes for which resources user A has /// permission P, and there's an IAM policy states user A has /// iam.serviceAccounts.getAccessToken permission to a service account SA, and /// there's another IAM policy states service account SA has permission P to a - /// GCP folder F, then user A potentially has access to the GCP folder F. And - /// those advanced analysis results will be included in + /// Google Cloud folder F, then user A potentially has access to the Google + /// Cloud folder F. And those advanced analysis results will be included in /// AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another - /// example, if the request analyzes for who has permission P to a GCP folder - /// F, and there's an IAM policy states user A has iam.serviceAccounts.actAs - /// permission to a service account SA, and there's another IAM policy states - /// service account SA has permission P to the GCP folder F, then user A - /// potentially has access to the GCP folder F. And those advanced analysis - /// results will be included in + /// example, if the request analyzes for who has permission P to a Google + /// Cloud folder F, and there's an IAM policy states user A has + /// iam.serviceAccounts.actAs permission to a service account SA, and there's + /// another IAM policy states service account SA has permission P to the + /// Google Cloud folder F, then user A potentially has access to the Google + /// Cloud folder F. And those advanced analysis results will be included in /// AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the /// following permissions are considered in this analysis: * /// `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * @@ -818,17 +819,17 @@ /// section of the result will expand any resource attached to an IAM policy /// to include resources lower in the resource hierarchy. For example, if the /// request analyzes for which resources user A has permission P, and the - /// results include an IAM policy with P on a GCP folder, the results will - /// also include resources in that folder with permission P. If true and + /// results include an IAM policy with P on a Google Cloud folder, the results + /// will also include resources in that folder with permission P. If true and /// IamPolicyAnalysisQuery.resource_selector is specified, the resource /// section of the result will expand the specified resource to include /// resources lower in the resource hierarchy. Only project or lower resources - /// are supported. Folder and organization resource cannot be used together + /// are supported. Folder and organization resources cannot be used together /// with this option. For example, if the request analyzes for which users - /// have permission P on a GCP project with this option enabled, the results - /// will include all users who have permission P on that project or any lower - /// resource. If true, the default max expansion per resource is 1000 for - /// AssetService.AnalyzeIamPolicy\]\[\] and 100000 for + /// have permission P on a Google Cloud project with this option enabled, the + /// results will include all users who have permission P on that project or + /// any lower resource. If true, the default max expansion per resource is + /// 1000 for AssetService.AnalyzeIamPolicy\]\[\] and 100000 for /// AssetService.AnalyzeIamPolicyLongrunning\]\[\]. Default is false. /// /// [analysisQuery_options_expandRoles] - Optional. If true, the access @@ -1029,16 +1030,16 @@ /// Request parameters: /// /// [resource] - Required. Name of the resource to perform the analysis - /// against. Only GCP Project are supported as of today. Hence, this can only - /// be Project ID (such as "projects/my-project-id") or a Project Number (such - /// as "projects/12345"). + /// against. Only Google Cloud projects are supported as of today. Hence, this + /// can only be a project ID (such as "projects/my-project-id") or a project + /// number (such as "projects/12345"). /// Value must have pattern `^\[^/\]+/\[^/\]+$`. /// - /// [destinationParent] - Required. Name of the GCP Folder or Organization to - /// reparent the target resource. The analysis will be performed against - /// hypothetically moving the resource to this specified desitination parent. - /// This can only be a Folder number (such as "folders/123") or an - /// Organization number (such as "organizations/123"). + /// [destinationParent] - Required. Name of the Google Cloud folder or + /// organization to reparent the target resource. The analysis will be + /// performed against hypothetically moving the resource to this specified + /// desitination parent. This can only be a folder number (such as + /// "folders/123") or an organization number (such as "organizations/123"). /// /// [view] - Analysis view indicating what information should be included in /// the analysis response. If unspecified, the default view is FULL. @@ -1146,8 +1147,8 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Analyzes organization policies governed assets (GCP resources or policies) - /// under a scope. + /// Analyzes organization policies governed assets (Google Cloud resources or + /// policies) under a scope. /// /// This RPC supports custom constraints and the following 10 canned /// constraints: * storage.uniformBucketLevelAccess * @@ -1327,9 +1328,8 @@ /// - "CONTENT_TYPE_UNSPECIFIED" : Unspecified content type. /// - "RESOURCE" : Resource metadata. /// - "IAM_POLICY" : The actual IAM policy set on a resource. - /// - "ORG_POLICY" : The Cloud Organization Policy set on an asset. - /// - "ACCESS_POLICY" : The Cloud Access context manager Policy set on an - /// asset. + /// - "ORG_POLICY" : The organization policy set on an asset. + /// - "ACCESS_POLICY" : The Access Context Manager policy set on an asset. /// - "OS_INVENTORY" : The runtime OS Inventory information. /// - "RELATIONSHIP" : The related resources. /// @@ -1555,10 +1555,10 @@ /// [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query) /// for more information. If not specified or empty, it will search all the /// IAM policies within the specified `scope`. Note that the query string is - /// compared against each Cloud IAM policy binding, including its principals, - /// roles, and Cloud IAM conditions. The returned Cloud IAM policies will only - /// contain the bindings that match your query. To learn more about the IAM - /// policy structure, see the + /// compared against each IAM policy binding, including its principals, roles, + /// and IAM conditions. The returned IAM policies will only contain the + /// bindings that match your query. To learn more about the IAM policy + /// structure, see the /// [IAM policy documentation](https://cloud.google.com/iam/help/allow-policies/structure). /// Examples: * `policy:amy@gmail.com` to find IAM policy bindings that /// specify user "amy@gmail.com". * `policy:roles/compute.admin` to find IAM @@ -1625,7 +1625,7 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Searches all Cloud resources within the specified scope, such as a + /// Searches all Google Cloud resources within the specified scope, such as a /// project, folder, or organization. /// /// The caller must be granted the `cloudasset.assets.searchAllResources` @@ -1682,41 +1682,43 @@ /// [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query) /// for more information. If not specified or empty, it will search all the /// resources within the specified `scope`. Examples: * `name:Important` to - /// find Cloud resources whose name contains "Important" as a word. * - /// `name=Important` to find the Cloud resource whose name is exactly - /// "Important". * `displayName:Impor*` to find Cloud resources whose display - /// name contains "Impor" as a prefix of any word in the field. * - /// `location:us-west*` to find Cloud resources whose location contains both - /// "us" and "west" as prefixes. * `labels:prod` to find Cloud resources whose - /// labels contain "prod" as a key or value. * `labels.env:prod` to find Cloud - /// resources that have a label "env" and its value is "prod". * - /// `labels.env:*` to find Cloud resources that have a label "env". * - /// `kmsKey:key` to find Cloud resources encrypted with a customer-managed - /// encryption key whose name contains "key" as a word. This field is - /// deprecated. Please use the `kmsKeys` field to retrieve KMS key - /// information. * `kmsKeys:key` to find Cloud resources encrypted with - /// customer-managed encryption keys whose name contains the word "key". * - /// `relationships:instance-group-1` to find Cloud resources that have - /// relationships with "instance-group-1" in the related resource name. * - /// `relationships:INSTANCE_TO_INSTANCEGROUP` to find compute instances that - /// have relationships of type "INSTANCE_TO_INSTANCEGROUP". * - /// `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find compute - /// instances that have relationships with "instance-group-1" in the compute - /// instance group resource name, for relationship type - /// "INSTANCE_TO_INSTANCEGROUP". * `state:ACTIVE` to find Cloud resources - /// whose state contains "ACTIVE" as a word. * `NOT state:ACTIVE` to find - /// Cloud resources whose state doesn't contain "ACTIVE" as a word. * - /// `createTime<1609459200` to find Cloud resources that were created before - /// "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of - /// "2021-01-01 00:00:00 UTC" in seconds. * `updateTime>1609459200` to find - /// Cloud resources that were updated after "2021-01-01 00:00:00 UTC". - /// 1609459200 is the epoch timestamp of "2021-01-01 00:00:00 UTC" in seconds. - /// * `Important` to find Cloud resources that contain "Important" as a word - /// in any of the searchable fields. * `Impor*` to find Cloud resources that - /// contain "Impor" as a prefix of any word in any of the searchable fields. * - /// `Important location:(us-west1 OR global)` to find Cloud resources that - /// contain "Important" as a word in any of the searchable fields and are also - /// located in the "us-west1" region or the "global" location. + /// find Google Cloud resources whose name contains "Important" as a word. * + /// `name=Important` to find the Google Cloud resource whose name is exactly + /// "Important". * `displayName:Impor*` to find Google Cloud resources whose + /// display name contains "Impor" as a prefix of any word in the field. * + /// `location:us-west*` to find Google Cloud resources whose location contains + /// both "us" and "west" as prefixes. * `labels:prod` to find Google Cloud + /// resources whose labels contain "prod" as a key or value. * + /// `labels.env:prod` to find Google Cloud resources that have a label "env" + /// and its value is "prod". * `labels.env:*` to find Google Cloud resources + /// that have a label "env". * `kmsKey:key` to find Google Cloud resources + /// encrypted with a customer-managed encryption key whose name contains "key" + /// as a word. This field is deprecated. Please use the `kmsKeys` field to + /// retrieve Cloud KMS key information. * `kmsKeys:key` to find Google Cloud + /// resources encrypted with customer-managed encryption keys whose name + /// contains the word "key". * `relationships:instance-group-1` to find Google + /// Cloud resources that have relationships with "instance-group-1" in the + /// related resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find + /// Compute Engine instances that have relationships of type + /// "INSTANCE_TO_INSTANCEGROUP". * + /// `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find Compute + /// Engine instances that have relationships with "instance-group-1" in the + /// Compute Engine instance group resource name, for relationship type + /// "INSTANCE_TO_INSTANCEGROUP". * `state:ACTIVE` to find Google Cloud + /// resources whose state contains "ACTIVE" as a word. * `NOT state:ACTIVE` to + /// find Google Cloud resources whose state doesn't contain "ACTIVE" as a + /// word. * `createTime<1609459200` to find Google Cloud resources that were + /// created before "2021-01-01 00:00:00 UTC". 1609459200 is the epoch + /// timestamp of "2021-01-01 00:00:00 UTC" in seconds. * + /// `updateTime>1609459200` to find Google Cloud resources that were updated + /// after "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of + /// "2021-01-01 00:00:00 UTC" in seconds. * `Important` to find Google Cloud + /// resources that contain "Important" as a word in any of the searchable + /// fields. * `Impor*` to find Google Cloud resources that contain "Impor" as + /// a prefix of any word in any of the searchable fields. * `Important + /// location:(us-west1 OR global)` to find Google Cloud resources that contain + /// "Important" as a word in any of the searchable fields and are also located + /// in the "us-west1" region or the "global" location. /// /// [readMask] - Optional. A comma-separated list of fields specifying which /// fields to be returned in ResourceSearchResult. Only '*' or combination of @@ -1726,8 +1728,8 @@ /// listed but not limited to (both snake_case and camelCase are supported): * /// name * assetType * project * displayName * description * location * /// tagKeys * tagValues * tagValueIds * labels * networkTags * kmsKey (This - /// field is deprecated. Please use the `kmsKeys` field to retrieve KMS key - /// information.) * kmsKeys * createTime * updateTime * state * + /// field is deprecated. Please use the `kmsKeys` field to retrieve Cloud KMS + /// key information.) * kmsKeys * createTime * updateTime * state * /// additionalAttributes * versionedResources If read_mask is not specified, /// all fields except versionedResources will be returned. If only '*' is /// specified, all fields including versionedResources will be returned. Any @@ -1927,7 +1929,7 @@ /// The list of analyses returned from performing the intended resource move /// analysis. /// - /// The analysis is grouped by different Cloud services. + /// The analysis is grouped by different Google Cloud services. core.List<MoveAnalysis>? moveAnalysis; AnalyzeMoveResponse({ @@ -2082,7 +2084,7 @@ } /// This organization policy message is a modified version of the one defined in -/// the OrgPolicy system. +/// the Organization Policy system. /// /// This message contains several fields defined in the original organization /// policy with some new fields for analysis purpose. @@ -2201,9 +2203,8 @@ /// An asset can be any resource in the Google Cloud /// [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), /// a resource outside the Google Cloud resource hierarchy (such as Google -/// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM -/// policy), or a relationship (e.g. an INSTANCE_TO_INSTANCEGROUP relationship). -/// See +/// Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy), or a +/// relationship (e.g. an INSTANCE_TO_INSTANCEGROUP relationship). See /// [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) /// for more information. class Asset { @@ -2232,14 +2233,14 @@ /// for more information. core.String? assetType; - /// A representation of the Cloud IAM policy set on a Google Cloud resource. + /// A representation of the IAM policy set on a Google Cloud resource. /// - /// There can be a maximum of one Cloud IAM policy set on any given resource. - /// In addition, Cloud IAM policies inherit their granted access scope from - /// any policies set on parent resources in the resource hierarchy. Therefore, - /// the effectively policy is the union of both the policy set on this - /// resource and each policy set on all of the resource's ancestry resource - /// levels in the hierarchy. See + /// There can be a maximum of one IAM policy set on any given resource. In + /// addition, IAM policies inherit their granted access scope from any + /// policies set on parent resources in the resource hierarchy. Therefore, the + /// effectively policy is the union of both the policy set on this resource + /// and each policy set on all of the resource's ancestry resource levels in + /// the hierarchy. See /// [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) /// for more information. Policy? iamPolicy; @@ -2947,9 +2948,8 @@ /// - "CONTENT_TYPE_UNSPECIFIED" : Unspecified content type. /// - "RESOURCE" : Resource metadata. /// - "IAM_POLICY" : The actual IAM policy set on a resource. - /// - "ORG_POLICY" : The Cloud Organization Policy set on an asset. - /// - "ACCESS_POLICY" : The Cloud Access context manager Policy set on an - /// asset. + /// - "ORG_POLICY" : The organization policy set on an asset. + /// - "ACCESS_POLICY" : The Access Context Manager policy set on an asset. /// - "OS_INVENTORY" : The runtime OS Inventory information. /// - "RELATIONSHIP" : The related resources. core.String? contentType; @@ -3089,9 +3089,8 @@ /// - "CONTENT_TYPE_UNSPECIFIED" : Unspecified content type. /// - "RESOURCE" : Resource metadata. /// - "IAM_POLICY" : The actual IAM policy set on a resource. - /// - "ORG_POLICY" : The Cloud Organization Policy set on an asset. - /// - "ACCESS_POLICY" : The Cloud Access context manager Policy set on an - /// asset. + /// - "ORG_POLICY" : The organization policy set on an asset. + /// - "ACCESS_POLICY" : The Access Context Manager policy set on an asset. /// - "OS_INVENTORY" : The runtime OS Inventory information. /// - "RELATIONSHIP" : The related resources. core.String? contentType; @@ -3205,9 +3204,9 @@ /// A Cloud Storage location. class GcsDestination { - /// The uri of the Cloud Storage object. + /// The URI of the Cloud Storage object. /// - /// It's the same uri that is used by gsutil. Example: + /// It's the same URI that is used by gsutil. Example: /// "gs://bucket_name/object_name". See /// [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) /// for more information. If the specified Cloud Storage object already exists @@ -3216,9 +3215,9 @@ /// overwritten with the exported result. core.String? uri; - /// The uri prefix of all generated Cloud Storage objects. + /// The URI prefix of all generated Cloud Storage objects. /// - /// Example: "gs://bucket_name/object_name_prefix". Each object uri is in + /// Example: "gs://bucket_name/object_name_prefix". Each object URI is in /// format: "gs://bucket_name/object_name_prefix// and only contains assets /// for that type. starts from 0. Example: /// "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is the @@ -3359,8 +3358,9 @@ }; } -/// Represents a GCP asset(resource or IAM policy) governed by the organization -/// policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint. +/// Represents a Google Cloud asset(resource or IAM policy) governed by the +/// organization policies of the +/// AnalyzeOrgPolicyGovernedAssetsRequest.constraint. class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedAsset { /// The consolidated policy for the analyzed asset. /// @@ -3375,7 +3375,7 @@ GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy? governedIamPolicy; - /// A GCP resource governed by the organization policies of the + /// A Google Cloud resource governed by the organization policies of the /// AnalyzeOrgPolicyGovernedAssetsRequest.constraint. GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource? governedResource; @@ -3504,7 +3504,7 @@ }; } -/// The GCP resources governed by the organization policies of the +/// The Google Cloud resources governed by the organization policies of the /// AnalyzeOrgPolicyGovernedAssetsRequest.constraint. class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource { /// The folder(s) that this resource belongs to, in the form of @@ -3516,7 +3516,7 @@ /// The /// [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) - /// of the GCP resource. + /// of the Google Cloud resource. core.String? fullResourceName; /// The organization that this resource belongs to, in the form of @@ -3747,7 +3747,7 @@ /// - "DENY" : Deny action type. core.String? actionType; - /// Organization policy condition/expression. + /// Organization Policy condition/expression. /// /// For example: /// `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or, @@ -3861,9 +3861,9 @@ /// A Cloud Storage location. class GoogleCloudAssetV1GcsDestination { - /// The uri of the Cloud Storage object. + /// The URI of the Cloud Storage object. /// - /// It's the same uri that is used by gsutil. Example: + /// It's the same URI that is used by gsutil. Example: /// "gs://bucket_name/object_name". See /// [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) /// for more information. If the specified Cloud Storage object already exists @@ -4029,7 +4029,7 @@ } /// A `Constraint` that allows or disallows a list of string values, which are -/// configured by an Organization's policy administrator with a `Policy`. +/// configured by an organization's policy administrator with a `Policy`. typedef GoogleCloudAssetV1ListConstraint = $ListConstraint; /// BigQuery destination. @@ -5132,7 +5132,9 @@ /// A list of Google Cloud resources that are inside of the service perimeter. /// - /// Currently only projects are allowed. Format: `projects/{project_number}` + /// Currently only projects and VPCs are allowed. Project format: + /// `projects/{project_number}` VPC format: + /// `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. core.List<core.String>? resources; /// Google Cloud services that are subject to the Service Perimeter @@ -5404,7 +5406,7 @@ /// finished. core.bool? fullyExplored; - /// The Cloud IAM policy binding under analysis. + /// The IAM policy binding under analysis. Binding? iamBinding; /// The identity list derived from members of the iam_binding that match or @@ -5612,8 +5614,8 @@ /// `policy.role.permissions:compute.instances.create` Policy? policy; - /// The project that the associated GCP resource belongs to, in the form of - /// projects/{PROJECT_NUMBER}. + /// The project that the associated Google Cloud resource belongs to, in the + /// form of projects/{PROJECT_NUMBER}. /// /// If an IAM policy is set on a resource (like VM instance, Cloud Storage /// bucket), the project field will indicate the project that contains the @@ -5963,7 +5965,7 @@ /// The user friendly display name of the analysis. /// - /// E.g. IAM, Organization Policy etc. + /// E.g. IAM, organization policy etc. core.String? displayName; /// Description of error encountered when performing the analysis. @@ -6141,20 +6143,20 @@ /// /// This is a very expensive operation, because many derived queries will be /// executed. We highly recommend you use - /// AssetService.AnalyzeIamPolicyLongrunning rpc instead. For example, if the + /// AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the /// request analyzes for which resources user A has permission P, and there's /// an IAM policy states user A has iam.serviceAccounts.getAccessToken /// permission to a service account SA, and there's another IAM policy states - /// service account SA has permission P to a GCP folder F, then user A - /// potentially has access to the GCP folder F. And those advanced analysis - /// results will be included in + /// service account SA has permission P to a Google Cloud folder F, then user + /// A potentially has access to the Google Cloud folder F. And those advanced + /// analysis results will be included in /// AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another - /// example, if the request analyzes for who has permission P to a GCP folder - /// F, and there's an IAM policy states user A has iam.serviceAccounts.actAs - /// permission to a service account SA, and there's another IAM policy states - /// service account SA has permission P to the GCP folder F, then user A - /// potentially has access to the GCP folder F. And those advanced analysis - /// results will be included in + /// example, if the request analyzes for who has permission P to a Google + /// Cloud folder F, and there's an IAM policy states user A has + /// iam.serviceAccounts.actAs permission to a service account SA, and there's + /// another IAM policy states service account SA has permission P to the + /// Google Cloud folder F, then user A potentially has access to the Google + /// Cloud folder F. And those advanced analysis results will be included in /// AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the /// following permissions are considered in this analysis: * /// `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * @@ -6181,18 +6183,19 @@ /// policy to include resources lower in the resource hierarchy. /// /// For example, if the request analyzes for which resources user A has - /// permission P, and the results include an IAM policy with P on a GCP - /// folder, the results will also include resources in that folder with + /// permission P, and the results include an IAM policy with P on a Google + /// Cloud folder, the results will also include resources in that folder with /// permission P. If true and IamPolicyAnalysisQuery.resource_selector is /// specified, the resource section of the result will expand the specified /// resource to include resources lower in the resource hierarchy. Only - /// project or lower resources are supported. Folder and organization resource - /// cannot be used together with this option. For example, if the request - /// analyzes for which users have permission P on a GCP project with this - /// option enabled, the results will include all users who have permission P - /// on that project or any lower resource. If true, the default max expansion - /// per resource is 1000 for AssetService.AnalyzeIamPolicy\]\[\] and 100000 - /// for AssetService.AnalyzeIamPolicyLongrunning\]\[\]. Default is false. + /// project or lower resources are supported. Folder and organization + /// resources cannot be used together with this option. For example, if the + /// request analyzes for which users have permission P on a Google Cloud + /// project with this option enabled, the results will include all users who + /// have permission P on that project or any lower resource. If true, the + /// default max expansion per resource is 1000 for + /// AssetService.AnalyzeIamPolicy\]\[\] and 100000 for + /// AssetService.AnalyzeIamPolicyLongrunning\]\[\]. Default is false. /// /// Optional. core.bool? expandResources; @@ -6792,8 +6795,8 @@ /// The query content. class QueryContent { /// An IAM Policy Analysis query, which could be used in the - /// AssetService.AnalyzeIamPolicy rpc or the - /// AssetService.AnalyzeIamPolicyLongrunning rpc. + /// AssetService.AnalyzeIamPolicy RPC or the + /// AssetService.AnalyzeIamPolicyLongrunning RPC. IamPolicyAnalysisQuery? iamPolicyAnalysisQuery; QueryContent({ @@ -6875,8 +6878,7 @@ /// An asset can be any resource in the Google Cloud /// [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), /// a resource outside the Google Cloud resource hierarchy (such as Google -/// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM -/// policy). See +/// Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). See /// [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) /// for more information. class RelatedAsset { @@ -7129,7 +7131,7 @@ /// [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) /// for more information. For Google Cloud assets, this value is the parent /// resource defined in the - /// [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). + /// [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). /// Example: `//cloudresourcemanager.googleapis.com/projects/my_project_123` /// For third-party assets, this field may be set differently. core.String? parent; @@ -7202,13 +7204,13 @@ /// The attributes may vary from one resource type to another. Examples: /// `projectId` for Project, `dnsName` for DNS ManagedZone. This field /// contains a subset of the resource metadata fields that are returned by the - /// List or Get APIs provided by the corresponding GCP service (e.g., Compute - /// Engine). see + /// List or Get APIs provided by the corresponding Google Cloud service (e.g., + /// Compute Engine). see /// [API references and supported searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) /// to see which fields are included. You can search values of these fields /// through free text search. However, you should not consume the field - /// programically as the field names and values may change as the GCP service - /// updates to a new incompatible API version. To search against the + /// programically as the field names and values may change as the Google Cloud + /// service updates to a new incompatible API version. To search against the /// `additional_attributes`: * Use a free text query to match the attributes /// values. Example: to search `additional_attributes = { dnsName: "foobar" /// }`, you can issue a query `foobar`. @@ -7274,9 +7276,9 @@ /// name. /// /// This field only presents for the purpose of backward compatibility. Please - /// use the `kms_keys` field to retrieve KMS key information. This field is - /// available only when the resource's Protobuf contains it and will only be - /// populated for + /// use the `kms_keys` field to retrieve Cloud KMS key information. This field + /// is available only when the resource's Protobuf contains it and will only + /// be populated for /// [these resource types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field) /// for backward compatible purposes. To search against the `kms_key`: * Use a /// field query. Example: `kmsKey:key` * Use a free text query. Example: `key` @@ -7296,7 +7298,7 @@ /// Labels associated with this resource. /// /// See - /// [Labelling and grouping GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) + /// [Labelling and grouping Google Cloud resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) /// for more information. This field is available only when the resource's /// Protobuf contains it. To search against the `labels`: * Use a field query: /// - query on any label's key or value. Example: `labels:prod` - query by a @@ -7325,9 +7327,9 @@ /// Network tags associated with this resource. /// - /// Like labels, network tags are a type of annotations used to group GCP - /// resources. See - /// [Labelling GCP resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) + /// Like labels, network tags are a type of annotations used to group Google + /// Cloud resources. See + /// [Labelling Google Cloud resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) /// for more information. This field is available only when the resource's /// Protobuf contains it. To search against the `network_tags`: * Use a field /// query. Example: `networkTags:internal` * Use a free text query. Example: @@ -7384,8 +7386,8 @@ /// PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, /// REPAIRING, and TERMINATED. See `status` definition in /// [API Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances). - /// If the resource is a project provided by Cloud Resource Manager, its state - /// will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and + /// If the resource is a project provided by Resource Manager, its state will + /// include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and /// DELETE_IN_PROGRESS. See `lifecycleState` definition in /// [API Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects). /// To search against the `state`: * Use a field query. Example: @@ -7731,7 +7733,7 @@ /// the `page_token`. core.String? nextPageToken; - /// A list of IamPolicy that match the search query. + /// A list of IAM policies that match the search query. /// /// Related information such as the associated resource is returned along with /// the policy.
diff --git a/generated/googleapis/lib/cloudbuild/v1.dart b/generated/googleapis/lib/cloudbuild/v1.dart index fb6d58d..c35b39a 100644 --- a/generated/googleapis/lib/cloudbuild/v1.dart +++ b/generated/googleapis/lib/cloudbuild/v1.dart
@@ -672,7 +672,7 @@ /// /// [name] - This field should contain the name of the enterprise config /// resource. For example: - /// "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" /// Value must have pattern /// `^projects/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. /// @@ -718,7 +718,7 @@ /// /// [name] - This field should contain the name of the enterprise config /// resource. For example: - /// "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" /// Value must have pattern /// `^projects/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. /// @@ -809,7 +809,8 @@ /// Request parameters: /// /// [name] - Optional. The full resource name for the GitHubEnterpriseConfig - /// For example: "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// For example: + /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" /// Value must have pattern /// `^projects/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. /// @@ -2065,7 +2066,7 @@ /// /// [name] - This field should contain the name of the enterprise config /// resource. For example: - /// "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. /// @@ -2111,7 +2112,7 @@ /// /// [name] - This field should contain the name of the enterprise config /// resource. For example: - /// "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. /// @@ -2202,7 +2203,8 @@ /// Request parameters: /// /// [name] - Optional. The full resource name for the GitHubEnterpriseConfig - /// For example: "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// For example: + /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. /// @@ -2599,9 +2601,10 @@ /// Runs a `BuildTrigger` at a particular source revision. /// /// To run a regional or global trigger, use the POST request that includes - /// the location endpoint in the path. The POST request that does not include - /// the location endpoint in the path can only be used when running global - /// triggers. + /// the location endpoint in the path (ex. + /// v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The + /// POST request that does not include the location endpoint in the path can + /// only be used when running global triggers. /// /// [request] - The metadata request object. /// @@ -3204,9 +3207,10 @@ /// Runs a `BuildTrigger` at a particular source revision. /// /// To run a regional or global trigger, use the POST request that includes - /// the location endpoint in the path. The POST request that does not include - /// the location endpoint in the path can only be used when running global - /// triggers. + /// the location endpoint in the path (ex. + /// v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The + /// POST request that does not include the location endpoint in the path can + /// only be used when running global triggers. /// /// [request] - The metadata request object. /// @@ -4508,7 +4512,7 @@ /// Note that this is *NOT* "disk free"; some of the space will be used by the /// operating system and build utilities. Also note that this is the minimum /// disk size that will be allocated for the build -- the build may run with a - /// larger disk than requested. At present, the maximum disk size is 1000GB; + /// larger disk than requested. At present, the maximum disk size is 2000GB; /// builds that request more than the maximum are rejected with an error. core.String? diskSizeGb; @@ -5605,7 +5609,7 @@ core.String? hostUrl; /// The full resource name for the GitHubEnterpriseConfig For example: - /// "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" /// /// Optional. core.String? name; @@ -5782,7 +5786,8 @@ /// The resource name of the github enterprise config that should be applied /// to this installation. /// - /// For example: "projects/{$project_id}/githubEnterpriseConfigs/{$config_id}" + /// For example: + /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" /// /// Optional. core.String? enterpriseConfigResourceName; @@ -6751,9 +6756,22 @@ /// Required. Immutable. core.String? peeredNetwork; + /// Subnet IP range within the peered network. + /// + /// This is specified in CIDR notation with a slash and the subnet prefix + /// size. You can optionally specify an IP address before the subnet prefix + /// value. e.g. `192.168.0.0/29` would specify an IP range starting at + /// 192.168.0.0 with a prefix size of 29 bits. `/16` would specify a prefix + /// size of 16 bits, with an automatically determined IP within the peered + /// VPC. If unspecified, a value of `/24` will be used. + /// + /// Immutable. + core.String? peeredNetworkIpRange; + NetworkConfig({ this.egressOption, this.peeredNetwork, + this.peeredNetworkIpRange, }); NetworkConfig.fromJson(core.Map json_) @@ -6764,11 +6782,16 @@ peeredNetwork: json_.containsKey('peeredNetwork') ? json_['peeredNetwork'] as core.String : null, + peeredNetworkIpRange: json_.containsKey('peeredNetworkIpRange') + ? json_['peeredNetworkIpRange'] as core.String + : null, ); core.Map<core.String, core.dynamic> toJson() => { if (egressOption != null) 'egressOption': egressOption!, if (peeredNetwork != null) 'peeredNetwork': peeredNetwork!, + if (peeredNetworkIpRange != null) + 'peeredNetworkIpRange': peeredNetworkIpRange!, }; }
diff --git a/generated/googleapis/lib/cloudchannel/v1.dart b/generated/googleapis/lib/cloudchannel/v1.dart index f2daca3..f9e078a 100644 --- a/generated/googleapis/lib/cloudchannel/v1.dart +++ b/generated/googleapis/lib/cloudchannel/v1.dart
@@ -4136,6 +4136,62 @@ }; } +/// Specifies the override to conditionally apply. +class GoogleCloudChannelV1ConditionalOverride { + /// Information about the applied override's adjustment. + /// + /// Required. + GoogleCloudChannelV1RepricingAdjustment? adjustment; + + /// The RebillingBasis to use for the applied override. + /// + /// Shows the relative cost based on your repricing costs. + /// + /// Required. + /// Possible string values are: + /// - "REBILLING_BASIS_UNSPECIFIED" : Not used. + /// - "COST_AT_LIST" : Use the list cost, also known as the MSRP. + /// - "DIRECT_CUSTOMER_COST" : Pass through all discounts except the Reseller + /// Program Discount. If this is the default cost base and no adjustments are + /// specified, the output cost will be exactly what the customer would see if + /// they viewed the bill in the Google Cloud Console. + core.String? rebillingBasis; + + /// Specifies the condition which, if met, will apply the override. + /// + /// Required. + GoogleCloudChannelV1RepricingCondition? repricingCondition; + + GoogleCloudChannelV1ConditionalOverride({ + this.adjustment, + this.rebillingBasis, + this.repricingCondition, + }); + + GoogleCloudChannelV1ConditionalOverride.fromJson(core.Map json_) + : this( + adjustment: json_.containsKey('adjustment') + ? GoogleCloudChannelV1RepricingAdjustment.fromJson( + json_['adjustment'] as core.Map<core.String, core.dynamic>) + : null, + rebillingBasis: json_.containsKey('rebillingBasis') + ? json_['rebillingBasis'] as core.String + : null, + repricingCondition: json_.containsKey('repricingCondition') + ? GoogleCloudChannelV1RepricingCondition.fromJson( + json_['repricingCondition'] + as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (adjustment != null) 'adjustment': adjustment!, + if (rebillingBasis != null) 'rebillingBasis': rebillingBasis!, + if (repricingCondition != null) + 'repricingCondition': repricingCondition!, + }; +} + /// Represents the constraints for buying the Offer. class GoogleCloudChannelV1Constraints { /// Represents constraints required to purchase the Offer for a customer. @@ -6754,6 +6810,30 @@ }; } +/// Represents the various repricing conditions you can use for a conditional +/// override. +class GoogleCloudChannelV1RepricingCondition { + /// SKU Group condition for override. + GoogleCloudChannelV1SkuGroupCondition? skuGroupCondition; + + GoogleCloudChannelV1RepricingCondition({ + this.skuGroupCondition, + }); + + GoogleCloudChannelV1RepricingCondition.fromJson(core.Map json_) + : this( + skuGroupCondition: json_.containsKey('skuGroupCondition') + ? GoogleCloudChannelV1SkuGroupCondition.fromJson( + json_['skuGroupCondition'] + as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (skuGroupCondition != null) 'skuGroupCondition': skuGroupCondition!, + }; +} + /// Configuration for repricing a Google bill over a period of time. class GoogleCloudChannelV1RepricingConfig { /// Information about the adjustment. @@ -6767,6 +6847,13 @@ GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity? channelPartnerGranularity; + /// The conditional overrides to apply for this configuration. + /// + /// If you list multiple overrides, only the first valid override is used. If + /// you don't list any overrides, the API uses the normal adjustment and + /// rebilling basis. + core.List<GoogleCloudChannelV1ConditionalOverride>? conditionalOverrides; + /// The YearMonth when these adjustments activate. /// /// The Day field needs to be "0" since we only accept YearMonth repricing @@ -6798,6 +6885,7 @@ GoogleCloudChannelV1RepricingConfig({ this.adjustment, this.channelPartnerGranularity, + this.conditionalOverrides, this.effectiveInvoiceMonth, this.entitlementGranularity, this.rebillingBasis, @@ -6815,6 +6903,13 @@ .fromJson(json_['channelPartnerGranularity'] as core.Map<core.String, core.dynamic>) : null, + conditionalOverrides: json_.containsKey('conditionalOverrides') + ? (json_['conditionalOverrides'] as core.List) + .map((value) => + GoogleCloudChannelV1ConditionalOverride.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, effectiveInvoiceMonth: json_.containsKey('effectiveInvoiceMonth') ? GoogleTypeDate.fromJson(json_['effectiveInvoiceMonth'] as core.Map<core.String, core.dynamic>) @@ -6833,6 +6928,8 @@ if (adjustment != null) 'adjustment': adjustment!, if (channelPartnerGranularity != null) 'channelPartnerGranularity': channelPartnerGranularity!, + if (conditionalOverrides != null) + 'conditionalOverrides': conditionalOverrides!, if (effectiveInvoiceMonth != null) 'effectiveInvoiceMonth': effectiveInvoiceMonth!, if (entitlementGranularity != null) @@ -6993,6 +7090,32 @@ }; } +/// A condition that applies the override if a line item SKU is found in the SKU +/// group. +class GoogleCloudChannelV1SkuGroupCondition { + /// Specifies a SKU group (https://cloud.google.com/skus/sku-groups). + /// + /// Resource name of SKU group. Format: + /// accounts/{account}/skuGroups/{sku_group}. Example: + /// "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041". + core.String? skuGroup; + + GoogleCloudChannelV1SkuGroupCondition({ + this.skuGroup, + }); + + GoogleCloudChannelV1SkuGroupCondition.fromJson(core.Map json_) + : this( + skuGroup: json_.containsKey('skuGroup') + ? json_['skuGroup'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (skuGroup != null) 'skuGroup': skuGroup!, + }; +} + /// Request message for CloudChannelService.StartPaidService. typedef GoogleCloudChannelV1StartPaidServiceRequest = $Request01; @@ -7661,7 +7784,62 @@ /// Java's BigDecimal or Python's decimal.Decimal. \[BigDecimal\]: /// https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html /// \[decimal.Decimal\]: https://docs.python.org/3/library/decimal.html -typedef GoogleTypeDecimal = $GoogleTypeDecimal; +class GoogleTypeDecimal { + /// The decimal value, as a string. + /// + /// The string representation consists of an optional sign, `+` (`U+002B`) or + /// `-` (`U+002D`), followed by a sequence of zero or more decimal digits + /// ("the integer"), optionally followed by a fraction, optionally followed by + /// an exponent. An empty string **should** be interpreted as `0`. The + /// fraction consists of a decimal point followed by zero or more decimal + /// digits. The string must contain at least one digit in either the integer + /// or the fraction. The number formed by the sign, the integer and the + /// fraction is referred to as the significand. The exponent consists of the + /// character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal + /// digits. Services **should** normalize decimal values before storing them + /// by: - Removing an explicitly-provided `+` sign (`+2.5` -\> `2.5`). - + /// Replacing a zero-length integer value with `0` (`.5` -\> `0.5`). - + /// Coercing the exponent character to upper-case, with explicit sign (`2.5e8` + /// -\> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` + /// -\> `2.5`). Services **may** perform additional normalization based on its + /// own needs and the internal decimal implementation selected, such as + /// shifting the decimal point and exponent value together (example: `2.5E-1` + /// \<-\> `0.25`). Additionally, services **may** preserve trailing zeroes in + /// the fraction to indicate increased precision, but are not required to do + /// so. Note that only the `.` character is supported to divide the integer + /// and the fraction; `,` **should not** be supported regardless of locale. + /// Additionally, thousand separators **should not** be supported. If a + /// service does support them, values **must** be normalized. The ENBF grammar + /// is: DecimalString = '' | \[Sign\] Significand \[Exponent\]; Sign = '+' | + /// '-'; Significand = Digits '.' | \[Digits\] '.' Digits; Exponent = ('e' | + /// 'E') \[Sign\] Digits; Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | + /// '7' | '8' | '9' }; Services **should** clearly document the range of + /// supported values, the maximum supported precision (total number of + /// digits), and, if applicable, the scale (number of digits after the decimal + /// point), as well as how it behaves when receiving out-of-bounds values. + /// Services **may** choose to accept values passed as input even when the + /// value has a higher precision or scale than the service supports, and + /// **should** round the value to fit the supported scale. Alternatively, the + /// service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) + /// if precision would be lost. Services **should** error with `400 Bad + /// Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value + /// outside of the supported range. + core.String? value; + + GoogleTypeDecimal({ + this.value, + }); + + GoogleTypeDecimal.fromJson(core.Map json_) + : this( + value: + json_.containsKey('value') ? json_['value'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (value != null) 'value': value!, + }; +} /// Represents an amount of money with its currency type. typedef GoogleTypeMoney = $Money;
diff --git a/generated/googleapis/lib/clouddeploy/v1.dart b/generated/googleapis/lib/clouddeploy/v1.dart index 5be8b2c..e757d9b 100644 --- a/generated/googleapis/lib/clouddeploy/v1.dart +++ b/generated/googleapis/lib/clouddeploy/v1.dart
@@ -2247,16 +2247,12 @@ class Config { /// Default Skaffold version that is assigned when a Release is created /// without specifying a Skaffold version. - /// - /// Output only. core.String? defaultSkaffoldVersion; /// Name of the configuration. core.String? name; /// All supported versions of Skaffold. - /// - /// Output only. core.List<SkaffoldVersion>? supportedVersions; Config({ @@ -2509,6 +2505,8 @@ /// check Cloud Build logs. /// - "DEADLINE_EXCEEDED" : The deploy build did not complete within the /// alloted time. + /// - "CLOUD_BUILD_REQUEST_FAILED" : Cloud Build failed to fulfill Google + /// Cloud Deploy's request. See failure_message for additional details. core.String? failureCause; /// Additional information about the deploy failure, if available. @@ -3430,12 +3428,17 @@ /// Details around the Pipeline's overall status. PipelineReadyCondition? pipelineReadyCondition; - /// Detalis around targets enumerated in the pipeline. + /// Details around targets enumerated in the pipeline. TargetsPresentCondition? targetsPresentCondition; + /// Details on the whether the targets enumerated in the pipeline are of the + /// same type. + TargetsTypeCondition? targetsTypeCondition; + PipelineCondition({ this.pipelineReadyCondition, this.targetsPresentCondition, + this.targetsTypeCondition, }); PipelineCondition.fromJson(core.Map json_) @@ -3449,6 +3452,10 @@ json_['targetsPresentCondition'] as core.Map<core.String, core.dynamic>) : null, + targetsTypeCondition: json_.containsKey('targetsTypeCondition') + ? TargetsTypeCondition.fromJson(json_['targetsTypeCondition'] + as core.Map<core.String, core.dynamic>) + : null, ); core.Map<core.String, core.dynamic> toJson() => { @@ -3456,6 +3463,8 @@ 'pipelineReadyCondition': pipelineReadyCondition!, if (targetsPresentCondition != null) 'targetsPresentCondition': targetsPresentCondition!, + if (targetsTypeCondition != null) + 'targetsTypeCondition': targetsTypeCondition!, }; } @@ -4010,6 +4019,8 @@ /// - "RELEASE_ABANDONED" : Release is abandoned. /// - "VERIFICATION_CONFIG_NOT_FOUND" : No skaffold verify configuration was /// found. + /// - "CLOUD_BUILD_REQUEST_FAILED" : Cloud Build failed to fulfill Google + /// Cloud Deploy's request. See failure_message for additional details. core.String? deployFailureCause; /// Time at which the `Rollout` started deploying. @@ -4657,6 +4668,8 @@ /// permission\](/deploy/docs/cloud-deploy-service-account#required_permissions). /// - "EXECUTION_FAILED" : The render operation did not complete successfully; /// check Cloud Build logs. + /// - "CLOUD_BUILD_REQUEST_FAILED" : Cloud Build failed to fulfill Google + /// Cloud Deploy's request. See failure_message for additional details. core.String? failureCause; /// Additional information about the render failure, if available. @@ -4717,7 +4730,7 @@ /// TargetsPresentCondition contains information on any Targets defined in the /// Delivery Pipeline that do not actually exist. class TargetsPresentCondition { - /// The list of Target names that are missing. + /// The list of Target names that do not exist. /// /// For example, /// projects/{project_id}/locations/{location_name}/targets/{target_name}. @@ -4756,6 +4769,38 @@ }; } +/// TargetsTypeCondition contains information on whether the Targets defined in +/// the Delivery Pipeline are of the same type. +class TargetsTypeCondition { + /// Human readable error message. + core.String? errorDetails; + + /// True if the targets are all a comparable type. + /// + /// For example this is true if all targets are GKE clusters. This is false if + /// some targets are Cloud Run targets and others are GKE clusters. + core.bool? status; + + TargetsTypeCondition({ + this.errorDetails, + this.status, + }); + + TargetsTypeCondition.fromJson(core.Map json_) + : this( + errorDetails: json_.containsKey('errorDetails') + ? json_['errorDetails'] as core.String + : null, + status: + json_.containsKey('status') ? json_['status'] as core.bool : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (errorDetails != null) 'errorDetails': errorDetails!, + if (status != null) 'status': status!, + }; +} + /// Request message for `TestIamPermissions` method. typedef TestIamPermissionsRequest = $TestIamPermissionsRequest00; @@ -4805,6 +4850,8 @@ /// alloted time. /// - "VERIFICATION_CONFIG_NOT_FOUND" : No Skaffold verify configuration was /// found. + /// - "CLOUD_BUILD_REQUEST_FAILED" : Cloud Build failed to fulfill Google + /// Cloud Deploy's request. See failure_message for additional details. core.String? failureCause; /// Additional information about the verify failure, if available.
diff --git a/generated/googleapis/lib/cloudfunctions/v2.dart b/generated/googleapis/lib/cloudfunctions/v2.dart index d9fd678..5cf565e 100644 --- a/generated/googleapis/lib/cloudfunctions/v2.dart +++ b/generated/googleapis/lib/cloudfunctions/v2.dart
@@ -1293,7 +1293,7 @@ /// User-provided description of a function. core.String? description; - /// Describe whether the function is gen1 or gen2. + /// Describe whether the function is 1st Gen or 2nd Gen. /// Possible string values are: /// - "ENVIRONMENT_UNSPECIFIED" : Unspecified /// - "GEN_1" : Gen 1
diff --git a/generated/googleapis/lib/cloudidentity/v1.dart b/generated/googleapis/lib/cloudidentity/v1.dart index 4edd893..630ecee 100644 --- a/generated/googleapis/lib/cloudidentity/v1.dart +++ b/generated/googleapis/lib/cloudidentity/v1.dart
@@ -1523,8 +1523,9 @@ /// /// [parent] - Required. The parent resource under which to list all `Group` /// resources. Must be of the form `identitysources/{identity_source}` for - /// external- identity-mapped groups or `customers/{customer}` for Google - /// Groups. The `customer` must begin with "C" (for example, 'C046psxkn'). + /// external- identity-mapped groups or `customers/{customer_id}` for Google + /// Groups. The `customer_id` must begin with "C" (for example, 'C046psxkn'). + /// [Find your customer ID.](https://support.google.com/cloudidentity/answer/10070793) /// /// [view] - The level of detail to be returned. If unspecified, defaults to /// `View.BASIC`. @@ -1685,9 +1686,10 @@ /// [query] - Required. The search query. Must be specified in /// [Common Expression Language](https://opensource.google/projects/cel). May /// only contain equality operators on the parent and inclusion operators on - /// labels (e.g., `parent == 'customers/{customer}' && + /// labels (e.g., `parent == 'customers/{customer_id}' && /// 'cloudidentity.googleapis.com/groups.discussion_forum' in labels`). The - /// `customer` must begin with "C" (for example, 'C046psxkn'). + /// `customer_id` must begin with "C" (for example, 'C046psxkn'). + /// [Find your customer ID.](https://support.google.com/cloudidentity/answer/10070793) /// /// [view] - The level of detail to be returned. If unspecified, defaults to /// `View.BASIC`. @@ -3398,7 +3400,7 @@ /// Response containing resource names of the DeviceUsers associated with the /// caller's credentials. class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse { - /// The obfuscated customer Id that may be passed back to other Devices API + /// The customer resource name that may be passed back to other Devices API /// methods such as List, Get, etc. core.String? customer; @@ -3544,9 +3546,11 @@ /// The resource name of the entity under which this `Group` resides in the /// Cloud Identity resource hierarchy. /// - /// Must be of the form `identitysources/{identity_source}` for external- - /// identity-mapped groups or `customers/{customer}` for Google Groups. The - /// `customer` must begin with "C" (for example, 'C046psxkn'). + /// Must be of the form `identitysources/{identity_source}` for external + /// \[identity-mapped groups\](https://support.google.com/a/answer/9039510) or + /// `customers/{customer_id}` for Google Groups. The `customer_id` must begin + /// with "C" (for example, 'C046psxkn'). + /// [Find your customer ID.](https://support.google.com/cloudidentity/answer/10070793) /// /// Required. Immutable. core.String? parent;
diff --git a/generated/googleapis/lib/cloudresourcemanager/v3.dart b/generated/googleapis/lib/cloudresourcemanager/v3.dart index 308541c..d03c9f7 100644 --- a/generated/googleapis/lib/cloudresourcemanager/v3.dart +++ b/generated/googleapis/lib/cloudresourcemanager/v3.dart
@@ -343,8 +343,10 @@ /// [pageToken] - Optional. A pagination token returned from a previous call /// to `ListFolders` that indicates where this listing should continue from. /// - /// [parent] - Required. The resource name of the organization or folder whose - /// folders are being listed. Must be of the form `folders/{folder_id}` or + /// [parent] - Required. The name of the parent resource whose folders are + /// being listed. Only children of this parent resource are listed; + /// descendants are not listed. If the parent is a folder, use the value + /// `folders/{folder_id}`. If the parent is an organization, use the value /// `organizations/{org_id}`. Access to this method is controlled by checking /// the `resourcemanager.folders.list` permission on the `parent`. /// @@ -1397,9 +1399,11 @@ /// [pageToken] - Optional. A pagination token returned from a previous call /// to ListProjects that indicates from where listing should continue. /// - /// [parent] - Required. The name of the parent resource to list projects - /// under. For example, setting this field to 'folders/1234' would list all - /// projects directly under that folder. + /// [parent] - Required. The name of the parent resource whose projects are + /// being listed. Only children of this parent resource are listed; + /// descendants are not listed. If the parent is a folder, use the value + /// `folders/{folder_id}`. If the parent is an organization, use the value + /// `organizations/{org_id}`. /// /// [showDeleted] - Optional. Indicate that projects in the `DELETE_REQUESTED` /// state should also be returned. Normally only `ACTIVE` projects are @@ -2508,8 +2512,7 @@ /// [pageToken] - Optional. A pagination token returned from a previous call /// to `ListTagValues` that indicates where this listing should continue from. /// - /// [parent] - Required. Resource name for TagKey, parent of the TagValues to - /// be listed, in the format `tagKeys/123`. + /// [parent] - Required. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -3926,7 +3929,7 @@ /// Label keys must be between 1 and 63 characters long and must conform to /// the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label /// values must be between 0 and 63 characters long and must conform to the - /// regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 + /// regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 64 /// labels can be associated with a given resource. Clients should store /// labels in a representation such as JSON that does not depend on specific /// characters being disallowed. Example: `"myBusinessDimension" :
diff --git a/generated/googleapis/lib/compute/v1.dart b/generated/googleapis/lib/compute/v1.dart index 43ef6e4..e6eced7 100644 --- a/generated/googleapis/lib/compute/v1.dart +++ b/generated/googleapis/lib/compute/v1.dart
@@ -51836,6 +51836,49 @@ }; } +class AllocationResourceStatus { + AllocationResourceStatusSpecificSKUAllocation? specificSkuAllocation; + + AllocationResourceStatus({ + this.specificSkuAllocation, + }); + + AllocationResourceStatus.fromJson(core.Map json_) + : this( + specificSkuAllocation: json_.containsKey('specificSkuAllocation') + ? AllocationResourceStatusSpecificSKUAllocation.fromJson( + json_['specificSkuAllocation'] + as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (specificSkuAllocation != null) + 'specificSkuAllocation': specificSkuAllocation!, + }; +} + +class AllocationResourceStatusSpecificSKUAllocation { + core.String? sourceInstanceTemplateId; + + AllocationResourceStatusSpecificSKUAllocation({ + this.sourceInstanceTemplateId, + }); + + AllocationResourceStatusSpecificSKUAllocation.fromJson(core.Map json_) + : this( + sourceInstanceTemplateId: + json_.containsKey('sourceInstanceTemplateId') + ? json_['sourceInstanceTemplateId'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (sourceInstanceTemplateId != null) + 'sourceInstanceTemplateId': sourceInstanceTemplateId!, + }; +} + class AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk { /// Specifies the size of the disk in base-2 GB. core.String? diskSizeGb; @@ -51968,11 +52011,23 @@ /// The instance properties for the reservation. AllocationSpecificSKUAllocationReservedInstanceProperties? instanceProperties; + /// Specifies the instance template to create the reservation. + /// + /// If you use this field, you must exclude the instanceProperties field. This + /// field is optional, and it can be a full or partial URL. For example, the + /// following are all valid URLs to an instance template: - + /// https://www.googleapis.com/compute/v1/projects/project + /// /global/instanceTemplates/instanceTemplate - + /// projects/project/global/instanceTemplates/instanceTemplate - + /// global/instanceTemplates/instanceTemplate + core.String? sourceInstanceTemplate; + AllocationSpecificSKUReservation({ this.assuredCount, this.count, this.inUseCount, this.instanceProperties, + this.sourceInstanceTemplate, }); AllocationSpecificSKUReservation.fromJson(core.Map json_) @@ -51990,6 +52045,9 @@ .fromJson(json_['instanceProperties'] as core.Map<core.String, core.dynamic>) : null, + sourceInstanceTemplate: json_.containsKey('sourceInstanceTemplate') + ? json_['sourceInstanceTemplate'] as core.String + : null, ); core.Map<core.String, core.dynamic> toJson() => { @@ -51998,6 +52056,8 @@ if (inUseCount != null) 'inUseCount': inUseCount!, if (instanceProperties != null) 'instanceProperties': instanceProperties!, + if (sourceInstanceTemplate != null) + 'sourceInstanceTemplate': sourceInstanceTemplate!, }; } @@ -63183,8 +63243,7 @@ class FirewallPolicyRule { /// The Action to perform when the client connection triggers the rule. /// - /// Can currently be either "allow" or "deny()" where valid values for status - /// are 403, 404, and 502. + /// Valid actions are "allow", "deny" and "goto_next". core.String? action; /// An optional description for this resource. @@ -63870,13 +63929,14 @@ /// For regional forwarding rules, this target must be in the same region as /// the forwarding rule. For global forwarding rules, this target must be a /// global load balancing resource. The forwarded traffic must be of a type - /// appropriate to the target object. For more information, see the "Target" + /// appropriate to the target object. - For load balancers, see the "Target" /// column in /// [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - /// For Private Service Connect forwarding rules that forward traffic to + /// - For Private Service Connect forwarding rules that forward traffic to /// Google APIs, provide the name of a supported Google API bundle: - vpc-sc - /// APIs that support VPC Service Controls. - all-apis - All supported Google - /// APIs. + /// APIs. - For Private Service Connect forwarding rules that forward traffic + /// to managed services, the target must be a service attachment. core.String? target; ForwardingRule({ @@ -65140,6 +65200,7 @@ /// - "MULTI_IP_SUBNET" /// - "SECURE_BOOT" /// - "SEV_CAPABLE" + /// - "SEV_SNP_CAPABLE" /// - "UEFI_COMPATIBLE" /// - "VIRTIO_SCSI_MULTIQUEUE" /// - "WINDOWS" @@ -75520,8 +75581,9 @@ /// notifications regarding this Interconnect. /// /// If specified, this will be used for notifications in addition to all other - /// forms described, such as Stackdriver logs alerting and Cloud - /// Notifications. + /// forms described, such as Cloud Monitoring logs alerting and Cloud + /// Notifications. This field is required for users who sign up for Cloud + /// Interconnect using workforce identity federation. core.String? nocContactEmail; /// The current status of this Interconnect's functionality, which can take @@ -84214,6 +84276,11 @@ /// global/networks/default core.String? network; + /// The URL of the network attachment that this interface should connect to in + /// the following format: + /// projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}. + core.String? networkAttachment; + /// An IPv4 internal IP address to assign to the instance for this network /// interface. /// @@ -84270,6 +84337,7 @@ this.kind, this.name, this.network, + this.networkAttachment, this.networkIP, this.nicType, this.queueCount, @@ -84315,6 +84383,9 @@ network: json_.containsKey('network') ? json_['network'] as core.String : null, + networkAttachment: json_.containsKey('networkAttachment') + ? json_['networkAttachment'] as core.String + : null, networkIP: json_.containsKey('networkIP') ? json_['networkIP'] as core.String : null, @@ -84344,6 +84415,7 @@ if (kind != null) 'kind': kind!, if (name != null) 'name': name!, if (network != null) 'network': network!, + if (networkAttachment != null) 'networkAttachment': networkAttachment!, if (networkIP != null) 'networkIP': networkIP!, if (nicType != null) 'nicType': nicType!, if (queueCount != null) 'queueCount': queueCount!, @@ -95592,11 +95664,10 @@ /// dash. core.String? name; - /// Resource policies to be added to this reservation. + /// Status information for Reservation resource. /// - /// The key is defined by user, and the value is resource policy url. This is - /// to define placement policy with reservation. - core.Map<core.String, core.String>? resourcePolicies; + /// Output only. + AllocationResourceStatus? resourceStatus; /// Reserved for future use. /// @@ -95648,7 +95719,7 @@ this.id, this.kind, this.name, - this.resourcePolicies, + this.resourceStatus, this.satisfiesPzs, this.selfLink, this.shareSettings, @@ -95672,15 +95743,9 @@ id: json_.containsKey('id') ? json_['id'] as core.String : null, kind: json_.containsKey('kind') ? json_['kind'] as core.String : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, - resourcePolicies: json_.containsKey('resourcePolicies') - ? (json_['resourcePolicies'] - as core.Map<core.String, core.dynamic>) - .map( - (key, item) => core.MapEntry( - key, - item as core.String, - ), - ) + resourceStatus: json_.containsKey('resourceStatus') + ? AllocationResourceStatus.fromJson(json_['resourceStatus'] + as core.Map<core.String, core.dynamic>) : null, satisfiesPzs: json_.containsKey('satisfiesPzs') ? json_['satisfiesPzs'] as core.bool @@ -95714,7 +95779,7 @@ if (id != null) 'id': id!, if (kind != null) 'kind': kind!, if (name != null) 'name': name!, - if (resourcePolicies != null) 'resourcePolicies': resourcePolicies!, + if (resourceStatus != null) 'resourceStatus': resourceStatus!, if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (selfLink != null) 'selfLink': selfLink!, if (shareSettings != null) 'shareSettings': shareSettings!,
diff --git a/generated/googleapis/lib/connectors/v1.dart b/generated/googleapis/lib/connectors/v1.dart index c66562e..9938329 100644 --- a/generated/googleapis/lib/connectors/v1.dart +++ b/generated/googleapis/lib/connectors/v1.dart
@@ -25,6 +25,7 @@ /// - [ProjectsResource] /// - [ProjectsLocationsResource] /// - [ProjectsLocationsConnectionsResource] +/// - [ProjectsLocationsConnectionsConnectionSchemaMetadataResource] /// - [ProjectsLocationsConnectionsRuntimeActionSchemasResource] /// - [ProjectsLocationsConnectionsRuntimeEntitySchemasResource] /// - [ProjectsLocationsOperationsResource] @@ -218,6 +219,10 @@ class ProjectsLocationsConnectionsResource { final commons.ApiRequester _requester; + ProjectsLocationsConnectionsConnectionSchemaMetadataResource + get connectionSchemaMetadata => + ProjectsLocationsConnectionsConnectionSchemaMetadataResource( + _requester); ProjectsLocationsConnectionsRuntimeActionSchemasResource get runtimeActionSchemas => ProjectsLocationsConnectionsRuntimeActionSchemasResource(_requester); @@ -666,6 +671,56 @@ } } +class ProjectsLocationsConnectionsConnectionSchemaMetadataResource { + final commons.ApiRequester _requester; + + ProjectsLocationsConnectionsConnectionSchemaMetadataResource( + commons.ApiRequester client) + : _requester = client; + + /// Refresh runtime schema of a connection. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Resource name. Format: + /// projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+/connectionSchemaMetadata$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> refresh( + RefreshConnectionSchemaMetadataRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':refresh'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } +} + class ProjectsLocationsConnectionsRuntimeActionSchemasResource { final commons.ApiRequester _requester; @@ -1998,7 +2053,7 @@ /// Output only. core.String? name; - /// Configuration for the connection. + /// Node configuration for the connection. /// /// Optional. NodeConfig? nodeConfig; @@ -2313,6 +2368,7 @@ /// - "PREVIEW" : PREVIEW. /// - "GA" : GA. /// - "DEPRECATED" : DEPRECATED. + /// - "PRIVATE_PREVIEW" : PRIVATE_PREVIEW. core.String? launchStage; /// Resource name of the Connector. @@ -2441,6 +2497,7 @@ /// - "PREVIEW" : PREVIEW. /// - "GA" : GA. /// - "DEPRECATED" : DEPRECATED. + /// - "PRIVATE_PREVIEW" : PRIVATE_PREVIEW. core.String? launchStage; /// Resource name of the Version. @@ -3397,7 +3454,7 @@ }; } -/// Configuration for the connection. +/// Node configuration for the connection. class NodeConfig { /// Maximum number of nodes in the runtime nodes. core.int? maxNodeCount; @@ -3737,6 +3794,7 @@ /// - "PREVIEW" : PREVIEW. /// - "GA" : GA. /// - "DEPRECATED" : DEPRECATED. + /// - "PRIVATE_PREVIEW" : PRIVATE_PREVIEW. core.String? launchStage; /// Resource name of the Provider. @@ -3821,6 +3879,9 @@ }; } +/// Request message for ConnectorsService.RefreshConnectionSchemaMetadata. +typedef RefreshConnectionSchemaMetadataRequest = $Empty; + /// Resource definition class Resource { /// Template to uniquely represent a GCP resource in a format IAM expects This
diff --git a/generated/googleapis/lib/contactcenterinsights/v1.dart b/generated/googleapis/lib/contactcenterinsights/v1.dart index 898d2f5..6706d1e 100644 --- a/generated/googleapis/lib/contactcenterinsights/v1.dart +++ b/generated/googleapis/lib/contactcenterinsights/v1.dart
@@ -5415,7 +5415,7 @@ /// Output only. core.String? updateTime; - /// String with specific view properties. + /// String with specific view properties, must be non-empty. core.String? value; GoogleCloudContactcenterinsightsV1View({
diff --git a/generated/googleapis/lib/container/v1.dart b/generated/googleapis/lib/container/v1.dart index a32c4ce..86f7fdf 100644 --- a/generated/googleapis/lib/container/v1.dart +++ b/generated/googleapis/lib/container/v1.dart
@@ -4379,6 +4379,11 @@ /// Output only. core.String? endpoint; + /// This checksum is computed by the server based on the value of cluster + /// fields, and may be sent on update requests to ensure the client has an + /// up-to-date value before proceeding. + core.String? etag; + /// The time the cluster will be automatically deleted in /// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. /// @@ -4667,6 +4672,7 @@ this.enableKubernetesAlpha, this.enableTpu, this.endpoint, + this.etag, this.expireTime, this.id, this.identityServiceConfig, @@ -4786,6 +4792,7 @@ endpoint: json_.containsKey('endpoint') ? json_['endpoint'] as core.String : null, + etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, expireTime: json_.containsKey('expireTime') ? json_['expireTime'] as core.String : null, @@ -4977,6 +4984,7 @@ 'enableKubernetesAlpha': enableKubernetesAlpha!, if (enableTpu != null) 'enableTpu': enableTpu!, if (endpoint != null) 'endpoint': endpoint!, + if (etag != null) 'etag': etag!, if (expireTime != null) 'expireTime': expireTime!, if (id != null) 'id': id!, if (identityServiceConfig != null) @@ -5288,12 +5296,28 @@ /// Configuration for Shielded Nodes. ShieldedNodes? desiredShieldedNodes; + /// The desired stack type of the cluster. + /// + /// If a stack type is provided and does not match the current stack type of + /// the cluster, update will attempt to change the stack type to the new type. + /// Possible string values are: + /// - "STACK_TYPE_UNSPECIFIED" : Default value, will be defaulted as IPV4 only + /// - "IPV4" : Cluster is IPV4 only + /// - "IPV4_IPV6" : Cluster can use both IPv4 and IPv6 + core.String? desiredStackType; + /// Cluster-level Vertical Pod Autoscaling configuration. VerticalPodAutoscaling? desiredVerticalPodAutoscaling; /// Configuration for Workload Identity. WorkloadIdentityConfig? desiredWorkloadIdentityConfig; + /// The current etag of the cluster. + /// + /// If an etag is provided and does not match the current etag of the cluster, + /// update will be blocked and an ABORTED error will be returned. + core.String? etag; + ClusterUpdate({ this.desiredAddonsConfig, this.desiredAuthenticatorGroupsConfig, @@ -5331,8 +5355,10 @@ this.desiredResourceUsageExportConfig, this.desiredServiceExternalIpsConfig, this.desiredShieldedNodes, + this.desiredStackType, this.desiredVerticalPodAutoscaling, this.desiredWorkloadIdentityConfig, + this.etag, }); ClusterUpdate.fromJson(core.Map json_) @@ -5504,6 +5530,9 @@ ? ShieldedNodes.fromJson(json_['desiredShieldedNodes'] as core.Map<core.String, core.dynamic>) : null, + desiredStackType: json_.containsKey('desiredStackType') + ? json_['desiredStackType'] as core.String + : null, desiredVerticalPodAutoscaling: json_.containsKey('desiredVerticalPodAutoscaling') ? VerticalPodAutoscaling.fromJson( @@ -5516,6 +5545,7 @@ json_['desiredWorkloadIdentityConfig'] as core.Map<core.String, core.dynamic>) : null, + etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, ); core.Map<core.String, core.dynamic> toJson() => { @@ -5588,10 +5618,12 @@ 'desiredServiceExternalIpsConfig': desiredServiceExternalIpsConfig!, if (desiredShieldedNodes != null) 'desiredShieldedNodes': desiredShieldedNodes!, + if (desiredStackType != null) 'desiredStackType': desiredStackType!, if (desiredVerticalPodAutoscaling != null) 'desiredVerticalPodAutoscaling': desiredVerticalPodAutoscaling!, if (desiredWorkloadIdentityConfig != null) 'desiredWorkloadIdentityConfig': desiredWorkloadIdentityConfig!, + if (etag != null) 'etag': etag!, }; } @@ -5895,6 +5927,7 @@ /// Possible string values are: /// - "DNS_SCOPE_UNSPECIFIED" : Default value, will be inferred as cluster /// scope. + /// - "CLUSTER_SCOPE" : DNS records are accessible from within the cluster. /// - "VPC_SCOPE" : DNS records are accessible from within the VPC. core.String? clusterDnsScope; @@ -6049,6 +6082,34 @@ /// (google.protobuf.Empty); } typedef Empty = $Empty; +/// EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral +/// storage using Local SSD. +class EphemeralStorageLocalSsdConfig { + /// Number of local SSDs to use to back ephemeral storage. + /// + /// Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means + /// to disable using local SSDs as ephemeral storage. The limit for this value + /// is dependent upon the maximum number of disks available on a machine per + /// zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more + /// information. + core.int? localSsdCount; + + EphemeralStorageLocalSsdConfig({ + this.localSsdCount, + }); + + EphemeralStorageLocalSsdConfig.fromJson(core.Map json_) + : this( + localSsdCount: json_.containsKey('localSsdCount') + ? json_['localSsdCount'] as core.int + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (localSsdCount != null) 'localSsdCount': localSsdCount!, + }; +} + /// Configuration of Fast Socket feature. class FastSocket { /// Whether Fast Socket features are enabled in the node pool. @@ -7029,6 +7090,34 @@ }; } +/// LocalNvmeSsdBlockConfig contains configuration for using raw-block local +/// NVMe SSD. +class LocalNvmeSsdBlockConfig { + /// The number of raw-block local NVMe SSD disks to be attached to the node. + /// + /// Each local SSD is 375 GB in size. If zero, it means no raw-block local + /// NVMe SSD disks to be attached to the node. The limit for this value is + /// dependent upon the maximum number of disks available on a machine per + /// zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more + /// information. + core.int? localSsdCount; + + LocalNvmeSsdBlockConfig({ + this.localSsdCount, + }); + + LocalNvmeSsdBlockConfig.fromJson(core.Map json_) + : this( + localSsdCount: json_.containsKey('localSsdCount') + ? json_['localSsdCount'] as core.int + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (localSsdCount != null) 'localSsdCount': localSsdCount!, + }; +} + /// LoggingComponentConfig is cluster logging component configuration. class LoggingComponentConfig { /// Select components to collect logs. @@ -7829,6 +7918,11 @@ /// 'pd-balanced') If unspecified, the default disk type is 'pd-standard' core.String? diskType; + /// Parameters for the node ephemeral storage using Local SSDs. + /// + /// If unspecified, ephemeral storage is backed by the boot disk. + EphemeralStorageLocalSsdConfig? ephemeralStorageLocalSsdConfig; + /// Enable or disable NCCL fast socket for the node pool. FastSocket? fastSocket; @@ -7859,6 +7953,9 @@ /// Parameters that can be configured on Linux nodes. LinuxNodeConfig? linuxNodeConfig; + /// Parameters for using raw-block Local NVMe SSDs. + LocalNvmeSsdBlockConfig? localNvmeSsdBlockConfig; + /// The number of local SSD disks to be attached to the node. /// /// The limit for this value is dependent upon the maximum number of disks @@ -7968,6 +8065,9 @@ /// https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ core.List<NodeTaint>? taints; + /// Parameters that can be configured on Windows nodes. + WindowsNodeConfig? windowsNodeConfig; + /// The workload metadata configuration for this node. WorkloadMetadataConfig? workloadMetadataConfig; @@ -7978,6 +8078,7 @@ this.confidentialNodes, this.diskSizeGb, this.diskType, + this.ephemeralStorageLocalSsdConfig, this.fastSocket, this.gcfsConfig, this.gvnic, @@ -7985,6 +8086,7 @@ this.kubeletConfig, this.labels, this.linuxNodeConfig, + this.localNvmeSsdBlockConfig, this.localSsdCount, this.loggingConfig, this.machineType, @@ -8001,6 +8103,7 @@ this.spot, this.tags, this.taints, + this.windowsNodeConfig, this.workloadMetadataConfig, }); @@ -8030,6 +8133,12 @@ diskType: json_.containsKey('diskType') ? json_['diskType'] as core.String : null, + ephemeralStorageLocalSsdConfig: + json_.containsKey('ephemeralStorageLocalSsdConfig') + ? EphemeralStorageLocalSsdConfig.fromJson( + json_['ephemeralStorageLocalSsdConfig'] + as core.Map<core.String, core.dynamic>) + : null, fastSocket: json_.containsKey('fastSocket') ? FastSocket.fromJson( json_['fastSocket'] as core.Map<core.String, core.dynamic>) @@ -8061,6 +8170,11 @@ ? LinuxNodeConfig.fromJson(json_['linuxNodeConfig'] as core.Map<core.String, core.dynamic>) : null, + localNvmeSsdBlockConfig: json_.containsKey('localNvmeSsdBlockConfig') + ? LocalNvmeSsdBlockConfig.fromJson( + json_['localNvmeSsdBlockConfig'] + as core.Map<core.String, core.dynamic>) + : null, localSsdCount: json_.containsKey('localSsdCount') ? json_['localSsdCount'] as core.int : null, @@ -8129,6 +8243,10 @@ value as core.Map<core.String, core.dynamic>)) .toList() : null, + windowsNodeConfig: json_.containsKey('windowsNodeConfig') + ? WindowsNodeConfig.fromJson(json_['windowsNodeConfig'] + as core.Map<core.String, core.dynamic>) + : null, workloadMetadataConfig: json_.containsKey('workloadMetadataConfig') ? WorkloadMetadataConfig.fromJson(json_['workloadMetadataConfig'] as core.Map<core.String, core.dynamic>) @@ -8143,6 +8261,8 @@ if (confidentialNodes != null) 'confidentialNodes': confidentialNodes!, if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!, if (diskType != null) 'diskType': diskType!, + if (ephemeralStorageLocalSsdConfig != null) + 'ephemeralStorageLocalSsdConfig': ephemeralStorageLocalSsdConfig!, if (fastSocket != null) 'fastSocket': fastSocket!, if (gcfsConfig != null) 'gcfsConfig': gcfsConfig!, if (gvnic != null) 'gvnic': gvnic!, @@ -8150,6 +8270,8 @@ if (kubeletConfig != null) 'kubeletConfig': kubeletConfig!, if (labels != null) 'labels': labels!, if (linuxNodeConfig != null) 'linuxNodeConfig': linuxNodeConfig!, + if (localNvmeSsdBlockConfig != null) + 'localNvmeSsdBlockConfig': localNvmeSsdBlockConfig!, if (localSsdCount != null) 'localSsdCount': localSsdCount!, if (loggingConfig != null) 'loggingConfig': loggingConfig!, if (machineType != null) 'machineType': machineType!, @@ -8168,6 +8290,7 @@ if (spot != null) 'spot': spot!, if (tags != null) 'tags': tags!, if (taints != null) 'taints': taints!, + if (windowsNodeConfig != null) 'windowsNodeConfig': windowsNodeConfig!, if (workloadMetadataConfig != null) 'workloadMetadataConfig': workloadMetadataConfig!, }; @@ -8425,6 +8548,11 @@ /// The node configuration of the pool. NodeConfig? config; + /// This checksum is computed by the server based on the value of node pool + /// fields, and may be sent on update requests to ensure the client has an + /// up-to-date value before proceeding. + core.String? etag; + /// The initial node count for the pool. /// /// You must ensure that your Compute Engine @@ -8526,6 +8654,7 @@ this.autoscaling, this.conditions, this.config, + this.etag, this.initialNodeCount, this.instanceGroupUrls, this.locations, @@ -8559,6 +8688,7 @@ ? NodeConfig.fromJson( json_['config'] as core.Map<core.String, core.dynamic>) : null, + etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, initialNodeCount: json_.containsKey('initialNodeCount') ? json_['initialNodeCount'] as core.int : null, @@ -8618,6 +8748,7 @@ if (autoscaling != null) 'autoscaling': autoscaling!, if (conditions != null) 'conditions': conditions!, if (config != null) 'config': config!, + if (etag != null) 'etag': etag!, if (initialNodeCount != null) 'initialNodeCount': initialNodeCount!, if (instanceGroupUrls != null) 'instanceGroupUrls': instanceGroupUrls!, if (locations != null) 'locations': locations!, @@ -11269,6 +11400,12 @@ /// All the nodes in the node pool will be Confidential VM once enabled. ConfidentialNodes? confidentialNodes; + /// The current etag of the node pool. + /// + /// If an etag is provided and does not match the current etag of the node + /// pool, update will be blocked and an ABORTED error will be returned. + core.String? etag; + /// Enable or disable NCCL fast socket for the node pool. FastSocket? fastSocket; @@ -11363,6 +11500,9 @@ /// Upgrade settings control disruption and speed of the upgrade. UpgradeSettings? upgradeSettings; + /// Parameters that can be configured on Windows nodes. + WindowsNodeConfig? windowsNodeConfig; + /// The desired workload metadata config for the node pool. WorkloadMetadataConfig? workloadMetadataConfig; @@ -11378,6 +11518,7 @@ UpdateNodePoolRequest({ this.clusterId, this.confidentialNodes, + this.etag, this.fastSocket, this.gcfsConfig, this.gvnic, @@ -11396,6 +11537,7 @@ this.tags, this.taints, this.upgradeSettings, + this.windowsNodeConfig, this.workloadMetadataConfig, this.zone, }); @@ -11409,6 +11551,7 @@ ? ConfidentialNodes.fromJson(json_['confidentialNodes'] as core.Map<core.String, core.dynamic>) : null, + etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, fastSocket: json_.containsKey('fastSocket') ? FastSocket.fromJson( json_['fastSocket'] as core.Map<core.String, core.dynamic>) @@ -11475,6 +11618,10 @@ ? UpgradeSettings.fromJson(json_['upgradeSettings'] as core.Map<core.String, core.dynamic>) : null, + windowsNodeConfig: json_.containsKey('windowsNodeConfig') + ? WindowsNodeConfig.fromJson(json_['windowsNodeConfig'] + as core.Map<core.String, core.dynamic>) + : null, workloadMetadataConfig: json_.containsKey('workloadMetadataConfig') ? WorkloadMetadataConfig.fromJson(json_['workloadMetadataConfig'] as core.Map<core.String, core.dynamic>) @@ -11485,6 +11632,7 @@ core.Map<core.String, core.dynamic> toJson() => { if (clusterId != null) 'clusterId': clusterId!, if (confidentialNodes != null) 'confidentialNodes': confidentialNodes!, + if (etag != null) 'etag': etag!, if (fastSocket != null) 'fastSocket': fastSocket!, if (gcfsConfig != null) 'gcfsConfig': gcfsConfig!, if (gvnic != null) 'gvnic': gvnic!, @@ -11503,6 +11651,7 @@ if (tags != null) 'tags': tags!, if (taints != null) 'taints': taints!, if (upgradeSettings != null) 'upgradeSettings': upgradeSettings!, + if (windowsNodeConfig != null) 'windowsNodeConfig': windowsNodeConfig!, if (workloadMetadataConfig != null) 'workloadMetadataConfig': workloadMetadataConfig!, if (zone != null) 'zone': zone!, @@ -11754,6 +11903,36 @@ }; } +/// Parameters that can be configured on Windows nodes. +/// +/// Windows Node Config that define the parameters that will be used to +/// configure the Windows node pool settings +class WindowsNodeConfig { + /// OSVersion specifies the Windows node config to be used on the node + /// Possible string values are: + /// - "OS_VERSION_UNSPECIFIED" : When OSVersion is not specified + /// - "OS_VERSION_LTSC2019" : LTSC2019 specifies to use LTSC2019 as the + /// Windows Servercore Base Image + /// - "OS_VERSION_LTSC2022" : LTSC2022 specifies to use LTSC2022 as the + /// Windows Servercore Base Image + core.String? osVersion; + + WindowsNodeConfig({ + this.osVersion, + }); + + WindowsNodeConfig.fromJson(core.Map json_) + : this( + osVersion: json_.containsKey('osVersion') + ? json_['osVersion'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (osVersion != null) 'osVersion': osVersion!, + }; +} + /// Configuration for the use of Kubernetes Service Accounts in GCP IAM /// policies. class WorkloadIdentityConfig {
diff --git a/generated/googleapis/lib/content/v2_1.dart b/generated/googleapis/lib/content/v2_1.dart index 138b50e..afe2943 100644 --- a/generated/googleapis/lib/content/v2_1.dart +++ b/generated/googleapis/lib/content/v2_1.dart
@@ -8108,7 +8108,7 @@ /// /// To create a new link request, add a new link with status `active` to the /// list. It will remain in a `pending` state until approved or rejected - /// either in the Ads interface or through the AdWords API. To delete an + /// either in the Ads interface or through the Google Ads API. To delete an /// active link, or to cancel a link request, remove it from the list. core.List<AccountAdsLink>? adsLinks; @@ -22262,10 +22262,10 @@ }; } -/// Required product attributes are primarily defined by the products data +/// Required product attributes are primarily defined by the product data /// specification. /// -/// See the Products Data Specification Help Center article for information. +/// See the Product Data Specification Help Center article for information. /// Product data. After inserting, updating, or deleting a product, it may take /// several minutes before changes take effect. class Product { @@ -22459,6 +22459,12 @@ /// Value: the fixed string "`content#product`" core.String? kind; + /// Additional URLs of lifestyle images of the item, used to explicitly + /// identify images that showcase your item in a real-world context. + /// + /// See the Help Center article for more information. + core.List<core.String>? lifestyleImageLinks; + /// URL directly linking to your item's page on your website. core.String? link; @@ -22548,7 +22554,7 @@ /// The value must be between 0 (exclusive) and 3000 (inclusive). ProductDimension? productLength; - /// Categories of the item (formatted as in products data specification). + /// Categories of the item (formatted as in product data specification). core.List<core.String>? productTypes; /// The weight of the product in the units provided. @@ -22567,7 +22573,7 @@ /// Advertised sale price of the item. Price? salePrice; - /// Date range during which the item is on sale (see products data + /// Date range during which the item is on sale (see product data /// specification ). core.String? salePriceEffectiveDate; @@ -22698,6 +22704,7 @@ this.isBundle, this.itemGroupId, this.kind, + this.lifestyleImageLinks, this.link, this.linkTemplate, this.loyaltyPoints, @@ -22888,6 +22895,11 @@ ? json_['itemGroupId'] as core.String : null, kind: json_.containsKey('kind') ? json_['kind'] as core.String : null, + lifestyleImageLinks: json_.containsKey('lifestyleImageLinks') + ? (json_['lifestyleImageLinks'] as core.List) + .map((value) => value as core.String) + .toList() + : null, link: json_.containsKey('link') ? json_['link'] as core.String : null, linkTemplate: json_.containsKey('linkTemplate') ? json_['linkTemplate'] as core.String @@ -23117,6 +23129,8 @@ if (isBundle != null) 'isBundle': isBundle!, if (itemGroupId != null) 'itemGroupId': itemGroupId!, if (kind != null) 'kind': kind!, + if (lifestyleImageLinks != null) + 'lifestyleImageLinks': lifestyleImageLinks!, if (link != null) 'link': link!, if (linkTemplate != null) 'linkTemplate': linkTemplate!, if (loyaltyPoints != null) 'loyaltyPoints': loyaltyPoints!, @@ -23590,7 +23604,7 @@ core.String? locationGroupName; /// The numeric ID of a location that the shipping rate applies to as defined - /// in the AdWords API. + /// in the Google Ads API. core.String? locationId; /// Maximum handling time (inclusive) between when the order is received and @@ -24040,7 +24054,7 @@ core.String? country; /// The numeric ID of a location that the tax rate applies to as defined in - /// the AdWords API. + /// the Google Ads API. core.String? locationId; /// The postal code range that the tax rate applies to, represented by a ZIP @@ -25224,6 +25238,11 @@ /// Required. core.String? promotionId; + /// The current status of the promotion. + /// + /// Output only. + PromotionPromotionStatus? promotionStatus; + /// URL to the page on the merchant's site where the promotion shows. /// /// Local Inventory ads promotions throw an error if no promo url is included. @@ -25300,6 +25319,7 @@ this.promotionEffectiveDates, this.promotionEffectiveTimePeriod, this.promotionId, + this.promotionStatus, this.promotionUrl, this.redemptionChannel, this.shippingServiceNames, @@ -25436,6 +25456,10 @@ promotionId: json_.containsKey('promotionId') ? json_['promotionId'] as core.String : null, + promotionStatus: json_.containsKey('promotionStatus') + ? PromotionPromotionStatus.fromJson(json_['promotionStatus'] + as core.Map<core.String, core.dynamic>) + : null, promotionUrl: json_.containsKey('promotionUrl') ? json_['promotionUrl'] as core.String : null, @@ -25514,6 +25538,7 @@ if (promotionEffectiveTimePeriod != null) 'promotionEffectiveTimePeriod': promotionEffectiveTimePeriod!, if (promotionId != null) 'promotionId': promotionId!, + if (promotionStatus != null) 'promotionStatus': promotionStatus!, if (promotionUrl != null) 'promotionUrl': promotionUrl!, if (redemptionChannel != null) 'redemptionChannel': redemptionChannel!, if (shippingServiceNames != null) @@ -25527,6 +25552,129 @@ }; } +/// The status of the promotion. +class PromotionPromotionStatus { + /// Date on which the promotion has been created in + /// [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and + /// offset, for example "2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z" + core.String? creationDate; + + /// The intended destinations for the promotion. + core.List<PromotionPromotionStatusDestinationStatus>? destinationStatuses; + + /// Date on which the promotion status has been last updated in + /// [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and + /// offset, for example "2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z" + core.String? lastUpdateDate; + + /// A list of issues associated with the promotion. + core.List<PromotionPromotionStatusPromotionIssue>? promotionIssue; + + PromotionPromotionStatus({ + this.creationDate, + this.destinationStatuses, + this.lastUpdateDate, + this.promotionIssue, + }); + + PromotionPromotionStatus.fromJson(core.Map json_) + : this( + creationDate: json_.containsKey('creationDate') + ? json_['creationDate'] as core.String + : null, + destinationStatuses: json_.containsKey('destinationStatuses') + ? (json_['destinationStatuses'] as core.List) + .map((value) => + PromotionPromotionStatusDestinationStatus.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + lastUpdateDate: json_.containsKey('lastUpdateDate') + ? json_['lastUpdateDate'] as core.String + : null, + promotionIssue: json_.containsKey('promotionIssue') + ? (json_['promotionIssue'] as core.List) + .map((value) => + PromotionPromotionStatusPromotionIssue.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (creationDate != null) 'creationDate': creationDate!, + if (destinationStatuses != null) + 'destinationStatuses': destinationStatuses!, + if (lastUpdateDate != null) 'lastUpdateDate': lastUpdateDate!, + if (promotionIssue != null) 'promotionIssue': promotionIssue!, + }; +} + +/// The destination status of the promotion. +class PromotionPromotionStatusDestinationStatus { + /// The name of the destination. + core.String? destination; + + /// The status for the specified destination. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : Unknown promotion state. + /// - "IN_REVIEW" : The promotion is under review. + /// - "REJECTED" : The promotion is disapproved + /// - "LIVE" : The promotion is approved and active. + /// - "STOPPED" : The promotion is stopped by merchant. + /// - "EXPIRED" : The promotion is no longer active. + /// - "PENDING" : The promotion is not stopped, and all reviews are approved, + /// but the active date is in the future. + core.String? status; + + PromotionPromotionStatusDestinationStatus({ + this.destination, + this.status, + }); + + PromotionPromotionStatusDestinationStatus.fromJson(core.Map json_) + : this( + destination: json_.containsKey('destination') + ? json_['destination'] as core.String + : null, + status: json_.containsKey('status') + ? json_['status'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (destination != null) 'destination': destination!, + if (status != null) 'status': status!, + }; +} + +/// The issue associated with the promotion. +class PromotionPromotionStatusPromotionIssue { + /// Code of the issue. + core.String? code; + + /// Explanation of the issue. + core.String? detail; + + PromotionPromotionStatusPromotionIssue({ + this.code, + this.detail, + }); + + PromotionPromotionStatusPromotionIssue.fromJson(core.Map json_) + : this( + code: json_.containsKey('code') ? json_['code'] as core.String : null, + detail: json_.containsKey('detail') + ? json_['detail'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (code != null) 'code': code!, + if (detail != null) 'detail': detail!, + }; +} + /// Settings for Pub/Sub notifications, all methods require that the caller is a /// direct user of the merchant center account. class PubsubNotificationSettings { @@ -26423,7 +26571,7 @@ /// Represents a repricing rule. /// /// A repricing rule is used by shopping serving to adjust transactable offer -/// prices if conditions are met. Next ID: 24 +/// prices if conditions are met. class RepricingRule { /// The rule definition for TYPE_COGS_BASED. ///
diff --git a/generated/googleapis/lib/contentwarehouse/v1.dart b/generated/googleapis/lib/contentwarehouse/v1.dart index 3515d7e..ce992be 100644 --- a/generated/googleapis/lib/contentwarehouse/v1.dart +++ b/generated/googleapis/lib/contentwarehouse/v1.dart
@@ -12,7 +12,7 @@ // ignore_for_file: unnecessary_lambdas // ignore_for_file: unnecessary_string_interpolations -/// contentwarehouse API - v1 +/// Document AI Warehouse API - v1 /// /// For more information, see <https://cloud.google.com/document-warehouse> /// @@ -24,6 +24,7 @@ /// - [ProjectsLocationsDocumentsResource] /// - [ProjectsLocationsDocumentsDocumentLinksResource] /// - [ProjectsLocationsDocumentsReferenceIdResource] +/// - [ProjectsLocationsOperationsResource] /// - [ProjectsLocationsRuleSetsResource] /// - [ProjectsLocationsSynonymSetsResource] library contentwarehouse.v1; @@ -116,7 +117,16 @@ /// Sets the access control policy for a resource. /// - /// Replaces any existing policy. + /// Replaces any existing policy. You can set ACL with condition for projects + /// only. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where + /// the left of the operator is `DocumentSchemaId` or property name and the + /// right of the operator is a number or a quoted string. You must escape + /// backslash (\\) and quote (\") characters. Boolean expressions (AND/OR) are + /// supported up to 3 levels of nesting (for example, "((A AND B AND C) OR D) + /// AND E"), a maximum of 10 comparisons are allowed in the expression. The + /// expression must be \< 6000 bytes in length. Sample condition: + /// `"DocumentSchemaId = \"some schema id\" " OR SchemaId.floatPropertyName >= + /// 10` /// /// [request] - The metadata request object. /// @@ -168,6 +178,8 @@ ProjectsLocationsDocumentSchemasResource(_requester); ProjectsLocationsDocumentsResource get documents => ProjectsLocationsDocumentsResource(_requester); + ProjectsLocationsOperationsResource get operations => + ProjectsLocationsOperationsResource(_requester); ProjectsLocationsRuleSetsResource get ruleSets => ProjectsLocationsRuleSetsResource(_requester); ProjectsLocationsSynonymSetsResource get synonymSets => @@ -825,7 +837,16 @@ /// Sets the access control policy for a resource. /// - /// Replaces any existing policy. + /// Replaces any existing policy. You can set ACL with condition for projects + /// only. Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where + /// the left of the operator is `DocumentSchemaId` or property name and the + /// right of the operator is a number or a quoted string. You must escape + /// backslash (\\) and quote (\") characters. Boolean expressions (AND/OR) are + /// supported up to 3 levels of nesting (for example, "((A AND B AND C) OR D) + /// AND E"), a maximum of 10 comparisons are allowed in the expression. The + /// expression must be \< 6000 bytes in length. Sample condition: + /// `"DocumentSchemaId = \"some schema id\" " OR SchemaId.floatPropertyName >= + /// 10` /// /// [request] - The metadata request object. /// @@ -1111,6 +1132,53 @@ } } +class ProjectsLocationsOperationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsOperationsResource(commons.ApiRequester client) + : _requester = client; + + /// 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. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleLongrunningOperation> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleLongrunningOperation.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + class ProjectsLocationsRuleSetsResource { final commons.ApiRequester _requester; @@ -1571,7 +1639,7 @@ class GoogleCloudContentwarehouseV1AccessControlAction { /// Identifies the type of operation. /// Possible string values are: - /// - "UNKNOWN" + /// - "UNKNOWN" : The unknown operation type. /// - "ADD_POLICY_BINDING" : Adds newly given policy bindings in the existing /// bindings list. /// - "REMOVE_POLICY_BINDING" : Removes newly given policy bindings from the @@ -1732,7 +1800,7 @@ /// State of an action. /// Possible string values are: - /// - "UNKNOWN" + /// - "UNKNOWN" : The unknown state. /// - "ACTION_SUCCEEDED" : State indicating action executed successfully. /// - "ACTION_FAILED" : State indicating action failed. /// - "ACTION_TIMED_OUT" : State indicating action timed out. @@ -1873,14 +1941,18 @@ /// Request message for DocumentService.CreateDocument. class GoogleCloudContentwarehouseV1CreateDocumentRequest { - /// Request Option for processing Cloud AI Document in CW Document. + /// Request Option for processing Cloud AI Document in Document Warehouse. + /// + /// This field offers limited support for mapping entities from Cloud AI + /// Document to Warehouse Document. Please consult with product team before + /// using this field and other available options. GoogleCloudContentwarehouseV1CloudAIDocumentOption? cloudAiDocumentOption; /// Field mask for creating Document fields. /// /// If mask path is empty, it means all fields are masked. For the `FieldMask` /// definition, see - /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. core.String? createMask; /// The document to create. @@ -1890,7 +1962,9 @@ /// Default document policy during creation. /// - /// Conditions defined in the policy will be ignored. + /// This refers to an Identity and Access (IAM) policy, which specifies access + /// controls for the Document. Conditions defined in the policy will be + /// ignored. GoogleIamV1Policy? policy; /// The meta information collected about the end user, used to enforce access @@ -1985,6 +2059,37 @@ }; } +/// To support the custom weighting across document schemas. +class GoogleCloudContentwarehouseV1CustomWeightsMetadata { + /// List of schema and property name. + /// + /// Allows a maximum of 10 schemas to be specified for relevance boosting. + core.List<GoogleCloudContentwarehouseV1WeightedSchemaProperty>? + weightedSchemaProperties; + + GoogleCloudContentwarehouseV1CustomWeightsMetadata({ + this.weightedSchemaProperties, + }); + + GoogleCloudContentwarehouseV1CustomWeightsMetadata.fromJson(core.Map json_) + : this( + weightedSchemaProperties: json_ + .containsKey('weightedSchemaProperties') + ? (json_['weightedSchemaProperties'] as core.List) + .map((value) => + GoogleCloudContentwarehouseV1WeightedSchemaProperty + .fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (weightedSchemaProperties != null) + 'weightedSchemaProperties': weightedSchemaProperties!, + }; +} + /// Represents the action responsible for properties update operations. class GoogleCloudContentwarehouseV1DataUpdateAction { /// Map of (K, V) -\> (valid name of the field, new value of the field) E.g., @@ -2149,9 +2254,6 @@ /// Defines the structure for content warehouse document proto. class GoogleCloudContentwarehouseV1Document { - /// If true, makes the document visible to asynchronous policies and rules. - core.bool? asyncEnabled; - /// Document AI format to save the structured content, including OCR. GoogleCloudDocumentaiV1Document? cloudAiDocument; @@ -2235,16 +2337,15 @@ /// Must be unique per project and location. core.String? referenceId; - /// A path linked to structured content file. - core.String? structuredContentUri; - /// If true, text extraction will not be performed. core.bool? textExtractionDisabled; + /// If true, text extraction will be performed. + core.bool? textExtractionEnabled; + /// Title that describes the document. /// - /// This is usually present in the top section of the document, and is a - /// mandatory field for the question-answering feature. + /// This can be the top heading or text that describes the document. core.String? title; /// The time when the document is last updated. @@ -2256,7 +2357,6 @@ core.String? updater; GoogleCloudContentwarehouseV1Document({ - this.asyncEnabled, this.cloudAiDocument, this.contentCategory, this.createTime, @@ -2271,8 +2371,8 @@ this.rawDocumentFileType, this.rawDocumentPath, this.referenceId, - this.structuredContentUri, this.textExtractionDisabled, + this.textExtractionEnabled, this.title, this.updateTime, this.updater, @@ -2280,9 +2380,6 @@ GoogleCloudContentwarehouseV1Document.fromJson(core.Map json_) : this( - asyncEnabled: json_.containsKey('asyncEnabled') - ? json_['asyncEnabled'] as core.bool - : null, cloudAiDocument: json_.containsKey('cloudAiDocument') ? GoogleCloudDocumentaiV1Document.fromJson( json_['cloudAiDocument'] @@ -2329,12 +2426,12 @@ referenceId: json_.containsKey('referenceId') ? json_['referenceId'] as core.String : null, - structuredContentUri: json_.containsKey('structuredContentUri') - ? json_['structuredContentUri'] as core.String - : null, textExtractionDisabled: json_.containsKey('textExtractionDisabled') ? json_['textExtractionDisabled'] as core.bool : null, + textExtractionEnabled: json_.containsKey('textExtractionEnabled') + ? json_['textExtractionEnabled'] as core.bool + : null, title: json_.containsKey('title') ? json_['title'] as core.String : null, updateTime: json_.containsKey('updateTime') @@ -2346,7 +2443,6 @@ ); core.Map<core.String, core.dynamic> toJson() => { - if (asyncEnabled != null) 'asyncEnabled': asyncEnabled!, if (cloudAiDocument != null) 'cloudAiDocument': cloudAiDocument!, if (contentCategory != null) 'contentCategory': contentCategory!, if (createTime != null) 'createTime': createTime!, @@ -2363,10 +2459,10 @@ 'rawDocumentFileType': rawDocumentFileType!, if (rawDocumentPath != null) 'rawDocumentPath': rawDocumentPath!, if (referenceId != null) 'referenceId': referenceId!, - if (structuredContentUri != null) - 'structuredContentUri': structuredContentUri!, if (textExtractionDisabled != null) 'textExtractionDisabled': textExtractionDisabled!, + if (textExtractionEnabled != null) + 'textExtractionEnabled': textExtractionEnabled!, if (title != null) 'title': title!, if (updateTime != null) 'updateTime': updateTime!, if (updater != null) 'updater': updater!, @@ -2481,6 +2577,15 @@ /// driving_years > 10` core.String? customPropertyFilter; + /// To support the custom weighting across document schemas, customers need to + /// provide the properties to be used to boost the ranking in the search + /// request. + /// + /// For a search query with CustomWeightsMetadata specified, only the + /// RetrievalImportance for the properties in the CustomWeightsMetadata will + /// be honored. + GoogleCloudContentwarehouseV1CustomWeightsMetadata? customWeightsMetadata; + /// The exact creator(s) of the documents to search against. /// /// If a value isn't specified, documents within the search results are @@ -2529,7 +2634,33 @@ /// The query string that matches against the full text of the document and /// the searchable properties. /// - /// The maximum number of allowed characters is 255. + /// The query partially supports + /// [Google AIP style syntax](https://google.aip.dev/160). Specifically, the + /// query supports literals, logical operators, negation operators, comparison + /// operators, and functions. Literals: A bare literal value (examples: "42", + /// "Hugo") is a value to be matched against. It searches over the full text + /// of the document and the searchable properties. Logical operators: "AND", + /// "and", "OR", and "or" are binary logical operators (example: "engineer OR + /// developer"). Negation operators: "NOT" and "!" are negation operators + /// (example: "NOT software"). Comparison operators: support the binary + /// comparison operators =, !=, \<, \>, \<= and \>= for string, numeric, enum, + /// boolean. Also support like operator `~~` for string. It provides semantic + /// search functionality by parsing, stemming and doing synonyms expansion + /// against the input query. To specify a property in the query, the left hand + /// side expression in the comparison must be the property ID including the + /// parent. The right hand side must be literals. For example: + /// "\"projects/123/locations/us\".property_a \< 1" matches results whose + /// "property_a" is less than 1 in project 123 and us location. The literals + /// and comparison expression can be connected in a single query (example: + /// "software engineer \"projects/123/locations/us\".salary \> 100"). + /// Functions: supported functions are `LOWER([property_name])` to perform a + /// case insensitive match and `EMPTY([property_name])` to filter on the + /// existence of a key. Support nested expressions connected using parenthesis + /// and logical operators. The default logical operators is `AND` if there is + /// no operators between expressions. The query can be used with other filters + /// e.g. `time_filters` and `folder_name_filter`. They are connected with + /// `AND` operator under the hood. The maximum number of allowed characters is + /// 255. core.String? query; /// For custom synonyms. @@ -2547,6 +2678,7 @@ GoogleCloudContentwarehouseV1DocumentQuery({ this.customPropertyFilter, + this.customWeightsMetadata, this.documentCreatorFilter, this.documentSchemaNames, this.fileTypeFilter, @@ -2563,6 +2695,11 @@ customPropertyFilter: json_.containsKey('customPropertyFilter') ? json_['customPropertyFilter'] as core.String : null, + customWeightsMetadata: json_.containsKey('customWeightsMetadata') + ? GoogleCloudContentwarehouseV1CustomWeightsMetadata.fromJson( + json_['customWeightsMetadata'] + as core.Map<core.String, core.dynamic>) + : null, documentCreatorFilter: json_.containsKey('documentCreatorFilter') ? (json_['documentCreatorFilter'] as core.List) .map((value) => value as core.String) @@ -2610,6 +2747,8 @@ core.Map<core.String, core.dynamic> toJson() => { if (customPropertyFilter != null) 'customPropertyFilter': customPropertyFilter!, + if (customWeightsMetadata != null) + 'customWeightsMetadata': customWeightsMetadata!, if (documentCreatorFilter != null) 'documentCreatorFilter': documentCreatorFilter!, if (documentSchemaNames != null) @@ -2718,7 +2857,7 @@ /// Name of the schema given by the user. /// - /// Must be unique per customer. + /// Must be unique per project. /// /// Required. core.String? displayName; @@ -3189,6 +3328,20 @@ /// - "DB_CLOUD_SQL_POSTGRES" : Cloud Sql with a Postgres Sql instance core.String? databaseType; + /// The default role for the person who create a document. + /// + /// Optional. + /// Possible string values are: + /// - "DOCUMENT_CREATOR_DEFAULT_ROLE_UNSPECIFIED" : Unspecified, will be + /// default to document admin role. + /// - "DOCUMENT_ADMIN" : Document Admin, same as + /// contentwarehouse.googleapis.com/documentAdmin. + /// - "DOCUMENT_EDITOR" : Document Editor, same as + /// contentwarehouse.googleapis.com/documentEditor. + /// - "DOCUMENT_VIEWER" : Document Viewer, same as + /// contentwarehouse.googleapis.com/documentViewer. + core.String? documentCreatorDefaultRole; + /// The KMS key used for CMEK encryption. /// /// It is required that the kms key is in the same region as the endpoint. The @@ -3201,6 +3354,7 @@ GoogleCloudContentwarehouseV1InitializeProjectRequest({ this.accessControlMode, this.databaseType, + this.documentCreatorDefaultRole, this.kmsKey, }); @@ -3212,6 +3366,10 @@ databaseType: json_.containsKey('databaseType') ? json_['databaseType'] as core.String : null, + documentCreatorDefaultRole: + json_.containsKey('documentCreatorDefaultRole') + ? json_['documentCreatorDefaultRole'] as core.String + : null, kmsKey: json_.containsKey('kmsKey') ? json_['kmsKey'] as core.String : null, @@ -3220,6 +3378,8 @@ core.Map<core.String, core.dynamic> toJson() => { if (accessControlMode != null) 'accessControlMode': accessControlMode!, if (databaseType != null) 'databaseType': databaseType!, + if (documentCreatorDefaultRole != null) + 'documentCreatorDefaultRole': documentCreatorDefaultRole!, if (kmsKey != null) 'kmsKey': kmsKey!, }; } @@ -3756,6 +3916,10 @@ core.bool? isFilterable; /// Whether the property is user supplied metadata. + /// + /// This out-of-the box placeholder setting can be used to tag derived + /// properties. Its value and interpretation logic should be implemented by + /// API user. core.bool? isMetadata; /// Whether the property can have multiple values. @@ -3785,6 +3949,18 @@ /// Nested structured data property. GoogleCloudContentwarehouseV1PropertyTypeOptions? propertyTypeOptions; + /// The retrieval importance of the property during search. + /// Possible string values are: + /// - "RETRIEVAL_IMPORTANCE_UNSPECIFIED" : No importance specified. Default + /// medium importance. + /// - "HIGHEST" : Highest importance. + /// - "HIGHER" : Higher importance. + /// - "HIGH" : High importance. + /// - "MEDIUM" : Medium importance. + /// - "LOW" : Low importance (negative). + /// - "LOWEST" : Lowest importance (negative). + core.String? retrievalImportance; + /// Text/string property. GoogleCloudContentwarehouseV1TextTypeOptions? textTypeOptions; @@ -3807,6 +3983,7 @@ this.mapTypeOptions, this.name, this.propertyTypeOptions, + this.retrievalImportance, this.textTypeOptions, this.timestampTypeOptions, }); @@ -3862,6 +4039,9 @@ json_['propertyTypeOptions'] as core.Map<core.String, core.dynamic>) : null, + retrievalImportance: json_.containsKey('retrievalImportance') + ? json_['retrievalImportance'] as core.String + : null, textTypeOptions: json_.containsKey('textTypeOptions') ? GoogleCloudContentwarehouseV1TextTypeOptions.fromJson( json_['textTypeOptions'] @@ -3891,6 +4071,8 @@ if (name != null) 'name': name!, if (propertyTypeOptions != null) 'propertyTypeOptions': propertyTypeOptions!, + if (retrievalImportance != null) + 'retrievalImportance': retrievalImportance!, if (textTypeOptions != null) 'textTypeOptions': textTypeOptions!, if (timestampTypeOptions != null) 'timestampTypeOptions': timestampTypeOptions!, @@ -4184,7 +4366,7 @@ /// Identifies the trigger type for running the policy. /// Possible string values are: - /// - "UNKNOWN" + /// - "UNKNOWN" : Trigger for unknown action. /// - "ON_CREATE" : Trigger for create document action. /// - "ON_UPDATE" : Trigger for update document action. core.String? triggerType; @@ -4450,7 +4632,10 @@ /// desc"`: By relevance descending, as determined by the API algorithms. * /// `"upload_date desc"`: By upload date descending. * `"upload_date"`: By /// upload date ascending. * `"update_date desc"`: By last updated date - /// descending. * `"update_date"`: By last updated date ascending. + /// descending. * `"update_date"`: By last updated date ascending. * + /// `"retrieval_importance desc"`: By retrieval importance of properties + /// descending. This feature is still under development, please do not use + /// unless otherwise instructed to do so. core.String? orderBy; /// A limit on the number of documents returned in the search results. @@ -4483,16 +4668,12 @@ /// impact performance. Hint: If this is used with pagination, set this flag /// on the initial query but set this to false on subsequent page calls (keep /// the total count locally). Defaults to false. - /// - /// Optional. core.bool? requireTotalSize; /// Controls if the search document request requires the return of a total /// size of matched documents. /// /// See SearchDocumentsResponse.total_size. - /// - /// Optional. /// Possible string values are: /// - "TOTAL_RESULT_SIZE_UNSPECIFIED" : Total number calculation will be /// skipped. @@ -4705,7 +4886,9 @@ class GoogleCloudContentwarehouseV1SetAclRequest { /// REQUIRED: The complete policy to be applied to the `resource`. /// - /// The size of the policy is limited to a few 10s of KB. + /// The size of the policy is limited to a few 10s of KB. This refers to an + /// Identity and Access (IAM) policy, which specifies access controls for the + /// Document. /// /// Required. GoogleIamV1Policy? policy; @@ -4976,7 +5159,11 @@ /// Request message for DocumentService.UpdateDocument. class GoogleCloudContentwarehouseV1UpdateDocumentRequest { - /// Request Option for processing Cloud AI Document in CW Document. + /// Request Option for processing Cloud AI Document in Document Warehouse. + /// + /// This field offers limited support for mapping entities from Cloud AI + /// Document to Warehouse Document. Please consult with product team before + /// using this field and other available options. GoogleCloudContentwarehouseV1CloudAIDocumentOption? cloudAiDocumentOption; /// The document to update. @@ -5179,6 +5366,7 @@ }; } +/// The user information. class GoogleCloudContentwarehouseV1UserInfo { /// The unique group identifications which the user is belong to. /// @@ -5290,6 +5478,38 @@ }; } +/// Specifies the schema property name. +class GoogleCloudContentwarehouseV1WeightedSchemaProperty { + /// The document schema name. + core.String? documentSchemaName; + + /// The property definition names in the schema. + core.List<core.String>? propertyNames; + + GoogleCloudContentwarehouseV1WeightedSchemaProperty({ + this.documentSchemaName, + this.propertyNames, + }); + + GoogleCloudContentwarehouseV1WeightedSchemaProperty.fromJson(core.Map json_) + : this( + documentSchemaName: json_.containsKey('documentSchemaName') + ? json_['documentSchemaName'] as core.String + : null, + propertyNames: json_.containsKey('propertyNames') + ? (json_['propertyNames'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (documentSchemaName != null) + 'documentSchemaName': documentSchemaName!, + if (propertyNames != null) 'propertyNames': propertyNames!, + }; +} + /// Encodes the detailed information of a barcode. typedef GoogleCloudDocumentaiV1Barcode = $GoogleCloudDocumentaiV1Barcode; @@ -5395,8 +5615,6 @@ /// may not overlap with each other. core.List<GoogleCloudDocumentaiV1DocumentTextChange>? textChanges; - /// Placeholder. - /// /// Styles for the Document.text. core.List<GoogleCloudDocumentaiV1DocumentStyle>? textStyles; @@ -5686,11 +5904,11 @@ /// /// For some entity types, one of respective `structured_value` fields may /// also be populated. Also not all the types of `structured_value` will be - /// normalized. For example, some processors may not generate float or int - /// normalized text by default. Below are sample formats mapped to structured - /// values. - Money/Currency type (`money_value`) is in the ISO 4217 text - /// format. - Date type (`date_value`) is in the ISO 8601 text format. - - /// Datetime type (`datetime_value`) is in the ISO 8601 text format. + /// normalized. For example, some processors may not generate `float` or + /// `integer` normalized text by default. Below are sample formats mapped to + /// structured values. - Money/Currency type (`money_value`) is in the ISO + /// 4217 text format. - Date type (`date_value`) is in the ISO 8601 text + /// format. - Datetime type (`datetime_value`) is in the ISO 8601 text format. /// /// Optional. core.String? text; @@ -6032,10 +6250,10 @@ /// - "FORM_FIELD" : References a Page.form_fields element. core.String? layoutType; - /// Index into the Document.pages element, for example using Document.pages to - /// locate the related page element. + /// Index into the Document.pages element, for example using `Document.pages` + /// to locate the related page element. /// - /// This field is skipped when its value is the default 0. See + /// This field is skipped when its value is the default `0`. See /// https://developers.google.com/protocol-buffers/docs/proto3#json. /// /// Required. @@ -6196,8 +6414,8 @@ /// If the value is non-textual, this field represents the type. /// - /// Current valid values are: - blank (this indicates the field_value is - /// normal text) - "unfilled_checkbox" - "filled_checkbox" + /// Current valid values are: - blank (this indicates the `field_value` is + /// normal text) - `unfilled_checkbox` - `filled_checkbox` core.String? valueType; GoogleCloudDocumentaiV1DocumentPageFormField({
diff --git a/generated/googleapis/lib/datacatalog/v1.dart b/generated/googleapis/lib/datacatalog/v1.dart index 1873413..1277cde 100644 --- a/generated/googleapis/lib/datacatalog/v1.dart +++ b/generated/googleapis/lib/datacatalog/v1.dart
@@ -29,6 +29,7 @@ /// - [ProjectsLocationsEntryGroupsEntriesResource] /// - [ProjectsLocationsEntryGroupsEntriesTagsResource] /// - [ProjectsLocationsEntryGroupsTagsResource] +/// - [ProjectsLocationsOperationsResource] /// - [ProjectsLocationsTagTemplatesResource] /// - [ProjectsLocationsTagTemplatesFieldsResource] /// - [ProjectsLocationsTagTemplatesFieldsEnumValuesResource] @@ -210,6 +211,8 @@ ProjectsLocationsEntryGroupsResource get entryGroups => ProjectsLocationsEntryGroupsResource(_requester); + ProjectsLocationsOperationsResource get operations => + ProjectsLocationsOperationsResource(_requester); ProjectsLocationsTagTemplatesResource get tagTemplates => ProjectsLocationsTagTemplatesResource(_requester); ProjectsLocationsTaxonomiesResource get taxonomies => @@ -842,6 +845,55 @@ return Policy.fromJson(response_ as core.Map<core.String, core.dynamic>); } + /// Imports entries from some source (e.g. dump in a Cloud Storage bucket) to + /// the Data Catalog. + /// + /// Dump here is a snapshot of the third-party system state, that needs to be + /// ingested in the Data Catalog. Import of entries is a sync operation that + /// reconciles state of the third-party system and Data Catalog. ImportEntries + /// is a long-running operation done in the background, so this method returns + /// long-running operation resource. The resource can be queried with + /// Operations.GetOperation which contains metadata and response. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Target entry group for ingested entries. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/entryGroups/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> import( + GoogleCloudDatacatalogV1ImportEntriesRequest request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/entries:import'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + /// Lists entries. /// /// Note: Currently, this method can list only custom entries. To get a list @@ -1595,6 +1647,194 @@ } } +class ProjectsLocationsOperationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsOperationsResource(commons.ApiRequester client) + : _requester = client; + + /// 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`. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be cancelled. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Empty> cancel( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':cancel'; + + final response_ = await _requester.request( + url_, + 'POST', + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// 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`. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be deleted. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Empty> delete( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// 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. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Lists operations that match the specified filter in the request. + /// + /// If the server doesn't support this method, it returns `UNIMPLEMENTED`. + /// NOTE: the `name` binding allows API services to override the binding to + /// use different resource name schemes, such as `users / * /operations`. To + /// override the binding, API services can add a binding such as + /// `"/v1/{name=users / * }/operations"` to their service configuration. For + /// backwards compatibility, the default name includes the operations + /// collection id, however overriding users must ensure the name binding is + /// the parent resource, without the operations collection id. + /// + /// Request parameters: + /// + /// [name] - The name of the operation's parent resource. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - The standard list filter. + /// + /// [pageSize] - The standard list page size. + /// + /// [pageToken] - The standard list page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListOperationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListOperationsResponse> list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + '/operations'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListOperationsResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + class ProjectsLocationsTagTemplatesResource { final commons.ApiRequester _requester; @@ -3499,6 +3739,11 @@ /// Required. core.String? column; + /// Default value for the column. + /// + /// Optional. + core.String? defaultValue; + /// Description of the column. /// /// Default value is an empty string. The description must be a UTF-8 string @@ -3514,6 +3759,20 @@ /// Optional. core.String? gcRule; + /// Most important inclusion of this column. + /// + /// Optional. + /// Possible string values are: + /// - "INDEXING_TYPE_UNSPECIFIED" : Unspecified. + /// - "INDEXING_TYPE_NONE" : Column not a part of an index. + /// - "INDEXING_TYPE_NON_UNIQUE" : Column Part of non unique index. + /// - "INDEXING_TYPE_UNIQUE" : Column part of unique index. + /// - "INDEXING_TYPE_PRIMARY_KEY" : Column part of the primary key. + core.String? highestIndexingType; + + /// Looker specific column info of this column. + GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec? lookerColumnSpec; + /// A column's mode indicates whether values in this column are required, /// nullable, or repeated. /// @@ -3523,6 +3782,11 @@ /// Optional. core.String? mode; + /// Ordinal position + /// + /// Optional. + core.int? ordinalPosition; + /// Schema of sub-columns. /// /// A column can have zero or more sub-columns. @@ -3539,9 +3803,13 @@ GoogleCloudDatacatalogV1ColumnSchema({ this.column, + this.defaultValue, this.description, this.gcRule, + this.highestIndexingType, + this.lookerColumnSpec, this.mode, + this.ordinalPosition, this.subcolumns, this.type, }); @@ -3551,13 +3819,27 @@ column: json_.containsKey('column') ? json_['column'] as core.String : null, + defaultValue: json_.containsKey('defaultValue') + ? json_['defaultValue'] as core.String + : null, description: json_.containsKey('description') ? json_['description'] as core.String : null, gcRule: json_.containsKey('gcRule') ? json_['gcRule'] as core.String : null, + highestIndexingType: json_.containsKey('highestIndexingType') + ? json_['highestIndexingType'] as core.String + : null, + lookerColumnSpec: json_.containsKey('lookerColumnSpec') + ? GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec.fromJson( + json_['lookerColumnSpec'] + as core.Map<core.String, core.dynamic>) + : null, mode: json_.containsKey('mode') ? json_['mode'] as core.String : null, + ordinalPosition: json_.containsKey('ordinalPosition') + ? json_['ordinalPosition'] as core.int + : null, subcolumns: json_.containsKey('subcolumns') ? (json_['subcolumns'] as core.List) .map((value) => GoogleCloudDatacatalogV1ColumnSchema.fromJson( @@ -3569,14 +3851,68 @@ core.Map<core.String, core.dynamic> toJson() => { if (column != null) 'column': column!, + if (defaultValue != null) 'defaultValue': defaultValue!, if (description != null) 'description': description!, if (gcRule != null) 'gcRule': gcRule!, + if (highestIndexingType != null) + 'highestIndexingType': highestIndexingType!, + if (lookerColumnSpec != null) 'lookerColumnSpec': lookerColumnSpec!, if (mode != null) 'mode': mode!, + if (ordinalPosition != null) 'ordinalPosition': ordinalPosition!, if (subcolumns != null) 'subcolumns': subcolumns!, if (type != null) 'type': type!, }; } +/// Column info specific to Looker System. +class GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec { + /// Looker specific column type of this column. + /// Possible string values are: + /// - "LOOKER_COLUMN_TYPE_UNSPECIFIED" : Unspecified. + /// - "DIMENSION" : Dimension. + /// - "DIMENSION_GROUP" : Dimension group - parent for Dimension. + /// - "FILTER" : Filter. + /// - "MEASURE" : Measure. + /// - "PAREMETER" : Parameter. + core.String? type; + + GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec({ + this.type, + }); + + GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec.fromJson(core.Map json_) + : this( + type: json_.containsKey('type') ? json_['type'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (type != null) 'type': type!, + }; +} + +/// Common statistics on the entry's usage. +/// +/// They can be set on any system. +class GoogleCloudDatacatalogV1CommonUsageStats { + /// View count in source system. + core.String? viewCount; + + GoogleCloudDatacatalogV1CommonUsageStats({ + this.viewCount, + }); + + GoogleCloudDatacatalogV1CommonUsageStats.fromJson(core.Map json_) + : this( + viewCount: json_.containsKey('viewCount') + ? json_['viewCount'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (viewCount != null) 'viewCount': viewCount!, + }; +} + /// Contact people for the entry. class GoogleCloudDatacatalogV1Contacts { /// The list of contact people for the entry. @@ -3743,6 +4079,11 @@ /// /// Valid only for entries with the `TABLE` type. class GoogleCloudDatacatalogV1DatabaseTableSpec { + /// Spec what aplies to tables that are actually views. + /// + /// Not set for "real" tables. + GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec? databaseViewSpec; + /// Fields specific to a Dataplex table and present only in the Dataplex table /// entries. /// @@ -3757,12 +4098,18 @@ core.String? type; GoogleCloudDatacatalogV1DatabaseTableSpec({ + this.databaseViewSpec, this.dataplexTable, this.type, }); GoogleCloudDatacatalogV1DatabaseTableSpec.fromJson(core.Map json_) : this( + databaseViewSpec: json_.containsKey('databaseViewSpec') + ? GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec + .fromJson(json_['databaseViewSpec'] + as core.Map<core.String, core.dynamic>) + : null, dataplexTable: json_.containsKey('dataplexTable') ? GoogleCloudDatacatalogV1DataplexTableSpec.fromJson( json_['dataplexTable'] as core.Map<core.String, core.dynamic>) @@ -3771,11 +4118,54 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (databaseViewSpec != null) 'databaseViewSpec': databaseViewSpec!, if (dataplexTable != null) 'dataplexTable': dataplexTable!, if (type != null) 'type': type!, }; } +/// Specification that applies to database view. +class GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec { + /// Name of a singular table this view reflects one to one. + core.String? baseTable; + + /// SQL query used to generate this view. + core.String? sqlQuery; + + /// Type of this view. + /// Possible string values are: + /// - "VIEW_TYPE_UNSPECIFIED" : Default unknown view type. + /// - "STANDARD_VIEW" : Standard view. + /// - "MATERIALIZED_VIEW" : Materialized view. + core.String? viewType; + + GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec({ + this.baseTable, + this.sqlQuery, + this.viewType, + }); + + GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec.fromJson( + core.Map json_) + : this( + baseTable: json_.containsKey('baseTable') + ? json_['baseTable'] as core.String + : null, + sqlQuery: json_.containsKey('sqlQuery') + ? json_['sqlQuery'] as core.String + : null, + viewType: json_.containsKey('viewType') + ? json_['viewType'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (baseTable != null) 'baseTable': baseTable!, + if (sqlQuery != null) 'sqlQuery': sqlQuery!, + if (viewType != null) 'viewType': viewType!, + }; +} + /// External table registered by Dataplex. /// /// Dataplex publishes data discovered from an asset into multiple other systems @@ -3800,6 +4190,8 @@ /// - "CLOUD_PUBSUB" : Cloud Pub/Sub. /// - "DATAPROC_METASTORE" : Dataproc Metastore. /// - "DATAPLEX" : Dataplex. + /// - "CLOUD_SQL" : Cloud Sql + /// - "LOOKER" : Looker core.String? system; GoogleCloudDatacatalogV1DataplexExternalTable({ @@ -3994,7 +4386,7 @@ /// Specification that applies to a table resource. /// - /// Valid only for entries with the `TABLE` type. + /// Valid only for entries with the `TABLE` or `EXPLORE` type. GoogleCloudDatacatalogV1DatabaseTableSpec? databaseTableSpec; /// Entry description that can consist of several sentences or paragraphs that @@ -4008,10 +4400,8 @@ /// Display name of an entry. /// - /// The name must contain only Unicode letters, numbers (0-9), underscores - /// (_), dashes (-), spaces ( ), and can't start or end with spaces. The - /// maximum size is 200 bytes when encoded in UTF-8. Default value is an empty - /// string. + /// The maximum size is 500 bytes when encoded in UTF-8. Default value is an + /// empty string. core.String? displayName; /// Specification that applies to a fileset resource. @@ -4047,6 +4437,8 @@ /// - "CLOUD_PUBSUB" : Cloud Pub/Sub. /// - "DATAPROC_METASTORE" : Dataproc Metastore. /// - "DATAPLEX" : Dataplex. + /// - "CLOUD_SQL" : Cloud Sql + /// - "LOOKER" : Looker core.String? integratedSystem; /// Cloud labels attached to the entry. @@ -4070,6 +4462,11 @@ /// when encoded in UTF-8. core.String? linkedResource; + /// Specification that applies to Looker sysstem. + /// + /// Only settable when `user_specified_system` is equal to `LOOKER` + GoogleCloudDatacatalogV1LookerSystemSpec? lookerSystemSpec; + /// The resource name of an entry in URL format. /// /// Note: The entry itself and its child resources might not be stored in the @@ -4102,6 +4499,11 @@ /// defaults to an empty timestamp. GoogleCloudDatacatalogV1SystemTimestamps? sourceSystemTimestamps; + /// Specification that applies to a relational database system. + /// + /// Only settable when `user_specified_system` is equal to `SQL_DATABASE` + GoogleCloudDatacatalogV1SqlDatabaseSystemSpec? sqlDatabaseSystemSpec; + /// The type of the entry. /// /// Only used for entries with types listed in the `EntryType` enum. @@ -4126,6 +4528,12 @@ /// - "LAKE" : A Dataplex lake. /// - "ZONE" : A Dataplex zone. /// - "SERVICE" : A service, for example, a Dataproc Metastore service. + /// - "DATABASE_SCHEMA" : Schema within a relational database. + /// - "DASHBOARD" : A Dashboard, for example from Looker. + /// - "EXPLORE" : A Looker Explore. For more information, see + /// [Looker Explore API](https://developers.looker.com/api/explorer/4.0/methods/LookmlModel/lookml_model_explore). + /// - "LOOK" : A Looker Look. For more information, see + /// [Looker Look API](https://developers.looker.com/api/explorer/4.0/methods/Look). core.String? type; /// Resource usage statistics. @@ -4166,11 +4574,13 @@ this.integratedSystem, this.labels, this.linkedResource, + this.lookerSystemSpec, this.name, this.personalDetails, this.routineSpec, this.schema, this.sourceSystemTimestamps, + this.sqlDatabaseSystemSpec, this.type, this.usageSignal, this.userSpecifiedSystem, @@ -4241,6 +4651,11 @@ linkedResource: json_.containsKey('linkedResource') ? json_['linkedResource'] as core.String : null, + lookerSystemSpec: json_.containsKey('lookerSystemSpec') + ? GoogleCloudDatacatalogV1LookerSystemSpec.fromJson( + json_['lookerSystemSpec'] + as core.Map<core.String, core.dynamic>) + : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, personalDetails: json_.containsKey('personalDetails') ? GoogleCloudDatacatalogV1PersonalDetails.fromJson( @@ -4260,6 +4675,11 @@ json_['sourceSystemTimestamps'] as core.Map<core.String, core.dynamic>) : null, + sqlDatabaseSystemSpec: json_.containsKey('sqlDatabaseSystemSpec') + ? GoogleCloudDatacatalogV1SqlDatabaseSystemSpec.fromJson( + json_['sqlDatabaseSystemSpec'] + as core.Map<core.String, core.dynamic>) + : null, type: json_.containsKey('type') ? json_['type'] as core.String : null, usageSignal: json_.containsKey('usageSignal') ? GoogleCloudDatacatalogV1UsageSignal.fromJson( @@ -4291,12 +4711,15 @@ if (integratedSystem != null) 'integratedSystem': integratedSystem!, if (labels != null) 'labels': labels!, if (linkedResource != null) 'linkedResource': linkedResource!, + if (lookerSystemSpec != null) 'lookerSystemSpec': lookerSystemSpec!, if (name != null) 'name': name!, if (personalDetails != null) 'personalDetails': personalDetails!, if (routineSpec != null) 'routineSpec': routineSpec!, if (schema != null) 'schema': schema!, if (sourceSystemTimestamps != null) 'sourceSystemTimestamps': sourceSystemTimestamps!, + if (sqlDatabaseSystemSpec != null) + 'sqlDatabaseSystemSpec': sqlDatabaseSystemSpec!, if (type != null) 'type': type!, if (usageSignal != null) 'usageSignal': usageSignal!, if (userSpecifiedSystem != null) @@ -4642,6 +5065,27 @@ }; } +/// Request message for ImportEntries method. +class GoogleCloudDatacatalogV1ImportEntriesRequest { + /// Path to a Cloud Storage bucket that contains a dump ready for ingestion. + core.String? gcsBucketPath; + + GoogleCloudDatacatalogV1ImportEntriesRequest({ + this.gcsBucketPath, + }); + + GoogleCloudDatacatalogV1ImportEntriesRequest.fromJson(core.Map json_) + : this( + gcsBucketPath: json_.containsKey('gcsBucketPath') + ? json_['gcsBucketPath'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (gcsBucketPath != null) 'gcsBucketPath': gcsBucketPath!, + }; +} + /// Request message for ImportTaxonomies. class GoogleCloudDatacatalogV1ImportTaxonomiesRequest { /// Cross-regional source taxonomy to import. @@ -4897,6 +5341,84 @@ }; } +/// Specification that applies to entries that are part `LOOKER` system +/// (user_specified_type) +class GoogleCloudDatacatalogV1LookerSystemSpec { + /// Name of the parent Looker Instance. + /// + /// Empty if it does not exist. + core.String? parentInstanceDisplayName; + + /// ID of the parent Looker Instance. + /// + /// Empty if it does not exist. Example value: `someinstance.looker.com` + core.String? parentInstanceId; + + /// Name of the parent Model. + /// + /// Empty if it does not exist. + core.String? parentModelDisplayName; + + /// ID of the parent Model. + /// + /// Empty if it does not exist. + core.String? parentModelId; + + /// Name of the parent View. + /// + /// Empty if it does not exist. + core.String? parentViewDisplayName; + + /// ID of the parent View. + /// + /// Empty if it does not exist. + core.String? parentViewId; + + GoogleCloudDatacatalogV1LookerSystemSpec({ + this.parentInstanceDisplayName, + this.parentInstanceId, + this.parentModelDisplayName, + this.parentModelId, + this.parentViewDisplayName, + this.parentViewId, + }); + + GoogleCloudDatacatalogV1LookerSystemSpec.fromJson(core.Map json_) + : this( + parentInstanceDisplayName: + json_.containsKey('parentInstanceDisplayName') + ? json_['parentInstanceDisplayName'] as core.String + : null, + parentInstanceId: json_.containsKey('parentInstanceId') + ? json_['parentInstanceId'] as core.String + : null, + parentModelDisplayName: json_.containsKey('parentModelDisplayName') + ? json_['parentModelDisplayName'] as core.String + : null, + parentModelId: json_.containsKey('parentModelId') + ? json_['parentModelId'] as core.String + : null, + parentViewDisplayName: json_.containsKey('parentViewDisplayName') + ? json_['parentViewDisplayName'] as core.String + : null, + parentViewId: json_.containsKey('parentViewId') + ? json_['parentViewId'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (parentInstanceDisplayName != null) + 'parentInstanceDisplayName': parentInstanceDisplayName!, + if (parentInstanceId != null) 'parentInstanceId': parentInstanceId!, + if (parentModelDisplayName != null) + 'parentModelDisplayName': parentModelDisplayName!, + if (parentModelId != null) 'parentModelId': parentModelId!, + if (parentViewDisplayName != null) + 'parentViewDisplayName': parentViewDisplayName!, + if (parentViewId != null) 'parentViewId': parentViewId!, + }; +} + /// Request message for ModifyEntryContacts. class GoogleCloudDatacatalogV1ModifyEntryContactsRequest { /// The new value for the Contacts. @@ -5675,6 +6197,8 @@ /// - "CLOUD_PUBSUB" : Cloud Pub/Sub. /// - "DATAPROC_METASTORE" : Dataproc Metastore. /// - "DATAPLEX" : Dataplex. + /// - "CLOUD_SQL" : Cloud Sql + /// - "LOOKER" : Looker core.String? integratedSystem; /// The full name of the Google Cloud resource the entry belongs to. @@ -5901,6 +6425,49 @@ }; } +/// Specification that applies to entries that are part `SQL_DATABASE` system +/// (user_specified_type) +class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec { + /// Version of the database engine. + core.String? databaseVersion; + + /// Host of the SQL database enum InstanceHost { UNDEFINED = 0; SELF_HOSTED = + /// 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the enclousing + /// database instance. + core.String? instanceHost; + + /// SQL Database Engine. + /// + /// enum SqlEngine { UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL = 2; SQL_SERVER = + /// 3; } Engine of the enclosing database instance. + core.String? sqlEngine; + + GoogleCloudDatacatalogV1SqlDatabaseSystemSpec({ + this.databaseVersion, + this.instanceHost, + this.sqlEngine, + }); + + GoogleCloudDatacatalogV1SqlDatabaseSystemSpec.fromJson(core.Map json_) + : this( + databaseVersion: json_.containsKey('databaseVersion') + ? json_['databaseVersion'] as core.String + : null, + instanceHost: json_.containsKey('instanceHost') + ? json_['instanceHost'] as core.String + : null, + sqlEngine: json_.containsKey('sqlEngine') + ? json_['sqlEngine'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (databaseVersion != null) 'databaseVersion': databaseVersion!, + if (instanceHost != null) 'instanceHost': instanceHost!, + if (sqlEngine != null) 'sqlEngine': sqlEngine!, + }; +} + /// Request message for StarEntry. typedef GoogleCloudDatacatalogV1StarEntryRequest = $Empty; @@ -6493,6 +7060,15 @@ /// Note: Usually, these signals are updated daily. In rare cases, an update may /// fail but will be performed again on the next day. class GoogleCloudDatacatalogV1UsageSignal { + /// Common usage statistics over each of the predefined time ranges. + /// + /// Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`. + core.Map<core.String, GoogleCloudDatacatalogV1CommonUsageStats>? + commonUsageWithinTimeRange; + + /// Favorite count in the source system. + core.String? favoriteCount; + /// The end timestamp of the duration of usage statistics. core.String? updateTime; @@ -6505,12 +7081,29 @@ usageWithinTimeRange; GoogleCloudDatacatalogV1UsageSignal({ + this.commonUsageWithinTimeRange, + this.favoriteCount, this.updateTime, this.usageWithinTimeRange, }); GoogleCloudDatacatalogV1UsageSignal.fromJson(core.Map json_) : this( + commonUsageWithinTimeRange: + json_.containsKey('commonUsageWithinTimeRange') + ? (json_['commonUsageWithinTimeRange'] + as core.Map<core.String, core.dynamic>) + .map( + (key, item) => core.MapEntry( + key, + GoogleCloudDatacatalogV1CommonUsageStats.fromJson( + item as core.Map<core.String, core.dynamic>), + ), + ) + : null, + favoriteCount: json_.containsKey('favoriteCount') + ? json_['favoriteCount'] as core.String + : null, updateTime: json_.containsKey('updateTime') ? json_['updateTime'] as core.String : null, @@ -6528,6 +7121,9 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (commonUsageWithinTimeRange != null) + 'commonUsageWithinTimeRange': commonUsageWithinTimeRange!, + if (favoriteCount != null) 'favoriteCount': favoriteCount!, if (updateTime != null) 'updateTime': updateTime!, if (usageWithinTimeRange != null) 'usageWithinTimeRange': usageWithinTimeRange!, @@ -6613,6 +7209,114 @@ }; } +/// The response message for Operations.ListOperations. +class ListOperationsResponse { + /// The standard List next-page token. + core.String? nextPageToken; + + /// A list of operations that matches the specified filter in the request. + core.List<Operation>? operations; + + ListOperationsResponse({ + this.nextPageToken, + this.operations, + }); + + ListOperationsResponse.fromJson(core.Map json_) + : this( + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + operations: json_.containsKey('operations') + ? (json_['operations'] as core.List) + .map((value) => Operation.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (operations != null) 'operations': operations!, + }; +} + +/// This resource represents a long-running operation that is the result of a +/// network API call. +class Operation { + /// 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. + core.bool? done; + + /// The error result of the operation in case of failure or cancellation. + Status? error; + + /// 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. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? metadata; + + /// 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/{unique_id}`. + core.String? name; + + /// 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`. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? response; + + Operation({ + this.done, + this.error, + this.metadata, + this.name, + this.response, + }); + + Operation.fromJson(core.Map json_) + : this( + done: json_.containsKey('done') ? json_['done'] as core.bool : null, + error: json_.containsKey('error') + ? Status.fromJson( + json_['error'] as core.Map<core.String, core.dynamic>) + : null, + metadata: json_.containsKey('metadata') + ? json_['metadata'] as core.Map<core.String, core.dynamic> + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + response: json_.containsKey('response') + ? json_['response'] as core.Map<core.String, core.dynamic> + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (done != null) 'done': done!, + if (error != null) 'error': error!, + if (metadata != null) 'metadata': metadata!, + if (name != null) 'name': name!, + if (response != null) 'response': response!, + }; +} + /// An Identity and Access Management (IAM) policy, which specifies access /// controls for Google Cloud resources. /// @@ -6749,6 +7453,15 @@ }; } +/// 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). +typedef Status = $Status; + /// Request message for `TestIamPermissions` method. typedef TestIamPermissionsRequest = $TestIamPermissionsRequest00;
diff --git a/generated/googleapis/lib/datafusion/v1.dart b/generated/googleapis/lib/datafusion/v1.dart index 65a9bb1..a1a58ec 100644 --- a/generated/googleapis/lib/datafusion/v1.dart +++ b/generated/googleapis/lib/datafusion/v1.dart
@@ -1037,15 +1037,15 @@ /// Insights processing. core.String? acceleratorType; - /// The state of the accelerator + /// The state of the accelerator. /// Possible string values are: - /// - "STATE_UNSPECIFIED" : Default value, do not use + /// - "STATE_UNSPECIFIED" : Default value, do not use. /// - "ENABLED" : Indicates that the accelerator is enabled and available to - /// use + /// use. /// - "DISABLED" : Indicates that the accelerator is disabled and not - /// available to use + /// available to use. /// - "UNKNOWN" : Indicates that accelerator state is currently unknown. - /// Requests for enable, disable could be retried while in this state + /// Requests for enable, disable could be retried while in this state. core.String? state; Accelerator({ @@ -1419,6 +1419,9 @@ /// Option to enable Stackdriver Monitoring. core.bool? enableStackdriverMonitoring; + /// Option to enable granular zone separation. + core.bool? enableZoneSeparation; + /// Option to enable and pass metadata for event publishing. EventPublishConfig? eventPublishConfig; @@ -1544,6 +1547,7 @@ this.enableRbac, this.enableStackdriverLogging, this.enableStackdriverMonitoring, + this.enableZoneSeparation, this.eventPublishConfig, this.gcsBucket, this.labels, @@ -1612,6 +1616,9 @@ json_.containsKey('enableStackdriverMonitoring') ? json_['enableStackdriverMonitoring'] as core.bool : null, + enableZoneSeparation: json_.containsKey('enableZoneSeparation') + ? json_['enableZoneSeparation'] as core.bool + : null, eventPublishConfig: json_.containsKey('eventPublishConfig') ? EventPublishConfig.fromJson(json_['eventPublishConfig'] as core.Map<core.String, core.dynamic>) @@ -1686,6 +1693,8 @@ 'enableStackdriverLogging': enableStackdriverLogging!, if (enableStackdriverMonitoring != null) 'enableStackdriverMonitoring': enableStackdriverMonitoring!, + if (enableZoneSeparation != null) + 'enableZoneSeparation': enableZoneSeparation!, if (eventPublishConfig != null) 'eventPublishConfig': eventPublishConfig!, if (gcsBucket != null) 'gcsBucket': gcsBucket!,
diff --git a/generated/googleapis/lib/datamigration/v1.dart b/generated/googleapis/lib/datamigration/v1.dart index 6f4e7a9..263ca80 100644 --- a/generated/googleapis/lib/datamigration/v1.dart +++ b/generated/googleapis/lib/datamigration/v1.dart
@@ -24,12 +24,15 @@ /// - [ProjectsResource] /// - [ProjectsLocationsResource] /// - [ProjectsLocationsConnectionProfilesResource] +/// - [ProjectsLocationsConversionWorkspacesResource] +/// - [ProjectsLocationsConversionWorkspacesMappingRulesResource] /// - [ProjectsLocationsMigrationJobsResource] /// - [ProjectsLocationsOperationsResource] +/// - [ProjectsLocationsPrivateConnectionsResource] library datamigration.v1; import 'dart:async' as async; -import 'dart:convert' as convert; +import 'dart:convert' as convert_1; import 'dart:core' as core; import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; @@ -74,10 +77,14 @@ ProjectsLocationsConnectionProfilesResource get connectionProfiles => ProjectsLocationsConnectionProfilesResource(_requester); + ProjectsLocationsConversionWorkspacesResource get conversionWorkspaces => + ProjectsLocationsConversionWorkspacesResource(_requester); ProjectsLocationsMigrationJobsResource get migrationJobs => ProjectsLocationsMigrationJobsResource(_requester); ProjectsLocationsOperationsResource get operations => ProjectsLocationsOperationsResource(_requester); + ProjectsLocationsPrivateConnectionsResource get privateConnections => + ProjectsLocationsPrivateConnectionsResource(_requester); ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; @@ -187,11 +194,19 @@ /// /// [connectionProfileId] - Required. The connection profile identifier. /// - /// [requestId] - A unique id used to identify the request. If the server - /// receives two requests with the same id, then the second request will be - /// ignored. It is recommended to always set this value to a UUID. The id must - /// contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and - /// hyphens (-). The maximum length is 40 characters. + /// [requestId] - Optional. A unique id used to identify the request. If the + /// server receives two requests with the same id, then the second request + /// will be ignored. It is recommended to always set this value to a UUID. The + /// id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), + /// and hyphens (-). The maximum length is 40 characters. + /// + /// [skipValidation] - Optional. Create the connection profile without + /// validating it. The default is false. Only supported for Oracle connection + /// profiles. + /// + /// [validateOnly] - Optional. Only validate the connection profile, but don't + /// create any resources. The default is false. Only supported for Oracle + /// connection profiles. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -208,13 +223,17 @@ core.String parent, { core.String? connectionProfileId, core.String? requestId, + core.bool? skipValidation, + core.bool? validateOnly, core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if (connectionProfileId != null) 'connectionProfileId': [connectionProfileId], if (requestId != null) 'requestId': [requestId], + if (skipValidation != null) 'skipValidation': ['${skipValidation}'], + if (validateOnly != null) 'validateOnly': ['${validateOnly}'], if ($fields != null) 'fields': [$fields], }; @@ -456,15 +475,23 @@ /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/connectionProfiles/\[^/\]+$`. /// - /// [requestId] - A unique id used to identify the request. If the server - /// receives two requests with the same id, then the second request will be - /// ignored. It is recommended to always set this value to a UUID. The id must - /// contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and - /// hyphens (-). The maximum length is 40 characters. + /// [requestId] - Optional. A unique id used to identify the request. If the + /// server receives two requests with the same id, then the second request + /// will be ignored. It is recommended to always set this value to a UUID. The + /// id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), + /// and hyphens (-). The maximum length is 40 characters. + /// + /// [skipValidation] - Optional. Update the connection profile without + /// validating it. The default is false. Only supported for Oracle connection + /// profiles. /// /// [updateMask] - Required. Field mask is used to specify the fields to be /// overwritten in the connection profile resource by the update. /// + /// [validateOnly] - Optional. Only validate the connection profile, but don't + /// update any resources. The default is false. Only supported for Oracle + /// connection profiles. + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -479,13 +506,17 @@ ConnectionProfile request, core.String name, { core.String? requestId, + core.bool? skipValidation, core.String? updateMask, + core.bool? validateOnly, core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if (requestId != null) 'requestId': [requestId], + if (skipValidation != null) 'skipValidation': ['${skipValidation}'], if (updateMask != null) 'updateMask': [updateMask], + if (validateOnly != null) 'validateOnly': ['${validateOnly}'], if ($fields != null) 'fields': [$fields], }; @@ -531,7 +562,7 @@ core.String resource, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -580,7 +611,7 @@ core.String resource, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -599,6 +630,735 @@ } } +class ProjectsLocationsConversionWorkspacesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsConversionWorkspacesMappingRulesResource get mappingRules => + ProjectsLocationsConversionWorkspacesMappingRulesResource(_requester); + + ProjectsLocationsConversionWorkspacesResource(commons.ApiRequester client) + : _requester = client; + + /// Apply draft tree onto a specific destination database + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the conversion workspace resource to apply + /// draft to destination for. in the form of: + /// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> apply( + ApplyConversionWorkspaceRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert_1.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':apply'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Marks all the data in the conversion workspace as committed. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the conversion workspace resource to commit. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> commit( + CommitConversionWorkspaceRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert_1.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':commit'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Creates a draft tree schema for the destination database. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Name of the conversion workspace resource to convert in the form + /// of: + /// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> convert( + ConvertConversionWorkspaceRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert_1.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':convert'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Creates a new conversion workspace in a given project and location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent, which owns this collection of conversion + /// workspaces. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [conversionWorkspaceId] - Required. The ID of the conversion workspace to + /// create. + /// + /// [requestId] - A unique id used to identify the request. If the server + /// receives two requests with the same id, then the second request will be + /// ignored. It is recommended to always set this value to a UUID. The id must + /// contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and + /// hyphens (-). The maximum length is 40 characters. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> create( + ConversionWorkspace request, + core.String parent, { + core.String? conversionWorkspaceId, + core.String? requestId, + core.String? $fields, + }) async { + final body_ = convert_1.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if (conversionWorkspaceId != null) + 'conversionWorkspaceId': [conversionWorkspaceId], + if (requestId != null) 'requestId': [requestId], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$parent') + '/conversionWorkspaces'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Deletes a single conversion workspace. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the conversion workspace resource to delete. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [requestId] - A unique id used to identify the request. If the server + /// receives two requests with the same id, then the second request will be + /// ignored. It is recommended to always set this value to a UUID. The id must + /// contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and + /// hyphens (-). The maximum length is 40 characters. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> delete( + core.String name, { + core.String? requestId, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (requestId != null) 'requestId': [requestId], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Retrieves a list of committed revisions of a specific conversion + /// workspace. + /// + /// Request parameters: + /// + /// [conversionWorkspace] - Required. Name of the conversion workspace + /// resource whose revisions are listed. in the form of: + /// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [commitId] - Optional. Optional filter to request a specific commit id + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [DescribeConversionWorkspaceRevisionsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<DescribeConversionWorkspaceRevisionsResponse> + describeConversionWorkspaceRevisions( + core.String conversionWorkspace, { + core.String? commitId, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (commitId != null) 'commitId': [commitId], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + + core.Uri.encodeFull('$conversionWorkspace') + + ':describeConversionWorkspaceRevisions'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return DescribeConversionWorkspaceRevisionsResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Use this method to describe the database entities tree for a specific + /// conversion workspace and a specific tree type. + /// + /// The DB Entities are not a resource like conversion workspace or mapping + /// rule, and they can not be created, updated or deleted like one. Instead + /// they are simple data objects describing the structure of the client + /// database. + /// + /// Request parameters: + /// + /// [conversionWorkspace] - Required. Name of the conversion workspace + /// resource whose DB entities are described in the form of: + /// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [commitId] - Request a specific commit id. If not specified, the entities + /// from the latest commit are returned. + /// + /// [filter] - Filter the returned entities based on AIP-160 standard + /// + /// [pageSize] - The maximum number of entities to return. The service may + /// return fewer than this value. + /// + /// [pageToken] - The nextPageToken value received in the previous call to + /// conversionWorkspace.describeDatabaseEntities, used in the subsequent + /// request to retrieve the next page of results. On first call this should be + /// left blank. When paginating, all other parameters provided to + /// conversionWorkspace.describeDatabaseEntities must match the call that + /// provided the page token. + /// + /// [tree] - The tree to fetch + /// Possible string values are: + /// - "DB_TREE_TYPE_UNSPECIFIED" : Unspecified tree type + /// - "SOURCE_TREE" : The source database tree + /// - "DRAFT_TREE" : The draft database tree + /// - "DESTINATION_TREE" : The destination database tree + /// + /// [uncommitted] - Whether to retrieve the latest committed version of the + /// entities or the latest version. This field is ignored if a specific + /// commit_id is specified. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [DescribeDatabaseEntitiesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<DescribeDatabaseEntitiesResponse> describeDatabaseEntities( + core.String conversionWorkspace, { + core.String? commitId, + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? tree, + core.bool? uncommitted, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (commitId != null) 'commitId': [commitId], + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if (tree != null) 'tree': [tree], + if (uncommitted != null) 'uncommitted': ['${uncommitted}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + + core.Uri.encodeFull('$conversionWorkspace') + + ':describeDatabaseEntities'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return DescribeDatabaseEntitiesResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Gets details of a single conversion workspace. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the conversion workspace resource to get. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ConversionWorkspace]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ConversionWorkspace> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ConversionWorkspace.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Lists conversion workspaces in a given project and location. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent, which owns this collection of conversion + /// workspaces. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - A filter expression that filters conversion workspaces listed + /// in the response. The expression must specify the field name, a comparison + /// operator, and the value that you want to use for filtering. The value must + /// be a string, a number, or a boolean. The comparison operator must be + /// either =, !=, \>, or \<. For example, list conversion workspaces created + /// this year by specifying **createTime %gt; + /// 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For + /// example, you could specify **source.version = "12.c.1"** to select all + /// conversion workspaces with source database version equal to 12.c.1 + /// + /// [pageSize] - The maximum number of conversion workspaces to return. The + /// service may return fewer than this value. If unspecified, at most 50 sets + /// will be returned. + /// + /// [pageToken] - The nextPageToken value received in the previous call to + /// conversionWorkspaces.list, used in the subsequent request to retrieve the + /// next page of results. On first call this should be left blank. When + /// paginating, all other parameters provided to conversionWorkspaces.list + /// must match the call that provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListConversionWorkspacesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListConversionWorkspacesResponse> list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$parent') + '/conversionWorkspaces'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListConversionWorkspacesResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Updates the parameters of a single conversion workspace. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Full name of the workspace resource, in the form of: + /// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [requestId] - A unique id used to identify the request. If the server + /// receives two requests with the same id, then the second request will be + /// ignored. It is recommended to always set this value to a UUID. The id must + /// contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and + /// hyphens (-). The maximum length is 40 characters. + /// + /// [updateMask] - Required. Field mask is used to specify the fields to be + /// overwritten in the conversion workspace resource by the update. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> patch( + ConversionWorkspace request, + core.String name, { + core.String? requestId, + core.String? updateMask, + core.String? $fields, + }) async { + final body_ = convert_1.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if (requestId != null) 'requestId': [requestId], + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Rollbacks a conversion workspace to the last committed spanshot. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the conversion workspace resource to rollback + /// to. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> rollback( + RollbackConversionWorkspaceRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert_1.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':rollback'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Use this method to search/list the background jobs for a specific + /// conversion workspace. + /// + /// The background jobs are not a resource like conversion workspace or + /// mapping rule, and they can not be created, updated or deleted like one. + /// Instead they are a way to expose the data plane jobs log. + /// + /// Request parameters: + /// + /// [conversionWorkspace] - Required. Name of the conversion workspace + /// resource whos jobs are listed. in the form of: + /// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [completedUntilTime] - Optional. If supplied, will only return jobs that + /// completed until (not including) the given timestamp. + /// + /// [maxSize] - Optional. The maximum number of jobs to return. The service + /// may return fewer than this value. If unspecified, at most 100 jobs will be + /// returned. The maximum value is 100; values above 100 will be coerced to + /// 100. + /// + /// [returnMostRecentPerJobType] - Optional. Whether or not to return just the + /// most recent job per job type + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [SearchBackgroundJobsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<SearchBackgroundJobsResponse> searchBackgroundJobs( + core.String conversionWorkspace, { + core.String? completedUntilTime, + core.int? maxSize, + core.bool? returnMostRecentPerJobType, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (completedUntilTime != null) + 'completedUntilTime': [completedUntilTime], + if (maxSize != null) 'maxSize': ['${maxSize}'], + if (returnMostRecentPerJobType != null) + 'returnMostRecentPerJobType': ['${returnMostRecentPerJobType}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + + core.Uri.encodeFull('$conversionWorkspace') + + ':searchBackgroundJobs'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return SearchBackgroundJobsResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Imports a snapshot of the source database into the conversion workspace. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Name of the conversion workspace resource to seed with new + /// database structure. in the form of: + /// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> seed( + SeedConversionWorkspaceRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert_1.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':seed'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } +} + +class ProjectsLocationsConversionWorkspacesMappingRulesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsConversionWorkspacesMappingRulesResource( + commons.ApiRequester client) + : _requester = client; + + /// Imports the mapping rules for a given conversion workspace. + /// + /// Supports various formats of external rules files. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Name of the conversion workspace resource to import + /// the rules to in the form of: + /// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversionWorkspaces/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> import( + ImportMappingRulesRequest request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert_1.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$parent') + '/mappingRules:import'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } +} + class ProjectsLocationsMigrationJobsResource { final commons.ApiRequester _requester; @@ -640,7 +1400,7 @@ core.String? requestId, core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if (migrationJobId != null) 'migrationJobId': [migrationJobId], if (requestId != null) 'requestId': [requestId], @@ -735,7 +1495,7 @@ core.String migrationJob, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -952,7 +1712,7 @@ core.String? updateMask, core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if (requestId != null) 'requestId': [requestId], if (updateMask != null) 'updateMask': [updateMask], @@ -996,7 +1756,7 @@ core.String name, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -1039,7 +1799,7 @@ core.String name, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -1081,7 +1841,7 @@ core.String name, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -1128,7 +1888,7 @@ core.String resource, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -1169,7 +1929,7 @@ core.String name, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -1210,7 +1970,7 @@ core.String name, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -1259,7 +2019,7 @@ core.String resource, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -1303,7 +2063,7 @@ core.String name, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -1360,7 +2120,7 @@ core.String name, { core.String? $fields, }) async { - final body_ = convert.json.encode(request); + final body_ = convert_1.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ if ($fields != null) 'fields': [$fields], }; @@ -1513,6 +2273,216 @@ } } +class ProjectsLocationsPrivateConnectionsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsPrivateConnectionsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a new private connection in a given project and location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent that owns the collection of + /// PrivateConnections. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [privateConnectionId] - Required. The private connection identifier. + /// + /// [requestId] - Optional. A unique id used to identify the request. If the + /// server receives two requests with the same id, then the second request + /// will be ignored. It is recommended to always set this value to a UUID. The + /// id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), + /// and hyphens (-). The maximum length is 40 characters. + /// + /// [skipValidation] - Optional. If set to true, will skip validations. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> create( + PrivateConnection request, + core.String parent, { + core.String? privateConnectionId, + core.String? requestId, + core.bool? skipValidation, + core.String? $fields, + }) async { + final body_ = convert_1.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if (privateConnectionId != null) + 'privateConnectionId': [privateConnectionId], + if (requestId != null) 'requestId': [requestId], + if (skipValidation != null) 'skipValidation': ['${skipValidation}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/privateConnections'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Deletes a single Database Migration Service private connection. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the private connection to delete. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/privateConnections/\[^/\]+$`. + /// + /// [requestId] - Optional. A unique id used to identify the request. If the + /// server receives two requests with the same id, then the second request + /// will be ignored. It is recommended to always set this value to a UUID. The + /// id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), + /// and hyphens (-). The maximum length is 40 characters. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> delete( + core.String name, { + core.String? requestId, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (requestId != null) 'requestId': [requestId], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Gets details of a single private connection. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the private connection to get. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/privateConnections/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [PrivateConnection]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<PrivateConnection> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return PrivateConnection.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Retrieves a list of private connections in a given project and location. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent that owns the collection of private + /// connections. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - A filter expression that filters private connections listed in + /// the response. The expression must specify the field name, a comparison + /// operator, and the value that you want to use for filtering. The value must + /// be a string, a number, or a boolean. The comparison operator must be + /// either =, !=, \>, or \<. For example, list private connections created + /// this year by specifying **createTime %gt; + /// 2021-01-01T00:00:00.000000000Z**. + /// + /// [orderBy] - Order by fields for the result. + /// + /// [pageSize] - Maximum number of private connections to return. If + /// unspecified, at most 50 private connections that will be returned. The + /// maximum value is 1000; values above 1000 will be coerced to 1000. + /// + /// [pageToken] - Page token received from a previous `ListPrivateConnections` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListPrivateConnections` must match the call + /// that provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListPrivateConnectionsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListPrivateConnectionsResponse> list( + core.String parent, { + core.String? filter, + core.String? orderBy, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (filter != null) 'filter': [filter], + if (orderBy != null) 'orderBy': [orderBy], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/privateConnections'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListPrivateConnectionsResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + /// Specifies required connection parameters, and the parameters required to /// create an AlloyDB destination cluster. class AlloyDbConnectionProfile { @@ -1614,6 +2584,38 @@ }; } +/// Request message for 'ApplyConversionWorkspace' request. +class ApplyConversionWorkspaceRequest { + /// Fully qualified (Uri) name of the destination connection profile. + core.String? connectionProfile; + + /// Filter which entities to apply. + /// + /// Leaving this field empty will apply all of the entities. Supports Google + /// AIP 160 based filtering. + core.String? filter; + + ApplyConversionWorkspaceRequest({ + this.connectionProfile, + this.filter, + }); + + ApplyConversionWorkspaceRequest.fromJson(core.Map json_) + : this( + connectionProfile: json_.containsKey('connectionProfile') + ? json_['connectionProfile'] as core.String + : null, + filter: json_.containsKey('filter') + ? json_['filter'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (connectionProfile != null) 'connectionProfile': connectionProfile!, + if (filter != null) 'filter': filter!, + }; +} + /// Specifies the audit configuration for a service. /// /// The configuration determines which permission types are logged, and what @@ -1673,6 +2675,108 @@ /// exempting jose@example.com from DATA_READ logging. typedef AuditLogConfig = $AuditLogConfig; +/// Execution log of a background job. +class BackgroundJobLogEntry { + /// Job completion comment, such as how many entities were seeded, how many + /// warnings were found during conversion and similar information. + core.String? completionComment; + + /// Job completion state, i.e. the final state after the job completed. + /// Possible string values are: + /// - "JOB_COMPLETION_STATE_UNSPECIFIED" : The status is not specified. This + /// state will be used when job is not yet finished. + /// - "SUCCEEDED" : Success. + /// - "FAILED" : Error. + core.String? completionState; + + /// The timestamp when the background job was finished. + core.String? finishTime; + + /// The background job log entry id + core.String? id; + + /// Import rules job details + ImportRulesJobDetails? importRulesJobDetails; + + /// The type of job that was executed. + /// Possible string values are: + /// - "BACKGROUND_JOB_TYPE_UNSPECIFIED" : Unspecified background job type + /// - "BACKGROUND_JOB_TYPE_SOURCE_SEED" : Job to seed from the source database + /// - "BACKGROUND_JOB_TYPE_CONVERT" : Job to convert the source database into + /// a draft of the destination database + /// - "BACKGROUND_JOB_TYPE_APPLY_DESTINATION" : Job to apply the draft tree + /// onto the destination + /// - "BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE" : Job to import and convert + /// mapping rules from an external source such as an ora2pg config file + core.String? jobType; + + /// Whether the client requested the conversion workspace to be committed + /// after a successful completion of the job. + core.bool? requestAutocommit; + + /// Seed job details + SeedJobDetails? seedJobDetails; + + /// The timestamp when the background job was started. + core.String? startTime; + + BackgroundJobLogEntry({ + this.completionComment, + this.completionState, + this.finishTime, + this.id, + this.importRulesJobDetails, + this.jobType, + this.requestAutocommit, + this.seedJobDetails, + this.startTime, + }); + + BackgroundJobLogEntry.fromJson(core.Map json_) + : this( + completionComment: json_.containsKey('completionComment') + ? json_['completionComment'] as core.String + : null, + completionState: json_.containsKey('completionState') + ? json_['completionState'] as core.String + : null, + finishTime: json_.containsKey('finishTime') + ? json_['finishTime'] as core.String + : null, + id: json_.containsKey('id') ? json_['id'] as core.String : null, + importRulesJobDetails: json_.containsKey('importRulesJobDetails') + ? ImportRulesJobDetails.fromJson(json_['importRulesJobDetails'] + as core.Map<core.String, core.dynamic>) + : null, + jobType: json_.containsKey('jobType') + ? json_['jobType'] as core.String + : null, + requestAutocommit: json_.containsKey('requestAutocommit') + ? json_['requestAutocommit'] as core.bool + : null, + seedJobDetails: json_.containsKey('seedJobDetails') + ? SeedJobDetails.fromJson(json_['seedJobDetails'] + as core.Map<core.String, core.dynamic>) + : null, + startTime: json_.containsKey('startTime') + ? json_['startTime'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (completionComment != null) 'completionComment': completionComment!, + if (completionState != null) 'completionState': completionState!, + if (finishTime != null) 'finishTime': finishTime!, + if (id != null) 'id': id!, + if (importRulesJobDetails != null) + 'importRulesJobDetails': importRulesJobDetails!, + if (jobType != null) 'jobType': jobType!, + if (requestAutocommit != null) 'requestAutocommit': requestAutocommit!, + if (seedJobDetails != null) 'seedJobDetails': seedJobDetails!, + if (startTime != null) 'startTime': startTime!, + }; +} + /// Associates `members`, or principals, with a `role`. class Binding { /// The condition that is associated with this binding. @@ -2070,6 +3174,189 @@ }; } +/// Column is not used as an independent entity, it is retrieved as part of a +/// Table entity. +class ColumnEntity { + /// Is the column of array type + core.bool? array; + + /// If the column is array, of which length + core.int? arrayLength; + + /// Is the column auto-generated/identity + core.bool? autoGenerated; + + /// Charset override - instead of table level charset + core.String? charset; + + /// Collation override - instead of table level collation + core.String? collation; + + /// Comment associated with the column + core.String? comment; + + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + /// Column data type + core.String? dataType; + + /// Default value of the column + core.String? defaultValue; + + /// Column fractional second precision - used for timestamp based datatypes + core.int? fractionalSecondsPrecision; + + /// Column length - e.g. varchar (50) + core.String? length; + + /// Column name + core.String? name; + + /// Is the column nullable + core.bool? nullable; + + /// Column order in the table + core.int? ordinalPosition; + + /// Column precision - when relevant + core.int? precision; + + /// Column scale - when relevant + core.int? scale; + + /// Specifies the list of values allowed in the column. + /// + /// List is empty if set values is not required + core.List<core.String>? setValues; + + /// Is the column a UDT + core.bool? udt; + + ColumnEntity({ + this.array, + this.arrayLength, + this.autoGenerated, + this.charset, + this.collation, + this.comment, + this.customFeatures, + this.dataType, + this.defaultValue, + this.fractionalSecondsPrecision, + this.length, + this.name, + this.nullable, + this.ordinalPosition, + this.precision, + this.scale, + this.setValues, + this.udt, + }); + + ColumnEntity.fromJson(core.Map json_) + : this( + array: + json_.containsKey('array') ? json_['array'] as core.bool : null, + arrayLength: json_.containsKey('arrayLength') + ? json_['arrayLength'] as core.int + : null, + autoGenerated: json_.containsKey('autoGenerated') + ? json_['autoGenerated'] as core.bool + : null, + charset: json_.containsKey('charset') + ? json_['charset'] as core.String + : null, + collation: json_.containsKey('collation') + ? json_['collation'] as core.String + : null, + comment: json_.containsKey('comment') + ? json_['comment'] as core.String + : null, + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + dataType: json_.containsKey('dataType') + ? json_['dataType'] as core.String + : null, + defaultValue: json_.containsKey('defaultValue') + ? json_['defaultValue'] as core.String + : null, + fractionalSecondsPrecision: + json_.containsKey('fractionalSecondsPrecision') + ? json_['fractionalSecondsPrecision'] as core.int + : null, + length: json_.containsKey('length') + ? json_['length'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + nullable: json_.containsKey('nullable') + ? json_['nullable'] as core.bool + : null, + ordinalPosition: json_.containsKey('ordinalPosition') + ? json_['ordinalPosition'] as core.int + : null, + precision: json_.containsKey('precision') + ? json_['precision'] as core.int + : null, + scale: json_.containsKey('scale') ? json_['scale'] as core.int : null, + setValues: json_.containsKey('setValues') + ? (json_['setValues'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + udt: json_.containsKey('udt') ? json_['udt'] as core.bool : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (array != null) 'array': array!, + if (arrayLength != null) 'arrayLength': arrayLength!, + if (autoGenerated != null) 'autoGenerated': autoGenerated!, + if (charset != null) 'charset': charset!, + if (collation != null) 'collation': collation!, + if (comment != null) 'comment': comment!, + if (customFeatures != null) 'customFeatures': customFeatures!, + if (dataType != null) 'dataType': dataType!, + if (defaultValue != null) 'defaultValue': defaultValue!, + if (fractionalSecondsPrecision != null) + 'fractionalSecondsPrecision': fractionalSecondsPrecision!, + if (length != null) 'length': length!, + if (name != null) 'name': name!, + if (nullable != null) 'nullable': nullable!, + if (ordinalPosition != null) 'ordinalPosition': ordinalPosition!, + if (precision != null) 'precision': precision!, + if (scale != null) 'scale': scale!, + if (setValues != null) 'setValues': setValues!, + if (udt != null) 'udt': udt!, + }; +} + +/// Request message for 'CommitConversionWorkspace' request. +class CommitConversionWorkspaceRequest { + /// Optional name of the commit. + /// + /// Optional. + core.String? commitName; + + CommitConversionWorkspaceRequest({ + this.commitName, + }); + + CommitConversionWorkspaceRequest.fromJson(core.Map json_) + : this( + commitName: json_.containsKey('commitName') + ? json_['commitName'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (commitName != null) 'commitName': commitName!, + }; +} + /// A connection profile definition. class ConnectionProfile { /// An AlloyDB cluster connection profile. @@ -2108,6 +3395,9 @@ /// projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. core.String? name; + /// An Oracle database connection profile. + OracleConnectionProfile? oracle; + /// A PostgreSQL database connection profile. PostgreSqlConnectionProfile? postgresql; @@ -2149,6 +3439,7 @@ this.labels, this.mysql, this.name, + this.oracle, this.postgresql, this.provider, this.state, @@ -2188,6 +3479,10 @@ json_['mysql'] as core.Map<core.String, core.dynamic>) : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + oracle: json_.containsKey('oracle') + ? OracleConnectionProfile.fromJson( + json_['oracle'] as core.Map<core.String, core.dynamic>) + : null, postgresql: json_.containsKey('postgresql') ? PostgreSqlConnectionProfile.fromJson( json_['postgresql'] as core.Map<core.String, core.dynamic>) @@ -2211,6 +3506,7 @@ if (labels != null) 'labels': labels!, if (mysql != null) 'mysql': mysql!, if (name != null) 'name': name!, + if (oracle != null) 'oracle': oracle!, if (postgresql != null) 'postgresql': postgresql!, if (provider != null) 'provider': provider!, if (state != null) 'state': state!, @@ -2218,6 +3514,466 @@ }; } +/// Constraint is not used as an independent entity, it is retrieved as part of +/// another entity such as Table or View. +class ConstraintEntity { + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + /// The name of the table constraint + core.String? name; + + /// Reference Columns which may be associated with the constraint. + /// + /// eg: if the constraint is a FOREIGN_KEY, this represents the list of full + /// names of referenced columns by the foreign key. + core.List<core.String>? referenceColumns; + + /// Reference table which may be associated with the constraint. + /// + /// eg: if the constraint is a FOREIGN_KEY, this represents the list of full + /// name of the referenced table by the foreign key. + core.String? referenceTable; + + /// Table columns used as part of the Constraint for e.g. primary key + /// constraint should list the columns which constitutes the key + core.List<core.String>? tableColumns; + + /// Table which is associated with the constraint. + /// + /// In case the constraint is defined on a table, this field is left empty as + /// this information is stored in parent_name. However, if constraint is + /// defined on a view, this field stores the table name on which the view is + /// defined. + core.String? tableName; + + /// Type of constraint - e.g. unique, primary key, foreign key (currently only + /// primary key is supported) + core.String? type; + + ConstraintEntity({ + this.customFeatures, + this.name, + this.referenceColumns, + this.referenceTable, + this.tableColumns, + this.tableName, + this.type, + }); + + ConstraintEntity.fromJson(core.Map json_) + : this( + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + referenceColumns: json_.containsKey('referenceColumns') + ? (json_['referenceColumns'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + referenceTable: json_.containsKey('referenceTable') + ? json_['referenceTable'] as core.String + : null, + tableColumns: json_.containsKey('tableColumns') + ? (json_['tableColumns'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + tableName: json_.containsKey('tableName') + ? json_['tableName'] as core.String + : null, + type: json_.containsKey('type') ? json_['type'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (customFeatures != null) 'customFeatures': customFeatures!, + if (name != null) 'name': name!, + if (referenceColumns != null) 'referenceColumns': referenceColumns!, + if (referenceTable != null) 'referenceTable': referenceTable!, + if (tableColumns != null) 'tableColumns': tableColumns!, + if (tableName != null) 'tableName': tableName!, + if (type != null) 'type': type!, + }; +} + +/// The main conversion workspace resource entity. +class ConversionWorkspace { + /// The timestamp when the workspace resource was created. + /// + /// Output only. + core.String? createTime; + + /// The destination engine details. + /// + /// Required. + DatabaseEngineInfo? destination; + + /// The display name for the workspace + core.String? displayName; + + /// A generic list of settings for the workspace. + /// + /// The settings are database pair dependant and can indicate default behavior + /// for the mapping rules engine or turn on or off specific features. Such + /// examples can be: convert_foreign_key_to_interleave=true, + /// skip_triggers=false, ignore_non_table_synonyms=true + core.Map<core.String, core.String>? globalSettings; + + /// Whether the workspace has uncommitted changes (changes which were made + /// after the workspace was committed) + /// + /// Output only. + core.bool? hasUncommittedChanges; + + /// The latest commit id + /// + /// Output only. + core.String? latestCommitId; + + /// The timestamp when the workspace was committed. + /// + /// Output only. + core.String? latestCommitTime; + + /// Full name of the workspace resource, in the form of: + /// projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + core.String? name; + + /// The source engine details. + /// + /// Required. + DatabaseEngineInfo? source; + + /// The timestamp when the workspace resource was last updated. + /// + /// Output only. + core.String? updateTime; + + ConversionWorkspace({ + this.createTime, + this.destination, + this.displayName, + this.globalSettings, + this.hasUncommittedChanges, + this.latestCommitId, + this.latestCommitTime, + this.name, + this.source, + this.updateTime, + }); + + ConversionWorkspace.fromJson(core.Map json_) + : this( + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + destination: json_.containsKey('destination') + ? DatabaseEngineInfo.fromJson( + json_['destination'] as core.Map<core.String, core.dynamic>) + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + globalSettings: json_.containsKey('globalSettings') + ? (json_['globalSettings'] as core.Map<core.String, core.dynamic>) + .map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + hasUncommittedChanges: json_.containsKey('hasUncommittedChanges') + ? json_['hasUncommittedChanges'] as core.bool + : null, + latestCommitId: json_.containsKey('latestCommitId') + ? json_['latestCommitId'] as core.String + : null, + latestCommitTime: json_.containsKey('latestCommitTime') + ? json_['latestCommitTime'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + source: json_.containsKey('source') + ? DatabaseEngineInfo.fromJson( + json_['source'] as core.Map<core.String, core.dynamic>) + : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (createTime != null) 'createTime': createTime!, + if (destination != null) 'destination': destination!, + if (displayName != null) 'displayName': displayName!, + if (globalSettings != null) 'globalSettings': globalSettings!, + if (hasUncommittedChanges != null) + 'hasUncommittedChanges': hasUncommittedChanges!, + if (latestCommitId != null) 'latestCommitId': latestCommitId!, + if (latestCommitTime != null) 'latestCommitTime': latestCommitTime!, + if (name != null) 'name': name!, + if (source != null) 'source': source!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// A conversion workspace's version. +class ConversionWorkspaceInfo { + /// The commit ID of the conversion workspace. + core.String? commitId; + + /// The resource name (URI) of the conversion workspace. + core.String? name; + + ConversionWorkspaceInfo({ + this.commitId, + this.name, + }); + + ConversionWorkspaceInfo.fromJson(core.Map json_) + : this( + commitId: json_.containsKey('commitId') + ? json_['commitId'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (commitId != null) 'commitId': commitId!, + if (name != null) 'name': name!, + }; +} + +/// Request message for 'ConvertConversionWorkspace' request. +class ConvertConversionWorkspaceRequest { + /// Should the conversion workspace be committed automatically after the + /// conversion. + core.bool? autoCommit; + + /// Filter the entities to convert. + /// + /// Leaving this field empty will convert all of the entities. Supports Google + /// AIP-160 style filtering. + core.String? filter; + + ConvertConversionWorkspaceRequest({ + this.autoCommit, + this.filter, + }); + + ConvertConversionWorkspaceRequest.fromJson(core.Map json_) + : this( + autoCommit: json_.containsKey('autoCommit') + ? json_['autoCommit'] as core.bool + : null, + filter: json_.containsKey('filter') + ? json_['filter'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (autoCommit != null) 'autoCommit': autoCommit!, + if (filter != null) 'filter': filter!, + }; +} + +/// The type and version of a source or destination DB. +class DatabaseEngineInfo { + /// Engine Type. + /// + /// Required. + /// Possible string values are: + /// - "DATABASE_ENGINE_UNSPECIFIED" : The source database engine of the + /// migration job is unknown. + /// - "MYSQL" : The source engine is MySQL. + /// - "POSTGRESQL" : The source engine is PostgreSQL. + /// - "ORACLE" : The source engine is Oracle + core.String? engine; + + /// Engine named version, for e.g. 12.c.1 + /// + /// Required. + core.String? version; + + DatabaseEngineInfo({ + this.engine, + this.version, + }); + + DatabaseEngineInfo.fromJson(core.Map json_) + : this( + engine: json_.containsKey('engine') + ? json_['engine'] as core.String + : null, + version: json_.containsKey('version') + ? json_['version'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (engine != null) 'engine': engine!, + if (version != null) 'version': version!, + }; +} + +/// The base entity type for all the database related entities The message +/// contains the entity name, the name of its parent, its type and the specific +/// details per its type +class DatabaseEntity { + /// Function + FunctionEntity? databaseFunction; + + /// Package + PackageEntity? databasePackage; + + /// The type of the database entity (table, view, index, ...). + /// Possible string values are: + /// - "DATABASE_ENTITY_TYPE_UNSPECIFIED" : Unspecified database entity type + /// - "DATABASE_ENTITY_TYPE_SCHEMA" : Schema + /// - "DATABASE_ENTITY_TYPE_TABLE" : Table + /// - "DATABASE_ENTITY_TYPE_COLUMN" : Column + /// - "DATABASE_ENTITY_TYPE_CONSTRAINT" : Constraint + /// - "DATABASE_ENTITY_TYPE_INDEX" : Index + /// - "DATABASE_ENTITY_TYPE_TRIGGER" : Trigger + /// - "DATABASE_ENTITY_TYPE_VIEW" : View + /// - "DATABASE_ENTITY_TYPE_SEQUENCE" : Sequence + /// - "DATABASE_ENTITY_TYPE_STORED_PROCEDURE" : Stored Procedure + /// - "DATABASE_ENTITY_TYPE_FUNCTION" : Function + /// - "DATABASE_ENTITY_TYPE_SYNONYM" : Synonym + /// - "DATABASE_ENTITY_TYPE_DATABASE_PACKAGE" : Package + /// - "DATABASE_ENTITY_TYPE_UDT" : UDT + core.String? entityType; + + /// Details about entity mappings. + /// + /// For source tree entities, this holds the draft entities which were + /// generated by the mapping rules. For draft tree entities, this holds the + /// source entities which were converted to form the draft entity. Destination + /// entities will have no mapping details. + core.List<EntityMapping>? mappings; + + /// The full name of the parent entity (e.g. schema name). + core.String? parentEntity; + + /// Schema. + SchemaEntity? schema; + + /// Sequence + SequenceEntity? sequence; + + /// The short name (e.g. table name) of the entity. + core.String? shortName; + + /// Stored Procedure + StoredProcedureEntity? storedProcedure; + + /// Synonym + SynonymEntity? synonym; + + /// Table. + TableEntity? table; + + /// The type of tree the entity belongs to. + /// Possible string values are: + /// - "TREE_TYPE_UNSPECIFIED" : Tree Type Unspecified. + /// - "SOURCE" : Tree of entities loaded from a source database. + /// - "DRAFT" : Tree of entities converted from the source tree using the + /// mapping rules. + /// - "DESTINATION" : Tree of entities observed on the destination database. + core.String? tree; + + /// View + ViewEntity? view; + + DatabaseEntity({ + this.databaseFunction, + this.databasePackage, + this.entityType, + this.mappings, + this.parentEntity, + this.schema, + this.sequence, + this.shortName, + this.storedProcedure, + this.synonym, + this.table, + this.tree, + this.view, + }); + + DatabaseEntity.fromJson(core.Map json_) + : this( + databaseFunction: json_.containsKey('databaseFunction') + ? FunctionEntity.fromJson(json_['databaseFunction'] + as core.Map<core.String, core.dynamic>) + : null, + databasePackage: json_.containsKey('databasePackage') + ? PackageEntity.fromJson(json_['databasePackage'] + as core.Map<core.String, core.dynamic>) + : null, + entityType: json_.containsKey('entityType') + ? json_['entityType'] as core.String + : null, + mappings: json_.containsKey('mappings') + ? (json_['mappings'] as core.List) + .map((value) => EntityMapping.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + parentEntity: json_.containsKey('parentEntity') + ? json_['parentEntity'] as core.String + : null, + schema: json_.containsKey('schema') + ? SchemaEntity.fromJson( + json_['schema'] as core.Map<core.String, core.dynamic>) + : null, + sequence: json_.containsKey('sequence') + ? SequenceEntity.fromJson( + json_['sequence'] as core.Map<core.String, core.dynamic>) + : null, + shortName: json_.containsKey('shortName') + ? json_['shortName'] as core.String + : null, + storedProcedure: json_.containsKey('storedProcedure') + ? StoredProcedureEntity.fromJson(json_['storedProcedure'] + as core.Map<core.String, core.dynamic>) + : null, + synonym: json_.containsKey('synonym') + ? SynonymEntity.fromJson( + json_['synonym'] as core.Map<core.String, core.dynamic>) + : null, + table: json_.containsKey('table') + ? TableEntity.fromJson( + json_['table'] as core.Map<core.String, core.dynamic>) + : null, + tree: json_.containsKey('tree') ? json_['tree'] as core.String : null, + view: json_.containsKey('view') + ? ViewEntity.fromJson( + json_['view'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (databaseFunction != null) 'databaseFunction': databaseFunction!, + if (databasePackage != null) 'databasePackage': databasePackage!, + if (entityType != null) 'entityType': entityType!, + if (mappings != null) 'mappings': mappings!, + if (parentEntity != null) 'parentEntity': parentEntity!, + if (schema != null) 'schema': schema!, + if (sequence != null) 'sequence': sequence!, + if (shortName != null) 'shortName': shortName!, + if (storedProcedure != null) 'storedProcedure': storedProcedure!, + if (synonym != null) 'synonym': synonym!, + if (table != null) 'table': table!, + if (tree != null) 'tree': tree!, + if (view != null) 'view': view!, + }; +} + /// A message defining the database engine and provider. class DatabaseType { /// The database engine. @@ -2226,6 +3982,7 @@ /// migration job is unknown. /// - "MYSQL" : The source engine is MySQL. /// - "POSTGRESQL" : The source engine is PostgreSQL. + /// - "ORACLE" : The source engine is Oracle core.String? engine; /// The database provider. @@ -2258,6 +4015,64 @@ }; } +/// Response message for 'DescribeConversionWorkspaceRevisions' request. +class DescribeConversionWorkspaceRevisionsResponse { + /// The list of conversion workspace revisions. + core.List<ConversionWorkspace>? revisions; + + DescribeConversionWorkspaceRevisionsResponse({ + this.revisions, + }); + + DescribeConversionWorkspaceRevisionsResponse.fromJson(core.Map json_) + : this( + revisions: json_.containsKey('revisions') + ? (json_['revisions'] as core.List) + .map((value) => ConversionWorkspace.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (revisions != null) 'revisions': revisions!, + }; +} + +/// Response message for 'DescribeDatabaseEntities' request. +class DescribeDatabaseEntitiesResponse { + /// The list of database entities for the conversion workspace. + core.List<DatabaseEntity>? databaseEntities; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + DescribeDatabaseEntitiesResponse({ + this.databaseEntities, + this.nextPageToken, + }); + + DescribeDatabaseEntitiesResponse.fromJson(core.Map json_) + : this( + databaseEntities: json_.containsKey('databaseEntities') + ? (json_['databaseEntities'] as core.List) + .map((value) => DatabaseEntity.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (databaseEntities != null) 'databaseEntities': databaseEntities!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + /// Dump flag definition. class DumpFlag { /// The name of the flag @@ -2316,6 +4131,94 @@ /// (google.protobuf.Empty); } typedef Empty = $Empty; +/// Details of the mappings of a database entity. +class EntityMapping { + /// Target entity full name. + /// + /// The draft entity can also include a column, index or constraint using the + /// same naming notation schema.table.column + core.String? draftEntity; + + /// Entity mapping log entries. + /// + /// Multiple rules can be effective and contribute changes to a converted + /// entity such as, a rule can handle the entity name, another rule can handle + /// an entity type. In addition, rules which did not change the entity are + /// also logged along the with the reason preventing them to do so. + core.List<EntityMappingLogEntry>? mappingLog; + + /// Source entity full name. + /// + /// The source entity can also be a column, index or constraint using the same + /// naming notation schema.table.column + core.String? sourceEntity; + + EntityMapping({ + this.draftEntity, + this.mappingLog, + this.sourceEntity, + }); + + EntityMapping.fromJson(core.Map json_) + : this( + draftEntity: json_.containsKey('draftEntity') + ? json_['draftEntity'] as core.String + : null, + mappingLog: json_.containsKey('mappingLog') + ? (json_['mappingLog'] as core.List) + .map((value) => EntityMappingLogEntry.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + sourceEntity: json_.containsKey('sourceEntity') + ? json_['sourceEntity'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (draftEntity != null) 'draftEntity': draftEntity!, + if (mappingLog != null) 'mappingLog': mappingLog!, + if (sourceEntity != null) 'sourceEntity': sourceEntity!, + }; +} + +/// A single record of a rule which was used for a mapping. +class EntityMappingLogEntry { + /// Comment. + core.String? mappingComment; + + /// Which rule caused it. + core.String? ruleId; + + /// Rule revision id + core.String? ruleRevisionId; + + EntityMappingLogEntry({ + this.mappingComment, + this.ruleId, + this.ruleRevisionId, + }); + + EntityMappingLogEntry.fromJson(core.Map json_) + : this( + mappingComment: json_.containsKey('mappingComment') + ? json_['mappingComment'] as core.String + : null, + ruleId: json_.containsKey('ruleId') + ? json_['ruleId'] as core.String + : null, + ruleRevisionId: json_.containsKey('ruleRevisionId') + ? json_['ruleRevisionId'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (mappingComment != null) 'mappingComment': mappingComment!, + if (ruleId != null) 'ruleId': ruleId!, + if (ruleRevisionId != null) 'ruleRevisionId': ruleRevisionId!, + }; +} + /// Represents a textual expression in the Common Expression Language (CEL) /// syntax. /// @@ -2336,6 +4239,41 @@ /// information. typedef Expr = $Expr; +/// Forward SSH Tunnel connectivity. +typedef ForwardSshTunnelConnectivity = $ForwardSshTunnelConnectivity; + +/// Function's parent is a schema. +class FunctionEntity { + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + /// The SQL code which creates the function + core.String? sqlCode; + + FunctionEntity({ + this.customFeatures, + this.sqlCode, + }); + + FunctionEntity.fromJson(core.Map json_) + : this( + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + sqlCode: json_.containsKey('sqlCode') + ? json_['sqlCode'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (customFeatures != null) 'customFeatures': customFeatures!, + if (sqlCode != null) 'sqlCode': sqlCode!, + }; +} + /// Request message for 'GenerateSshScript' request. class GenerateSshScriptRequest { /// Bastion VM Instance name to use or to create. @@ -2382,6 +4320,143 @@ }; } +/// Request message for 'ImportMappingRules' request. +class ImportMappingRulesRequest { + /// Should the conversion workspace be committed automatically after the + /// import operation. + core.bool? autoCommit; + + /// One or more rules files + core.List<RulesFile>? rulesFiles; + + /// The format of the rules content file. + /// Possible string values are: + /// - "IMPORT_RULES_FILE_FORMAT_UNSPECIFIED" : Unspecified Rules Format + /// - "IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE" : Harbour Bridge + /// Session file + /// - "IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE" : ORA2PG config file + core.String? rulesFormat; + + ImportMappingRulesRequest({ + this.autoCommit, + this.rulesFiles, + this.rulesFormat, + }); + + ImportMappingRulesRequest.fromJson(core.Map json_) + : this( + autoCommit: json_.containsKey('autoCommit') + ? json_['autoCommit'] as core.bool + : null, + rulesFiles: json_.containsKey('rulesFiles') + ? (json_['rulesFiles'] as core.List) + .map((value) => RulesFile.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + rulesFormat: json_.containsKey('rulesFormat') + ? json_['rulesFormat'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (autoCommit != null) 'autoCommit': autoCommit!, + if (rulesFiles != null) 'rulesFiles': rulesFiles!, + if (rulesFormat != null) 'rulesFormat': rulesFormat!, + }; +} + +/// Details regarding an Import Rules background job +class ImportRulesJobDetails { + /// The requested file format + /// Possible string values are: + /// - "IMPORT_RULES_FILE_FORMAT_UNSPECIFIED" : Unspecified Rules Format + /// - "IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE" : Harbour Bridge + /// Session file + /// - "IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE" : ORA2PG config file + core.String? fileFormat; + + /// File names used for the import rules job + core.List<core.String>? files; + + ImportRulesJobDetails({ + this.fileFormat, + this.files, + }); + + ImportRulesJobDetails.fromJson(core.Map json_) + : this( + fileFormat: json_.containsKey('fileFormat') + ? json_['fileFormat'] as core.String + : null, + files: json_.containsKey('files') + ? (json_['files'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (fileFormat != null) 'fileFormat': fileFormat!, + if (files != null) 'files': files!, + }; +} + +/// Index is not used as an independent entity, it is retrieved as part of a +/// Table entity. +class IndexEntity { + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + /// The name of the index + core.String? name; + + /// Table columns used as part of the Index for e.g. B-TREE index should list + /// the columns which constitutes the index. + core.List<core.String>? tableColumns; + + /// Type of index - e.g. B-TREE + core.String? type; + + /// boolean value indicating whether the index is unique + core.bool? unique; + + IndexEntity({ + this.customFeatures, + this.name, + this.tableColumns, + this.type, + this.unique, + }); + + IndexEntity.fromJson(core.Map json_) + : this( + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + tableColumns: json_.containsKey('tableColumns') + ? (json_['tableColumns'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + type: json_.containsKey('type') ? json_['type'] as core.String : null, + unique: + json_.containsKey('unique') ? json_['unique'] as core.bool : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (customFeatures != null) 'customFeatures': customFeatures!, + if (name != null) 'name': name!, + if (tableColumns != null) 'tableColumns': tableColumns!, + if (type != null) 'type': type!, + if (unique != null) 'unique': unique!, + }; +} + /// Response message for 'ListConnectionProfiles' request. class ListConnectionProfilesResponse { /// The response list of connection profiles. @@ -2427,6 +4502,51 @@ }; } +/// Response message for 'ListConversionWorkspaces' request. +class ListConversionWorkspacesResponse { + /// The list of conversion workspace objects. + core.List<ConversionWorkspace>? conversionWorkspaces; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + /// Locations that could not be reached. + core.List<core.String>? unreachable; + + ListConversionWorkspacesResponse({ + this.conversionWorkspaces, + this.nextPageToken, + this.unreachable, + }); + + ListConversionWorkspacesResponse.fromJson(core.Map json_) + : this( + conversionWorkspaces: json_.containsKey('conversionWorkspaces') + ? (json_['conversionWorkspaces'] as core.List) + .map((value) => ConversionWorkspace.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + unreachable: json_.containsKey('unreachable') + ? (json_['unreachable'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (conversionWorkspaces != null) + 'conversionWorkspaces': conversionWorkspaces!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (unreachable != null) 'unreachable': unreachable!, + }; +} + /// The response message for Locations.ListLocations. class ListLocationsResponse { /// A list of locations that matches the specified filter in the request. @@ -2535,6 +4655,51 @@ }; } +/// Response message for 'ListPrivateConnections' request. +class ListPrivateConnectionsResponse { + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + /// List of private connections. + core.List<PrivateConnection>? privateConnections; + + /// Locations that could not be reached. + core.List<core.String>? unreachable; + + ListPrivateConnectionsResponse({ + this.nextPageToken, + this.privateConnections, + this.unreachable, + }); + + ListPrivateConnectionsResponse.fromJson(core.Map json_) + : this( + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + privateConnections: json_.containsKey('privateConnections') + ? (json_['privateConnections'] as core.List) + .map((value) => PrivateConnection.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + unreachable: json_.containsKey('unreachable') + ? (json_['unreachable'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (privateConnections != null) + 'privateConnections': privateConnections!, + if (unreachable != null) 'unreachable': unreachable!, + }; +} + /// A resource that represents Google Cloud Platform location. typedef Location = $Location00; @@ -2561,6 +4726,9 @@ /// Represents a Database Migration Service migration job object. class MigrationJob { + /// The conversion workspace used by the migration. + ConversionWorkspaceInfo? conversionWorkspace; + /// The timestamp when the migration job resource was created. /// /// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. @@ -2609,6 +4777,14 @@ /// Output only. Status? error; + /// This field can be used to select the entities to migrate as part of the + /// migration job. + /// + /// It uses AIP-160 notation to select a subset of the entities configured on + /// the associated conversion-workspace. This field should not be set on + /// migration-jobs that are not associated with a conversion workspace. + core.String? filter; + /// The resource labels for migration job to use to annotate any related /// underlying resources such as Compute Engine VMs. /// @@ -2691,6 +4867,7 @@ VpcPeeringConnectivity? vpcPeeringConnectivity; MigrationJob({ + this.conversionWorkspace, this.createTime, this.destination, this.destinationDatabase, @@ -2700,6 +4877,7 @@ this.duration, this.endTime, this.error, + this.filter, this.labels, this.name, this.phase, @@ -2715,6 +4893,10 @@ MigrationJob.fromJson(core.Map json_) : this( + conversionWorkspace: json_.containsKey('conversionWorkspace') + ? ConversionWorkspaceInfo.fromJson(json_['conversionWorkspace'] + as core.Map<core.String, core.dynamic>) + : null, createTime: json_.containsKey('createTime') ? json_['createTime'] as core.String : null, @@ -2745,6 +4927,9 @@ ? Status.fromJson( json_['error'] as core.Map<core.String, core.dynamic>) : null, + filter: json_.containsKey('filter') + ? json_['filter'] as core.String + : null, labels: json_.containsKey('labels') ? (json_['labels'] as core.Map<core.String, core.dynamic>).map( (key, item) => core.MapEntry( @@ -2784,6 +4969,8 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (conversionWorkspace != null) + 'conversionWorkspace': conversionWorkspace!, if (createTime != null) 'createTime': createTime!, if (destination != null) 'destination': destination!, if (destinationDatabase != null) @@ -2794,6 +4981,7 @@ if (duration != null) 'duration': duration!, if (endTime != null) 'endTime': endTime!, if (error != null) 'error': error!, + if (filter != null) 'filter': filter!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, if (phase != null) 'phase': phase!, @@ -2971,6 +5159,158 @@ }; } +/// Specifies connection parameters required specifically for Oracle databases. +class OracleConnectionProfile { + /// Database service for the Oracle connection. + /// + /// Required. + core.String? databaseService; + + /// Forward SSH tunnel connectivity. + ForwardSshTunnelConnectivity? forwardSshConnectivity; + + /// The IP or hostname of the source Oracle database. + /// + /// Required. + core.String? host; + + /// Input only. + /// + /// The password for the user that Database Migration Service will be using to + /// connect to the database. This field is not returned on request, and the + /// value is encrypted when stored in Database Migration Service. + /// + /// Required. + core.String? password; + + /// Indicates whether a new password is included in the request. + /// + /// Output only. + core.bool? passwordSet; + + /// The network port of the source Oracle database. + /// + /// Required. + core.int? port; + + /// Private connectivity. + PrivateConnectivity? privateConnectivity; + + /// Static Service IP connectivity. + StaticServiceIpConnectivity? staticServiceIpConnectivity; + + /// The username that Database Migration Service will use to connect to the + /// database. + /// + /// The value is encrypted when stored in Database Migration Service. + /// + /// Required. + core.String? username; + + OracleConnectionProfile({ + this.databaseService, + this.forwardSshConnectivity, + this.host, + this.password, + this.passwordSet, + this.port, + this.privateConnectivity, + this.staticServiceIpConnectivity, + this.username, + }); + + OracleConnectionProfile.fromJson(core.Map json_) + : this( + databaseService: json_.containsKey('databaseService') + ? json_['databaseService'] as core.String + : null, + forwardSshConnectivity: json_.containsKey('forwardSshConnectivity') + ? ForwardSshTunnelConnectivity.fromJson( + json_['forwardSshConnectivity'] + as core.Map<core.String, core.dynamic>) + : null, + host: json_.containsKey('host') ? json_['host'] as core.String : null, + password: json_.containsKey('password') + ? json_['password'] as core.String + : null, + passwordSet: json_.containsKey('passwordSet') + ? json_['passwordSet'] as core.bool + : null, + port: json_.containsKey('port') ? json_['port'] as core.int : null, + privateConnectivity: json_.containsKey('privateConnectivity') + ? PrivateConnectivity.fromJson(json_['privateConnectivity'] + as core.Map<core.String, core.dynamic>) + : null, + staticServiceIpConnectivity: + json_.containsKey('staticServiceIpConnectivity') + ? StaticServiceIpConnectivity.fromJson( + json_['staticServiceIpConnectivity'] + as core.Map<core.String, core.dynamic>) + : null, + username: json_.containsKey('username') + ? json_['username'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (databaseService != null) 'databaseService': databaseService!, + if (forwardSshConnectivity != null) + 'forwardSshConnectivity': forwardSshConnectivity!, + if (host != null) 'host': host!, + if (password != null) 'password': password!, + if (passwordSet != null) 'passwordSet': passwordSet!, + if (port != null) 'port': port!, + if (privateConnectivity != null) + 'privateConnectivity': privateConnectivity!, + if (staticServiceIpConnectivity != null) + 'staticServiceIpConnectivity': staticServiceIpConnectivity!, + if (username != null) 'username': username!, + }; +} + +/// Package's parent is a schema. +class PackageEntity { + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + /// The SQL code which creates the package body. + /// + /// If the package specification has cursors or subprograms, then the package + /// body is mandatory. + core.String? packageBody; + + /// The SQL code which creates the package + core.String? packageSqlCode; + + PackageEntity({ + this.customFeatures, + this.packageBody, + this.packageSqlCode, + }); + + PackageEntity.fromJson(core.Map json_) + : this( + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + packageBody: json_.containsKey('packageBody') + ? json_['packageBody'] as core.String + : null, + packageSqlCode: json_.containsKey('packageSqlCode') + ? json_['packageSqlCode'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (customFeatures != null) 'customFeatures': customFeatures!, + if (packageBody != null) 'packageBody': packageBody!, + if (packageSqlCode != null) 'packageSqlCode': packageSqlCode!, + }; +} + /// An Identity and Access Management (IAM) policy, which specifies access /// controls for Google Cloud resources. /// @@ -3031,11 +5371,13 @@ /// then IAM allows you to overwrite a version `3` policy with a version `1` /// policy, and all of the conditions in the version `3` policy are lost. core.String? etag; - core.List<core.int> get etagAsBytes => convert.base64.decode(etag!); + core.List<core.int> get etagAsBytes => convert_1.base64.decode(etag!); set etagAsBytes(core.List<core.int> bytes_) { - etag = - convert.base64.encode(bytes_).replaceAll('/', '_').replaceAll('+', '-'); + etag = convert_1.base64 + .encode(bytes_) + .replaceAll('/', '_') + .replaceAll('+', '-'); } /// Specifies the format of the policy. @@ -3135,9 +5477,15 @@ /// Required. core.int? port; + /// Private service connect connectivity. + PrivateServiceConnectConnectivity? privateServiceConnectConnectivity; + /// SSL configuration for the destination to connect to the source database. SslConfig? ssl; + /// Static ip connectivity data (default, no additional details needed). + StaticIpConnectivity? staticIpConnectivity; + /// The username that Database Migration Service will use to connect to the /// database. /// @@ -3153,7 +5501,9 @@ this.password, this.passwordSet, this.port, + this.privateServiceConnectConnectivity, this.ssl, + this.staticIpConnectivity, this.username, }); @@ -3173,10 +5523,20 @@ ? json_['passwordSet'] as core.bool : null, port: json_.containsKey('port') ? json_['port'] as core.int : null, + privateServiceConnectConnectivity: + json_.containsKey('privateServiceConnectConnectivity') + ? PrivateServiceConnectConnectivity.fromJson( + json_['privateServiceConnectConnectivity'] + as core.Map<core.String, core.dynamic>) + : null, ssl: json_.containsKey('ssl') ? SslConfig.fromJson( json_['ssl'] as core.Map<core.String, core.dynamic>) : null, + staticIpConnectivity: json_.containsKey('staticIpConnectivity') + ? StaticIpConnectivity.fromJson(json_['staticIpConnectivity'] + as core.Map<core.String, core.dynamic>) + : null, username: json_.containsKey('username') ? json_['username'] as core.String : null, @@ -3190,7 +5550,12 @@ if (password != null) 'password': password!, if (passwordSet != null) 'passwordSet': passwordSet!, if (port != null) 'port': port!, + if (privateServiceConnectConnectivity != null) + 'privateServiceConnectConnectivity': + privateServiceConnectConnectivity!, if (ssl != null) 'ssl': ssl!, + if (staticIpConnectivity != null) + 'staticIpConnectivity': staticIpConnectivity!, if (username != null) 'username': username!, }; } @@ -3271,6 +5636,160 @@ }; } +/// The PrivateConnection resource is used to establish private connectivity +/// with the customer's network. +class PrivateConnection { + /// The create time of the resource. + /// + /// Output only. + core.String? createTime; + + /// The private connection display name. + core.String? displayName; + + /// The error details in case of state FAILED. + /// + /// Output only. + Status? error; + + /// The resource labels for private connections to use to annotate any related + /// underlying resources such as Compute Engine VMs. + /// + /// An object containing a list of "key": "value" pairs. Example: `{ "name": + /// "wrench", "mass": "1.3kg", "count": "3" }`. + core.Map<core.String, core.String>? labels; + + /// The resource's name. + core.String? name; + + /// The state of the Private Connection. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" + /// - "CREATING" : The private connection is in creation state - creating + /// resources. + /// - "CREATED" : The private connection has been created with all of its + /// resources. + /// - "FAILED" : The private connection creation has failed. + /// - "DELETING" : The private connection is being deleted. + /// - "FAILED_TO_DELETE" : Delete request has failed, resource is in invalid + /// state. + /// - "DELETED" : The private connection has been deleted. + core.String? state; + + /// The last update time of the resource. + /// + /// Output only. + core.String? updateTime; + + /// VPC Peering Config. + VpcPeeringConfig? vpcPeeringConfig; + + PrivateConnection({ + this.createTime, + this.displayName, + this.error, + this.labels, + this.name, + this.state, + this.updateTime, + this.vpcPeeringConfig, + }); + + PrivateConnection.fromJson(core.Map json_) + : this( + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + error: json_.containsKey('error') + ? Status.fromJson( + json_['error'] as core.Map<core.String, core.dynamic>) + : null, + labels: json_.containsKey('labels') + ? (json_['labels'] as core.Map<core.String, core.dynamic>).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + state: + json_.containsKey('state') ? json_['state'] as core.String : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + vpcPeeringConfig: json_.containsKey('vpcPeeringConfig') + ? VpcPeeringConfig.fromJson(json_['vpcPeeringConfig'] + as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (createTime != null) 'createTime': createTime!, + if (displayName != null) 'displayName': displayName!, + if (error != null) 'error': error!, + if (labels != null) 'labels': labels!, + if (name != null) 'name': name!, + if (state != null) 'state': state!, + if (updateTime != null) 'updateTime': updateTime!, + if (vpcPeeringConfig != null) 'vpcPeeringConfig': vpcPeeringConfig!, + }; +} + +/// Private Connectivity. +class PrivateConnectivity { + /// The resource name (URI) of the private connection. + /// + /// Required. + core.String? privateConnection; + + PrivateConnectivity({ + this.privateConnection, + }); + + PrivateConnectivity.fromJson(core.Map json_) + : this( + privateConnection: json_.containsKey('privateConnection') + ? json_['privateConnection'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (privateConnection != null) 'privateConnection': privateConnection!, + }; +} + +/// Private Service Connect connectivity +/// (https://cloud.google.com/vpc/docs/private-service-connect#benefits-services) +class PrivateServiceConnectConnectivity { + /// A service attachment that exposes a database, and has the following + /// format: + /// projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name} + /// + /// Required. + core.String? serviceAttachment; + + PrivateServiceConnectConnectivity({ + this.serviceAttachment, + }); + + PrivateServiceConnectConnectivity.fromJson(core.Map json_) + : this( + serviceAttachment: json_.containsKey('serviceAttachment') + ? json_['serviceAttachment'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (serviceAttachment != null) 'serviceAttachment': serviceAttachment!, + }; +} + /// Request message for 'PromoteMigrationJob' request. typedef PromoteMigrationJobRequest = $Empty; @@ -3331,6 +5850,256 @@ }; } +/// Request message for 'RollbackConversionWorkspace' request. +typedef RollbackConversionWorkspaceRequest = $Empty; + +/// Details of a single rules file +class RulesFile { + /// The text content of the rules that needs to be converted + core.String? rulesContent; + + /// The filename of the rules that needs to be converted. + /// + /// This is used mainly so future logs of the import rules job will contain + /// this detail and can therefore be searched by it later + core.String? rulesSourceFilename; + + RulesFile({ + this.rulesContent, + this.rulesSourceFilename, + }); + + RulesFile.fromJson(core.Map json_) + : this( + rulesContent: json_.containsKey('rulesContent') + ? json_['rulesContent'] as core.String + : null, + rulesSourceFilename: json_.containsKey('rulesSourceFilename') + ? json_['rulesSourceFilename'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (rulesContent != null) 'rulesContent': rulesContent!, + if (rulesSourceFilename != null) + 'rulesSourceFilename': rulesSourceFilename!, + }; +} + +/// Schema typically has no parent entity, but can have a parent entity +/// DatabaseInstance (for database engines which supports it). +/// +/// For some database engines the term schema and user can be used +/// interchangeably when they refer to a namespace or a collection of other +/// database entities. Can store additional information which is schema +/// specific. +class SchemaEntity { + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + SchemaEntity({ + this.customFeatures, + }); + + SchemaEntity.fromJson(core.Map json_) + : this( + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (customFeatures != null) 'customFeatures': customFeatures!, + }; +} + +/// Response message for 'SearchBackgroundJobs' request. +class SearchBackgroundJobsResponse { + /// The list of conversion workspace mapping rules. + core.List<BackgroundJobLogEntry>? jobs; + + SearchBackgroundJobsResponse({ + this.jobs, + }); + + SearchBackgroundJobsResponse.fromJson(core.Map json_) + : this( + jobs: json_.containsKey('jobs') + ? (json_['jobs'] as core.List) + .map((value) => BackgroundJobLogEntry.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (jobs != null) 'jobs': jobs!, + }; +} + +/// Request message for 'SeedConversionWorkspace' request. +class SeedConversionWorkspaceRequest { + /// Should the conversion workspace be committed automatically after the seed + /// operation. + core.bool? autoCommit; + + /// Fully qualified (Uri) name of the destination connection profile. + core.String? destinationConnectionProfile; + + /// Fully qualified (Uri) name of the source connection profile. + core.String? sourceConnectionProfile; + + SeedConversionWorkspaceRequest({ + this.autoCommit, + this.destinationConnectionProfile, + this.sourceConnectionProfile, + }); + + SeedConversionWorkspaceRequest.fromJson(core.Map json_) + : this( + autoCommit: json_.containsKey('autoCommit') + ? json_['autoCommit'] as core.bool + : null, + destinationConnectionProfile: + json_.containsKey('destinationConnectionProfile') + ? json_['destinationConnectionProfile'] as core.String + : null, + sourceConnectionProfile: json_.containsKey('sourceConnectionProfile') + ? json_['sourceConnectionProfile'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (autoCommit != null) 'autoCommit': autoCommit!, + if (destinationConnectionProfile != null) + 'destinationConnectionProfile': destinationConnectionProfile!, + if (sourceConnectionProfile != null) + 'sourceConnectionProfile': sourceConnectionProfile!, + }; +} + +/// Details regarding a Seed background job +class SeedJobDetails { + /// The connection profile which was used for the seed job + core.String? connectionProfile; + + SeedJobDetails({ + this.connectionProfile, + }); + + SeedJobDetails.fromJson(core.Map json_) + : this( + connectionProfile: json_.containsKey('connectionProfile') + ? json_['connectionProfile'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (connectionProfile != null) 'connectionProfile': connectionProfile!, + }; +} + +/// Sequence's parent is a schema. +class SequenceEntity { + /// Indicates number of entries to cache / precreate + core.String? cache; + + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + /// Indicates whether the sequence value should cycle through + core.bool? cycle; + + /// Increment value for the sequence + core.String? increment; + + /// Maximum number for the sequence represented as bytes to accommodate large + /// numbers + core.String? maxValue; + core.List<core.int> get maxValueAsBytes => convert_1.base64.decode(maxValue!); + + set maxValueAsBytes(core.List<core.int> bytes_) { + maxValue = convert_1.base64 + .encode(bytes_) + .replaceAll('/', '_') + .replaceAll('+', '-'); + } + + /// Minimum number for the sequence represented as bytes to accommodate large + /// numbers + core.String? minValue; + core.List<core.int> get minValueAsBytes => convert_1.base64.decode(minValue!); + + set minValueAsBytes(core.List<core.int> bytes_) { + minValue = convert_1.base64 + .encode(bytes_) + .replaceAll('/', '_') + .replaceAll('+', '-'); + } + + /// Start number for the sequence represented as bytes to accommodate large + /// numbers + core.String? startValue; + core.List<core.int> get startValueAsBytes => + convert_1.base64.decode(startValue!); + + set startValueAsBytes(core.List<core.int> bytes_) { + startValue = convert_1.base64 + .encode(bytes_) + .replaceAll('/', '_') + .replaceAll('+', '-'); + } + + SequenceEntity({ + this.cache, + this.customFeatures, + this.cycle, + this.increment, + this.maxValue, + this.minValue, + this.startValue, + }); + + SequenceEntity.fromJson(core.Map json_) + : this( + cache: + json_.containsKey('cache') ? json_['cache'] as core.String : null, + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + cycle: + json_.containsKey('cycle') ? json_['cycle'] as core.bool : null, + increment: json_.containsKey('increment') + ? json_['increment'] as core.String + : null, + maxValue: json_.containsKey('maxValue') + ? json_['maxValue'] as core.String + : null, + minValue: json_.containsKey('minValue') + ? json_['minValue'] as core.String + : null, + startValue: json_.containsKey('startValue') + ? json_['startValue'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (cache != null) 'cache': cache!, + if (customFeatures != null) 'customFeatures': customFeatures!, + if (cycle != null) 'cycle': cycle!, + if (increment != null) 'increment': increment!, + if (maxValue != null) 'maxValue': maxValue!, + if (minValue != null) 'minValue': minValue!, + if (startValue != null) 'startValue': startValue!, + }; +} + /// Request message for `SetIamPolicy` method. class SetIamPolicyRequest { /// REQUIRED: The complete policy to be applied to the `resource`. @@ -3566,6 +6335,9 @@ /// console or using Cloud SQL APIs. No additional configuration is required. typedef StaticIpConnectivity = $Empty; +/// Static IP address connectivity configured on service project. +typedef StaticServiceIpConnectivity = $Empty; + /// The `Status` type defines a logical error model that is suitable for /// different programming environments, including REST APIs and RPC APIs. /// @@ -3578,12 +6350,234 @@ /// Request message for 'StopMigrationJob' request. typedef StopMigrationJobRequest = $Empty; +/// Stored procedure's parent is a schema. +class StoredProcedureEntity { + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + /// The SQL code which creates the stored procedure + core.String? sqlCode; + + StoredProcedureEntity({ + this.customFeatures, + this.sqlCode, + }); + + StoredProcedureEntity.fromJson(core.Map json_) + : this( + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + sqlCode: json_.containsKey('sqlCode') + ? json_['sqlCode'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (customFeatures != null) 'customFeatures': customFeatures!, + if (sqlCode != null) 'sqlCode': sqlCode!, + }; +} + +/// Synonym's parent is a schema. +class SynonymEntity { + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + /// The name of the entity for which the synonym is being created (the source) + core.String? sourceEntity; + + /// The type of the entity for which the synonym is being created (usually a + /// table or a sequence) + /// Possible string values are: + /// - "DATABASE_ENTITY_TYPE_UNSPECIFIED" : Unspecified database entity type + /// - "DATABASE_ENTITY_TYPE_SCHEMA" : Schema + /// - "DATABASE_ENTITY_TYPE_TABLE" : Table + /// - "DATABASE_ENTITY_TYPE_COLUMN" : Column + /// - "DATABASE_ENTITY_TYPE_CONSTRAINT" : Constraint + /// - "DATABASE_ENTITY_TYPE_INDEX" : Index + /// - "DATABASE_ENTITY_TYPE_TRIGGER" : Trigger + /// - "DATABASE_ENTITY_TYPE_VIEW" : View + /// - "DATABASE_ENTITY_TYPE_SEQUENCE" : Sequence + /// - "DATABASE_ENTITY_TYPE_STORED_PROCEDURE" : Stored Procedure + /// - "DATABASE_ENTITY_TYPE_FUNCTION" : Function + /// - "DATABASE_ENTITY_TYPE_SYNONYM" : Synonym + /// - "DATABASE_ENTITY_TYPE_DATABASE_PACKAGE" : Package + /// - "DATABASE_ENTITY_TYPE_UDT" : UDT + core.String? sourceType; + + SynonymEntity({ + this.customFeatures, + this.sourceEntity, + this.sourceType, + }); + + SynonymEntity.fromJson(core.Map json_) + : this( + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + sourceEntity: json_.containsKey('sourceEntity') + ? json_['sourceEntity'] as core.String + : null, + sourceType: json_.containsKey('sourceType') + ? json_['sourceType'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (customFeatures != null) 'customFeatures': customFeatures!, + if (sourceEntity != null) 'sourceEntity': sourceEntity!, + if (sourceType != null) 'sourceType': sourceType!, + }; +} + +/// Table's parent is a schema. +class TableEntity { + /// Table Columns. + core.List<ColumnEntity>? columns; + + /// Comment associated with the table + core.String? comment; + + /// Table Constraints. + core.List<ConstraintEntity>? constraints; + + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + /// Table Indices. + core.List<IndexEntity>? indices; + + /// Table triggers. + core.List<TriggerEntity>? triggers; + + TableEntity({ + this.columns, + this.comment, + this.constraints, + this.customFeatures, + this.indices, + this.triggers, + }); + + TableEntity.fromJson(core.Map json_) + : this( + columns: json_.containsKey('columns') + ? (json_['columns'] as core.List) + .map((value) => ColumnEntity.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + comment: json_.containsKey('comment') + ? json_['comment'] as core.String + : null, + constraints: json_.containsKey('constraints') + ? (json_['constraints'] as core.List) + .map((value) => ConstraintEntity.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + indices: json_.containsKey('indices') + ? (json_['indices'] as core.List) + .map((value) => IndexEntity.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + triggers: json_.containsKey('triggers') + ? (json_['triggers'] as core.List) + .map((value) => TriggerEntity.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (columns != null) 'columns': columns!, + if (comment != null) 'comment': comment!, + if (constraints != null) 'constraints': constraints!, + if (customFeatures != null) 'customFeatures': customFeatures!, + if (indices != null) 'indices': indices!, + if (triggers != null) 'triggers': triggers!, + }; +} + /// Request message for `TestIamPermissions` method. typedef TestIamPermissionsRequest = $TestIamPermissionsRequest00; /// Response message for `TestIamPermissions` method. typedef TestIamPermissionsResponse = $PermissionsResponse; +/// Trigger is not used as an independent entity, it is retrieved as part of a +/// Table entity. +class TriggerEntity { + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + /// The name of the trigger + core.String? name; + + /// The SQL code which creates the trigger + core.String? sqlCode; + + /// Indicates when the trigger fires, e.g. BEFORE STATEMENT, AFTER EACH ROW + core.String? triggerType; + + /// The DML, DDL, or database events that fires the trigger, e.g. INSERT, + /// UPDATE + core.List<core.String>? triggeringEvents; + + TriggerEntity({ + this.customFeatures, + this.name, + this.sqlCode, + this.triggerType, + this.triggeringEvents, + }); + + TriggerEntity.fromJson(core.Map json_) + : this( + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + sqlCode: json_.containsKey('sqlCode') + ? json_['sqlCode'] as core.String + : null, + triggerType: json_.containsKey('triggerType') + ? json_['triggerType'] as core.String + : null, + triggeringEvents: json_.containsKey('triggeringEvents') + ? (json_['triggeringEvents'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (customFeatures != null) 'customFeatures': customFeatures!, + if (name != null) 'name': name!, + if (sqlCode != null) 'sqlCode': sqlCode!, + if (triggerType != null) 'triggerType': triggerType!, + if (triggeringEvents != null) 'triggeringEvents': triggeringEvents!, + }; +} + /// The username/password for a database user. /// /// Used for specifying initial users at cluster creation time. @@ -3626,6 +6620,49 @@ /// Request message for 'VerifyMigrationJob' request. typedef VerifyMigrationJobRequest = $Empty; +/// View's parent is a schema. +class ViewEntity { + /// View Constraints. + core.List<ConstraintEntity>? constraints; + + /// Custom engine specific features + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? customFeatures; + + /// The SQL code which creates the view. + core.String? sqlCode; + + ViewEntity({ + this.constraints, + this.customFeatures, + this.sqlCode, + }); + + ViewEntity.fromJson(core.Map json_) + : this( + constraints: json_.containsKey('constraints') + ? (json_['constraints'] as core.List) + .map((value) => ConstraintEntity.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + customFeatures: json_.containsKey('customFeatures') + ? json_['customFeatures'] as core.Map<core.String, core.dynamic> + : null, + sqlCode: json_.containsKey('sqlCode') + ? json_['sqlCode'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (constraints != null) 'constraints': constraints!, + if (customFeatures != null) 'customFeatures': customFeatures!, + if (sqlCode != null) 'sqlCode': sqlCode!, + }; +} + /// VM creation configuration message class VmCreationConfig { /// The subnet name the vm needs to be created in. @@ -3688,6 +6725,42 @@ }; } +/// The VPC Peering configuration is used to create VPC peering with the +/// consumer's VPC. +class VpcPeeringConfig { + /// A free subnet for peering. + /// + /// (CIDR of /29) + /// + /// Required. + core.String? subnet; + + /// Fully qualified name of the VPC DMS will peer to. + /// + /// Required. + core.String? vpcName; + + VpcPeeringConfig({ + this.subnet, + this.vpcName, + }); + + VpcPeeringConfig.fromJson(core.Map json_) + : this( + subnet: json_.containsKey('subnet') + ? json_['subnet'] as core.String + : null, + vpcName: json_.containsKey('vpcName') + ? json_['vpcName'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (subnet != null) 'subnet': subnet!, + if (vpcName != null) 'vpcName': vpcName!, + }; +} + /// The details of the VPC where the source database is located in Google Cloud. /// /// We will use this information to set up the VPC peering connection between
diff --git a/generated/googleapis/lib/datapipelines/v1.dart b/generated/googleapis/lib/datapipelines/v1.dart index b3d6e6d..a3da4f3 100644 --- a/generated/googleapis/lib/datapipelines/v1.dart +++ b/generated/googleapis/lib/datapipelines/v1.dart
@@ -26,7 +26,6 @@ /// - [ProjectsLocationsResource] /// - [ProjectsLocationsPipelinesResource] /// - [ProjectsLocationsPipelinesJobsResource] -/// - [ProjectsLocationsTransformDescriptionsResource] library datapipelines.v1; import 'dart:async' as async; @@ -76,132 +75,8 @@ ProjectsLocationsPipelinesResource get pipelines => ProjectsLocationsPipelinesResource(_requester); - ProjectsLocationsTransformDescriptionsResource get transformDescriptions => - ProjectsLocationsTransformDescriptionsResource(_requester); ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; - - /// Computes the schema for the transform. - /// - /// Computation from `raw_schema` will always occur if it is set. This - /// requires that the transform supports that encoding. If no raw schema is - /// provided and if the transform is for an IO, then this will attempt to - /// connect to the resource using the details provided in `config` and infer - /// the schema from that. If the transform is not an IO, is a sink that - /// doesn't exist yet, or is a sink with no schema requirement, then this will - /// fall back to basing the schema off the one provided in `input_schemas`. - /// The computed schema will be validated. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [location] - Required. The full location formatted as - /// "projects/{your-project}/locations/{google-cloud-region}". If attempting - /// to infer the schema from an existing Google Cloud resource, the default - /// Data Pipelines service account for this project will be used in making - /// requests for the resource. If the region given for "{google-cloud-region}" - /// is different than the region where the resource is stored, then the data - /// will be transferred to and processed in the region specified here, but it - /// will not be persistently stored in this region. - /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [GoogleCloudDatapipelinesV1Schema]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<GoogleCloudDatapipelinesV1Schema> computeSchema( - GoogleCloudDatapipelinesV1ComputeSchemaRequest request, - core.String location, { - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$location') + ':computeSchema'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return GoogleCloudDatapipelinesV1Schema.fromJson( - response_ as core.Map<core.String, core.dynamic>); - } - - /// Lists pipelines. - /// - /// Returns a "FORBIDDEN" error if the caller doesn't have permission to - /// access it. - /// - /// Request parameters: - /// - /// [parent] - Required. The location name. For example: - /// `projects/PROJECT_ID/locations/LOCATION_ID`. - /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. - /// - /// [filter] - An expression for filtering the results of the request. If - /// unspecified, all pipelines will be returned. Multiple filters can be - /// applied and must be comma separated. Fields eligible for filtering are: + - /// `type`: The type of the pipeline (streaming or batch). Allowed values are - /// `ALL`, `BATCH`, and `STREAMING`. + `status`: The activity status of the - /// pipeline. Allowed values are `ALL`, `ACTIVE`, `ARCHIVED`, and `PAUSED`. - /// For example, to limit results to active batch processing pipelines: - /// type:BATCH,status:ACTIVE - /// - /// [pageSize] - The maximum number of entities to return. The service may - /// return fewer than this value, even if there are additional pages. If - /// unspecified, the max limit is yet to be determined by the backend - /// implementation. - /// - /// [pageToken] - A page token, received from a previous `ListPipelines` call. - /// Provide this to retrieve the subsequent page. When paginating, all other - /// parameters provided to `ListPipelines` must match the call that provided - /// the page token. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [GoogleCloudDatapipelinesV1ListPipelinesResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<GoogleCloudDatapipelinesV1ListPipelinesResponse> listPipelines( - core.String parent, { - core.String? filter, - core.int? pageSize, - core.String? pageToken, - core.String? $fields, - }) async { - final queryParams_ = <core.String, core.List<core.String>>{ - if (filter != null) 'filter': [filter], - if (pageSize != null) 'pageSize': ['${pageSize}'], - if (pageToken != null) 'pageToken': [pageToken], - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$parent'); - - final response_ = await _requester.request( - url_, - 'GET', - queryParams: queryParams_, - ); - return GoogleCloudDatapipelinesV1ListPipelinesResponse.fromJson( - response_ as core.Map<core.String, core.dynamic>); - } } class ProjectsLocationsPipelinesResource { @@ -341,6 +216,71 @@ response_ as core.Map<core.String, core.dynamic>); } + /// Lists pipelines. + /// + /// Returns a "FORBIDDEN" error if the caller doesn't have permission to + /// access it. + /// + /// Request parameters: + /// + /// [parent] - Required. The location name. For example: + /// `projects/PROJECT_ID/locations/LOCATION_ID`. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - An expression for filtering the results of the request. If + /// unspecified, all pipelines will be returned. Multiple filters can be + /// applied and must be comma separated. Fields eligible for filtering are: + + /// `type`: The type of the pipeline (streaming or batch). Allowed values are + /// `ALL`, `BATCH`, and `STREAMING`. + `status`: The activity status of the + /// pipeline. Allowed values are `ALL`, `ACTIVE`, `ARCHIVED`, and `PAUSED`. + /// For example, to limit results to active batch processing pipelines: + /// type:BATCH,status:ACTIVE + /// + /// [pageSize] - The maximum number of entities to return. The service may + /// return fewer than this value, even if there are additional pages. If + /// unspecified, the max limit is yet to be determined by the backend + /// implementation. + /// + /// [pageToken] - A page token, received from a previous `ListPipelines` call. + /// Provide this to retrieve the subsequent page. When paginating, all other + /// parameters provided to `ListPipelines` must match the call that provided + /// the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudDatapipelinesV1ListPipelinesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleCloudDatapipelinesV1ListPipelinesResponse> list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/pipelines'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleCloudDatapipelinesV1ListPipelinesResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + /// Updates a pipeline. /// /// If successful, the updated Pipeline is returned. Returns `NOT_FOUND` if @@ -562,362 +502,6 @@ } } -class ProjectsLocationsTransformDescriptionsResource { - final commons.ApiRequester _requester; - - ProjectsLocationsTransformDescriptionsResource(commons.ApiRequester client) - : _requester = client; - - /// Gets transform descriptions in a batch, associated with a list of provided - /// uniform resource names. - /// - /// Request parameters: - /// - /// [parent] - Required. The project and location shared by all transform - /// descriptions being retrieved, formatted as - /// "projects/{project}/locations/{location}". - /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. - /// - /// [names] - Optional. The names of the transform descriptions being - /// retrieved, formatted as - /// "projects/{project}/locations/{location}/transformdescriptions/{transform_description}". - /// If no name is provided, all of the transform descriptions will be - /// returned. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a - /// [GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse> - batchGet( - core.String parent, { - core.List<core.String>? names, - core.String? $fields, - }) async { - final queryParams_ = <core.String, core.List<core.String>>{ - if (names != null) 'names': names, - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + - core.Uri.encodeFull('$parent') + - '/transformDescriptions:batchGet'; - - final response_ = await _requester.request( - url_, - 'GET', - queryParams: queryParams_, - ); - return GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse - .fromJson(response_ as core.Map<core.String, core.dynamic>); - } - - /// Gets the transform description associated with the provided uniform - /// resource name. - /// - /// Request parameters: - /// - /// [name] - Required. The full name formatted as - /// "projects/{your-project}/locations/{google-cloud-region}/transformdescriptions/{uniform-resource-name}". - /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/transformDescriptions/\[^/\]+$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [GoogleCloudDatapipelinesV1TransformDescription]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<GoogleCloudDatapipelinesV1TransformDescription> get( - core.String name, { - core.String? $fields, - }) async { - final queryParams_ = <core.String, core.List<core.String>>{ - if ($fields != null) 'fields': [$fields], - }; - - final url_ = 'v1/' + core.Uri.encodeFull('$name'); - - final response_ = await _requester.request( - url_, - 'GET', - queryParams: queryParams_, - ); - return GoogleCloudDatapipelinesV1TransformDescription.fromJson( - response_ as core.Map<core.String, core.dynamic>); - } -} - -/// Represents an array of values. -/// -/// The elements can be of any type. -class GoogleCloudDatapipelinesV1ArrayValue { - /// The elements of the array. - core.List<GoogleCloudDatapipelinesV1FieldValue>? elements; - - GoogleCloudDatapipelinesV1ArrayValue({ - this.elements, - }); - - GoogleCloudDatapipelinesV1ArrayValue.fromJson(core.Map json_) - : this( - elements: json_.containsKey('elements') - ? (json_['elements'] as core.List) - .map((value) => GoogleCloudDatapipelinesV1FieldValue.fromJson( - value as core.Map<core.String, core.dynamic>)) - .toList() - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (elements != null) 'elements': elements!, - }; -} - -/// Represents a non-dividable value. -class GoogleCloudDatapipelinesV1AtomicValue { - /// A boolean value. - core.bool? booleanValue; - - /// An 8-bit signed value. - core.int? byteValue; - - /// An array of raw bytes. - core.String? bytesValue; - core.List<core.int> get bytesValueAsBytes => - convert.base64.decode(bytesValue!); - - set bytesValueAsBytes(core.List<core.int> bytes_) { - bytesValue = - convert.base64.encode(bytes_).replaceAll('/', '_').replaceAll('+', '-'); - } - - /// A datetime value. - GoogleTypeDateTime? datetimeValue; - - /// A large decimal value, equivalent to Java BigDecimal. - GoogleTypeDecimal? decimalValue; - - /// A 64-bit floating point value. - core.double? doubleValue; - - /// A 32-bit floating point value. - core.double? floatValue; - - /// A 16-bit signed value. - core.int? int16Value; - - /// A 32-bit signed value. - core.int? int32Value; - - /// A 64-bit signed value. - core.String? int64Value; - - /// A string value. - core.String? stringValue; - - GoogleCloudDatapipelinesV1AtomicValue({ - this.booleanValue, - this.byteValue, - this.bytesValue, - this.datetimeValue, - this.decimalValue, - this.doubleValue, - this.floatValue, - this.int16Value, - this.int32Value, - this.int64Value, - this.stringValue, - }); - - GoogleCloudDatapipelinesV1AtomicValue.fromJson(core.Map json_) - : this( - booleanValue: json_.containsKey('booleanValue') - ? json_['booleanValue'] as core.bool - : null, - byteValue: json_.containsKey('byteValue') - ? json_['byteValue'] as core.int - : null, - bytesValue: json_.containsKey('bytesValue') - ? json_['bytesValue'] as core.String - : null, - datetimeValue: json_.containsKey('datetimeValue') - ? GoogleTypeDateTime.fromJson( - json_['datetimeValue'] as core.Map<core.String, core.dynamic>) - : null, - decimalValue: json_.containsKey('decimalValue') - ? GoogleTypeDecimal.fromJson( - json_['decimalValue'] as core.Map<core.String, core.dynamic>) - : null, - doubleValue: json_.containsKey('doubleValue') - ? (json_['doubleValue'] as core.num).toDouble() - : null, - floatValue: json_.containsKey('floatValue') - ? (json_['floatValue'] as core.num).toDouble() - : null, - int16Value: json_.containsKey('int16Value') - ? json_['int16Value'] as core.int - : null, - int32Value: json_.containsKey('int32Value') - ? json_['int32Value'] as core.int - : null, - int64Value: json_.containsKey('int64Value') - ? json_['int64Value'] as core.String - : null, - stringValue: json_.containsKey('stringValue') - ? json_['stringValue'] as core.String - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (booleanValue != null) 'booleanValue': booleanValue!, - if (byteValue != null) 'byteValue': byteValue!, - if (bytesValue != null) 'bytesValue': bytesValue!, - if (datetimeValue != null) 'datetimeValue': datetimeValue!, - if (decimalValue != null) 'decimalValue': decimalValue!, - if (doubleValue != null) 'doubleValue': doubleValue!, - if (floatValue != null) 'floatValue': floatValue!, - if (int16Value != null) 'int16Value': int16Value!, - if (int32Value != null) 'int32Value': int32Value!, - if (int64Value != null) 'int64Value': int64Value!, - if (stringValue != null) 'stringValue': stringValue!, - }; -} - -/// Response message for BatchGetTransformDescriptions -class GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse { - /// List of requested transform descriptions. - core.List<GoogleCloudDatapipelinesV1TransformDescription>? - transformDescriptions; - - GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse({ - this.transformDescriptions, - }); - - GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse.fromJson( - core.Map json_) - : this( - transformDescriptions: json_.containsKey('transformDescriptions') - ? (json_['transformDescriptions'] as core.List) - .map((value) => - GoogleCloudDatapipelinesV1TransformDescription.fromJson( - value as core.Map<core.String, core.dynamic>)) - .toList() - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (transformDescriptions != null) - 'transformDescriptions': transformDescriptions!, - }; -} - -/// Request message for ComputeSchema -class GoogleCloudDatapipelinesV1ComputeSchemaRequest { - /// The configuration for the transform. - /// - /// If this is not a source, then each input with its schema must be set. It - /// is not required to have any outputs set. - /// - /// Required. - GoogleCloudDatapipelinesV1ConfiguredTransform? config; - - /// In relation to the full pipeline graph, the schemas of the transforms that - /// are used as inputs to the one for `config`. - /// - /// If `config` represents a transform for reading from some resource, then - /// this should be empty. For all other transforms, at least one value must be - /// provided. - /// - /// Optional. - core.List<GoogleCloudDatapipelinesV1Schema>? inputSchemas; - - /// If set, this will use the provided raw schema to compute the schema rather - /// than connecting to any resources. - /// - /// Validation will still occur to make sure it is compatible with all input - /// schemas. If the transform is an IO, the IO must support that schema type. - /// - /// Optional. - GoogleCloudDatapipelinesV1RawSchemaInfo? rawSchema; - - GoogleCloudDatapipelinesV1ComputeSchemaRequest({ - this.config, - this.inputSchemas, - this.rawSchema, - }); - - GoogleCloudDatapipelinesV1ComputeSchemaRequest.fromJson(core.Map json_) - : this( - config: json_.containsKey('config') - ? GoogleCloudDatapipelinesV1ConfiguredTransform.fromJson( - json_['config'] as core.Map<core.String, core.dynamic>) - : null, - inputSchemas: json_.containsKey('inputSchemas') - ? (json_['inputSchemas'] as core.List) - .map((value) => GoogleCloudDatapipelinesV1Schema.fromJson( - value as core.Map<core.String, core.dynamic>)) - .toList() - : null, - rawSchema: json_.containsKey('rawSchema') - ? GoogleCloudDatapipelinesV1RawSchemaInfo.fromJson( - json_['rawSchema'] as core.Map<core.String, core.dynamic>) - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (config != null) 'config': config!, - if (inputSchemas != null) 'inputSchemas': inputSchemas!, - if (rawSchema != null) 'rawSchema': rawSchema!, - }; -} - -/// A fully configured transform that can be validated. -class GoogleCloudDatapipelinesV1ConfiguredTransform { - /// Configuration values provided. - /// - /// These must match the schema provided in the row's schema. - GoogleCloudDatapipelinesV1Row? config; - - /// Unique resource name of the transform. - /// - /// This should be the same as the equivalent `TransformDescription` value. - core.String? uniformResourceName; - - GoogleCloudDatapipelinesV1ConfiguredTransform({ - this.config, - this.uniformResourceName, - }); - - GoogleCloudDatapipelinesV1ConfiguredTransform.fromJson(core.Map json_) - : this( - config: json_.containsKey('config') - ? GoogleCloudDatapipelinesV1Row.fromJson( - json_['config'] as core.Map<core.String, core.dynamic>) - : null, - uniformResourceName: json_.containsKey('uniformResourceName') - ? json_['uniformResourceName'] as core.String - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (config != null) 'config': config!, - if (uniformResourceName != null) - 'uniformResourceName': uniformResourceName!, - }; -} - /// Pipeline job details specific to the Dataflow API. /// /// This is encapsulated here to allow for more executors to store their @@ -974,266 +558,6 @@ }; } -/// Represents a selected value from an EnumerationType. -class GoogleCloudDatapipelinesV1EnumerationValue { - /// Name of the enum option. - core.String? name; - - GoogleCloudDatapipelinesV1EnumerationValue({ - this.name, - }); - - GoogleCloudDatapipelinesV1EnumerationValue.fromJson(core.Map json_) - : this( - name: json_.containsKey('name') ? json_['name'] as core.String : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (name != null) 'name': name!, - }; -} - -/// Info for a single field in the schema. -class GoogleCloudDatapipelinesV1Field { - /// Name of the field. - core.String? name; - - /// Type info for the field. - GoogleCloudDatapipelinesV1FieldType? type; - - GoogleCloudDatapipelinesV1Field({ - this.name, - this.type, - }); - - GoogleCloudDatapipelinesV1Field.fromJson(core.Map json_) - : this( - name: json_.containsKey('name') ? json_['name'] as core.String : null, - type: json_.containsKey('type') - ? GoogleCloudDatapipelinesV1FieldType.fromJson( - json_['type'] as core.Map<core.String, core.dynamic>) - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (name != null) 'name': name!, - if (type != null) 'type': type!, - }; -} - -/// Type info about a field. -class GoogleCloudDatapipelinesV1FieldType { - /// If `type` is an array or iterable, this is the type contained in that - /// array or iterable. - GoogleCloudDatapipelinesV1FieldType? collectionElementType; - - /// If `type` is a logical type, this is the info for the specific logical - /// type. - GoogleCloudDatapipelinesV1LogicalType? logicalType; - - /// If `type` is a map, this is the key and value types for that map. - GoogleCloudDatapipelinesV1MapType? mapType; - - /// Whether or not this field is nullable. - core.bool? nullable; - - /// If `type` is a row, this is the schema of that row. - GoogleCloudDatapipelinesV1Schema? rowSchema; - - /// Specific type of the field. - /// - /// For non-atomic types, the corresponding type info for that non-atomic must - /// be set. - /// Possible string values are: - /// - "TYPE_NAME_UNSPECIFIED" : Type name is not set (generally an error) - /// - "TYPE_NAME_BYTE" : 8-bit signed integer - /// - "TYPE_NAME_INT16" : 16-bit signed integer - /// - "TYPE_NAME_INT32" : 32-bit signed integer - /// - "TYPE_NAME_INT64" : 64-bit signed integer - /// - "TYPE_NAME_DECIMAL" : Large decimal type (equivalent to Java BigDecimal) - /// - "TYPE_NAME_FLOAT" : 32-bit floating point integer - /// - "TYPE_NAME_DOUBLE" : 64-bit floating point integer - /// - "TYPE_NAME_STRING" : String - /// - "TYPE_NAME_DATETIME" : Datetime - /// - "TYPE_NAME_BOOLEAN" : Bool - /// - "TYPE_NAME_BYTES" : Convenience for an ARRAY of BYTE values - /// - "TYPE_NAME_ARRAY" : Array of some other values. - /// - "TYPE_NAME_ITERABLE" : Iterable of some other values. - /// - "TYPE_NAME_MAP" : Key/Value mapping between values. - /// - "TYPE_NAME_ROW" : Struct that follows a particular schema - /// - "TYPE_NAME_LOGICAL_TYPE" : Beam logical type - core.String? type; - - GoogleCloudDatapipelinesV1FieldType({ - this.collectionElementType, - this.logicalType, - this.mapType, - this.nullable, - this.rowSchema, - this.type, - }); - - GoogleCloudDatapipelinesV1FieldType.fromJson(core.Map json_) - : this( - collectionElementType: json_.containsKey('collectionElementType') - ? GoogleCloudDatapipelinesV1FieldType.fromJson( - json_['collectionElementType'] - as core.Map<core.String, core.dynamic>) - : null, - logicalType: json_.containsKey('logicalType') - ? GoogleCloudDatapipelinesV1LogicalType.fromJson( - json_['logicalType'] as core.Map<core.String, core.dynamic>) - : null, - mapType: json_.containsKey('mapType') - ? GoogleCloudDatapipelinesV1MapType.fromJson( - json_['mapType'] as core.Map<core.String, core.dynamic>) - : null, - nullable: json_.containsKey('nullable') - ? json_['nullable'] as core.bool - : null, - rowSchema: json_.containsKey('rowSchema') - ? GoogleCloudDatapipelinesV1Schema.fromJson( - json_['rowSchema'] as core.Map<core.String, core.dynamic>) - : null, - type: json_.containsKey('type') ? json_['type'] as core.String : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (collectionElementType != null) - 'collectionElementType': collectionElementType!, - if (logicalType != null) 'logicalType': logicalType!, - if (mapType != null) 'mapType': mapType!, - if (nullable != null) 'nullable': nullable!, - if (rowSchema != null) 'rowSchema': rowSchema!, - if (type != null) 'type': type!, - }; -} - -/// A single value in a row. -/// -/// The value set must correspond to the correct type from the row's schema. -class GoogleCloudDatapipelinesV1FieldValue { - /// The array value of this field. - /// - /// Corresponds to TYPE_NAME_ARRAY in the schema. - GoogleCloudDatapipelinesV1ArrayValue? arrayValue; - - /// The atomic value of this field. - /// - /// Must correspond to the correct atomic type in the schema. - GoogleCloudDatapipelinesV1AtomicValue? atomicValue; - - /// The enum value of this field. - /// - /// Corresponds to TYPE_NAME_LOGICAL_TYPE in the schema if that logical type - /// represents an `EnumerationType` type. - GoogleCloudDatapipelinesV1EnumerationValue? enumValue; - - /// The fixed-length byte collection of this field. - /// - /// Corresponds to TYPE_NAME_LOGICAL_TYPE in the schema if that logical type - /// represents a `FixedBytes` type. - GoogleCloudDatapipelinesV1FixedBytesValue? fixedBytesValue; - - /// The iterable value of this field. - /// - /// Corresponds to TYPE_NAME_ITERABLE in the schema. - GoogleCloudDatapipelinesV1IterableValue? iterableValue; - - /// The map value of this field. - /// - /// Corresponds to TYPE_NAME_MAP in the schema. - GoogleCloudDatapipelinesV1MapValue? mapValue; - - /// The row value of this field. - /// - /// Corresponds to TYPE_NAME_ROW in the schema. This row also holds to its own - /// schema. - GoogleCloudDatapipelinesV1Row? rowValue; - - GoogleCloudDatapipelinesV1FieldValue({ - this.arrayValue, - this.atomicValue, - this.enumValue, - this.fixedBytesValue, - this.iterableValue, - this.mapValue, - this.rowValue, - }); - - GoogleCloudDatapipelinesV1FieldValue.fromJson(core.Map json_) - : this( - arrayValue: json_.containsKey('arrayValue') - ? GoogleCloudDatapipelinesV1ArrayValue.fromJson( - json_['arrayValue'] as core.Map<core.String, core.dynamic>) - : null, - atomicValue: json_.containsKey('atomicValue') - ? GoogleCloudDatapipelinesV1AtomicValue.fromJson( - json_['atomicValue'] as core.Map<core.String, core.dynamic>) - : null, - enumValue: json_.containsKey('enumValue') - ? GoogleCloudDatapipelinesV1EnumerationValue.fromJson( - json_['enumValue'] as core.Map<core.String, core.dynamic>) - : null, - fixedBytesValue: json_.containsKey('fixedBytesValue') - ? GoogleCloudDatapipelinesV1FixedBytesValue.fromJson( - json_['fixedBytesValue'] - as core.Map<core.String, core.dynamic>) - : null, - iterableValue: json_.containsKey('iterableValue') - ? GoogleCloudDatapipelinesV1IterableValue.fromJson( - json_['iterableValue'] as core.Map<core.String, core.dynamic>) - : null, - mapValue: json_.containsKey('mapValue') - ? GoogleCloudDatapipelinesV1MapValue.fromJson( - json_['mapValue'] as core.Map<core.String, core.dynamic>) - : null, - rowValue: json_.containsKey('rowValue') - ? GoogleCloudDatapipelinesV1Row.fromJson( - json_['rowValue'] as core.Map<core.String, core.dynamic>) - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (arrayValue != null) 'arrayValue': arrayValue!, - if (atomicValue != null) 'atomicValue': atomicValue!, - if (enumValue != null) 'enumValue': enumValue!, - if (fixedBytesValue != null) 'fixedBytesValue': fixedBytesValue!, - if (iterableValue != null) 'iterableValue': iterableValue!, - if (mapValue != null) 'mapValue': mapValue!, - if (rowValue != null) 'rowValue': rowValue!, - }; -} - -/// Represents a collection of bytes whose size is the same as the associated -/// FixedBytes size value. -class GoogleCloudDatapipelinesV1FixedBytesValue { - /// The raw bytes. - /// - /// It must be exactly the size specified in the schema. - core.String? value; - core.List<core.int> get valueAsBytes => convert.base64.decode(value!); - - set valueAsBytes(core.List<core.int> bytes_) { - value = - convert.base64.encode(bytes_).replaceAll('/', '_').replaceAll('+', '-'); - } - - GoogleCloudDatapipelinesV1FixedBytesValue({ - this.value, - }); - - GoogleCloudDatapipelinesV1FixedBytesValue.fromJson(core.Map json_) - : this( - value: - json_.containsKey('value') ? json_['value'] as core.String : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (value != null) 'value': value!, - }; -} - /// The environment values to be set at runtime for a Flex Template. class GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment { /// Additional experiment flags for the job. @@ -1433,32 +757,6 @@ }; } -/// Represents an iterable of values. -/// -/// The elements can be of any type. -class GoogleCloudDatapipelinesV1IterableValue { - /// The elements of the iterable. - core.List<GoogleCloudDatapipelinesV1FieldValue>? elements; - - GoogleCloudDatapipelinesV1IterableValue({ - this.elements, - }); - - GoogleCloudDatapipelinesV1IterableValue.fromJson(core.Map json_) - : this( - elements: json_.containsKey('elements') - ? (json_['elements'] as core.List) - .map((value) => GoogleCloudDatapipelinesV1FieldValue.fromJson( - value as core.Map<core.String, core.dynamic>)) - .toList() - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (elements != null) 'elements': elements!, - }; -} - /// Definition of the job information maintained by the pipeline. /// /// Fields in this entity are retrieved from the executor API (e.g. Dataflow @@ -1925,179 +1223,6 @@ }; } -/// Represents the input for creating a specified logical type. -class GoogleCloudDatapipelinesV1LogicalType { - /// The enum represented by this logical type. - GoogleCloudDatapipelinesV1LogicalTypeEnumerationType? enumerationType; - - /// The fixed-size byte collection represented by this logical type. - GoogleCloudDatapipelinesV1LogicalTypeFixedBytes? fixedBytes; - - GoogleCloudDatapipelinesV1LogicalType({ - this.enumerationType, - this.fixedBytes, - }); - - GoogleCloudDatapipelinesV1LogicalType.fromJson(core.Map json_) - : this( - enumerationType: json_.containsKey('enumerationType') - ? GoogleCloudDatapipelinesV1LogicalTypeEnumerationType.fromJson( - json_['enumerationType'] - as core.Map<core.String, core.dynamic>) - : null, - fixedBytes: json_.containsKey('fixedBytes') - ? GoogleCloudDatapipelinesV1LogicalTypeFixedBytes.fromJson( - json_['fixedBytes'] as core.Map<core.String, core.dynamic>) - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (enumerationType != null) 'enumerationType': enumerationType!, - if (fixedBytes != null) 'fixedBytes': fixedBytes!, - }; -} - -/// Represents the Beam EnumerationType logical type. -class GoogleCloudDatapipelinesV1LogicalTypeEnumerationType { - /// Names of the values. - /// - /// The numeric value is the same as the index. - core.List<core.String>? values; - - GoogleCloudDatapipelinesV1LogicalTypeEnumerationType({ - this.values, - }); - - GoogleCloudDatapipelinesV1LogicalTypeEnumerationType.fromJson(core.Map json_) - : this( - values: json_.containsKey('values') - ? (json_['values'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (values != null) 'values': values!, - }; -} - -/// Represents the Beam FixedBytes logical type. -class GoogleCloudDatapipelinesV1LogicalTypeFixedBytes { - /// Number of bytes to allocate. - core.int? sizeBytes; - - GoogleCloudDatapipelinesV1LogicalTypeFixedBytes({ - this.sizeBytes, - }); - - GoogleCloudDatapipelinesV1LogicalTypeFixedBytes.fromJson(core.Map json_) - : this( - sizeBytes: json_.containsKey('sizeBytes') - ? json_['sizeBytes'] as core.int - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (sizeBytes != null) 'sizeBytes': sizeBytes!, - }; -} - -/// Represents a map in a schema. -class GoogleCloudDatapipelinesV1MapType { - /// Key type of the map. - /// - /// Only atomic types are supported. - GoogleCloudDatapipelinesV1FieldType? mapKeyType; - - /// Value type of the map. - GoogleCloudDatapipelinesV1FieldType? mapValueType; - - GoogleCloudDatapipelinesV1MapType({ - this.mapKeyType, - this.mapValueType, - }); - - GoogleCloudDatapipelinesV1MapType.fromJson(core.Map json_) - : this( - mapKeyType: json_.containsKey('mapKeyType') - ? GoogleCloudDatapipelinesV1FieldType.fromJson( - json_['mapKeyType'] as core.Map<core.String, core.dynamic>) - : null, - mapValueType: json_.containsKey('mapValueType') - ? GoogleCloudDatapipelinesV1FieldType.fromJson( - json_['mapValueType'] as core.Map<core.String, core.dynamic>) - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (mapKeyType != null) 'mapKeyType': mapKeyType!, - if (mapValueType != null) 'mapValueType': mapValueType!, - }; -} - -/// Represents a key/value pairing. -class GoogleCloudDatapipelinesV1MapValue { - /// The entries in the map. - core.List<GoogleCloudDatapipelinesV1MapValueEntry>? entries; - - GoogleCloudDatapipelinesV1MapValue({ - this.entries, - }); - - GoogleCloudDatapipelinesV1MapValue.fromJson(core.Map json_) - : this( - entries: json_.containsKey('entries') - ? (json_['entries'] as core.List) - .map((value) => - GoogleCloudDatapipelinesV1MapValueEntry.fromJson( - value as core.Map<core.String, core.dynamic>)) - .toList() - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (entries != null) 'entries': entries!, - }; -} - -/// A single entry in the map. -/// -/// Each entry must have a unique key. -class GoogleCloudDatapipelinesV1MapValueEntry { - /// The key value. - /// - /// Only atomic values are supported. - GoogleCloudDatapipelinesV1FieldValue? key; - - /// The value associated with the key. - /// - /// It may be of any type. - GoogleCloudDatapipelinesV1FieldValue? value; - - GoogleCloudDatapipelinesV1MapValueEntry({ - this.key, - this.value, - }); - - GoogleCloudDatapipelinesV1MapValueEntry.fromJson(core.Map json_) - : this( - key: json_.containsKey('key') - ? GoogleCloudDatapipelinesV1FieldValue.fromJson( - json_['key'] as core.Map<core.String, core.dynamic>) - : null, - value: json_.containsKey('value') - ? GoogleCloudDatapipelinesV1FieldValue.fromJson( - json_['value'] as core.Map<core.String, core.dynamic>) - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (key != null) 'key': key!, - if (value != null) 'value': value!, - }; -} - /// The main pipeline entity and all the necessary metadata for launching and /// managing linked jobs. class GoogleCloudDatapipelinesV1Pipeline { @@ -2282,76 +1407,6 @@ }; } -/// The raw schema and its type. -class GoogleCloudDatapipelinesV1RawSchemaInfo { - /// The schema. - core.String? rawSchema; - - /// The type of the schema. - /// Possible string values are: - /// - "RAW_SCHEMA_TYPE_UNSPECIFIED" : The schema type is unknown. - /// - "RAW_SCHEMA_TYPE_AVRO" : The schema is an Avro schema. - core.String? type; - - GoogleCloudDatapipelinesV1RawSchemaInfo({ - this.rawSchema, - this.type, - }); - - GoogleCloudDatapipelinesV1RawSchemaInfo.fromJson(core.Map json_) - : this( - rawSchema: json_.containsKey('rawSchema') - ? json_['rawSchema'] as core.String - : null, - type: json_.containsKey('type') ? json_['type'] as core.String : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (rawSchema != null) 'rawSchema': rawSchema!, - if (type != null) 'type': type!, - }; -} - -/// Represents an Apache Beam row, though the `Any` nature of values is replaced -/// with more concrete representations of valid values. -class GoogleCloudDatapipelinesV1Row { - /// The schema of the row's data. - /// - /// Required. - GoogleCloudDatapipelinesV1SchemaSource? schema; - - /// The values of this Row. - /// - /// A fully built row is required to hold to the schema specified by `schema`. - /// - /// Required. - core.List<GoogleCloudDatapipelinesV1FieldValue>? values; - - GoogleCloudDatapipelinesV1Row({ - this.schema, - this.values, - }); - - GoogleCloudDatapipelinesV1Row.fromJson(core.Map json_) - : this( - schema: json_.containsKey('schema') - ? GoogleCloudDatapipelinesV1SchemaSource.fromJson( - json_['schema'] as core.Map<core.String, core.dynamic>) - : null, - values: json_.containsKey('values') - ? (json_['values'] as core.List) - .map((value) => GoogleCloudDatapipelinesV1FieldValue.fromJson( - value as core.Map<core.String, core.dynamic>)) - .toList() - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (schema != null) 'schema': schema!, - if (values != null) 'values': values!, - }; -} - /// Request message for RunPipeline typedef GoogleCloudDatapipelinesV1RunPipelineRequest = $Empty; @@ -2616,72 +1671,6 @@ }; } -/// Represents a simplified Apache Beam schema. -class GoogleCloudDatapipelinesV1Schema { - /// Fields in the schema. - /// - /// Every field within a schema must have a unique name. - core.List<GoogleCloudDatapipelinesV1Field>? fields; - - /// An identifier of the schema for looking it up in a repository. - /// - /// This only needs to be set if the schema is stored in a repository. - core.String? referenceId; - - GoogleCloudDatapipelinesV1Schema({ - this.fields, - this.referenceId, - }); - - GoogleCloudDatapipelinesV1Schema.fromJson(core.Map json_) - : this( - fields: json_.containsKey('fields') - ? (json_['fields'] as core.List) - .map((value) => GoogleCloudDatapipelinesV1Field.fromJson( - value as core.Map<core.String, core.dynamic>)) - .toList() - : null, - referenceId: json_.containsKey('referenceId') - ? json_['referenceId'] as core.String - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (fields != null) 'fields': fields!, - if (referenceId != null) 'referenceId': referenceId!, - }; -} - -/// Holds a schema or a reference to a schema in some repository. -class GoogleCloudDatapipelinesV1SchemaSource { - /// Schema located locally with the message. - GoogleCloudDatapipelinesV1Schema? localSchema; - - /// The `reference_id` value of a schema in a repository. - core.String? referenceId; - - GoogleCloudDatapipelinesV1SchemaSource({ - this.localSchema, - this.referenceId, - }); - - GoogleCloudDatapipelinesV1SchemaSource.fromJson(core.Map json_) - : this( - localSchema: json_.containsKey('localSchema') - ? GoogleCloudDatapipelinesV1Schema.fromJson( - json_['localSchema'] as core.Map<core.String, core.dynamic>) - : null, - referenceId: json_.containsKey('referenceId') - ? json_['referenceId'] as core.String - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (localSchema != null) 'localSchema': localSchema!, - if (referenceId != null) 'referenceId': referenceId!, - }; -} - /// The version of the SDK used to run the job. class GoogleCloudDatapipelinesV1SdkVersion { /// The support status for this SDK version. @@ -2732,48 +1721,6 @@ /// Request message for StopPipeline. typedef GoogleCloudDatapipelinesV1StopPipelineRequest = $Empty; -/// Description of a schema-aware transform, which provides info on how it can -/// be configured. -class GoogleCloudDatapipelinesV1TransformDescription { - /// The full name of this resource formatted as: - /// projects/{project}/locations/{location}/transformDescriptions/{transform_description} - /// `transform_description` is the same as the `uniform_resource_name` field. - /// - /// Output only. - core.String? name; - - /// Available options for configuring the transform. - GoogleCloudDatapipelinesV1Schema? options; - - /// Unique resource name of the transform. - core.String? uniformResourceName; - - GoogleCloudDatapipelinesV1TransformDescription({ - this.name, - this.options, - this.uniformResourceName, - }); - - GoogleCloudDatapipelinesV1TransformDescription.fromJson(core.Map json_) - : this( - name: json_.containsKey('name') ? json_['name'] as core.String : null, - options: json_.containsKey('options') - ? GoogleCloudDatapipelinesV1Schema.fromJson( - json_['options'] as core.Map<core.String, core.dynamic>) - : null, - uniformResourceName: json_.containsKey('uniformResourceName') - ? json_['uniformResourceName'] as core.String - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (name != null) 'name': name!, - if (options != null) 'options': options!, - if (uniformResourceName != null) - 'uniformResourceName': uniformResourceName!, - }; -} - /// Workload details for creating the pipeline jobs. class GoogleCloudDatapipelinesV1Workload { /// Template information and additional parameters needed to launch a Dataflow @@ -2831,140 +1778,3 @@ /// 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). typedef GoogleRpcStatus = $Status; - -/// Represents civil time (or occasionally physical time). -/// -/// This type can represent a civil time in one of a few possible ways: * When -/// utc_offset is set and time_zone is unset: a civil time on a calendar day -/// with a particular offset from UTC. * When time_zone is set and utc_offset is -/// unset: a civil time on a calendar day in a particular time zone. * When -/// neither time_zone nor utc_offset is set: a civil time on a calendar day in -/// local time. The date is relative to the Proleptic Gregorian Calendar. If -/// year, month, or day are 0, the DateTime is considered not to have a specific -/// year, month, or day respectively. This type may also be used to represent a -/// physical time if all the date and time fields are set and either case of the -/// `time_offset` oneof is set. Consider using `Timestamp` message for physical -/// time instead. If your use case also would like to store the user's timezone, -/// that can be done in another field. This type is more flexible than some -/// applications may want. Make sure to document and validate your application's -/// limitations. -class GoogleTypeDateTime { - /// Day of month. - /// - /// Must be from 1 to 31 and valid for the year and month, or 0 if specifying - /// a datetime without a day. - /// - /// Optional. - core.int? day; - - /// Hours of day in 24 hour format. - /// - /// Should be from 0 to 23, defaults to 0 (midnight). An API may choose to - /// allow the value "24:00:00" for scenarios like business closing time. - /// - /// Optional. - core.int? hours; - - /// Minutes of hour of day. - /// - /// Must be from 0 to 59, defaults to 0. - /// - /// Optional. - core.int? minutes; - - /// Month of year. - /// - /// Must be from 1 to 12, or 0 if specifying a datetime without a month. - /// - /// Optional. - core.int? month; - - /// Fractions of seconds in nanoseconds. - /// - /// Must be from 0 to 999,999,999, defaults to 0. - /// - /// Optional. - core.int? nanos; - - /// Seconds of minutes of the time. - /// - /// Must normally be from 0 to 59, defaults to 0. An API may allow the value - /// 60 if it allows leap-seconds. - /// - /// Optional. - core.int? seconds; - - /// Time zone. - GoogleTypeTimeZone? timeZone; - - /// UTC offset. - /// - /// Must be whole seconds, between -18 hours and +18 hours. For example, a UTC - /// offset of -4:00 would be represented as { seconds: -14400 }. - core.String? utcOffset; - - /// Year of date. - /// - /// Must be from 1 to 9999, or 0 if specifying a datetime without a year. - /// - /// Optional. - core.int? year; - - GoogleTypeDateTime({ - this.day, - this.hours, - this.minutes, - this.month, - this.nanos, - this.seconds, - this.timeZone, - this.utcOffset, - this.year, - }); - - GoogleTypeDateTime.fromJson(core.Map json_) - : this( - day: json_.containsKey('day') ? json_['day'] as core.int : null, - hours: json_.containsKey('hours') ? json_['hours'] as core.int : null, - minutes: json_.containsKey('minutes') - ? json_['minutes'] as core.int - : null, - month: json_.containsKey('month') ? json_['month'] as core.int : null, - nanos: json_.containsKey('nanos') ? json_['nanos'] as core.int : null, - seconds: json_.containsKey('seconds') - ? json_['seconds'] as core.int - : null, - timeZone: json_.containsKey('timeZone') - ? GoogleTypeTimeZone.fromJson( - json_['timeZone'] as core.Map<core.String, core.dynamic>) - : null, - utcOffset: json_.containsKey('utcOffset') - ? json_['utcOffset'] as core.String - : null, - year: json_.containsKey('year') ? json_['year'] as core.int : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (day != null) 'day': day!, - if (hours != null) 'hours': hours!, - if (minutes != null) 'minutes': minutes!, - if (month != null) 'month': month!, - if (nanos != null) 'nanos': nanos!, - if (seconds != null) 'seconds': seconds!, - if (timeZone != null) 'timeZone': timeZone!, - if (utcOffset != null) 'utcOffset': utcOffset!, - if (year != null) 'year': year!, - }; -} - -/// A representation of a decimal value, such as 2.5. -/// -/// Clients may convert values into language-native decimal formats, such as -/// Java's BigDecimal or Python's decimal.Decimal. \[BigDecimal\]: -/// https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html -/// \[decimal.Decimal\]: https://docs.python.org/3/library/decimal.html -typedef GoogleTypeDecimal = $GoogleTypeDecimal; - -/// Represents a time zone from the -/// [IANA Time Zone Database](https://www.iana.org/time-zones). -typedef GoogleTypeTimeZone = $TimeZone;
diff --git a/generated/googleapis/lib/dataplex/v1.dart b/generated/googleapis/lib/dataplex/v1.dart index 4209247..c928ed6 100644 --- a/generated/googleapis/lib/dataplex/v1.dart +++ b/generated/googleapis/lib/dataplex/v1.dart
@@ -363,21 +363,21 @@ ProjectsLocationsDataScansResource(commons.ApiRequester client) : _requester = client; - /// Creates a dataScan resource. + /// Creates a DataScan resource. /// /// [request] - The metadata request object. /// /// Request parameters: /// /// [parent] - Required. The resource name of the parent location: - /// projects/{project}/locations/{location_id} where {project} refers to a + /// projects/{project}/locations/{location_id} where project refers to a /// project_id or project_number and location_id refers to a GCP region. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// - /// [dataScanId] - Required. DataScan identifier. * Must contain only - /// lowercase letters, numbers and hyphens. * Must start with a letter. * Must - /// end with a number or a letter. * Must be between 1-63 characters. * Must - /// be unique within the customer project / location. + /// [dataScanId] - Required. DataScan identifier. Must contain only lowercase + /// letters, numbers and hyphens. Must start with a letter. Must end with a + /// number or a letter. Must be between 1-63 characters. Must be unique within + /// the customer project / location. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -413,14 +413,14 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Delete the dataScan resource. + /// Deletes a DataScan resource. /// /// Request parameters: /// /// [name] - Required. The resource name of the dataScan: /// projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where - /// {project} refers to a project_id or project_number and location_id refers - /// to a GCP region. + /// project refers to a project_id or project_number and location_id refers to + /// a GCP region. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/dataScans/\[^/\]+$`. /// @@ -453,19 +453,18 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Get dataScan resource. + /// Gets a DataScan resource. /// /// Request parameters: /// /// [name] - Required. The resource name of the dataScan: /// projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where - /// {project} refers to a project_id or project_number and location_id refers - /// to a GCP region. + /// project refers to a project_id or project_number and location_id refers to + /// a GCP region. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/dataScans/\[^/\]+$`. /// - /// [view] - Optional. Used to select the subset of DataScan information to - /// return. Defaults to BASIC. + /// [view] - Optional. Select the DataScan view to return. Defaults to BASIC. /// Possible string values are: /// - "DATA_SCAN_VIEW_UNSPECIFIED" : The API will default to the BASIC view. /// - "BASIC" : Basic view that does not include spec and result. @@ -560,13 +559,13 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Lists dataScans. + /// Lists DataScans. /// /// Request parameters: /// - /// [parent] - Required. projects/{project}/locations/{location_id} where - /// {project} refers to a project_id or project_number and location_id refers - /// to a GCP region. + /// [parent] - Required. The resource name of the parent location: + /// projects/{project}/locations/{location_id} where project refers to a + /// project_id or project_number and location_id refers to a GCP region. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// /// [filter] - Optional. Filter request. @@ -621,16 +620,16 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Update the dataScan resource. + /// Updates a DataScan resource. /// /// [request] - The metadata request object. /// /// Request parameters: /// /// [name] - Output only. The relative resource name of the scan, of the form: - /// projects/{project}/locations/{location_id}/dataScans/{datascan_id}. where - /// {project} refers to a project_id or project_number and location_id refers - /// to a GCP region. + /// projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where + /// project refers to a project_id or project_number and location_id refers to + /// a GCP region. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/dataScans/\[^/\]+$`. /// @@ -670,7 +669,7 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Run an on demand execution of a DataScan. + /// Runs an on-demand execution of a DataScan /// /// [request] - The metadata request object. /// @@ -678,8 +677,8 @@ /// /// [name] - Required. The resource name of the DataScan: /// projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where - /// {project} refers to a project_id or project_number and location_id refers - /// to a GCP region. Only on-demand DataScans are allowed. + /// project refers to a project_id or project_number and location_id refers to + /// a GCP region.Only OnDemand data scans are allowed. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/dataScans/\[^/\]+$`. /// @@ -821,19 +820,19 @@ ProjectsLocationsDataScansJobsResource(commons.ApiRequester client) : _requester = client; - /// Get DataScanJob resource. + /// Gets a DataScanJob resource. /// /// Request parameters: /// /// [name] - Required. The resource name of the DataScanJob: /// projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id} - /// where {project} refers to a project_id or project_number and location_id + /// where project refers to a project_id or project_number and location_id /// refers to a GCP region. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/dataScans/\[^/\]+/jobs/\[^/\]+$`. /// - /// [view] - Optional. Used to select the subset of DataScan information to - /// return. Defaults to BASIC. + /// [view] - Optional. Select the DataScanJob view to return. Defaults to + /// BASIC. /// Possible string values are: /// - "DATA_SCAN_JOB_VIEW_UNSPECIFIED" : The API will default to the BASIC /// view. @@ -871,14 +870,14 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Lists DataScanJobs under the given dataScan. + /// Lists DataScanJobs under the given DataScan. /// /// Request parameters: /// /// [parent] - Required. The resource name of the parent environment: /// projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where - /// {project} refers to a project_id or project_number and location_id refers - /// to a GCP region. + /// project refers to a project_id or project_number and location_id refers to + /// a GCP region. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/dataScans/\[^/\]+$`. /// @@ -3358,6 +3357,49 @@ response_ as core.Map<core.String, core.dynamic>); } + /// Run an on demand execution of a Task. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the task: + /// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/lakes/\[^/\]+/tasks/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudDataplexV1RunTaskResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleCloudDataplexV1RunTaskResponse> run( + GoogleCloudDataplexV1RunTaskRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':run'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudDataplexV1RunTaskResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + /// Sets the access control policy on the specified resource. /// /// Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and @@ -5793,8 +5835,8 @@ /// timezone to the cron tab, apply a prefix in the cron tab: /// "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The /// ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. - /// For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York - /// 1 * * * *". + /// For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 + /// * * * *. /// /// Optional. core.String? schedule; @@ -5978,6 +6020,19 @@ /// Immutable. core.String? name; + /// Determines how read permissions are handled for each asset and their + /// associated tables. + /// + /// Only available to storage buckets assets. + /// + /// Optional. + /// Possible string values are: + /// - "ACCESS_MODE_UNSPECIFIED" : Access mode unspecified. + /// - "DIRECT" : Default. Data is accessed directly using storage APIs. + /// - "MANAGED" : Data is accessed through a managed interface using BigQuery + /// APIs. + core.String? readAccessMode; + /// Type of resource. /// /// Required. Immutable. @@ -5989,17 +6044,22 @@ GoogleCloudDataplexV1AssetResourceSpec({ this.name, + this.readAccessMode, this.type, }); GoogleCloudDataplexV1AssetResourceSpec.fromJson(core.Map json_) : this( name: json_.containsKey('name') ? json_['name'] as core.String : null, + readAccessMode: json_.containsKey('readAccessMode') + ? json_['readAccessMode'] as core.String + : null, type: json_.containsKey('type') ? json_['type'] as core.String : null, ); core.Map<core.String, core.dynamic> toJson() => { if (name != null) 'name': name!, + if (readAccessMode != null) 'readAccessMode': readAccessMode!, if (type != null) 'type': type!, }; } @@ -6307,15 +6367,13 @@ /// /// Each field of the table will have field type specific profile result. class GoogleCloudDataplexV1DataProfileResult { - /// This represents the profile information per field. + /// The profile information per field. GoogleCloudDataplexV1DataProfileResultProfile? profile; - /// The count of all rows in the sampled data. - /// - /// Return 0, if zero rows. + /// The count of rows scanned. core.String? rowCount; - /// The data scanned for this profile. + /// The data scanned for this result. GoogleCloudDataplexV1ScannedData? scannedData; GoogleCloudDataplexV1DataProfileResult({ @@ -6346,10 +6404,9 @@ }; } -/// Profile information describing the structure and layout of the data and -/// contains the profile info. +/// Contains name, type, mode and field type specific profile information. class GoogleCloudDataplexV1DataProfileResultProfile { - /// The sequence of fields describing data in table entities. + /// List of fields with structural and profile information for each field. core.List<GoogleCloudDataplexV1DataProfileResultProfileField>? fields; GoogleCloudDataplexV1DataProfileResultProfile({ @@ -6373,18 +6430,18 @@ }; } -/// Represents a column field within a table schema. +/// A field within a table. class GoogleCloudDataplexV1DataProfileResultProfileField { /// The mode of the field. /// - /// Its value will be: REQUIRED, if it is a required field. NULLABLE, if it is - /// an optional field. REPEATED, if it is a repeated field. + /// Possible values include: REQUIRED, if it is a required field. NULLABLE, if + /// it is an optional field. REPEATED, if it is a repeated field. core.String? mode; /// The name of the field. core.String? name; - /// The profile information for the corresponding field. + /// Profile information for the corresponding field. GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo? profile; /// The field data type. @@ -6420,31 +6477,35 @@ }; } -/// ProfileInfo defines the profile information for each schema field type. +/// The profile information for each field type. class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo { - /// The ratio of rows that are distinct against the rows in the sampled data. + /// Ratio of rows with distinct values against total scanned rows. + /// + /// Not available for complex non-groupable field type RECORD and fields with + /// REPEATABLE mode. core.double? distinctRatio; - /// The corresponding double field profile. + /// Double type field information. GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo? doubleProfile; - /// The corresponding integer field profile. + /// Integer type field information. GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo? integerProfile; - /// The ratio of null rows against the rows in the sampled data. + /// Ratio of rows with null value against total scanned rows. core.double? nullRatio; - /// The corresponding string field profile. + /// String type field information. GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo? stringProfile; - /// The array of top N values of the field in the sampled data. + /// The list of top N non-null values and number of times they occur in the + /// scanned data. /// - /// Currently N is set as 10 or equal to distinct values in the field, - /// whichever is smaller. This will be optional for complex non-groupable - /// data-types such as JSON, ARRAY, JSON, STRUCT. + /// N is 10 or equal to the number of distinct values in the field, whichever + /// is smaller. Not available for complex non-groupable field type RECORD and + /// fields with REPEATABLE mode. core.List< GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue>? topNValues; @@ -6502,24 +6563,24 @@ }; } -/// DoubleFieldInfo defines output for any double type field. +/// The profile information for a double type field. class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo { - /// The average of non-null values of double field in the sampled data. + /// Average of non-null values in the scanned data. /// - /// Return NaN, if the field has a NaN. Optional if zero non-null rows. + /// NaN, if the field has a NaN. core.double? average; - /// The maximum value of a double field in the sampled data. + /// Maximum of non-null values in the scanned data. /// - /// Return NaN, if the field has a NaN. Optional if zero non-null rows. + /// NaN, if the field has a NaN. core.double? max; - /// The minimum value of a double field in the sampled data. + /// Minimum of non-null values in the scanned data. /// - /// Return NaN, if the field has a NaN. Optional if zero non-null rows. + /// NaN, if the field has a NaN. core.double? min; - /// A quartile divide the numebr of data points into four parts, or quarters, + /// A quartile divides the number of data points into four parts, or quarters, /// of more-or-less equal size. /// /// Three main quartiles used are: The first quartile (Q1) splits off the @@ -6528,14 +6589,14 @@ /// second quartile (Q2) is the median of a data set. So, 50% of the data lies /// below this point. The third quartile (Q3) splits off the highest 25% of /// data from the lowest 75%. It is known as the upper or 75th empirical - /// quartile, as 75% of the data lies below this point. So, here the quartiles - /// is provided as an ordered list of quartile values, occurring in order Q1, - /// median, Q3. + /// quartile, as 75% of the data lies below this point. Here, the quartiles is + /// provided as an ordered list of quartile values for the scanned data, + /// occurring in order Q1, median, Q3. core.List<core.double>? quartiles; - /// The standard deviation of non-null of double field in the sampled data. + /// Standard deviation of non-null values in the scanned data. /// - /// Return NaN, if the field has a NaN. Optional if zero non-null rows. + /// NaN, if the field has a NaN. core.double? standardDeviation; GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo({ @@ -6577,24 +6638,24 @@ }; } -/// IntegerFieldInfo defines output for any integer type field. +/// The profile information for an integer type field. class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo { - /// The average of non-null values of integer field in the sampled data. + /// Average of non-null values in the scanned data. /// - /// Return NaN, if the field has a NaN. Optional if zero non-null rows. + /// NaN, if the field has a NaN. core.double? average; - /// The maximum value of an integer field in the sampled data. + /// Maximum of non-null values in the scanned data. /// - /// Return NaN, if the field has a NaN. Optional if zero non-null rows. + /// NaN, if the field has a NaN. core.String? max; - /// The minimum value of an integer field in the sampled data. + /// Minimum of non-null values in the scanned data. /// - /// Return NaN, if the field has a NaN. Optional if zero non-null rows. + /// NaN, if the field has a NaN. core.String? min; - /// A quartile divide the number of data points into four parts, or quarters, + /// A quartile divides the number of data points into four parts, or quarters, /// of more-or-less equal size. /// /// Three main quartiles used are: The first quartile (Q1) splits off the @@ -6603,14 +6664,14 @@ /// second quartile (Q2) is the median of a data set. So, 50% of the data lies /// below this point. The third quartile (Q3) splits off the highest 25% of /// data from the lowest 75%. It is known as the upper or 75th empirical - /// quartile, as 75% of the data lies below this point. So, here the quartiles - /// is provided as an ordered list of quartile values, occurring in order Q1, - /// median, Q3. + /// quartile, as 75% of the data lies below this point. Here, the quartiles is + /// provided as an ordered list of quartile values for the scanned data, + /// occurring in order Q1, median, Q3. core.List<core.String>? quartiles; - /// The standard deviation of non-null of integer field in the sampled data. + /// Standard deviation of non-null values in the scanned data. /// - /// Return NaN, if the field has a NaN. Optional if zero non-null rows. + /// NaN, if the field has a NaN. core.double? standardDeviation; GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo({ @@ -6648,21 +6709,15 @@ }; } -/// StringFieldInfo defines output info for any string type field. +/// The profile information for a string type field. class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo { - /// The average length of a string field in the sampled data. - /// - /// Optional if zero non-null rows. + /// Average length of non-null values in the scanned data. core.double? averageLength; - /// The maximum length of a string field in the sampled data. - /// - /// Optional if zero non-null rows. + /// Maximum length of non-null values in the scanned data. core.String? maxLength; - /// The minimum length of the string field in the sampled data. - /// - /// Optional if zero non-null rows. + /// Minimum length of non-null values in the scanned data. core.String? minLength; GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo({ @@ -6692,12 +6747,12 @@ }; } -/// The TopNValue defines the structure of output of top N values of a field. +/// Top N non-null values in the scanned data. class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue { - /// The frequency count of the corresponding value in the field. + /// Count of the corresponding value in the scanned data. core.String? count; - /// The value is the string value of the actual value from the field. + /// String value of a top N non-null value. core.String? value; GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue({ @@ -6723,8 +6778,8 @@ /// DataProfileScan related setting. typedef GoogleCloudDataplexV1DataProfileSpec = $Empty; -/// DataQualityDimensionResult provides a more detailed, per-dimension level -/// view of the results. +/// DataQualityDimensionResult provides a more detailed, per-dimension view of +/// the results. class GoogleCloudDataplexV1DataQualityDimensionResult { /// Whether the dimension passed or failed. core.bool? passed; @@ -6746,7 +6801,7 @@ /// The output of a DataQualityScan. class GoogleCloudDataplexV1DataQualityResult { - /// A list of results at the dimension-level. + /// A list of results at the dimension level. core.List<GoogleCloudDataplexV1DataQualityDimensionResult>? dimensions; /// Overall data quality result -- true if all rules passed. @@ -6814,7 +6869,7 @@ /// The dimension a rule belongs to. /// - /// Results are also aggregated at the dimension-level. Supported dimensions + /// Results are also aggregated at the dimension level. Supported dimensions /// are "COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", /// "INTEGRITY" /// @@ -6824,7 +6879,7 @@ /// Rows with null values will automatically fail a rule, unless ignore_null /// is true. /// - /// In that case, such null rows are trivially considered passing. Only + /// In that case, such null rows are trivially considered passing.Only /// applicable to ColumnMap rules. /// /// Optional. @@ -6860,7 +6915,7 @@ tableConditionExpectation; /// The minimum ratio of passing_rows / total_rows required to pass this rule, - /// with a range of 0.0, 1.00 indicates default value (i.e. 1.0) + /// with a range of 0.0, 1.0.0 indicates default value (i.e. 1.0). /// /// Optional. core.double? threshold; @@ -6983,17 +7038,17 @@ core.String? minValue; /// Whether each value needs to be strictly lesser than ('\<') the maximum, or - /// if equality is allowed. + /// if equality is allowed.Only relevant if a max_value has been defined. /// - /// Only relevant if a max_value has been defined. Default = false. + /// Default = false. /// /// Optional. core.bool? strictMaxEnabled; /// Whether each value needs to be strictly greater than ('\>') the minimum, - /// or if equality is allowed. + /// or if equality is allowed.Only relevant if a min_value has been defined. /// - /// Only relevant if a min_value has been defined. Default = false. + /// Default = false. /// /// Optional. core.bool? strictMinEnabled; @@ -7031,6 +7086,7 @@ /// Evaluates whether each column value matches a specified regex. class GoogleCloudDataplexV1DataQualityRuleRegexExpectation { + /// A regular expression the column value is expected to match. core.String? regex; GoogleCloudDataplexV1DataQualityRuleRegexExpectation({ @@ -7048,15 +7104,15 @@ }; } -/// DataQualityRuleResult provides a more detailed, per-rule level view of the +/// DataQualityRuleResult provides a more detailed, per-rule view of the /// results. class GoogleCloudDataplexV1DataQualityRuleResult { /// The number of rows a rule was evaluated against. /// - /// This field is only valid for ColumnMap type rules. Evaluated count can be - /// configured to either (1) include all rows (default) - with null rows - /// automatically failing rule evaluation OR (2) exclude null rows from the - /// evaluated_count, by setting ignore_nulls = true + /// This field is only valid for ColumnMap type rules.Evaluated count can be + /// configured to either include all rows (default) - with null rows + /// automatically failing rule evaluation, or exclude null rows from the + /// evaluated_count, by setting ignore_nulls = true. core.String? evaluatedCount; /// The query to find rows that did not pass this rule. @@ -7129,15 +7185,15 @@ }; } -/// Evaluates whether each row passes the specified condition. -/// -/// The SQL expression needs to use BigQuery standard SQL syntax and should -/// produce a boolean per row as the result. Example: col1 \>= 0 AND col2 \< 10 +/// Evaluates whether each row passes the specified condition.The SQL expression +/// needs to use BigQuery standard SQL syntax and should produce a boolean value +/// per row as the result.Example: col1 \>= 0 AND col2 \< 10 typedef GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation = $ConditionExpectation; /// Evaluates whether each column value is contained by a specified set. class GoogleCloudDataplexV1DataQualityRuleSetExpectation { + /// Expected values for the column value. core.List<core.String>? values; GoogleCloudDataplexV1DataQualityRuleSetExpectation({ @@ -7162,15 +7218,11 @@ /// range. class GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation { /// The maximum column statistic value allowed for a row to pass this - /// validation. - /// - /// At least one of min_value and max_value need to be provided. + /// validation.At least one of min_value and max_value need to be provided. core.String? maxValue; /// The minimum column statistic value allowed for a row to pass this - /// validation. - /// - /// At least one of min_value and max_value need to be provided. + /// validation.At least one of min_value and max_value need to be provided. core.String? minValue; /// @@ -7182,15 +7234,17 @@ core.String? statistic; /// Whether column statistic needs to be strictly lesser than ('\<') the - /// maximum, or if equality is allowed. + /// maximum, or if equality is allowed.Only relevant if a max_value has been + /// defined. /// - /// Only relevant if a max_value has been defined. Default = false. + /// Default = false. core.bool? strictMaxEnabled; /// Whether column statistic needs to be strictly greater than ('\>') the - /// minimum, or if equality is allowed. + /// minimum, or if equality is allowed.Only relevant if a min_value has been + /// defined. /// - /// Only relevant if a min_value has been defined. Default = false. + /// Default = false. core.bool? strictMinEnabled; GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation({ @@ -7230,10 +7284,9 @@ }; } -/// Evaluates whether the provided expression is true. -/// -/// The SQL expression needs to use BigQuery standard SQL syntax and should -/// produce a scalar boolean result. Example: MIN(col1) \>= 0 +/// Evaluates whether the provided expression is true.The SQL expression needs +/// to use BigQuery standard SQL syntax and should produce a scalar boolean +/// result.Example: MIN(col1) \>= 0 typedef GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation = $ConditionExpectation; @@ -7267,12 +7320,12 @@ } /// Represents a user-visible job which provides the insights for the related -/// data source. +/// data source.For example: Data Quality: generates queries based on the rules +/// and runs against the data to get data quality check results. /// -/// For examples: - Data Quality: generates queries based on the rules and run -/// against the data to get data quality check results. - Data Profile: analyzes -/// the data in table(s) and generates insights about the structure, content and -/// relationships (such as null percent, cardinality, min/max/mean, etc). +/// Data Profile: analyzes the data in table(s) and generates insights about the +/// structure, content and relationships (such as null percent, cardinality, +/// min/max/mean, etc). class GoogleCloudDataplexV1DataScan { /// The time when the scan was created. /// @@ -7302,21 +7355,20 @@ /// Description of the scan. /// - /// * Must be between 1-1024 characters. + /// Must be between 1-1024 characters. /// /// Optional. core.String? description; /// User friendly display name. /// - /// * Must be between 1-256 characters. + /// Must be between 1-256 characters. /// /// Optional. core.String? displayName; - /// DataScan execution settings. - /// - /// If not specified, the fields under it will use their default values. + /// DataScan execution settings.If not specified, the fields in it will use + /// their default values. /// /// Optional. GoogleCloudDataplexV1DataScanExecutionSpec? executionSpec; @@ -7332,10 +7384,9 @@ core.Map<core.String, core.String>? labels; /// The relative resource name of the scan, of the form: - /// projects/{project}/locations/{location_id}/dataScans/{datascan_id}. - /// - /// where {project} refers to a project_id or project_number and location_id - /// refers to a GCP region. + /// projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where + /// project refers to a project_id or project_number and location_id refers to + /// a GCP region. /// /// Output only. core.String? name; @@ -7355,9 +7406,9 @@ /// /// Output only. /// Possible string values are: - /// - "DATA_SCAN_TYPE_UNSPECIFIED" : The DataScan Type is unspecified. - /// - "DATA_QUALITY" : Data Quality Scan. - /// - "DATA_PROFILE" : Data Profile Scan. + /// - "DATA_SCAN_TYPE_UNSPECIFIED" : The DataScan type is unspecified. + /// - "DATA_QUALITY" : Data Quality scan. + /// - "DATA_PROFILE" : Data Profile scan. core.String? type; /// System generated globally unique ID for the scan. @@ -7476,16 +7527,16 @@ /// DataScan execution settings. class GoogleCloudDataplexV1DataScanExecutionSpec { - /// The unnested field (Date or Timestamp) that contains values that - /// monotonically increase over time. + /// The unnested field (of type Date or Timestamp) that contains values which + /// monotonically increase over time.If not specified, a data scan will run + /// for all data in the table. /// /// Immutable. core.String? field; - /// Spec related to how often and when a scan should be triggered. - /// - /// If not specified, the default is OnDemand, which means the scan will not - /// run until the user calls RunDataScan API. + /// Spec related to how often and when a scan should be triggered.If not + /// specified, the default is OnDemand, which means the scan will not run + /// until the user calls RunDataScan API. /// /// Optional. GoogleCloudDataplexV1Trigger? trigger; @@ -7541,7 +7592,7 @@ }; } -/// A DataScanJob represents an instance of a data scan. +/// A DataScanJob represents an instance of DataScan execution. class GoogleCloudDataplexV1DataScanJob { /// The result of the data profile scan. /// @@ -7574,9 +7625,8 @@ core.String? message; /// The relative resource name of the DataScanJob, of the form: - /// projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}. - /// - /// where {project} refers to a project_id or project_number and location_id + /// projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, + /// where project refers to a project_id or project_number and location_id /// refers to a GCP region. /// /// Output only. @@ -7604,9 +7654,9 @@ /// /// Output only. /// Possible string values are: - /// - "DATA_SCAN_TYPE_UNSPECIFIED" : The DataScan Type is unspecified. - /// - "DATA_QUALITY" : Data Quality Scan. - /// - "DATA_PROFILE" : Data Profile Scan. + /// - "DATA_SCAN_TYPE_UNSPECIFIED" : The DataScan type is unspecified. + /// - "DATA_QUALITY" : Data Quality scan. + /// - "DATA_PROFILE" : Data Profile scan. core.String? type; /// System generated globally unique ID for the DataScanJob. @@ -7683,7 +7733,8 @@ /// The data source for DataScan. class GoogleCloudDataplexV1DataSource { - /// The dataplex entity that contains the data for DataScan, of the form: + /// The Dataplex entity that represents the data source (e.g. BigQuery table) + /// for DataScan, of the form: /// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}. /// /// Immutable. @@ -7707,6 +7758,13 @@ /// Represents tables and fileset metadata contained within a zone. class GoogleCloudDataplexV1Entity { + /// Identifies the access mechanism to the entity. + /// + /// Not user settable. + /// + /// Output only. + GoogleCloudDataplexV1StorageAccess? access; + /// The ID of the asset associated with the storage location containing the /// entity data. /// @@ -7818,12 +7876,21 @@ /// - "FILESET" : Unstructured data. core.String? type; + /// System generated unique ID for the Entity. + /// + /// This ID will be different if the Entity is deleted and re-created with the + /// same name. + /// + /// Output only. + core.String? uid; + /// The time when the entity was last updated. /// /// Output only. core.String? updateTime; GoogleCloudDataplexV1Entity({ + this.access, this.asset, this.catalogEntry, this.compatibility, @@ -7839,11 +7906,16 @@ this.schema, this.system, this.type, + this.uid, this.updateTime, }); GoogleCloudDataplexV1Entity.fromJson(core.Map json_) : this( + access: json_.containsKey('access') + ? GoogleCloudDataplexV1StorageAccess.fromJson( + json_['access'] as core.Map<core.String, core.dynamic>) + : null, asset: json_.containsKey('asset') ? json_['asset'] as core.String : null, catalogEntry: json_.containsKey('catalogEntry') @@ -7883,12 +7955,14 @@ ? json_['system'] as core.String : null, type: json_.containsKey('type') ? json_['type'] as core.String : null, + uid: json_.containsKey('uid') ? json_['uid'] as core.String : null, updateTime: json_.containsKey('updateTime') ? json_['updateTime'] as core.String : null, ); core.Map<core.String, core.dynamic> toJson() => { + if (access != null) 'access': access!, if (asset != null) 'asset': asset!, if (catalogEntry != null) 'catalogEntry': catalogEntry!, if (compatibility != null) 'compatibility': compatibility!, @@ -7904,6 +7978,7 @@ if (schema != null) 'schema': schema!, if (system != null) 'system': system!, if (type != null) 'type': type!, + if (uid != null) 'uid': uid!, if (updateTime != null) 'updateTime': updateTime!, }; } @@ -8829,7 +8904,7 @@ /// List DataScanJobs response. class GoogleCloudDataplexV1ListDataScanJobsResponse { - /// DataScanJobs (metadata only) under a given dataScan. + /// DataScanJobs (BASIC view only) under a given dataScan. core.List<GoogleCloudDataplexV1DataScanJob>? dataScanJobs; /// Token to retrieve the next page of results, or empty if there are no more @@ -8862,7 +8937,7 @@ /// List dataScans response. class GoogleCloudDataplexV1ListDataScansResponse { - /// DataScans (metadata only) under the given parent location. + /// DataScans (BASIC view only) under the given parent location. core.List<GoogleCloudDataplexV1DataScan>? dataScans; /// Token to retrieve the next page of results, or empty if there are no more @@ -9254,7 +9329,7 @@ /// Run DataScan Response. class GoogleCloudDataplexV1RunDataScanResponse { - /// DataScanJob created by RunDataScan API. + /// DataScanJob created by RunDataScan request. GoogleCloudDataplexV1DataScanJob? job; GoogleCloudDataplexV1RunDataScanResponse({ @@ -9274,6 +9349,29 @@ }; } +typedef GoogleCloudDataplexV1RunTaskRequest = $Empty; + +class GoogleCloudDataplexV1RunTaskResponse { + /// Jobs created by RunTask API. + GoogleCloudDataplexV1Job? job; + + GoogleCloudDataplexV1RunTaskResponse({ + this.job, + }); + + GoogleCloudDataplexV1RunTaskResponse.fromJson(core.Map json_) + : this( + job: json_.containsKey('job') + ? GoogleCloudDataplexV1Job.fromJson( + json_['job'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (job != null) 'job': job!, + }; +} + /// The data scanned during processing (e.g. in incremental DataScan) class GoogleCloudDataplexV1ScannedData { /// The range denoted by values of an incremental field @@ -9299,14 +9397,14 @@ /// A data range denoted by a pair of start/end values of a field. class GoogleCloudDataplexV1ScannedDataIncrementalField { - /// Value that marks the end of the range + /// Value that marks the end of the range. core.String? end; /// The field that contains values which monotonically increases over time - /// (e.g. timestamp). + /// (e.g. a timestamp column). core.String? field; - /// Value that marks the start of the range + /// Value that marks the start of the range. core.String? start; GoogleCloudDataplexV1ScannedDataIncrementalField({ @@ -9608,6 +9706,34 @@ }; } +/// Describes the access mechanism of the data within its storage location. +class GoogleCloudDataplexV1StorageAccess { + /// Describes the read access mechanism of the data. + /// + /// Not user settable. + /// + /// Output only. + /// Possible string values are: + /// - "ACCESS_MODE_UNSPECIFIED" : Access mode unspecified. + /// - "DIRECT" : Default. Data is accessed directly using storage APIs. + /// - "MANAGED" : Data is accessed through a managed interface using BigQuery + /// APIs. + core.String? read; + + GoogleCloudDataplexV1StorageAccess({ + this.read, + }); + + GoogleCloudDataplexV1StorageAccess.fromJson(core.Map json_) + : this( + read: json_.containsKey('read') ? json_['read'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (read != null) 'read': read!, + }; +} + /// Describes the format of the data within its storage location. class GoogleCloudDataplexV1StorageFormat { /// The compression type associated with the stored data. @@ -10511,8 +10637,8 @@ /// To explicitly set a timezone to the cron tab, apply a prefix in the cron /// tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The /// ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. - /// For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York - /// 1 * * * *". This field is required for RECURRING tasks. + /// For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 + /// * * * *. This field is required for RECURRING tasks. /// /// Optional. core.String? schedule; @@ -10570,7 +10696,7 @@ /// DataScan scheduling and trigger settings. class GoogleCloudDataplexV1Trigger { - /// The scan runs one-time shortly after DataScan Creation. + /// The scan runs once via RunDataScan API. GoogleCloudDataplexV1TriggerOnDemand? onDemand; /// The scan is scheduled to run periodically. @@ -10599,19 +10725,20 @@ }; } -/// The scan runs one-time via RunDataScan API. +/// The scan runs once via RunDataScan API. typedef GoogleCloudDataplexV1TriggerOnDemand = $Empty; /// The scan is scheduled to run periodically. class GoogleCloudDataplexV1TriggerSchedule { - /// Cron schedule (https://en.wikipedia.org/wiki/Cron) for running scans - /// periodically. + /// Cron (https://en.wikipedia.org/wiki/Cron) schedule for running scans + /// periodically.To explicitly set a timezone in the cron tab, apply a prefix + /// in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". /// - /// To explicitly set a timezone to the cron tab, apply a prefix in the cron - /// tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The - /// ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. - /// For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York - /// 1 * * * *". This field is required for Schedule scans. + /// The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone + /// database (wikipedia + /// (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)). For + /// example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * + /// * *.This field is required for Schedule scans. /// /// Required. core.String? cron; @@ -10832,8 +10959,8 @@ /// timezone to the cron tab, apply a prefix in the cron tab: /// "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The /// ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. - /// For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York - /// 1 * * * *". + /// For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 + /// * * * *. /// /// Optional. core.String? schedule;
diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart index 1a428fc..603c54e 100644 --- a/generated/googleapis/lib/dataproc/v1.dart +++ b/generated/googleapis/lib/dataproc/v1.dart
@@ -29,6 +29,7 @@ /// - [ProjectsRegionsResource] /// - [ProjectsRegionsAutoscalingPoliciesResource] /// - [ProjectsRegionsClustersResource] +/// - [ProjectsRegionsClustersNodeGroupsResource] /// - [ProjectsRegionsJobsResource] /// - [ProjectsRegionsOperationsResource] /// - [ProjectsRegionsWorkflowTemplatesResource] @@ -1810,6 +1811,9 @@ class ProjectsRegionsClustersResource { final commons.ApiRequester _requester; + ProjectsRegionsClustersNodeGroupsResource get nodeGroups => + ProjectsRegionsClustersNodeGroupsResource(_requester); + ProjectsRegionsClustersResource(commons.ApiRequester client) : _requester = client; @@ -2581,6 +2585,159 @@ } } +class ProjectsRegionsClustersNodeGroupsResource { + final commons.ApiRequester _requester; + + ProjectsRegionsClustersNodeGroupsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a node group in a cluster. + /// + /// The returned Operation.metadata is NodeGroupOperationMetadata + /// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource where this node group will be + /// created. Format: projects/{project}/regions/{region}/clusters/{cluster} + /// Value must have pattern + /// `^projects/\[^/\]+/regions/\[^/\]+/clusters/\[^/\]+$`. + /// + /// [nodeGroupId] - Optional. An optional node group ID. Generated if not + /// specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). Cannot begin or end with underscore or + /// hyphen. Must consist of from 3 to 33 characters. + /// + /// [requestId] - Optional. A unique ID used to identify the request. If the + /// server receives two CreateNodeGroupRequest + /// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequests) + /// with the same ID, the second request is ignored and the first + /// google.longrunning.Operation created and stored in the backend is + /// returned.Recommendation: Set this value to a UUID + /// (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must + /// contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and + /// hyphens (-). The maximum length is 40 characters. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> create( + NodeGroup request, + core.String parent, { + core.String? nodeGroupId, + core.String? requestId, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if (nodeGroupId != null) 'nodeGroupId': [nodeGroupId], + if (requestId != null) 'requestId': [requestId], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/nodeGroups'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Gets the resource representation for a node group in a cluster. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the node group to retrieve. Format: + /// projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup} + /// Value must have pattern + /// `^projects/\[^/\]+/regions/\[^/\]+/clusters/\[^/\]+/nodeGroups/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [NodeGroup]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<NodeGroup> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return NodeGroup.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Resizes a node group in a cluster. + /// + /// The returned Operation.metadata is NodeGroupOperationMetadata + /// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the node group to resize. Format: + /// projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup} + /// Value must have pattern + /// `^projects/\[^/\]+/regions/\[^/\]+/clusters/\[^/\]+/nodeGroups/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> resize( + ResizeNodeGroupRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':resize'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } +} + class ProjectsRegionsJobsResource { final commons.ApiRequester _requester; @@ -4150,6 +4307,44 @@ }; } +/// Node group identification and configuration information. +class AuxiliaryNodeGroup { + /// Node group configuration. + /// + /// Required. + NodeGroup? nodeGroup; + + /// A node group ID. + /// + /// Generated if not specified.The ID must contain only letters (a-z, A-Z), + /// numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with + /// underscore or hyphen. Must consist of from 3 to 33 characters. + /// + /// Optional. + core.String? nodeGroupId; + + AuxiliaryNodeGroup({ + this.nodeGroup, + this.nodeGroupId, + }); + + AuxiliaryNodeGroup.fromJson(core.Map json_) + : this( + nodeGroup: json_.containsKey('nodeGroup') + ? NodeGroup.fromJson( + json_['nodeGroup'] as core.Map<core.String, core.dynamic>) + : null, + nodeGroupId: json_.containsKey('nodeGroupId') + ? json_['nodeGroupId'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (nodeGroup != null) 'nodeGroup': nodeGroup!, + if (nodeGroupId != null) 'nodeGroupId': nodeGroupId!, + }; +} + /// Auxiliary services configuration for a Cluster. class AuxiliaryServicesConfig { /// The Hive Metastore configuration for this workload. @@ -4785,6 +4980,11 @@ /// Optional. AutoscalingConfig? autoscalingConfig; + /// The node group settings. + /// + /// Optional. + core.List<AuxiliaryNodeGroup>? auxiliaryNodeGroups; + /// A Cloud Storage bucket used to stage job dependencies, config files, and /// job driver console output. /// @@ -4898,6 +5098,7 @@ ClusterConfig({ this.autoscalingConfig, + this.auxiliaryNodeGroups, this.configBucket, this.dataprocMetricConfig, this.encryptionConfig, @@ -4921,6 +5122,12 @@ ? AutoscalingConfig.fromJson(json_['autoscalingConfig'] as core.Map<core.String, core.dynamic>) : null, + auxiliaryNodeGroups: json_.containsKey('auxiliaryNodeGroups') + ? (json_['auxiliaryNodeGroups'] as core.List) + .map((value) => AuxiliaryNodeGroup.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, configBucket: json_.containsKey('configBucket') ? json_['configBucket'] as core.String : null, @@ -4985,6 +5192,8 @@ core.Map<core.String, core.dynamic> toJson() => { if (autoscalingConfig != null) 'autoscalingConfig': autoscalingConfig!, + if (auxiliaryNodeGroups != null) + 'auxiliaryNodeGroups': auxiliaryNodeGroups!, if (configBucket != null) 'configBucket': configBucket!, if (dataprocMetricConfig != null) 'dataprocMetricConfig': dataprocMetricConfig!, @@ -5295,6 +5504,38 @@ }; } +/// Driver scheduling configuration. +class DriverSchedulingConfig { + /// The amount of memory in MB the driver is requesting. + /// + /// Required. + core.int? memoryMb; + + /// The number of vCPUs the driver is requesting. + /// + /// Required. + core.int? vcores; + + DriverSchedulingConfig({ + this.memoryMb, + this.vcores, + }); + + DriverSchedulingConfig.fromJson(core.Map json_) + : this( + memoryMb: json_.containsKey('memoryMb') + ? json_['memoryMb'] as core.int + : null, + vcores: + json_.containsKey('vcores') ? json_['vcores'] as core.int : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (memoryMb != null) 'memoryMb': memoryMb!, + if (vcores != null) 'vcores': vcores!, + }; +} + /// A generic empty message that you can re-use to avoid defining duplicated /// empty messages in your APIs. /// @@ -5414,7 +5655,7 @@ /// value is 10 minutes; maximum value is 14 days (see JSON representation of /// Duration /// (https://developers.google.com/protocol-buffers/docs/proto3#json)). - /// Defaults to 10 minutes if not set. + /// Defaults to 4 hours if not set. /// /// Optional. core.String? idleTtl; @@ -6832,6 +7073,11 @@ /// Output only. core.String? driverOutputResourceUri; + /// Driver scheduling configuration. + /// + /// Optional. + DriverSchedulingConfig? driverSchedulingConfig; + /// Job is a Hadoop job. /// /// Optional. @@ -6940,6 +7186,7 @@ this.done, this.driverControlFilesUri, this.driverOutputResourceUri, + this.driverSchedulingConfig, this.hadoopJob, this.hiveJob, this.jobUuid, @@ -6968,6 +7215,10 @@ driverOutputResourceUri: json_.containsKey('driverOutputResourceUri') ? json_['driverOutputResourceUri'] as core.String : null, + driverSchedulingConfig: json_.containsKey('driverSchedulingConfig') + ? DriverSchedulingConfig.fromJson(json_['driverSchedulingConfig'] + as core.Map<core.String, core.dynamic>) + : null, hadoopJob: json_.containsKey('hadoopJob') ? HadoopJob.fromJson( json_['hadoopJob'] as core.Map<core.String, core.dynamic>) @@ -7051,6 +7302,8 @@ 'driverControlFilesUri': driverControlFilesUri!, if (driverOutputResourceUri != null) 'driverOutputResourceUri': driverOutputResourceUri!, + if (driverSchedulingConfig != null) + 'driverSchedulingConfig': driverSchedulingConfig!, if (hadoopJob != null) 'hadoopJob': hadoopJob!, if (hiveJob != null) 'hiveJob': hiveJob!, if (jobUuid != null) 'jobUuid': jobUuid!, @@ -7163,22 +7416,21 @@ class JobScheduling { /// Maximum number of times per hour a driver may be restarted as a result of /// driver exiting with non-zero code before job is reported failed.A job may - /// be reported as thrashing if driver exits with non-zero code 4 times within - /// 10 minute window.Maximum value is 10.Note: Currently, this restartable job - /// option is not supported in Dataproc workflow template - /// (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template) - /// jobs. + /// be reported as thrashing if the driver exits with a non-zero code four + /// times within a 10-minute window.Maximum value is 10.Note: This restartable + /// job option is not supported in Dataproc workflow templates + /// (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template). /// /// Optional. core.int? maxFailuresPerHour; - /// Maximum number of times in total a driver may be restarted as a result of - /// driver exiting with non-zero code before job is reported failed. + /// Maximum total number of times a driver may be restarted as a result of the + /// driver exiting with a non-zero code. /// - /// Maximum value is 240.Note: Currently, this restartable job option is not - /// supported in Dataproc workflow template - /// (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template) - /// jobs. + /// After the maximum number is reached, the job will be reported as + /// failed.Maximum value is 240.Note: Currently, this restartable job option + /// is not supported in Dataproc workflow templates + /// (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template). /// /// Optional. core.int? maxFailuresTotal; @@ -8133,7 +8385,76 @@ }; } +/// Dataproc Node Group. +/// +/// The Dataproc NodeGroup resource is not related to the Dataproc +/// NodeGroupAffinity resource. +class NodeGroup { + /// Node group labels. + /// + /// Label keys must consist of from 1 to 63 characters and conform to RFC 1035 + /// (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If + /// specified, they must consist of from 1 to 63 characters and conform to RFC + /// 1035 (https://www.ietf.org/rfc/rfc1035.txt). The node group must have no + /// more than 32 labelsn. + /// + /// Optional. + core.Map<core.String, core.String>? labels; + + /// The Node group resource name (https://aip.dev/122). + core.String? name; + + /// The node group instance group configuration. + /// + /// Optional. + InstanceGroupConfig? nodeGroupConfig; + + /// Node group roles. + /// + /// Required. + core.List<core.String>? roles; + + NodeGroup({ + this.labels, + this.name, + this.nodeGroupConfig, + this.roles, + }); + + NodeGroup.fromJson(core.Map json_) + : this( + labels: json_.containsKey('labels') + ? (json_['labels'] as core.Map<core.String, core.dynamic>).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + nodeGroupConfig: json_.containsKey('nodeGroupConfig') + ? InstanceGroupConfig.fromJson(json_['nodeGroupConfig'] + as core.Map<core.String, core.dynamic>) + : null, + roles: json_.containsKey('roles') + ? (json_['roles'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (labels != null) 'labels': labels!, + if (name != null) 'name': name!, + if (nodeGroupConfig != null) 'nodeGroupConfig': nodeGroupConfig!, + if (roles != null) 'roles': roles!, + }; +} + /// Node Group Affinity for clusters using sole-tenant node groups. +/// +/// The Dataproc NodeGroupAffinity resource is not related to the Dataproc +/// NodeGroup resource. class NodeGroupAffinity { /// The URI of a sole-tenant node group resource /// (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that @@ -9316,6 +9637,72 @@ }; } +/// A request to resize a node group. +class ResizeNodeGroupRequest { + /// Timeout for graceful YARN decomissioning. + /// + /// Graceful decommissioning + /// (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/scaling-clusters#graceful_decommissioning) + /// allows the removal of nodes from the Compute Engine node group without + /// interrupting jobs in progress. This timeout specifies how long to wait for + /// jobs in progress to finish before forcefully removing nodes (and + /// potentially interrupting jobs). Default timeout is 0 (for forceful + /// decommission), and the maximum allowed timeout is 1 day. (see JSON + /// representation of Duration + /// (https://developers.google.com/protocol-buffers/docs/proto3#json)).Only + /// supported on Dataproc image versions 1.2 and higher. + /// + /// Optional. + core.String? gracefulDecommissionTimeout; + + /// A unique ID used to identify the request. + /// + /// If the server receives two ResizeNodeGroupRequest + /// (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.ResizeNodeGroupRequests) + /// with the same ID, the second request is ignored and the first + /// google.longrunning.Operation created and stored in the backend is + /// returned.Recommendation: Set this value to a UUID + /// (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must + /// contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and + /// hyphens (-). The maximum length is 40 characters. + /// + /// Optional. + core.String? requestId; + + /// The number of running instances for the node group to maintain. + /// + /// The group adds or removes instances to maintain the number of instances + /// specified by this parameter. + /// + /// Required. + core.int? size; + + ResizeNodeGroupRequest({ + this.gracefulDecommissionTimeout, + this.requestId, + this.size, + }); + + ResizeNodeGroupRequest.fromJson(core.Map json_) + : this( + gracefulDecommissionTimeout: + json_.containsKey('gracefulDecommissionTimeout') + ? json_['gracefulDecommissionTimeout'] as core.String + : null, + requestId: json_.containsKey('requestId') + ? json_['requestId'] as core.String + : null, + size: json_.containsKey('size') ? json_['size'] as core.int : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (gracefulDecommissionTimeout != null) + 'gracefulDecommissionTimeout': gracefulDecommissionTimeout!, + if (requestId != null) 'requestId': requestId!, + if (size != null) 'size': size!, + }; +} + /// Runtime configuration for a workload. class RuntimeConfig { /// Optional custom container image for the job runtime environment. @@ -9377,6 +9764,11 @@ /// Output only. UsageMetrics? approximateUsage; + /// Snapshot of current workload resource usage. + /// + /// Output only. + UsageSnapshot? currentUsage; + /// A URI pointing to the location of the diagnostics tarball. /// /// Output only. @@ -9395,6 +9787,7 @@ RuntimeInfo({ this.approximateUsage, + this.currentUsage, this.diagnosticOutputUri, this.endpoints, this.outputUri, @@ -9406,6 +9799,10 @@ ? UsageMetrics.fromJson(json_['approximateUsage'] as core.Map<core.String, core.dynamic>) : null, + currentUsage: json_.containsKey('currentUsage') + ? UsageSnapshot.fromJson( + json_['currentUsage'] as core.Map<core.String, core.dynamic>) + : null, diagnosticOutputUri: json_.containsKey('diagnosticOutputUri') ? json_['diagnosticOutputUri'] as core.String : null, @@ -9424,6 +9821,7 @@ core.Map<core.String, core.dynamic> toJson() => { if (approximateUsage != null) 'approximateUsage': approximateUsage!, + if (currentUsage != null) 'currentUsage': currentUsage!, if (diagnosticOutputUri != null) 'diagnosticOutputUri': diagnosticOutputUri!, if (endpoints != null) 'endpoints': endpoints!, @@ -10681,6 +11079,55 @@ }; } +/// The usage snaphot represents the resources consumed by a workload at a +/// specified time. +class UsageSnapshot { + /// Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc + /// Serverless pricing + /// (https://cloud.google.com/dataproc-serverless/pricing)). + /// + /// Optional. + core.String? milliDcu; + + /// Shuffle Storage in gigabytes (GB). + /// + /// (see Dataproc Serverless pricing + /// (https://cloud.google.com/dataproc-serverless/pricing)) + /// + /// Optional. + core.String? shuffleStorageGb; + + /// The timestamp of the usage snapshot. + /// + /// Optional. + core.String? snapshotTime; + + UsageSnapshot({ + this.milliDcu, + this.shuffleStorageGb, + this.snapshotTime, + }); + + UsageSnapshot.fromJson(core.Map json_) + : this( + milliDcu: json_.containsKey('milliDcu') + ? json_['milliDcu'] as core.String + : null, + shuffleStorageGb: json_.containsKey('shuffleStorageGb') + ? json_['shuffleStorageGb'] as core.String + : null, + snapshotTime: json_.containsKey('snapshotTime') + ? json_['snapshotTime'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (milliDcu != null) 'milliDcu': milliDcu!, + if (shuffleStorageGb != null) 'shuffleStorageGb': shuffleStorageGb!, + if (snapshotTime != null) 'snapshotTime': snapshotTime!, + }; +} + /// Validation based on a list of allowed values. class ValueValidation { /// List of allowed values for the parameter.
diff --git a/generated/googleapis/lib/datastore/v1.dart b/generated/googleapis/lib/datastore/v1.dart index bb960c5..9c7a994 100644 --- a/generated/googleapis/lib/datastore/v1.dart +++ b/generated/googleapis/lib/datastore/v1.dart
@@ -1461,6 +1461,12 @@ /// The result of fetching an entity from Datastore. class EntityResult { + /// The time at which the entity was created. + /// + /// This field is set for `FULL` entity results. If this entity is missing, + /// this field will not be set. + core.String? createTime; + /// A cursor that points to the position after the result entity. /// /// Set only when the `EntityResult` is part of a `QueryResultBatch` message. @@ -1491,6 +1497,7 @@ core.String? version; EntityResult({ + this.createTime, this.cursor, this.entity, this.updateTime, @@ -1499,6 +1506,9 @@ EntityResult.fromJson(core.Map json_) : this( + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, cursor: json_.containsKey('cursor') ? json_['cursor'] as core.String : null, @@ -1515,6 +1525,7 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (createTime != null) 'createTime': createTime!, if (cursor != null) 'cursor': cursor!, if (entity != null) 'entity': entity!, if (updateTime != null) 'updateTime': updateTime!, @@ -2368,6 +2379,11 @@ /// mutation. core.bool? conflictDetected; + /// The create time of the entity. + /// + /// This field will not be set after a 'delete'. + core.String? createTime; + /// The automatically allocated key. /// /// Set only when the mutation allocated a key. @@ -2390,6 +2406,7 @@ MutationResult({ this.conflictDetected, + this.createTime, this.key, this.updateTime, this.version, @@ -2400,6 +2417,9 @@ conflictDetected: json_.containsKey('conflictDetected') ? json_['conflictDetected'] as core.bool : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, key: json_.containsKey('key') ? Key.fromJson( json_['key'] as core.Map<core.String, core.dynamic>) @@ -2414,6 +2434,7 @@ core.Map<core.String, core.dynamic> toJson() => { if (conflictDetected != null) 'conflictDetected': conflictDetected!, + if (createTime != null) 'createTime': createTime!, if (key != null) 'key': key!, if (updateTime != null) 'updateTime': updateTime!, if (version != null) 'version': version!,
diff --git a/generated/googleapis/lib/datastream/v1.dart b/generated/googleapis/lib/datastream/v1.dart index 0425ea9..5b46fa7 100644 --- a/generated/googleapis/lib/datastream/v1.dart +++ b/generated/googleapis/lib/datastream/v1.dart
@@ -771,6 +771,8 @@ /// PrivateConnections. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// + /// [force] - Optional. If set to true, will skip validations. + /// /// [privateConnectionId] - Required. The private connectivity identifier. /// /// [requestId] - Optional. A request ID to identify requests. Specify a @@ -798,12 +800,14 @@ async.Future<Operation> create( PrivateConnection request, core.String parent, { + core.bool? force, core.String? privateConnectionId, core.String? requestId, core.String? $fields, }) async { final body_ = convert.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ + if (force != null) 'force': ['${force}'], if (privateConnectionId != null) 'privateConnectionId': [privateConnectionId], if (requestId != null) 'requestId': [requestId], @@ -2353,63 +2357,7 @@ } /// Forward SSH Tunnel connectivity. -class ForwardSshTunnelConnectivity { - /// Hostname for the SSH tunnel. - /// - /// Required. - core.String? hostname; - - /// Input only. - /// - /// SSH password. - core.String? password; - - /// Port for the SSH tunnel, default value is 22. - core.int? port; - - /// Input only. - /// - /// SSH private key. - core.String? privateKey; - - /// Username for the SSH tunnel. - /// - /// Required. - core.String? username; - - ForwardSshTunnelConnectivity({ - this.hostname, - this.password, - this.port, - this.privateKey, - this.username, - }); - - ForwardSshTunnelConnectivity.fromJson(core.Map json_) - : this( - hostname: json_.containsKey('hostname') - ? json_['hostname'] as core.String - : null, - password: json_.containsKey('password') - ? json_['password'] as core.String - : null, - port: json_.containsKey('port') ? json_['port'] as core.int : null, - privateKey: json_.containsKey('privateKey') - ? json_['privateKey'] as core.String - : null, - username: json_.containsKey('username') - ? json_['username'] as core.String - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (hostname != null) 'hostname': hostname!, - if (password != null) 'password': password!, - if (port != null) 'port': port!, - if (privateKey != null) 'privateKey': privateKey!, - if (username != null) 'username': username!, - }; -} +typedef ForwardSshTunnelConnectivity = $ForwardSshTunnelConnectivity; /// Google Cloud Storage destination configuration class GcsDestinationConfig { @@ -4097,6 +4045,7 @@ /// A single target dataset to which all data will be streamed. class SingleTargetDataset { + /// The dataset ID of the target dataset. core.String? datasetId; SingleTargetDataset({
diff --git a/generated/googleapis/lib/dialogflow/v2.dart b/generated/googleapis/lib/dialogflow/v2.dart index 4cf5d87..b35ed70 100644 --- a/generated/googleapis/lib/dialogflow/v2.dart +++ b/generated/googleapis/lib/dialogflow/v2.dart
@@ -47,6 +47,7 @@ /// - [ProjectsConversationsMessagesResource] /// - [ProjectsConversationsParticipantsResource] /// - [ProjectsConversationsParticipantsSuggestionsResource] +/// - [ProjectsConversationsSuggestionsResource] /// - [ProjectsKnowledgeBasesResource] /// - [ProjectsKnowledgeBasesDocumentsResource] /// - [ProjectsLocationsResource] @@ -73,6 +74,7 @@ /// - [ProjectsLocationsConversationsMessagesResource] /// - [ProjectsLocationsConversationsParticipantsResource] /// - [ProjectsLocationsConversationsParticipantsSuggestionsResource] +/// - [ProjectsLocationsConversationsSuggestionsResource] /// - [ProjectsLocationsKnowledgeBasesResource] /// - [ProjectsLocationsKnowledgeBasesDocumentsResource] /// - [ProjectsLocationsOperationsResource] @@ -4999,6 +5001,8 @@ ProjectsConversationsMessagesResource(_requester); ProjectsConversationsParticipantsResource get participants => ProjectsConversationsParticipantsResource(_requester); + ProjectsConversationsSuggestionsResource get suggestions => + ProjectsConversationsSuggestionsResource(_requester); ProjectsConversationsResource(commons.ApiRequester client) : _requester = client; @@ -5658,6 +5662,62 @@ } } +class ProjectsConversationsSuggestionsResource { + final commons.ApiRequester _requester; + + ProjectsConversationsSuggestionsResource(commons.ApiRequester client) + : _requester = client; + + /// 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. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [conversation] - Required. The conversation to fetch suggestion for. + /// Format: `projects//locations//conversations/`. + /// Value must have pattern `^projects/\[^/\]+/conversations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleCloudDialogflowV2SuggestConversationSummaryResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleCloudDialogflowV2SuggestConversationSummaryResponse> + suggestConversationSummary( + GoogleCloudDialogflowV2SuggestConversationSummaryRequest request, + core.String conversation, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + + core.Uri.encodeFull('$conversation') + + '/suggestions:suggestConversationSummary'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudDialogflowV2SuggestConversationSummaryResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + class ProjectsKnowledgeBasesResource { final commons.ApiRequester _requester; @@ -10907,6 +10967,8 @@ ProjectsLocationsConversationsMessagesResource(_requester); ProjectsLocationsConversationsParticipantsResource get participants => ProjectsLocationsConversationsParticipantsResource(_requester); + ProjectsLocationsConversationsSuggestionsResource get suggestions => + ProjectsLocationsConversationsSuggestionsResource(_requester); ProjectsLocationsConversationsResource(commons.ApiRequester client) : _requester = client; @@ -11574,6 +11636,63 @@ } } +class ProjectsLocationsConversationsSuggestionsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsConversationsSuggestionsResource(commons.ApiRequester client) + : _requester = client; + + /// 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. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [conversation] - Required. The conversation to fetch suggestion for. + /// Format: `projects//locations//conversations/`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleCloudDialogflowV2SuggestConversationSummaryResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleCloudDialogflowV2SuggestConversationSummaryResponse> + suggestConversationSummary( + GoogleCloudDialogflowV2SuggestConversationSummaryRequest request, + core.String conversation, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + + core.Uri.encodeFull('$conversation') + + '/suggestions:suggestConversationSummary'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudDialogflowV2SuggestConversationSummaryResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + class ProjectsLocationsKnowledgeBasesResource { final commons.ApiRequester _requester; @@ -12759,10 +12878,17 @@ /// - "EFFICIENT" : Document is efficient. core.String? documentEfficiency; + /// Feedback for conversation summarization. + /// + /// Optional. + GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback? + summarizationFeedback; + GoogleCloudDialogflowV2AgentAssistantFeedback({ this.answerRelevance, this.documentCorrectness, this.documentEfficiency, + this.summarizationFeedback, }); GoogleCloudDialogflowV2AgentAssistantFeedback.fromJson(core.Map json_) @@ -12776,6 +12902,11 @@ documentEfficiency: json_.containsKey('documentEfficiency') ? json_['documentEfficiency'] as core.String : null, + summarizationFeedback: json_.containsKey('summarizationFeedback') + ? GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback + .fromJson(json_['summarizationFeedback'] + as core.Map<core.String, core.dynamic>) + : null, ); core.Map<core.String, core.dynamic> toJson() => { @@ -12784,6 +12915,46 @@ 'documentCorrectness': documentCorrectness!, if (documentEfficiency != null) 'documentEfficiency': documentEfficiency!, + if (summarizationFeedback != null) + 'summarizationFeedback': summarizationFeedback!, + }; +} + +/// Feedback for conversation summarization. +class GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback { + /// Timestamp when composing of the summary starts. + core.String? startTime; + + /// Timestamp when the summary was submitted. + core.String? submitTime; + + /// Text of actual submitted summary. + core.String? summaryText; + + GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback({ + this.startTime, + this.submitTime, + this.summaryText, + }); + + GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback.fromJson( + core.Map json_) + : this( + startTime: json_.containsKey('startTime') + ? json_['startTime'] as core.String + : null, + submitTime: json_.containsKey('submitTime') + ? json_['submitTime'] as core.String + : null, + summaryText: json_.containsKey('summaryText') + ? json_['summaryText'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (startTime != null) 'startTime': startTime!, + if (submitTime != null) 'submitTime': submitTime!, + if (summaryText != null) 'summaryText': summaryText!, }; } @@ -21072,6 +21243,137 @@ }; } +/// The request message for Conversations.SuggestConversationSummary. +class GoogleCloudDialogflowV2SuggestConversationSummaryRequest { + /// Max number of messages prior to and including \[latest_message\] to use as + /// context when compiling the suggestion. + /// + /// By default 500 and at most 1000. + core.int? contextSize; + + /// The name of the latest conversation message used as context for compiling + /// suggestion. + /// + /// If empty, the latest message of the conversation will be used. Format: + /// `projects//locations//conversations//messages/`. + core.String? latestMessage; + + GoogleCloudDialogflowV2SuggestConversationSummaryRequest({ + this.contextSize, + this.latestMessage, + }); + + GoogleCloudDialogflowV2SuggestConversationSummaryRequest.fromJson( + core.Map json_) + : this( + contextSize: json_.containsKey('contextSize') + ? json_['contextSize'] as core.int + : null, + latestMessage: json_.containsKey('latestMessage') + ? json_['latestMessage'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (contextSize != null) 'contextSize': contextSize!, + if (latestMessage != null) 'latestMessage': latestMessage!, + }; +} + +/// The response message for Conversations.SuggestConversationSummary. +class GoogleCloudDialogflowV2SuggestConversationSummaryResponse { + /// Number of messages prior to and including last_conversation_message used + /// to compile the suggestion. + /// + /// It may be smaller than the SuggestSummaryRequest.context_size field in the + /// request if there weren't that many messages in the conversation. + core.int? contextSize; + + /// The name of the latest conversation message used as context for compiling + /// suggestion. + /// + /// Format: `projects//locations//conversations//messages/`. + core.String? latestMessage; + + /// Generated summary. + GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary? summary; + + GoogleCloudDialogflowV2SuggestConversationSummaryResponse({ + this.contextSize, + this.latestMessage, + this.summary, + }); + + GoogleCloudDialogflowV2SuggestConversationSummaryResponse.fromJson( + core.Map json_) + : this( + contextSize: json_.containsKey('contextSize') + ? json_['contextSize'] as core.int + : null, + latestMessage: json_.containsKey('latestMessage') + ? json_['latestMessage'] as core.String + : null, + summary: json_.containsKey('summary') + ? GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary + .fromJson( + json_['summary'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (contextSize != null) 'contextSize': contextSize!, + if (latestMessage != null) 'latestMessage': latestMessage!, + if (summary != null) 'summary': summary!, + }; +} + +/// Generated summary for a conversation. +class GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary { + /// The name of the answer record. + /// + /// Format: "projects//answerRecords/" + core.String? answerRecord; + + /// The summary content that is concatenated into one string. + core.String? text; + + /// The summary content that is divided into sections. + /// + /// The key is the section's name and the value is the section's content. + /// There is no specific format for the key or value. + core.Map<core.String, core.String>? textSections; + + GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary({ + this.answerRecord, + this.text, + this.textSections, + }); + + GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary.fromJson( + core.Map json_) + : this( + answerRecord: json_.containsKey('answerRecord') + ? json_['answerRecord'] as core.String + : null, + text: json_.containsKey('text') ? json_['text'] as core.String : null, + textSections: json_.containsKey('textSections') + ? (json_['textSections'] as core.Map<core.String, core.dynamic>) + .map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (answerRecord != null) 'answerRecord': answerRecord!, + if (text != null) 'text': text!, + if (textSections != null) 'textSections': textSections!, + }; +} + /// The request message for Participants.SuggestFaqAnswers. class GoogleCloudDialogflowV2SuggestFaqAnswersRequest { /// Parameters for a human assist query.
diff --git a/generated/googleapis/lib/dialogflow/v3.dart b/generated/googleapis/lib/dialogflow/v3.dart index 90ebb8c..1a496ec 100644 --- a/generated/googleapis/lib/dialogflow/v3.dart +++ b/generated/googleapis/lib/dialogflow/v3.dart
@@ -10519,6 +10519,14 @@ /// If not provided, sentiment analysis is not performed. core.bool? analyzeQueryTextSentiment; + /// The channel which this query is for. + /// + /// If specified, only the ResponseMessage associated with the channel will be + /// returned. If no ResponseMessage is associated with the channel, it falls + /// back to the ResponseMessage with unspecified channel. If unspecified, the + /// ResponseMessage with unspecified channel will be returned. + core.String? channel; + /// The unique identifier of the page to override the current page in the /// session. /// @@ -10601,6 +10609,7 @@ GoogleCloudDialogflowCxV3QueryParameters({ this.analyzeQueryTextSentiment, + this.channel, this.currentPage, this.disableWebhook, this.flowVersions, @@ -10618,6 +10627,9 @@ json_.containsKey('analyzeQueryTextSentiment') ? json_['analyzeQueryTextSentiment'] as core.bool : null, + channel: json_.containsKey('channel') + ? json_['channel'] as core.String + : null, currentPage: json_.containsKey('currentPage') ? json_['currentPage'] as core.String : null, @@ -10663,6 +10675,7 @@ core.Map<core.String, core.dynamic> toJson() => { if (analyzeQueryTextSentiment != null) 'analyzeQueryTextSentiment': analyzeQueryTextSentiment!, + if (channel != null) 'channel': channel!, if (currentPage != null) 'currentPage': currentPage!, if (disableWebhook != null) 'disableWebhook': disableWebhook!, if (flowVersions != null) 'flowVersions': flowVersions!, @@ -10940,6 +10953,12 @@ /// approach allows for more sophisticated user experience scenarios, where the /// text displayed to the user may differ from what is heard. class GoogleCloudDialogflowCxV3ResponseMessage { + /// The channel which the response is associated with. + /// + /// Clients can specify the channel via QueryParameters.channel, and only + /// associated channel response will be returned. + core.String? channel; + /// Indicates that the conversation succeeded. GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess? conversationSuccess; @@ -10992,6 +11011,7 @@ GoogleCloudDialogflowCxV3ResponseMessageText? text; GoogleCloudDialogflowCxV3ResponseMessage({ + this.channel, this.conversationSuccess, this.endInteraction, this.liveAgentHandoff, @@ -11005,6 +11025,9 @@ GoogleCloudDialogflowCxV3ResponseMessage.fromJson(core.Map json_) : this( + channel: json_.containsKey('channel') + ? json_['channel'] as core.String + : null, conversationSuccess: json_.containsKey('conversationSuccess') ? GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess .fromJson(json_['conversationSuccess'] @@ -11048,6 +11071,7 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (channel != null) 'channel': channel!, if (conversationSuccess != null) 'conversationSuccess': conversationSuccess!, if (endInteraction != null) 'endInteraction': endInteraction!,
diff --git a/generated/googleapis/lib/displayvideo/v1.dart b/generated/googleapis/lib/displayvideo/v1.dart index 03eab38..e4450e5 100644 --- a/generated/googleapis/lib/displayvideo/v1.dart +++ b/generated/googleapis/lib/displayvideo/v1.dart
@@ -16910,6 +16910,10 @@ /// - "EXCHANGE_TAPJOY" : Tapjoy. /// - "EXCHANGE_VISTAR" : Vistar. /// - "EXCHANGE_DAX" : DAX. + /// - "EXCHANGE_JCD" : JCD. + /// - "EXCHANGE_PLACE_EXCHANGE" : Place Exchange. + /// - "EXCHANGE_APPLOVIN" : AppLovin. + /// - "EXCHANGE_CONNATIX" : Connatix. core.String? exchange; /// The unique identifier of the guaranteed order. @@ -17623,6 +17627,10 @@ /// - "EXCHANGE_TAPJOY" : Tapjoy. /// - "EXCHANGE_VISTAR" : Vistar. /// - "EXCHANGE_DAX" : DAX. + /// - "EXCHANGE_JCD" : JCD. + /// - "EXCHANGE_PLACE_EXCHANGE" : Place Exchange. + /// - "EXCHANGE_APPLOVIN" : AppLovin. + /// - "EXCHANGE_CONNATIX" : Connatix. core.String? exchange; /// The ID of the guaranteed order that this inventory source belongs to.
diff --git a/generated/googleapis/lib/displayvideo/v2.dart b/generated/googleapis/lib/displayvideo/v2.dart index 1c8ad14..ceb6727 100644 --- a/generated/googleapis/lib/displayvideo/v2.dart +++ b/generated/googleapis/lib/displayvideo/v2.dart
@@ -11544,6 +11544,9 @@ /// Billing related settings of an advertiser. class AdvertiserBillingConfig { /// The ID of a billing profile assigned to the advertiser. + /// + /// This field will default to the default billing profile ID of the + /// advertiser's parent partner if a value is not provided. core.String? billingProfileId; AdvertiserBillingConfig({ @@ -11931,16 +11934,12 @@ /// Output only. core.String? assignedTargetingOptionId; - /// An alias for the assigned targeting option id field. + /// An alias for the assigned_targeting_option_id. /// - /// This field is only supported for targeting types with enum targeting - /// enabled. This value can be used in place of the assignedTargetingOptionId - /// required for GET and DELETE targeting methods. An alias for the - /// assignedTargetingOptionId. This value can be used in place of - /// `assignedTargetingOptionId` when retrieving or deleting existing - /// targeting. This field will only be supported for all assigned targeting - /// options of the following targeting types: * `TARGETING_TYPE_AGE_RANGE` * - /// `TARGETING_TYPE_DEVICE_TYPE` * + /// This value can be used in place of `assignedTargetingOptionId` when + /// retrieving or deleting existing targeting. This field will only be + /// supported for all assigned targeting options of the following targeting + /// types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_DEVICE_TYPE` * /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * /// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * /// `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * @@ -16802,6 +16801,10 @@ /// - "EXCHANGE_TAPJOY" : Tapjoy. /// - "EXCHANGE_VISTAR" : Vistar. /// - "EXCHANGE_DAX" : DAX. + /// - "EXCHANGE_JCD" : JCD. + /// - "EXCHANGE_PLACE_EXCHANGE" : Place Exchange. + /// - "EXCHANGE_APPLOVIN" : AppLovin. + /// - "EXCHANGE_CONNATIX" : Connatix. core.String? exchange; ExchangeAssignedTargetingOptionDetails({ @@ -17691,6 +17694,10 @@ /// - "EXCHANGE_TAPJOY" : Tapjoy. /// - "EXCHANGE_VISTAR" : Vistar. /// - "EXCHANGE_DAX" : DAX. + /// - "EXCHANGE_JCD" : JCD. + /// - "EXCHANGE_PLACE_EXCHANGE" : Place Exchange. + /// - "EXCHANGE_APPLOVIN" : AppLovin. + /// - "EXCHANGE_CONNATIX" : Connatix. core.String? exchange; /// The unique identifier of the guaranteed order. @@ -18397,6 +18404,10 @@ /// - "EXCHANGE_TAPJOY" : Tapjoy. /// - "EXCHANGE_VISTAR" : Vistar. /// - "EXCHANGE_DAX" : DAX. + /// - "EXCHANGE_JCD" : JCD. + /// - "EXCHANGE_PLACE_EXCHANGE" : Place Exchange. + /// - "EXCHANGE_APPLOVIN" : AppLovin. + /// - "EXCHANGE_CONNATIX" : Connatix. core.String? exchange; /// The ID of the guaranteed order that this inventory source belongs to. @@ -22708,6 +22719,101 @@ typedef UserRewardedContentTargetingOptionDetails = $UserRewardedContentTargetingOptionDetails; +/// Settings related to VideoAdSequence. +class VideoAdSequenceSettings { + /// The minimum time interval before the same user sees this sequence again. + /// Possible string values are: + /// - "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_UNSPECIFIED" : Unspecified or + /// unknown. + /// - "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_WEEK" : 7 days. + /// - "VIDEO_AD_SEQUENCE_MINIMUM_DURATION_MONTH" : 30 days. + core.String? minimumDuration; + + /// The steps of which the sequence consists. + core.List<VideoAdSequenceStep>? steps; + + VideoAdSequenceSettings({ + this.minimumDuration, + this.steps, + }); + + VideoAdSequenceSettings.fromJson(core.Map json_) + : this( + minimumDuration: json_.containsKey('minimumDuration') + ? json_['minimumDuration'] as core.String + : null, + steps: json_.containsKey('steps') + ? (json_['steps'] as core.List) + .map((value) => VideoAdSequenceStep.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (minimumDuration != null) 'minimumDuration': minimumDuration!, + if (steps != null) 'steps': steps!, + }; +} + +/// The detail of a single step in a VideoAdSequence. +class VideoAdSequenceStep { + /// The ID of the corresponding ad group of the step. + core.String? adGroupId; + + /// The interaction on the previous step that will lead the viewer to this + /// step. + /// + /// The first step does not have interaction_type. + /// Possible string values are: + /// - "INTERACTION_TYPE_UNSPECIFIED" : Unspecified or unknown + /// - "INTERACTION_TYPE_PAID_VIEW" : A paid view. + /// - "INTERACTION_TYPE_SKIP" : Skipped by the viewer. + /// - "INTERACTION_TYPE_IMPRESSION" : A (viewed) ad impression. + /// - "INTERACTION_TYPE_ENGAGED_IMPRESSION" : An ad impression that was not + /// immediately skipped by the viewer, but didn't reach the billable event + /// either. + core.String? interactionType; + + /// The ID of the previous step. + /// + /// The first step does not have previous step. + core.String? previousStepId; + + /// The ID of the step. + core.String? stepId; + + VideoAdSequenceStep({ + this.adGroupId, + this.interactionType, + this.previousStepId, + this.stepId, + }); + + VideoAdSequenceStep.fromJson(core.Map json_) + : this( + adGroupId: json_.containsKey('adGroupId') + ? json_['adGroupId'] as core.String + : null, + interactionType: json_.containsKey('interactionType') + ? json_['interactionType'] as core.String + : null, + previousStepId: json_.containsKey('previousStepId') + ? json_['previousStepId'] as core.String + : null, + stepId: json_.containsKey('stepId') + ? json_['stepId'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (adGroupId != null) 'adGroupId': adGroupId!, + if (interactionType != null) 'interactionType': interactionType!, + if (previousStepId != null) 'previousStepId': previousStepId!, + if (stepId != null) 'stepId': stepId!, + }; +} + /// Video player size targeting option details. /// /// This will be populated in the video_player_size_details field when @@ -22936,6 +23042,9 @@ YoutubeAndPartnersThirdPartyMeasurementSettings? thirdPartyMeasurementSettings; + /// The settings related to VideoAdSequence. + VideoAdSequenceSettings? videoAdSequenceSettings; + /// The view frequency cap settings of the line item. /// /// The max_views field in this settings object must be used if assigning a @@ -22947,6 +23056,7 @@ this.contentCategory, this.inventorySourceSettings, this.thirdPartyMeasurementSettings, + this.videoAdSequenceSettings, this.viewFrequencyCap, }); @@ -22971,6 +23081,11 @@ json_['thirdPartyMeasurementSettings'] as core.Map<core.String, core.dynamic>) : null, + videoAdSequenceSettings: json_.containsKey('videoAdSequenceSettings') + ? VideoAdSequenceSettings.fromJson( + json_['videoAdSequenceSettings'] + as core.Map<core.String, core.dynamic>) + : null, viewFrequencyCap: json_.containsKey('viewFrequencyCap') ? FrequencyCap.fromJson(json_['viewFrequencyCap'] as core.Map<core.String, core.dynamic>) @@ -22984,6 +23099,8 @@ 'inventorySourceSettings': inventorySourceSettings!, if (thirdPartyMeasurementSettings != null) 'thirdPartyMeasurementSettings': thirdPartyMeasurementSettings!, + if (videoAdSequenceSettings != null) + 'videoAdSequenceSettings': videoAdSequenceSettings!, if (viewFrequencyCap != null) 'viewFrequencyCap': viewFrequencyCap!, }; }
diff --git a/generated/googleapis/lib/documentai/v1.dart b/generated/googleapis/lib/documentai/v1.dart index 0b8f8cb..42d69b2 100644 --- a/generated/googleapis/lib/documentai/v1.dart +++ b/generated/googleapis/lib/documentai/v1.dart
@@ -425,6 +425,43 @@ ProjectsLocationsProcessorTypesResource(commons.ApiRequester client) : _requester = client; + /// Gets a processor type detail. + /// + /// Request parameters: + /// + /// [name] - Required. The processor type resource name. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/processorTypes/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudDocumentaiV1ProcessorType]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleCloudDocumentaiV1ProcessorType> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleCloudDocumentaiV1ProcessorType.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + /// Lists the processor types that exist. /// /// Request parameters: @@ -1473,8 +1510,6 @@ /// may not overlap with each other. core.List<GoogleCloudDocumentaiV1DocumentTextChange>? textChanges; - /// Placeholder. - /// /// Styles for the Document.text. core.List<GoogleCloudDocumentaiV1DocumentStyle>? textStyles; @@ -1764,11 +1799,11 @@ /// /// For some entity types, one of respective `structured_value` fields may /// also be populated. Also not all the types of `structured_value` will be - /// normalized. For example, some processors may not generate float or int - /// normalized text by default. Below are sample formats mapped to structured - /// values. - Money/Currency type (`money_value`) is in the ISO 4217 text - /// format. - Date type (`date_value`) is in the ISO 8601 text format. - - /// Datetime type (`datetime_value`) is in the ISO 8601 text format. + /// normalized. For example, some processors may not generate `float` or + /// `integer` normalized text by default. Below are sample formats mapped to + /// structured values. - Money/Currency type (`money_value`) is in the ISO + /// 4217 text format. - Date type (`date_value`) is in the ISO 8601 text + /// format. - Datetime type (`datetime_value`) is in the ISO 8601 text format. /// /// Optional. core.String? text; @@ -1866,9 +1901,14 @@ /// The Cloud Storage uri (a directory) of the output. core.String? gcsUri; + /// Specifies the sharding config for the output document. + GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig? + shardingConfig; + GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig({ this.fieldMask, this.gcsUri, + this.shardingConfig, }); GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig.fromJson( @@ -1880,11 +1920,47 @@ gcsUri: json_.containsKey('gcsUri') ? json_['gcsUri'] as core.String : null, + shardingConfig: json_.containsKey('shardingConfig') + ? GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig + .fromJson(json_['shardingConfig'] + as core.Map<core.String, core.dynamic>) + : null, ); core.Map<core.String, core.dynamic> toJson() => { if (fieldMask != null) 'fieldMask': fieldMask!, if (gcsUri != null) 'gcsUri': gcsUri!, + if (shardingConfig != null) 'shardingConfig': shardingConfig!, + }; +} + +/// The sharding config for the output document. +class GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig { + /// The number of overlapping pages between consecutive shards. + core.int? pagesOverlap; + + /// The number of pages per shard. + core.int? pagesPerShard; + + GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig({ + this.pagesOverlap, + this.pagesPerShard, + }); + + GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig.fromJson( + core.Map json_) + : this( + pagesOverlap: json_.containsKey('pagesOverlap') + ? json_['pagesOverlap'] as core.int + : null, + pagesPerShard: json_.containsKey('pagesPerShard') + ? json_['pagesPerShard'] as core.int + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (pagesOverlap != null) 'pagesOverlap': pagesOverlap!, + if (pagesPerShard != null) 'pagesPerShard': pagesPerShard!, }; } @@ -2168,10 +2244,10 @@ /// - "FORM_FIELD" : References a Page.form_fields element. core.String? layoutType; - /// Index into the Document.pages element, for example using Document.pages to - /// locate the related page element. + /// Index into the Document.pages element, for example using `Document.pages` + /// to locate the related page element. /// - /// This field is skipped when its value is the default 0. See + /// This field is skipped when its value is the default `0`. See /// https://developers.google.com/protocol-buffers/docs/proto3#json. /// /// Required. @@ -2332,8 +2408,8 @@ /// If the value is non-textual, this field represents the type. /// - /// Current valid values are: - blank (this indicates the field_value is - /// normal text) - "unfilled_checkbox" - "filled_checkbox" + /// Current valid values are: - blank (this indicates the `field_value` is + /// normal text) - `unfilled_checkbox` - `filled_checkbox` core.String? valueType; GoogleCloudDocumentaiV1DocumentPageFormField({ @@ -3115,10 +3191,10 @@ /// /// It must be unique within the schema file and cannot be a 'Common Type'. /// Besides that we use the following naming conventions: - *use - /// `snake_casing`* - name matching is case-insensitive - Maximum 64 - /// characters. - Must start with a letter. - Allowed characters: ASCII - /// letters `[a-z0-9_-]`. (For backward compatibility internal infrastructure - /// and tooling can handle any ascii character) - The `/` is sometimes used to + /// `snake_casing`* - name matching is case-sensitive - Maximum 64 characters. + /// - Must start with a letter. - Allowed characters: ASCII letters + /// `[a-z0-9_-]`. (For backward compatibility internal infrastructure and + /// tooling can handle any ascii character) - The `/` is sometimes used to /// denote a property of a type. For example `line_item/amount`. This /// convention is deprecated, but will still be honored for backward /// compatibility. @@ -4007,6 +4083,9 @@ /// Format: `projects/{project}/processorTypes/{processor_type}` core.String? name; + /// A set of Cloud Storage URIs of sample documents for this processor. + core.List<core.String>? sampleDocumentUris; + /// The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc. core.String? type; @@ -4016,6 +4095,7 @@ this.category, this.launchStage, this.name, + this.sampleDocumentUris, this.type, }); @@ -4038,6 +4118,11 @@ ? json_['launchStage'] as core.String : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + sampleDocumentUris: json_.containsKey('sampleDocumentUris') + ? (json_['sampleDocumentUris'] as core.List) + .map((value) => value as core.String) + .toList() + : null, type: json_.containsKey('type') ? json_['type'] as core.String : null, ); @@ -4048,6 +4133,8 @@ if (category != null) 'category': category!, if (launchStage != null) 'launchStage': launchStage!, if (name != null) 'name': name!, + if (sampleDocumentUris != null) + 'sampleDocumentUris': sampleDocumentUris!, if (type != null) 'type': type!, }; }
diff --git a/generated/googleapis/lib/drive/v3.dart b/generated/googleapis/lib/drive/v3.dart index 7d05433..b901699 100644 --- a/generated/googleapis/lib/drive/v3.dart +++ b/generated/googleapis/lib/drive/v3.dart
@@ -245,8 +245,8 @@ /// Application Data folder or shared files which have not been added to My /// Drive. /// - /// [spaces] - A comma-separated list of spaces to query within the user - /// corpus. Supported values are 'drive', 'appDataFolder' and 'photos'. + /// [spaces] - A comma-separated list of spaces to query within the corpora. + /// Supported values are 'drive' and 'appDataFolder'. /// /// [supportsAllDrives] - Whether the requesting application supports both My /// Drives and shared drives. @@ -361,8 +361,8 @@ /// Application Data folder or shared files which have not been added to My /// Drive. /// - /// [spaces] - A comma-separated list of spaces to query within the user - /// corpus. Supported values are 'drive', 'appDataFolder' and 'photos'. + /// [spaces] - A comma-separated list of spaces to query within the corpora. + /// Supported values are 'drive' and 'appDataFolder'. /// /// [supportsAllDrives] - Whether the requesting application supports both My /// Drives and shared drives. @@ -482,7 +482,7 @@ CommentsResource(commons.ApiRequester client) : _requester = client; - /// Creates a new comment on a file. + /// Creates a comment on a file. /// /// [request] - The metadata request object. /// @@ -711,7 +711,7 @@ DrivesResource(commons.ApiRequester client) : _requester = client; - /// Creates a new shared drive. + /// Creates a shared drive. /// /// [request] - The metadata request object. /// @@ -1107,7 +1107,7 @@ return File.fromJson(response_ as core.Map<core.String, core.dynamic>); } - /// Creates a new file. + /// Creates a file. /// /// [request] - The metadata request object. /// @@ -1535,7 +1535,7 @@ /// [q] - A query for filtering the file results. See the "Search for Files" /// guide for supported syntax. /// - /// [spaces] - A comma-separated list of spaces to query within the corpus. + /// [spaces] - A comma-separated list of spaces to query within the corpora. /// Supported values are 'drive' and 'appDataFolder'. /// /// [supportsAllDrives] - Whether the requesting application supports both My @@ -2275,7 +2275,7 @@ RepliesResource(commons.ApiRequester client) : _requester = client; - /// Creates a new reply to a comment. + /// Creates a reply to a comment. /// /// [request] - The metadata request object. ///
diff --git a/generated/googleapis/lib/driveactivity/v2.dart b/generated/googleapis/lib/driveactivity/v2.dart index 63d8e04..aea47fa 100644 --- a/generated/googleapis/lib/driveactivity/v2.dart +++ b/generated/googleapis/lib/driveactivity/v2.dart
@@ -544,10 +544,10 @@ /// How the individual activities are consolidated. /// -/// A set of activities may be consolidated into one combined activity if they -/// are related in some way, such as one actor performing the same action on -/// multiple targets, or multiple actors performing the same action on a single -/// target. The strategy defines the rules for which activities are related. +/// If a set of activities is related they can be consolidated into one combined +/// activity, such as one actor performing the same action on multiple targets, +/// or multiple actors performing the same action on a single target. The +/// strategy defines the rules for which activities are related. class ConsolidationStrategy { /// The individual activities are consolidated using the legacy strategy. Legacy? legacy; @@ -1407,7 +1407,7 @@ }; } -/// A strategy which consolidates activities using the grouping rules from the +/// A strategy that consolidates activities using the grouping rules from the /// legacy V1 Activity API. /// /// Similar actions occurring within a window of time can be grouped across @@ -1454,7 +1454,7 @@ /// An object was created from scratch. typedef New = $Empty; -/// A strategy which does no consolidation of individual activities. +/// A strategy that does no consolidation of individual activities. typedef NoConsolidation = $Empty; /// Information about the owner of a Drive item. @@ -1656,14 +1656,15 @@ /// The request message for querying Drive activity. class QueryDriveActivityRequest { - /// Return activities for this Drive folder and all children and descendants. + /// Return activities for this Drive folder, plus all children and + /// descendants. /// /// The format is `items/ITEM_ID`. core.String? ancestorName; /// Details on how to consolidate related actions that make up the activity. /// - /// If not set, then related actions are not consolidated. + /// If not set, then related actions aren't consolidated. ConsolidationStrategy? consolidationStrategy; /// The filtering for items returned from this query request. @@ -1675,9 +1676,11 @@ /// format. Examples: - `time > 1452409200000 AND time <= 1492812924310` - /// `time >= "2016-01-10T01:02:03-05:00"` - `detail.action_detail_case`: Uses /// the "has" operator (:) and either a singular value or a list of allowed - /// action types enclosed in parentheses. Examples: - - /// `detail.action_detail_case: RENAME` - `detail.action_detail_case:(CREATE - /// EDIT)` - `-detail.action_detail_case:MOVE` + /// action types enclosed in parentheses, separated by a space. To exclude a + /// result from the response, prepend a hyphen (`-`) to the beginning of the + /// filter string. Examples: - `detail.action_detail_case:RENAME` - + /// `detail.action_detail_case:(CREATE RESTORE)` - + /// `-detail.action_detail_case:MOVE` core.String? filter; /// Return activities for this Drive item. @@ -1685,18 +1688,18 @@ /// The format is `items/ITEM_ID`. core.String? itemName; - /// The miminum number of activities desired in the response; the server will - /// attempt to return at least this quanitity. + /// The minimum number of activities desired in the response; the server + /// attempts to return at least this quantity. /// /// The server may also return fewer activities if it has a partial response /// ready before the request times out. If not set, a default value is used. core.int? pageSize; - /// The token identifying which page of results to return. + /// The token identifies which page of results to return. /// /// Set this to the next_page_token value returned from a previous query to /// obtain the following page of results. If not set, the first page of - /// results will be returned. + /// results is returned. core.String? pageToken; QueryDriveActivityRequest({ @@ -2025,6 +2028,9 @@ } /// Information about the target of activity. +/// +/// For more information on how activity history is shared with users, see +/// [Activity history visibility](https://developers.google.com/drive/activity/v2#activityhistory). class Target { /// The target is a shared drive. Drive? drive;
diff --git a/generated/googleapis/lib/eventarc/v1.dart b/generated/googleapis/lib/eventarc/v1.dart index f353955..3f145bf 100644 --- a/generated/googleapis/lib/eventarc/v1.dart +++ b/generated/googleapis/lib/eventarc/v1.dart
@@ -2125,7 +2125,10 @@ /// The Cloud Function resource name. /// /// Only Cloud Functions V2 is supported. Format: - /// `projects/{project}/locations/{location}/functions/{function}` + /// `projects/{project}/locations/{location}/functions/{function}` This is a + /// read-only field. Creating Cloud Functions V2 triggers is only supported + /// via the Cloud Functions product. An error will be returned if the user + /// sets this value. core.String? cloudFunction; /// Cloud Run fully-managed resource that receives the events.
diff --git a/generated/googleapis/lib/firestore/v1.dart b/generated/googleapis/lib/firestore/v1.dart index b57f0a0..5879641 100644 --- a/generated/googleapis/lib/firestore/v1.dart +++ b/generated/googleapis/lib/firestore/v1.dart
@@ -141,6 +141,59 @@ response_ as core.Map<core.String, core.dynamic>); } + /// Deletes a database. + /// + /// Request parameters: + /// + /// [name] - Required. A name of the form + /// `projects/{project_id}/databases/{database_id}` + /// Value must have pattern `^projects/\[^/\]+/databases/\[^/\]+$`. + /// + /// [allowMissing] - If set to true and the Database is not found, the request + /// will succeed but no action will be taken. + /// + /// [etag] - The current etag of the Database. If an etag is provided and does + /// not match the current etag of the database, deletion will be blocked and a + /// FAILED_PRECONDITION error will be returned. + /// + /// [validateOnly] - If set, validate the request and preview the response, + /// but do not actually delete the database. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleLongrunningOperation> delete( + core.String name, { + core.bool? allowMissing, + core.String? etag, + core.bool? validateOnly, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (allowMissing != null) 'allowMissing': ['${allowMissing}'], + if (etag != null) 'etag': [etag], + if (validateOnly != null) 'validateOnly': ['${validateOnly}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleLongrunningOperation.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + /// Exports a copy of all or a subset of documents from Google Cloud Firestore /// to another storage system, such as Google Cloud Storage. /// @@ -1096,30 +1149,37 @@ /// Value must have pattern /// `^projects/\[^/\]+/databases/\[^/\]+/documents/\[^/\]+/.*$`. /// - /// [collectionId] - Required. The collection ID, relative to `parent`, to - /// list. For example: `chatrooms` or `messages`. + /// [collectionId] - Optional. The collection ID, relative to `parent`, to + /// list. For example: `chatrooms` or `messages`. This is optional, and when + /// not provided, Firestore will list documents from all collections under the + /// provided `parent`. /// /// [mask_fieldPaths] - The list of field paths in the mask. See /// Document.fields for a field path syntax reference. /// - /// [orderBy] - The order to sort results by. For example: `priority desc, - /// name`. + /// [orderBy] - Optional. The optional ordering of the documents to return. + /// For example: `priority desc, __name__ desc`. This mirrors the `ORDER BY` + /// used in Firestore queries but in a string representation. When absent, + /// documents are ordered based on `__name__ ASC`. /// - /// [pageSize] - The maximum number of documents to return. + /// [pageSize] - Optional. The maximum number of documents to return in a + /// single response. Firestore may return fewer than this value. /// - /// [pageToken] - The `next_page_token` value returned from a previous List - /// request, if any. + /// [pageToken] - Optional. A page token, received from a previous + /// `ListDocuments` response. Provide this to retrieve the subsequent page. + /// When paginating, all other parameters (with the exception of `page_size`) + /// must match the values set in the request that generated the page token. /// - /// [readTime] - Reads documents as they were at the given time. This may not - /// be older than 270 seconds. + /// [readTime] - Perform the read at the provided time. This may not be older + /// than 270 seconds. /// - /// [showMissing] - If the list should show missing documents. A missing - /// document is a document that does not exist but has sub-documents. These - /// documents will be returned with a key but will not have fields, - /// Document.create_time, or Document.update_time set. Requests with - /// `show_missing` may not specify `where` or `order_by`. + /// [showMissing] - If the list should show missing documents. A document is + /// missing if it does not exist, but there are sub-documents nested + /// underneath it. When true, such missing documents will be returned with a + /// key but will not have fields, `create_time`, or `update_time` set. + /// Requests with `show_missing` may not specify `where` or `order_by`. /// - /// [transaction] - Reads documents in a transaction. + /// [transaction] - Perform the read as part of an already active transaction. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1224,30 +1284,37 @@ /// `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom` /// Value must have pattern `^projects/\[^/\]+/databases/\[^/\]+/documents$`. /// - /// [collectionId] - Required. The collection ID, relative to `parent`, to - /// list. For example: `chatrooms` or `messages`. + /// [collectionId] - Optional. The collection ID, relative to `parent`, to + /// list. For example: `chatrooms` or `messages`. This is optional, and when + /// not provided, Firestore will list documents from all collections under the + /// provided `parent`. /// /// [mask_fieldPaths] - The list of field paths in the mask. See /// Document.fields for a field path syntax reference. /// - /// [orderBy] - The order to sort results by. For example: `priority desc, - /// name`. + /// [orderBy] - Optional. The optional ordering of the documents to return. + /// For example: `priority desc, __name__ desc`. This mirrors the `ORDER BY` + /// used in Firestore queries but in a string representation. When absent, + /// documents are ordered based on `__name__ ASC`. /// - /// [pageSize] - The maximum number of documents to return. + /// [pageSize] - Optional. The maximum number of documents to return in a + /// single response. Firestore may return fewer than this value. /// - /// [pageToken] - The `next_page_token` value returned from a previous List - /// request, if any. + /// [pageToken] - Optional. A page token, received from a previous + /// `ListDocuments` response. Provide this to retrieve the subsequent page. + /// When paginating, all other parameters (with the exception of `page_size`) + /// must match the values set in the request that generated the page token. /// - /// [readTime] - Reads documents as they were at the given time. This may not - /// be older than 270 seconds. + /// [readTime] - Perform the read at the provided time. This may not be older + /// than 270 seconds. /// - /// [showMissing] - If the list should show missing documents. A missing - /// document is a document that does not exist but has sub-documents. These - /// documents will be returned with a key but will not have fields, - /// Document.create_time, or Document.update_time set. Requests with - /// `show_missing` may not specify `where` or `order_by`. + /// [showMissing] - If the list should show missing documents. A document is + /// missing if it does not exist, but there are sub-documents nested + /// underneath it. When true, such missing documents will be returned with a + /// key but will not have fields, `create_time`, or `update_time` set. + /// Requests with `show_missing` may not specify `where` or `order_by`. /// - /// [transaction] - Reads documents in a transaction. + /// [transaction] - Perform the read as part of an already active transaction. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -3705,7 +3772,9 @@ /// The Documents found. core.List<Document>? documents; - /// The next page token. + /// A token to retrieve the next page of documents. + /// + /// If this field is omitted, there are no subsequent pages. core.String? nextPageToken; ListDocumentsResponse({
diff --git a/generated/googleapis/lib/gkehub/v1.dart b/generated/googleapis/lib/gkehub/v1.dart index e18caed..39786a9 100644 --- a/generated/googleapis/lib/gkehub/v1.dart +++ b/generated/googleapis/lib/gkehub/v1.dart
@@ -1697,7 +1697,8 @@ class ConfigManagementConfigSync { /// Set to true to allow the vertical scaling. /// - /// Defaults to false which disallows vertical scaling. + /// Defaults to false which disallows vertical scaling. This field is + /// deprecated. core.bool? allowVerticalScale; /// Enables the installation of ConfigSync. @@ -4334,6 +4335,9 @@ /// Config Management-specific spec. ConfigManagementMembershipSpec? configmanagement; + /// True if value of `feature_spec` was inherited from a fleet-level default. + core.bool? fleetInherited; + /// Fleet observability membership spec FleetObservabilityMembershipSpec? fleetobservability; @@ -4345,6 +4349,7 @@ MembershipFeatureSpec({ this.configmanagement, + this.fleetInherited, this.fleetobservability, this.identityservice, this.mesh, @@ -4357,6 +4362,9 @@ json_['configmanagement'] as core.Map<core.String, core.dynamic>) : null, + fleetInherited: json_.containsKey('fleetInherited') + ? json_['fleetInherited'] as core.bool + : null, fleetobservability: json_.containsKey('fleetobservability') ? FleetObservabilityMembershipSpec.fromJson( json_['fleetobservability'] @@ -4374,6 +4382,7 @@ core.Map<core.String, core.dynamic> toJson() => { if (configmanagement != null) 'configmanagement': configmanagement!, + if (fleetInherited != null) 'fleetInherited': fleetInherited!, if (fleetobservability != null) 'fleetobservability': fleetobservability!, if (identityservice != null) 'identityservice': identityservice!,
diff --git a/generated/googleapis/lib/gmail/v1.dart b/generated/googleapis/lib/gmail/v1.dart index c0b3dae..6e45a70 100644 --- a/generated/googleapis/lib/gmail/v1.dart +++ b/generated/googleapis/lib/gmail/v1.dart
@@ -28,6 +28,9 @@ /// - [UsersMessagesResource] /// - [UsersMessagesAttachmentsResource] /// - [UsersSettingsResource] +/// - [UsersSettingsCseResource] +/// - [UsersSettingsCseIdentitiesResource] +/// - [UsersSettingsCseKeypairsResource] /// - [UsersSettingsDelegatesResource] /// - [UsersSettingsFiltersResource] /// - [UsersSettingsForwardingAddressesResource] @@ -43,6 +46,8 @@ import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; import 'package:http/http.dart' as http; +// ignore: deprecated_member_use_from_same_package +import '../shared.dart'; import '../src/user_agent.dart'; export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' @@ -1629,6 +1634,7 @@ class UsersSettingsResource { final commons.ApiRequester _requester; + UsersSettingsCseResource get cse => UsersSettingsCseResource(_requester); UsersSettingsDelegatesResource get delegates => UsersSettingsDelegatesResource(_requester); UsersSettingsFiltersResource get filters => @@ -2054,6 +2060,574 @@ } } +class UsersSettingsCseResource { + final commons.ApiRequester _requester; + + UsersSettingsCseIdentitiesResource get identities => + UsersSettingsCseIdentitiesResource(_requester); + UsersSettingsCseKeypairsResource get keypairs => + UsersSettingsCseKeypairsResource(_requester); + + UsersSettingsCseResource(commons.ApiRequester client) : _requester = client; +} + +class UsersSettingsCseIdentitiesResource { + final commons.ApiRequester _requester; + + UsersSettingsCseIdentitiesResource(commons.ApiRequester client) + : _requester = client; + + /// Creates and configures a client-side encryption identity that's authorized + /// to send mail from the user account. + /// + /// Google publishes the S/MIME certificate to a shared domain-wide directory + /// so that people within a Google Workspace organization can encrypt and send + /// mail to the identity. + /// [Beta](https://workspace.google.com/terms/service-terms/index.html). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [userId] - The requester's primary email address. To indicate the + /// authenticated user, you can use the special value `me`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CseIdentity]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<CseIdentity> create( + CseIdentity request, + core.String userId, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'gmail/v1/users/' + + commons.escapeVariable('$userId') + + '/settings/cse/identities'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return CseIdentity.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Deletes a client-side encryption identity. + /// + /// The authenticated user can no longer use the identity to send encrypted + /// messages. You cannot restore the identity after you delete it. Instead, + /// use the CreateCseIdentity method to create another identity with the same + /// configuration. + /// [Beta](https://workspace.google.com/terms/service-terms/index.html). + /// + /// Request parameters: + /// + /// [userId] - The requester's primary email address. To indicate the + /// authenticated user, you can use the special value `me`. + /// + /// [cseEmailAddress] - The primary email address associated with the + /// client-side encryption identity configuration that's removed. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<void> delete( + core.String userId, + core.String cseEmailAddress, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'gmail/v1/users/' + + commons.escapeVariable('$userId') + + '/settings/cse/identities/' + + commons.escapeVariable('$cseEmailAddress'); + + await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + downloadOptions: null, + ); + } + + /// Retrieves a client-side encryption identity configuration. + /// + /// [Beta](https://workspace.google.com/terms/service-terms/index.html). + /// + /// Request parameters: + /// + /// [userId] - The requester's primary email address. To indicate the + /// authenticated user, you can use the special value `me`. + /// + /// [cseEmailAddress] - The primary email address associated with the + /// client-side encryption identity configuration that's retrieved. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CseIdentity]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<CseIdentity> get( + core.String userId, + core.String cseEmailAddress, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'gmail/v1/users/' + + commons.escapeVariable('$userId') + + '/settings/cse/identities/' + + commons.escapeVariable('$cseEmailAddress'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return CseIdentity.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Lists the client-side encrypted identities for an authenticated user. + /// + /// [Beta](https://workspace.google.com/terms/service-terms/index.html). + /// + /// Request parameters: + /// + /// [userId] - The requester's primary email address. To indicate the + /// authenticated user, you can use the special value `me`. + /// + /// [pageSize] - The number of identities to return. If not provided, the page + /// size will default to 20 entries. + /// + /// [pageToken] - Pagination token indicating which page of identities to + /// return. If the token is not supplied, then the API will return the first + /// page of results. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListCseIdentitiesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListCseIdentitiesResponse> list( + core.String userId, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'gmail/v1/users/' + + commons.escapeVariable('$userId') + + '/settings/cse/identities'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListCseIdentitiesResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Associates a different key pair with an existing client-side encryption + /// identity. + /// + /// The updated key pair must validate against Google's + /// [S/MIME certificate profiles](https://support.google.com/a/answer/7300887). + /// [Beta](https://workspace.google.com/terms/service-terms/index.html). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [userId] - The requester's primary email address. To indicate the + /// authenticated user, you can use the special value `me`. + /// + /// [emailAddress] - The email address of the client-side encryption identity + /// to update. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CseIdentity]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<CseIdentity> patch( + CseIdentity request, + core.String userId, + core.String emailAddress, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'gmail/v1/users/' + + commons.escapeVariable('$userId') + + '/settings/cse/identities/' + + commons.escapeVariable('$emailAddress'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return CseIdentity.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + +class UsersSettingsCseKeypairsResource { + final commons.ApiRequester _requester; + + UsersSettingsCseKeypairsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates and uploads a client-side encryption S/MIME public key certificate + /// chain and private key metadata for the authenticated user. + /// + /// [Beta](https://workspace.google.com/terms/service-terms/index.html). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [userId] - The requester's primary email address. To indicate the + /// authenticated user, you can use the special value `me`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CseKeyPair]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<CseKeyPair> create( + CseKeyPair request, + core.String userId, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'gmail/v1/users/' + + commons.escapeVariable('$userId') + + '/settings/cse/keypairs'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return CseKeyPair.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Turns off a client-side encryption key pair. + /// + /// The authenticated user can no longer use the key pair to decrypt incoming + /// CSE message texts or sign outgoing CSE mail. To regain access, use the + /// EnableCseKeyPair to turn on the key pair. After 30 days, you can + /// permanently delete the key pair by using the ObliterateCseKeyPair method. + /// [Beta](https://workspace.google.com/terms/service-terms/index.html). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [userId] - The requester's primary email address. To indicate the + /// authenticated user, you can use the special value `me`. + /// + /// [keyPairId] - The identifier of the key pair to turn off. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CseKeyPair]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<CseKeyPair> disable( + DisableCseKeyPairRequest request, + core.String userId, + core.String keyPairId, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'gmail/v1/users/' + + commons.escapeVariable('$userId') + + '/settings/cse/keypairs/' + + commons.escapeVariable('$keyPairId') + + ':disable'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return CseKeyPair.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Turns on a client-side encryption key pair that was turned off. + /// + /// The key pair becomes active again for any associated client-side + /// encryption identities. + /// [Beta](https://workspace.google.com/terms/service-terms/index.html). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [userId] - The requester's primary email address. To indicate the + /// authenticated user, you can use the special value `me`. + /// + /// [keyPairId] - The identifier of the key pair to turn on. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CseKeyPair]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<CseKeyPair> enable( + EnableCseKeyPairRequest request, + core.String userId, + core.String keyPairId, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'gmail/v1/users/' + + commons.escapeVariable('$userId') + + '/settings/cse/keypairs/' + + commons.escapeVariable('$keyPairId') + + ':enable'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return CseKeyPair.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Retrieves an existing client-side encryption key pair. + /// + /// [Beta](https://workspace.google.com/terms/service-terms/index.html). + /// + /// Request parameters: + /// + /// [userId] - The requester's primary email address. To indicate the + /// authenticated user, you can use the special value `me`. + /// + /// [keyPairId] - The identifier of the key pair to retrieve. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [CseKeyPair]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<CseKeyPair> get( + core.String userId, + core.String keyPairId, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'gmail/v1/users/' + + commons.escapeVariable('$userId') + + '/settings/cse/keypairs/' + + commons.escapeVariable('$keyPairId'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return CseKeyPair.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Lists client-side encryption key pairs for an authenticated user. + /// + /// [Beta](https://workspace.google.com/terms/service-terms/index.html). + /// + /// Request parameters: + /// + /// [userId] - The requester's primary email address. To indicate the + /// authenticated user, you can use the special value `me`. + /// + /// [pageSize] - The number of key pairs to return. If not provided, the page + /// size will default to 20 entries. + /// + /// [pageToken] - Pagination token indicating which page of key pairs to + /// return. If the token is not supplied, then the API will return the first + /// page of results. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListCseKeyPairsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListCseKeyPairsResponse> list( + core.String userId, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'gmail/v1/users/' + + commons.escapeVariable('$userId') + + '/settings/cse/keypairs'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListCseKeyPairsResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Deletes a client-side encryption key pair permanently and immediately. + /// + /// You can only permanently delete key pairs that have been turned off for + /// more than 30 days. To turn off a key pair, use the DisableCseKeyPair + /// method. Gmail can't restore or decrypt any messages that were encrypted by + /// an obliterated key. Authenticated users and Google Workspace + /// administrators lose access to reading the encrypted messages. + /// [Beta](https://workspace.google.com/terms/service-terms/index.html). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [userId] - The requester's primary email address. To indicate the + /// authenticated user, you can use the special value `me`. + /// + /// [keyPairId] - The identifier of the key pair to obliterate. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<void> obliterate( + ObliterateCseKeyPairRequest request, + core.String userId, + core.String keyPairId, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'gmail/v1/users/' + + commons.escapeVariable('$userId') + + '/settings/cse/keypairs/' + + commons.escapeVariable('$keyPairId') + + ':obliterate'; + + await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + downloadOptions: null, + ); + } +} + class UsersSettingsDelegatesResource { final commons.ApiRequester _requester; @@ -3580,6 +4154,186 @@ }; } +/// [Beta](https://workspace.google.com/terms/service-terms/index.html). +/// +/// The client-side encryption (CSE) configuration for the email address of an +/// authenticated user. Gmail uses CSE configurations to save drafts of +/// client-side encrypted email messages, and to sign and send encrypted email +/// messages. +class CseIdentity { + /// The email address for the sending identity. + /// + /// The email address must be the primary email address of the authenticated + /// user. + core.String? emailAddress; + + /// If a key pair is associated, the identifier of the key pair, CseKeyPair. + core.String? primaryKeyPairId; + + CseIdentity({ + this.emailAddress, + this.primaryKeyPairId, + }); + + CseIdentity.fromJson(core.Map json_) + : this( + emailAddress: json_.containsKey('emailAddress') + ? json_['emailAddress'] as core.String + : null, + primaryKeyPairId: json_.containsKey('primaryKeyPairId') + ? json_['primaryKeyPairId'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (emailAddress != null) 'emailAddress': emailAddress!, + if (primaryKeyPairId != null) 'primaryKeyPairId': primaryKeyPairId!, + }; +} + +/// [Beta](https://workspace.google.com/terms/service-terms/index.html). +/// +/// A client-side encryption S/MIME key pair, which is comprised of a public +/// key, its certificate chain, and metadata for its paired private key. Gmail +/// uses the key pair to complete the following tasks: - Sign outgoing +/// client-side encrypted messages. - Save and reopen drafts of client-side +/// encrypted messages. - Save and reopen sent messages. - Decrypt incoming or +/// archived S/MIME messages. +class CseKeyPair { + /// If a key pair is set to `DISABLED`, the time that the key pair's state + /// changed from `ENABLED` to `DISABLED`. + /// + /// This field is present only when the key pair is in state `DISABLED`. + /// + /// Output only. + core.String? disableTime; + + /// The current state of the key pair. + /// + /// Output only. + /// Possible string values are: + /// - "stateUnspecified" : The current state of the key pair is not set. The + /// key pair is neither turned on nor turned off. + /// - "enabled" : The key pair is turned on. For any email messages that this + /// key pair encrypts, Gmail decrypts the messages and signs any outgoing mail + /// with the private key. To turn on a key pair, use the EnableCseKeyPair + /// method. + /// - "disabled" : The key pair is turned off. Authenticated users cannot + /// decrypt email messages nor sign outgoing messages. If a key pair is turned + /// off for more than 30 days, you can permanently delete it. To turn off a + /// key pair, use the DisableCseKeyPair method. + core.String? enablementState; + + /// The immutable ID for the client-side encryption S/MIME key pair. + /// + /// Output only. + core.String? keyPairId; + + /// The public key and its certificate chain, in + /// [PEM](https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail) format. + /// + /// Output only. + core.String? pem; + + /// Input only. + /// + /// The public key and its certificate chain. The chain must be in + /// \[PKCS#7\](https://en.wikipedia.org/wiki/PKCS_7) format and use PEM + /// encoding and ASCII armor. + core.String? pkcs7; + + /// Metadata for instances of this key pair's private key. + core.List<CsePrivateKeyMetadata>? privateKeyMetadata; + + /// The email address identities that are specified on the leaf certificate. + /// + /// Output only. + core.List<core.String>? subjectEmailAddresses; + + CseKeyPair({ + this.disableTime, + this.enablementState, + this.keyPairId, + this.pem, + this.pkcs7, + this.privateKeyMetadata, + this.subjectEmailAddresses, + }); + + CseKeyPair.fromJson(core.Map json_) + : this( + disableTime: json_.containsKey('disableTime') + ? json_['disableTime'] as core.String + : null, + enablementState: json_.containsKey('enablementState') + ? json_['enablementState'] as core.String + : null, + keyPairId: json_.containsKey('keyPairId') + ? json_['keyPairId'] as core.String + : null, + pem: json_.containsKey('pem') ? json_['pem'] as core.String : null, + pkcs7: + json_.containsKey('pkcs7') ? json_['pkcs7'] as core.String : null, + privateKeyMetadata: json_.containsKey('privateKeyMetadata') + ? (json_['privateKeyMetadata'] as core.List) + .map((value) => CsePrivateKeyMetadata.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + subjectEmailAddresses: json_.containsKey('subjectEmailAddresses') + ? (json_['subjectEmailAddresses'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (disableTime != null) 'disableTime': disableTime!, + if (enablementState != null) 'enablementState': enablementState!, + if (keyPairId != null) 'keyPairId': keyPairId!, + if (pem != null) 'pem': pem!, + if (pkcs7 != null) 'pkcs7': pkcs7!, + if (privateKeyMetadata != null) + 'privateKeyMetadata': privateKeyMetadata!, + if (subjectEmailAddresses != null) + 'subjectEmailAddresses': subjectEmailAddresses!, + }; +} + +/// Metadata for a private key instance. +class CsePrivateKeyMetadata { + /// Metadata for a private key instance managed by an external key access + /// control list service. + KaclsKeyMetadata? kaclsKeyMetadata; + + /// The immutable ID for the private key metadata instance. + /// + /// Output only. + core.String? privateKeyMetadataId; + + CsePrivateKeyMetadata({ + this.kaclsKeyMetadata, + this.privateKeyMetadataId, + }); + + CsePrivateKeyMetadata.fromJson(core.Map json_) + : this( + kaclsKeyMetadata: json_.containsKey('kaclsKeyMetadata') + ? KaclsKeyMetadata.fromJson(json_['kaclsKeyMetadata'] + as core.Map<core.String, core.dynamic>) + : null, + privateKeyMetadataId: json_.containsKey('privateKeyMetadataId') + ? json_['privateKeyMetadataId'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (kaclsKeyMetadata != null) 'kaclsKeyMetadata': kaclsKeyMetadata!, + if (privateKeyMetadataId != null) + 'privateKeyMetadataId': privateKeyMetadataId!, + }; +} + /// Settings for a delegate. /// /// Delegates can read, send, and delete messages, as well as view and add @@ -3626,6 +4380,9 @@ }; } +/// Requests to turn off a client-side encryption key pair. +typedef DisableCseKeyPairRequest = $Empty; + /// A draft email in the user's mailbox. class Draft { /// The immutable ID of the draft. @@ -3654,6 +4411,9 @@ }; } +/// Requests to turn on a client-side encryption key pair. +typedef EnableCseKeyPairRequest = $Empty; + /// Resource definition for Gmail filters. /// /// Filters apply to specific messages instead of an entire email thread. @@ -4105,6 +4865,42 @@ }; } +/// Metadata for private keys managed by an external key access control list +/// service. +/// +/// For details about managing key access, see +/// [Google Workspace CSE API Reference](https://developers.google.com/workspace/cse/reference). +class KaclsKeyMetadata { + /// Opaque data generated and used by the key access control list service. + /// + /// Maximum size: 8 KiB. + core.String? kaclsData; + + /// The URI of the key access control list service that manages the private + /// key. + core.String? kaclsUri; + + KaclsKeyMetadata({ + this.kaclsData, + this.kaclsUri, + }); + + KaclsKeyMetadata.fromJson(core.Map json_) + : this( + kaclsData: json_.containsKey('kaclsData') + ? json_['kaclsData'] as core.String + : null, + kaclsUri: json_.containsKey('kaclsUri') + ? json_['kaclsUri'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (kaclsData != null) 'kaclsData': kaclsData!, + if (kaclsUri != null) 'kaclsUri': kaclsUri!, + }; +} + /// Labels are used to categorize messages and threads within the user's /// mailbox. /// @@ -4316,6 +5112,75 @@ }; } +class ListCseIdentitiesResponse { + /// One page of the list of CSE identities configured for the user. + core.List<CseIdentity>? cseIdentities; + + /// Pagination token to be passed to a subsequent ListCseIdentities call in + /// order to retrieve the next page of identities. + /// + /// If this value is not returned or is the empty string, then no further + /// pages remain. + core.String? nextPageToken; + + ListCseIdentitiesResponse({ + this.cseIdentities, + this.nextPageToken, + }); + + ListCseIdentitiesResponse.fromJson(core.Map json_) + : this( + cseIdentities: json_.containsKey('cseIdentities') + ? (json_['cseIdentities'] as core.List) + .map((value) => CseIdentity.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (cseIdentities != null) 'cseIdentities': cseIdentities!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +class ListCseKeyPairsResponse { + /// One page of the list of CSE key pairs installed for the user. + core.List<CseKeyPair>? cseKeyPairs; + + /// Pagination token to be passed to a subsequent ListCseKeyPairs call in + /// order to retrieve the next page of key pairs. + /// + /// If this value is not returned, then no further pages remain. + core.String? nextPageToken; + + ListCseKeyPairsResponse({ + this.cseKeyPairs, + this.nextPageToken, + }); + + ListCseKeyPairsResponse.fromJson(core.Map json_) + : this( + cseKeyPairs: json_.containsKey('cseKeyPairs') + ? (json_['cseKeyPairs'] as core.List) + .map((value) => CseKeyPair.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (cseKeyPairs != null) 'cseKeyPairs': cseKeyPairs!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + /// Response for the ListDelegates method. class ListDelegatesResponse { /// List of the user's delegates (with any verification status). @@ -4972,6 +5837,9 @@ }; } +/// Request to obliterate a CSE key pair. +typedef ObliterateCseKeyPairRequest = $Empty; + /// POP settings for an account. class PopSettings { /// The range of messages which are accessible via POP.
diff --git a/generated/googleapis/lib/healthcare/v1.dart b/generated/googleapis/lib/healthcare/v1.dart index 2ee557e..167a73d 100644 --- a/generated/googleapis/lib/healthcare/v1.dart +++ b/generated/googleapis/lib/healthcare/v1.dart
@@ -5499,19 +5499,20 @@ /// FHIR search parameters for DSTU2 can be found on each resource's /// definition page. Supported search modifiers: `:missing`, `:exact`, /// `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, - /// `:not`, and `:recurse`. Supported search result parameters: `_sort`, - /// `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and - /// `_elements`. The maximum number of search results returned defaults to - /// 100, which can be overridden by the `_count` parameter up to a maximum - /// limit of 1000. If there are additional results, the returned `Bundle` - /// contains a link of `relation` "next", which has a `_page_token` parameter - /// for an opaque pagination token that can be used to retrieve the next page. - /// Resources with a total size larger than 5MB or a field count larger than - /// 50,000 might not be fully searchable as the server might trim its - /// generated search index in those cases. Note: FHIR resources are indexed - /// asynchronously, so there might be a slight delay between the time a - /// resource is created or changes and when the change is reflected in search - /// results. For samples and detailed information, see + /// `:not`, and `recurse` (DSTU2 and STU3) or `:iterate` (R4). Supported + /// search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, + /// `_summary=text`, `_summary=data`, and `_elements`. The maximum number of + /// search results returned defaults to 100, which can be overridden by the + /// `_count` parameter up to a maximum limit of 1000. If there are additional + /// results, the returned `Bundle` contains a link of `relation` "next", which + /// has a `_page_token` parameter for an opaque pagination token that can be + /// used to retrieve the next page. Resources with a total size larger than + /// 5MB or a field count larger than 50,000 might not be fully searchable as + /// the server might trim its generated search index in those cases. Note: + /// FHIR resources are indexed asynchronously, so there might be a slight + /// delay between the time a resource is created or changes and when the + /// change is reflected in search results. For samples and detailed + /// information, see /// [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) /// and /// [Advanced FHIR search features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search). @@ -5589,19 +5590,20 @@ /// FHIR search parameters for DSTU2 can be found on each resource's /// definition page. Supported search modifiers: `:missing`, `:exact`, /// `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, - /// `:not`, and `:recurse`. Supported search result parameters: `_sort`, - /// `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and - /// `_elements`. The maximum number of search results returned defaults to - /// 100, which can be overridden by the `_count` parameter up to a maximum - /// limit of 1000. If there are additional results, the returned `Bundle` - /// contains a link of `relation` "next", which has a `_page_token` parameter - /// for an opaque pagination token that can be used to retrieve the next page. - /// Resources with a total size larger than 5MB or a field count larger than - /// 50,000 might not be fully searchable as the server might trim its - /// generated search index in those cases. Note: FHIR resources are indexed - /// asynchronously, so there might be a slight delay between the time a - /// resource is created or changes and when the change is reflected in search - /// results. For samples and detailed information, see + /// `:not`, and `recurse` (DSTU2 and STU3) or `:iterate` (R4). Supported + /// search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, + /// `_summary=text`, `_summary=data`, and `_elements`. The maximum number of + /// search results returned defaults to 100, which can be overridden by the + /// `_count` parameter up to a maximum limit of 1000. If there are additional + /// results, the returned `Bundle` contains a link of `relation` "next", which + /// has a `_page_token` parameter for an opaque pagination token that can be + /// used to retrieve the next page. Resources with a total size larger than + /// 5MB or a field count larger than 50,000 might not be fully searchable as + /// the server might trim its generated search index in those cases. Note: + /// FHIR resources are indexed asynchronously, so there might be a slight + /// delay between the time a resource is created or changes and when the + /// change is reflected in search results. For samples and detailed + /// information, see /// [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) /// and /// [Advanced FHIR search features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search). @@ -7938,9 +7940,11 @@ class DateShiftConfig { /// An AES 128/192/256 bit key. /// - /// Causes the shift to be computed based on this key and the patient ID. A - /// default key is generated for each de-identification operation and is used - /// when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set + /// The date shift is computed based on this key and the patient ID. If the + /// patient ID is empty for a DICOM resource, the date shift is computed based + /// on this key and the study instance UID. If `crypto_key` is not set, then + /// `kms_wrapped` is used to calculate the date shift. If neither is set, a + /// default key is generated for each de-identify operation. Must not be set /// if `kms_wrapped` is set. core.String? cryptoKey; core.List<core.int> get cryptoKeyAsBytes => convert.base64.decode(cryptoKey!); @@ -7952,7 +7956,9 @@ /// KMS wrapped key. /// - /// Must not be set if `crypto_key` is set. + /// If `kms_wrapped` is not set, then `crypto_key` is used to calculate the + /// date shift. If neither is set, a default key is generated for each + /// de-identify operation. Must not be set if `crypto_key` is set. KmsWrappedCryptoKey? kmsWrapped; DateShiftConfig({ @@ -8487,7 +8493,7 @@ /// linked_entities are candidate ontological concepts that this entity /// mention may refer to. /// - /// They are sorted by decreasing confidence.it + /// They are sorted by decreasing confidence. core.List<LinkedEntity>? linkedEntities; /// mention_id uniquely identifies each entity mention in a single response.
diff --git a/generated/googleapis/lib/homegraph/v1.dart b/generated/googleapis/lib/homegraph/v1.dart index d09074d..2aa6d8d 100644 --- a/generated/googleapis/lib/homegraph/v1.dart +++ b/generated/googleapis/lib/homegraph/v1.dart
@@ -15,7 +15,7 @@ /// HomeGraph API - v1 /// /// For more information, see -/// <https://developers.google.com/actions/smarthome/create-app#request-sync> +/// <https://developers.home.google.com/cloud-to-cloud/get-started> /// /// Create an instance of [HomeGraphServiceApi] to access these resources: /// @@ -62,7 +62,7 @@ /// /// All data related to this user will be deleted. For more details on how /// users link their accounts, see - /// [fulfillment and authentication](https://developers.google.com/assistant/smarthome/concepts/fulfillment-authentication). + /// [fulfillment and authentication](https://developers.home.google.com/cloud-to-cloud/primer/fulfillment). /// The third-party user's identity is passed in via the `agent_user_id` (see /// DeleteAgentUserRequest). This request must be authorized using service /// account credentials from your Actions console project. @@ -156,10 +156,10 @@ /// /// Called by your smart home Action when the state of a third-party device /// changes or you need to send a notification about the device. See - /// [Implement Report State](https://developers.google.com/assistant/smarthome/develop/report-state) + /// [Implement Report State](https://developers.home.google.com/cloud-to-cloud/integration/report-state) /// for more information. This method updates the device state according to /// its declared - /// [traits](https://developers.google.com/assistant/smarthome/concepts/devices-traits). + /// [traits](https://developers.home.google.com/cloud-to-cloud/primer/device-types-and-traits). /// Publishing a new state value outside of these traits will result in an /// `INVALID_ARGUMENT` error response. The third-party user's identity is /// passed in via the `agent_user_id` (see ReportStateAndNotificationRequest). @@ -202,7 +202,7 @@ } /// Requests Google to send an `action.devices.SYNC` - /// [intent](https://developers.google.com/assistant/smarthome/reference/intent/sync) + /// [intent](https://developers.home.google.com/cloud-to-cloud/intents/sync) /// to your smart home Action to update device metadata for the given user. /// /// The third-party user's identity is passed via the `agent_user_id` (see @@ -346,9 +346,9 @@ /// Custom device attributes stored in Home Graph and provided to your smart /// home Action in each - /// [QUERY](https://developers.google.com/assistant/smarthome/reference/intent/query) + /// [QUERY](https://developers.home.google.com/cloud-to-cloud/intents/query) /// and - /// [EXECUTE](https://developers.google.com/assistant/smarthome/reference/intent/execute) + /// [EXECUTE](https://developers.home.google.com/cloud-to-cloud/intents/execute) /// intent. /// /// Data in this object has a few constraints: No sensitive information, @@ -377,7 +377,7 @@ /// Alternate IDs associated with this device. /// /// This is used to identify cloud synced devices enabled for - /// [local fulfillment](https://developers.google.com/assistant/smarthome/concepts/local). + /// [local fulfillment](https://developers.home.google.com/local-home/overview). core.List<AgentOtherDeviceId>? otherDeviceIds; /// Suggested name for the room where this device is installed. @@ -393,13 +393,13 @@ /// Traits supported by the device. /// /// See - /// [device traits](https://developers.google.com/assistant/smarthome/traits). + /// [device traits](https://developers.home.google.com/cloud-to-cloud/traits). core.List<core.String>? traits; /// Hardware type of the device. /// /// See - /// [device types](https://developers.google.com/assistant/smarthome/guides). + /// [device types](https://developers.home.google.com/cloud-to-cloud/guides). core.String? type; /// Indicates whether your smart home Action will report state of this device @@ -671,8 +671,8 @@ /// /// This should follow the same format as the Google smart home /// `action.devices.QUERY` -/// [response](https://developers.google.com/assistant/smarthome/reference/intent/query). -/// # Example ```json { "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", +/// [response](https://developers.home.google.com/cloud-to-cloud/intents/query). +/// Example: ```json { "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", /// "payload": { "devices": { "123": { "on": true, "online": true }, "456": { /// "on": true, "online": true, "brightness": 80, "color": { "name": "cerulean", /// "spectrumRGB": 31655 } } } } } ``` @@ -743,7 +743,7 @@ /// Notifications metadata for devices. /// /// See the **Device NOTIFICATIONS** section of the individual trait - /// [reference guides](https://developers.google.com/assistant/smarthome/traits). + /// [reference guides](https://developers.home.google.com/cloud-to-cloud/traits). /// /// The values for Object must be JSON objects. It can consist of `num`, /// `String`, `bool` and `null` as well as `Map` and `List` values. @@ -752,7 +752,7 @@ /// States of devices to update. /// /// See the **Device STATES** section of the individual trait - /// [reference guides](https://developers.google.com/assistant/smarthome/traits). + /// [reference guides](https://developers.home.google.com/cloud-to-cloud/traits). /// /// The values for Object must be JSON objects. It can consist of `num`, /// `String`, `bool` and `null` as well as `Map` and `List` values. @@ -785,7 +785,7 @@ /// /// It may include states, notifications, or both. States and notifications are /// defined per `device_id` (for example, "123" and "456" in the following -/// example). # Example ```json { "requestId": +/// example). Example: ```json { "requestId": /// "ff36a3cc-ec34-11e6-b1a0-64510650abcf", "agentUserId": "1234", "payload": { /// "devices": { "states": { "123": { "on": true }, "456": { "on": true, /// "brightness": 10 } }, } } } ``` @@ -974,8 +974,8 @@ /// /// This should follow the same format as the Google smart home /// `action.devices.SYNC` -/// [response](https://developers.google.com/assistant/smarthome/reference/intent/sync). -/// # Example ```json { "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", +/// [response](https://developers.home.google.com/cloud-to-cloud/intents/sync). +/// Example: ```json { "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", /// "payload": { "agentUserId": "1836.15267389", "devices": [{ "id": "123", /// "type": "action.devices.types.OUTLET", "traits": [ /// "action.devices.traits.OnOff" ], "name": { "defaultNames": ["My Outlet
diff --git a/generated/googleapis/lib/iam/v1.dart b/generated/googleapis/lib/iam/v1.dart index df8cd22..5e62235 100644 --- a/generated/googleapis/lib/iam/v1.dart +++ b/generated/googleapis/lib/iam/v1.dart
@@ -2086,11 +2086,18 @@ /// /// Request parameters: /// - /// [name] - Required. The resource name of the service account in the - /// following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using - /// `-` as a wildcard for the `PROJECT_ID` will infer the project from the - /// account. The `ACCOUNT` value can be the `email` address or the `unique_id` - /// of the service account. + /// [name] - Required. The resource name of the service account. Use one of + /// the following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you + /// can use the `-` wildcard character instead of the project ID: * + /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the + /// `-` wildcard character, because it can cause response messages to contain + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2139,11 +2146,18 @@ /// /// Request parameters: /// - /// [name] - The resource name of the service account in the following format: - /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard - /// for the `PROJECT_ID` will infer the project from the account. The - /// `ACCOUNT` value can be the `email` address or the `unique_id` of the - /// service account. + /// [name] - The resource name of the service account. Use one of the + /// following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you + /// can use the `-` wildcard character instead of the project ID: * + /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the + /// `-` wildcard character, because it can cause response messages to contain + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2188,11 +2202,18 @@ /// /// Request parameters: /// - /// [name] - The resource name of the service account in the following format: - /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard - /// for the `PROJECT_ID` will infer the project from the account. The - /// `ACCOUNT` value can be the `email` address or the `unique_id` of the - /// service account. + /// [name] - The resource name of the service account. Use one of the + /// following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you + /// can use the `-` wildcard character instead of the project ID: * + /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the + /// `-` wildcard character, because it can cause response messages to contain + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2230,11 +2251,18 @@ /// /// Request parameters: /// - /// [name] - Required. The resource name of the service account in the - /// following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using - /// `-` as a wildcard for the `PROJECT_ID` will infer the project from the - /// account. The `ACCOUNT` value can be the `email` address or the `unique_id` - /// of the service account. + /// [name] - Required. The resource name of the service account. Use one of + /// the following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you + /// can use the `-` wildcard character instead of the project ID: * + /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the + /// `-` wildcard character, because it can cause response messages to contain + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2391,10 +2419,10 @@ /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the /// `-` wildcard character, because it can cause response messages to contain - /// misleading error codes. For example, if you try to get the service account - /// `projects/-/serviceAccounts/fake@example.com`, which does not exist, the - /// response contains an HTTP `403 Forbidden` error instead of a `404 Not - /// Found` error. + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2501,11 +2529,17 @@ /// /// [name] - Required. Deprecated. /// [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). - /// The resource name of the service account in the following format: - /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard - /// for the `PROJECT_ID` will infer the project from the account. The - /// `ACCOUNT` value can be the `email` address or the `unique_id` of the - /// service account. + /// The resource name of the service account. Use one of the following + /// formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you + /// can use the `-` wildcard character instead of the project ID: * + /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the + /// `-` wildcard character, because it can cause response messages to contain + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2556,11 +2590,17 @@ /// /// [name] - Required. Deprecated. /// [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). - /// The resource name of the service account in the following format: - /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard - /// for the `PROJECT_ID` will infer the project from the account. The - /// `ACCOUNT` value can be the `email` address or the `unique_id` of the - /// service account. + /// The resource name of the service account. Use one of the following + /// formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you + /// can use the `-` wildcard character instead of the project ID: * + /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the + /// `-` wildcard character, because it can cause response messages to contain + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2653,9 +2693,18 @@ /// /// Request parameters: /// - /// [name] - The resource name of the service account in the following format: - /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_UNIQUE_ID}`. Using `-` as - /// a wildcard for the `PROJECT_ID` will infer the project from the account. + /// [name] - The resource name of the service account. Use one of the + /// following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you + /// can use the `-` wildcard character instead of the project ID: * + /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the + /// `-` wildcard character, because it can cause response messages to contain + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2707,10 +2756,10 @@ /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the /// `-` wildcard character, because it can cause response messages to contain - /// misleading error codes. For example, if you try to get the service account - /// `projects/-/serviceAccounts/fake@example.com`, which does not exist, the - /// response contains an HTTP `403 Forbidden` error instead of a `404 Not - /// Found` error. + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2758,11 +2807,18 @@ /// /// Request parameters: /// - /// [name] - Required. The resource name of the service account in the - /// following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using - /// `-` as a wildcard for the `PROJECT_ID` will infer the project from the - /// account. The `ACCOUNT` value can be the `email` address or the `unique_id` - /// of the service account. + /// [name] - Required. The resource name of the service account. Use one of + /// the following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you + /// can use the `-` wildcard character instead of the project ID: * + /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the + /// `-` wildcard character, because it can cause response messages to contain + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2804,12 +2860,19 @@ /// /// Request parameters: /// - /// [name] - Required. The resource name of the service account key in the - /// following format: - /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as - /// a wildcard for the `PROJECT_ID` will infer the project from the account. - /// The `ACCOUNT` value can be the `email` address or the `unique_id` of the - /// service account. + /// [name] - Required. The resource name of the service account key. Use one + /// of the following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an + /// alternative, you can use the `-` wildcard character instead of the project + /// ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, + /// avoid using the `-` wildcard character, because it can cause response + /// messages to contain misleading error codes. For example, if you try to + /// access the service account key + /// `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does + /// not exist, the response contains an HTTP `403 Forbidden` error instead of + /// a `404 Not Found` error. /// Value must have pattern /// `^projects/\[^/\]+/serviceAccounts/\[^/\]+/keys/\[^/\]+$`. /// @@ -2850,12 +2913,19 @@ /// /// Request parameters: /// - /// [name] - Required. The resource name of the service account key in the - /// following format: - /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as - /// a wildcard for the `PROJECT_ID` will infer the project from the account. - /// The `ACCOUNT` value can be the `email` address or the `unique_id` of the - /// service account. + /// [name] - Required. The resource name of the service account key. Use one + /// of the following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an + /// alternative, you can use the `-` wildcard character instead of the project + /// ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, + /// avoid using the `-` wildcard character, because it can cause response + /// messages to contain misleading error codes. For example, if you try to + /// access the service account key + /// `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does + /// not exist, the response contains an HTTP `403 Forbidden` error instead of + /// a `404 Not Found` error. /// Value must have pattern /// `^projects/\[^/\]+/serviceAccounts/\[^/\]+/keys/\[^/\]+$`. /// @@ -2896,12 +2966,19 @@ /// /// Request parameters: /// - /// [name] - Required. The resource name of the service account key in the - /// following format: - /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as - /// a wildcard for the `PROJECT_ID` will infer the project from the account. - /// The `ACCOUNT` value can be the `email` address or the `unique_id` of the - /// service account. + /// [name] - Required. The resource name of the service account key. Use one + /// of the following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an + /// alternative, you can use the `-` wildcard character instead of the project + /// ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, + /// avoid using the `-` wildcard character, because it can cause response + /// messages to contain misleading error codes. For example, if you try to + /// access the service account key + /// `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does + /// not exist, the response contains an HTTP `403 Forbidden` error instead of + /// a `404 Not Found` error. /// Value must have pattern /// `^projects/\[^/\]+/serviceAccounts/\[^/\]+/keys/\[^/\]+$`. /// @@ -2940,12 +3017,19 @@ /// /// Request parameters: /// - /// [name] - Required. The resource name of the service account key in the - /// following format: - /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as - /// a wildcard for the `PROJECT_ID` will infer the project from the account. - /// The `ACCOUNT` value can be the `email` address or the `unique_id` of the - /// service account. + /// [name] - Required. The resource name of the service account key. Use one + /// of the following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an + /// alternative, you can use the `-` wildcard character instead of the project + /// ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, + /// avoid using the `-` wildcard character, because it can cause response + /// messages to contain misleading error codes. For example, if you try to + /// access the service account key + /// `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does + /// not exist, the response contains an HTTP `403 Forbidden` error instead of + /// a `404 Not Found` error. /// Value must have pattern /// `^projects/\[^/\]+/serviceAccounts/\[^/\]+/keys/\[^/\]+$`. /// @@ -2991,11 +3075,18 @@ /// /// Request parameters: /// - /// [name] - Required. The resource name of the service account in the - /// following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using - /// `-` as a wildcard for the `PROJECT_ID`, will infer the project from the - /// account. The `ACCOUNT` value can be the `email` address or the `unique_id` - /// of the service account. + /// [name] - Required. The resource name of the service account. Use one of + /// the following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you + /// can use the `-` wildcard character instead of the project ID: * + /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the + /// `-` wildcard character, because it can cause response messages to contain + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [keyTypes] - Filters the types of keys the user wants to include in the @@ -3043,11 +3134,18 @@ /// /// Request parameters: /// - /// [name] - The resource name of the service account in the following format: - /// `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard - /// for the `PROJECT_ID` will infer the project from the account. The - /// `ACCOUNT` value can be the `email` address or the `unique_id` of the - /// service account. + /// [name] - The resource name of the service account key. Use one of the + /// following formats: * + /// `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you + /// can use the `-` wildcard character instead of the project ID: * + /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * + /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the + /// `-` wildcard character, because it can cause response messages to contain + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. /// Value must have pattern `^projects/\[^/\]+/serviceAccounts/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -3627,12 +3725,11 @@ /// The full resource name of the policy this lint request is about. /// - /// The name follows the Google Cloud Platform (GCP) resource format. For - /// example, a GCP project with ID `my-project` will be named + /// The name follows the Google Cloud format for full resource names. For + /// example, a Cloud project with ID `my-project` will be named /// `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource - /// name is not used to read the policy instance from the Cloud IAM database. - /// The candidate policy for lint has to be provided in the same request - /// object. + /// name is not used to read a policy from IAM. Only the data in the request + /// object is linted. core.String? fullResourceName; LintPolicyRequest({ @@ -4713,10 +4810,10 @@ /// `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * /// `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the /// `-` wildcard character, because it can cause response messages to contain - /// misleading error codes. For example, if you try to get the service account - /// `projects/-/serviceAccounts/fake@example.com`, which does not exist, the - /// response contains an HTTP `403 Forbidden` error instead of a `404 Not - /// Found` error. + /// misleading error codes. For example, if you try to access the service + /// account `projects/-/serviceAccounts/fake@example.com`, which does not + /// exist, the response contains an HTTP `403 Forbidden` error instead of a + /// `404 Not Found` error. core.String? name; /// The OAuth 2.0 client ID for the service account.
diff --git a/generated/googleapis/lib/ids/v1.dart b/generated/googleapis/lib/ids/v1.dart index a46cd82..d7f7b13 100644 --- a/generated/googleapis/lib/ids/v1.dart +++ b/generated/googleapis/lib/ids/v1.dart
@@ -444,6 +444,69 @@ response_ as core.Map<core.String, core.dynamic>); } + /// Updates the parameters of a single Endpoint. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. The name of the endpoint. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/endpoints/\[^/\]+$`. + /// + /// [requestId] - 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. The server + /// will guarantee that for at least 60 minutes since the first request. For + /// example, consider a situation where you make an initial request and t he + /// 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). + /// + /// [updateMask] - Field mask is used to specify the fields to be overwritten + /// in the Endpoint resource by the update. The fields specified in the + /// update_mask are relative to the resource, not the full request. A field + /// will be overwritten if it is in the mask. If the user does not provide a + /// mask then all fields will be overwritten. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> patch( + Endpoint request, + core.String name, { + core.String? requestId, + core.String? updateMask, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if (requestId != null) 'requestId': [requestId], + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + /// Sets the access control policy on the specified resource. /// /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, @@ -949,6 +1012,9 @@ /// - "UPDATING" : Being updated. core.String? state; + /// List of threat IDs to be excepted from generating alerts. + core.List<core.String>? threatExceptions; + /// Whether the endpoint should report traffic logs in addition to threat /// logs. core.bool? trafficLogs; @@ -968,6 +1034,7 @@ this.network, this.severity, this.state, + this.threatExceptions, this.trafficLogs, this.updateTime, }); @@ -1003,6 +1070,11 @@ : null, state: json_.containsKey('state') ? json_['state'] as core.String : null, + threatExceptions: json_.containsKey('threatExceptions') + ? (json_['threatExceptions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, trafficLogs: json_.containsKey('trafficLogs') ? json_['trafficLogs'] as core.bool : null, @@ -1022,6 +1094,7 @@ if (network != null) 'network': network!, if (severity != null) 'severity': severity!, if (state != null) 'state': state!, + if (threatExceptions != null) 'threatExceptions': threatExceptions!, if (trafficLogs != null) 'trafficLogs': trafficLogs!, if (updateTime != null) 'updateTime': updateTime!, };
diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart index d298292..c7d9dba 100644 --- a/generated/googleapis/lib/logging/v2.dart +++ b/generated/googleapis/lib/logging/v2.dart
@@ -9900,15 +9900,12 @@ /// The parameters to ListLogEntries. class ListLogEntriesRequest { - /// A filter that chooses which log entries to return. + /// Only log entries that match the filter are returned. /// - /// See Advanced Logs Queries - /// (https://cloud.google.com/logging/docs/view/advanced-queries). Only log - /// entries that match the filter are returned. An empty filter matches all - /// log entries in the resources listed in resource_names. Referencing a - /// parent resource that is not listed in resource_names will cause the filter - /// to return no results. The maximum length of the filter is 20000 - /// characters. + /// An empty filter matches all log entries in the resources listed in + /// resource_names. Referencing a parent resource that is not listed in + /// resource_names will cause the filter to return no results. The maximum + /// length of a filter is 20,000 characters. /// /// Optional. core.String? filter; @@ -12097,14 +12094,12 @@ /// Optional. core.String? bufferWindow; - /// A filter that chooses which log entries to return. + /// Only log entries that match the filter are returned. /// - /// See Advanced Logs Filters - /// (https://cloud.google.com/logging/docs/view/advanced_filters). Only log - /// entries that match the filter are returned. An empty filter matches all - /// log entries in the resources listed in resource_names. Referencing a - /// parent resource that is not in resource_names will cause the filter to - /// return no results. The maximum length of the filter is 20000 characters. + /// An empty filter matches all log entries in the resources listed in + /// resource_names. Referencing a parent resource that is not listed in + /// resource_names will cause the filter to return no results. The maximum + /// length of a filter is 20,000 characters. /// /// Optional. core.String? filter;
diff --git a/generated/googleapis/lib/metastore/v1.dart b/generated/googleapis/lib/metastore/v1.dart index 8808dd4..d745a69 100644 --- a/generated/googleapis/lib/metastore/v1.dart +++ b/generated/googleapis/lib/metastore/v1.dart
@@ -2190,7 +2190,7 @@ /// the same region and same network. There must be at least one IP address /// available in the subnet's primary range. The subnet is specified in the /// following - /// form:\`projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id} + /// form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id} /// /// Immutable. core.String? subnetwork;
diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart index 2627ef3..84f20ac 100644 --- a/generated/googleapis/lib/monitoring/v3.dart +++ b/generated/googleapis/lib/monitoring/v3.dart
@@ -33,6 +33,7 @@ /// - [ProjectsMonitoredResourceDescriptorsResource] /// - [ProjectsNotificationChannelDescriptorsResource] /// - [ProjectsNotificationChannelsResource] +/// - [ProjectsSnoozesResource] /// - [ProjectsTimeSeriesResource] /// - [ProjectsUptimeCheckConfigsResource] /// - [ServicesResource] @@ -1192,6 +1193,7 @@ ProjectsNotificationChannelDescriptorsResource(_requester); ProjectsNotificationChannelsResource get notificationChannels => ProjectsNotificationChannelsResource(_requester); + ProjectsSnoozesResource get snoozes => ProjectsSnoozesResource(_requester); ProjectsTimeSeriesResource get timeSeries => ProjectsTimeSeriesResource(_requester); ProjectsUptimeCheckConfigsResource get uptimeCheckConfigs => @@ -2707,6 +2709,213 @@ } } +class ProjectsSnoozesResource { + final commons.ApiRequester _requester; + + ProjectsSnoozesResource(commons.ApiRequester client) : _requester = client; + + /// Creates a Snooze that will prevent alerts, which match the provided + /// criteria, from being opened. + /// + /// The Snooze applies for a specific time interval. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The project + /// (https://cloud.google.com/monitoring/api/v3#project_name) in which a + /// Snooze should be created. The format is: projects/\[PROJECT_ID_OR_NUMBER\] + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Snooze]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Snooze> create( + Snooze request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$parent') + '/snoozes'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Snooze.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Retrieves a Snooze by name. + /// + /// Request parameters: + /// + /// [name] - Required. The ID of the Snooze to retrieve. The format is: + /// projects/\[PROJECT_ID_OR_NUMBER\]/snoozes/\[SNOOZE_ID\] + /// Value must have pattern `^projects/\[^/\]+/snoozes/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Snooze]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Snooze> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Snooze.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Lists the Snoozes associated with a project. + /// + /// Can optionally pass in filter, which specifies predicates to match + /// Snoozes. + /// + /// Request parameters: + /// + /// [parent] - Required. The project + /// (https://cloud.google.com/monitoring/api/v3#project_name) whose Snoozes + /// should be listed. The format is: projects/\[PROJECT_ID_OR_NUMBER\] + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [filter] - Optional. Optional filter to restrict results to the given + /// criteria. The following fields are supported. interval.start_time + /// interval.end_timeFor example: ``` interval.start_time > + /// "2022-03-11T00:00:00-08:00" AND interval.end_time < + /// "2022-03-12T00:00:00-08:00" ``` + /// + /// [pageSize] - Optional. The maximum number of results to return for a + /// single query. The server may further constrain the maximum number of + /// results returned in a single page. The value should be in the range 1, + /// 1000. If the value given is outside this range, the server will decide the + /// number of results to be returned. + /// + /// [pageToken] - Optional. The next_page_token from a previous call to + /// ListSnoozesRequest to get the next page of results. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListSnoozesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListSnoozesResponse> list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$parent') + '/snoozes'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListSnoozesResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Updates a Snooze, identified by its name, with the parameters in the given + /// Snooze object. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the Snooze. The format is: + /// projects/\[PROJECT_ID_OR_NUMBER\]/snoozes/\[SNOOZE_ID\] The ID of the + /// Snooze will be generated by the system. + /// Value must have pattern `^projects/\[^/\]+/snoozes/\[^/\]+$`. + /// + /// [updateMask] - Required. The fields to update.For each field listed in + /// update_mask: If the Snooze object supplied in the UpdateSnoozeRequest has + /// a value for that field, the value of the field in the existing Snooze will + /// be set to the value of the field in the supplied Snooze. If the field does + /// not have a value in the supplied Snooze, the field in the existing Snooze + /// is set to its default value.Fields not listed retain their existing + /// value.The following are the field names that are accepted in update_mask: + /// display_name interval.start_time interval.end_timeThat said, the start + /// time and end time of the Snooze determines which fields can legally be + /// updated. Before attempting an update, users should consult the + /// documentation for UpdateSnoozeRequest, which talks about which fields can + /// be updated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Snooze]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Snooze> patch( + Snooze request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return Snooze.fromJson(response_ as core.Map<core.String, core.dynamic>); + } +} + class ProjectsTimeSeriesResource { final commons.ApiRequester _requester; @@ -5605,6 +5814,37 @@ }; } +/// Criteria specific to the AlertPolicys that this Snooze applies to. +/// +/// The Snooze will suppress alerts that come from one of the AlertPolicys whose +/// names are supplied. +class Criteria { + /// The specific AlertPolicy names for the alert that should be snoozed. + /// + /// The format is: + /// projects/\[PROJECT_ID_OR_NUMBER\]/alertPolicies/\[POLICY_ID\] There is a + /// limit of 10 policies per snooze. This limit is checked during snooze + /// creation. + core.List<core.String>? policies; + + Criteria({ + this.policies, + }); + + Criteria.fromJson(core.Map json_) + : this( + policies: json_.containsKey('policies') + ? (json_['policies'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (policies != null) 'policies': policies!, + }; +} + /// Use a custom service to designate a service that you want to monitor when /// none of the other service types (like App Engine, Cloud Run, or a GKE type) /// matches your intended service. @@ -5916,6 +6156,35 @@ /// - 1)). typedef Exponential = $Exponential; +/// Options used when forecasting the time series and testing the predicted +/// value against the threshold. +class ForecastOptions { + /// The length of time into the future to forecast whether a time series will + /// violate the threshold. + /// + /// If the predicted value is found to violate the threshold, and the + /// violation is observed in all forecasts made for the configured duration, + /// then the time series is considered to be failing. + /// + /// Required. + core.String? forecastHorizon; + + ForecastOptions({ + this.forecastHorizon, + }); + + ForecastOptions.fromJson(core.Map json_) + : this( + forecastHorizon: json_.containsKey('forecastHorizon') + ? json_['forecastHorizon'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (forecastHorizon != null) 'forecastHorizon': forecastHorizon!, + }; +} + /// The GetNotificationChannelVerificationCode request. class GetNotificationChannelVerificationCodeRequest { /// The desired expiration time. @@ -7123,6 +7392,42 @@ }; } +/// The results of a successful ListSnoozes call, containing the matching +/// Snoozes. +class ListSnoozesResponse { + /// Page token for repeated calls to ListSnoozes, to fetch additional pages of + /// results. + /// + /// If this is empty or missing, there are no more pages. + core.String? nextPageToken; + + /// Snoozes matching this list call. + core.List<Snooze>? snoozes; + + ListSnoozesResponse({ + this.nextPageToken, + this.snoozes, + }); + + ListSnoozesResponse.fromJson(core.Map json_) + : this( + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + snoozes: json_.containsKey('snoozes') + ? (json_['snoozes'] as core.List) + .map((value) => Snooze.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (snoozes != null) 'snoozes': snoozes!, + }; +} + /// The ListTimeSeries response. class ListTimeSeriesResponse { /// Query execution errors that may have caused the time series data returned @@ -7868,6 +8173,14 @@ /// Required. core.String? filter; + /// When this field is present, the MetricThreshold condition forecasts + /// whether the time series is predicted to violate the threshold within the + /// forecast_horizion. + /// + /// When this field is not set, the MetricThreshold tests the current value of + /// the timeseries against the threshold. + ForecastOptions? forecastOptions; + /// A value against which to compare the time series. core.double? thresholdValue; @@ -7888,6 +8201,7 @@ this.duration, this.evaluationMissingData, this.filter, + this.forecastOptions, this.thresholdValue, this.trigger, }); @@ -7921,6 +8235,10 @@ filter: json_.containsKey('filter') ? json_['filter'] as core.String : null, + forecastOptions: json_.containsKey('forecastOptions') + ? ForecastOptions.fromJson(json_['forecastOptions'] + as core.Map<core.String, core.dynamic>) + : null, thresholdValue: json_.containsKey('thresholdValue') ? (json_['thresholdValue'] as core.num).toDouble() : null, @@ -7940,6 +8258,7 @@ if (evaluationMissingData != null) 'evaluationMissingData': evaluationMissingData!, if (filter != null) 'filter': filter!, + if (forecastOptions != null) 'forecastOptions': forecastOptions!, if (thresholdValue != null) 'thresholdValue': thresholdValue!, if (trigger != null) 'trigger': trigger!, }; @@ -9289,6 +9608,76 @@ }; } +/// A Snooze will prevent any alerts from being opened, and close any that are +/// already open. +/// +/// The Snooze will work on alerts that match the criteria defined in the +/// Snooze. The Snooze will be active from interval.start_time through +/// interval.end_time. +class Snooze { + /// This defines the criteria for applying the Snooze. + /// + /// See Criteria for more information. + /// + /// Required. + Criteria? criteria; + + /// A display name for the Snooze. + /// + /// This can be, at most, 512 unicode characters. + /// + /// Required. + core.String? displayName; + + /// The Snooze will be active from interval.start_time through + /// interval.end_time. + /// + /// interval.start_time cannot be in the past. There is a 15 second clock skew + /// to account for the time it takes for a request to reach the API from the + /// UI. + /// + /// Required. + TimeInterval? interval; + + /// The name of the Snooze. + /// + /// The format is: projects/\[PROJECT_ID_OR_NUMBER\]/snoozes/\[SNOOZE_ID\] The + /// ID of the Snooze will be generated by the system. + /// + /// Required. + core.String? name; + + Snooze({ + this.criteria, + this.displayName, + this.interval, + this.name, + }); + + Snooze.fromJson(core.Map json_) + : this( + criteria: json_.containsKey('criteria') + ? Criteria.fromJson( + json_['criteria'] as core.Map<core.String, core.dynamic>) + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + interval: json_.containsKey('interval') + ? TimeInterval.fromJson( + json_['interval'] as core.Map<core.String, core.dynamic>) + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (criteria != null) 'criteria': criteria!, + if (displayName != null) 'displayName': displayName!, + if (interval != null) 'interval': interval!, + if (name != null) 'name': name!, + }; +} + /// The Status type defines a logical error model that is suitable for different /// programming environments, including REST APIs and RPC APIs. ///
diff --git a/generated/googleapis/lib/mybusinessaccountmanagement/v1.dart b/generated/googleapis/lib/mybusinessaccountmanagement/v1.dart index cb32a65..eb153ea 100644 --- a/generated/googleapis/lib/mybusinessaccountmanagement/v1.dart +++ b/generated/googleapis/lib/mybusinessaccountmanagement/v1.dart
@@ -849,7 +849,7 @@ /// Input only. /// /// The resource name of the account which will be the primary owner of the - /// account being created. It should be of the form `accounts/{account_id}/`. + /// account being created. It should be of the form `accounts/{account_id}`. /// /// Required. core.String? primaryOwner;
diff --git a/generated/googleapis/lib/networkconnectivity/v1.dart b/generated/googleapis/lib/networkconnectivity/v1.dart index b658345..94d0235 100644 --- a/generated/googleapis/lib/networkconnectivity/v1.dart +++ b/generated/googleapis/lib/networkconnectivity/v1.dart
@@ -796,13 +796,13 @@ ProjectsLocationsInternalRangesResource(commons.ApiRequester client) : _requester = client; - /// Creates a new InternalRange in a given project and location. + /// Creates a new internal range in a given project and location. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [parent] - Required. The parent resource's name of the InternalRange. + /// [parent] - Required. The parent resource's name of the internal range. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// /// [internalRangeId] - Optional. Resource ID (i.e. 'foo' in @@ -857,11 +857,11 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Deletes a single InternalRange. + /// Deletes a single internal range. /// /// Request parameters: /// - /// [name] - Required. The name of the InternalRange to delete. + /// [name] - Required. The name of the internal range to delete. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/internalRanges/\[^/\]+$`. /// @@ -908,7 +908,7 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Gets details of a single InternalRange. + /// Gets details of a single internal range. /// /// Request parameters: /// @@ -945,7 +945,7 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Lists InternalRanges in a given project and location. + /// Lists internal ranges in a given project and location. /// /// Request parameters: /// @@ -999,13 +999,13 @@ response_ as core.Map<core.String, core.dynamic>); } - /// Updates the parameters of a single InternalRange. + /// Updates the parameters of a single internal range. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [name] - Immutable. The name of a InternalRange. Format: + /// [name] - Immutable. The name of an internal range. Format: /// projects/{project}/locations/{location}/internalRanges/{internal_range} /// See: https://google.aip.dev/122#fields-representing-resource-names /// Value must have pattern @@ -2468,12 +2468,14 @@ /// [API Design Guide](https://cloud.google.com/apis/design/errors). typedef GoogleRpcStatus = $Status; -/// A Network Connectivity Center hub is a collection of spokes. +/// A Network Connectivity Center hub is a global management resource to which +/// you attach spokes. /// /// A single hub can contain spokes from multiple regions. However, if any of a -/// hub's spokes use the data transfer feature, the resources associated with -/// those spokes must all reside in the same VPC network. Spokes that do not use -/// data transfer can be associated with any VPC network in your project. +/// hub's spokes use the site-to-site data transfer feature, the resources +/// associated with those spokes must all be in the same VPC network. Spokes +/// that do not use site-to-site data transfer can be associated with any VPC +/// network in your project. class Hub { /// The time the hub was created. /// @@ -2584,26 +2586,25 @@ }; } -/// The InternalRange resource for IPAM operations within a VPC network. +/// The internal range resource for IPAM operations within a VPC network. /// /// Used to represent a private address range along with behavioral -/// characterstics of that range (it's usage and peering behavior). Networking +/// characterstics of that range (its usage and peering behavior). Networking /// resources can link to this range if they are created as belonging to it. -/// Next id: 14 class InternalRange { - /// Time when the InternalRange was created. + /// Time when the internal range was created. core.String? createTime; /// A description of this resource. core.String? description; - /// IP range that this InternalRange defines. + /// The IP range that this internal range defines. core.String? ipCidrRange; /// User-defined labels. core.Map<core.String, core.String>? labels; - /// The name of a InternalRange. + /// The name of an internal range. /// /// Format: /// projects/{project}/locations/{location}/internalRanges/{internal_range} @@ -2612,52 +2613,51 @@ /// Immutable. core.String? name; - /// The URL or resource ID of the network in which to reserve the Internal - /// Range. + /// The URL or resource ID of the network in which to reserve the internal + /// range. /// - /// The network cannot be deleted if there are any reserved Internal Ranges - /// referring to it. Legacy network is not supported. This can only be + /// The network cannot be deleted if there are any reserved internal ranges + /// referring to it. Legacy networks are not supported. This can only be /// specified for a global internal address. Example: - URL: /// /compute/v1/projects/{project}/global/networks/{resourceId} - ID: /// network123 core.String? network; - /// Types of resources that are allowed to overlap with the current - /// InternalRange. + /// Types of resources that are allowed to overlap with the current internal + /// range. /// /// Optional. core.List<core.String>? overlaps; - /// The type of peering set for this InternalRange. + /// The type of peering set for this internal range. /// Possible string values are: /// - "PEERING_UNSPECIFIED" : If Peering is left unspecified in /// CreateInternalRange or UpdateInternalRange, it will be defaulted to /// FOR_SELF. /// - "FOR_SELF" : This is the default behavior and represents the case that - /// this InternalRange is intended to be used in the VPC on which it is - /// created and is accessible from it’s peers. This implies that peers or - /// peer-of-peer’s cannot use this range. - /// - "FOR_PEER" : This behavior can be set when the Internal Range is being - /// reserved for usage by the peers. This means that no resource within the - /// VPC in which it is being created can use this to associate with a GCP - /// resource, but one of the peer’s can. This represents "donating" a range - /// for peers to use. - /// - "NOT_SHARED" : This behavior can be set when the Internal Range is being - /// reserved for usage by the VPC on which it is created but not shared with - /// the peers. In a sense it is local to the VPC. This can be used to create - /// Internal Ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or - /// for interconnect routes that are not shared with peers. This also implies - /// that peer’s cannot use this range in a way that is visible to this VPC, - /// but can re-use this range as long as it is NOT_SHARED from the peer VPC - /// too. + /// this internal range is intended to be used in the VPC in which it is + /// created and is accessible from its peers. This implies that peers or + /// peers-of-peers cannot use this range. + /// - "FOR_PEER" : This behavior can be set when the internal range is being + /// reserved for usage by peers. This means that no resource within the VPC in + /// which it is being created can use this to associate with a VPC resource, + /// but one of the peers can. This represents donating a range for peers to + /// use. + /// - "NOT_SHARED" : This behavior can be set when the internal range is being + /// reserved for usage by the VPC in which it is created, but not shared with + /// peers. In a sense, it is local to the VPC. This can be used to create + /// internal ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or + /// for Interconnect routes that are not shared with peers. This also implies + /// that peers cannot use this range in a way that is visible to this VPC, but + /// can re-use this range as long as it is NOT_SHARED from the peer VPC, too. core.String? peering; /// An alternate to ip_cidr_range. /// /// Can be set when trying to create a reservation that automatically finds a /// free range of the given size. If both ip_cidr_range and prefix_length are - /// set, it's an error if the range sizes don't match. Can also be used during - /// updates to change the range size. + /// set, there is an error if the range sizes do not match. Can also be used + /// during updates to change the range size. core.int? prefixLength; /// Can be set to narrow down or pick a different address space while @@ -2670,32 +2670,32 @@ /// Optional. core.List<core.String>? targetCidrRange; - /// Time when the InternalRange was updated. + /// Time when the internal range was updated. core.String? updateTime; /// The type of usage set for this InternalRange. /// Possible string values are: /// - "USAGE_UNSPECIFIED" : Unspecified usage is allowed in calls which /// identify the resource by other fields and do not need Usage set to - /// complete. These are i.e.: GetInternalRange and DeleteInternalRange. Usage + /// complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage /// needs to be specified explicitly in CreateInternalRange or /// UpdateInternalRange calls. - /// - "FOR_VPC" : A GCP resource can use the reserved CIDR block by - /// associating it with the Internal Range resource if usage is set to + /// - "FOR_VPC" : A VPC resource can use the reserved CIDR block by + /// associating it with the internal range resource if usage is set to /// FOR_VPC. /// - "EXTERNAL_TO_VPC" : Ranges created with EXTERNAL_TO_VPC cannot be - /// associated with GCP resources and are meant to block out address ranges + /// associated with VPC resources and are meant to block out address ranges /// for various use cases, like for example, usage on-prem, with dynamic route /// announcements via interconnect. core.String? usage; /// The list of resources that refer to this internal range. /// - /// Resources that use the InternalRange for their range allocation are + /// Resources that use the internal range for their range allocation are /// referred to as users of the range. Other resources mark themselves as - /// users while doing so by creating a reference to this InternalRange. Having - /// a user, based on this reference, prevents deletion of the InternalRange - /// referred to. Can be empty. + /// users while doing so by creating a reference to this internal range. + /// Having a user, based on this reference, prevents deletion of the internal + /// range referred to. Can be empty. /// /// Output only. core.List<core.String>? users; @@ -2983,7 +2983,7 @@ /// Response for InternalRange.ListInternalRanges class ListInternalRangesResponse { - /// InternalRanges to be returned. + /// Internal ranges to be returned. core.List<InternalRange>? internalRanges; /// The next pagination token in the List response. @@ -3336,8 +3336,8 @@ }; } -/// A Network Connectivity Center spoke represents a connection between your -/// Google Cloud network resources and a non-Google-Cloud network. +/// A Network Connectivity Center spoke represents one or more network +/// connectivity resources. /// /// When you create a spoke, you associate it with a hub. You must also identify /// a value for exactly one of the following fields: * linked_vpn_tunnels *
diff --git a/generated/googleapis/lib/notebooks/v1.dart b/generated/googleapis/lib/notebooks/v1.dart index b20e743..54ca11c 100644 --- a/generated/googleapis/lib/notebooks/v1.dart +++ b/generated/googleapis/lib/notebooks/v1.dart
@@ -2999,15 +2999,15 @@ /// Optional. core.bool? copyHomeFilesFlagEnabled; - /// User Cloud Storage bucket location (REQUIRED) ## Must be formatted with - /// path prefix (gs://$GCS_BUCKET) Permissions: User Managed Notebooks: - - /// storage.buckets.writer: Must be given to the project's service account - /// attached to VM. + /// User Cloud Storage bucket location (REQUIRED). /// - /// Google Managed Notebooks: - storage.buckets.writer: Must be given to the - /// project's service account or ## user credentials attached to VM depending - /// on authentication mode. Cloud Storage bucket Log file will be written to - /// gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz + /// Must be formatted with path prefix (`gs://$GCS_BUCKET`). Permissions: User + /// Managed Notebooks: - storage.buckets.writer: Must be given to the + /// project's service account attached to VM. Google Managed Notebooks: - + /// storage.buckets.writer: Must be given to the project's service account or + /// user credentials attached to VM depending on authentication mode. Cloud + /// Storage bucket Log file will be written to + /// `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz` /// /// Required. core.String? gcsBucket; @@ -3019,9 +3019,9 @@ /// Defines the relative storage path in the Cloud Storage bucket where the /// diagnostic logs will be written: Default path will be the root directory - /// of the Cloud Storage bucket (gs://$GCS_BUCKET/$DATE_$TIME.tar.gz) Example - /// of full path where Log file will be written: - /// gs://$GCS_BUCKET/$RELATIVE_PATH/ + /// of the Cloud Storage bucket (`gs://$GCS_BUCKET/$DATE_$TIME.tar.gz`) + /// Example of full path where Log file will be written: + /// `gs://$GCS_BUCKET/$RELATIVE_PATH/` /// /// Optional. core.String? relativePath; @@ -5687,6 +5687,11 @@ /// Output only. core.bool? upgradeable; + /// version of boot image such as M100, from release label of the image. + /// + /// Output only. + core.String? version; + RuntimeSoftwareConfig({ this.customGpuDriverPath, this.disableTerminal, @@ -5699,6 +5704,7 @@ this.postStartupScript, this.postStartupScriptBehavior, this.upgradeable, + this.version, }); RuntimeSoftwareConfig.fromJson(core.Map json_) @@ -5740,6 +5746,9 @@ upgradeable: json_.containsKey('upgradeable') ? json_['upgradeable'] as core.bool : null, + version: json_.containsKey('version') + ? json_['version'] as core.String + : null, ); core.Map<core.String, core.dynamic> toJson() => { @@ -5759,6 +5768,7 @@ if (postStartupScriptBehavior != null) 'postStartupScriptBehavior': postStartupScriptBehavior!, if (upgradeable != null) 'upgradeable': upgradeable!, + if (version != null) 'version': version!, }; }
diff --git a/generated/googleapis/lib/ondemandscanning/v1.dart b/generated/googleapis/lib/ondemandscanning/v1.dart index 6fa26a0..91fd06d 100644 --- a/generated/googleapis/lib/ondemandscanning/v1.dart +++ b/generated/googleapis/lib/ondemandscanning/v1.dart
@@ -1952,6 +1952,8 @@ /// - "MAVEN" : Java packages from Maven. /// - "GO" : Go third-party packages. /// - "GO_STDLIB" : Go toolchain + standard library packages. + /// - "PYPI" : Python packages. + /// - "NPM" : NPM packages. core.String? packageType; /// CVEs that this package is no longer vulnerable to
diff --git a/generated/googleapis/lib/osconfig/v1.dart b/generated/googleapis/lib/osconfig/v1.dart index 5d01d3e..8cdc8f4 100644 --- a/generated/googleapis/lib/osconfig/v1.dart +++ b/generated/googleapis/lib/osconfig/v1.dart
@@ -3606,7 +3606,7 @@ /// An inline script. /// - /// The size of the script is limited to 1024 characters. + /// The size of the script is limited to 32KiB. core.String? script; OSPolicyResourceExecResourceExec({ @@ -3776,7 +3776,7 @@ class OSPolicyResourceFileResource { /// A a file with this content. /// - /// The size of the content is limited to 1024 characters. + /// The size of the content is limited to 32KiB. core.String? content; /// A remote or local source.
diff --git a/generated/googleapis/lib/paymentsresellersubscription/v1.dart b/generated/googleapis/lib/paymentsresellersubscription/v1.dart index 6dfb3c5..8b6d970 100644 --- a/generated/googleapis/lib/paymentsresellersubscription/v1.dart +++ b/generated/googleapis/lib/paymentsresellersubscription/v1.dart
@@ -1989,7 +1989,10 @@ /// to be charged. If a free trial applies to the line item, the line item is /// pending a prorated charge at the end of the free trial period, as /// indicated by `line_item_free_trial_end_time`. - /// - "LINE_ITEM_STATE_DEACTIVATING" : The line item is being deactivated. + /// - "LINE_ITEM_STATE_DEACTIVATING" : The line item is being deactivated, and + /// a prorated refund in being processed. + /// - "LINE_ITEM_STATE_WAITING_TO_DEACTIVATE" : The line item is scheduled to + /// be deactivated at the end of the current cycle. core.String? state; GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem({
diff --git a/generated/googleapis/lib/people/v1.dart b/generated/googleapis/lib/people/v1.dart index 73a63d4..0f7c7eb 100644 --- a/generated/googleapis/lib/people/v1.dart +++ b/generated/googleapis/lib/people/v1.dart
@@ -1344,8 +1344,7 @@ /// Request parameters: /// /// [resourceName] - The resource name for the person, assigned by the server. - /// An ASCII string with a max length of 27 characters, in the form of - /// `people/{person_id}`. + /// An ASCII string in the form of `people/{person_id}`. /// Value must have pattern `^people/\[^/\]+$`. /// /// [personFields] - Optional. A field mask to restrict which fields on each @@ -4135,8 +4134,7 @@ /// The resource name for the person, assigned by the server. /// - /// An ASCII string with a max length of 27 characters, in the form of - /// `people/{person_id}`. + /// An ASCII string in the form of `people/{person_id}`. core.String? resourceName; /// The person's SIP addresses.
diff --git a/generated/googleapis/lib/photoslibrary/v1.dart b/generated/googleapis/lib/photoslibrary/v1.dart index 034e3b8..7aeed5e 100644 --- a/generated/googleapis/lib/photoslibrary/v1.dart +++ b/generated/googleapis/lib/photoslibrary/v1.dart
@@ -2296,7 +2296,10 @@ /// For details regarding this field, see Status. Status? status; - /// The upload token used to create this new media item. + /// The upload token used to create this new (simple) media item. + /// + /// Only populated if the media item is simple and required a single upload + /// token. core.String? uploadToken; NewMediaItemResult({
diff --git a/generated/googleapis/lib/playintegrity/v1.dart b/generated/googleapis/lib/playintegrity/v1.dart index 8c27800..69a2c5f 100644 --- a/generated/googleapis/lib/playintegrity/v1.dart +++ b/generated/googleapis/lib/playintegrity/v1.dart
@@ -14,7 +14,10 @@ /// Google Play Integrity API - v1 /// -/// Play Integrity +/// The Play Integrity API helps you check that you're interacting with your +/// genuine app on a genuine Android device powered by Google Play services. The +/// Play Integrity API has replaced SafetyNet Attestation and Android Device +/// Verification. /// /// For more information, see /// <https://developer.android.com/google/play/integrity> @@ -36,7 +39,11 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; -/// Play Integrity +/// The Play Integrity API helps you check that you're interacting with your +/// genuine app on a genuine Android device powered by Google Play services. +/// +/// The Play Integrity API has replaced SafetyNet Attestation and Android Device +/// Verification. class PlayIntegrityApi { /// Private Service: https://www.googleapis.com/auth/playintegrity static const playintegrityScope = @@ -327,10 +334,11 @@ /// Contains the integrity request information. class RequestDetails { /// Nonce that was provided in the request (which is base64 web-safe no-wrap). - /// - /// Required. core.String? nonce; + /// Request hash that was provided in the request. + core.String? requestHash; + /// Application package name this attestation was requested for. /// /// Note: This field makes no guarantees or promises on the caller integrity. @@ -346,6 +354,7 @@ RequestDetails({ this.nonce, + this.requestHash, this.requestPackageName, this.timestampMillis, }); @@ -354,6 +363,9 @@ : this( nonce: json_.containsKey('nonce') ? json_['nonce'] as core.String : null, + requestHash: json_.containsKey('requestHash') + ? json_['requestHash'] as core.String + : null, requestPackageName: json_.containsKey('requestPackageName') ? json_['requestPackageName'] as core.String : null, @@ -364,6 +376,7 @@ core.Map<core.String, core.dynamic> toJson() => { if (nonce != null) 'nonce': nonce!, + if (requestHash != null) 'requestHash': requestHash!, if (requestPackageName != null) 'requestPackageName': requestPackageName!, if (timestampMillis != null) 'timestampMillis': timestampMillis!,
diff --git a/generated/googleapis/lib/pubsub/v1.dart b/generated/googleapis/lib/pubsub/v1.dart index 80f0d7a..f40c3eb 100644 --- a/generated/googleapis/lib/pubsub/v1.dart +++ b/generated/googleapis/lib/pubsub/v1.dart
@@ -2170,7 +2170,11 @@ /// - "STATE_UNSPECIFIED" : Default value. This value is unused. /// - "ACTIVE" : The subscription can actively send messages to BigQuery /// - "PERMISSION_DENIED" : Cannot write to the BigQuery table because of - /// permission denied errors. + /// permission denied errors. This can happen if - Pub/Sub SA has not been + /// granted the + /// [appropriate BigQuery IAM permissions](https://cloud.google.com/pubsub/docs/create-subscription#assign_bigquery_service_account) + /// - bigquery.googleapis.com API is not enabled for the project + /// ([instructions](https://cloud.google.com/service-usage/docs/enable-disable)) /// - "NOT_FOUND" : Cannot write to the BigQuery table because it does not /// exist. /// - "SCHEMA_MISMATCH" : Cannot write to the BigQuery table due to a schema
diff --git a/generated/googleapis/lib/pubsublite/v1.dart b/generated/googleapis/lib/pubsublite/v1.dart index e382b78..563f908 100644 --- a/generated/googleapis/lib/pubsublite/v1.dart +++ b/generated/googleapis/lib/pubsublite/v1.dart
@@ -1856,6 +1856,90 @@ /// (google.protobuf.Empty); } typedef Empty = $Empty; +/// Configuration for a Pub/Sub Lite subscription that writes messages to a +/// destination. +/// +/// User subscriber clients must not connect to this subscription. +class ExportConfig { + /// The current state of the export, which may be different to the desired + /// state due to errors. + /// + /// This field is output only. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : Default value. This value is unused. + /// - "ACTIVE" : Messages are being exported. + /// - "PAUSED" : Exporting messages is suspended. + /// - "PERMISSION_DENIED" : Messages cannot be exported due to permission + /// denied errors. Output only. + /// - "NOT_FOUND" : Messages cannot be exported due to missing resources. + /// Output only. + core.String? currentState; + + /// The name of an optional Pub/Sub Lite topic to publish messages that can + /// not be exported to the destination. + /// + /// For example, the message can not be published to the Pub/Sub service + /// because it does not satisfy the constraints documented at + /// https://cloud.google.com/pubsub/docs/publisher. Structured like: + /// projects/{project_number}/locations/{location}/topics/{topic_id}. Must be + /// within the same project and location as the subscription. The topic may be + /// changed or removed. + /// + /// Optional. + core.String? deadLetterTopic; + + /// The desired state of this export. + /// + /// Setting this to values other than `ACTIVE` and `PAUSED` will result in an + /// error. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : Default value. This value is unused. + /// - "ACTIVE" : Messages are being exported. + /// - "PAUSED" : Exporting messages is suspended. + /// - "PERMISSION_DENIED" : Messages cannot be exported due to permission + /// denied errors. Output only. + /// - "NOT_FOUND" : Messages cannot be exported due to missing resources. + /// Output only. + core.String? desiredState; + + /// Messages are automatically written from the Pub/Sub Lite topic associated + /// with this subscription to a Pub/Sub topic. + PubSubConfig? pubsubConfig; + + ExportConfig({ + this.currentState, + this.deadLetterTopic, + this.desiredState, + this.pubsubConfig, + }); + + ExportConfig.fromJson(core.Map json_) + : this( + currentState: json_.containsKey('currentState') + ? json_['currentState'] as core.String + : null, + deadLetterTopic: json_.containsKey('deadLetterTopic') + ? json_['deadLetterTopic'] as core.String + : null, + desiredState: json_.containsKey('desiredState') + ? json_['desiredState'] as core.String + : null, + pubsubConfig: json_.containsKey('pubsubConfig') + ? PubSubConfig.fromJson( + json_['pubsubConfig'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (currentState != null) 'currentState': currentState!, + if (deadLetterTopic != null) 'deadLetterTopic': deadLetterTopic!, + if (desiredState != null) 'desiredState': desiredState!, + if (pubsubConfig != null) 'pubsubConfig': pubsubConfig!, + }; +} + /// The response message for Operations.ListOperations. class ListOperationsResponse { /// The standard List next-page token. @@ -2257,6 +2341,29 @@ }; } +/// Configuration for exporting to a Pub/Sub topic. +class PubSubConfig { + /// The name of the Pub/Sub topic. + /// + /// Structured like: projects/{project_number}/topics/{topic_id}. The topic + /// may be changed. + core.String? topic; + + PubSubConfig({ + this.topic, + }); + + PubSubConfig.fromJson(core.Map json_) + : this( + topic: + json_.containsKey('topic') ? json_['topic'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (topic != null) 'topic': topic!, + }; +} + /// Metadata about a reservation resource. class Reservation { /// The name of the reservation. @@ -2407,6 +2514,10 @@ /// The settings for this subscription's message delivery. DeliveryConfig? deliveryConfig; + /// If present, messages are automatically written from the Pub/Sub Lite topic + /// associated with this subscription to a destination. + ExportConfig? exportConfig; + /// The name of the subscription. /// /// Structured like: @@ -2421,6 +2532,7 @@ Subscription({ this.deliveryConfig, + this.exportConfig, this.name, this.topic, }); @@ -2431,6 +2543,10 @@ ? DeliveryConfig.fromJson(json_['deliveryConfig'] as core.Map<core.String, core.dynamic>) : null, + exportConfig: json_.containsKey('exportConfig') + ? ExportConfig.fromJson( + json_['exportConfig'] as core.Map<core.String, core.dynamic>) + : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, topic: json_.containsKey('topic') ? json_['topic'] as core.String : null, @@ -2438,6 +2554,7 @@ core.Map<core.String, core.dynamic> toJson() => { if (deliveryConfig != null) 'deliveryConfig': deliveryConfig!, + if (exportConfig != null) 'exportConfig': exportConfig!, if (name != null) 'name': name!, if (topic != null) 'topic': topic!, };
diff --git a/generated/googleapis/lib/recaptchaenterprise/v1.dart b/generated/googleapis/lib/recaptchaenterprise/v1.dart index 35cef84..aece887 100644 --- a/generated/googleapis/lib/recaptchaenterprise/v1.dart +++ b/generated/googleapis/lib/recaptchaenterprise/v1.dart
@@ -14,6 +14,9 @@ /// reCAPTCHA Enterprise API - v1 /// +/// Help protect your website from fraudulent activity, spam, and abuse without +/// creating friction. +/// /// For more information, see <https://cloud.google.com/recaptcha-enterprise/> /// /// Create an instance of [RecaptchaEnterpriseApi] to access these resources: @@ -40,6 +43,8 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; +/// Help protect your website from fraudulent activity, spam, and abuse without +/// creating friction. class RecaptchaEnterpriseApi { /// See, edit, configure, and delete your Google Cloud data and see the email /// address for your Google Account. @@ -718,6 +723,89 @@ }; } +/// Information about account verification, used for identity verification. +class GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo { + /// Endpoints that can be used for identity verification. + core.List<GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo>? + endpoints; + + /// Language code preference for the verification message, set as a IETF BCP + /// 47 language code. + core.String? languageCode; + + /// Result of the latest account verification challenge. + /// + /// Output only. + /// Possible string values are: + /// - "RESULT_UNSPECIFIED" : No information about the latest account + /// verification. + /// - "SUCCESS_USER_VERIFIED" : The user was successfully verified. This means + /// the account verification challenge was successfully completed. + /// - "ERROR_USER_NOT_VERIFIED" : The user failed the verification challenge. + /// - "ERROR_SITE_ONBOARDING_INCOMPLETE" : The site is not properly onboarded + /// to use the account verification feature. + /// - "ERROR_RECIPIENT_NOT_ALLOWED" : The recipient is not allowed for account + /// verification. This can occur during integration but should not occur in + /// production. + /// - "ERROR_RECIPIENT_ABUSE_LIMIT_EXHAUSTED" : The recipient has already been + /// sent too many verification codes in a short amount of time. + /// - "ERROR_CRITICAL_INTERNAL" : The verification flow could not be completed + /// due to a critical internal error. + /// - "ERROR_CUSTOMER_QUOTA_EXHAUSTED" : The client has exceeded their two + /// factor request quota for this period of time. + /// - "ERROR_VERIFICATION_BYPASSED" : The request cannot be processed at the + /// time because of an incident. This bypass can be restricted to a + /// problematic destination email domain, a customer, or could affect the + /// entire service. + /// - "ERROR_VERDICT_MISMATCH" : The request parameters do not match with the + /// token provided and cannot be processed. + core.String? latestVerificationResult; + + /// Username of the account that is being verified. + /// + /// Deprecated. Customers should now provide the hashed account ID field in + /// Event. + core.String? username; + + GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo({ + this.endpoints, + this.languageCode, + this.latestVerificationResult, + this.username, + }); + + GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo.fromJson( + core.Map json_) + : this( + endpoints: json_.containsKey('endpoints') + ? (json_['endpoints'] as core.List) + .map((value) => + GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo + .fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + languageCode: json_.containsKey('languageCode') + ? json_['languageCode'] as core.String + : null, + latestVerificationResult: + json_.containsKey('latestVerificationResult') + ? json_['latestVerificationResult'] as core.String + : null, + username: json_.containsKey('username') + ? json_['username'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (endpoints != null) 'endpoints': endpoints!, + if (languageCode != null) 'languageCode': languageCode!, + if (latestVerificationResult != null) + 'latestVerificationResult': latestVerificationResult!, + if (username != null) 'username': username!, + }; +} + /// Settings specific to keys that can be used by Android apps. class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings { /// If set to true, allowed_package_names are not enforced. @@ -837,6 +925,12 @@ GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment? accountDefenderAssessment; + /// Account verification information for identity verification. + /// + /// The assessment event must include a token and site key to use this + /// feature. + GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo? accountVerification; + /// The event being assessed. GoogleCloudRecaptchaenterpriseV1Event? event; @@ -863,6 +957,7 @@ GoogleCloudRecaptchaenterpriseV1Assessment({ this.accountDefenderAssessment, + this.accountVerification, this.event, this.name, this.privatePasswordLeakVerification, @@ -878,6 +973,11 @@ .fromJson(json_['accountDefenderAssessment'] as core.Map<core.String, core.dynamic>) : null, + accountVerification: json_.containsKey('accountVerification') + ? GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo + .fromJson(json_['accountVerification'] + as core.Map<core.String, core.dynamic>) + : null, event: json_.containsKey('event') ? GoogleCloudRecaptchaenterpriseV1Event.fromJson( json_['event'] as core.Map<core.String, core.dynamic>) @@ -903,6 +1003,8 @@ core.Map<core.String, core.dynamic> toJson() => { if (accountDefenderAssessment != null) 'accountDefenderAssessment': accountDefenderAssessment!, + if (accountVerification != null) + 'accountVerification': accountVerification!, if (event != null) 'event': event!, if (name != null) 'name': name!, if (privatePasswordLeakVerification != null) @@ -963,6 +1065,61 @@ }; } +/// Information about a verification endpoint that can be used for 2FA. +class GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo { + /// Email address for which to trigger a verification request. + core.String? emailAddress; + + /// Timestamp of the last successful verification for the endpoint, if any. + /// + /// Output only. + core.String? lastVerificationTime; + + /// Phone number for which to trigger a verification request. + /// + /// Should be given in E.164 format. + core.String? phoneNumber; + + /// Token to provide to the client to trigger endpoint verification. + /// + /// It must be used within 15 minutes. + /// + /// Output only. + core.String? requestToken; + + GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo({ + this.emailAddress, + this.lastVerificationTime, + this.phoneNumber, + this.requestToken, + }); + + GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo.fromJson( + core.Map json_) + : this( + emailAddress: json_.containsKey('emailAddress') + ? json_['emailAddress'] as core.String + : null, + lastVerificationTime: json_.containsKey('lastVerificationTime') + ? json_['lastVerificationTime'] as core.String + : null, + phoneNumber: json_.containsKey('phoneNumber') + ? json_['phoneNumber'] as core.String + : null, + requestToken: json_.containsKey('requestToken') + ? json_['requestToken'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (emailAddress != null) 'emailAddress': emailAddress!, + if (lastVerificationTime != null) + 'lastVerificationTime': lastVerificationTime!, + if (phoneNumber != null) 'phoneNumber': phoneNumber!, + if (requestToken != null) 'requestToken': requestToken!, + }; +} + class GoogleCloudRecaptchaenterpriseV1Event { /// The expected action for this type of event. /// @@ -1357,7 +1514,35 @@ } /// The migrate key request message. -typedef GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest = $Empty; +class GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest { + /// If true, skips the billing check. + /// + /// A reCAPTCHA Enterprise key or migrated key behaves differently than a + /// reCAPTCHA (non-Enterprise version) key when you reach a quota limit (see + /// https://cloud.google.com/recaptcha-enterprise/quotas#quota_limit). To + /// avoid any disruption of your usage, we check that a billing account is + /// present. If your usage of reCAPTCHA is under the free quota, you can + /// safely skip the billing check and proceed with the migration. See + /// https://cloud.google.com/recaptcha-enterprise/docs/billing-information. + /// + /// Optional. + core.bool? skipBillingCheck; + + GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest({ + this.skipBillingCheck, + }); + + GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest.fromJson(core.Map json_) + : this( + skipBillingCheck: json_.containsKey('skipBillingCheck') + ? json_['skipBillingCheck'] as core.bool + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (skipBillingCheck != null) 'skipBillingCheck': skipBillingCheck!, + }; +} /// Private password leak verification info. class GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification {
diff --git a/generated/googleapis/lib/recommender/v1.dart b/generated/googleapis/lib/recommender/v1.dart index 1302d8a..d192484 100644 --- a/generated/googleapis/lib/recommender/v1.dart +++ b/generated/googleapis/lib/recommender/v1.dart
@@ -670,6 +670,54 @@ response_ as core.Map<core.String, core.dynamic>); } + /// Mark the Recommendation State as Dismissed. + /// + /// Users can use this method to indicate to the Recommender API that an + /// ACTIVE recommendation has to be marked back as DISMISSED. + /// MarkRecommendationDismissed can be applied to recommendations in ACTIVE + /// state. Requires the recommender.*.update IAM permission for the specified + /// recommender. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Name of the recommendation. + /// Value must have pattern + /// `^billingAccounts/\[^/\]+/locations/\[^/\]+/recommenders/\[^/\]+/recommendations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudRecommenderV1Recommendation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleCloudRecommenderV1Recommendation> markDismissed( + GoogleCloudRecommenderV1MarkRecommendationDismissedRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':markDismissed'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudRecommenderV1Recommendation.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + /// Marks the Recommendation State as Failed. /// /// Users can use this method to indicate to the Recommender API that they @@ -1156,6 +1204,54 @@ response_ as core.Map<core.String, core.dynamic>); } + /// Mark the Recommendation State as Dismissed. + /// + /// Users can use this method to indicate to the Recommender API that an + /// ACTIVE recommendation has to be marked back as DISMISSED. + /// MarkRecommendationDismissed can be applied to recommendations in ACTIVE + /// state. Requires the recommender.*.update IAM permission for the specified + /// recommender. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Name of the recommendation. + /// Value must have pattern + /// `^folders/\[^/\]+/locations/\[^/\]+/recommenders/\[^/\]+/recommendations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudRecommenderV1Recommendation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleCloudRecommenderV1Recommendation> markDismissed( + GoogleCloudRecommenderV1MarkRecommendationDismissedRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':markDismissed'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudRecommenderV1Recommendation.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + /// Marks the Recommendation State as Failed. /// /// Users can use this method to indicate to the Recommender API that they @@ -1847,6 +1943,54 @@ response_ as core.Map<core.String, core.dynamic>); } + /// Mark the Recommendation State as Dismissed. + /// + /// Users can use this method to indicate to the Recommender API that an + /// ACTIVE recommendation has to be marked back as DISMISSED. + /// MarkRecommendationDismissed can be applied to recommendations in ACTIVE + /// state. Requires the recommender.*.update IAM permission for the specified + /// recommender. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Name of the recommendation. + /// Value must have pattern + /// `^organizations/\[^/\]+/locations/\[^/\]+/recommenders/\[^/\]+/recommendations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudRecommenderV1Recommendation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleCloudRecommenderV1Recommendation> markDismissed( + GoogleCloudRecommenderV1MarkRecommendationDismissedRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':markDismissed'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudRecommenderV1Recommendation.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + /// Marks the Recommendation State as Failed. /// /// Users can use this method to indicate to the Recommender API that they @@ -2535,6 +2679,54 @@ response_ as core.Map<core.String, core.dynamic>); } + /// Mark the Recommendation State as Dismissed. + /// + /// Users can use this method to indicate to the Recommender API that an + /// ACTIVE recommendation has to be marked back as DISMISSED. + /// MarkRecommendationDismissed can be applied to recommendations in ACTIVE + /// state. Requires the recommender.*.update IAM permission for the specified + /// recommender. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Name of the recommendation. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/recommenders/\[^/\]+/recommendations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudRecommenderV1Recommendation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleCloudRecommenderV1Recommendation> markDismissed( + GoogleCloudRecommenderV1MarkRecommendationDismissedRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':markDismissed'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudRecommenderV1Recommendation.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + /// Marks the Recommendation State as Failed. /// /// Users can use this method to indicate to the Recommender API that they @@ -3199,6 +3391,28 @@ /// Request for the `MarkRecommendationClaimed` Method. typedef GoogleCloudRecommenderV1MarkRecommendationClaimedRequest = $Request03; +/// Request for the `MarkRecommendationDismissed` Method. +class GoogleCloudRecommenderV1MarkRecommendationDismissedRequest { + /// Fingerprint of the Recommendation. + /// + /// Provides optimistic locking. + core.String? etag; + + GoogleCloudRecommenderV1MarkRecommendationDismissedRequest({ + this.etag, + }); + + GoogleCloudRecommenderV1MarkRecommendationDismissedRequest.fromJson( + core.Map json_) + : this( + etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (etag != null) 'etag': etag!, + }; +} + /// Request for the `MarkRecommendationFailed` Method. typedef GoogleCloudRecommenderV1MarkRecommendationFailedRequest = $Request03;
diff --git a/generated/googleapis/lib/redis/v1.dart b/generated/googleapis/lib/redis/v1.dart index 49a6a80..6b6902f 100644 --- a/generated/googleapis/lib/redis/v1.dart +++ b/generated/googleapis/lib/redis/v1.dart
@@ -2013,7 +2013,7 @@ /// - "ONE_HOUR" : Snapshot every 1 hour. /// - "SIX_HOURS" : Snapshot every 6 hours. /// - "TWELVE_HOURS" : Snapshot every 12 hours. - /// - "TWENTY_FOUR_HOURS" : Snapshot every 24 horus. + /// - "TWENTY_FOUR_HOURS" : Snapshot every 24 hours. core.String? rdbSnapshotPeriod; /// Date and time that the first snapshot was/will be attempted, and to which
diff --git a/generated/googleapis/lib/retail/v2.dart b/generated/googleapis/lib/retail/v2.dart index 5bf9aae..c9093d2 100644 --- a/generated/googleapis/lib/retail/v2.dart +++ b/generated/googleapis/lib/retail/v2.dart
@@ -1888,7 +1888,7 @@ /// The ID of the Recommendations AI serving config or placement. Before you /// can request predictions from your model, you must create at least one /// serving config or placement for it. For more information, see - /// [Managing serving configurations](https://cloud.google.com/retail/docs/manage-configs). + /// [Manage serving configs](https://cloud.google.com/retail/docs/manage-configs). /// The full list of available serving configs can be seen at /// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs /// Value must have pattern @@ -1940,8 +1940,8 @@ /// /locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` /// or the name of the legacy placement resource, such as `projects / * /// /locations/global/catalogs/default_catalog/placements/default_search`. - /// This field is used to identify the serving configuration name and the set - /// of models that will be used to make the search. + /// This field is used to identify the serving config name and the set of + /// models that will be used to make the search. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+/placements/\[^/\]+$`. /// @@ -2281,7 +2281,7 @@ /// The ID of the Recommendations AI serving config or placement. Before you /// can request predictions from your model, you must create at least one /// serving config or placement for it. For more information, see - /// [Managing serving configurations](https://cloud.google.com/retail/docs/manage-configs). + /// [Manage serving configs](https://cloud.google.com/retail/docs/manage-configs). /// The full list of available serving configs can be seen at /// https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs /// Value must have pattern @@ -2381,8 +2381,8 @@ /// /locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` /// or the name of the legacy placement resource, such as `projects / * /// /locations/global/catalogs/default_catalog/placements/default_search`. - /// This field is used to identify the serving configuration name and the set - /// of models that will be used to make the search. + /// This field is used to identify the serving config name and the set of + /// models that will be used to make the search. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+/servingConfigs/\[^/\]+$`. /// @@ -2443,7 +2443,7 @@ /// payload bytes. /// /// [prebuiltRule] - The prebuilt rule name that can convert a specific type - /// of raw_json. For example: "default_schema/v1.0" + /// of raw_json. For example: "ga4_bq" rule for the GA4 user event schema. /// /// [rawJson] - An arbitrary serialized JSON string that contains necessary /// information that can comprise a user event. When this field is specified, @@ -2656,6 +2656,12 @@ /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/catalogs/\[^/\]+$`. /// + /// [writeAsync] - If set to true, the user event will be written + /// asynchronously after validation, and the API will respond without waiting + /// for the write. Therefore, silent failures can occur even if the API + /// returns success. In case of silent failures, error messages can be found + /// in Stackdriver logs. + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -2669,10 +2675,12 @@ async.Future<GoogleCloudRetailV2UserEvent> write( GoogleCloudRetailV2UserEvent request, core.String parent, { + core.bool? writeAsync, core.String? $fields, }) async { final body_ = convert.json.encode(request); final queryParams_ = <core.String, core.List<core.String>>{ + if (writeAsync != null) 'writeAsync': ['${writeAsync}'], if ($fields != null) 'fields': [$fields], }; @@ -3383,10 +3391,10 @@ /// If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. /// /// This property only applies to textual custom attributes and requires - /// indexable set to enabled to enable exact-searchable. + /// indexable set to enabled to enable exact-searchable. If unset, the server + /// behavior defaults to EXACT_SEARCHABLE_DISABLED. /// Possible string values are: - /// - "EXACT_SEARCHABLE_OPTION_UNSPECIFIED" : Value used when unset. Defaults - /// to EXACT_SEARCHABLE_DISABLED. + /// - "EXACT_SEARCHABLE_OPTION_UNSPECIFIED" : Value used when unset. /// - "EXACT_SEARCHABLE_ENABLED" : Exact searchable option enabled for an /// attribute. /// - "EXACT_SEARCHABLE_DISABLED" : Exact searchable option disabled for an @@ -3428,16 +3436,19 @@ /// `attributes.xyz`. To be indexable, the attribute name can contain only /// alpha-numeric characters and underscores. For example, an attribute named /// `attributes.abc_xyz` can be indexed, but an attribute named - /// `attributes.abc-xyz` cannot be indexed. + /// `attributes.abc-xyz` cannot be indexed. For attributes whoes key start + /// with `attributes.`, we refer them as custom attributes. Otherwise they are + /// built-in attributes such as `color` and `brands`. /// /// Required. core.String? key; /// If RETRIEVABLE_ENABLED, attribute values are retrievable in the search /// results. + /// + /// If unset, the server behavior defaults to RETRIEVABLE_DISABLED. /// Possible string values are: - /// - "RETRIEVABLE_OPTION_UNSPECIFIED" : Value used when unset. Defaults to - /// RETRIEVABLE_DISABLED. + /// - "RETRIEVABLE_OPTION_UNSPECIFIED" : Value used when unset. /// - "RETRIEVABLE_ENABLED" : Retrievable option enabled for an attribute. /// - "RETRIEVABLE_DISABLED" : Retrievable option disabled for an attribute. core.String? retrievableOption; @@ -3535,7 +3546,7 @@ /// names, such as the color aliases used in the website frontend. /// /// Normally it is expected to have only 1 color. May consider using single - /// "Mixed" instead of multiple values. A maximum of 25 colors are allowed. + /// "Mixed" instead of multiple values. A maximum of 75 colors are allowed. /// Each value must be a UTF-8 encoded string with a length limit of 128 /// characters. Otherwise, an INVALID_ARGUMENT error is returned. Google /// Merchant Center property @@ -4048,8 +4059,8 @@ /// Configures dynamic metadata that can be linked to a ServingConfig and affect /// search or recommendation results at serving time. class GoogleCloudRetailV2Control { - /// List of serving configuration ids that are associated with this control in - /// the same Catalog. + /// List of serving config ids that are associated with this control in the + /// same Catalog. /// /// Note the association is managed via the ServingConfig, this is an output /// only denormalized view. @@ -8040,6 +8051,8 @@ core.String? diversityLevel; /// What kind of diversity to use - data driven or rule based. + /// + /// If unset, the server behavior defaults to RULE_BASED_DIVERSITY. /// Possible string values are: /// - "DIVERSITY_TYPE_UNSPECIFIED" : Default value. /// - "RULE_BASED_DIVERSITY" : Rule based diversity. @@ -8134,7 +8147,7 @@ /// Price reranking causes product items with a similar recommendation /// probability to be ordered by price, with the highest-priced items first. /// This setting could result in a decrease in click-through and conversion - /// rates. Allowed values are: * `no-price-reranking` * `low-price-raranking` + /// rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` /// * `medium-price-reranking` * `high-price-reranking` If not specified, we /// choose default based on model type. Default value: `no-price-reranking`. /// Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.
diff --git a/generated/googleapis/lib/run/v1.dart b/generated/googleapis/lib/run/v1.dart index 2a698fc..1442413 100644 --- a/generated/googleapis/lib/run/v1.dart +++ b/generated/googleapis/lib/run/v1.dart
@@ -3683,6 +3683,10 @@ core.List<core.String>? command; /// List of environment variables to set in the container. + /// + /// EnvVar with duplicate names are generally allowed; if referencing a + /// secret, the name must be unique for the container. For non-secret EnvVar + /// names, the Container will only get the last-declared one. core.List<EnvVar>? env; /// Not supported by Cloud Run. @@ -3709,9 +3713,9 @@ /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Probe? livenessProbe; - /// Name of the container specified as a DNS_LABEL. + /// Name of the container specified as a DNS_LABEL (RFC 1123). /// - /// Currently unused in Cloud Run. More info: + /// More info: /// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names core.String? name;
diff --git a/generated/googleapis/lib/run/v2.dart b/generated/googleapis/lib/run/v2.dart index 33bea2f..b59d39f 100644 --- a/generated/googleapis/lib/run/v2.dart +++ b/generated/googleapis/lib/run/v2.dart
@@ -1554,7 +1554,11 @@ }; } -/// Represents a specific Cloud SQL instance. +/// Represents a set of Cloud SQL instances. +/// +/// Each one will be available under /cloudsql/\[instance\]. Visit +/// https://cloud.google.com/sql/docs/mysql/connect-run for more information on +/// how to connect Cloud SQL and Cloud Run. class GoogleCloudRunV2CloudSqlInstance { /// The Cloud SQL instance connection names, as can be found in /// https://console.cloud.google.com/sql/instances. @@ -1776,7 +1780,7 @@ /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes GoogleCloudRunV2Probe? livenessProbe; - /// Name of the container specified as a DNS_LABEL. + /// Name of the container specified as a DNS_LABEL (RFC 1123). core.String? name; /// List of ports to expose from the container. @@ -1997,6 +2001,11 @@ /// KRM-style annotations for the resource. core.Map<core.String, core.String>? annotations; + /// The number of tasks which reached phase Cancelled. + /// + /// Output only. + core.int? cancelledCount; + /// Represents time when the execution was completed. /// /// It is not guaranteed to be set in happens-before order across separate @@ -2107,6 +2116,11 @@ /// documentation. core.String? launchStage; + /// URI where logs for this execution can be found in Cloud Console. + /// + /// Output only. + core.String? logUri; + /// The unique name of this Execution. /// /// Output only. @@ -2140,6 +2154,11 @@ /// Output only. core.bool? reconciling; + /// The number of tasks which have retried at least once. + /// + /// Output only. + core.int? retriedCount; + /// The number of actively running tasks. /// /// Output only. @@ -2187,6 +2206,7 @@ GoogleCloudRunV2Execution({ this.annotations, + this.cancelledCount, this.completionTime, this.conditions, this.createTime, @@ -2198,10 +2218,12 @@ this.job, this.labels, this.launchStage, + this.logUri, this.name, this.observedGeneration, this.parallelism, this.reconciling, + this.retriedCount, this.runningCount, this.startTime, this.succeededCount, @@ -2222,6 +2244,9 @@ ), ) : null, + cancelledCount: json_.containsKey('cancelledCount') + ? json_['cancelledCount'] as core.int + : null, completionTime: json_.containsKey('completionTime') ? json_['completionTime'] as core.String : null, @@ -2259,6 +2284,9 @@ launchStage: json_.containsKey('launchStage') ? json_['launchStage'] as core.String : null, + logUri: json_.containsKey('logUri') + ? json_['logUri'] as core.String + : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, observedGeneration: json_.containsKey('observedGeneration') ? json_['observedGeneration'] as core.String @@ -2269,6 +2297,9 @@ reconciling: json_.containsKey('reconciling') ? json_['reconciling'] as core.bool : null, + retriedCount: json_.containsKey('retriedCount') + ? json_['retriedCount'] as core.int + : null, runningCount: json_.containsKey('runningCount') ? json_['runningCount'] as core.int : null, @@ -2293,6 +2324,7 @@ core.Map<core.String, core.dynamic> toJson() => { if (annotations != null) 'annotations': annotations!, + if (cancelledCount != null) 'cancelledCount': cancelledCount!, if (completionTime != null) 'completionTime': completionTime!, if (conditions != null) 'conditions': conditions!, if (createTime != null) 'createTime': createTime!, @@ -2304,11 +2336,13 @@ if (job != null) 'job': job!, if (labels != null) 'labels': labels!, if (launchStage != null) 'launchStage': launchStage!, + if (logUri != null) 'logUri': logUri!, if (name != null) 'name': name!, if (observedGeneration != null) 'observedGeneration': observedGeneration!, if (parallelism != null) 'parallelism': parallelism!, if (reconciling != null) 'reconciling': reconciling!, + if (retriedCount != null) 'retriedCount': retriedCount!, if (runningCount != null) 'runningCount': runningCount!, if (startTime != null) 'startTime': startTime!, if (succeededCount != null) 'succeededCount': succeededCount!, @@ -3196,6 +3230,20 @@ /// https://cloud.google.com/run/docs/securing/using-cmek core.String? encryptionKey; + /// The action to take if the encryption key is revoked. + /// Possible string values are: + /// - "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED" : Unspecified + /// - "PREVENT_NEW" : Prevents the creation of new instances. + /// - "SHUTDOWN" : Shuts down existing instances, and prevents creation of new + /// ones. + core.String? encryptionKeyRevocationAction; + + /// If encryption_key_revocation_action is SHUTDOWN, the duration before + /// shutting down all instances. + /// + /// The minimum increment is 1 hour. + core.String? encryptionKeyShutdownDuration; + /// A system-generated fingerprint for this version of the resource. /// /// May be used to detect modification conflict during updates. @@ -3350,6 +3398,8 @@ this.createTime, this.deleteTime, this.encryptionKey, + this.encryptionKeyRevocationAction, + this.encryptionKeyShutdownDuration, this.etag, this.executionEnvironment, this.expireTime, @@ -3403,6 +3453,14 @@ encryptionKey: json_.containsKey('encryptionKey') ? json_['encryptionKey'] as core.String : null, + encryptionKeyRevocationAction: + json_.containsKey('encryptionKeyRevocationAction') + ? json_['encryptionKeyRevocationAction'] as core.String + : null, + encryptionKeyShutdownDuration: + json_.containsKey('encryptionKeyShutdownDuration') + ? json_['encryptionKeyShutdownDuration'] as core.String + : null, etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, executionEnvironment: json_.containsKey('executionEnvironment') ? json_['executionEnvironment'] as core.String @@ -3474,6 +3532,10 @@ if (createTime != null) 'createTime': createTime!, if (deleteTime != null) 'deleteTime': deleteTime!, if (encryptionKey != null) 'encryptionKey': encryptionKey!, + if (encryptionKeyRevocationAction != null) + 'encryptionKeyRevocationAction': encryptionKeyRevocationAction!, + if (encryptionKeyShutdownDuration != null) + 'encryptionKeyShutdownDuration': encryptionKeyShutdownDuration!, if (etag != null) 'etag': etag!, if (executionEnvironment != null) 'executionEnvironment': executionEnvironment!, @@ -4375,6 +4437,11 @@ /// Output only. GoogleCloudRunV2TaskAttemptResult? lastAttemptResult; + /// URI where logs for this execution can be found in Cloud Console. + /// + /// Output only. + core.String? logUri; + /// Number of retries allowed per Task, before marking this Task failed. core.int? maxRetries; @@ -4470,6 +4537,7 @@ this.job, this.labels, this.lastAttemptResult, + this.logUri, this.maxRetries, this.name, this.observedGeneration, @@ -4547,6 +4615,9 @@ json_['lastAttemptResult'] as core.Map<core.String, core.dynamic>) : null, + logUri: json_.containsKey('logUri') + ? json_['logUri'] as core.String + : null, maxRetries: json_.containsKey('maxRetries') ? json_['maxRetries'] as core.int : null, @@ -4603,6 +4674,7 @@ if (job != null) 'job': job!, if (labels != null) 'labels': labels!, if (lastAttemptResult != null) 'lastAttemptResult': lastAttemptResult!, + if (logUri != null) 'logUri': logUri!, if (maxRetries != null) 'maxRetries': maxRetries!, if (name != null) 'name': name!, if (observedGeneration != null)
diff --git a/generated/googleapis/lib/securitycenter/v1.dart b/generated/googleapis/lib/securitycenter/v1.dart index 0ad15c8..0565545 100644 --- a/generated/googleapis/lib/securitycenter/v1.dart +++ b/generated/googleapis/lib/securitycenter/v1.dart
@@ -114,9 +114,9 @@ /// /// Request parameters: /// - /// [parent] - Required. Name of the parent to groupBy. Its format is - /// "organizations/\[organization_id\], folders/\[folder_id\], or - /// projects/\[project_id\]". + /// [parent] - Required. The name of the parent to group the assets by. Its + /// format is "organizations/\[organization_id\]", "folders/\[folder_id\]", or + /// "projects/\[project_id\]". /// Value must have pattern `^folders/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -155,9 +155,9 @@ /// /// Request parameters: /// - /// [parent] - Required. Name of the parent assets should belong to. Its - /// format is "organizations/\[organization_id\], folders/\[folder_id\], or - /// projects/\[project_id\]". + /// [parent] - Required. The name of the parent that the listed assets belong + /// to. Its format is "organizations/\[organization_id\], + /// "folders/\[folder_id\]", or "projects/\[project_id\]". /// Value must have pattern `^folders/\[^/\]+$`. /// /// [compareDuration] - When compare_duration is set, the ListAssetsResult's @@ -359,8 +359,8 @@ /// /// Request parameters: /// - /// [parent] - Required. Resource name of the new BigQuery export's parent. - /// Its format is "organizations/\[organization_id\]", + /// [parent] - Required. The name of the parent resource of the new BigQuery + /// export. Its format is "organizations/\[organization_id\]", /// "folders/\[folder_id\]", or "projects/\[project_id\]". /// Value must have pattern `^folders/\[^/\]+$`. /// @@ -407,8 +407,8 @@ /// /// Request parameters: /// - /// [name] - Required. Name of the BigQuery export to delete. Its format is - /// organizations/{organization}/bigQueryExports/{export_id}, + /// [name] - Required. The name of the BigQuery export to delete. Its format + /// is organizations/{organization}/bigQueryExports/{export_id}, /// folders/{folder}/bigQueryExports/{export_id}, or /// projects/{project}/bigQueryExports/{export_id} /// Value must have pattern `^folders/\[^/\]+/bigQueryExports/\[^/\]+$`. @@ -893,8 +893,8 @@ /// Value must have pattern `^folders/\[^/\]+$`. /// /// [configId] - Required. Unique identifier provided by the client within the - /// parent scope. It must be between 1 and 128 characters, and contain - /// alphanumeric characters, underscores or hyphens only. + /// parent scope. It must be between 1 and 128 characters and contain + /// alphanumeric characters, underscores, or hyphens only. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1012,8 +1012,9 @@ /// /// Request parameters: /// - /// [parent] - Required. Name of the parent to list notification configs. Its - /// format is "organizations/\[organization_id\]", "folders/\[folder_id\]", or + /// [parent] - Required. The name of the parent in which to list the + /// notification configurations. Its format is + /// "organizations/\[organization_id\]", "folders/\[folder_id\]", or /// "projects/\[project_id\]". /// Value must have pattern `^folders/\[^/\]+$`. /// @@ -1128,7 +1129,7 @@ /// /// [parent] - Required. Resource name of the parent of sources to list. Its /// format should be "organizations/\[organization_id\], - /// folders/\[folder_id\], or projects/\[project_id\]". + /// "folders/\[folder_id\]", or "projects/\[project_id\]". /// Value must have pattern `^folders/\[^/\]+$`. /// /// [pageSize] - The maximum number of results to return in a single response. @@ -1476,7 +1477,12 @@ /// /// Request parameters: /// - /// [name] - null + /// [name] - Required. The + /// [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + /// of the finding. Example: + /// "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + /// "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + /// "projects/{project_id}/sources/{source_id}/findings/{finding_id}". /// Value must have pattern /// `^folders/\[^/\]+/sources/\[^/\]+/findings/\[^/\]+$`. /// @@ -1751,9 +1757,9 @@ /// /// Request parameters: /// - /// [parent] - Required. Name of the parent to groupBy. Its format is - /// "organizations/\[organization_id\], folders/\[folder_id\], or - /// projects/\[project_id\]". + /// [parent] - Required. The name of the parent to group the assets by. Its + /// format is "organizations/\[organization_id\]", "folders/\[folder_id\]", or + /// "projects/\[project_id\]". /// Value must have pattern `^organizations/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -1792,9 +1798,9 @@ /// /// Request parameters: /// - /// [parent] - Required. Name of the parent assets should belong to. Its - /// format is "organizations/\[organization_id\], folders/\[folder_id\], or - /// projects/\[project_id\]". + /// [parent] - Required. The name of the parent that the listed assets belong + /// to. Its format is "organizations/\[organization_id\], + /// "folders/\[folder_id\]", or "projects/\[project_id\]". /// Value must have pattern `^organizations/\[^/\]+$`. /// /// [compareDuration] - When compare_duration is set, the ListAssetsResult's @@ -2043,8 +2049,8 @@ /// /// Request parameters: /// - /// [parent] - Required. Resource name of the new BigQuery export's parent. - /// Its format is "organizations/\[organization_id\]", + /// [parent] - Required. The name of the parent resource of the new BigQuery + /// export. Its format is "organizations/\[organization_id\]", /// "folders/\[folder_id\]", or "projects/\[project_id\]". /// Value must have pattern `^organizations/\[^/\]+$`. /// @@ -2091,8 +2097,8 @@ /// /// Request parameters: /// - /// [name] - Required. Name of the BigQuery export to delete. Its format is - /// organizations/{organization}/bigQueryExports/{export_id}, + /// [name] - Required. The name of the BigQuery export to delete. Its format + /// is organizations/{organization}/bigQueryExports/{export_id}, /// folders/{folder}/bigQueryExports/{export_id}, or /// projects/{project}/bigQueryExports/{export_id} /// Value must have pattern `^organizations/\[^/\]+/bigQueryExports/\[^/\]+$`. @@ -2579,8 +2585,8 @@ /// Value must have pattern `^organizations/\[^/\]+$`. /// /// [configId] - Required. Unique identifier provided by the client within the - /// parent scope. It must be between 1 and 128 characters, and contain - /// alphanumeric characters, underscores or hyphens only. + /// parent scope. It must be between 1 and 128 characters and contain + /// alphanumeric characters, underscores, or hyphens only. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -2700,8 +2706,9 @@ /// /// Request parameters: /// - /// [parent] - Required. Name of the parent to list notification configs. Its - /// format is "organizations/\[organization_id\]", "folders/\[folder_id\]", or + /// [parent] - Required. The name of the parent in which to list the + /// notification configurations. Its format is + /// "organizations/\[organization_id\]", "folders/\[folder_id\]", or /// "projects/\[project_id\]". /// Value must have pattern `^organizations/\[^/\]+$`. /// @@ -3123,7 +3130,7 @@ /// /// [parent] - Required. Resource name of the parent of sources to list. Its /// format should be "organizations/\[organization_id\], - /// folders/\[folder_id\], or projects/\[project_id\]". + /// "folders/\[folder_id\]", or "projects/\[project_id\]". /// Value must have pattern `^organizations/\[^/\]+$`. /// /// [pageSize] - The maximum number of results to return in a single response. @@ -3655,7 +3662,12 @@ /// /// Request parameters: /// - /// [name] - null + /// [name] - Required. The + /// [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + /// of the finding. Example: + /// "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + /// "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + /// "projects/{project_id}/sources/{source_id}/findings/{finding_id}". /// Value must have pattern /// `^organizations/\[^/\]+/sources/\[^/\]+/findings/\[^/\]+$`. /// @@ -3839,9 +3851,9 @@ /// /// Request parameters: /// - /// [parent] - Required. Name of the parent to groupBy. Its format is - /// "organizations/\[organization_id\], folders/\[folder_id\], or - /// projects/\[project_id\]". + /// [parent] - Required. The name of the parent to group the assets by. Its + /// format is "organizations/\[organization_id\]", "folders/\[folder_id\]", or + /// "projects/\[project_id\]". /// Value must have pattern `^projects/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -3880,9 +3892,9 @@ /// /// Request parameters: /// - /// [parent] - Required. Name of the parent assets should belong to. Its - /// format is "organizations/\[organization_id\], folders/\[folder_id\], or - /// projects/\[project_id\]". + /// [parent] - Required. The name of the parent that the listed assets belong + /// to. Its format is "organizations/\[organization_id\], + /// "folders/\[folder_id\]", or "projects/\[project_id\]". /// Value must have pattern `^projects/\[^/\]+$`. /// /// [compareDuration] - When compare_duration is set, the ListAssetsResult's @@ -4084,8 +4096,8 @@ /// /// Request parameters: /// - /// [parent] - Required. Resource name of the new BigQuery export's parent. - /// Its format is "organizations/\[organization_id\]", + /// [parent] - Required. The name of the parent resource of the new BigQuery + /// export. Its format is "organizations/\[organization_id\]", /// "folders/\[folder_id\]", or "projects/\[project_id\]". /// Value must have pattern `^projects/\[^/\]+$`. /// @@ -4132,8 +4144,8 @@ /// /// Request parameters: /// - /// [name] - Required. Name of the BigQuery export to delete. Its format is - /// organizations/{organization}/bigQueryExports/{export_id}, + /// [name] - Required. The name of the BigQuery export to delete. Its format + /// is organizations/{organization}/bigQueryExports/{export_id}, /// folders/{folder}/bigQueryExports/{export_id}, or /// projects/{project}/bigQueryExports/{export_id} /// Value must have pattern `^projects/\[^/\]+/bigQueryExports/\[^/\]+$`. @@ -4619,8 +4631,8 @@ /// Value must have pattern `^projects/\[^/\]+$`. /// /// [configId] - Required. Unique identifier provided by the client within the - /// parent scope. It must be between 1 and 128 characters, and contain - /// alphanumeric characters, underscores or hyphens only. + /// parent scope. It must be between 1 and 128 characters and contain + /// alphanumeric characters, underscores, or hyphens only. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -4738,8 +4750,9 @@ /// /// Request parameters: /// - /// [parent] - Required. Name of the parent to list notification configs. Its - /// format is "organizations/\[organization_id\]", "folders/\[folder_id\]", or + /// [parent] - Required. The name of the parent in which to list the + /// notification configurations. Its format is + /// "organizations/\[organization_id\]", "folders/\[folder_id\]", or /// "projects/\[project_id\]". /// Value must have pattern `^projects/\[^/\]+$`. /// @@ -4854,7 +4867,7 @@ /// /// [parent] - Required. Resource name of the parent of sources to list. Its /// format should be "organizations/\[organization_id\], - /// folders/\[folder_id\], or projects/\[project_id\]". + /// "folders/\[folder_id\]", or "projects/\[project_id\]". /// Value must have pattern `^projects/\[^/\]+$`. /// /// [pageSize] - The maximum number of results to return in a single response. @@ -5202,7 +5215,12 @@ /// /// Request parameters: /// - /// [name] - null + /// [name] - Required. The + /// [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + /// of the finding. Example: + /// "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + /// "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + /// "projects/{project_id}/sources/{source_id}/findings/{finding_id}". /// Value must have pattern /// `^projects/\[^/\]+/sources/\[^/\]+/findings/\[^/\]+$`. /// @@ -6018,9 +6036,11 @@ }; } -/// Representa a single contact's email address +/// The email address of a contact. class Contact { - /// An email address e.g. "person123@company.com" + /// An email address. + /// + /// For example, "`person123@company.com`". core.String? email; Contact({ @@ -6881,7 +6901,7 @@ /// otherwise addressed and is no longer active. core.String? state; - /// Represents vulnerability-specific fields like CVE and CVS scores. + /// Represents vulnerability-specific fields like CVE and CVSS scores. /// /// CVE stands for Common Vulnerabilities and Exposures /// (https://cve.mitre.org/about/) @@ -7193,7 +7213,7 @@ /// Configures how to deliver Findings to BigQuery Instance. class GoogleCloudSecuritycenterV1BigQueryExport { - /// The time at which the big query export was created. + /// The time at which the BigQuery export was created. /// /// This field is set by the server and will be ignored if provided on export /// on creation. @@ -7225,7 +7245,7 @@ /// literals `true` and `false` without quotes. core.String? filter; - /// Email address of the user who last edited the big query export. + /// Email address of the user who last edited the BigQuery export. /// /// This field is set by the server and will be ignored if provided on export /// creation or update. @@ -7244,13 +7264,13 @@ /// in responses, and is ignored when provided in create requests. core.String? name; - /// The service account that needs permission to create table, upload data to - /// the big query dataset. + /// The service account that needs permission to create table and upload data + /// to the BigQuery dataset. /// /// Output only. core.String? principal; - /// The most recent time at which the big export was updated. + /// The most recent time at which the BigQuery export was updated. /// /// This field is set by the server and will be ignored if provided on export /// creation or update. @@ -7318,7 +7338,7 @@ /// The Role or ClusterRole referenced by the binding. Role? role; - /// Represents the subjects(s) bound to the role. + /// Represents one or more subjects that are bound to the role. /// /// Not always available for PATCH requests. core.List<Subject>? subjects; @@ -7983,17 +8003,18 @@ }; } -/// Represents what's commonly known as an Indicator of compromise (IoC) in +/// Represents what's commonly known as an _indicator of compromise_ (IoC) in /// computer forensics. /// /// This is an artifact observed on a network or in an operating system that, -/// with high confidence, indicates a computer intrusion. Reference: -/// https://en.wikipedia.org/wiki/Indicator_of_compromise +/// with high confidence, indicates a computer intrusion. For more information, +/// see +/// [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise). class Indicator { /// List of domains associated to the Finding. core.List<core.String>? domains; - /// List of ip addresses associated to the Finding. + /// The list of IP addresses that are associated with the finding. core.List<core.String>? ipAddresses; /// The list of matched signatures indicating that the given process is @@ -8048,8 +8069,7 @@ /// Rootkit name when available. core.String? name; - /// True when unexpected modifications of kernel read-only data memory are - /// present. + /// True when unexpected modifications of kernel code memory are present. core.bool? unexpectedCodeModification; /// True when `ftrace` points are present with callbacks pointing to regions @@ -8073,7 +8093,8 @@ /// Such processes are in the run queue, but not in the process task list. core.bool? unexpectedProcessesInRunqueue; - /// Flag indicating unexpected modifications of kernel read-only data memory. + /// True when unexpected modifications of kernel read-only data memory are + /// present. core.bool? unexpectedReadOnlyDataModification; /// True when system call handlers that are are not in the expected kernel or @@ -8149,7 +8170,7 @@ }; } -/// Kubernetes related attributes. +/// Kubernetes-related attributes. class Kubernetes { /// Provides information on any Kubernetes access reviews (i.e. privilege /// checks) relevant to the finding. @@ -9654,13 +9675,6 @@ } /// Request message for updating a finding's state. -/// -/// The -/// [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) -/// of the finding. Example: -/// "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", -/// "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", -/// "projects/{project_id}/sources/{source_id}/findings/{finding_id}". class SetFindingStateRequest { /// The time at which the updated state takes effect. ///
diff --git a/generated/googleapis/lib/servicecontrol/v1.dart b/generated/googleapis/lib/servicecontrol/v1.dart index a18f81f..9f4e8d6 100644 --- a/generated/googleapis/lib/servicecontrol/v1.dart +++ b/generated/googleapis/lib/servicecontrol/v1.dart
@@ -2163,8 +2163,6 @@ /// not fail and available quota goes down to zero but it returns error. /// - "CHECK" : Does not change any available quota. Only checks if there is /// enough quota. No lock is placed on the checked tokens neither. - /// - "RELEASE" : DEPRECATED: Increases available quota by the operation cost - /// specified for the operation. core.String? quotaMode; QuotaProperties({
diff --git a/generated/googleapis/lib/servicemanagement/v1.dart b/generated/googleapis/lib/servicemanagement/v1.dart index 8cda390..a4854ea 100644 --- a/generated/googleapis/lib/servicemanagement/v1.dart +++ b/generated/googleapis/lib/servicemanagement/v1.dart
@@ -1625,6 +1625,9 @@ /// to the backend. core.String? jwtAudience; + /// Deprecated, do not use. + core.double? minDeadline; + /// The number of seconds to wait for the completion of a long running /// operation. /// @@ -1681,6 +1684,7 @@ this.deadline, this.disableAuth, this.jwtAudience, + this.minDeadline, this.operationDeadline, this.pathTranslation, this.protocol, @@ -1701,6 +1705,9 @@ jwtAudience: json_.containsKey('jwtAudience') ? json_['jwtAudience'] as core.String : null, + minDeadline: json_.containsKey('minDeadline') + ? (json_['minDeadline'] as core.num).toDouble() + : null, operationDeadline: json_.containsKey('operationDeadline') ? (json_['operationDeadline'] as core.num).toDouble() : null, @@ -1720,6 +1727,7 @@ if (deadline != null) 'deadline': deadline!, if (disableAuth != null) 'disableAuth': disableAuth!, if (jwtAudience != null) 'jwtAudience': jwtAudience!, + if (minDeadline != null) 'minDeadline': minDeadline!, if (operationDeadline != null) 'operationDeadline': operationDeadline!, if (pathTranslation != null) 'pathTranslation': pathTranslation!, if (protocol != null) 'protocol': protocol!, @@ -1923,6 +1931,181 @@ }; } +/// Details about how and where to publish client libraries. +class ClientLibrarySettings { + /// Settings for C++ client libraries. + CppSettings? cppSettings; + + /// Settings for .NET client libraries. + DotnetSettings? dotnetSettings; + + /// Settings for Go client libraries. + GoSettings? goSettings; + + /// Settings for legacy Java features, supported in the Service YAML. + JavaSettings? javaSettings; + + /// Launch stage of this version of the API. + /// Possible string values are: + /// - "LAUNCH_STAGE_UNSPECIFIED" : Do not use this default value. + /// - "UNIMPLEMENTED" : The feature is not yet implemented. Users can not use + /// it. + /// - "PRELAUNCH" : Prelaunch features are hidden from users and are only + /// visible internally. + /// - "EARLY_ACCESS" : Early Access features are limited to a closed group of + /// testers. To use these features, you must sign up in advance and sign a + /// Trusted Tester agreement (which includes confidentiality provisions). + /// These features may be unstable, changed in backward-incompatible ways, and + /// are not guaranteed to be released. + /// - "ALPHA" : Alpha is a limited availability test for releases before they + /// are cleared for widespread use. By Alpha, all significant design issues + /// are resolved and we are in the process of verifying functionality. Alpha + /// customers need to apply for access, agree to applicable terms, and have + /// their projects allowlisted. Alpha releases don't have to be feature + /// complete, no SLAs are provided, and there are no technical support + /// obligations, but they will be far enough along that customers can actually + /// use them in test environments or for limited-use tests -- just like they + /// would in normal production cases. + /// - "BETA" : Beta is the point at which we are ready to open a release for + /// any customer to use. There are no SLA or technical support obligations in + /// a Beta release. Products will be complete from a feature perspective, but + /// may have some open outstanding issues. Beta releases are suitable for + /// limited production use cases. + /// - "GA" : GA features are open to all developers and are considered stable + /// and fully qualified for production use. + /// - "DEPRECATED" : Deprecated features are scheduled to be shut down and + /// removed. For more information, see the "Deprecation Policy" section of our + /// [Terms of Service](https://cloud.google.com/terms/) and the + /// [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) + /// documentation. + core.String? launchStage; + + /// Settings for Node client libraries. + NodeSettings? nodeSettings; + + /// Settings for PHP client libraries. + PhpSettings? phpSettings; + + /// Settings for Python client libraries. + PythonSettings? pythonSettings; + + /// When using transport=rest, the client request will encode enums as numbers + /// rather than strings. + core.bool? restNumericEnums; + + /// Settings for Ruby client libraries. + RubySettings? rubySettings; + + /// Version of the API to apply these settings to. + core.String? version; + + ClientLibrarySettings({ + this.cppSettings, + this.dotnetSettings, + this.goSettings, + this.javaSettings, + this.launchStage, + this.nodeSettings, + this.phpSettings, + this.pythonSettings, + this.restNumericEnums, + this.rubySettings, + this.version, + }); + + ClientLibrarySettings.fromJson(core.Map json_) + : this( + cppSettings: json_.containsKey('cppSettings') + ? CppSettings.fromJson( + json_['cppSettings'] as core.Map<core.String, core.dynamic>) + : null, + dotnetSettings: json_.containsKey('dotnetSettings') + ? DotnetSettings.fromJson(json_['dotnetSettings'] + as core.Map<core.String, core.dynamic>) + : null, + goSettings: json_.containsKey('goSettings') + ? GoSettings.fromJson( + json_['goSettings'] as core.Map<core.String, core.dynamic>) + : null, + javaSettings: json_.containsKey('javaSettings') + ? JavaSettings.fromJson( + json_['javaSettings'] as core.Map<core.String, core.dynamic>) + : null, + launchStage: json_.containsKey('launchStage') + ? json_['launchStage'] as core.String + : null, + nodeSettings: json_.containsKey('nodeSettings') + ? NodeSettings.fromJson( + json_['nodeSettings'] as core.Map<core.String, core.dynamic>) + : null, + phpSettings: json_.containsKey('phpSettings') + ? PhpSettings.fromJson( + json_['phpSettings'] as core.Map<core.String, core.dynamic>) + : null, + pythonSettings: json_.containsKey('pythonSettings') + ? PythonSettings.fromJson(json_['pythonSettings'] + as core.Map<core.String, core.dynamic>) + : null, + restNumericEnums: json_.containsKey('restNumericEnums') + ? json_['restNumericEnums'] as core.bool + : null, + rubySettings: json_.containsKey('rubySettings') + ? RubySettings.fromJson( + json_['rubySettings'] as core.Map<core.String, core.dynamic>) + : null, + version: json_.containsKey('version') + ? json_['version'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (cppSettings != null) 'cppSettings': cppSettings!, + if (dotnetSettings != null) 'dotnetSettings': dotnetSettings!, + if (goSettings != null) 'goSettings': goSettings!, + if (javaSettings != null) 'javaSettings': javaSettings!, + if (launchStage != null) 'launchStage': launchStage!, + if (nodeSettings != null) 'nodeSettings': nodeSettings!, + if (phpSettings != null) 'phpSettings': phpSettings!, + if (pythonSettings != null) 'pythonSettings': pythonSettings!, + if (restNumericEnums != null) 'restNumericEnums': restNumericEnums!, + if (rubySettings != null) 'rubySettings': rubySettings!, + if (version != null) 'version': version!, + }; +} + +/// Required information for every language. +class CommonLanguageSettings { + /// The destination where API teams want this client library to be published. + core.List<core.String>? destinations; + + /// Link to automatically generated reference documentation. + /// + /// Example: https://cloud.google.com/nodejs/docs/reference/asset/latest + core.String? referenceDocsUri; + + CommonLanguageSettings({ + this.destinations, + this.referenceDocsUri, + }); + + CommonLanguageSettings.fromJson(core.Map json_) + : this( + destinations: json_.containsKey('destinations') + ? (json_['destinations'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + referenceDocsUri: json_.containsKey('referenceDocsUri') + ? json_['referenceDocsUri'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (destinations != null) 'destinations': destinations!, + if (referenceDocsUri != null) 'referenceDocsUri': referenceDocsUri!, + }; +} + /// Output generated from semantically comparing two versions of a service /// configuration. /// @@ -2215,14 +2398,7 @@ /// Selects and configures the service controller used by the service. /// -/// The service controller handles two things: - **What is allowed:** for each -/// API request, Chemist checks the project status, activation status, abuse -/// status, billing status, service status, location restrictions, VPC Service -/// Controls, SuperQuota, and other policies. - **What has happened:** for each -/// API response, Chemist reports the telemetry data to analytics, auditing, -/// billing, eventing, logging, monitoring, sawmill, and tracing. Chemist also -/// accepts telemetry data not associated with API traffic, such as billing -/// metrics. Example: control: environment: servicecontrol.googleapis.com +/// Example: control: environment: servicecontrol.googleapis.com class Control { /// The service controller environment to use. /// @@ -2247,6 +2423,28 @@ }; } +/// Settings for C++ client libraries. +class CppSettings { + /// Some settings. + CommonLanguageSettings? common; + + CppSettings({ + this.common, + }); + + CppSettings.fromJson(core.Map json_) + : this( + common: json_.containsKey('common') + ? CommonLanguageSettings.fromJson( + json_['common'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (common != null) 'common': common!, + }; +} + /// Customize service error responses. /// /// For example, list any service specific protobuf types that can appear in @@ -2505,6 +2703,28 @@ /// A documentation rule provides information about individual API elements. typedef DocumentationRule = $DocumentationRule; +/// Settings for Dotnet client libraries. +class DotnetSettings { + /// Some settings. + CommonLanguageSettings? common; + + DotnetSettings({ + this.common, + }); + + DotnetSettings.fromJson(core.Map json_) + : this( + common: json_.containsKey('common') + ? CommonLanguageSettings.fromJson( + json_['common'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (common != null) 'common': common!, + }; +} + /// `Endpoint` describes a network address of a service that serves a set of /// APIs. /// @@ -2519,50 +2739,7 @@ /// content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls /// to be passed to the API frontend, for it # to decide whether the subsequent /// cross-origin request is allowed # to proceed. allow_cors: true -class Endpoint { - /// Allowing - /// [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka - /// cross-domain traffic, would allow the backends served from this endpoint - /// to receive and respond to HTTP OPTIONS requests. - /// - /// The response will be used by the browser to determine whether the - /// subsequent cross-origin request is allowed to proceed. - core.bool? allowCors; - - /// The canonical name of this endpoint. - core.String? name; - - /// The specification of an Internet routable address of API frontend that - /// will handle requests to this - /// [API Endpoint](https://cloud.google.com/apis/design/glossary). - /// - /// It should be either a valid IPv4 address or a fully-qualified domain name. - /// For example, "8.8.8.8" or "myservice.appspot.com". - core.String? target; - - Endpoint({ - this.allowCors, - this.name, - this.target, - }); - - Endpoint.fromJson(core.Map json_) - : this( - allowCors: json_.containsKey('allowCors') - ? json_['allowCors'] as core.bool - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - target: json_.containsKey('target') - ? json_['target'] as core.String - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (allowCors != null) 'allowCors': allowCors!, - if (name != null) 'name': name!, - if (target != null) 'target': target!, - }; -} +typedef Endpoint = $Endpoint; /// Enum type definition. class Enum { @@ -2928,6 +3105,28 @@ /// Encapsulates settings provided to GetIamPolicy. typedef GetPolicyOptions = $GetPolicyOptions; +/// Settings for Go client libraries. +class GoSettings { + /// Some settings. + CommonLanguageSettings? common; + + GoSettings({ + this.common, + }); + + GoSettings.fromJson(core.Map json_) + : this( + common: json_.containsKey('common') + ? CommonLanguageSettings.fromJson( + json_['common'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (common != null) 'common': common!, + }; +} + /// Defines the HTTP configuration for an API service. /// /// It contains a list of HttpRule, each specifying the mapping of an RPC method @@ -3230,6 +3429,66 @@ }; } +/// Settings for Java client libraries. +class JavaSettings { + /// Some settings. + CommonLanguageSettings? common; + + /// The package name to use in Java. + /// + /// Clobbers the java_package option set in the protobuf. This should be used + /// **only** by APIs who have already set the + /// language_settings.java.package_name" field in gapic.yaml. API teams should + /// use the protobuf java_package option where possible. Example of a YAML + /// configuration:: publishing: java_settings: library_package: + /// com.google.cloud.pubsub.v1 + core.String? libraryPackage; + + /// Configure the Java class name to use instead of the service's for its + /// corresponding generated GAPIC client. + /// + /// Keys are fully-qualified service names as they appear in the protobuf + /// (including the full the language_settings.java.interface_names" field in + /// gapic.yaml. API teams should otherwise use the service name as it appears + /// in the protobuf. Example of a YAML configuration:: publishing: + /// java_settings: service_class_names: - google.pubsub.v1.Publisher: + /// TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin + core.Map<core.String, core.String>? serviceClassNames; + + JavaSettings({ + this.common, + this.libraryPackage, + this.serviceClassNames, + }); + + JavaSettings.fromJson(core.Map json_) + : this( + common: json_.containsKey('common') + ? CommonLanguageSettings.fromJson( + json_['common'] as core.Map<core.String, core.dynamic>) + : null, + libraryPackage: json_.containsKey('libraryPackage') + ? json_['libraryPackage'] as core.String + : null, + serviceClassNames: json_.containsKey('serviceClassNames') + ? (json_['serviceClassNames'] + as core.Map<core.String, core.dynamic>) + .map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (common != null) 'common': common!, + if (libraryPackage != null) 'libraryPackage': libraryPackage!, + if (serviceClassNames != null) 'serviceClassNames': serviceClassNames!, + }; +} + /// Specifies a location to extract JWT from an API request. typedef JwtLocation = $JwtLocation; @@ -3522,6 +3781,66 @@ }; } +/// Describes settings to use when generating API methods that use the +/// long-running operation pattern. +/// +/// All default values below are from those used in the client library +/// generators (e.g. +/// [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)). +class LongRunning { + /// Initial delay after which the first poll request will be made. + /// + /// Default value: 5 seconds. + core.String? initialPollDelay; + + /// Maximum time between two subsequent poll requests. + /// + /// Default value: 45 seconds. + core.String? maxPollDelay; + + /// Multiplier to gradually increase delay between subsequent polls until it + /// reaches max_poll_delay. + /// + /// Default value: 1.5. + core.double? pollDelayMultiplier; + + /// Total polling timeout. + /// + /// Default value: 5 minutes. + core.String? totalPollTimeout; + + LongRunning({ + this.initialPollDelay, + this.maxPollDelay, + this.pollDelayMultiplier, + this.totalPollTimeout, + }); + + LongRunning.fromJson(core.Map json_) + : this( + initialPollDelay: json_.containsKey('initialPollDelay') + ? json_['initialPollDelay'] as core.String + : null, + maxPollDelay: json_.containsKey('maxPollDelay') + ? json_['maxPollDelay'] as core.String + : null, + pollDelayMultiplier: json_.containsKey('pollDelayMultiplier') + ? (json_['pollDelayMultiplier'] as core.num).toDouble() + : null, + totalPollTimeout: json_.containsKey('totalPollTimeout') + ? json_['totalPollTimeout'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (initialPollDelay != null) 'initialPollDelay': initialPollDelay!, + if (maxPollDelay != null) 'maxPollDelay': maxPollDelay!, + if (pollDelayMultiplier != null) + 'pollDelayMultiplier': pollDelayMultiplier!, + if (totalPollTimeout != null) 'totalPollTimeout': totalPollTimeout!, + }; +} + /// The full representation of a Service that is managed by Google Service /// Management. class ManagedService { @@ -3629,6 +3948,46 @@ }; } +/// Describes the generator configuration for a method. +class MethodSettings { + /// Describes settings to use for long-running operations when generating API + /// methods for RPCs. + /// + /// Complements RPCs that use the annotations in + /// google/longrunning/operations.proto. Example of a YAML configuration:: + /// publishing: method_behavior: - selector: CreateAdDomain long_running: + /// initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 + /// max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: + /// 54000 # 90 minutes + LongRunning? longRunning; + + /// The fully qualified name of the method, for which the options below apply. + /// + /// This is used to find the method to apply the options. + core.String? selector; + + MethodSettings({ + this.longRunning, + this.selector, + }); + + MethodSettings.fromJson(core.Map json_) + : this( + longRunning: json_.containsKey('longRunning') + ? LongRunning.fromJson( + json_['longRunning'] as core.Map<core.String, core.dynamic>) + : null, + selector: json_.containsKey('selector') + ? json_['selector'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (longRunning != null) 'longRunning': longRunning!, + if (selector != null) 'selector': selector!, + }; +} + /// Defines a metric type and its schema. /// /// Once a metric descriptor is created, deleting or altering it stops data @@ -4194,6 +4553,28 @@ /// the consumer project). typedef MonitoringDestination = $MonitoringDestination; +/// Settings for Node client libraries. +class NodeSettings { + /// Some settings. + CommonLanguageSettings? common; + + NodeSettings({ + this.common, + }); + + NodeSettings.fromJson(core.Map json_) + : this( + common: json_.containsKey('common') + ? CommonLanguageSettings.fromJson( + json_['common'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (common != null) 'common': common!, + }; +} + /// OAuth scopes are a way to define data and permissions on data. /// /// For example, there are scopes defined for "Read-only access to Google @@ -4346,6 +4727,28 @@ }; } +/// Settings for Php client libraries. +class PhpSettings { + /// Some settings. + CommonLanguageSettings? common; + + PhpSettings({ + this.common, + }); + + PhpSettings.fromJson(core.Map json_) + : this( + common: json_.containsKey('common') + ? CommonLanguageSettings.fromJson( + json_['common'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (common != null) 'common': common!, + }; +} + /// An Identity and Access Management (IAM) policy, which specifies access /// controls for Google Cloud resources. /// @@ -4467,6 +4870,146 @@ }; } +/// This message configures the settings for publishing +/// [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) +/// generated from the service config. +class Publishing { + /// Used as a tracking tag when collecting data about the APIs developer + /// relations artifacts like docs, packages delivered to package managers, + /// etc. + /// + /// Example: "speech". + core.String? apiShortName; + + /// GitHub teams to be added to CODEOWNERS in the directory in GitHub + /// containing source code for the client libraries for this API. + core.List<core.String>? codeownerGithubTeams; + + /// A prefix used in sample code when demarking regions to be included in + /// documentation. + core.String? docTagPrefix; + + /// Link to product home page. + /// + /// Example: https://cloud.google.com/asset-inventory/docs/overview + core.String? documentationUri; + + /// GitHub label to apply to issues and pull requests opened for this API. + core.String? githubLabel; + + /// Client library settings. + /// + /// If the same version string appears multiple times in this list, then the + /// last one wins. Settings from earlier settings with the same version string + /// are discarded. + core.List<ClientLibrarySettings>? librarySettings; + + /// A list of API method settings, e.g. the behavior for methods that use the + /// long-running operation pattern. + core.List<MethodSettings>? methodSettings; + + /// Link to a place that API users can report issues. + /// + /// Example: + /// https://issuetracker.google.com/issues/new?component=190865&template=1161103 + core.String? newIssueUri; + + /// For whom the client library is being published. + /// Possible string values are: + /// - "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED" : Not useful. + /// - "CLOUD" : Google Cloud Platform Org. + /// - "ADS" : Ads (Advertising) Org. + /// - "PHOTOS" : Photos Org. + /// - "STREET_VIEW" : Street View Org. + core.String? organization; + + Publishing({ + this.apiShortName, + this.codeownerGithubTeams, + this.docTagPrefix, + this.documentationUri, + this.githubLabel, + this.librarySettings, + this.methodSettings, + this.newIssueUri, + this.organization, + }); + + Publishing.fromJson(core.Map json_) + : this( + apiShortName: json_.containsKey('apiShortName') + ? json_['apiShortName'] as core.String + : null, + codeownerGithubTeams: json_.containsKey('codeownerGithubTeams') + ? (json_['codeownerGithubTeams'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + docTagPrefix: json_.containsKey('docTagPrefix') + ? json_['docTagPrefix'] as core.String + : null, + documentationUri: json_.containsKey('documentationUri') + ? json_['documentationUri'] as core.String + : null, + githubLabel: json_.containsKey('githubLabel') + ? json_['githubLabel'] as core.String + : null, + librarySettings: json_.containsKey('librarySettings') + ? (json_['librarySettings'] as core.List) + .map((value) => ClientLibrarySettings.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + methodSettings: json_.containsKey('methodSettings') + ? (json_['methodSettings'] as core.List) + .map((value) => MethodSettings.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + newIssueUri: json_.containsKey('newIssueUri') + ? json_['newIssueUri'] as core.String + : null, + organization: json_.containsKey('organization') + ? json_['organization'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (apiShortName != null) 'apiShortName': apiShortName!, + if (codeownerGithubTeams != null) + 'codeownerGithubTeams': codeownerGithubTeams!, + if (docTagPrefix != null) 'docTagPrefix': docTagPrefix!, + if (documentationUri != null) 'documentationUri': documentationUri!, + if (githubLabel != null) 'githubLabel': githubLabel!, + if (librarySettings != null) 'librarySettings': librarySettings!, + if (methodSettings != null) 'methodSettings': methodSettings!, + if (newIssueUri != null) 'newIssueUri': newIssueUri!, + if (organization != null) 'organization': organization!, + }; +} + +/// Settings for Python client libraries. +class PythonSettings { + /// Some settings. + CommonLanguageSettings? common; + + PythonSettings({ + this.common, + }); + + PythonSettings.fromJson(core.Map json_) + : this( + common: json_.containsKey('common') + ? CommonLanguageSettings.fromJson( + json_['common'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (common != null) 'common': common!, + }; +} + /// Quota configuration helps to achieve fairness and budgeting in service /// usage. /// @@ -4640,6 +5183,28 @@ }; } +/// Settings for Ruby client libraries. +class RubySettings { + /// Some settings. + CommonLanguageSettings? common; + + RubySettings({ + this.common, + }); + + RubySettings.fromJson(core.Map json_) + : this( + common: json_.containsKey('common') + ? CommonLanguageSettings.fromJson( + json_['common'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (common != null) 'common': common!, + }; +} + /// `Service` is the root object of Google API service configuration (service /// config). /// @@ -4745,6 +5310,11 @@ /// The Google project that owns this service. core.String? producerProjectId; + /// Settings for + /// [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) + /// generated from APIs defined as protocol buffers. + Publishing? publishing; + /// Quota configuration. Quota? quota; @@ -4801,6 +5371,7 @@ this.monitoring, this.name, this.producerProjectId, + this.publishing, this.quota, this.sourceInfo, this.systemParameters, @@ -4896,6 +5467,10 @@ producerProjectId: json_.containsKey('producerProjectId') ? json_['producerProjectId'] as core.String : null, + publishing: json_.containsKey('publishing') + ? Publishing.fromJson( + json_['publishing'] as core.Map<core.String, core.dynamic>) + : null, quota: json_.containsKey('quota') ? Quota.fromJson( json_['quota'] as core.Map<core.String, core.dynamic>) @@ -4950,6 +5525,7 @@ if (monitoring != null) 'monitoring': monitoring!, if (name != null) 'name': name!, if (producerProjectId != null) 'producerProjectId': producerProjectId!, + if (publishing != null) 'publishing': publishing!, if (quota != null) 'quota': quota!, if (sourceInfo != null) 'sourceInfo': sourceInfo!, if (systemParameters != null) 'systemParameters': systemParameters!,
diff --git a/generated/googleapis/lib/servicenetworking/v1.dart b/generated/googleapis/lib/servicenetworking/v1.dart index 5d86400..e5d9cf4 100644 --- a/generated/googleapis/lib/servicenetworking/v1.dart +++ b/generated/googleapis/lib/servicenetworking/v1.dart
@@ -1427,6 +1427,13 @@ /// Request to create a subnetwork in a previously peered service network. class AddSubnetworkRequest { + /// Defines the allowSubnetCidrRoutesOverlap field of the subnet, e.g. + /// Available in alpha and beta according to + /// [Compute API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/subnetworks/insert) + /// + /// Optional. + core.bool? allowSubnetCidrRoutesOverlap; + /// The IAM permission check determines whether the consumer project has /// 'servicenetworking.services.use' permission or not. /// @@ -1477,9 +1484,10 @@ /// The prefix length of the subnet's IP address range. /// - /// Use CIDR range notation, such as `30` to provision a subnet with an - /// `x.x.x.x/30` CIDR range. The IP address range is drawn from a pool of - /// available ranges in the service consumer's allocated range. + /// Use CIDR range notation, such as `29` to provision a subnet with an + /// `x.x.x.x/29` CIDR range. The IP address range is drawn from a pool of + /// available ranges in the service consumer's allocated range. GCE disallows + /// subnets with prefix_length \> 29 /// /// Required. core.int? ipPrefixLength; @@ -1537,6 +1545,15 @@ /// Optional. core.List<core.String>? requestedRanges; + /// Defines the role field of the subnet, e.g. 'ACTIVE'. + /// + /// For information about the roles that can be set using this field, see + /// [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) + /// in the Compute API documentation. + /// + /// Optional. + core.String? role; + /// A list of secondary IP ranges to be created within the new subnetwork. /// /// Optional. @@ -1567,6 +1584,7 @@ core.bool? useCustomComputeIdempotencyWindow; AddSubnetworkRequest({ + this.allowSubnetCidrRoutesOverlap, this.checkServiceNetworkingUsePermission, this.computeIdempotencyWindow, this.consumer, @@ -1579,6 +1597,7 @@ this.region, this.requestedAddress, this.requestedRanges, + this.role, this.secondaryIpRangeSpecs, this.subnetwork, this.subnetworkUsers, @@ -1587,6 +1606,10 @@ AddSubnetworkRequest.fromJson(core.Map json_) : this( + allowSubnetCidrRoutesOverlap: + json_.containsKey('allowSubnetCidrRoutesOverlap') + ? json_['allowSubnetCidrRoutesOverlap'] as core.bool + : null, checkServiceNetworkingUsePermission: json_.containsKey('checkServiceNetworkingUsePermission') ? json_['checkServiceNetworkingUsePermission'] as core.bool @@ -1628,6 +1651,7 @@ .map((value) => value as core.String) .toList() : null, + role: json_.containsKey('role') ? json_['role'] as core.String : null, secondaryIpRangeSpecs: json_.containsKey('secondaryIpRangeSpecs') ? (json_['secondaryIpRangeSpecs'] as core.List) .map((value) => SecondaryIpRangeSpec.fromJson( @@ -1649,6 +1673,8 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (allowSubnetCidrRoutesOverlap != null) + 'allowSubnetCidrRoutesOverlap': allowSubnetCidrRoutesOverlap!, if (checkServiceNetworkingUsePermission != null) 'checkServiceNetworkingUsePermission': checkServiceNetworkingUsePermission!, @@ -1666,6 +1692,7 @@ if (region != null) 'region': region!, if (requestedAddress != null) 'requestedAddress': requestedAddress!, if (requestedRanges != null) 'requestedRanges': requestedRanges!, + if (role != null) 'role': role!, if (secondaryIpRangeSpecs != null) 'secondaryIpRangeSpecs': secondaryIpRangeSpecs!, if (subnetwork != null) 'subnetwork': subnetwork!, @@ -2353,9 +2380,10 @@ class RangeReservation { /// The size of the desired subnet. /// - /// Use usual CIDR range notation. For example, '30' to find unused x.x.x.x/30 + /// Use usual CIDR range notation. For example, '29' to find unused x.x.x.x/29 /// CIDR range. The goal is to determine if one of the allocated ranges has - /// enough free space for a subnet of the requested size. + /// enough free space for a subnet of the requested size. GCE disallows + /// subnets with prefix_length \> 29 /// /// Required. core.int? ipPrefixLength; @@ -2372,9 +2400,10 @@ /// The size of the desired secondary ranges for the subnet. /// - /// Use usual CIDR range notation. For example, '30' to find unused x.x.x.x/30 + /// Use usual CIDR range notation. For example, '29' to find unused x.x.x.x/29 /// CIDR range. The goal is to determine that the allocated ranges have enough - /// free space for all the requested secondary ranges. + /// free space for all the requested secondary ranges. GCE disallows subnets + /// with prefix_length \> 29 /// /// Optional. core.List<core.int>? secondaryRangeIpPrefixLengths;
diff --git a/generated/googleapis/lib/serviceusage/v1.dart b/generated/googleapis/lib/serviceusage/v1.dart index 0f5ab4d..afc5451 100644 --- a/generated/googleapis/lib/serviceusage/v1.dart +++ b/generated/googleapis/lib/serviceusage/v1.dart
@@ -1115,66 +1115,7 @@ /// content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls /// to be passed to the API frontend, for it # to decide whether the subsequent /// cross-origin request is allowed # to proceed. allow_cors: true -class Endpoint { - /// Dot not use. - /// - /// DEPRECATED: This field is no longer supported. Instead of using aliases, - /// please specify multiple google.api.Endpoint for each of the intended - /// aliases. Additional names that this endpoint will be hosted on. - /// - /// Unimplemented. - core.List<core.String>? aliases; - - /// Allowing - /// [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka - /// cross-domain traffic, would allow the backends served from this endpoint - /// to receive and respond to HTTP OPTIONS requests. - /// - /// The response will be used by the browser to determine whether the - /// subsequent cross-origin request is allowed to proceed. - core.bool? allowCors; - - /// The canonical name of this endpoint. - core.String? name; - - /// The specification of an Internet routable address of API frontend that - /// will handle requests to this - /// [API Endpoint](https://cloud.google.com/apis/design/glossary). - /// - /// It should be either a valid IPv4 address or a fully-qualified domain name. - /// For example, "8.8.8.8" or "myservice.appspot.com". - core.String? target; - - Endpoint({ - this.aliases, - this.allowCors, - this.name, - this.target, - }); - - Endpoint.fromJson(core.Map json_) - : this( - aliases: json_.containsKey('aliases') - ? (json_['aliases'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - allowCors: json_.containsKey('allowCors') - ? json_['allowCors'] as core.bool - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - target: json_.containsKey('target') - ? json_['target'] as core.String - : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (aliases != null) 'aliases': aliases!, - if (allowCors != null) 'allowCors': allowCors!, - if (name != null) 'name': name!, - if (target != null) 'target': target!, - }; -} +typedef Endpoint = $Endpoint; /// A service that is available for use by the consumer. class GoogleApiServiceusageV1Service {
diff --git a/generated/googleapis/lib/shared.dart b/generated/googleapis/lib/shared.dart index f035855..54cae6c 100644 --- a/generated/googleapis/lib/shared.dart +++ b/generated/googleapis/lib/shared.dart
@@ -3633,6 +3633,7 @@ /// - dataplex:v1 : GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation /// - dataplex:v1 : GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation class $ConditionExpectation { + /// The SQL expression. core.String? sqlExpression; $ConditionExpectation({ @@ -6455,8 +6456,6 @@ /// - authorizedbuyersmarketplace:v1 : SetReadyToServeRequest /// - authorizedbuyersmarketplace:v1 : SubscribeAuctionPackageRequest /// - authorizedbuyersmarketplace:v1 : UnsubscribeAuctionPackageRequest -/// - baremetalsolution:v1 : CancelOperationRequest -/// - baremetalsolution:v1 : Empty /// - baremetalsolution:v2 : DisableInteractiveSerialConsoleRequest /// - baremetalsolution:v2 : Empty /// - baremetalsolution:v2 : EnableInteractiveSerialConsoleRequest @@ -6546,6 +6545,7 @@ /// - composer:v1 : Empty /// - connectors:v1 : CancelOperationRequest /// - connectors:v1 : Empty +/// - connectors:v1 : RefreshConnectionSchemaMetadataRequest /// - connectors:v2 : Empty /// - contactcenterinsights:v1 : GoogleCloudContactcenterinsightsV1HoldData /// - contactcenterinsights:v1 : GoogleCloudContactcenterinsightsV1InterruptionData @@ -6581,8 +6581,10 @@ /// - datamigration:v1 : PromoteMigrationJobRequest /// - datamigration:v1 : RestartMigrationJobRequest /// - datamigration:v1 : ResumeMigrationJobRequest +/// - datamigration:v1 : RollbackConversionWorkspaceRequest /// - datamigration:v1 : StartMigrationJobRequest /// - datamigration:v1 : StaticIpConnectivity +/// - datamigration:v1 : StaticServiceIpConnectivity /// - datamigration:v1 : StopMigrationJobRequest /// - datamigration:v1 : VerifyMigrationJobRequest /// - datapipelines:v1 : GoogleCloudDatapipelinesV1RunPipelineRequest @@ -6598,6 +6600,7 @@ /// - dataplex:v1 : GoogleCloudDataplexV1DataQualityRuleNonNullExpectation /// - dataplex:v1 : GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation /// - dataplex:v1 : GoogleCloudDataplexV1RunDataScanRequest +/// - dataplex:v1 : GoogleCloudDataplexV1RunTaskRequest /// - dataplex:v1 : GoogleCloudDataplexV1TriggerOnDemand /// - dataplex:v1 : GoogleLongrunningCancelOperationRequest /// - dataproc:v1 : CancelJobRequest @@ -6704,6 +6707,9 @@ /// - gkehub:v1 : FleetObservabilityMembershipSpec /// - gkehub:v1 : FleetObservabilityMembershipState /// - gkehub:v1 : ScopeFeatureSpec +/// - gmail:v1 : DisableCseKeyPairRequest +/// - gmail:v1 : EnableCseKeyPairRequest +/// - gmail:v1 : ObliterateCseKeyPairRequest /// - healthcare:v1 : ArchiveUserDataMappingRequest /// - healthcare:v1 : ArchiveUserDataMappingResponse /// - healthcare:v1 : CancelOperationRequest @@ -6812,7 +6818,6 @@ /// - realtimebidding:v1 : SuspendPretargetingConfigRequest /// - realtimebidding:v1 : WatchCreativesRequest /// - recaptchaenterprise:v1 : GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentResponse -/// - recaptchaenterprise:v1 : GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest /// - recaptchaenterprise:v1 : GoogleProtobufEmpty /// - redis:v1 : Empty /// - retail:v2 : GoogleProtobufEmpty @@ -6894,6 +6899,9 @@ /// - websecurityscanner:v1 : StopScanRunRequest /// - workflowexecutions:v1 : CancelExecutionRequest /// - workflows:v1 : Empty +/// - workloadmanager:v1 : CancelOperationRequest +/// - workloadmanager:v1 : Empty +/// - workloadmanager:v1 : WriteInsightResponse /// - youtube:v3 : TestItemTestItemSnippet /// - youtube:v3 : TokenPagination /// - youtube:v3 : VideoProjectDetails @@ -6979,6 +6987,71 @@ /// Used by: /// +/// - servicemanagement:v1 : Endpoint +/// - serviceusage:v1 : Endpoint +class $Endpoint { + /// Dot not use. + /// + /// DEPRECATED: This field is no longer supported. Instead of using aliases, + /// please specify multiple google.api.Endpoint for each of the intended + /// aliases. Additional names that this endpoint will be hosted on. + /// + /// Unimplemented. + core.List<core.String>? aliases; + + /// Allowing + /// [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka + /// cross-domain traffic, would allow the backends served from this endpoint + /// to receive and respond to HTTP OPTIONS requests. + /// + /// The response will be used by the browser to determine whether the + /// subsequent cross-origin request is allowed to proceed. + core.bool? allowCors; + + /// The canonical name of this endpoint. + core.String? name; + + /// The specification of an Internet routable address of API frontend that + /// will handle requests to this + /// [API Endpoint](https://cloud.google.com/apis/design/glossary). + /// + /// It should be either a valid IPv4 address or a fully-qualified domain name. + /// For example, "8.8.8.8" or "myservice.appspot.com". + core.String? target; + + $Endpoint({ + this.aliases, + this.allowCors, + this.name, + this.target, + }); + + $Endpoint.fromJson(core.Map json_) + : this( + aliases: json_.containsKey('aliases') + ? (json_['aliases'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + allowCors: json_.containsKey('allowCors') + ? json_['allowCors'] as core.bool + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + target: json_.containsKey('target') + ? json_['target'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (aliases != null) 'aliases': aliases!, + if (allowCors != null) 'allowCors': allowCors!, + if (name != null) 'name': name!, + if (target != null) 'target': target!, + }; +} + +/// Used by: +/// /// - containeranalysis:v1 : EnvelopeSignature /// - ondemandscanning:v1 : EnvelopeSignature class $EnvelopeSignature { @@ -7160,6 +7233,10 @@ /// - "EXCHANGE_TAPJOY" : Tapjoy. /// - "EXCHANGE_VISTAR" : Vistar. /// - "EXCHANGE_DAX" : DAX. + /// - "EXCHANGE_JCD" : JCD. + /// - "EXCHANGE_PLACE_EXCHANGE" : Place Exchange. + /// - "EXCHANGE_APPLOVIN" : AppLovin. + /// - "EXCHANGE_CONNATIX" : Connatix. core.String? exchange; /// Agency ID of Google Ad Manager. @@ -7293,6 +7370,10 @@ /// - "EXCHANGE_TAPJOY" : Tapjoy. /// - "EXCHANGE_VISTAR" : Vistar. /// - "EXCHANGE_DAX" : DAX. + /// - "EXCHANGE_JCD" : JCD. + /// - "EXCHANGE_PLACE_EXCHANGE" : Place Exchange. + /// - "EXCHANGE_APPLOVIN" : AppLovin. + /// - "EXCHANGE_CONNATIX" : Connatix. core.String? exchange; /// Status of the exchange review. @@ -7405,6 +7486,10 @@ /// - "EXCHANGE_TAPJOY" : Tapjoy. /// - "EXCHANGE_VISTAR" : Vistar. /// - "EXCHANGE_DAX" : DAX. + /// - "EXCHANGE_JCD" : JCD. + /// - "EXCHANGE_PLACE_EXCHANGE" : Place Exchange. + /// - "EXCHANGE_APPLOVIN" : AppLovin. + /// - "EXCHANGE_CONNATIX" : Connatix. core.String? exchange; $ExchangeTargetingOptionDetails({ @@ -8041,6 +8126,68 @@ /// Used by: /// +/// - datamigration:v1 : ForwardSshTunnelConnectivity +/// - datastream:v1 : ForwardSshTunnelConnectivity +class $ForwardSshTunnelConnectivity { + /// Hostname for the SSH tunnel. + /// + /// Required. + core.String? hostname; + + /// Input only. + /// + /// SSH password. + core.String? password; + + /// Port for the SSH tunnel, default value is 22. + core.int? port; + + /// Input only. + /// + /// SSH private key. + core.String? privateKey; + + /// Username for the SSH tunnel. + /// + /// Required. + core.String? username; + + $ForwardSshTunnelConnectivity({ + this.hostname, + this.password, + this.port, + this.privateKey, + this.username, + }); + + $ForwardSshTunnelConnectivity.fromJson(core.Map json_) + : this( + hostname: json_.containsKey('hostname') + ? json_['hostname'] as core.String + : null, + password: json_.containsKey('password') + ? json_['password'] as core.String + : null, + port: json_.containsKey('port') ? json_['port'] as core.int : null, + privateKey: json_.containsKey('privateKey') + ? json_['privateKey'] as core.String + : null, + username: json_.containsKey('username') + ? json_['username'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (hostname != null) 'hostname': hostname!, + if (password != null) 'password': password!, + if (port != null) 'port': port!, + if (privateKey != null) 'privateKey': privateKey!, + if (username != null) 'username': username!, + }; +} + +/// Used by: +/// /// - dfareporting:v3.5 : FrequencyCap /// - dfareporting:v4 : FrequencyCap class $FrequencyCap { @@ -9186,67 +9333,6 @@ /// Used by: /// -/// - cloudchannel:v1 : GoogleTypeDecimal -/// - datapipelines:v1 : GoogleTypeDecimal -class $GoogleTypeDecimal { - /// The decimal value, as a string. - /// - /// The string representation consists of an optional sign, `+` (`U+002B`) or - /// `-` (`U+002D`), followed by a sequence of zero or more decimal digits - /// ("the integer"), optionally followed by a fraction, optionally followed by - /// an exponent. An empty string **should** be interpreted as `0`. The - /// fraction consists of a decimal point followed by zero or more decimal - /// digits. The string must contain at least one digit in either the integer - /// or the fraction. The number formed by the sign, the integer and the - /// fraction is referred to as the significand. The exponent consists of the - /// character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal - /// digits. Services **should** normalize decimal values before storing them - /// by: - Removing an explicitly-provided `+` sign (`+2.5` -\> `2.5`). - - /// Replacing a zero-length integer value with `0` (`.5` -\> `0.5`). - - /// Coercing the exponent character to upper-case, with explicit sign (`2.5e8` - /// -\> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` - /// -\> `2.5`). Services **may** perform additional normalization based on its - /// own needs and the internal decimal implementation selected, such as - /// shifting the decimal point and exponent value together (example: `2.5E-1` - /// \<-\> `0.25`). Additionally, services **may** preserve trailing zeroes in - /// the fraction to indicate increased precision, but are not required to do - /// so. Note that only the `.` character is supported to divide the integer - /// and the fraction; `,` **should not** be supported regardless of locale. - /// Additionally, thousand separators **should not** be supported. If a - /// service does support them, values **must** be normalized. The ENBF grammar - /// is: DecimalString = '' | \[Sign\] Significand \[Exponent\]; Sign = '+' | - /// '-'; Significand = Digits '.' | \[Digits\] '.' Digits; Exponent = ('e' | - /// 'E') \[Sign\] Digits; Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | - /// '7' | '8' | '9' }; Services **should** clearly document the range of - /// supported values, the maximum supported precision (total number of - /// digits), and, if applicable, the scale (number of digits after the decimal - /// point), as well as how it behaves when receiving out-of-bounds values. - /// Services **may** choose to accept values passed as input even when the - /// value has a higher precision or scale than the service supports, and - /// **should** round the value to fit the supported scale. Alternatively, the - /// service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) - /// if precision would be lost. Services **should** error with `400 Bad - /// Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value - /// outside of the supported range. - core.String? value; - - $GoogleTypeDecimal({ - this.value, - }); - - $GoogleTypeDecimal.fromJson(core.Map json_) - : this( - value: - json_.containsKey('value') ? json_['value'] as core.String : null, - ); - - core.Map<core.String, core.dynamic> toJson() => { - if (value != null) 'value': value!, - }; -} - -/// Used by: -/// /// - containeranalysis:v1 : GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness /// - ondemandscanning:v1 : GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness class $GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness { @@ -9798,7 +9884,9 @@ /// A Google Cloud resource that is allowed to ingress the perimeter. /// /// Requests from these resources will be allowed to access perimeter data. - /// Currently only projects are allowed. Format: `projects/{project_number}` + /// Currently only projects and VPCs are allowed. Project format: + /// `projects/{project_number}` VPC format: + /// `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. /// The project may be in any Google Cloud organization, not just the /// organization that the perimeter is defined in. `*` is not allowed, the /// case of allowing all Google Cloud resources only is not supported. @@ -11697,6 +11785,7 @@ /// - translate:v3 : Location /// - vmmigration:v1 : Location /// - workflows:v1 : Location +/// - workloadmanager:v1 : Location class $Location00 { /// The friendly name for this location, typically a nearby city name. /// @@ -17735,6 +17824,34 @@ /// Used by: /// +/// - translate:v3 : GcsInputSource +/// - translate:v3 : GcsSource +class $Source { + /// Source data URI. + /// + /// For example, `gs://my_bucket/my_object`. + /// + /// Required. + core.String? inputUri; + + $Source({ + this.inputUri, + }); + + $Source.fromJson(core.Map json_) + : this( + inputUri: json_.containsKey('inputUri') + ? json_['inputUri'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (inputUri != null) 'inputUri': inputUri!, + }; +} + +/// Used by: +/// /// - servicemanagement:v1 : SourceContext /// - serviceusage:v1 : SourceContext class $SourceContext { @@ -17804,7 +17921,6 @@ /// - appengine:v1 : Status /// - artifactregistry:v1 : Status /// - assuredworkloads:v1 : GoogleRpcStatus -/// - baremetalsolution:v1 : Status /// - baremetalsolution:v2 : Status /// - batch:v1 : Status /// - beyondcorp:v1 : GoogleRpcStatus @@ -17835,6 +17951,7 @@ /// - container:v1 : Status /// - containeranalysis:v1 : Status /// - contentwarehouse:v1 : GoogleRpcStatus +/// - datacatalog:v1 : Status /// - datafusion:v1 : Status /// - datamigration:v1 : Status /// - datapipelines:v1 : GoogleRpcStatus @@ -17908,6 +18025,7 @@ /// - vmmigration:v1 : Status /// - webrisk:v1 : GoogleRpcStatus /// - workflows:v1 : Status +/// - workloadmanager:v1 : Status class $Status { /// The status code, which should be an enum value of google.rpc.Code. core.int? code; @@ -18986,7 +19104,6 @@ /// - cloudchannel:v1 : GoogleTypeTimeZone /// - content:v2.1 : TimeZone /// - contentwarehouse:v1 : GoogleTypeTimeZone -/// - datapipelines:v1 : GoogleTypeTimeZone /// - documentai:v1 : GoogleTypeTimeZone /// - localservices:v1 : GoogleTypeTimeZone /// - osconfig:v1 : TimeZone
diff --git a/generated/googleapis/lib/sheets/v4.dart b/generated/googleapis/lib/sheets/v4.dart index 5c32cb8..4055893 100644 --- a/generated/googleapis/lib/sheets/v4.dart +++ b/generated/googleapis/lib/sheets/v4.dart
@@ -180,12 +180,13 @@ /// /// The caller must specify the spreadsheet ID. By default, data within grids /// is not returned. You can include grid data in one of 2 ways: * Specify a - /// field mask listing your desired fields using the `fields` URL parameter in - /// HTTP * Set the includeGridData URL parameter to true. If a field mask is - /// set, the `includeGridData` parameter is ignored For large spreadsheets, as - /// a best practice, retrieve only the specific spreadsheet fields that you - /// want. To retrieve only subsets of spreadsheet data, use the ranges URL - /// parameter. Ranges are specified using \[A1 + /// [field mask](https://developers.google.com/sheets/api/guides/field-masks) + /// listing your desired fields using the `fields` URL parameter in HTTP * Set + /// the includeGridData URL parameter to true. If a field mask is set, the + /// `includeGridData` parameter is ignored For large spreadsheets, as a best + /// practice, retrieve only the specific spreadsheet fields that you want. To + /// retrieve only subsets of spreadsheet data, use the ranges URL parameter. + /// Ranges are specified using \[A1 /// notation\](/sheets/api/guides/concepts#cell). You can define a single cell /// (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also /// get cells from other sheets within the same spreadsheet (for example, @@ -243,11 +244,12 @@ /// can be specified. Specifying one or more data filters returns the portions /// of the spreadsheet that intersect ranges matched by any of the filters. By /// default, data within grids is not returned. You can include grid data one - /// of 2 ways: * Specify a field mask listing your desired fields using the - /// `fields` URL parameter in HTTP * Set the includeGridData parameter to - /// true. If a field mask is set, the `includeGridData` parameter is ignored - /// For large spreadsheets, as a best practice, retrieve only the specific - /// spreadsheet fields that you want. + /// of 2 ways: * Specify a + /// [field mask](https://developers.google.com/sheets/api/guides/field-masks) + /// listing your desired fields using the `fields` URL parameter in HTTP * Set + /// the includeGridData parameter to true. If a field mask is set, the + /// `includeGridData` parameter is ignored For large spreadsheets, as a best + /// practice, retrieve only the specific spreadsheet fields that you want. /// /// [request] - The metadata request object. ///
diff --git a/generated/googleapis/lib/slides/v1.dart b/generated/googleapis/lib/slides/v1.dart index 27ee784..26aa13b 100644 --- a/generated/googleapis/lib/slides/v1.dart +++ b/generated/googleapis/lib/slides/v1.dart
@@ -709,11 +709,11 @@ /// /// When the aspect ratio of the provided size does not match the image aspect /// ratio, the image is scaled and centered with respect to the size in order - /// to maintain aspect ratio. The provided transform is applied after this + /// to maintain the aspect ratio. The provided transform is applied after this /// operation. The PageElementProperties.size property is optional. If you /// don't specify the size, the default size of the image is used. The /// PageElementProperties.transform property is optional. If you don't specify - /// a transform, the image will be placed at the top left corner of the page. + /// a transform, the image will be placed at the top-left corner of the page. PageElementProperties? elementProperties; /// A user-supplied object ID. @@ -729,10 +729,10 @@ /// The image URL. /// /// The image is fetched once at insertion time and a copy is stored for - /// display inside the presentation. Images must be less than 50MB in size, - /// cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF - /// format. The provided URL can be at most 2 kB in length. The URL itself is - /// saved with the image, and exposed via the Image.source_url field. + /// display inside the presentation. Images must be less than 50 MB in size, + /// can't exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF + /// formats. The provided URL can be up to 2 KB in length. The URL is saved + /// with the image, and exposed through the Image.source_url field. core.String? url; CreateImageRequest({
diff --git a/generated/googleapis/lib/speech/v1.dart b/generated/googleapis/lib/speech/v1.dart index 33bd817..e96acce 100644 --- a/generated/googleapis/lib/speech/v1.dart +++ b/generated/googleapis/lib/speech/v1.dart
@@ -748,6 +748,29 @@ } } +class ABNFGrammar { + /// All declarations and rules of an ABNF grammar broken up into multiple + /// strings that will end up concatenated. + core.List<core.String>? abnfStrings; + + ABNFGrammar({ + this.abnfStrings, + }); + + ABNFGrammar.fromJson(core.Map json_) + : this( + abnfStrings: json_.containsKey('abnfStrings') + ? (json_['abnfStrings'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (abnfStrings != null) 'abnfStrings': abnfStrings!, + }; +} + /// An item of the class. class ClassItem { /// The class item's value. @@ -1902,6 +1925,12 @@ /// Speech adaptation configuration. class SpeechAdaptation { + /// Augmented Backus-Naur form (ABNF) is a standardized grammar notation + /// comprised by a set of derivation rules. + /// + /// See specifications: https://www.w3.org/TR/speech-grammar + ABNFGrammar? abnfGrammar; + /// A collection of custom classes. /// /// To specify the classes inline, leave the class' `name` blank and fill in @@ -1919,6 +1948,7 @@ core.List<PhraseSet>? phraseSets; SpeechAdaptation({ + this.abnfGrammar, this.customClasses, this.phraseSetReferences, this.phraseSets, @@ -1926,6 +1956,10 @@ SpeechAdaptation.fromJson(core.Map json_) : this( + abnfGrammar: json_.containsKey('abnfGrammar') + ? ABNFGrammar.fromJson( + json_['abnfGrammar'] as core.Map<core.String, core.dynamic>) + : null, customClasses: json_.containsKey('customClasses') ? (json_['customClasses'] as core.List) .map((value) => CustomClass.fromJson( @@ -1946,6 +1980,7 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (abnfGrammar != null) 'abnfGrammar': abnfGrammar!, if (customClasses != null) 'customClasses': customClasses!, if (phraseSetReferences != null) 'phraseSetReferences': phraseSetReferences!,
diff --git a/generated/googleapis/lib/src/user_agent.dart b/generated/googleapis/lib/src/user_agent.dart index d4dfd2b..2e5a160 100644 --- a/generated/googleapis/lib/src/user_agent.dart +++ b/generated/googleapis/lib/src/user_agent.dart
@@ -2,6 +2,6 @@ /// Request headers used by all libraries in this package final requestHeaders = { - 'user-agent': 'google-api-dart-client/9.2.0', - 'x-goog-api-client': 'gl-dart/${commons.dartVersion} gdcl/9.2.0', + 'user-agent': 'google-api-dart-client/10.0.0', + 'x-goog-api-client': 'gl-dart/${commons.dartVersion} gdcl/10.0.0', };
diff --git a/generated/googleapis/lib/storagetransfer/v1.dart b/generated/googleapis/lib/storagetransfer/v1.dart index 7e4eda3..9e7e25d 100644 --- a/generated/googleapis/lib/storagetransfer/v1.dart +++ b/generated/googleapis/lib/storagetransfer/v1.dart
@@ -1234,6 +1234,58 @@ /// (google.protobuf.Empty); } typedef Empty = $Empty; +/// Specifies the Event-driven transfer options. +/// +/// Event-driven transfers listen to an event stream to transfer updated files. +class EventStream { + /// Specifies the data and time at which Storage Transfer Service stops + /// listening for events from this stream. + /// + /// After this time, any transfers in progress will complete, but no new + /// transfers are initiated. + core.String? eventStreamExpirationTime; + + /// Specifies the date and time that Storage Transfer Service starts listening + /// for events from this stream. + /// + /// If no start time is specified or start time is in the past, Storage + /// Transfer Service starts listening immediately. + core.String? eventStreamStartTime; + + /// Specifies a unique name of the resource such as AWS SQS ARN in the form + /// 'arn:aws:sqs:region:account_id:queue_name', or Pub/Sub subscription + /// resource name in the form 'projects/{project}/subscriptions/{sub}'. + /// + /// Required. + core.String? name; + + EventStream({ + this.eventStreamExpirationTime, + this.eventStreamStartTime, + this.name, + }); + + EventStream.fromJson(core.Map json_) + : this( + eventStreamExpirationTime: + json_.containsKey('eventStreamExpirationTime') + ? json_['eventStreamExpirationTime'] as core.String + : null, + eventStreamStartTime: json_.containsKey('eventStreamStartTime') + ? json_['eventStreamStartTime'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (eventStreamExpirationTime != null) + 'eventStreamExpirationTime': eventStreamExpirationTime!, + if (eventStreamStartTime != null) + 'eventStreamStartTime': eventStreamStartTime!, + if (name != null) 'name': name!, + }; +} + /// In a GcsData resource, an object's name is the Cloud Storage object's name /// and its "last modification time" refers to the object's `updated` property /// of Cloud Storage objects, which changes when the content or the metadata of @@ -2212,6 +2264,12 @@ /// Its max length is 1024 bytes when Unicode-encoded. core.String? description; + /// Specifies the event stream for the transfer job for event-driven + /// transfers. + /// + /// When EventStream is specified, the Schedule fields are ignored. + EventStream? eventStream; + /// The time that the transfer job was last modified. /// /// Output only. @@ -2282,6 +2340,7 @@ this.creationTime, this.deletionTime, this.description, + this.eventStream, this.lastModificationTime, this.latestOperationName, this.loggingConfig, @@ -2304,6 +2363,10 @@ description: json_.containsKey('description') ? json_['description'] as core.String : null, + eventStream: json_.containsKey('eventStream') + ? EventStream.fromJson( + json_['eventStream'] as core.Map<core.String, core.dynamic>) + : null, lastModificationTime: json_.containsKey('lastModificationTime') ? json_['lastModificationTime'] as core.String : null, @@ -2339,6 +2402,7 @@ if (creationTime != null) 'creationTime': creationTime!, if (deletionTime != null) 'deletionTime': deletionTime!, if (description != null) 'description': description!, + if (eventStream != null) 'eventStream': eventStream!, if (lastModificationTime != null) 'lastModificationTime': lastModificationTime!, if (latestOperationName != null)
diff --git a/generated/googleapis/lib/streetviewpublish/v1.dart b/generated/googleapis/lib/streetviewpublish/v1.dart index 9e54560..5784e0b 100644 --- a/generated/googleapis/lib/streetviewpublish/v1.dart +++ b/generated/googleapis/lib/streetviewpublish/v1.dart
@@ -1324,6 +1324,51 @@ }; } +/// Details related to PhotoSequenceProcessingFailureReason#NO_OVERLAP_GPS. +class NoOverlapGpsFailureDetails { + /// Time of last recorded GPS point. + core.String? gpsEndTime; + + /// Time of first recorded GPS point. + core.String? gpsStartTime; + + /// End time of video. + core.String? videoEndTime; + + /// Start time of video. + core.String? videoStartTime; + + NoOverlapGpsFailureDetails({ + this.gpsEndTime, + this.gpsStartTime, + this.videoEndTime, + this.videoStartTime, + }); + + NoOverlapGpsFailureDetails.fromJson(core.Map json_) + : this( + gpsEndTime: json_.containsKey('gpsEndTime') + ? json_['gpsEndTime'] as core.String + : null, + gpsStartTime: json_.containsKey('gpsStartTime') + ? json_['gpsStartTime'] as core.String + : null, + videoEndTime: json_.containsKey('videoEndTime') + ? json_['videoEndTime'] as core.String + : null, + videoStartTime: json_.containsKey('videoStartTime') + ? json_['videoStartTime'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (gpsEndTime != null) 'gpsEndTime': gpsEndTime!, + if (gpsStartTime != null) 'gpsStartTime': gpsStartTime!, + if (videoEndTime != null) 'videoEndTime': videoEndTime!, + if (videoStartTime != null) 'videoStartTime': videoStartTime!, + }; +} + /// Details related to ProcessingFailureReason#NOT_OUTDOORS. /// /// If there are multiple indoor frames found, the first frame is recorded here. @@ -2068,6 +2113,9 @@ /// See InsufficientGpsFailureDetails. InsufficientGpsFailureDetails? insufficientGpsDetails; + /// See NoOverlapGpsFailureDetails. + NoOverlapGpsFailureDetails? noOverlapGpsDetails; + /// See NotOutdoorsFailureDetails. NotOutdoorsFailureDetails? notOutdoorsDetails; @@ -2075,6 +2123,7 @@ this.gpsDataGapDetails, this.imuDataGapDetails, this.insufficientGpsDetails, + this.noOverlapGpsDetails, this.notOutdoorsDetails, }); @@ -2093,6 +2142,10 @@ json_['insufficientGpsDetails'] as core.Map<core.String, core.dynamic>) : null, + noOverlapGpsDetails: json_.containsKey('noOverlapGpsDetails') + ? NoOverlapGpsFailureDetails.fromJson(json_['noOverlapGpsDetails'] + as core.Map<core.String, core.dynamic>) + : null, notOutdoorsDetails: json_.containsKey('notOutdoorsDetails') ? NotOutdoorsFailureDetails.fromJson(json_['notOutdoorsDetails'] as core.Map<core.String, core.dynamic>) @@ -2104,6 +2157,8 @@ if (imuDataGapDetails != null) 'imuDataGapDetails': imuDataGapDetails!, if (insufficientGpsDetails != null) 'insufficientGpsDetails': insufficientGpsDetails!, + if (noOverlapGpsDetails != null) + 'noOverlapGpsDetails': noOverlapGpsDetails!, if (notOutdoorsDetails != null) 'notOutdoorsDetails': notOutdoorsDetails!, };
diff --git a/generated/googleapis/lib/sts/v1.dart b/generated/googleapis/lib/sts/v1.dart index d00fb61..d0fdecc 100644 --- a/generated/googleapis/lib/sts/v1.dart +++ b/generated/googleapis/lib/sts/v1.dart
@@ -95,14 +95,65 @@ response_ as core.Map<core.String, core.dynamic>); } + /// Exchanges a credential that represents the resource owner's authorization + /// for a Google-generated + /// [OAuth 2.0 access token](https://www.rfc-editor.org/rfc/rfc6749#section-5) + /// or + /// [refreshes an accesstoken](https://www.rfc-editor.org/rfc/rfc6749#section-6) + /// following + /// [the OAuth 2.0 authorization framework](https://tools.ietf.org/html/rfc8693) + /// The credential can be one of the following: - An authorization code issued + /// by the workforce identity federation authorization endpoint - A + /// [refresh token](https://www.rfc-editor.org/rfc/rfc6749#section-10.4) + /// issued by this endpoint This endpoint is only meant to be called by the + /// Google Cloud CLI. + /// + /// Also note that this API only accepts the authorization code issued for + /// workforce pools. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleIdentityStsV1ExchangeOauthTokenResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<GoogleIdentityStsV1ExchangeOauthTokenResponse> oauthtoken( + GoogleIdentityStsV1ExchangeOauthTokenRequest request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1/oauthtoken'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleIdentityStsV1ExchangeOauthTokenResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + /// Exchanges a credential for a Google OAuth 2.0 access token. /// /// The token asserts an external identity within an identity pool, or it /// applies a Credential Access Boundary to a Google access token. Note that - /// workforce pools do not support Credential Access Boundary at the moment. - /// When you call this method, do not send the `Authorization` HTTP header in - /// the request. This method does not require the `Authorization` header, and - /// using the header can cause the request to fail. + /// workforce pools do not support Credential Access Boundaries. When you call + /// this method, do not send the `Authorization` HTTP header in the request. + /// This method does not require the `Authorization` header, and using the + /// header can cause the request to fail. /// /// [request] - The metadata request object. /// @@ -140,6 +191,188 @@ } } +/// Request message for ExchangeOauthToken +class GoogleIdentityStsV1ExchangeOauthTokenRequest { + /// The client identifier for the OAuth 2.0 client that requested the provided + /// token. + /// + /// It is REQUIRED when the + /// [client](https://www.rfc-editor.org/rfc/rfc6749#section-1.1) is not + /// authenticating with the authorization server, i.e. when authentication + /// method is + /// [client authentication](https://www.rfc-editor.org/rfc/rfc6749#section-3.2.1). + /// + /// Optional. + core.String? clientId; + + /// The authorization code that was previously from workforce identity + /// federation's `authorize` endpoint. + /// + /// Required if the flow is authorization code flow, i.e. if grant_type is + /// 'authorization_code' + /// + /// Optional. + core.String? code; + + /// The code verifier for the PKCE request, Google Cloud CLI originally + /// generates it before the authorization request. + /// + /// PKCE is used to protect authorization code from interception attacks. See + /// https://www.rfc-editor.org/rfc/rfc7636#section-1.1 and + /// https://www.rfc-editor.org/rfc/rfc7636#section-3. It is required when the + /// flow is authorization code flow, i.e. if grant_type is + /// 'authorization_code' + /// + /// Optional. + core.String? codeVerifier; + + /// The grant types are as follows: - 'authorization_code' : an authorization + /// code flow, i.e. exchange of authorization code for the Oauth access token + /// - 'refresh_token' : a refresh token flow, i.e. obtain a new access token + /// by providing the refresh token. + /// + /// See https://www.rfc-editor.org/rfc/rfc6749#section-6 + /// + /// Required. + core.String? grantType; + + /// redirect_url is required when the flow is authorization code flow i.e. if + /// grant_type is `authorization_code` See + /// https://www.rfc-editor.org/rfc/rfc6749#section-4.1.3 + /// + /// Optional. + core.String? redirectUri; + + /// The Refresh token is the credential that is used to obtain a new access + /// token when the current access token becomes invalid or expires. + /// + /// Required when using refresh token flow, i.e. if `grant_type` is + /// 'refresh_token' See https://www.rfc-editor.org/rfc/rfc6749#section-1.5 and + /// https://www.rfc-editor.org/rfc/rfc6749#section-6 + /// + /// Optional. + core.String? refreshToken; + + /// An optional list of scopes that are requested for the token to be + /// returned. + /// + /// See https://www.rfc-editor.org/rfc/rfc6749#section-3.3 Must be a list of + /// space-delimited, case-sensitive strings. Note: Currently, the scopes in + /// the request are not supported + /// + /// Optional. + core.String? scope; + + GoogleIdentityStsV1ExchangeOauthTokenRequest({ + this.clientId, + this.code, + this.codeVerifier, + this.grantType, + this.redirectUri, + this.refreshToken, + this.scope, + }); + + GoogleIdentityStsV1ExchangeOauthTokenRequest.fromJson(core.Map json_) + : this( + clientId: json_.containsKey('clientId') + ? json_['clientId'] as core.String + : null, + code: json_.containsKey('code') ? json_['code'] as core.String : null, + codeVerifier: json_.containsKey('codeVerifier') + ? json_['codeVerifier'] as core.String + : null, + grantType: json_.containsKey('grantType') + ? json_['grantType'] as core.String + : null, + redirectUri: json_.containsKey('redirectUri') + ? json_['redirectUri'] as core.String + : null, + refreshToken: json_.containsKey('refreshToken') + ? json_['refreshToken'] as core.String + : null, + scope: + json_.containsKey('scope') ? json_['scope'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (clientId != null) 'clientId': clientId!, + if (code != null) 'code': code!, + if (codeVerifier != null) 'codeVerifier': codeVerifier!, + if (grantType != null) 'grantType': grantType!, + if (redirectUri != null) 'redirectUri': redirectUri!, + if (refreshToken != null) 'refreshToken': refreshToken!, + if (scope != null) 'scope': scope!, + }; +} + +/// Response message for ExchangeOauthToken. +/// +/// see https://www.rfc-editor.org/rfc/rfc6749#section-5.1 +class GoogleIdentityStsV1ExchangeOauthTokenResponse { + /// An OAuth 2.0 security token, issued by Google, in response to the Oauth + /// token exchange request for the authorization code and refresh token flows. + /// + /// The returned + /// [access token](https://www.rfc-editor.org/rfc/rfc6749#section-4.1.4). + /// Tokens can vary in size, depending, in part, on the size of mapped claims, + /// up to a maximum of 12288 bytes (12 KB). Google reserves the right to + /// change the token size and the maximum length at any time. + core.String? accessToken; + + /// The amount of time, in seconds, between the time when the access token was + /// issued and the time when the access token will expires. + core.int? expiresIn; + + /// A refresh token, issued by Google, in response to the OAuth token exchange + /// request for refresh token flow + core.String? refreshToken; + + /// A list of scopes associated with the returned token. + core.String? scope; + + /// The type of token. + /// + /// Field reserved for RFC compliance. See + /// https://www.rfc-editor.org/rfc/rfc6749#section-5.1 Note: No token_type is + /// returned for current implementation + core.String? tokenType; + + GoogleIdentityStsV1ExchangeOauthTokenResponse({ + this.accessToken, + this.expiresIn, + this.refreshToken, + this.scope, + this.tokenType, + }); + + GoogleIdentityStsV1ExchangeOauthTokenResponse.fromJson(core.Map json_) + : this( + accessToken: json_.containsKey('access_token') + ? json_['access_token'] as core.String + : null, + expiresIn: json_.containsKey('expires_in') + ? json_['expires_in'] as core.int + : null, + refreshToken: json_.containsKey('refresh_token') + ? json_['refresh_token'] as core.String + : null, + scope: + json_.containsKey('scope') ? json_['scope'] as core.String : null, + tokenType: json_.containsKey('token_type') + ? json_['token_type'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (accessToken != null) 'access_token': accessToken!, + if (expiresIn != null) 'expires_in': expiresIn!, + if (refreshToken != null) 'refresh_token': refreshToken!, + if (scope != null) 'scope': scope!, + if (tokenType != null) 'token_type': tokenType!, + }; +} + /// Request message for ExchangeToken. class GoogleIdentityStsV1ExchangeTokenRequest { /// The full resource name of the identity provider; for example:
diff --git a/generated/googleapis/lib/tagmanager/v2.dart b/generated/googleapis/lib/tagmanager/v2.dart index 13cb1d9..e1f993f 100644 --- a/generated/googleapis/lib/tagmanager/v2.dart +++ b/generated/googleapis/lib/tagmanager/v2.dart
@@ -2125,6 +2125,7 @@ /// - "serverPageLocationUrl" /// - "serverPageLocationPath" /// - "serverPageLocationHostname" + /// - "visitorRegion" /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -4731,6 +4732,7 @@ /// - "serverPageLocationUrl" /// - "serverPageLocationPath" /// - "serverPageLocationHostname" + /// - "visitorRegion" core.String? type; /// GTM Workspace ID.
diff --git a/generated/googleapis/lib/testing/v1.dart b/generated/googleapis/lib/testing/v1.dart index a685807..7e91954 100644 --- a/generated/googleapis/lib/testing/v1.dart +++ b/generated/googleapis/lib/testing/v1.dart
@@ -2500,7 +2500,7 @@ /// You must specify at least one shard if this field is present. When you /// select one or more physical devices, the number of repeated /// test_targets_for_shard must be \<= 50. When you select one or more ARM - /// virtual devices, it must be \<= 50. When you select only x86 virtual + /// virtual devices, it must be \<= 100. When you select only x86 virtual /// devices, it must be \<= 500. /// /// Required. @@ -3423,8 +3423,6 @@ /// - "INVALID_APK_PREVIEW_SDK" : APK is built for a preview SDK which is /// unsupported /// - "MATRIX_TOO_LARGE" : The matrix expanded to contain too many executions. - /// - "DEVICE_QUOTA_EXCEEDED" : Deprecated: Not enough device quota to run the - /// executions in this matrix. /// - "TEST_QUOTA_EXCEEDED" : Not enough test quota to run the executions in /// this matrix. /// - "SERVICE_NOT_ACTIVATED" : A required cloud service api is not activated. @@ -4050,7 +4048,7 @@ /// This must always be a positive number that is no greater than the total /// number of test cases. When you select one or more physical devices, the /// number of shards must be \<= 50. When you select one or more ARM virtual - /// devices, it must be \<= 50. When you select only x86 virtual devices, it + /// devices, it must be \<= 100. When you select only x86 virtual devices, it /// must be \<= 500. /// /// Required.
diff --git a/generated/googleapis/lib/texttospeech/v1.dart b/generated/googleapis/lib/texttospeech/v1.dart index b261d20..f1a0459 100644 --- a/generated/googleapis/lib/texttospeech/v1.dart +++ b/generated/googleapis/lib/texttospeech/v1.dart
@@ -24,7 +24,7 @@ /// - [OperationsResource] /// - [ProjectsResource] /// - [ProjectsLocationsResource] -/// - [ProjectsLocationsVoicesResource] +/// - [ProjectsLocationsOperationsResource] /// - [TextResource] /// - [VoicesResource] library texttospeech.v1; @@ -157,6 +157,73 @@ ); return Empty.fromJson(response_ as core.Map<core.String, core.dynamic>); } +} + +class ProjectsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsResource get locations => + ProjectsLocationsResource(_requester); + + ProjectsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsOperationsResource get operations => + ProjectsLocationsOperationsResource(_requester); + + ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; + + /// Synthesizes long form text asynchronously. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - The resource states of the request in the form of `projects / * + /// /locations / * /voices / * `. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> synthesizeLongAudio( + SynthesizeLongAudioRequest request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$parent') + ':synthesizeLongAudio'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } +} + +class ProjectsLocationsOperationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsOperationsResource(commons.ApiRequester client) + : _requester = client; /// Gets the latest state of a long-running operation. /// @@ -166,7 +233,8 @@ /// Request parameters: /// /// [name] - The name of the operation resource. - /// Value must have pattern `^operations/.*$`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -210,7 +278,7 @@ /// Request parameters: /// /// [name] - The name of the operation's parent resource. - /// Value must have pattern `^operations$`. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// /// [filter] - The standard list filter. /// @@ -242,7 +310,7 @@ if ($fields != null) 'fields': [$fields], }; - final url_ = 'v1/' + core.Uri.encodeFull('$name'); + final url_ = 'v1/' + core.Uri.encodeFull('$name') + '/operations'; final response_ = await _requester.request( url_, @@ -254,74 +322,6 @@ } } -class ProjectsResource { - final commons.ApiRequester _requester; - - ProjectsLocationsResource get locations => - ProjectsLocationsResource(_requester); - - ProjectsResource(commons.ApiRequester client) : _requester = client; -} - -class ProjectsLocationsResource { - final commons.ApiRequester _requester; - - ProjectsLocationsVoicesResource get voices => - ProjectsLocationsVoicesResource(_requester); - - ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; -} - -class ProjectsLocationsVoicesResource { - final commons.ApiRequester _requester; - - ProjectsLocationsVoicesResource(commons.ApiRequester client) - : _requester = client; - - /// Synthesizes long form text asynchronously. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [parent] - The resource states of the request in the form of projects / * - /// /locations / * /voices / * . - /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/voices/\[^/\]+$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [Operation]. - /// - /// Completes with a [commons.ApiRequestError] if the API endpoint returned an - /// error. - /// - /// If the used [http.Client] completes with an error when making a REST call, - /// this method will complete with the same error. - async.Future<Operation> synthesizeLongAudio( - SynthesizeLongAudioRequest request, - core.String parent, { - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = <core.String, core.List<core.String>>{ - if ($fields != null) 'fields': [$fields], - }; - - final url_ = - 'v1/' + core.Uri.encodeFull('$parent') + ':SynthesizeLongAudio'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); - } -} - class TextResource { final commons.ApiRequester _requester;
diff --git a/generated/googleapis/lib/tpu/v2.dart b/generated/googleapis/lib/tpu/v2.dart index 0297ca6..aa629c8 100644 --- a/generated/googleapis/lib/tpu/v2.dart +++ b/generated/googleapis/lib/tpu/v2.dart
@@ -572,7 +572,7 @@ /// /// Request parameters: /// - /// [name] - The resource name. + /// [name] - Required. The resource name. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/nodes/\[^/\]+$`. /// @@ -615,7 +615,7 @@ /// /// Request parameters: /// - /// [name] - The resource name. + /// [name] - Required. The resource name. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/nodes/\[^/\]+$`. ///
diff --git a/generated/googleapis/lib/transcoder/v1.dart b/generated/googleapis/lib/transcoder/v1.dart index ea7c266..4a975f1 100644 --- a/generated/googleapis/lib/transcoder/v1.dart +++ b/generated/googleapis/lib/transcoder/v1.dart
@@ -1292,7 +1292,10 @@ /// /// Must be an even integer. When not specified, the height is adjusted to /// match the specified width and input aspect ratio. If both are omitted, the - /// input height is used. + /// input height is used. For portrait videos that contain horizontal ASR and + /// rotation metadata, provide the height, in pixels, per the horizontal ASR. + /// The API calculates the width per the horizontal ASR. The API detects any + /// rotation metadata and swaps the requested height and width for the output. core.int? heightPixels; /// Pixel format to use. @@ -1352,7 +1355,11 @@ /// /// Must be an even integer. When not specified, the width is adjusted to /// match the specified height and input aspect ratio. If both are omitted, - /// the input width is used. + /// the input width is used. For portrait videos that contain horizontal ASR + /// and rotation metadata, provide the width, in pixels, per the horizontal + /// ASR. The API calculates the height per the horizontal ASR. The API detects + /// any rotation metadata and swaps the requested height and width for the + /// output. core.int? widthPixels; H264CodecSettings({ @@ -1536,7 +1543,10 @@ /// /// Must be an even integer. When not specified, the height is adjusted to /// match the specified width and input aspect ratio. If both are omitted, the - /// input height is used. + /// input height is used. For portrait videos that contain horizontal ASR and + /// rotation metadata, provide the height, in pixels, per the horizontal ASR. + /// The API calculates the width per the horizontal ASR. The API detects any + /// rotation metadata and swaps the requested height and width for the output. core.int? heightPixels; /// Pixel format to use. @@ -1600,7 +1610,11 @@ /// /// Must be an even integer. When not specified, the width is adjusted to /// match the specified height and input aspect ratio. If both are omitted, - /// the input width is used. + /// the input width is used. For portrait videos that contain horizontal ASR + /// and rotation metadata, provide the width, in pixels, per the horizontal + /// ASR. The API calculates the height per the horizontal ASR. The API detects + /// any rotation metadata and swaps the requested height and width for the + /// output. core.int? widthPixels; H265CodecSettings({ @@ -2659,7 +2673,11 @@ /// Must be an even integer. To preserve the source aspect ratio, set the /// SpriteSheet.sprite_height_pixels field or the /// SpriteSheet.sprite_width_pixels field, but not both (the API will - /// automatically calculate the missing field). + /// automatically calculate the missing field). For portrait videos that + /// contain horizontal ASR and rotation metadata, provide the height, in + /// pixels, per the horizontal ASR. The API calculates the width per the + /// horizontal ASR. The API detects any rotation metadata and swaps the + /// requested height and width for the output. /// /// Required. core.int? spriteHeightPixels; @@ -2669,7 +2687,11 @@ /// Must be an even integer. To preserve the source aspect ratio, set the /// SpriteSheet.sprite_width_pixels field or the /// SpriteSheet.sprite_height_pixels field, but not both (the API will - /// automatically calculate the missing field). + /// automatically calculate the missing field). For portrait videos that + /// contain horizontal ASR and rotation metadata, provide the width, in + /// pixels, per the horizontal ASR. The API calculates the height per the + /// horizontal ASR. The API detects any rotation metadata and swaps the + /// requested height and width for the output. /// /// Required. core.int? spriteWidthPixels; @@ -2925,7 +2947,10 @@ /// /// Must be an even integer. When not specified, the height is adjusted to /// match the specified width and input aspect ratio. If both are omitted, the - /// input height is used. + /// input height is used. For portrait videos that contain horizontal ASR and + /// rotation metadata, provide the height, in pixels, per the horizontal ASR. + /// The API calculates the width per the horizontal ASR. The API detects any + /// rotation metadata and swaps the requested height and width for the output. core.int? heightPixels; /// Pixel format to use. @@ -2957,7 +2982,11 @@ /// /// Must be an even integer. When not specified, the width is adjusted to /// match the specified height and input aspect ratio. If both are omitted, - /// the input width is used. + /// the input width is used. For portrait videos that contain horizontal ASR + /// and rotation metadata, provide the width, in pixels, per the horizontal + /// ASR. The API calculates the height per the horizontal ASR. The API detects + /// any rotation metadata and swaps the requested height and width for the + /// output. core.int? widthPixels; Vp9CodecSettings({
diff --git a/generated/googleapis/lib/translate/v3.dart b/generated/googleapis/lib/translate/v3.dart index 8844d2e..94f1eda 100644 --- a/generated/googleapis/lib/translate/v3.dart +++ b/generated/googleapis/lib/translate/v3.dart
@@ -23,8 +23,11 @@ /// /// - [ProjectsResource] /// - [ProjectsLocationsResource] +/// - [ProjectsLocationsDatasetsResource] +/// - [ProjectsLocationsDatasetsExamplesResource] /// - [ProjectsLocationsGlossariesResource] /// - [ProjectsLocationsGlossariesGlossaryEntriesResource] +/// - [ProjectsLocationsModelsResource] /// - [ProjectsLocationsOperationsResource] library translate.v3; @@ -231,8 +234,12 @@ class ProjectsLocationsResource { final commons.ApiRequester _requester; + ProjectsLocationsDatasetsResource get datasets => + ProjectsLocationsDatasetsResource(_requester); ProjectsLocationsGlossariesResource get glossaries => ProjectsLocationsGlossariesResource(_requester); + ProjectsLocationsModelsResource get models => + ProjectsLocationsModelsResource(_requester); ProjectsLocationsOperationsResource get operations => ProjectsLocationsOperationsResource(_requester); @@ -630,6 +637,321 @@ } } +class ProjectsLocationsDatasetsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsDatasetsExamplesResource get examples => + ProjectsLocationsDatasetsExamplesResource(_requester); + + ProjectsLocationsDatasetsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a Dataset. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The project name. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> create( + Dataset request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$parent') + '/datasets'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Deletes a dataset and all of its contents. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the dataset to delete. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/datasets/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> delete( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Exports dataset's data to the provided output location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [dataset] - Required. Name of the dataset. In form of + /// `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/datasets/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> exportData( + ExportDataRequest request, + core.String dataset, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$dataset') + ':exportData'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Gets a Dataset. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the dataset to retrieve. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/datasets/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Dataset]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Dataset> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Dataset.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Import sentence pairs into translation Dataset. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [dataset] - Required. Name of the dataset. In form of + /// `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/datasets/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> importData( + ImportDataRequest request, + core.String dataset, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$dataset') + ':importData'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Lists datasets. + /// + /// Request parameters: + /// + /// [parent] - Required. Name of the parent project. In form of + /// `projects/{project-number-or-id}/locations/{location-id}` + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [pageSize] - Optional. Requested page size. The server can return fewer + /// results than requested. + /// + /// [pageToken] - Optional. A token identifying a page of results for the + /// server to return. Typically obtained from next_page_token field in the + /// response of a ListDatasets call. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListDatasetsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListDatasetsResponse> list( + core.String parent, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$parent') + '/datasets'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListDatasetsResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + +class ProjectsLocationsDatasetsExamplesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsDatasetsExamplesResource(commons.ApiRequester client) + : _requester = client; + + /// Lists sentence pairs in the dataset. + /// + /// Request parameters: + /// + /// [parent] - Required. Name of the parent dataset. In form of + /// `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/datasets/\[^/\]+$`. + /// + /// [filter] - Optional. An expression for filtering the examples that will be + /// returned. Example filter: * `usage=TRAIN` + /// + /// [pageSize] - Optional. Requested page size. The server can return fewer + /// results than requested. + /// + /// [pageToken] - Optional. A token identifying a page of results for the + /// server to return. Typically obtained from next_page_token field in the + /// response of a ListExamples call. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListExamplesResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListExamplesResponse> list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$parent') + '/examples'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListExamplesResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + class ProjectsLocationsGlossariesResource { final commons.ApiRequester _requester; @@ -1099,6 +1421,179 @@ } } +class ProjectsLocationsModelsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsModelsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a Model. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The project name, in form of + /// `projects/{project}/locations/{location}` + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> create( + Model request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$parent') + '/models'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Deletes a model. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the model to delete. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/models/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> delete( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Gets a model. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the model to retrieve. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/models/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Model]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Model> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Model.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Lists models. + /// + /// Request parameters: + /// + /// [parent] - Required. Name of the parent project. In form of + /// `projects/{project-number-or-id}/locations/{location-id}` + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - Optional. An expression for filtering the models that will be + /// returned. Supported filter: `dataset_id=${dataset_id}` + /// + /// [pageSize] - Optional. Requested page size. The server can return fewer + /// results than requested. + /// + /// [pageToken] - Optional. A token identifying a page of results for the + /// server to return. Typically obtained from next_page_token field in the + /// response of a ListModels call. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListModelsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListModelsResponse> list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v3/' + core.Uri.encodeFull('$parent') + '/models'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListModelsResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + class ProjectsLocationsOperationsResource { final commons.ApiRequester _requester; @@ -1437,6 +1932,15 @@ /// The BatchTranslateDocument request. class BatchTranslateDocumentRequest { + /// This flag is to support user customized attribution. + /// + /// If not provided, the default is `Machine Translated by Google`. Customized + /// attribution should follow rules in + /// https://cloud.google.com/translate/attribution#attribution_and_logos + /// + /// Optional. + core.String? customizedAttribution; + /// Optional. core.Map<core.String, core.String>? formatConversions; @@ -1495,6 +1999,7 @@ core.List<core.String>? targetLanguageCodes; BatchTranslateDocumentRequest({ + this.customizedAttribution, this.formatConversions, this.glossaries, this.inputConfigs, @@ -1506,6 +2011,9 @@ BatchTranslateDocumentRequest.fromJson(core.Map json_) : this( + customizedAttribution: json_.containsKey('customizedAttribution') + ? json_['customizedAttribution'] as core.String + : null, formatConversions: json_.containsKey('formatConversions') ? (json_['formatConversions'] as core.Map<core.String, core.dynamic>) @@ -1555,6 +2063,8 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (customizedAttribution != null) + 'customizedAttribution': customizedAttribution!, if (formatConversions != null) 'formatConversions': formatConversions!, if (glossaries != null) 'glossaries': glossaries!, if (inputConfigs != null) 'inputConfigs': inputConfigs!, @@ -1703,6 +2213,163 @@ /// The request message for Operations.CancelOperation. typedef CancelOperationRequest = $Empty; +/// A dataset that hosts the examples (sentence pairs) used for translation +/// models. +class Dataset { + /// Timestamp when this dataset was created. + /// + /// Output only. + core.String? createTime; + + /// The name of the dataset to show in the interface. + /// + /// The name can be up to 32 characters long and can consist only of ASCII + /// Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. + core.String? displayName; + + /// The number of examples in the dataset. + /// + /// Output only. + core.int? exampleCount; + + /// The resource name of the dataset, in form of + /// `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}` + core.String? name; + + /// The BCP-47 language code of the source language. + core.String? sourceLanguageCode; + + /// The BCP-47 language code of the target language. + core.String? targetLanguageCode; + + /// Number of test examples (sentence pairs). + /// + /// Output only. + core.int? testExampleCount; + + /// Number of training examples (sentence pairs). + /// + /// Output only. + core.int? trainExampleCount; + + /// Timestamp when this dataset was last updated. + /// + /// Output only. + core.String? updateTime; + + /// Number of validation examples (sentence pairs). + /// + /// Output only. + core.int? validateExampleCount; + + Dataset({ + this.createTime, + this.displayName, + this.exampleCount, + this.name, + this.sourceLanguageCode, + this.targetLanguageCode, + this.testExampleCount, + this.trainExampleCount, + this.updateTime, + this.validateExampleCount, + }); + + Dataset.fromJson(core.Map json_) + : this( + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + exampleCount: json_.containsKey('exampleCount') + ? json_['exampleCount'] as core.int + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + sourceLanguageCode: json_.containsKey('sourceLanguageCode') + ? json_['sourceLanguageCode'] as core.String + : null, + targetLanguageCode: json_.containsKey('targetLanguageCode') + ? json_['targetLanguageCode'] as core.String + : null, + testExampleCount: json_.containsKey('testExampleCount') + ? json_['testExampleCount'] as core.int + : null, + trainExampleCount: json_.containsKey('trainExampleCount') + ? json_['trainExampleCount'] as core.int + : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + validateExampleCount: json_.containsKey('validateExampleCount') + ? json_['validateExampleCount'] as core.int + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (createTime != null) 'createTime': createTime!, + if (displayName != null) 'displayName': displayName!, + if (exampleCount != null) 'exampleCount': exampleCount!, + if (name != null) 'name': name!, + if (sourceLanguageCode != null) + 'sourceLanguageCode': sourceLanguageCode!, + if (targetLanguageCode != null) + 'targetLanguageCode': targetLanguageCode!, + if (testExampleCount != null) 'testExampleCount': testExampleCount!, + if (trainExampleCount != null) 'trainExampleCount': trainExampleCount!, + if (updateTime != null) 'updateTime': updateTime!, + if (validateExampleCount != null) + 'validateExampleCount': validateExampleCount!, + }; +} + +/// Input configuration for datasets. +class DatasetInputConfig { + /// Files containing the sentence pairs to be imported to the dataset. + core.List<InputFile>? inputFiles; + + DatasetInputConfig({ + this.inputFiles, + }); + + DatasetInputConfig.fromJson(core.Map json_) + : this( + inputFiles: json_.containsKey('inputFiles') + ? (json_['inputFiles'] as core.List) + .map((value) => InputFile.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (inputFiles != null) 'inputFiles': inputFiles!, + }; +} + +/// Output configuration for datasets. +class DatasetOutputConfig { + /// Google Cloud Storage destination to write the output. + GcsOutputDestination? gcsDestination; + + DatasetOutputConfig({ + this.gcsDestination, + }); + + DatasetOutputConfig.fromJson(core.Map json_) + : this( + gcsDestination: json_.containsKey('gcsDestination') + ? GcsOutputDestination.fromJson(json_['gcsDestination'] + as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (gcsDestination != null) 'gcsDestination': gcsDestination!, + }; +} + /// The request message for language detection. class DetectLanguageRequest { /// The content of the input stored as a string. @@ -1804,7 +2471,7 @@ /// The confidence of the detection result for this language. core.double? confidence; - /// The BCP-47 language code of source content in the request, detected + /// The BCP-47 language code of the source content in the request, detected /// automatically. core.String? languageCode; @@ -2011,6 +2678,79 @@ /// (google.protobuf.Empty); } typedef Empty = $Empty; +/// A sentence pair. +class Example { + /// The resource name of the example, in form of + /// \`projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}/examples/{example_id}' + /// + /// Output only. + core.String? name; + + /// Sentence in source language. + core.String? sourceText; + + /// Sentence in target language. + core.String? targetText; + + /// Usage of the sentence pair. + /// + /// Options are TRAIN|VALIDATION|TEST. + /// + /// Output only. + core.String? usage; + + Example({ + this.name, + this.sourceText, + this.targetText, + this.usage, + }); + + Example.fromJson(core.Map json_) + : this( + name: json_.containsKey('name') ? json_['name'] as core.String : null, + sourceText: json_.containsKey('sourceText') + ? json_['sourceText'] as core.String + : null, + targetText: json_.containsKey('targetText') + ? json_['targetText'] as core.String + : null, + usage: + json_.containsKey('usage') ? json_['usage'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (name != null) 'name': name!, + if (sourceText != null) 'sourceText': sourceText!, + if (targetText != null) 'targetText': targetText!, + if (usage != null) 'usage': usage!, + }; +} + +/// Request message for ExportData. +class ExportDataRequest { + /// The config for the output content. + /// + /// Required. + DatasetOutputConfig? outputConfig; + + ExportDataRequest({ + this.outputConfig, + }); + + ExportDataRequest.fromJson(core.Map json_) + : this( + outputConfig: json_.containsKey('outputConfig') + ? DatasetOutputConfig.fromJson( + json_['outputConfig'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (outputConfig != null) 'outputConfig': outputConfig!, + }; +} + /// The Google Cloud Storage location for the output content. class GcsDestination { /// The bucket used in 'output_uri_prefix' must exist and there must be no @@ -2040,31 +2780,39 @@ } /// The Google Cloud Storage location for the input content. -class GcsSource { - /// Source data URI. +typedef GcsInputSource = $Source; + +/// The Google Cloud Storage location for the output content. +class GcsOutputDestination { + /// Google Cloud Storage URI to output directory. /// - /// For example, `gs://my_bucket/my_object`. + /// For example, `gs://bucket/directory`. The requesting user must have write + /// permission to the bucket. The directory will be created if it doesn't + /// exist. /// /// Required. - core.String? inputUri; + core.String? outputUriPrefix; - GcsSource({ - this.inputUri, + GcsOutputDestination({ + this.outputUriPrefix, }); - GcsSource.fromJson(core.Map json_) + GcsOutputDestination.fromJson(core.Map json_) : this( - inputUri: json_.containsKey('inputUri') - ? json_['inputUri'] as core.String + outputUriPrefix: json_.containsKey('outputUriPrefix') + ? json_['outputUriPrefix'] as core.String : null, ); core.Map<core.String, core.dynamic> toJson() => { - if (inputUri != null) 'inputUri': inputUri!, + if (outputUriPrefix != null) 'outputUriPrefix': outputUriPrefix!, }; } -/// Represents a glossary built from user provided data. +/// The Google Cloud Storage location for the input content. +typedef GcsSource = $Source; + +/// Represents a glossary built from user-provided data. class Glossary { /// The display name of the glossary. /// @@ -2217,9 +2965,9 @@ /// \[google.rpc.Code.INVALID_ARGUMENT\] for unsupported URI-s and file /// formats. Wildcards are not allowed. This must be a single file in one of /// the following formats: For unidirectional glossaries: - TSV/CSV - /// (`.tsv`/`.csv`): 2 column file, tab- or comma-separated. The first column - /// is source text. The second column is target text. The file must not - /// contain headers. That is, the first row is data, not column names. - TMX + /// (`.tsv`/`.csv`): Two column file, tab- or comma-separated. The first + /// column is source text. The second column is target text. No headers in + /// this file. The first row contains data and not column names. - TMX /// (`.tmx`): TMX file with parallel data defining source/target term pairs. /// For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file /// defining equivalent glossary terms in multiple languages. See @@ -2332,6 +3080,30 @@ }; } +/// Request message for ImportData. +class ImportDataRequest { + /// The config for the input content. + /// + /// Required. + DatasetInputConfig? inputConfig; + + ImportDataRequest({ + this.inputConfig, + }); + + ImportDataRequest.fromJson(core.Map json_) + : this( + inputConfig: json_.containsKey('inputConfig') + ? DatasetInputConfig.fromJson( + json_['inputConfig'] as core.Map<core.String, core.dynamic>) + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (inputConfig != null) 'inputConfig': inputConfig!, + }; +} + /// Input configuration for BatchTranslateText request. class InputConfig { /// Google Cloud Storage location for the source input. @@ -2383,6 +3155,40 @@ }; } +/// An input file. +class InputFile { + /// Google Cloud Storage file source. + GcsInputSource? gcsSource; + + /// Usage of the file contents. + /// + /// Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto + /// split. + /// + /// Optional. + core.String? usage; + + InputFile({ + this.gcsSource, + this.usage, + }); + + InputFile.fromJson(core.Map json_) + : this( + gcsSource: json_.containsKey('gcsSource') + ? GcsInputSource.fromJson( + json_['gcsSource'] as core.Map<core.String, core.dynamic>) + : null, + usage: + json_.containsKey('usage') ? json_['usage'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (gcsSource != null) 'gcsSource': gcsSource!, + if (usage != null) 'usage': usage!, + }; +} + /// Used with unidirectional glossaries. class LanguageCodePair { /// The BCP-47 language code of the input text, for example, "en-US". @@ -2448,6 +3254,76 @@ }; } +/// Response message for ListDatasets. +class ListDatasetsResponse { + /// The datasets read. + core.List<Dataset>? datasets; + + /// A token to retrieve next page of results. + /// + /// Pass this token to the page_token field in the ListDatasetsRequest to + /// obtain the corresponding page. + core.String? nextPageToken; + + ListDatasetsResponse({ + this.datasets, + this.nextPageToken, + }); + + ListDatasetsResponse.fromJson(core.Map json_) + : this( + datasets: json_.containsKey('datasets') + ? (json_['datasets'] as core.List) + .map((value) => Dataset.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (datasets != null) 'datasets': datasets!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListExamples. +class ListExamplesResponse { + /// The sentence pairs. + core.List<Example>? examples; + + /// A token to retrieve next page of results. + /// + /// Pass this token to the page_token field in the ListExamplesRequest to + /// obtain the corresponding page. + core.String? nextPageToken; + + ListExamplesResponse({ + this.examples, + this.nextPageToken, + }); + + ListExamplesResponse.fromJson(core.Map json_) + : this( + examples: json_.containsKey('examples') + ? (json_['examples'] as core.List) + .map((value) => Example.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (examples != null) 'examples': examples!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + /// Response message for ListGlossaries. class ListGlossariesResponse { /// The list of glossaries for a project. @@ -2555,6 +3431,41 @@ }; } +/// Response message for ListModels. +class ListModelsResponse { + /// The models read. + core.List<Model>? models; + + /// A token to retrieve next page of results. + /// + /// Pass this token to the page_token field in the ListModelsRequest to obtain + /// the corresponding page. + core.String? nextPageToken; + + ListModelsResponse({ + this.models, + this.nextPageToken, + }); + + ListModelsResponse.fromJson(core.Map json_) + : this( + models: json_.containsKey('models') + ? (json_['models'] as core.List) + .map((value) => Model.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (models != null) 'models': models!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + /// The response message for Operations.ListOperations. class ListOperationsResponse { /// The standard List next-page token. @@ -2590,6 +3501,131 @@ /// A resource that represents Google Cloud Platform location. typedef Location = $Location00; +/// A trained translation model. +class Model { + /// Timestamp when the model resource was created, which is also when the + /// training started. + /// + /// Output only. + core.String? createTime; + + /// The dataset from which the model is trained, in form of + /// `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}` + core.String? dataset; + + /// Timestamp when the model training finished and ready to be used for + /// translation. + /// + /// Output only. + core.String? deployTime; + + /// The name of the model to show in the interface. + /// + /// The name can be up to 32 characters long and can consist only of ASCII + /// Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. + core.String? displayName; + + /// The resource name of the model, in form of + /// `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}` + core.String? name; + + /// The BCP-47 language code of the source language. + /// + /// Output only. + core.String? sourceLanguageCode; + + /// The BCP-47 language code of the target language. + /// + /// Output only. + core.String? targetLanguageCode; + + /// Number of examples (sentence pairs) used to test the model. + /// + /// Output only. + core.int? testExampleCount; + + /// Number of examples (sentence pairs) used to train the model. + /// + /// Output only. + core.int? trainExampleCount; + + /// Timestamp when this model was last updated. + /// + /// Output only. + core.String? updateTime; + + /// Number of examples (sentence pairs) used to validate the model. + /// + /// Output only. + core.int? validateExampleCount; + + Model({ + this.createTime, + this.dataset, + this.deployTime, + this.displayName, + this.name, + this.sourceLanguageCode, + this.targetLanguageCode, + this.testExampleCount, + this.trainExampleCount, + this.updateTime, + this.validateExampleCount, + }); + + Model.fromJson(core.Map json_) + : this( + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + dataset: json_.containsKey('dataset') + ? json_['dataset'] as core.String + : null, + deployTime: json_.containsKey('deployTime') + ? json_['deployTime'] as core.String + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + sourceLanguageCode: json_.containsKey('sourceLanguageCode') + ? json_['sourceLanguageCode'] as core.String + : null, + targetLanguageCode: json_.containsKey('targetLanguageCode') + ? json_['targetLanguageCode'] as core.String + : null, + testExampleCount: json_.containsKey('testExampleCount') + ? json_['testExampleCount'] as core.int + : null, + trainExampleCount: json_.containsKey('trainExampleCount') + ? json_['trainExampleCount'] as core.int + : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + validateExampleCount: json_.containsKey('validateExampleCount') + ? json_['validateExampleCount'] as core.int + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (createTime != null) 'createTime': createTime!, + if (dataset != null) 'dataset': dataset!, + if (deployTime != null) 'deployTime': deployTime!, + if (displayName != null) 'displayName': displayName!, + if (name != null) 'name': name!, + if (sourceLanguageCode != null) + 'sourceLanguageCode': sourceLanguageCode!, + if (targetLanguageCode != null) + 'targetLanguageCode': targetLanguageCode!, + if (testExampleCount != null) 'testExampleCount': testExampleCount!, + if (trainExampleCount != null) 'trainExampleCount': trainExampleCount!, + if (updateTime != null) 'updateTime': updateTime!, + if (validateExampleCount != null) + 'validateExampleCount': validateExampleCount!, + }; +} + /// This resource represents a long-running operation that is the result of a /// network API call. class Operation { @@ -2695,7 +3731,7 @@ /// avoid file updating. /// (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) The /// format of translations_file (for target language code 'trg') is: - /// gs://translation_test/a_b_c_'trg'_translations.\[extension\] If the input + /// `gs://translation_test/a_b_c_'trg'_translations.[extension]` If the input /// file extension is tsv, the output has the following columns: Column 1: ID /// of the request provided in the input, if it's not provided in the input, /// then the input row number is used (0-based). Column 2: source sentence. @@ -2748,7 +3784,7 @@ /// A single supported language response corresponds to information related to /// one supported language. class SupportedLanguage { - /// Human readable name of the language localized in the display language + /// Human-readable name of the language localized in the display language /// specified in the request. core.String? displayName; @@ -2756,13 +3792,13 @@ /// for example, 'en', 'ja'. /// /// In certain cases, BCP-47 codes including language and region identifiers - /// are returned (for example, 'zh-TW' and 'zh-CN') + /// are returned (for example, 'zh-TW' and 'zh-CN'). core.String? languageCode; - /// Can be used as source language. + /// Can be used as a source language. core.bool? supportSource; - /// Can be used as target language. + /// Can be used as a target language. core.bool? supportTarget; SupportedLanguage({ @@ -2849,6 +3885,12 @@ /// Optional. DocumentOutputConfig? documentOutputConfig; + /// If true, use the text removal server to remove the shadow text on + /// background image for native pdf translation. + /// + /// Optional. + core.bool? enableShadowRemovalNativePdf; + /// Glossary to be applied. /// /// The glossary must be within the same region (have the same location-id) as @@ -2911,6 +3953,7 @@ this.customizedAttribution, this.documentInputConfig, this.documentOutputConfig, + this.enableShadowRemovalNativePdf, this.glossaryConfig, this.isTranslateNativePdfOnly, this.labels, @@ -2932,6 +3975,10 @@ ? DocumentOutputConfig.fromJson(json_['documentOutputConfig'] as core.Map<core.String, core.dynamic>) : null, + enableShadowRemovalNativePdf: + json_.containsKey('enableShadowRemovalNativePdf') + ? json_['enableShadowRemovalNativePdf'] as core.bool + : null, glossaryConfig: json_.containsKey('glossaryConfig') ? TranslateTextGlossaryConfig.fromJson(json_['glossaryConfig'] as core.Map<core.String, core.dynamic>) @@ -2965,6 +4012,8 @@ 'documentInputConfig': documentInputConfig!, if (documentOutputConfig != null) 'documentOutputConfig': documentOutputConfig!, + if (enableShadowRemovalNativePdf != null) + 'enableShadowRemovalNativePdf': enableShadowRemovalNativePdf!, if (glossaryConfig != null) 'glossaryConfig': glossaryConfig!, if (isTranslateNativePdfOnly != null) 'isTranslateNativePdfOnly': isTranslateNativePdfOnly!, @@ -3038,20 +4087,20 @@ }; } -/// Configures which glossary should be used for a specific target language, and -/// defines options for applying that glossary. +/// Configures which glossary is used for a specific target language and defines +/// options for applying that glossary. class TranslateTextGlossaryConfig { /// The `glossary` to be applied for this translation. /// - /// The format depends on glossary: - User provided custom glossary: + /// The format depends on the glossary: - User-provided custom glossary: /// `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}` /// /// Required. core.String? glossary; - /// Indicates match is case-insensitive. + /// Indicates match is case insensitive. /// - /// Default value is false if missing. + /// The default value is `false` if missing. /// /// Optional. core.bool? ignoreCase; @@ -3081,8 +4130,8 @@ class TranslateTextRequest { /// The content of the input in string format. /// - /// We recommend the total content be less than 30k codepoints. The max length - /// of this field is 1024. Use BatchTranslateText for larger text. + /// We recommend the total content be less than 30,000 codepoints. The max + /// length of this field is 1024. Use BatchTranslateText for larger text. /// /// Required. core.List<core.String>? contents;
diff --git a/generated/googleapis/lib/vmmigration/v1.dart b/generated/googleapis/lib/vmmigration/v1.dart index 9709b4e..bbc526e 100644 --- a/generated/googleapis/lib/vmmigration/v1.dart +++ b/generated/googleapis/lib/vmmigration/v1.dart
@@ -12,7 +12,7 @@ // ignore_for_file: unnecessary_lambdas // ignore_for_file: unnecessary_string_interpolations -/// Migrate to Virtual Machines API - v1 +/// VM Migration API - v1 /// /// Use the Migrate to Virtual Machines API to programmatically migrate /// workloads. @@ -2853,6 +2853,37 @@ } } +/// Message describing AWS Credentials using access key id and secret. +class AccessKeyCredentials { + /// AWS access key ID. + core.String? accessKeyId; + + /// Input only. + /// + /// AWS secret access key. + core.String? secretAccessKey; + + AccessKeyCredentials({ + this.accessKeyId, + this.secretAccessKey, + }); + + AccessKeyCredentials.fromJson(core.Map json_) + : this( + accessKeyId: json_.containsKey('accessKeyId') + ? json_['accessKeyId'] as core.String + : null, + secretAccessKey: json_.containsKey('secretAccessKey') + ? json_['secretAccessKey'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (accessKeyId != null) 'accessKeyId': accessKeyId!, + if (secretAccessKey != null) 'secretAccessKey': secretAccessKey!, + }; +} + /// AdaptingOSStep contains specific step details. typedef AdaptingOSStep = $Empty; @@ -2990,6 +3021,394 @@ }; } +/// AwsSecurityGroup describes a security group of an AWS VM. +class AwsSecurityGroup { + /// The AWS security group id. + core.String? id; + + /// The AWS security group name. + core.String? name; + + AwsSecurityGroup({ + this.id, + this.name, + }); + + AwsSecurityGroup.fromJson(core.Map json_) + : this( + id: json_.containsKey('id') ? json_['id'] as core.String : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (id != null) 'id': id!, + if (name != null) 'name': name!, + }; +} + +/// AwsSourceDetails message describes a specific source details for the AWS +/// source type. +class AwsSourceDetails { + /// AWS Credentials using access key id and secret. + AccessKeyCredentials? accessKeyCreds; + + /// The AWS region that the source VMs will be migrated from. + /// + /// Immutable. + core.String? awsRegion; + + /// Provides details on the state of the Source in case of an error. + /// + /// Output only. + Status? error; + + /// AWS security group names to limit the scope of the source inventory. + core.List<core.String>? inventorySecurityGroupNames; + + /// AWS resource tags to limit the scope of the source inventory. + core.List<Tag>? inventoryTagList; + + /// User specified tags to add to every M2VM generated resource in AWS. + /// + /// These tags will be set in addition to the default tags that are set as + /// part of the migration process. The tags must not begin with the reserved + /// prefix `m2vm`. + core.Map<core.String, core.String>? migrationResourcesUserTags; + + /// The source's public IP. + /// + /// All communication initiated by this source will originate from this IP. + /// + /// Output only. + core.String? publicIp; + + /// State of the source as determined by the health check. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : The state is unknown. This is used for API + /// compatibility only and is not used by the system. + /// - "PENDING" : The state was not sampled by the health checks yet. + /// - "FAILED" : The source is available but might not be usable yet due to + /// invalid credentials or another reason. The error message will contain + /// further details. + /// - "ACTIVE" : The source exists and its credentials were verified. + core.String? state; + + AwsSourceDetails({ + this.accessKeyCreds, + this.awsRegion, + this.error, + this.inventorySecurityGroupNames, + this.inventoryTagList, + this.migrationResourcesUserTags, + this.publicIp, + this.state, + }); + + AwsSourceDetails.fromJson(core.Map json_) + : this( + accessKeyCreds: json_.containsKey('accessKeyCreds') + ? AccessKeyCredentials.fromJson(json_['accessKeyCreds'] + as core.Map<core.String, core.dynamic>) + : null, + awsRegion: json_.containsKey('awsRegion') + ? json_['awsRegion'] as core.String + : null, + error: json_.containsKey('error') + ? Status.fromJson( + json_['error'] as core.Map<core.String, core.dynamic>) + : null, + inventorySecurityGroupNames: + json_.containsKey('inventorySecurityGroupNames') + ? (json_['inventorySecurityGroupNames'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + inventoryTagList: json_.containsKey('inventoryTagList') + ? (json_['inventoryTagList'] as core.List) + .map((value) => Tag.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + migrationResourcesUserTags: + json_.containsKey('migrationResourcesUserTags') + ? (json_['migrationResourcesUserTags'] + as core.Map<core.String, core.dynamic>) + .map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + publicIp: json_.containsKey('publicIp') + ? json_['publicIp'] as core.String + : null, + state: + json_.containsKey('state') ? json_['state'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (accessKeyCreds != null) 'accessKeyCreds': accessKeyCreds!, + if (awsRegion != null) 'awsRegion': awsRegion!, + if (error != null) 'error': error!, + if (inventorySecurityGroupNames != null) + 'inventorySecurityGroupNames': inventorySecurityGroupNames!, + if (inventoryTagList != null) 'inventoryTagList': inventoryTagList!, + if (migrationResourcesUserTags != null) + 'migrationResourcesUserTags': migrationResourcesUserTags!, + if (publicIp != null) 'publicIp': publicIp!, + if (state != null) 'state': state!, + }; +} + +/// Represent the source AWS VM details. +class AwsSourceVmDetails { + /// The total size of the disks being migrated in bytes. + core.String? committedStorageBytes; + + /// The firmware type of the source VM. + /// Possible string values are: + /// - "FIRMWARE_UNSPECIFIED" : The firmware is unknown. + /// - "EFI" : The firmware is EFI. + /// - "BIOS" : The firmware is BIOS. + core.String? firmware; + + AwsSourceVmDetails({ + this.committedStorageBytes, + this.firmware, + }); + + AwsSourceVmDetails.fromJson(core.Map json_) + : this( + committedStorageBytes: json_.containsKey('committedStorageBytes') + ? json_['committedStorageBytes'] as core.String + : null, + firmware: json_.containsKey('firmware') + ? json_['firmware'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (committedStorageBytes != null) + 'committedStorageBytes': committedStorageBytes!, + if (firmware != null) 'firmware': firmware!, + }; +} + +/// AwsVmDetails describes a VM in AWS. +class AwsVmDetails { + /// The CPU architecture. + /// Possible string values are: + /// - "VM_ARCHITECTURE_UNSPECIFIED" : The architecture is unknown. + /// - "I386" : The architecture is I386. + /// - "X86_64" : The architecture is X86_64. + /// - "ARM64" : The architecture is ARM64. + /// - "X86_64_MAC" : The architecture is X86_64_MAC. + core.String? architecture; + + /// The VM Boot Option. + /// Possible string values are: + /// - "BOOT_OPTION_UNSPECIFIED" : The boot option is unknown. + /// - "EFI" : The boot option is UEFI. + /// - "BIOS" : The boot option is LEGACY-BIOS. + core.String? bootOption; + + /// The total size of the storage allocated to the VM in MB. + core.String? committedStorageMb; + + /// The number of cpus the VM has. + core.int? cpuCount; + + /// The number of disks the VM has. + core.int? diskCount; + + /// The display name of the VM. + /// + /// Note that this value is not necessarily unique. + core.String? displayName; + + /// The instance type of the VM. + core.String? instanceType; + + /// The memory size of the VM in MB. + core.int? memoryMb; + + /// The VM's OS. + core.String? osDescription; + + /// The power state of the VM at the moment list was taken. + /// + /// Output only. + /// Possible string values are: + /// - "POWER_STATE_UNSPECIFIED" : Power state is not specified. + /// - "ON" : The VM is turned on. + /// - "OFF" : The VM is turned off. + /// - "SUSPENDED" : The VM is suspended. This is similar to hibernation or + /// sleep mode. + /// - "PENDING" : The VM is starting. + core.String? powerState; + + /// The security groups the VM belongs to. + core.List<AwsSecurityGroup>? securityGroups; + + /// The descriptive name of the AWS's source this VM is connected to. + core.String? sourceDescription; + + /// The id of the AWS's source this VM is connected to. + core.String? sourceId; + + /// The tags of the VM. + core.Map<core.String, core.String>? tags; + + /// The virtualization type. + /// Possible string values are: + /// - "VM_VIRTUALIZATION_TYPE_UNSPECIFIED" : The virtualization type is + /// unknown. + /// - "HVM" : The virtualziation type is HVM. + /// - "PARAVIRTUAL" : The virtualziation type is PARAVIRTUAL. + core.String? virtualizationType; + + /// The VM ID in AWS. + core.String? vmId; + + /// The VPC ID the VM belongs to. + core.String? vpcId; + + /// The AWS zone of the VM. + core.String? zone; + + AwsVmDetails({ + this.architecture, + this.bootOption, + this.committedStorageMb, + this.cpuCount, + this.diskCount, + this.displayName, + this.instanceType, + this.memoryMb, + this.osDescription, + this.powerState, + this.securityGroups, + this.sourceDescription, + this.sourceId, + this.tags, + this.virtualizationType, + this.vmId, + this.vpcId, + this.zone, + }); + + AwsVmDetails.fromJson(core.Map json_) + : this( + architecture: json_.containsKey('architecture') + ? json_['architecture'] as core.String + : null, + bootOption: json_.containsKey('bootOption') + ? json_['bootOption'] as core.String + : null, + committedStorageMb: json_.containsKey('committedStorageMb') + ? json_['committedStorageMb'] as core.String + : null, + cpuCount: json_.containsKey('cpuCount') + ? json_['cpuCount'] as core.int + : null, + diskCount: json_.containsKey('diskCount') + ? json_['diskCount'] as core.int + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + instanceType: json_.containsKey('instanceType') + ? json_['instanceType'] as core.String + : null, + memoryMb: json_.containsKey('memoryMb') + ? json_['memoryMb'] as core.int + : null, + osDescription: json_.containsKey('osDescription') + ? json_['osDescription'] as core.String + : null, + powerState: json_.containsKey('powerState') + ? json_['powerState'] as core.String + : null, + securityGroups: json_.containsKey('securityGroups') + ? (json_['securityGroups'] as core.List) + .map((value) => AwsSecurityGroup.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + sourceDescription: json_.containsKey('sourceDescription') + ? json_['sourceDescription'] as core.String + : null, + sourceId: json_.containsKey('sourceId') + ? json_['sourceId'] as core.String + : null, + tags: json_.containsKey('tags') + ? (json_['tags'] as core.Map<core.String, core.dynamic>).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + virtualizationType: json_.containsKey('virtualizationType') + ? json_['virtualizationType'] as core.String + : null, + vmId: json_.containsKey('vmId') ? json_['vmId'] as core.String : null, + vpcId: + json_.containsKey('vpcId') ? json_['vpcId'] as core.String : null, + zone: json_.containsKey('zone') ? json_['zone'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (architecture != null) 'architecture': architecture!, + if (bootOption != null) 'bootOption': bootOption!, + if (committedStorageMb != null) + 'committedStorageMb': committedStorageMb!, + if (cpuCount != null) 'cpuCount': cpuCount!, + if (diskCount != null) 'diskCount': diskCount!, + if (displayName != null) 'displayName': displayName!, + if (instanceType != null) 'instanceType': instanceType!, + if (memoryMb != null) 'memoryMb': memoryMb!, + if (osDescription != null) 'osDescription': osDescription!, + if (powerState != null) 'powerState': powerState!, + if (securityGroups != null) 'securityGroups': securityGroups!, + if (sourceDescription != null) 'sourceDescription': sourceDescription!, + if (sourceId != null) 'sourceId': sourceId!, + if (tags != null) 'tags': tags!, + if (virtualizationType != null) + 'virtualizationType': virtualizationType!, + if (vmId != null) 'vmId': vmId!, + if (vpcId != null) 'vpcId': vpcId!, + if (zone != null) 'zone': zone!, + }; +} + +/// AWSVmsDetails describes VMs in AWS. +class AwsVmsDetails { + /// The details of the AWS VMs. + core.List<AwsVmDetails>? details; + + AwsVmsDetails({ + this.details, + }); + + AwsVmsDetails.fromJson(core.Map json_) + : this( + details: json_.containsKey('details') + ? (json_['details'] as core.List) + .map((value) => AwsVmDetails.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (details != null) 'details': details!, + }; +} + /// Request message for 'CancelCloneJob' request. typedef CancelCloneJobRequest = $Empty; @@ -3437,7 +3856,7 @@ /// A map of network tags to associate with the VM. core.List<core.String>? networkTags; - /// The GCP target project ID or project name. + /// The Google Cloud target project ID or project name. core.String? project; /// Defines whether the instance has Secure Boot enabled. @@ -3917,9 +4336,9 @@ } /// DatacenterConnector message describes a connector between the Source and -/// GCP, which is installed on a vmware datacenter (an OVA vm installed by the -/// user) to connect the Datacenter to GCP and support vm migration data -/// transfer. +/// Google Cloud, which is installed on a vmware datacenter (an OVA vm installed +/// by the user) to connect the Datacenter to Google Cloud and support vm +/// migration data transfer. class DatacenterConnector { /// Appliance OVA version. /// @@ -3943,7 +4362,8 @@ /// Output only. AvailableUpdates? availableVersions; - /// The communication channel between the datacenter connector and GCP. + /// The communication channel between the datacenter connector and Google + /// Cloud. /// /// Output only. core.String? bucket; @@ -4108,6 +4528,9 @@ /// Response message for fetchInventory. class FetchInventoryResponse { + /// The description of the VMs in a Source of type AWS. + AwsVmsDetails? awsVms; + /// A token, which can be sent as `page_token` to retrieve the next page. /// /// If this field is omitted, there are no subsequent pages. @@ -4125,6 +4548,7 @@ VmwareVmsDetails? vmwareVms; FetchInventoryResponse({ + this.awsVms, this.nextPageToken, this.updateTime, this.vmwareVms, @@ -4132,6 +4556,10 @@ FetchInventoryResponse.fromJson(core.Map json_) : this( + awsVms: json_.containsKey('awsVms') + ? AwsVmsDetails.fromJson( + json_['awsVms'] as core.Map<core.String, core.dynamic>) + : null, nextPageToken: json_.containsKey('nextPageToken') ? json_['nextPageToken'] as core.String : null, @@ -4145,6 +4573,7 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (awsVms != null) 'awsVms': awsVms!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, if (updateTime != null) 'updateTime': updateTime!, if (vmwareVms != null) 'vmwareVms': vmwareVms!, @@ -4741,6 +5170,11 @@ /// MigratingVm describes the VM that will be migrated from a Source environment /// and its replication state. class MigratingVm { + /// Details of the VM from an AWS source. + /// + /// Output only. + AwsSourceVmDetails? awsSourceVmDetails; + /// Details of the target VM in Compute Engine. ComputeEngineTargetDefaults? computeEngineTargetDefaults; @@ -4855,6 +5289,7 @@ core.String? updateTime; MigratingVm({ + this.awsSourceVmDetails, this.computeEngineTargetDefaults, this.createTime, this.currentSyncInfo, @@ -4876,6 +5311,10 @@ MigratingVm.fromJson(core.Map json_) : this( + awsSourceVmDetails: json_.containsKey('awsSourceVmDetails') + ? AwsSourceVmDetails.fromJson(json_['awsSourceVmDetails'] + as core.Map<core.String, core.dynamic>) + : null, computeEngineTargetDefaults: json_.containsKey('computeEngineTargetDefaults') ? ComputeEngineTargetDefaults.fromJson( @@ -4944,6 +5383,8 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (awsSourceVmDetails != null) + 'awsSourceVmDetails': awsSourceVmDetails!, if (computeEngineTargetDefaults != null) 'computeEngineTargetDefaults': computeEngineTargetDefaults!, if (createTime != null) 'createTime': createTime!, @@ -5383,6 +5824,9 @@ /// /// It contains the source environment information. class Source { + /// AWS type source details. + AwsSourceDetails? aws; + /// The create time timestamp. /// /// Output only. @@ -5408,6 +5852,7 @@ VmwareSourceDetails? vmware; Source({ + this.aws, this.createTime, this.description, this.labels, @@ -5418,6 +5863,10 @@ Source.fromJson(core.Map json_) : this( + aws: json_.containsKey('aws') + ? AwsSourceDetails.fromJson( + json_['aws'] as core.Map<core.String, core.dynamic>) + : null, createTime: json_.containsKey('createTime') ? json_['createTime'] as core.String : null, @@ -5443,6 +5892,7 @@ ); core.Map<core.String, core.dynamic> toJson() => { + if (aws != null) 'aws': aws!, if (createTime != null) 'createTime': createTime!, if (description != null) 'description': description!, if (labels != null) 'labels': labels!, @@ -5464,6 +5914,32 @@ /// [API Design Guide](https://cloud.google.com/apis/design/errors). typedef Status = $Status; +/// Tag is an AWS tag representation. +class Tag { + /// Key of tag. + core.String? key; + + /// Value of tag. + core.String? value; + + Tag({ + this.key, + this.value, + }); + + Tag.fromJson(core.Map json_) + : this( + key: json_.containsKey('key') ? json_['key'] as core.String : null, + value: + json_.containsKey('value') ? json_['value'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (key != null) 'key': key!, + if (value != null) 'value': value!, + }; +} + /// TargetProject message represents a target Compute Engine project for a /// migration or a clone. class TargetProject {
diff --git a/generated/googleapis/lib/websecurityscanner/v1.dart b/generated/googleapis/lib/websecurityscanner/v1.dart index 46ef024..e8e20ba 100644 --- a/generated/googleapis/lib/websecurityscanner/v1.dart +++ b/generated/googleapis/lib/websecurityscanner/v1.dart
@@ -1863,6 +1863,8 @@ /// errors from the web site pages. When available, /// most_common_http_error_code field indicates the most common HTTP error /// code encountered during the scan. + /// - "STARTING_URLS_CRAWL_HTTP_ERRORS" : Indicates that some of the starting + /// web urls returned HTTP errors during the scan. core.String? code; /// If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most
diff --git a/generated/googleapis/lib/workflowexecutions/v1.dart b/generated/googleapis/lib/workflowexecutions/v1.dart index f7338bb..a09dd82 100644 --- a/generated/googleapis/lib/workflowexecutions/v1.dart +++ b/generated/googleapis/lib/workflowexecutions/v1.dart
@@ -237,7 +237,7 @@ /// Possible string values are: /// - "EXECUTION_VIEW_UNSPECIFIED" : The default / unset value. /// - "BASIC" : Includes only basic metadata about the execution. Following - /// fields are returned: name, start_time, end_time, state and + /// fields are returned: name, start_time, end_time, duration, state and /// workflow_revision_id. /// - "FULL" : Includes all data. /// @@ -301,7 +301,7 @@ /// Possible string values are: /// - "EXECUTION_VIEW_UNSPECIFIED" : The default / unset value. /// - "BASIC" : Includes only basic metadata about the execution. Following - /// fields are returned: name, start_time, end_time, state and + /// fields are returned: name, start_time, end_time, duration, state and /// workflow_revision_id. /// - "FULL" : Includes all data. /// @@ -395,13 +395,18 @@ /// The call logging level associated to this execution. /// Possible string values are: - /// - "CALL_LOG_LEVEL_UNSPECIFIED" : No call logging specified. + /// - "CALL_LOG_LEVEL_UNSPECIFIED" : No call logging level specified. /// - "LOG_ALL_CALLS" : Log all call steps within workflows, all call returns, /// and all exceptions raised. /// - "LOG_ERRORS_ONLY" : Log only exceptions that are raised from call steps /// within workflows. core.String? callLogLevel; + /// Measures the duration of the execution. + /// + /// Output only. + core.String? duration; + /// Marks the end of execution, successful or not. /// /// Output only. @@ -459,6 +464,7 @@ Execution({ this.argument, this.callLogLevel, + this.duration, this.endTime, this.error, this.name, @@ -477,6 +483,9 @@ callLogLevel: json_.containsKey('callLogLevel') ? json_['callLogLevel'] as core.String : null, + duration: json_.containsKey('duration') + ? json_['duration'] as core.String + : null, endTime: json_.containsKey('endTime') ? json_['endTime'] as core.String : null, @@ -505,6 +514,7 @@ core.Map<core.String, core.dynamic> toJson() => { if (argument != null) 'argument': argument!, if (callLogLevel != null) 'callLogLevel': callLogLevel!, + if (duration != null) 'duration': duration!, if (endTime != null) 'endTime': endTime!, if (error != null) 'error': error!, if (name != null) 'name': name!,
diff --git a/generated/googleapis/lib/workflows/v1.dart b/generated/googleapis/lib/workflows/v1.dart index d30426c..521d730 100644 --- a/generated/googleapis/lib/workflows/v1.dart +++ b/generated/googleapis/lib/workflows/v1.dart
@@ -321,8 +321,8 @@ /// Creates a new workflow. /// /// If a workflow with the specified name already exists in the specified - /// project and location, the long running operation will return - /// ALREADY_EXISTS error. + /// project and location, the long running operation returns a ALREADY_EXISTS + /// error. /// /// [request] - The metadata request object. /// @@ -411,11 +411,11 @@ return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); } - /// Gets details of a single Workflow. + /// Gets details of a single workflow. /// /// Request parameters: /// - /// [name] - Required. Name of the workflow which information should be + /// [name] - Required. Name of the workflow for which information should be /// retrieved. Format: /// projects/{project}/locations/{location}/workflows/{workflow} /// Value must have pattern @@ -449,7 +449,7 @@ return Workflow.fromJson(response_ as core.Map<core.String, core.dynamic>); } - /// Lists Workflows in a given project and location. + /// Lists workflows in a given project and location. /// /// The default order is not specified. /// @@ -461,15 +461,16 @@ /// /// [filter] - Filter to restrict results to specific workflows. /// - /// [orderBy] - Comma-separated list of fields that that specify the order of - /// the results. Default sorting order for a field is ascending. To specify - /// descending order for a field, append a " desc" suffix. If not specified, - /// the results will be returned in an unspecified order. + /// [orderBy] - Comma-separated list of fields that specify the order of the + /// results. Default sorting order for a field is ascending. To specify + /// descending order for a field, append a "desc" suffix. If not specified, + /// the results are returned in an unspecified order. /// /// [pageSize] - Maximum number of workflows to return per call. The service - /// may return fewer than this value. If the value is not specified, a default - /// value of 500 will be used. The maximum permitted value is 1000 and values - /// greater than 1000 will be coerced down to 1000. + /// might return fewer than this value even if not at the end of the + /// collection. If a value is not specified, a default value of 500 is used. + /// The maximum permitted value is 1000 and values greater than 1000 are + /// coerced down to 1000. /// /// [pageToken] - A page token, received from a previous `ListWorkflows` call. /// Provide this to retrieve the subsequent page. When paginating, all other @@ -516,9 +517,9 @@ /// Updates an existing workflow. /// /// Running this method has no impact on already running executions of the - /// workflow. A new revision of the workflow may be created as a result of a - /// successful update operation. In that case, such revision will be used in - /// new workflow executions. + /// workflow. A new revision of the workflow might be created as a result of a + /// successful update operation. In that case, the new revision is used in new + /// workflow executions. /// /// [request] - The metadata request object. /// @@ -648,7 +649,7 @@ /// Unreachable resources. core.List<core.String>? unreachable; - /// The workflows which match the request. + /// The workflows that match the request. core.List<Workflow>? workflows; ListWorkflowsResponse({ @@ -772,7 +773,7 @@ /// Workflow program to be executed by Workflows. class Workflow { - /// The timestamp of when the workflow was created. + /// The timestamp for when the workflow was created. /// /// Output only. core.String? createTime; @@ -786,7 +787,7 @@ /// /// Labels can contain at most 64 entries. Keys and values can be no longer /// than 63 characters and can only contain lowercase letters, numeric - /// characters, underscores and dashes. Label keys must start with a letter. + /// characters, underscores, and dashes. Label keys must start with a letter. /// International characters are allowed. core.Map<core.String, core.String>? labels; @@ -795,7 +796,7 @@ /// Format: projects/{project}/locations/{location}/workflows/{workflow} core.String? name; - /// The timestamp that the latest revision of the workflow was created. + /// The timestamp for the latest revision of the workflow's creation. /// /// Output only. core.String? revisionCreateTime; @@ -836,7 +837,7 @@ /// - "ACTIVE" : The workflow has been deployed successfully and is serving. core.String? state; - /// The last update timestamp of the workflow. + /// The timestamp for when the workflow was last updated. /// /// Output only. core.String? updateTime;
diff --git a/generated/googleapis/lib/workloadmanager/v1.dart b/generated/googleapis/lib/workloadmanager/v1.dart new file mode 100644 index 0000000..bcb4974 --- /dev/null +++ b/generated/googleapis/lib/workloadmanager/v1.dart
@@ -0,0 +1,1373 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: file_names +// ignore_for_file: library_names +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// Workload Manager API - v1 +/// +/// For more information, see <https://cloud.google.com/workload-manager/docs> +/// +/// Create an instance of [WorkloadManagerApi] to access these resources: +/// +/// - [ProjectsResource] +/// - [ProjectsLocationsResource] +/// - [ProjectsLocationsEvaluationsResource] +/// - [ProjectsLocationsInsightsResource] +/// - [ProjectsLocationsOperationsResource] +library workloadmanager.v1; + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +// ignore: deprecated_member_use_from_same_package +import '../shared.dart'; +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +class WorkloadManagerApi { + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. + static const cloudPlatformScope = + 'https://www.googleapis.com/auth/cloud-platform'; + + final commons.ApiRequester _requester; + + ProjectsResource get projects => ProjectsResource(_requester); + + WorkloadManagerApi(http.Client client, + {core.String rootUrl = 'https://workloadmanager.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class ProjectsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsResource get locations => + ProjectsLocationsResource(_requester); + + ProjectsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsEvaluationsResource get evaluations => + ProjectsLocationsEvaluationsResource(_requester); + ProjectsLocationsInsightsResource get insights => + ProjectsLocationsInsightsResource(_requester); + ProjectsLocationsOperationsResource get operations => + ProjectsLocationsOperationsResource(_requester); + + ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; + + /// Gets information about a location. + /// + /// Request parameters: + /// + /// [name] - Resource name for the location. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Location]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Location> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Location.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Lists information about the supported locations for this service. + /// + /// Request parameters: + /// + /// [name] - The resource that owns the locations collection, if applicable. + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [filter] - A filter to narrow down results to a preferred subset. The + /// filtering language accepts strings like `"displayName=tokyo"`, and is + /// documented in more detail in \[AIP-160\](https://google.aip.dev/160). + /// + /// [pageSize] - The maximum number of results to return. If not set, the + /// service selects a default. + /// + /// [pageToken] - A page token received from the `next_page_token` field in + /// the response. Send that page token to receive the subsequent page. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListLocationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListLocationsResponse> list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + '/locations'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListLocationsResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + +class ProjectsLocationsEvaluationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsEvaluationsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a new Evaluation in a given project and location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The resource name of the evaluation location using + /// the form: `projects/{project_id}/locations/{location_id}` where + /// `location_id` refers to a GCP region. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [evaluationId] - Required. Id of the requesting object If auto-generating + /// Id server-side, remove this field and evaluation_id from the + /// method_signature of Create RPC + /// + /// [requestId] - Optional. 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. + /// The server will guarantee that for at least 60 minutes since the first + /// request. For example, consider a situation where you make an initial + /// request and t he 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). + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> create( + Evaluation request, + core.String parent, { + core.String? evaluationId, + core.String? requestId, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if (evaluationId != null) 'evaluationId': [evaluationId], + if (requestId != null) 'requestId': [requestId], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/evaluations'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Gets details of a single Evaluation. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the resource + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/evaluations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Evaluation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Evaluation> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Evaluation.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } + + /// Lists Evaluations in a given project and location. + /// + /// Request parameters: + /// + /// [parent] - Required. Parent value for ListEvaluationsRequest + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - Filtering results + /// + /// [orderBy] - Hint for how to order the results + /// + /// [pageSize] - Requested page size. Server may return fewer items than + /// requested. If unspecified, server will pick an appropriate default. + /// + /// [pageToken] - A token identifying a page of results the server should + /// return. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListEvaluationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListEvaluationsResponse> list( + core.String parent, { + core.String? filter, + core.String? orderBy, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (filter != null) 'filter': [filter], + if (orderBy != null) 'orderBy': [orderBy], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/evaluations'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListEvaluationsResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + +class ProjectsLocationsInsightsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsInsightsResource(commons.ApiRequester client) + : _requester = client; + + /// Write the data insights to workload manager data warehouse. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [location] - Required. The GCP location. The format is: + /// projects/{project}/locations/{location}. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [WriteInsightResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<WriteInsightResponse> writeInsight( + WriteInsightRequest request, + core.String location, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$location') + '/insights:writeInsight'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return WriteInsightResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + +class ProjectsLocationsOperationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsOperationsResource(commons.ApiRequester client) + : _requester = client; + + /// 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`. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be cancelled. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Empty> cancel( + CancelOperationRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + ':cancel'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// 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`. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be deleted. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Empty> delete( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// 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. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<Operation> get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map<core.String, core.dynamic>); + } + + /// Lists operations that match the specified filter in the request. + /// + /// If the server doesn't support this method, it returns `UNIMPLEMENTED`. + /// NOTE: the `name` binding allows API services to override the binding to + /// use different resource name schemes, such as `users / * /operations`. To + /// override the binding, API services can add a binding such as + /// `"/v1/{name=users / * }/operations"` to their service configuration. For + /// backwards compatibility, the default name includes the operations + /// collection id, however overriding users must ensure the name binding is + /// the parent resource, without the operations collection id. + /// + /// Request parameters: + /// + /// [name] - The name of the operation's parent resource. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - The standard list filter. + /// + /// [pageSize] - The standard list page size. + /// + /// [pageToken] - The standard list page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListOperationsResponse]. + /// + /// Completes with a [commons.ApiRequestError] if the API endpoint returned an + /// error. + /// + /// If the used [http.Client] completes with an error when making a REST call, + /// this method will complete with the same error. + async.Future<ListOperationsResponse> list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = <core.String, core.List<core.String>>{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name') + '/operations'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListOperationsResponse.fromJson( + response_ as core.Map<core.String, core.dynamic>); + } +} + +/// The request message for Operations.CancelOperation. +typedef CancelOperationRequest = $Empty; + +/// 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); } +typedef Empty = $Empty; + +/// Message describing Evaluation object +class Evaluation { + /// Create time stamp + /// + /// Output only. + core.String? createTime; + + /// Description of the Evaluation + core.String? description; + + /// Labels as key value pairs + core.Map<core.String, core.String>? labels; + + /// name of resource names have the form + /// 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' + core.String? name; + + /// annotations as key value pairs + ResourceFilter? resourceFilter; + + /// The updated rule ids if exist. + /// + /// Output only. + ResourceStatus? resourceStatus; + + /// the name of the rule + core.List<core.String>? ruleNames; + + /// The updated rule ids if exist. + /// + /// Output only. + core.List<core.String>? ruleVersions; + + /// Update time stamp + /// + /// Output only. + core.String? updateTime; + + Evaluation({ + this.createTime, + this.description, + this.labels, + this.name, + this.resourceFilter, + this.resourceStatus, + this.ruleNames, + this.ruleVersions, + this.updateTime, + }); + + Evaluation.fromJson(core.Map json_) + : this( + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + description: json_.containsKey('description') + ? json_['description'] as core.String + : null, + labels: json_.containsKey('labels') + ? (json_['labels'] as core.Map<core.String, core.dynamic>).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + resourceFilter: json_.containsKey('resourceFilter') + ? ResourceFilter.fromJson(json_['resourceFilter'] + as core.Map<core.String, core.dynamic>) + : null, + resourceStatus: json_.containsKey('resourceStatus') + ? ResourceStatus.fromJson(json_['resourceStatus'] + as core.Map<core.String, core.dynamic>) + : null, + ruleNames: json_.containsKey('ruleNames') + ? (json_['ruleNames'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ruleVersions: json_.containsKey('ruleVersions') + ? (json_['ruleVersions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (createTime != null) 'createTime': createTime!, + if (description != null) 'description': description!, + if (labels != null) 'labels': labels!, + if (name != null) 'name': name!, + if (resourceFilter != null) 'resourceFilter': resourceFilter!, + if (resourceStatus != null) 'resourceStatus': resourceStatus!, + if (ruleNames != null) 'ruleNames': ruleNames!, + if (ruleVersions != null) 'ruleVersions': ruleVersions!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Message describing compute engine instance filter +class GceInstanceFilter { + /// Service account of compute engine + core.List<core.String>? serviceAccounts; + + GceInstanceFilter({ + this.serviceAccounts, + }); + + GceInstanceFilter.fromJson(core.Map json_) + : this( + serviceAccounts: json_.containsKey('serviceAccounts') + ? (json_['serviceAccounts'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (serviceAccounts != null) 'serviceAccounts': serviceAccounts!, + }; +} + +/// A presentation of host resource usage where the workload runs. +class Insight { + /// The insights data for sap system discovery. + /// + /// This is a copy of SAP System proto and should get updated whenever that + /// one changes. + SapDiscovery? sapDiscovery; + + /// The insights data for the sap workload validation. + SapValidation? sapValidation; + + /// Create time stamp + /// + /// Output only. + core.String? sentTime; + + Insight({ + this.sapDiscovery, + this.sapValidation, + this.sentTime, + }); + + Insight.fromJson(core.Map json_) + : this( + sapDiscovery: json_.containsKey('sapDiscovery') + ? SapDiscovery.fromJson( + json_['sapDiscovery'] as core.Map<core.String, core.dynamic>) + : null, + sapValidation: json_.containsKey('sapValidation') + ? SapValidation.fromJson( + json_['sapValidation'] as core.Map<core.String, core.dynamic>) + : null, + sentTime: json_.containsKey('sentTime') + ? json_['sentTime'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (sapDiscovery != null) 'sapDiscovery': sapDiscovery!, + if (sapValidation != null) 'sapValidation': sapValidation!, + if (sentTime != null) 'sentTime': sentTime!, + }; +} + +/// Message for response to listing Evaluations +class ListEvaluationsResponse { + /// The list of Evaluation + core.List<Evaluation>? evaluations; + + /// A token identifying a page of results the server should return. + core.String? nextPageToken; + + /// Locations that could not be reached. + core.List<core.String>? unreachable; + + ListEvaluationsResponse({ + this.evaluations, + this.nextPageToken, + this.unreachable, + }); + + ListEvaluationsResponse.fromJson(core.Map json_) + : this( + evaluations: json_.containsKey('evaluations') + ? (json_['evaluations'] as core.List) + .map((value) => Evaluation.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + unreachable: json_.containsKey('unreachable') + ? (json_['unreachable'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (evaluations != null) 'evaluations': evaluations!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (unreachable != null) 'unreachable': unreachable!, + }; +} + +/// The response message for Locations.ListLocations. +class ListLocationsResponse { + /// A list of locations that matches the specified filter in the request. + core.List<Location>? locations; + + /// The standard List next-page token. + core.String? nextPageToken; + + ListLocationsResponse({ + this.locations, + this.nextPageToken, + }); + + ListLocationsResponse.fromJson(core.Map json_) + : this( + locations: json_.containsKey('locations') + ? (json_['locations'] as core.List) + .map((value) => Location.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (locations != null) 'locations': locations!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// The response message for Operations.ListOperations. +class ListOperationsResponse { + /// The standard List next-page token. + core.String? nextPageToken; + + /// A list of operations that matches the specified filter in the request. + core.List<Operation>? operations; + + ListOperationsResponse({ + this.nextPageToken, + this.operations, + }); + + ListOperationsResponse.fromJson(core.Map json_) + : this( + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + operations: json_.containsKey('operations') + ? (json_['operations'] as core.List) + .map((value) => Operation.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (operations != null) 'operations': operations!, + }; +} + +/// A resource that represents Google Cloud Platform location. +typedef Location = $Location00; + +/// This resource represents a long-running operation that is the result of a +/// network API call. +class Operation { + /// 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. + core.bool? done; + + /// The error result of the operation in case of failure or cancellation. + Status? error; + + /// 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. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? metadata; + + /// 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/{unique_id}`. + core.String? name; + + /// 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`. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map<core.String, core.Object?>? response; + + Operation({ + this.done, + this.error, + this.metadata, + this.name, + this.response, + }); + + Operation.fromJson(core.Map json_) + : this( + done: json_.containsKey('done') ? json_['done'] as core.bool : null, + error: json_.containsKey('error') + ? Status.fromJson( + json_['error'] as core.Map<core.String, core.dynamic>) + : null, + metadata: json_.containsKey('metadata') + ? json_['metadata'] as core.Map<core.String, core.dynamic> + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + response: json_.containsKey('response') + ? json_['response'] as core.Map<core.String, core.dynamic> + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (done != null) 'done': done!, + if (error != null) 'error': error!, + if (metadata != null) 'metadata': metadata!, + if (name != null) 'name': name!, + if (response != null) 'response': response!, + }; +} + +/// Message describing resource filters +class ResourceFilter { + /// Filter compute engine resource + GceInstanceFilter? gceInstanceFilter; + + /// The label used for filter resource + core.Map<core.String, core.String>? inclusionLabels; + + /// The id pattern for filter resource + core.List<core.String>? resourceIdPatterns; + + /// The scopes of evaluation resource + core.List<core.String>? scopes; + + ResourceFilter({ + this.gceInstanceFilter, + this.inclusionLabels, + this.resourceIdPatterns, + this.scopes, + }); + + ResourceFilter.fromJson(core.Map json_) + : this( + gceInstanceFilter: json_.containsKey('gceInstanceFilter') + ? GceInstanceFilter.fromJson(json_['gceInstanceFilter'] + as core.Map<core.String, core.dynamic>) + : null, + inclusionLabels: json_.containsKey('inclusionLabels') + ? (json_['inclusionLabels'] + as core.Map<core.String, core.dynamic>) + .map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + resourceIdPatterns: json_.containsKey('resourceIdPatterns') + ? (json_['resourceIdPatterns'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + scopes: json_.containsKey('scopes') + ? (json_['scopes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (gceInstanceFilter != null) 'gceInstanceFilter': gceInstanceFilter!, + if (inclusionLabels != null) 'inclusionLabels': inclusionLabels!, + if (resourceIdPatterns != null) + 'resourceIdPatterns': resourceIdPatterns!, + if (scopes != null) 'scopes': scopes!, + }; +} + +/// Message describing resource status +class ResourceStatus { + /// the new version of rule id if exists + core.List<core.String>? rulesNewerVersions; + + /// State of the resource + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : The state has not been populated in this message. + /// - "CREATING" : Resource has an active Create operation. + /// - "ACTIVE" : Resource has no outstanding operations on it or has active + /// Update operations. + /// - "DELETING" : Resource has an active Delete operation. + core.String? state; + + ResourceStatus({ + this.rulesNewerVersions, + this.state, + }); + + ResourceStatus.fromJson(core.Map json_) + : this( + rulesNewerVersions: json_.containsKey('rulesNewerVersions') + ? (json_['rulesNewerVersions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + state: + json_.containsKey('state') ? json_['state'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (rulesNewerVersions != null) + 'rulesNewerVersions': rulesNewerVersions!, + if (state != null) 'state': state!, + }; +} + +/// The schema of SAP system discovery data. +class SapDiscovery { + /// An SAP system may run without an application layer. + SapDiscoveryComponent? applicationLayer; + + /// An SAP System must have a database. + SapDiscoveryComponent? databaseLayer; + + /// The metadata for SAP system discovery data. + SapDiscoveryMetadata? metadata; + + /// A combination of database SID, database instance URI and tenant DB name to + /// make a unique identifier per-system. + core.String? systemId; + + /// Unix timestamp this system has been updated last. + core.String? updateTime; + + SapDiscovery({ + this.applicationLayer, + this.databaseLayer, + this.metadata, + this.systemId, + this.updateTime, + }); + + SapDiscovery.fromJson(core.Map json_) + : this( + applicationLayer: json_.containsKey('applicationLayer') + ? SapDiscoveryComponent.fromJson(json_['applicationLayer'] + as core.Map<core.String, core.dynamic>) + : null, + databaseLayer: json_.containsKey('databaseLayer') + ? SapDiscoveryComponent.fromJson( + json_['databaseLayer'] as core.Map<core.String, core.dynamic>) + : null, + metadata: json_.containsKey('metadata') + ? SapDiscoveryMetadata.fromJson( + json_['metadata'] as core.Map<core.String, core.dynamic>) + : null, + systemId: json_.containsKey('systemId') + ? json_['systemId'] as core.String + : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (applicationLayer != null) 'applicationLayer': applicationLayer!, + if (databaseLayer != null) 'databaseLayer': databaseLayer!, + if (metadata != null) 'metadata': metadata!, + if (systemId != null) 'systemId': systemId!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Message describing the system component. +class SapDiscoveryComponent { + /// The component is a SAP application. + core.String? applicationType; + + /// The component is a SAP database. + core.String? databaseType; + + /// Pantheon Project in which the resources reside. + core.String? hostProject; + + /// The resources in a component. + core.List<SapDiscoveryResource>? resources; + + /// The sap identifier, used by the SAP software and helps differentiate + /// systems for customers. + core.String? sid; + + SapDiscoveryComponent({ + this.applicationType, + this.databaseType, + this.hostProject, + this.resources, + this.sid, + }); + + SapDiscoveryComponent.fromJson(core.Map json_) + : this( + applicationType: json_.containsKey('applicationType') + ? json_['applicationType'] as core.String + : null, + databaseType: json_.containsKey('databaseType') + ? json_['databaseType'] as core.String + : null, + hostProject: json_.containsKey('hostProject') + ? json_['hostProject'] as core.String + : null, + resources: json_.containsKey('resources') + ? (json_['resources'] as core.List) + .map((value) => SapDiscoveryResource.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + sid: json_.containsKey('sid') ? json_['sid'] as core.String : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (applicationType != null) 'applicationType': applicationType!, + if (databaseType != null) 'databaseType': databaseType!, + if (hostProject != null) 'hostProject': hostProject!, + if (resources != null) 'resources': resources!, + if (sid != null) 'sid': sid!, + }; +} + +/// Message describing SAP discovery system metadata +class SapDiscoveryMetadata { + /// Customer region string for customer's use. + /// + /// Does not represent GCP region. + core.String? customerRegion; + + /// Customer defined, something like "E-commerce pre prod" + core.String? definedSystem; + + /// Should be "prod", "QA", "dev", "staging", etc. + core.String? environmentType; + + /// This sap product name + core.String? sapProduct; + + SapDiscoveryMetadata({ + this.customerRegion, + this.definedSystem, + this.environmentType, + this.sapProduct, + }); + + SapDiscoveryMetadata.fromJson(core.Map json_) + : this( + customerRegion: json_.containsKey('customerRegion') + ? json_['customerRegion'] as core.String + : null, + definedSystem: json_.containsKey('definedSystem') + ? json_['definedSystem'] as core.String + : null, + environmentType: json_.containsKey('environmentType') + ? json_['environmentType'] as core.String + : null, + sapProduct: json_.containsKey('sapProduct') + ? json_['sapProduct'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (customerRegion != null) 'customerRegion': customerRegion!, + if (definedSystem != null) 'definedSystem': definedSystem!, + if (environmentType != null) 'environmentType': environmentType!, + if (sapProduct != null) 'sapProduct': sapProduct!, + }; +} + +/// Message describing a resource. +class SapDiscoveryResource { + /// A list of resource URIs related to this resource. + core.List<core.String>? relatedResources; + + /// ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. + core.String? resourceKind; + + /// The type of this resource. + /// Possible string values are: + /// - "RESOURCE_TYPE_UNSPECIFIED" : Undefined resource type. + /// - "COMPUTE" : This is a compute resource. + /// - "STORAGE" : This a storage resource. + /// - "NETWORK" : This is a network resource. + core.String? resourceType; + + /// URI of the resource, includes project, location, and name. + core.String? resourceUri; + + /// Unix timestamp of when this resource last had its discovery data updated. + core.String? updateTime; + + SapDiscoveryResource({ + this.relatedResources, + this.resourceKind, + this.resourceType, + this.resourceUri, + this.updateTime, + }); + + SapDiscoveryResource.fromJson(core.Map json_) + : this( + relatedResources: json_.containsKey('relatedResources') + ? (json_['relatedResources'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + resourceKind: json_.containsKey('resourceKind') + ? json_['resourceKind'] as core.String + : null, + resourceType: json_.containsKey('resourceType') + ? json_['resourceType'] as core.String + : null, + resourceUri: json_.containsKey('resourceUri') + ? json_['resourceUri'] as core.String + : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (relatedResources != null) 'relatedResources': relatedResources!, + if (resourceKind != null) 'resourceKind': resourceKind!, + if (resourceType != null) 'resourceType': resourceType!, + if (resourceUri != null) 'resourceUri': resourceUri!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// A presentation of SAP workload insight. +/// +/// The schema of SAP workloads validation related data. +class SapValidation { + /// A list of SAP validation metrics data. + core.List<SapValidationValidationDetail>? validationDetails; + + SapValidation({ + this.validationDetails, + }); + + SapValidation.fromJson(core.Map json_) + : this( + validationDetails: json_.containsKey('validationDetails') + ? (json_['validationDetails'] as core.List) + .map((value) => SapValidationValidationDetail.fromJson( + value as core.Map<core.String, core.dynamic>)) + .toList() + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (validationDetails != null) 'validationDetails': validationDetails!, + }; +} + +/// Message describing the SAP validation metrics. +class SapValidationValidationDetail { + /// The pairs of metrics data: field name & field value. + core.Map<core.String, core.String>? details; + + /// The SAP system that the validation data is from. + /// Possible string values are: + /// - "SAP_VALIDATION_TYPE_UNSPECIFIED" : Unspecified type. + /// - "SYSTEM" : The SAP system named SYSTEM. + /// - "COROSYNC" : The SAP system named COROSYNC. + /// - "PACEMAKER" : The SAP system named PACEMAKER. + /// - "HANA" : The SAP system named HANA. + /// - "NETWEAVER" : The SAP system named NETWEAVER. + core.String? sapValidationType; + + SapValidationValidationDetail({ + this.details, + this.sapValidationType, + }); + + SapValidationValidationDetail.fromJson(core.Map json_) + : this( + details: json_.containsKey('details') + ? (json_['details'] as core.Map<core.String, core.dynamic>).map( + (key, item) => core.MapEntry( + key, + item as core.String, + ), + ) + : null, + sapValidationType: json_.containsKey('sapValidationType') + ? json_['sapValidationType'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (details != null) 'details': details!, + if (sapValidationType != null) 'sapValidationType': sapValidationType!, + }; +} + +/// 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). +typedef Status = $Status; + +/// Request for sending the data insights. +class WriteInsightRequest { + /// The metrics data details. + /// + /// Required. + Insight? insight; + + /// 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. + /// The server will guarantee that for at least 60 minutes since the first + /// request. For example, consider a situation where you make an initial + /// request and t he 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). + /// + /// Optional. + core.String? requestId; + + WriteInsightRequest({ + this.insight, + this.requestId, + }); + + WriteInsightRequest.fromJson(core.Map json_) + : this( + insight: json_.containsKey('insight') + ? Insight.fromJson( + json_['insight'] as core.Map<core.String, core.dynamic>) + : null, + requestId: json_.containsKey('requestId') + ? json_['requestId'] as core.String + : null, + ); + + core.Map<core.String, core.dynamic> toJson() => { + if (insight != null) 'insight': insight!, + if (requestId != null) 'requestId': requestId!, + }; +} + +/// The response for write insights request. +typedef WriteInsightResponse = $Empty;
diff --git a/generated/googleapis/pubspec.yaml b/generated/googleapis/pubspec.yaml index ea20a06..d3d022d 100644 --- a/generated/googleapis/pubspec.yaml +++ b/generated/googleapis/pubspec.yaml
@@ -1,5 +1,5 @@ name: googleapis -version: 9.2.0 +version: 10.0.0 description: Auto-generated client libraries for accessing Google APIs described through the API discovery service. repository: https://github.com/google/googleapis.dart/tree/master/generated/googleapis environment:
diff --git a/generated/googleapis/test/accesscontextmanager/v1_test.dart b/generated/googleapis/test/accesscontextmanager/v1_test.dart index 0a3d0a4..47bf95e 100644 --- a/generated/googleapis/test/accesscontextmanager/v1_test.dart +++ b/generated/googleapis/test/accesscontextmanager/v1_test.dart
@@ -229,12 +229,68 @@ buildCounterAuditLogConfig--; } -core.List<api.Condition> buildUnnamed4() => [ +core.List<core.String> buildUnnamed4() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed4(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterAuthorizedOrgsDesc = 0; +api.AuthorizedOrgsDesc buildAuthorizedOrgsDesc() { + final o = api.AuthorizedOrgsDesc(); + buildCounterAuthorizedOrgsDesc++; + if (buildCounterAuthorizedOrgsDesc < 3) { + o.assetType = 'foo'; + o.authorizationDirection = 'foo'; + o.authorizationType = 'foo'; + o.name = 'foo'; + o.orgs = buildUnnamed4(); + } + buildCounterAuthorizedOrgsDesc--; + return o; +} + +void checkAuthorizedOrgsDesc(api.AuthorizedOrgsDesc o) { + buildCounterAuthorizedOrgsDesc++; + if (buildCounterAuthorizedOrgsDesc < 3) { + unittest.expect( + o.assetType!, + unittest.equals('foo'), + ); + unittest.expect( + o.authorizationDirection!, + unittest.equals('foo'), + ); + unittest.expect( + o.authorizationType!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed4(o.orgs!); + } + buildCounterAuthorizedOrgsDesc--; +} + +core.List<api.Condition> buildUnnamed5() => [ buildCondition(), buildCondition(), ]; -void checkUnnamed4(core.List<api.Condition> o) { +void checkUnnamed5(core.List<api.Condition> o) { unittest.expect(o, unittest.hasLength(2)); checkCondition(o[0]); checkCondition(o[1]); @@ -246,7 +302,7 @@ buildCounterBasicLevel++; if (buildCounterBasicLevel < 3) { o.combiningFunction = 'foo'; - o.conditions = buildUnnamed4(); + o.conditions = buildUnnamed5(); } buildCounterBasicLevel--; return o; @@ -259,17 +315,17 @@ o.combiningFunction!, unittest.equals('foo'), ); - checkUnnamed4(o.conditions!); + checkUnnamed5(o.conditions!); } buildCounterBasicLevel--; } -core.List<core.String> buildUnnamed5() => [ +core.List<core.String> buildUnnamed6() => [ 'foo', 'foo', ]; -void checkUnnamed5(core.List<core.String> o) { +void checkUnnamed6(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -287,7 +343,7 @@ buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed5(); + o.members = buildUnnamed6(); o.role = 'foo'; } buildCounterBinding--; @@ -298,7 +354,7 @@ buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed5(o.members!); + checkUnnamed6(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -344,23 +400,6 @@ buildCounterCommitServicePerimetersRequest--; } -core.List<core.String> buildUnnamed6() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed6(core.List<core.String> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - core.List<core.String> buildUnnamed7() => [ 'foo', 'foo', @@ -412,17 +451,34 @@ ); } +core.List<core.String> buildUnnamed10() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed10(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + core.int buildCounterCondition = 0; api.Condition buildCondition() { final o = api.Condition(); buildCounterCondition++; if (buildCounterCondition < 3) { o.devicePolicy = buildDevicePolicy(); - o.ipSubnetworks = buildUnnamed6(); - o.members = buildUnnamed7(); + o.ipSubnetworks = buildUnnamed7(); + o.members = buildUnnamed8(); o.negate = true; - o.regions = buildUnnamed8(); - o.requiredAccessLevels = buildUnnamed9(); + o.regions = buildUnnamed9(); + o.requiredAccessLevels = buildUnnamed10(); } buildCounterCondition--; return o; @@ -432,11 +488,11 @@ buildCounterCondition++; if (buildCounterCondition < 3) { checkDevicePolicy(o.devicePolicy!); - checkUnnamed6(o.ipSubnetworks!); - checkUnnamed7(o.members!); + checkUnnamed7(o.ipSubnetworks!); + checkUnnamed8(o.members!); unittest.expect(o.negate!, unittest.isTrue); - checkUnnamed8(o.regions!); - checkUnnamed9(o.requiredAccessLevels!); + checkUnnamed9(o.regions!); + checkUnnamed10(o.requiredAccessLevels!); } buildCounterCondition--; } @@ -460,23 +516,6 @@ buildCounterCustomLevel--; } -core.List<core.String> buildUnnamed10() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed10(core.List<core.String> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - core.List<core.String> buildUnnamed11() => [ 'foo', 'foo', @@ -494,12 +533,29 @@ ); } -core.List<api.OsConstraint> buildUnnamed12() => [ +core.List<core.String> buildUnnamed12() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed12(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List<api.OsConstraint> buildUnnamed13() => [ buildOsConstraint(), buildOsConstraint(), ]; -void checkUnnamed12(core.List<api.OsConstraint> o) { +void checkUnnamed13(core.List<api.OsConstraint> o) { unittest.expect(o, unittest.hasLength(2)); checkOsConstraint(o[0]); checkOsConstraint(o[1]); @@ -510,9 +566,9 @@ final o = api.DevicePolicy(); buildCounterDevicePolicy++; if (buildCounterDevicePolicy < 3) { - o.allowedDeviceManagementLevels = buildUnnamed10(); - o.allowedEncryptionStatuses = buildUnnamed11(); - o.osConstraints = buildUnnamed12(); + o.allowedDeviceManagementLevels = buildUnnamed11(); + o.allowedEncryptionStatuses = buildUnnamed12(); + o.osConstraints = buildUnnamed13(); o.requireAdminApproval = true; o.requireCorpOwned = true; o.requireScreenlock = true; @@ -524,9 +580,9 @@ void checkDevicePolicy(api.DevicePolicy o) { buildCounterDevicePolicy++; if (buildCounterDevicePolicy < 3) { - checkUnnamed10(o.allowedDeviceManagementLevels!); - checkUnnamed11(o.allowedEncryptionStatuses!); - checkUnnamed12(o.osConstraints!); + checkUnnamed11(o.allowedDeviceManagementLevels!); + checkUnnamed12(o.allowedEncryptionStatuses!); + checkUnnamed13(o.osConstraints!); unittest.expect(o.requireAdminApproval!, unittest.isTrue); unittest.expect(o.requireCorpOwned!, unittest.isTrue); unittest.expect(o.requireScreenlock!, unittest.isTrue); @@ -534,12 +590,12 @@ buildCounterDevicePolicy--; } -core.List<core.String> buildUnnamed13() => [ +core.List<core.String> buildUnnamed14() => [ 'foo', 'foo', ]; -void checkUnnamed13(core.List<core.String> o) { +void checkUnnamed14(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -556,7 +612,7 @@ final o = api.EgressFrom(); buildCounterEgressFrom++; if (buildCounterEgressFrom < 3) { - o.identities = buildUnnamed13(); + o.identities = buildUnnamed14(); o.identityType = 'foo'; } buildCounterEgressFrom--; @@ -566,7 +622,7 @@ void checkEgressFrom(api.EgressFrom o) { buildCounterEgressFrom++; if (buildCounterEgressFrom < 3) { - checkUnnamed13(o.identities!); + checkUnnamed14(o.identities!); unittest.expect( o.identityType!, unittest.equals('foo'), @@ -596,12 +652,12 @@ buildCounterEgressPolicy--; } -core.List<core.String> buildUnnamed14() => [ +core.List<core.String> buildUnnamed15() => [ 'foo', 'foo', ]; -void checkUnnamed14(core.List<core.String> o) { +void checkUnnamed15(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -613,23 +669,23 @@ ); } -core.List<api.ApiOperation> buildUnnamed15() => [ +core.List<api.ApiOperation> buildUnnamed16() => [ buildApiOperation(), buildApiOperation(), ]; -void checkUnnamed15(core.List<api.ApiOperation> o) { +void checkUnnamed16(core.List<api.ApiOperation> o) { unittest.expect(o, unittest.hasLength(2)); checkApiOperation(o[0]); checkApiOperation(o[1]); } -core.List<core.String> buildUnnamed16() => [ +core.List<core.String> buildUnnamed17() => [ 'foo', 'foo', ]; -void checkUnnamed16(core.List<core.String> o) { +void checkUnnamed17(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -646,9 +702,9 @@ final o = api.EgressTo(); buildCounterEgressTo++; if (buildCounterEgressTo < 3) { - o.externalResources = buildUnnamed14(); - o.operations = buildUnnamed15(); - o.resources = buildUnnamed16(); + o.externalResources = buildUnnamed15(); + o.operations = buildUnnamed16(); + o.resources = buildUnnamed17(); } buildCounterEgressTo--; return o; @@ -657,9 +713,9 @@ void checkEgressTo(api.EgressTo o) { buildCounterEgressTo++; if (buildCounterEgressTo < 3) { - checkUnnamed14(o.externalResources!); - checkUnnamed15(o.operations!); - checkUnnamed16(o.resources!); + checkUnnamed15(o.externalResources!); + checkUnnamed16(o.operations!); + checkUnnamed17(o.resources!); } buildCounterEgressTo--; } @@ -716,12 +772,12 @@ buildCounterExpr--; } -core.List<core.String> buildUnnamed17() => [ +core.List<core.String> buildUnnamed18() => [ 'foo', 'foo', ]; -void checkUnnamed17(core.List<core.String> o) { +void checkUnnamed18(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -738,7 +794,7 @@ final o = api.GcpUserAccessBinding(); buildCounterGcpUserAccessBinding++; if (buildCounterGcpUserAccessBinding < 3) { - o.accessLevels = buildUnnamed17(); + o.accessLevels = buildUnnamed18(); o.groupKey = 'foo'; o.name = 'foo'; } @@ -749,7 +805,7 @@ void checkGcpUserAccessBinding(api.GcpUserAccessBinding o) { buildCounterGcpUserAccessBinding++; if (buildCounterGcpUserAccessBinding < 3) { - checkUnnamed17(o.accessLevels!); + checkUnnamed18(o.accessLevels!); unittest.expect( o.groupKey!, unittest.equals('foo'), @@ -803,12 +859,12 @@ buildCounterGetPolicyOptions--; } -core.List<core.String> buildUnnamed18() => [ +core.List<core.String> buildUnnamed19() => [ 'foo', 'foo', ]; -void checkUnnamed18(core.List<core.String> o) { +void checkUnnamed19(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -820,12 +876,12 @@ ); } -core.List<api.IngressSource> buildUnnamed19() => [ +core.List<api.IngressSource> buildUnnamed20() => [ buildIngressSource(), buildIngressSource(), ]; -void checkUnnamed19(core.List<api.IngressSource> o) { +void checkUnnamed20(core.List<api.IngressSource> o) { unittest.expect(o, unittest.hasLength(2)); checkIngressSource(o[0]); checkIngressSource(o[1]); @@ -836,9 +892,9 @@ final o = api.IngressFrom(); buildCounterIngressFrom++; if (buildCounterIngressFrom < 3) { - o.identities = buildUnnamed18(); + o.identities = buildUnnamed19(); o.identityType = 'foo'; - o.sources = buildUnnamed19(); + o.sources = buildUnnamed20(); } buildCounterIngressFrom--; return o; @@ -847,12 +903,12 @@ void checkIngressFrom(api.IngressFrom o) { buildCounterIngressFrom++; if (buildCounterIngressFrom < 3) { - checkUnnamed18(o.identities!); + checkUnnamed19(o.identities!); unittest.expect( o.identityType!, unittest.equals('foo'), ); - checkUnnamed19(o.sources!); + checkUnnamed20(o.sources!); } buildCounterIngressFrom--; } @@ -905,23 +961,23 @@ buildCounterIngressSource--; } -core.List<api.ApiOperation> buildUnnamed20() => [ +core.List<api.ApiOperation> buildUnnamed21() => [ buildApiOperation(), buildApiOperation(), ]; -void checkUnnamed20(core.List<api.ApiOperation> o) { +void checkUnnamed21(core.List<api.ApiOperation> o) { unittest.expect(o, unittest.hasLength(2)); checkApiOperation(o[0]); checkApiOperation(o[1]); } -core.List<core.String> buildUnnamed21() => [ +core.List<core.String> buildUnnamed22() => [ 'foo', 'foo', ]; -void checkUnnamed21(core.List<core.String> o) { +void checkUnnamed22(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -938,8 +994,8 @@ final o = api.IngressTo(); buildCounterIngressTo++; if (buildCounterIngressTo < 3) { - o.operations = buildUnnamed20(); - o.resources = buildUnnamed21(); + o.operations = buildUnnamed21(); + o.resources = buildUnnamed22(); } buildCounterIngressTo--; return o; @@ -948,18 +1004,18 @@ void checkIngressTo(api.IngressTo o) { buildCounterIngressTo++; if (buildCounterIngressTo < 3) { - checkUnnamed20(o.operations!); - checkUnnamed21(o.resources!); + checkUnnamed21(o.operations!); + checkUnnamed22(o.resources!); } buildCounterIngressTo--; } -core.List<api.AccessLevel> buildUnnamed22() => [ +core.List<api.AccessLevel> buildUnnamed23() => [ buildAccessLevel(), buildAccessLevel(), ]; -void checkUnnamed22(core.List<api.AccessLevel> o) { +void checkUnnamed23(core.List<api.AccessLevel> o) { unittest.expect(o, unittest.hasLength(2)); checkAccessLevel(o[0]); checkAccessLevel(o[1]); @@ -970,7 +1026,7 @@ final o = api.ListAccessLevelsResponse(); buildCounterListAccessLevelsResponse++; if (buildCounterListAccessLevelsResponse < 3) { - o.accessLevels = buildUnnamed22(); + o.accessLevels = buildUnnamed23(); o.nextPageToken = 'foo'; } buildCounterListAccessLevelsResponse--; @@ -980,7 +1036,7 @@ void checkListAccessLevelsResponse(api.ListAccessLevelsResponse o) { buildCounterListAccessLevelsResponse++; if (buildCounterListAccessLevelsResponse < 3) { - checkUnnamed22(o.accessLevels!); + checkUnnamed23(o.accessLevels!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -989,12 +1045,12 @@ buildCounterListAccessLevelsResponse--; } -core.List<api.AccessPolicy> buildUnnamed23() => [ +core.List<api.AccessPolicy> buildUnnamed24() => [ buildAccessPolicy(), buildAccessPolicy(), ]; -void checkUnnamed23(core.List<api.AccessPolicy> o) { +void checkUnnamed24(core.List<api.AccessPolicy> o) { unittest.expect(o, unittest.hasLength(2)); checkAccessPolicy(o[0]); checkAccessPolicy(o[1]); @@ -1005,7 +1061,7 @@ final o = api.ListAccessPoliciesResponse(); buildCounterListAccessPoliciesResponse++; if (buildCounterListAccessPoliciesResponse < 3) { - o.accessPolicies = buildUnnamed23(); + o.accessPolicies = buildUnnamed24(); o.nextPageToken = 'foo'; } buildCounterListAccessPoliciesResponse--; @@ -1015,7 +1071,7 @@ void checkListAccessPoliciesResponse(api.ListAccessPoliciesResponse o) { buildCounterListAccessPoliciesResponse++; if (buildCounterListAccessPoliciesResponse < 3) { - checkUnnamed23(o.accessPolicies!); + checkUnnamed24(o.accessPolicies!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1024,12 +1080,48 @@ buildCounterListAccessPoliciesResponse--; } -core.List<api.GcpUserAccessBinding> buildUnnamed24() => [ +core.List<api.AuthorizedOrgsDesc> buildUnnamed25() => [ + buildAuthorizedOrgsDesc(), + buildAuthorizedOrgsDesc(), + ]; + +void checkUnnamed25(core.List<api.AuthorizedOrgsDesc> o) { + unittest.expect(o, unittest.hasLength(2)); + checkAuthorizedOrgsDesc(o[0]); + checkAuthorizedOrgsDesc(o[1]); +} + +core.int buildCounterListAuthorizedOrgsDescsResponse = 0; +api.ListAuthorizedOrgsDescsResponse buildListAuthorizedOrgsDescsResponse() { + final o = api.ListAuthorizedOrgsDescsResponse(); + buildCounterListAuthorizedOrgsDescsResponse++; + if (buildCounterListAuthorizedOrgsDescsResponse < 3) { + o.authorizedOrgsDescs = buildUnnamed25(); + o.nextPageToken = 'foo'; + } + buildCounterListAuthorizedOrgsDescsResponse--; + return o; +} + +void checkListAuthorizedOrgsDescsResponse( + api.ListAuthorizedOrgsDescsResponse o) { + buildCounterListAuthorizedOrgsDescsResponse++; + if (buildCounterListAuthorizedOrgsDescsResponse < 3) { + checkUnnamed25(o.authorizedOrgsDescs!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterListAuthorizedOrgsDescsResponse--; +} + +core.List<api.GcpUserAccessBinding> buildUnnamed26() => [ buildGcpUserAccessBinding(), buildGcpUserAccessBinding(), ]; -void checkUnnamed24(core.List<api.GcpUserAccessBinding> o) { +void checkUnnamed26(core.List<api.GcpUserAccessBinding> o) { unittest.expect(o, unittest.hasLength(2)); checkGcpUserAccessBinding(o[0]); checkGcpUserAccessBinding(o[1]); @@ -1040,7 +1132,7 @@ final o = api.ListGcpUserAccessBindingsResponse(); buildCounterListGcpUserAccessBindingsResponse++; if (buildCounterListGcpUserAccessBindingsResponse < 3) { - o.gcpUserAccessBindings = buildUnnamed24(); + o.gcpUserAccessBindings = buildUnnamed26(); o.nextPageToken = 'foo'; } buildCounterListGcpUserAccessBindingsResponse--; @@ -1051,7 +1143,7 @@ api.ListGcpUserAccessBindingsResponse o) { buildCounterListGcpUserAccessBindingsResponse++; if (buildCounterListGcpUserAccessBindingsResponse < 3) { - checkUnnamed24(o.gcpUserAccessBindings!); + checkUnnamed26(o.gcpUserAccessBindings!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1060,12 +1152,12 @@ buildCounterListGcpUserAccessBindingsResponse--; } -core.List<api.Operation> buildUnnamed25() => [ +core.List<api.Operation> buildUnnamed27() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed25(core.List<api.Operation> o) { +void checkUnnamed27(core.List<api.Operation> o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -1077,7 +1169,7 @@ buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed25(); + o.operations = buildUnnamed27(); } buildCounterListOperationsResponse--; return o; @@ -1090,17 +1182,17 @@ o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed25(o.operations!); + checkUnnamed27(o.operations!); } buildCounterListOperationsResponse--; } -core.List<api.ServicePerimeter> buildUnnamed26() => [ +core.List<api.ServicePerimeter> buildUnnamed28() => [ buildServicePerimeter(), buildServicePerimeter(), ]; -void checkUnnamed26(core.List<api.ServicePerimeter> o) { +void checkUnnamed28(core.List<api.ServicePerimeter> o) { unittest.expect(o, unittest.hasLength(2)); checkServicePerimeter(o[0]); checkServicePerimeter(o[1]); @@ -1112,7 +1204,7 @@ buildCounterListServicePerimetersResponse++; if (buildCounterListServicePerimetersResponse < 3) { o.nextPageToken = 'foo'; - o.servicePerimeters = buildUnnamed26(); + o.servicePerimeters = buildUnnamed28(); } buildCounterListServicePerimetersResponse--; return o; @@ -1125,7 +1217,7 @@ o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed26(o.servicePerimeters!); + checkUnnamed28(o.servicePerimeters!); } buildCounterListServicePerimetersResponse--; } @@ -1157,7 +1249,7 @@ buildCounterMethodSelector--; } -core.Map<core.String, core.Object?> buildUnnamed27() => { +core.Map<core.String, core.Object?> buildUnnamed29() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1170,7 +1262,7 @@ }, }; -void checkUnnamed27(core.Map<core.String, core.Object?> o) { +void checkUnnamed29(core.Map<core.String, core.Object?> o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1202,7 +1294,7 @@ ); } -core.Map<core.String, core.Object?> buildUnnamed28() => { +core.Map<core.String, core.Object?> buildUnnamed30() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1215,7 +1307,7 @@ }, }; -void checkUnnamed28(core.Map<core.String, core.Object?> o) { +void checkUnnamed30(core.Map<core.String, core.Object?> o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1254,9 +1346,9 @@ if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed27(); + o.metadata = buildUnnamed29(); o.name = 'foo'; - o.response = buildUnnamed28(); + o.response = buildUnnamed30(); } buildCounterOperation--; return o; @@ -1267,12 +1359,12 @@ if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed27(o.metadata!); + checkUnnamed29(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed28(o.response!); + checkUnnamed30(o.response!); } buildCounterOperation--; } @@ -1306,23 +1398,23 @@ buildCounterOsConstraint--; } -core.List<api.AuditConfig> buildUnnamed29() => [ +core.List<api.AuditConfig> buildUnnamed31() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed29(core.List<api.AuditConfig> o) { +void checkUnnamed31(core.List<api.AuditConfig> o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List<api.Binding> buildUnnamed30() => [ +core.List<api.Binding> buildUnnamed32() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed30(core.List<api.Binding> o) { +void checkUnnamed32(core.List<api.Binding> o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1333,8 +1425,8 @@ final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed29(); - o.bindings = buildUnnamed30(); + o.auditConfigs = buildUnnamed31(); + o.bindings = buildUnnamed32(); o.etag = 'foo'; o.version = 42; } @@ -1345,8 +1437,8 @@ void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed29(o.auditConfigs!); - checkUnnamed30(o.bindings!); + checkUnnamed31(o.auditConfigs!); + checkUnnamed32(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1359,12 +1451,12 @@ buildCounterPolicy--; } -core.List<api.AccessLevel> buildUnnamed31() => [ +core.List<api.AccessLevel> buildUnnamed33() => [ buildAccessLevel(), buildAccessLevel(), ]; -void checkUnnamed31(core.List<api.AccessLevel> o) { +void checkUnnamed33(core.List<api.AccessLevel> o) { unittest.expect(o, unittest.hasLength(2)); checkAccessLevel(o[0]); checkAccessLevel(o[1]); @@ -1375,7 +1467,7 @@ final o = api.ReplaceAccessLevelsRequest(); buildCounterReplaceAccessLevelsRequest++; if (buildCounterReplaceAccessLevelsRequest < 3) { - o.accessLevels = buildUnnamed31(); + o.accessLevels = buildUnnamed33(); o.etag = 'foo'; } buildCounterReplaceAccessLevelsRequest--; @@ -1385,7 +1477,7 @@ void checkReplaceAccessLevelsRequest(api.ReplaceAccessLevelsRequest o) { buildCounterReplaceAccessLevelsRequest++; if (buildCounterReplaceAccessLevelsRequest < 3) { - checkUnnamed31(o.accessLevels!); + checkUnnamed33(o.accessLevels!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1394,12 +1486,12 @@ buildCounterReplaceAccessLevelsRequest--; } -core.List<api.ServicePerimeter> buildUnnamed32() => [ +core.List<api.ServicePerimeter> buildUnnamed34() => [ buildServicePerimeter(), buildServicePerimeter(), ]; -void checkUnnamed32(core.List<api.ServicePerimeter> o) { +void checkUnnamed34(core.List<api.ServicePerimeter> o) { unittest.expect(o, unittest.hasLength(2)); checkServicePerimeter(o[0]); checkServicePerimeter(o[1]); @@ -1411,7 +1503,7 @@ buildCounterReplaceServicePerimetersRequest++; if (buildCounterReplaceServicePerimetersRequest < 3) { o.etag = 'foo'; - o.servicePerimeters = buildUnnamed32(); + o.servicePerimeters = buildUnnamed34(); } buildCounterReplaceServicePerimetersRequest--; return o; @@ -1425,7 +1517,7 @@ o.etag!, unittest.equals('foo'), ); - checkUnnamed32(o.servicePerimeters!); + checkUnnamed34(o.servicePerimeters!); } buildCounterReplaceServicePerimetersRequest--; } @@ -1473,12 +1565,12 @@ buildCounterServicePerimeter--; } -core.List<core.String> buildUnnamed33() => [ +core.List<core.String> buildUnnamed35() => [ 'foo', 'foo', ]; -void checkUnnamed33(core.List<core.String> o) { +void checkUnnamed35(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1490,34 +1582,34 @@ ); } -core.List<api.EgressPolicy> buildUnnamed34() => [ +core.List<api.EgressPolicy> buildUnnamed36() => [ buildEgressPolicy(), buildEgressPolicy(), ]; -void checkUnnamed34(core.List<api.EgressPolicy> o) { +void checkUnnamed36(core.List<api.EgressPolicy> o) { unittest.expect(o, unittest.hasLength(2)); checkEgressPolicy(o[0]); checkEgressPolicy(o[1]); } -core.List<api.IngressPolicy> buildUnnamed35() => [ +core.List<api.IngressPolicy> buildUnnamed37() => [ buildIngressPolicy(), buildIngressPolicy(), ]; -void checkUnnamed35(core.List<api.IngressPolicy> o) { +void checkUnnamed37(core.List<api.IngressPolicy> o) { unittest.expect(o, unittest.hasLength(2)); checkIngressPolicy(o[0]); checkIngressPolicy(o[1]); } -core.List<core.String> buildUnnamed36() => [ +core.List<core.String> buildUnnamed38() => [ 'foo', 'foo', ]; -void checkUnnamed36(core.List<core.String> o) { +void checkUnnamed38(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1529,12 +1621,12 @@ ); } -core.List<core.String> buildUnnamed37() => [ +core.List<core.String> buildUnnamed39() => [ 'foo', 'foo', ]; -void checkUnnamed37(core.List<core.String> o) { +void checkUnnamed39(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1551,11 +1643,11 @@ final o = api.ServicePerimeterConfig(); buildCounterServicePerimeterConfig++; if (buildCounterServicePerimeterConfig < 3) { - o.accessLevels = buildUnnamed33(); - o.egressPolicies = buildUnnamed34(); - o.ingressPolicies = buildUnnamed35(); - o.resources = buildUnnamed36(); - o.restrictedServices = buildUnnamed37(); + o.accessLevels = buildUnnamed35(); + o.egressPolicies = buildUnnamed36(); + o.ingressPolicies = buildUnnamed37(); + o.resources = buildUnnamed38(); + o.restrictedServices = buildUnnamed39(); o.vpcAccessibleServices = buildVpcAccessibleServices(); } buildCounterServicePerimeterConfig--; @@ -1565,11 +1657,11 @@ void checkServicePerimeterConfig(api.ServicePerimeterConfig o) { buildCounterServicePerimeterConfig++; if (buildCounterServicePerimeterConfig < 3) { - checkUnnamed33(o.accessLevels!); - checkUnnamed34(o.egressPolicies!); - checkUnnamed35(o.ingressPolicies!); - checkUnnamed36(o.resources!); - checkUnnamed37(o.restrictedServices!); + checkUnnamed35(o.accessLevels!); + checkUnnamed36(o.egressPolicies!); + checkUnnamed37(o.ingressPolicies!); + checkUnnamed38(o.resources!); + checkUnnamed39(o.restrictedServices!); checkVpcAccessibleServices(o.vpcAccessibleServices!); } buildCounterServicePerimeterConfig--; @@ -1599,7 +1691,7 @@ buildCounterSetIamPolicyRequest--; } -core.Map<core.String, core.Object?> buildUnnamed38() => { +core.Map<core.String, core.Object?> buildUnnamed40() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1612,7 +1704,7 @@ }, }; -void checkUnnamed38(core.Map<core.String, core.Object?> o) { +void checkUnnamed40(core.Map<core.String, core.Object?> o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1644,15 +1736,15 @@ ); } -core.List<core.Map<core.String, core.Object?>> buildUnnamed39() => [ - buildUnnamed38(), - buildUnnamed38(), +core.List<core.Map<core.String, core.Object?>> buildUnnamed41() => [ + buildUnnamed40(), + buildUnnamed40(), ]; -void checkUnnamed39(core.List<core.Map<core.String, core.Object?>> o) { +void checkUnnamed41(core.List<core.Map<core.String, core.Object?>> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed38(o[0]); - checkUnnamed38(o[1]); + checkUnnamed40(o[0]); + checkUnnamed40(o[1]); } core.int buildCounterStatus = 0; @@ -1661,7 +1753,7 @@ buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed39(); + o.details = buildUnnamed41(); o.message = 'foo'; } buildCounterStatus--; @@ -1675,7 +1767,7 @@ o.code!, unittest.equals(42), ); - checkUnnamed39(o.details!); + checkUnnamed41(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1684,78 +1776,6 @@ buildCounterStatus--; } -core.List<core.String> buildUnnamed40() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed40(core.List<core.String> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterTestIamPermissionsRequest = 0; -api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { - final o = api.TestIamPermissionsRequest(); - buildCounterTestIamPermissionsRequest++; - if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed40(); - } - buildCounterTestIamPermissionsRequest--; - return o; -} - -void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { - buildCounterTestIamPermissionsRequest++; - if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed40(o.permissions!); - } - buildCounterTestIamPermissionsRequest--; -} - -core.List<core.String> buildUnnamed41() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed41(core.List<core.String> o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterTestIamPermissionsResponse = 0; -api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { - final o = api.TestIamPermissionsResponse(); - buildCounterTestIamPermissionsResponse++; - if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed41(); - } - buildCounterTestIamPermissionsResponse--; - return o; -} - -void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { - buildCounterTestIamPermissionsResponse++; - if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed41(o.permissions!); - } - buildCounterTestIamPermissionsResponse--; -} - core.List<core.String> buildUnnamed42() => [ 'foo', 'foo', @@ -1773,12 +1793,84 @@ ); } +core.int buildCounterTestIamPermissionsRequest = 0; +api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { + final o = api.TestIamPermissionsRequest(); + buildCounterTestIamPermissionsRequest++; + if (buildCounterTestIamPermissionsRequest < 3) { + o.permissions = buildUnnamed42(); + } + buildCounterTestIamPermissionsRequest--; + return o; +} + +void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { + buildCounterTestIamPermissionsRequest++; + if (buildCounterTestIamPermissionsRequest < 3) { + checkUnnamed42(o.permissions!); + } + buildCounterTestIamPermissionsRequest--; +} + +core.List<core.String> buildUnnamed43() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed43(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterTestIamPermissionsResponse = 0; +api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { + final o = api.TestIamPermissionsResponse(); + buildCounterTestIamPermissionsResponse++; + if (buildCounterTestIamPermissionsResponse < 3) { + o.permissions = buildUnnamed43(); + } + buildCounterTestIamPermissionsResponse--; + return o; +} + +void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { + buildCounterTestIamPermissionsResponse++; + if (buildCounterTestIamPermissionsResponse < 3) { + checkUnnamed43(o.permissions!); + } + buildCounterTestIamPermissionsResponse--; +} + +core.List<core.String> buildUnnamed44() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed44(core.List<core.String> o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + core.int buildCounterVpcAccessibleServices = 0; api.VpcAccessibleServices buildVpcAccessibleServices() { final o = api.VpcAccessibleServices(); buildCounterVpcAccessibleServices++; if (buildCounterVpcAccessibleServices < 3) { - o.allowedServices = buildUnnamed42(); + o.allowedServices = buildUnnamed44(); o.enableRestriction = true; } buildCounterVpcAccessibleServices--; @@ -1788,7 +1880,7 @@ void checkVpcAccessibleServices(api.VpcAccessibleServices o) { buildCounterVpcAccessibleServices++;