diff --git a/batch/v1/batch-api.json b/batch/v1/batch-api.json index 0de4d032afb..3ab620498f5 100644 --- a/batch/v1/batch-api.json +++ b/batch/v1/batch-api.json @@ -561,7 +561,7 @@ } } }, - "revision": "20231009", + "revision": "20231018", "rootUrl": "https://batch.googleapis.com/", "schemas": { "Accelerator": { @@ -1835,6 +1835,10 @@ "$ref": "AgentTask" }, "type": "array" + }, + "useBatchMonitoredResource": { + "description": "If true, the cloud logging for batch agent will use batch.googleapis.com/Job as monitored resource for Batch job related logging.", + "type": "boolean" } }, "type": "object" diff --git a/batch/v1/batch-gen.go b/batch/v1/batch-gen.go index d25d28defe5..b3a31dc5270 100644 --- a/batch/v1/batch-gen.go +++ b/batch/v1/batch-gen.go @@ -2284,6 +2284,11 @@ type ReportAgentStateResponse struct { // Tasks: Tasks assigned to the agent Tasks []*AgentTask `json:"tasks,omitempty"` + // UseBatchMonitoredResource: If true, the cloud logging for batch agent + // will use batch.googleapis.com/Job as monitored resource for Batch job + // related logging. + UseBatchMonitoredResource bool `json:"useBatchMonitoredResource,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` diff --git a/cloudtasks/v2/cloudtasks-api.json b/cloudtasks/v2/cloudtasks-api.json index fa0ce0578f9..afcf79cfdb7 100644 --- a/cloudtasks/v2/cloudtasks-api.json +++ b/cloudtasks/v2/cloudtasks-api.json @@ -267,7 +267,7 @@ ] }, "delete": { - "description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, a queue with the same name can't be created for 7 days. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", + "description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, you may be prevented from creating a new queue with the same name as the deleted queue for a tombstone window of up to 3 days. During this window, the CreateQueue operation may appear to recreate the queue, but this can be misleading. If you attempt to create a queue with the same name as one that is in the tombstone window, run GetQueue to confirm that the queue creation was successful. If GetQueue returns 200 response code, your queue was successfully created with the name of the previously deleted queue. Otherwise, your queue did not successfully recreate. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}", "httpMethod": "DELETE", "id": "cloudtasks.projects.locations.queues.delete", @@ -744,7 +744,7 @@ } } }, - "revision": "20230929", + "revision": "20231018", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpRequest": { @@ -870,7 +870,7 @@ "type": "object" }, "CmekConfig": { - "description": "CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer’s hands.", + "description": "Describes the customer-managed encryption key (CMEK) configuration associated with a project and location.", "id": "CmekConfig", "properties": { "kmsKey": { diff --git a/cloudtasks/v2/cloudtasks-gen.go b/cloudtasks/v2/cloudtasks-gen.go index f290a50589d..e96c47f1eae 100644 --- a/cloudtasks/v2/cloudtasks-gen.go +++ b/cloudtasks/v2/cloudtasks-gen.go @@ -530,9 +530,8 @@ func (s *Binding) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// CmekConfig: CMEK, or Customer Managed Encryption Keys, enables GCP -// products to put control over encryption and key management in their -// customer’s hands. +// CmekConfig: Describes the customer-managed encryption key (CMEK) +// configuration associated with a project and location. type CmekConfig struct { // KmsKey: Resource name of the Cloud KMS key, of the form // `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/crypto @@ -2740,11 +2739,18 @@ type ProjectsLocationsQueuesDeleteCall struct { } // Delete: Deletes a queue. This command will delete the queue even if -// it has tasks in it. Note: If you delete a queue, a queue with the -// same name can't be created for 7 days. WARNING: Using this method may -// have unintended side effects if you are using an App Engine -// `queue.yaml` or `queue.xml` file to manage your queues. Read Overview -// of Queue Management and queue.yaml +// it has tasks in it. Note: If you delete a queue, you may be prevented +// from creating a new queue with the same name as the deleted queue for +// a tombstone window of up to 3 days. During this window, the +// CreateQueue operation may appear to recreate the queue, but this can +// be misleading. If you attempt to create a queue with the same name as +// one that is in the tombstone window, run GetQueue to confirm that the +// queue creation was successful. If GetQueue returns 200 response code, +// your queue was successfully created with the name of the previously +// deleted queue. Otherwise, your queue did not successfully recreate. +// WARNING: Using this method may have unintended side effects if you +// are using an App Engine `queue.yaml` or `queue.xml` file to manage +// your queues. Read Overview of Queue Management and queue.yaml // (https://cloud.google.com/tasks/docs/queue-yaml) before using this // method. // @@ -2842,7 +2848,7 @@ func (c *ProjectsLocationsQueuesDeleteCall) Do(opts ...googleapi.CallOption) (*E } return ret, nil // { - // "description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, a queue with the same name can't be created for 7 days. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", + // "description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, you may be prevented from creating a new queue with the same name as the deleted queue for a tombstone window of up to 3 days. During this window, the CreateQueue operation may appear to recreate the queue, but this can be misleading. If you attempt to create a queue with the same name as one that is in the tombstone window, run GetQueue to confirm that the queue creation was successful. If GetQueue returns 200 response code, your queue was successfully created with the name of the previously deleted queue. Otherwise, your queue did not successfully recreate. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", // "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}", // "httpMethod": "DELETE", // "id": "cloudtasks.projects.locations.queues.delete", diff --git a/cloudtasks/v2beta2/cloudtasks-api.json b/cloudtasks/v2beta2/cloudtasks-api.json index 2b5cdc51d30..1a93f0f27ee 100644 --- a/cloudtasks/v2beta2/cloudtasks-api.json +++ b/cloudtasks/v2beta2/cloudtasks-api.json @@ -636,7 +636,7 @@ ] }, "buffer": { - "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).", + "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.", "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{taskId}:buffer", "httpMethod": "POST", "id": "cloudtasks.projects.locations.queues.tasks.buffer", @@ -935,7 +935,7 @@ } } }, - "revision": "20230929", + "revision": "20231018", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AcknowledgeTaskRequest": { @@ -1132,7 +1132,7 @@ "type": "object" }, "CmekConfig": { - "description": "CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer’s hands.", + "description": "Describes the customer-managed encryption key (CMEK) configuration associated with a project and location.", "id": "CmekConfig", "properties": { "kmsKey": { diff --git a/cloudtasks/v2beta2/cloudtasks-gen.go b/cloudtasks/v2beta2/cloudtasks-gen.go index da7abe8b282..ade40bacd0c 100644 --- a/cloudtasks/v2beta2/cloudtasks-gen.go +++ b/cloudtasks/v2beta2/cloudtasks-gen.go @@ -756,9 +756,8 @@ func (s *CancelLeaseRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// CmekConfig: CMEK, or Customer Managed Encryption Keys, enables GCP -// products to put control over encryption and key management in their -// customer’s hands. +// CmekConfig: Describes the customer-managed encryption key (CMEK) +// configuration associated with a project and location. type CmekConfig struct { // KmsKey: Resource name of the Cloud KMS key, of the form // `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/crypto @@ -5474,9 +5473,7 @@ type ProjectsLocationsQueuesTasksBufferCall struct { // D:buffer To create the task with an automatically generated ID, use // the following format: // projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer -// . Note: This feature is in its experimental stage. You must request -// access to the API through the Cloud Tasks BufferTask Experiment -// Signup form (https://forms.gle/X8Zr5hiXH5tTGFqh8). +// . // // - queue: The parent queue name. For example: // projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The @@ -5583,7 +5580,7 @@ func (c *ProjectsLocationsQueuesTasksBufferCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).", + // "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.", // "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{taskId}:buffer", // "httpMethod": "POST", // "id": "cloudtasks.projects.locations.queues.tasks.buffer", diff --git a/cloudtasks/v2beta3/cloudtasks-api.json b/cloudtasks/v2beta3/cloudtasks-api.json index b5c3067230e..f1787f297ef 100644 --- a/cloudtasks/v2beta3/cloudtasks-api.json +++ b/cloudtasks/v2beta3/cloudtasks-api.json @@ -267,7 +267,7 @@ ] }, "delete": { - "description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, a queue with the same name can't be created for 7 days. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", + "description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note : If you delete a queue, you may be prevented from creating a new queue with the same name as the deleted queue for a tombstone window of up to 3 days. During this window, the CreateQueue operation may appear to recreate the queue, but this can be misleading. If you attempt to create a queue with the same name as one that is in the tombstone window, run GetQueue to confirm that the queue creation was successful. If GetQueue returns 200 response code, your queue was successfully created with the name of the previously deleted queue. Otherwise, your queue did not successfully recreate. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", "flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}", "httpMethod": "DELETE", "id": "cloudtasks.projects.locations.queues.delete", @@ -576,7 +576,7 @@ "tasks": { "methods": { "buffer": { - "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).", + "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.", "flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{taskId}:buffer", "httpMethod": "POST", "id": "cloudtasks.projects.locations.queues.tasks.buffer", @@ -791,7 +791,7 @@ } } }, - "revision": "20230929", + "revision": "20231018", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpQueue": { @@ -950,7 +950,7 @@ "type": "object" }, "CmekConfig": { - "description": "CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer’s hands.", + "description": "Describes the customer-managed encryption key (CMEK) configuration associated with a project and location.", "id": "CmekConfig", "properties": { "kmsKey": { diff --git a/cloudtasks/v2beta3/cloudtasks-gen.go b/cloudtasks/v2beta3/cloudtasks-gen.go index 7a8dade4af5..8f7f95deaf3 100644 --- a/cloudtasks/v2beta3/cloudtasks-gen.go +++ b/cloudtasks/v2beta3/cloudtasks-gen.go @@ -626,9 +626,8 @@ func (s *BufferTaskResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// CmekConfig: CMEK, or Customer Managed Encryption Keys, enables GCP -// products to put control over encryption and key management in their -// customer’s hands. +// CmekConfig: Describes the customer-managed encryption key (CMEK) +// configuration associated with a project and location. type CmekConfig struct { // KmsKey: Resource name of the Cloud KMS key, of the form // `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/crypto @@ -3333,11 +3332,18 @@ type ProjectsLocationsQueuesDeleteCall struct { } // Delete: Deletes a queue. This command will delete the queue even if -// it has tasks in it. Note: If you delete a queue, a queue with the -// same name can't be created for 7 days. WARNING: Using this method may -// have unintended side effects if you are using an App Engine -// `queue.yaml` or `queue.xml` file to manage your queues. Read Overview -// of Queue Management and queue.yaml +// it has tasks in it. Note : If you delete a queue, you may be +// prevented from creating a new queue with the same name as the deleted +// queue for a tombstone window of up to 3 days. During this window, the +// CreateQueue operation may appear to recreate the queue, but this can +// be misleading. If you attempt to create a queue with the same name as +// one that is in the tombstone window, run GetQueue to confirm that the +// queue creation was successful. If GetQueue returns 200 response code, +// your queue was successfully created with the name of the previously +// deleted queue. Otherwise, your queue did not successfully recreate. +// WARNING: Using this method may have unintended side effects if you +// are using an App Engine `queue.yaml` or `queue.xml` file to manage +// your queues. Read Overview of Queue Management and queue.yaml // (https://cloud.google.com/tasks/docs/queue-yaml) before using this // method. // @@ -3435,7 +3441,7 @@ func (c *ProjectsLocationsQueuesDeleteCall) Do(opts ...googleapi.CallOption) (*E } return ret, nil // { - // "description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, a queue with the same name can't be created for 7 days. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", + // "description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note : If you delete a queue, you may be prevented from creating a new queue with the same name as the deleted queue for a tombstone window of up to 3 days. During this window, the CreateQueue operation may appear to recreate the queue, but this can be misleading. If you attempt to create a queue with the same name as one that is in the tombstone window, run GetQueue to confirm that the queue creation was successful. If GetQueue returns 200 response code, your queue was successfully created with the name of the previously deleted queue. Otherwise, your queue did not successfully recreate. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", // "flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}", // "httpMethod": "DELETE", // "id": "cloudtasks.projects.locations.queues.delete", @@ -4947,9 +4953,7 @@ type ProjectsLocationsQueuesTasksBufferCall struct { // D:buffer To create the task with an automatically generated ID, use // the following format: // projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer -// . Note: This feature is in its experimental stage. You must request -// access to the API through the Cloud Tasks BufferTask Experiment -// Signup form (https://forms.gle/X8Zr5hiXH5tTGFqh8). +// . // // - queue: The parent queue name. For example: // projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The @@ -5056,7 +5060,7 @@ func (c *ProjectsLocationsQueuesTasksBufferCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTask Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).", + // "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.", // "flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{taskId}:buffer", // "httpMethod": "POST", // "id": "cloudtasks.projects.locations.queues.tasks.buffer", diff --git a/content/v2.1/content-api.json b/content/v2.1/content-api.json index 0ccc7ad48ca..81247559c50 100644 --- a/content/v2.1/content-api.json +++ b/content/v2.1/content-api.json @@ -6488,7 +6488,7 @@ } } }, - "revision": "20231017", + "revision": "20231027", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -6523,10 +6523,6 @@ }, "type": "array" }, - "businessIdentity": { - "$ref": "AccountBusinessIdentity", - "description": "The business identity attributes can be used to self-declare attributes that let customers know more about your business." - }, "businessInformation": { "$ref": "AccountBusinessInformation", "description": "The business information of the account." @@ -6650,37 +6646,6 @@ }, "type": "object" }, - "AccountBusinessIdentity": { - "description": "The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business. NEXT ID: 7.", - "id": "AccountBusinessIdentity", - "properties": { - "blackOwned": { - "$ref": "AccountIdentityType", - "description": "Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." - }, - "includeForPromotions": { - "description": "Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won't affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.", - "type": "boolean" - }, - "latinoOwned": { - "$ref": "AccountIdentityType", - "description": "Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." - }, - "smallBusiness": { - "$ref": "AccountIdentityType", - "description": "Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." - }, - "veteranOwned": { - "$ref": "AccountIdentityType", - "description": "Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." - }, - "womenOwned": { - "$ref": "AccountIdentityType", - "description": "Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." - } - }, - "type": "object" - }, "AccountBusinessInformation": { "id": "AccountBusinessInformation", "properties": { @@ -6805,12 +6770,6 @@ }, "type": "object" }, - "AccountIdentityType": { - "description": "The account identity type used to specify attributes.", - "id": "AccountIdentityType", - "properties": {}, - "type": "object" - }, "AccountImageImprovements": { "description": "This improvement will attempt to automatically correct submitted images if they don't meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973)", "id": "AccountImageImprovements", @@ -10713,7 +10672,7 @@ "id": "LocalInventory", "properties": { "availability": { - "description": "The availability of the product. For accepted attribute values, see the local product inventory feed specification.", + "description": "Availability of the product. For accepted attribute values, see the local product inventory feed specification.", "type": "string" }, "customAttributes": { @@ -10724,7 +10683,7 @@ "type": "array" }, "instoreProductLocation": { - "description": "The in-store product location.", + "description": "In-store product location.", "type": "string" }, "kind": { @@ -10732,32 +10691,32 @@ "type": "string" }, "pickupMethod": { - "description": "The supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the local product inventory feed specification.", + "description": "Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the local product inventory feed specification.", "type": "string" }, "pickupSla": { - "description": "The expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the local product inventory feed specification.", + "description": "Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the local product inventory feed specification.", "type": "string" }, "price": { "$ref": "Price", - "description": "The price of the product." + "description": "Price of the product." }, "quantity": { - "description": "The quantity of the product. Must be nonnegative.", + "description": "Quantity of the product. Must be nonnegative.", "format": "uint32", "type": "integer" }, "salePrice": { "$ref": "Price", - "description": "The sale price of the product. Mandatory if `sale_price_effective_date` is defined." + "description": "Sale price of the product. Mandatory if `sale_price_effective_date` is defined." }, "salePriceEffectiveDate": { "description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates may be specified as 'null' if undecided.", "type": "string" }, "storeCode": { - "description": "Required. The store code of this local inventory resource.", + "description": "Required. Store code of this local inventory resource.", "type": "string" } }, diff --git a/content/v2.1/content-gen.go b/content/v2.1/content-gen.go index 4f6aaa11642..93560219727 100644 --- a/content/v2.1/content-gen.go +++ b/content/v2.1/content-gen.go @@ -714,11 +714,6 @@ type Account struct { // to the account by CSS Center. AutomaticLabelIds googleapi.Uint64s `json:"automaticLabelIds,omitempty"` - // BusinessIdentity: The business identity attributes can be used to - // self-declare attributes that let customers know more about your - // business. - BusinessIdentity *AccountBusinessIdentity `json:"businessIdentity,omitempty"` - // BusinessInformation: The business information of the account. BusinessInformation *AccountBusinessInformation `json:"businessInformation,omitempty"` @@ -938,72 +933,6 @@ func (s *AccountAutomaticImprovements) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AccountBusinessIdentity: The business identity attributes -// (https://support.google.com/merchants/answer/10342414) can be used to -// self-declare attributes that let customers know more about your -// business. NEXT ID: 7. -type AccountBusinessIdentity struct { - // BlackOwned: Specifies whether the business identifies itself as being - // black-owned. This optional field is only available for merchants with - // a business country set to "US". This field is not allowed for - // marketplaces or marketplace sellers. - BlackOwned *AccountIdentityType `json:"blackOwned,omitempty"` - - // IncludeForPromotions: Required. By setting this field, your business - // may be included in promotions for all the selected attributes. If you - // clear this option, it won't affect your identification with any of - // the attributes. For this field to be set, the merchant must self - // identify with at least one of the `AccountIdentityType`. If none are - // included, the request will be considered invalid. - IncludeForPromotions bool `json:"includeForPromotions,omitempty"` - - // LatinoOwned: Specifies whether the business identifies itself as - // being latino-owned. This optional field is only available for - // merchants with a business country set to "US". This field is not - // allowed for marketplaces or marketplace sellers. - LatinoOwned *AccountIdentityType `json:"latinoOwned,omitempty"` - - // SmallBusiness: Specifies whether the business identifies itself as a - // small business. This optional field is only available for merchants - // with a business country set to "US". This field is not allowed for - // marketplaces or marketplace sellers. - SmallBusiness *AccountIdentityType `json:"smallBusiness,omitempty"` - - // VeteranOwned: Specifies whether the business identifies itself as - // being veteran-owned. This optional field is only available for - // merchants with a business country set to "US". This field is not - // allowed for marketplaces or marketplace sellers. - VeteranOwned *AccountIdentityType `json:"veteranOwned,omitempty"` - - // WomenOwned: Specifies whether the business identifies itself as being - // women-owned. This optional field is only available for merchants with - // a business country set to "US". This field is not allowed for - // marketplaces or marketplace sellers. - WomenOwned *AccountIdentityType `json:"womenOwned,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BlackOwned") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "BlackOwned") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. - NullFields []string `json:"-"` -} - -func (s *AccountBusinessIdentity) MarshalJSON() ([]byte, error) { - type NoMethod AccountBusinessIdentity - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - type AccountBusinessInformation struct { // Address: The address of the business. Use `\n` to add a second // address line. @@ -1241,11 +1170,6 @@ func (s *AccountIdentifier) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AccountIdentityType: The account identity type used to specify -// attributes. -type AccountIdentityType struct { -} - // AccountImageImprovements: This improvement will attempt to // automatically correct submitted images if they don't meet the image // requirements (https://support.google.com/merchants/answer/6324350), @@ -7927,7 +7851,7 @@ func (s *ListReturnPolicyOnlineResponse) MarshalJSON() ([]byte, error) { // LocalInventory: Local inventory resource. For accepted attribute // values, see the local product inventory feed specification. type LocalInventory struct { - // Availability: The availability of the product. For accepted attribute + // Availability: Availability of the product. For accepted attribute // values, see the local product inventory feed specification. Availability string `json:"availability,omitempty"` @@ -7937,32 +7861,32 @@ type LocalInventory struct { // "regular" }`. CustomAttributes []*CustomAttribute `json:"customAttributes,omitempty"` - // InstoreProductLocation: The in-store product location. + // InstoreProductLocation: In-store product location. InstoreProductLocation string `json:"instoreProductLocation,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "content#localInventory" Kind string `json:"kind,omitempty"` - // PickupMethod: The supported pickup method for this offer. Unless the + // PickupMethod: Supported pickup method for this offer. Unless the // value is "not supported", this field must be submitted together with // `pickupSla`. For accepted attribute values, see the local product // inventory feed specification. PickupMethod string `json:"pickupMethod,omitempty"` - // PickupSla: The expected date that an order will be ready for pickup + // PickupSla: Expected date that an order will be ready for pickup // relative to the order date. Must be submitted together with // `pickupMethod`. For accepted attribute values, see the local product // inventory feed specification. PickupSla string `json:"pickupSla,omitempty"` - // Price: The price of the product. + // Price: Price of the product. Price *Price `json:"price,omitempty"` - // Quantity: The quantity of the product. Must be nonnegative. + // Quantity: Quantity of the product. Must be nonnegative. Quantity int64 `json:"quantity,omitempty"` - // SalePrice: The sale price of the product. Mandatory if + // SalePrice: Sale price of the product. Mandatory if // `sale_price_effective_date` is defined. SalePrice *Price `json:"salePrice,omitempty"` @@ -7971,7 +7895,7 @@ type LocalInventory struct { // specified as 'null' if undecided. SalePriceEffectiveDate string `json:"salePriceEffectiveDate,omitempty"` - // StoreCode: Required. The store code of this local inventory resource. + // StoreCode: Required. Store code of this local inventory resource. StoreCode string `json:"storeCode,omitempty"` // ServerResponse contains the HTTP response code and headers from the diff --git a/dataplex/v1/dataplex-api.json b/dataplex/v1/dataplex-api.json index 10163368aa5..f812c4e4cb7 100644 --- a/dataplex/v1/dataplex-api.json +++ b/dataplex/v1/dataplex-api.json @@ -4360,7 +4360,7 @@ } } }, - "revision": "20231007", + "revision": "20231018", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -5555,7 +5555,7 @@ "id": "GoogleCloudDataplexV1DataQualityResult", "properties": { "dimensions": { - "description": "A list of results at the dimension level.", + "description": "A list of results at the dimension level.A dimension will have a corresponding DataQualityDimensionResult if and only if there is at least one rule with the 'dimension' field set to it.", "items": { "$ref": "GoogleCloudDataplexV1DataQualityDimensionResult" }, diff --git a/dataplex/v1/dataplex-gen.go b/dataplex/v1/dataplex-gen.go index 09805133461..513ffcbcc8c 100644 --- a/dataplex/v1/dataplex-gen.go +++ b/dataplex/v1/dataplex-gen.go @@ -2375,7 +2375,9 @@ func (s *GoogleCloudDataplexV1DataQualityDimensionResult) MarshalJSON() ([]byte, // GoogleCloudDataplexV1DataQualityResult: The output of a // DataQualityScan. type GoogleCloudDataplexV1DataQualityResult struct { - // Dimensions: A list of results at the dimension level. + // Dimensions: A list of results at the dimension level.A dimension will + // have a corresponding DataQualityDimensionResult if and only if there + // is at least one rule with the 'dimension' field set to it. Dimensions []*GoogleCloudDataplexV1DataQualityDimensionResult `json:"dimensions,omitempty"` // Passed: Overall data quality result -- true if all rules passed. diff --git a/dataproc/v1/dataproc-api.json b/dataproc/v1/dataproc-api.json index 442f29a3edb..e0876c08acb 100644 --- a/dataproc/v1/dataproc-api.json +++ b/dataproc/v1/dataproc-api.json @@ -3006,7 +3006,7 @@ } } }, - "revision": "20231002", + "revision": "20231019", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -4252,6 +4252,17 @@ }, "type": "object" }, + "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig": { + "description": "Encryption settings for the encrypting customer core content. NEXT ID: 2", + "id": "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig", + "properties": { + "kmsKey": { + "description": "Optional. The Cloud KMS key name to use for encrypting customer core content.", + "type": "string" + } + }, + "type": "object" + }, "HadoopJob": { "description": "A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).", "id": "HadoopJob", @@ -5178,6 +5189,14 @@ }, "readOnly": true, "type": "array" + }, + "unreachable": { + "description": "Output only. List of workflow templates that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" } }, "type": "object" @@ -5411,14 +5430,16 @@ "CREATE", "UPDATE", "DELETE", - "RESIZE" + "RESIZE", + "REPAIR" ], "enumDescriptions": [ "Node group operation type is unknown.", "Create node group operation type.", "Update node group operation type.", "Delete node group operation type.", - "Resize node group operation type." + "Resize node group operation type.", + "Repair node group operation type." ], "type": "string" }, @@ -6915,6 +6936,15 @@ "description": "Usage metrics represent approximate total resources consumed by a workload.", "id": "UsageMetrics", "properties": { + "acceleratorType": { + "description": "Optional. Accelerator type being used, if any", + "type": "string" + }, + "milliAcceleratorSeconds": { + "description": "Optional. Accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", + "format": "int64", + "type": "string" + }, "milliDcuSeconds": { "description": "Optional. DCU (Dataproc Compute Units) usage in (milliDCU x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", "format": "int64", @@ -6932,6 +6962,15 @@ "description": "The usage snapshot represents the resources consumed by a workload at a specified time.", "id": "UsageSnapshot", "properties": { + "acceleratorType": { + "description": "Optional. Accelerator type being used, if any", + "type": "string" + }, + "milliAccelerator": { + "description": "Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))", + "format": "int64", + "type": "string" + }, "milliDcu": { "description": "Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", "format": "int64", @@ -7171,6 +7210,10 @@ "format": "google-duration", "type": "string" }, + "encryptionConfig": { + "$ref": "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig", + "description": "Optional. Encryption settings for the encrypting customer core content." + }, "id": { "type": "string" }, diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index 85cbba954cb..1c82f007ba4 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -2414,6 +2414,36 @@ func (s *GkeNodePoolTarget) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig: Encryption +// settings for the encrypting customer core content. NEXT ID: 2 +type GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig struct { + // KmsKey: Optional. The Cloud KMS key name to use for encrypting + // customer core content. + KmsKey string `json:"kmsKey,omitempty"` + + // ForceSendFields is a list of field names (e.g. "KmsKey") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "KmsKey") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // HadoopJob: A Dataproc job for running Apache Hadoop MapReduce // (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) // jobs on Apache Hadoop YARN @@ -3901,6 +3931,11 @@ type ListWorkflowTemplatesResponse struct { // Templates: Output only. WorkflowTemplates list. Templates []*WorkflowTemplate `json:"templates,omitempty"` + // Unreachable: Output only. List of workflow templates that could not + // be included in the response. Attempting to get one of these resources + // may indicate why it was not included in the list response. + Unreachable []string `json:"unreachable,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` @@ -4293,6 +4328,7 @@ type NodeGroupOperationMetadata struct { // "UPDATE" - Update node group operation type. // "DELETE" - Delete node group operation type. // "RESIZE" - Resize node group operation type. + // "REPAIR" - Repair node group operation type. OperationType string `json:"operationType,omitempty"` // Status: Output only. Current operation status. @@ -6697,6 +6733,14 @@ func (s *TrinoJob) MarshalJSON() ([]byte, error) { // UsageMetrics: Usage metrics represent approximate total resources // consumed by a workload. type UsageMetrics struct { + // AcceleratorType: Optional. Accelerator type being used, if any + AcceleratorType string `json:"acceleratorType,omitempty"` + + // MilliAcceleratorSeconds: Optional. Accelerator usage in + // (milliAccelerator x seconds) (see Dataproc Serverless pricing + // (https://cloud.google.com/dataproc-serverless/pricing)). + MilliAcceleratorSeconds int64 `json:"milliAcceleratorSeconds,omitempty,string"` + // MilliDcuSeconds: Optional. DCU (Dataproc Compute Units) usage in // (milliDCU x seconds) (see Dataproc Serverless pricing // (https://cloud.google.com/dataproc-serverless/pricing)). @@ -6707,7 +6751,7 @@ type UsageMetrics struct { // (https://cloud.google.com/dataproc-serverless/pricing)). ShuffleStorageGbSeconds int64 `json:"shuffleStorageGbSeconds,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "MilliDcuSeconds") to + // ForceSendFields is a list of field names (e.g. "AcceleratorType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -6715,7 +6759,7 @@ type UsageMetrics struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MilliDcuSeconds") to + // NullFields is a list of field names (e.g. "AcceleratorType") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the @@ -6734,6 +6778,14 @@ func (s *UsageMetrics) MarshalJSON() ([]byte, error) { // UsageSnapshot: The usage snapshot represents the resources consumed // by a workload at a specified time. type UsageSnapshot struct { + // AcceleratorType: Optional. Accelerator type being used, if any + AcceleratorType string `json:"acceleratorType,omitempty"` + + // MilliAccelerator: Optional. Milli (one-thousandth) accelerator. (see + // Dataproc Serverless pricing + // (https://cloud.google.com/dataproc-serverless/pricing)) + MilliAccelerator int64 `json:"milliAccelerator,omitempty,string"` + // MilliDcu: Optional. Milli (one-thousandth) Dataproc Compute Units // (DCUs) (see Dataproc Serverless pricing // (https://cloud.google.com/dataproc-serverless/pricing)). @@ -6757,7 +6809,7 @@ type UsageSnapshot struct { // SnapshotTime: Optional. The timestamp of the usage snapshot. SnapshotTime string `json:"snapshotTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "MilliDcu") to + // ForceSendFields is a list of field names (e.g. "AcceleratorType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -6765,12 +6817,13 @@ type UsageSnapshot struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MilliDcu") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AcceleratorType") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -7038,6 +7091,10 @@ type WorkflowTemplate struct { // running on a managed cluster, the cluster is deleted. DagTimeout string `json:"dagTimeout,omitempty"` + // EncryptionConfig: Optional. Encryption settings for the encrypting + // customer core content. + EncryptionConfig *GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig `json:"encryptionConfig,omitempty"` + Id string `json:"id,omitempty"` // Jobs: Required. The Directed Acyclic Graph of Jobs to submit. diff --git a/dlp/v2/dlp-api.json b/dlp/v2/dlp-api.json index e0edcf4c658..6e78f5765e6 100644 --- a/dlp/v2/dlp-api.json +++ b/dlp/v2/dlp-api.json @@ -290,18 +290,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListDeidentifyTemplates`.", "location": "query", "type": "string" }, @@ -446,18 +446,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListInspectTemplates`.", "location": "query", "type": "string" }, @@ -604,18 +604,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListDeidentifyTemplates`.", "location": "query", "type": "string" }, @@ -668,7 +668,7 @@ "discoveryConfigs": { "methods": { "create": { - "description": "Creates a config for Discovery to scan and profile storage.", + "description": "Creates a config for discovery to scan and profile storage.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/discoveryConfigs", "httpMethod": "POST", "id": "dlp.organizations.locations.discoveryConfigs.create", @@ -696,7 +696,7 @@ ] }, "delete": { - "description": "Deletes a Discovery configuration.", + "description": "Deletes a discovery configuration.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", "httpMethod": "DELETE", "id": "dlp.organizations.locations.discoveryConfigs.delete", @@ -721,7 +721,7 @@ ] }, "get": { - "description": "Gets a Discovery configuration.", + "description": "Gets a discovery configuration.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", "httpMethod": "GET", "id": "dlp.organizations.locations.discoveryConfigs.get", @@ -746,7 +746,7 @@ ] }, "list": { - "description": "Lists Discovery configurations.", + "description": "Lists discovery configurations.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/discoveryConfigs", "httpMethod": "GET", "id": "dlp.organizations.locations.discoveryConfigs.list", @@ -755,18 +755,18 @@ ], "parameters": { "orderBy": { - "description": "Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", + "description": "Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by a server.", + "description": "Size of the page. This value can be limited by a server.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to ListDiscoveryConfigs. `order_by` field must not change for subsequent calls.", + "description": "Page token to continue retrieval. Comes from the previous call to ListDiscoveryConfigs. `order_by` field must not change for subsequent calls.", "location": "query", "type": "string" }, @@ -787,7 +787,7 @@ ] }, "patch": { - "description": "Updates a Discovery configuration.", + "description": "Updates a discovery configuration.", "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", "httpMethod": "PATCH", "id": "dlp.organizations.locations.discoveryConfigs.patch", @@ -838,7 +838,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", "location": "query", "type": "string" }, @@ -981,18 +981,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListInspectTemplates`.", "location": "query", "type": "string" }, @@ -1142,18 +1142,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", + "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by a server.", + "description": "Size of the page. This value can be limited by a server.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", + "description": "Page token to continue retrieval. Comes from the previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", "location": "query", "type": "string" }, @@ -1313,18 +1313,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListStoredInfoTypes`.", "location": "query", "type": "string" }, @@ -1471,18 +1471,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListStoredInfoTypes`.", "location": "query", "type": "string" }, @@ -1719,18 +1719,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListDeidentifyTemplates`.", "location": "query", "type": "string" }, @@ -1908,7 +1908,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", "location": "query", "type": "string" }, @@ -2083,18 +2083,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListInspectTemplates`.", "location": "query", "type": "string" }, @@ -2272,18 +2272,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", + "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by a server.", + "description": "Size of the page. This value can be limited by a server.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", + "description": "Page token to continue retrieval. Comes from the previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", "location": "query", "type": "string" }, @@ -2533,18 +2533,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListDeidentifyTemplates`.", "location": "query", "type": "string" }, @@ -2597,7 +2597,7 @@ "discoveryConfigs": { "methods": { "create": { - "description": "Creates a config for Discovery to scan and profile storage.", + "description": "Creates a config for discovery to scan and profile storage.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/discoveryConfigs", "httpMethod": "POST", "id": "dlp.projects.locations.discoveryConfigs.create", @@ -2625,7 +2625,7 @@ ] }, "delete": { - "description": "Deletes a Discovery configuration.", + "description": "Deletes a discovery configuration.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", "httpMethod": "DELETE", "id": "dlp.projects.locations.discoveryConfigs.delete", @@ -2650,7 +2650,7 @@ ] }, "get": { - "description": "Gets a Discovery configuration.", + "description": "Gets a discovery configuration.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", "httpMethod": "GET", "id": "dlp.projects.locations.discoveryConfigs.get", @@ -2675,7 +2675,7 @@ ] }, "list": { - "description": "Lists Discovery configurations.", + "description": "Lists discovery configurations.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/discoveryConfigs", "httpMethod": "GET", "id": "dlp.projects.locations.discoveryConfigs.list", @@ -2684,18 +2684,18 @@ ], "parameters": { "orderBy": { - "description": "Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", + "description": "Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by a server.", + "description": "Size of the page. This value can be limited by a server.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to ListDiscoveryConfigs. `order_by` field must not change for subsequent calls.", + "description": "Page token to continue retrieval. Comes from the previous call to ListDiscoveryConfigs. `order_by` field must not change for subsequent calls.", "location": "query", "type": "string" }, @@ -2716,7 +2716,7 @@ ] }, "patch": { - "description": "Updates a Discovery configuration.", + "description": "Updates a discovery configuration.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", "httpMethod": "PATCH", "id": "dlp.projects.locations.discoveryConfigs.patch", @@ -2929,7 +2929,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", "location": "query", "type": "string" }, @@ -3104,18 +3104,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListInspectTemplates`.", "location": "query", "type": "string" }, @@ -3321,18 +3321,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", + "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by a server.", + "description": "Size of the page. This value can be limited by a server.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", + "description": "Page token to continue retrieval. Comes from the previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", "location": "query", "type": "string" }, @@ -3492,18 +3492,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListStoredInfoTypes`.", "location": "query", "type": "string" }, @@ -3650,18 +3650,18 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", "location": "query", "type": "string" }, "pageSize": { - "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.", + "description": "Page token to continue retrieval. Comes from the previous call to `ListStoredInfoTypes`.", "location": "query", "type": "string" }, @@ -3714,7 +3714,7 @@ } } }, - "revision": "20231015", + "revision": "20231022", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -3853,7 +3853,7 @@ "type": "object" }, "GooglePrivacyDlpV2BigQueryDiscoveryTarget": { - "description": "Target used to match against for Discovery with BigQuery tables", + "description": "Target used to match against for discovery with BigQuery tables", "id": "GooglePrivacyDlpV2BigQueryDiscoveryTarget", "properties": { "cadence": { @@ -3870,7 +3870,7 @@ }, "filter": { "$ref": "GooglePrivacyDlpV2DiscoveryBigQueryFilter", - "description": "Required. The tables the Discovery cadence applies to. The first target with a matching filter will be the one to apply to a table." + "description": "Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table." } }, "type": "object" @@ -4025,11 +4025,11 @@ "type": "object" }, "GooglePrivacyDlpV2BigQueryTableTypes": { - "description": "The types of bigquery tables supported by Cloud DLP.", + "description": "The types of BigQuery tables supported by Cloud DLP.", "id": "GooglePrivacyDlpV2BigQueryTableTypes", "properties": { "types": { - "description": "A set of bigquery table types.", + "description": "A set of BigQuery table types.", "items": { "enum": [ "BIG_QUERY_TABLE_TYPE_UNSPECIFIED", @@ -4757,7 +4757,7 @@ "id": "GooglePrivacyDlpV2CreateDiscoveryConfigRequest", "properties": { "configId": { - "description": "The config id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one.", + "description": "The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one.", "type": "string" }, "discoveryConfig": { @@ -5069,7 +5069,7 @@ "type": "array" }, "inspectTemplates": { - "description": "Detection logic for profile generation. Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including \"global\"). Each region is scanned using the applicable template. If no region-specific template is specified, but a \"global\" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/dlp/docs/data-profiles#data_residency.", + "description": "Detection logic for profile generation. Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including \"global\"). Each region is scanned using the applicable template. If no region-specific template is specified, but a \"global\" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/dlp/docs/data-profiles#data-residency.", "items": { "type": "string" }, @@ -5573,13 +5573,13 @@ "type": "object" }, "GooglePrivacyDlpV2Disabled": { - "description": "Do nothing.", + "description": "Do not profile the tables.", "id": "GooglePrivacyDlpV2Disabled", "properties": {}, "type": "object" }, "GooglePrivacyDlpV2DiscoveryBigQueryConditions": { - "description": "Requirements that must be true before a table is scanned in Discovery for the first time. There is an AND relationship between the top-level attributes.", + "description": "Requirements that must be true before a table is scanned in discovery for the first time. There is an AND relationship between the top-level attributes. Additionally, minimum conditions with an OR relationship that must be met before Cloud DLP scans a table can be set (like a minimum row count or a minimum table age).", "id": "GooglePrivacyDlpV2DiscoveryBigQueryConditions", "properties": { "createdAfter": { @@ -5592,7 +5592,7 @@ "description": "At least one of the conditions must be true for a table to be scanned." }, "typeCollection": { - "description": "Restrict Discovery to categories of table types.", + "description": "Restrict discovery to categories of table types.", "enum": [ "BIG_QUERY_COLLECTION_UNSPECIFIED", "BIG_QUERY_COLLECTION_ALL_TYPES", @@ -5600,20 +5600,20 @@ ], "enumDescriptions": [ "Unused.", - "Automatically generate profiles for all tables, even if the table type is not yet fully supported for analysis. These unsupported profiles will be generated with errors to indicate their partial support. When support is added, they will automatically be profiled during the next scheduled run.", - "Only those types fully supported will be profiled. Will expand automatically as new support is added. Unsupported table types will not have a profile generated." + "Automatically generate profiles for all tables, even if the table type is not yet fully supported for analysis. Profiles for unsupported tables will be generated with errors to indicate their partial support. When full support is added, the tables will automatically be profiled during the next scheduled run.", + "Only those types fully supported will be profiled. Will expand automatically as Cloud DLP adds support for new table types. Unsupported table types will not have partial profiles generated." ], "type": "string" }, "types": { "$ref": "GooglePrivacyDlpV2BigQueryTableTypes", - "description": "Restrict Discovery to specific table types." + "description": "Restrict discovery to specific table types." } }, "type": "object" }, "GooglePrivacyDlpV2DiscoveryBigQueryFilter": { - "description": "Determines what tables will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID, dataset ID, and table ID. Also lets you set minimum conditions that must be met before Cloud DLP scans a table (like a minimum row count or a minimum table age).", + "description": "Determines what tables will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID, dataset ID, and table ID.", "id": "GooglePrivacyDlpV2DiscoveryBigQueryFilter", "properties": { "otherTables": { @@ -5628,7 +5628,7 @@ "type": "object" }, "GooglePrivacyDlpV2DiscoveryConfig": { - "description": "Configuration for Discovery to scan resources for profile generation. Only one Discovery configuration may exist per organization, folder, or project. The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/dlp/docs/data-profiles#retention).", + "description": "Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project. The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/dlp/docs/data-profiles#retention).", "id": "GooglePrivacyDlpV2DiscoveryConfig", "properties": { "actions": { @@ -5657,7 +5657,7 @@ "type": "array" }, "inspectTemplates": { - "description": "Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, include_quote and exclude_info_types have no impact on Discovery. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including \"global\"). Each region is scanned using the applicable template. If no region-specific template is specified, but a \"global\" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/dlp/docs/data-profiles#data_residency.", + "description": "Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, include_quote and exclude_info_types have no impact on Discovery. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including \"global\"). Each region is scanned using the applicable template. If no region-specific template is specified, but a \"global\" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/dlp/docs/data-profiles#data-residency.", "items": { "type": "string" }, @@ -5686,8 +5686,8 @@ ], "enumDescriptions": [ "Unused", - "The Discovery config is currently active.", - "The Discovery config is paused temporarily." + "The discovery config is currently active.", + "The discovery config is paused temporarily." ], "type": "string" }, @@ -5763,7 +5763,7 @@ "type": "object" }, "GooglePrivacyDlpV2DiscoveryStartingLocation": { - "description": "The location to begin a Discovery scan. Denotes an organization ID or folder ID within an organization.", + "description": "The location to begin a discovery scan. Denotes an organization ID or folder ID within an organization.", "id": "GooglePrivacyDlpV2DiscoveryStartingLocation", "properties": { "folderId": { @@ -7516,7 +7516,7 @@ "type": "array" }, "nextPageToken": { - "description": "If the next page is available then the next page token to be used in following ListDeidentifyTemplates request.", + "description": "If the next page is available then the next page token to be used in the following ListDeidentifyTemplates request.", "type": "string" } }, @@ -7534,7 +7534,7 @@ "type": "array" }, "nextPageToken": { - "description": "If the next page is available then the next page token to be used in following ListDiscoveryConfigs request.", + "description": "If the next page is available then the next page token to be used in the following ListDiscoveryConfigs request.", "type": "string" } }, @@ -7584,7 +7584,7 @@ "type": "array" }, "nextPageToken": { - "description": "If the next page is available then the next page token to be used in following ListInspectTemplates request.", + "description": "If the next page is available then the next page token to be used in the following ListInspectTemplates request.", "type": "string" } }, @@ -7602,7 +7602,7 @@ "type": "array" }, "nextPageToken": { - "description": "If the next page is available then the next page token to be used in following ListJobTriggers request.", + "description": "If the next page is available then the next page token to be used in the following ListJobTriggers request.", "type": "string" } }, @@ -7613,7 +7613,7 @@ "id": "GooglePrivacyDlpV2ListStoredInfoTypesResponse", "properties": { "nextPageToken": { - "description": "If the next page is available then the next page token to be used in following ListStoredInfoTypes request.", + "description": "If the next page is available then the next page token to be used in the following ListStoredInfoTypes request.", "type": "string" }, "storedInfoTypes": { @@ -9417,7 +9417,7 @@ "properties": { "discoveryConfig": { "$ref": "GooglePrivacyDlpV2DiscoveryConfig", - "description": "New DiscoveryConfig value." + "description": "Required. New DiscoveryConfig value." }, "updateMask": { "description": "Mask to control which fields get updated.", diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 84bfc0a8ff5..6bbf2c9b4ce 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -721,7 +721,7 @@ func (s *GooglePrivacyDlpV2AuxiliaryTable) MarshalJSON() ([]byte, error) { } // GooglePrivacyDlpV2BigQueryDiscoveryTarget: Target used to match -// against for Discovery with BigQuery tables +// against for discovery with BigQuery tables type GooglePrivacyDlpV2BigQueryDiscoveryTarget struct { // Cadence: How often and when to update profiles. New tables that match // both the filter and conditions are scanned as quickly as possible @@ -736,7 +736,7 @@ type GooglePrivacyDlpV2BigQueryDiscoveryTarget struct { // created. Disabled *GooglePrivacyDlpV2Disabled `json:"disabled,omitempty"` - // Filter: Required. The tables the Discovery cadence applies to. The + // Filter: Required. The tables the discovery cadence applies to. The // first target with a matching filter will be the one to apply to a // table. Filter *GooglePrivacyDlpV2DiscoveryBigQueryFilter `json:"filter,omitempty"` @@ -1047,10 +1047,10 @@ func (s *GooglePrivacyDlpV2BigQueryTableCollection) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GooglePrivacyDlpV2BigQueryTableTypes: The types of bigquery tables +// GooglePrivacyDlpV2BigQueryTableTypes: The types of BigQuery tables // supported by Cloud DLP. type GooglePrivacyDlpV2BigQueryTableTypes struct { - // Types: A set of bigquery table types. + // Types: A set of BigQuery table types. // // Possible values: // "BIG_QUERY_TABLE_TYPE_UNSPECIFIED" - Unused. @@ -2211,7 +2211,7 @@ func (s *GooglePrivacyDlpV2CreateDeidentifyTemplateRequest) MarshalJSON() ([]byt // GooglePrivacyDlpV2CreateDiscoveryConfigRequest: Request message for // CreateDiscoveryConfig. type GooglePrivacyDlpV2CreateDiscoveryConfigRequest struct { - // ConfigId: The config id can contain uppercase and lowercase letters, + // ConfigId: The config ID can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular expression: // `[a-zA-Z\d-_]+`. The maximum length is 100 characters. Can be empty // to allow the system to generate one. @@ -2860,7 +2860,7 @@ type GooglePrivacyDlpV2DataProfileJobConfig struct { // specified, it will be copied to that region and used instead. If no // global or region-specific template is provided for a region with // data, that region's data will not be scanned. For more information, - // see https://cloud.google.com/dlp/docs/data-profiles#data_residency. + // see https://cloud.google.com/dlp/docs/data-profiles#data-residency. InspectTemplates []string `json:"inspectTemplates,omitempty"` // Location: The data to scan. @@ -3864,13 +3864,16 @@ func (s *GooglePrivacyDlpV2Dictionary) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GooglePrivacyDlpV2Disabled: Do nothing. +// GooglePrivacyDlpV2Disabled: Do not profile the tables. type GooglePrivacyDlpV2Disabled struct { } // GooglePrivacyDlpV2DiscoveryBigQueryConditions: Requirements that must -// be true before a table is scanned in Discovery for the first time. +// be true before a table is scanned in discovery for the first time. // There is an AND relationship between the top-level attributes. +// Additionally, minimum conditions with an OR relationship that must be +// met before Cloud DLP scans a table can be set (like a minimum row +// count or a minimum table age). type GooglePrivacyDlpV2DiscoveryBigQueryConditions struct { // CreatedAfter: BigQuery table must have been created after this date. // Used to avoid backfilling. @@ -3880,22 +3883,23 @@ type GooglePrivacyDlpV2DiscoveryBigQueryConditions struct { // to be scanned. OrConditions *GooglePrivacyDlpV2OrConditions `json:"orConditions,omitempty"` - // TypeCollection: Restrict Discovery to categories of table types. + // TypeCollection: Restrict discovery to categories of table types. // // Possible values: // "BIG_QUERY_COLLECTION_UNSPECIFIED" - Unused. // "BIG_QUERY_COLLECTION_ALL_TYPES" - Automatically generate profiles // for all tables, even if the table type is not yet fully supported for - // analysis. These unsupported profiles will be generated with errors to - // indicate their partial support. When support is added, they will - // automatically be profiled during the next scheduled run. + // analysis. Profiles for unsupported tables will be generated with + // errors to indicate their partial support. When full support is added, + // the tables will automatically be profiled during the next scheduled + // run. // "BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES" - Only those types - // fully supported will be profiled. Will expand automatically as new - // support is added. Unsupported table types will not have a profile - // generated. + // fully supported will be profiled. Will expand automatically as Cloud + // DLP adds support for new table types. Unsupported table types will + // not have partial profiles generated. TypeCollection string `json:"typeCollection,omitempty"` - // Types: Restrict Discovery to specific table types. + // Types: Restrict discovery to specific table types. Types *GooglePrivacyDlpV2BigQueryTableTypes `json:"types,omitempty"` // ForceSendFields is a list of field names (e.g. "CreatedAfter") to @@ -3924,9 +3928,7 @@ func (s *GooglePrivacyDlpV2DiscoveryBigQueryConditions) MarshalJSON() ([]byte, e // GooglePrivacyDlpV2DiscoveryBigQueryFilter: Determines what tables // will have profiles generated within an organization or project. // Includes the ability to filter by regular expression patterns on -// project ID, dataset ID, and table ID. Also lets you set minimum -// conditions that must be met before Cloud DLP scans a table (like a -// minimum row count or a minimum table age). +// project ID, dataset ID, and table ID. type GooglePrivacyDlpV2DiscoveryBigQueryFilter struct { // OtherTables: Catch-all. This should always be the last filter in the // list because anything above it will apply first. Should only appear @@ -3963,8 +3965,8 @@ func (s *GooglePrivacyDlpV2DiscoveryBigQueryFilter) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GooglePrivacyDlpV2DiscoveryConfig: Configuration for Discovery to -// scan resources for profile generation. Only one Discovery +// GooglePrivacyDlpV2DiscoveryConfig: Configuration for discovery to +// scan resources for profile generation. Only one discovery // configuration may exist per organization, folder, or project. The // generated data profiles are retained according to the [data retention // policy] (https://cloud.google.com/dlp/docs/data-profiles#retention). @@ -3994,7 +3996,7 @@ type GooglePrivacyDlpV2DiscoveryConfig struct { // specified, it will be copied to that region and used instead. If no // global or region-specific template is provided for a region with // data, that region's data will not be scanned. For more information, - // see https://cloud.google.com/dlp/docs/data-profiles#data_residency. + // see https://cloud.google.com/dlp/docs/data-profiles#data-residency. InspectTemplates []string `json:"inspectTemplates,omitempty"` // LastRunTime: Output only. The timestamp of the last time this config @@ -4014,8 +4016,8 @@ type GooglePrivacyDlpV2DiscoveryConfig struct { // // Possible values: // "STATUS_UNSPECIFIED" - Unused - // "RUNNING" - The Discovery config is currently active. - // "PAUSED" - The Discovery config is paused temporarily. + // "RUNNING" - The discovery config is currently active. + // "PAUSED" - The discovery config is paused temporarily. Status string `json:"status,omitempty"` // Targets: Target to match against for determining what to scan and how @@ -4143,7 +4145,7 @@ func (s *GooglePrivacyDlpV2DiscoverySchemaModifiedCadence) MarshalJSON() ([]byte } // GooglePrivacyDlpV2DiscoveryStartingLocation: The location to begin a -// Discovery scan. Denotes an organization ID or folder ID within an +// discovery scan. Denotes an organization ID or folder ID within an // organization. type GooglePrivacyDlpV2DiscoveryStartingLocation struct { // FolderId: The ID of the Folder within an organization to scan. @@ -7074,7 +7076,7 @@ type GooglePrivacyDlpV2ListDeidentifyTemplatesResponse struct { DeidentifyTemplates []*GooglePrivacyDlpV2DeidentifyTemplate `json:"deidentifyTemplates,omitempty"` // NextPageToken: If the next page is available then the next page token - // to be used in following ListDeidentifyTemplates request. + // to be used in the following ListDeidentifyTemplates request. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -7113,7 +7115,7 @@ type GooglePrivacyDlpV2ListDiscoveryConfigsResponse struct { DiscoveryConfigs []*GooglePrivacyDlpV2DiscoveryConfig `json:"discoveryConfigs,omitempty"` // NextPageToken: If the next page is available then the next page token - // to be used in following ListDiscoveryConfigs request. + // to be used in the following ListDiscoveryConfigs request. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -7222,7 +7224,7 @@ type GooglePrivacyDlpV2ListInspectTemplatesResponse struct { InspectTemplates []*GooglePrivacyDlpV2InspectTemplate `json:"inspectTemplates,omitempty"` // NextPageToken: If the next page is available then the next page token - // to be used in following ListInspectTemplates request. + // to be used in the following ListInspectTemplates request. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -7261,7 +7263,7 @@ type GooglePrivacyDlpV2ListJobTriggersResponse struct { JobTriggers []*GooglePrivacyDlpV2JobTrigger `json:"jobTriggers,omitempty"` // NextPageToken: If the next page is available then the next page token - // to be used in following ListJobTriggers request. + // to be used in the following ListJobTriggers request. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -7295,7 +7297,7 @@ func (s *GooglePrivacyDlpV2ListJobTriggersResponse) MarshalJSON() ([]byte, error // ListStoredInfoTypes. type GooglePrivacyDlpV2ListStoredInfoTypesResponse struct { // NextPageToken: If the next page is available then the next page token - // to be used in following ListStoredInfoTypes request. + // to be used in the following ListStoredInfoTypes request. NextPageToken string `json:"nextPageToken,omitempty"` // StoredInfoTypes: List of storedInfoTypes, up to page_size in @@ -10506,7 +10508,7 @@ func (s *GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest) MarshalJSON() ([]byt // GooglePrivacyDlpV2UpdateDiscoveryConfigRequest: Request message for // UpdateDiscoveryConfig. type GooglePrivacyDlpV2UpdateDiscoveryConfigRequest struct { - // DiscoveryConfig: New DiscoveryConfig value. + // DiscoveryConfig: Required. New DiscoveryConfig value. DiscoveryConfig *GooglePrivacyDlpV2DiscoveryConfig `json:"discoveryConfig,omitempty"` // UpdateMask: Mask to control which fields get updated. @@ -11819,28 +11821,28 @@ func (c *OrganizationsDeidentifyTemplatesListCall) LocationId(locationId string) // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc,update_time, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the template was created. - `update_time`: corresponds to -// the time the template was last updated. - `name`: corresponds to the -// template's name. - `display_name`: corresponds to the template's -// display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name +// asc,update_time, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the template was created. - +// `update_time`: corresponds to the time the template was last updated. +// - `name`: corresponds to the template's name. - `display_name`: +// corresponds to the template's display name. func (c *OrganizationsDeidentifyTemplatesListCall) OrderBy(orderBy string) *OrganizationsDeidentifyTemplatesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *OrganizationsDeidentifyTemplatesListCall) PageSize(pageSize int64) *OrganizationsDeidentifyTemplatesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListDeidentifyTemplates`. func (c *OrganizationsDeidentifyTemplatesListCall) PageToken(pageToken string) *OrganizationsDeidentifyTemplatesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -11962,18 +11964,18 @@ func (c *OrganizationsDeidentifyTemplatesListCall) Do(opts ...googleapi.CallOpti // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListDeidentifyTemplates`.", // "location": "query", // "type": "string" // }, @@ -12653,28 +12655,28 @@ func (c *OrganizationsInspectTemplatesListCall) LocationId(locationId string) *O // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc,update_time, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the template was created. - `update_time`: corresponds to -// the time the template was last updated. - `name`: corresponds to the -// template's name. - `display_name`: corresponds to the template's -// display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name +// asc,update_time, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the template was created. - +// `update_time`: corresponds to the time the template was last updated. +// - `name`: corresponds to the template's name. - `display_name`: +// corresponds to the template's display name. func (c *OrganizationsInspectTemplatesListCall) OrderBy(orderBy string) *OrganizationsInspectTemplatesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *OrganizationsInspectTemplatesListCall) PageSize(pageSize int64) *OrganizationsInspectTemplatesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListInspectTemplates`. func (c *OrganizationsInspectTemplatesListCall) PageToken(pageToken string) *OrganizationsInspectTemplatesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -12796,18 +12798,18 @@ func (c *OrganizationsInspectTemplatesListCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListInspectTemplates`.", // "location": "query", // "type": "string" // }, @@ -13490,28 +13492,28 @@ func (c *OrganizationsLocationsDeidentifyTemplatesListCall) LocationId(locationI // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc,update_time, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the template was created. - `update_time`: corresponds to -// the time the template was last updated. - `name`: corresponds to the -// template's name. - `display_name`: corresponds to the template's -// display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name +// asc,update_time, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the template was created. - +// `update_time`: corresponds to the time the template was last updated. +// - `name`: corresponds to the template's name. - `display_name`: +// corresponds to the template's display name. func (c *OrganizationsLocationsDeidentifyTemplatesListCall) OrderBy(orderBy string) *OrganizationsLocationsDeidentifyTemplatesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *OrganizationsLocationsDeidentifyTemplatesListCall) PageSize(pageSize int64) *OrganizationsLocationsDeidentifyTemplatesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListDeidentifyTemplates`. func (c *OrganizationsLocationsDeidentifyTemplatesListCall) PageToken(pageToken string) *OrganizationsLocationsDeidentifyTemplatesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -13633,18 +13635,18 @@ func (c *OrganizationsLocationsDeidentifyTemplatesListCall) Do(opts ...googleapi // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListDeidentifyTemplates`.", // "location": "query", // "type": "string" // }, @@ -13847,7 +13849,7 @@ type OrganizationsLocationsDiscoveryConfigsCreateCall struct { header_ http.Header } -// Create: Creates a config for Discovery to scan and profile storage. +// Create: Creates a config for discovery to scan and profile storage. // // - parent: Parent resource name. The format of this value is as // follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The @@ -13954,7 +13956,7 @@ func (c *OrganizationsLocationsDiscoveryConfigsCreateCall) Do(opts ...googleapi. } return ret, nil // { - // "description": "Creates a config for Discovery to scan and profile storage.", + // "description": "Creates a config for discovery to scan and profile storage.", // "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/discoveryConfigs", // "httpMethod": "POST", // "id": "dlp.organizations.locations.discoveryConfigs.create", @@ -13994,7 +13996,7 @@ type OrganizationsLocationsDiscoveryConfigsDeleteCall struct { header_ http.Header } -// Delete: Deletes a Discovery configuration. +// Delete: Deletes a discovery configuration. // // - name: Resource name of the project and the config, for example // `projects/dlp-test-project/discoveryConfigs/53234423`. @@ -14090,7 +14092,7 @@ func (c *OrganizationsLocationsDiscoveryConfigsDeleteCall) Do(opts ...googleapi. } return ret, nil // { - // "description": "Deletes a Discovery configuration.", + // "description": "Deletes a discovery configuration.", // "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", // "httpMethod": "DELETE", // "id": "dlp.organizations.locations.discoveryConfigs.delete", @@ -14128,7 +14130,7 @@ type OrganizationsLocationsDiscoveryConfigsGetCall struct { header_ http.Header } -// Get: Gets a Discovery configuration. +// Get: Gets a discovery configuration. // // - name: Resource name of the project and the configuration, for // example `projects/dlp-test-project/discoveryConfigs/53234423`. @@ -14238,7 +14240,7 @@ func (c *OrganizationsLocationsDiscoveryConfigsGetCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Gets a Discovery configuration.", + // "description": "Gets a discovery configuration.", // "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", // "httpMethod": "GET", // "id": "dlp.organizations.locations.discoveryConfigs.get", @@ -14276,7 +14278,7 @@ type OrganizationsLocationsDiscoveryConfigsListCall struct { header_ http.Header } -// List: Lists Discovery configurations. +// List: Lists discovery configurations. // // - parent: Parent resource name. The format of this value is as // follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The @@ -14292,9 +14294,9 @@ func (r *OrganizationsLocationsDiscoveryConfigsService) List(parentid string) *O // OrderBy sets the optional parameter "orderBy": Comma separated list // of config fields to order by, followed by `asc` or `desc` postfix. -// This list is case-insensitive, default sorting order is ascending, -// redundant space characters are insignificant. Example: `name -// asc,update_time, create_time desc` Supported fields are: - +// This list is case insensitive. The default sorting order is +// ascending. Redundant space characters are insignificant. Example: +// `name asc,update_time, create_time desc` Supported fields are: - // `last_run_time`: corresponds to the last time the DiscoveryConfig // ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: // corresponds to DiscoveryConfig's status. @@ -14303,16 +14305,17 @@ func (c *OrganizationsLocationsDiscoveryConfigsListCall) OrderBy(orderBy string) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by a server. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by a server. func (c *OrganizationsLocationsDiscoveryConfigsListCall) PageSize(pageSize int64) *OrganizationsLocationsDiscoveryConfigsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to ListDiscoveryConfigs. -// `order_by` field must not change for subsequent calls. +// continue retrieval. Comes from the previous call to +// ListDiscoveryConfigs. `order_by` field must not change for subsequent +// calls. func (c *OrganizationsLocationsDiscoveryConfigsListCall) PageToken(pageToken string) *OrganizationsLocationsDiscoveryConfigsListCall { c.urlParams_.Set("pageToken", pageToken) return c @@ -14419,7 +14422,7 @@ func (c *OrganizationsLocationsDiscoveryConfigsListCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Lists Discovery configurations.", + // "description": "Lists discovery configurations.", // "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/discoveryConfigs", // "httpMethod": "GET", // "id": "dlp.organizations.locations.discoveryConfigs.list", @@ -14428,18 +14431,18 @@ func (c *OrganizationsLocationsDiscoveryConfigsListCall) Do(opts ...googleapi.Ca // ], // "parameters": { // "orderBy": { - // "description": "Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", + // "description": "Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by a server.", + // "description": "Size of the page. This value can be limited by a server.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to ListDiscoveryConfigs. `order_by` field must not change for subsequent calls.", + // "description": "Page token to continue retrieval. Comes from the previous call to ListDiscoveryConfigs. `order_by` field must not change for subsequent calls.", // "location": "query", // "type": "string" // }, @@ -14494,7 +14497,7 @@ type OrganizationsLocationsDiscoveryConfigsPatchCall struct { header_ http.Header } -// Patch: Updates a Discovery configuration. +// Patch: Updates a discovery configuration. // // - name: Resource name of the project and the configuration, for // example `projects/dlp-test-project/discoveryConfigs/53234423`. @@ -14597,7 +14600,7 @@ func (c *OrganizationsLocationsDiscoveryConfigsPatchCall) Do(opts ...googleapi.C } return ret, nil // { - // "description": "Updates a Discovery configuration.", + // "description": "Updates a discovery configuration.", // "flatPath": "v2/organizations/{organizationsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", // "httpMethod": "PATCH", // "id": "dlp.organizations.locations.discoveryConfigs.patch", @@ -14692,12 +14695,12 @@ func (c *OrganizationsLocationsDlpJobsListCall) LocationId(locationId string) *O // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc, end_time asc, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the job was created. - `end_time`: corresponds to the -// time the job ended. - `name`: corresponds to the job's name. - -// `state`: corresponds to `state` +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name asc, +// end_time asc, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the job was created. - +// `end_time`: corresponds to the time the job ended. - `name`: +// corresponds to the job's name. - `state`: corresponds to `state` func (c *OrganizationsLocationsDlpJobsListCall) OrderBy(orderBy string) *OrganizationsLocationsDlpJobsListCall { c.urlParams_.Set("orderBy", orderBy) return c @@ -14849,7 +14852,7 @@ func (c *OrganizationsLocationsDlpJobsListCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", // "location": "query", // "type": "string" // }, @@ -15407,28 +15410,28 @@ func (c *OrganizationsLocationsInspectTemplatesListCall) LocationId(locationId s // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc,update_time, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the template was created. - `update_time`: corresponds to -// the time the template was last updated. - `name`: corresponds to the -// template's name. - `display_name`: corresponds to the template's -// display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name +// asc,update_time, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the template was created. - +// `update_time`: corresponds to the time the template was last updated. +// - `name`: corresponds to the template's name. - `display_name`: +// corresponds to the template's display name. func (c *OrganizationsLocationsInspectTemplatesListCall) OrderBy(orderBy string) *OrganizationsLocationsInspectTemplatesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *OrganizationsLocationsInspectTemplatesListCall) PageSize(pageSize int64) *OrganizationsLocationsInspectTemplatesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListInspectTemplates`. func (c *OrganizationsLocationsInspectTemplatesListCall) PageToken(pageToken string) *OrganizationsLocationsInspectTemplatesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -15550,18 +15553,18 @@ func (c *OrganizationsLocationsInspectTemplatesListCall) Do(opts ...googleapi.Ca // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListInspectTemplates`.", // "location": "query", // "type": "string" // }, @@ -16252,8 +16255,8 @@ func (c *OrganizationsLocationsJobTriggersListCall) LocationId(locationId string // OrderBy sets the optional parameter "orderBy": Comma separated list // of triggeredJob fields to order by, followed by `asc` or `desc` -// postfix. This list is case-insensitive, default sorting order is -// ascending, redundant space characters are insignificant. Example: +// postfix. This list is case insensitive. The default sorting order is +// ascending. Redundant space characters are insignificant. Example: // `name asc,update_time, create_time desc` Supported fields are: - // `create_time`: corresponds to the time the JobTrigger was created. - // `update_time`: corresponds to the time the JobTrigger was last @@ -16266,15 +16269,15 @@ func (c *OrganizationsLocationsJobTriggersListCall) OrderBy(orderBy string) *Org return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by a server. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by a server. func (c *OrganizationsLocationsJobTriggersListCall) PageSize(pageSize int64) *OrganizationsLocationsJobTriggersListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to ListJobTriggers. +// continue retrieval. Comes from the previous call to ListJobTriggers. // `order_by` field must not change for subsequent calls. func (c *OrganizationsLocationsJobTriggersListCall) PageToken(pageToken string) *OrganizationsLocationsJobTriggersListCall { c.urlParams_.Set("pageToken", pageToken) @@ -16414,18 +16417,18 @@ func (c *OrganizationsLocationsJobTriggersListCall) Do(opts ...googleapi.CallOpt // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", + // "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by a server.", + // "description": "Size of the page. This value can be limited by a server.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", + // "description": "Page token to continue retrieval. Comes from the previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", // "location": "query", // "type": "string" // }, @@ -17116,28 +17119,28 @@ func (c *OrganizationsLocationsStoredInfoTypesListCall) LocationId(locationId st // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc, display_name, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the most recent version of the resource was created. - -// `state`: corresponds to the state of the resource. - `name`: -// corresponds to resource name. - `display_name`: corresponds to info -// type's display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name asc, +// display_name, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the most recent version of the +// resource was created. - `state`: corresponds to the state of the +// resource. - `name`: corresponds to resource name. - `display_name`: +// corresponds to info type's display name. func (c *OrganizationsLocationsStoredInfoTypesListCall) OrderBy(orderBy string) *OrganizationsLocationsStoredInfoTypesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *OrganizationsLocationsStoredInfoTypesListCall) PageSize(pageSize int64) *OrganizationsLocationsStoredInfoTypesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListStoredInfoTypes`. func (c *OrganizationsLocationsStoredInfoTypesListCall) PageToken(pageToken string) *OrganizationsLocationsStoredInfoTypesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -17259,18 +17262,18 @@ func (c *OrganizationsLocationsStoredInfoTypesListCall) Do(opts ...googleapi.Cal // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListStoredInfoTypes`.", // "location": "query", // "type": "string" // }, @@ -17950,28 +17953,28 @@ func (c *OrganizationsStoredInfoTypesListCall) LocationId(locationId string) *Or // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc, display_name, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the most recent version of the resource was created. - -// `state`: corresponds to the state of the resource. - `name`: -// corresponds to resource name. - `display_name`: corresponds to info -// type's display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name asc, +// display_name, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the most recent version of the +// resource was created. - `state`: corresponds to the state of the +// resource. - `name`: corresponds to resource name. - `display_name`: +// corresponds to info type's display name. func (c *OrganizationsStoredInfoTypesListCall) OrderBy(orderBy string) *OrganizationsStoredInfoTypesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *OrganizationsStoredInfoTypesListCall) PageSize(pageSize int64) *OrganizationsStoredInfoTypesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListStoredInfoTypes`. func (c *OrganizationsStoredInfoTypesListCall) PageToken(pageToken string) *OrganizationsStoredInfoTypesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -18093,18 +18096,18 @@ func (c *OrganizationsStoredInfoTypesListCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListStoredInfoTypes`.", // "location": "query", // "type": "string" // }, @@ -19263,28 +19266,28 @@ func (c *ProjectsDeidentifyTemplatesListCall) LocationId(locationId string) *Pro // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc,update_time, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the template was created. - `update_time`: corresponds to -// the time the template was last updated. - `name`: corresponds to the -// template's name. - `display_name`: corresponds to the template's -// display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name +// asc,update_time, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the template was created. - +// `update_time`: corresponds to the time the template was last updated. +// - `name`: corresponds to the template's name. - `display_name`: +// corresponds to the template's display name. func (c *ProjectsDeidentifyTemplatesListCall) OrderBy(orderBy string) *ProjectsDeidentifyTemplatesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *ProjectsDeidentifyTemplatesListCall) PageSize(pageSize int64) *ProjectsDeidentifyTemplatesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListDeidentifyTemplates`. func (c *ProjectsDeidentifyTemplatesListCall) PageToken(pageToken string) *ProjectsDeidentifyTemplatesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -19406,18 +19409,18 @@ func (c *ProjectsDeidentifyTemplatesListCall) Do(opts ...googleapi.CallOption) ( // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListDeidentifyTemplates`.", // "location": "query", // "type": "string" // }, @@ -20264,12 +20267,12 @@ func (c *ProjectsDlpJobsListCall) LocationId(locationId string) *ProjectsDlpJobs // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc, end_time asc, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the job was created. - `end_time`: corresponds to the -// time the job ended. - `name`: corresponds to the job's name. - -// `state`: corresponds to `state` +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name asc, +// end_time asc, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the job was created. - +// `end_time`: corresponds to the time the job ended. - `name`: +// corresponds to the job's name. - `state`: corresponds to `state` func (c *ProjectsDlpJobsListCall) OrderBy(orderBy string) *ProjectsDlpJobsListCall { c.urlParams_.Set("orderBy", orderBy) return c @@ -20421,7 +20424,7 @@ func (c *ProjectsDlpJobsListCall) Do(opts ...googleapi.CallOption) (*GooglePriva // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", // "location": "query", // "type": "string" // }, @@ -21137,28 +21140,28 @@ func (c *ProjectsInspectTemplatesListCall) LocationId(locationId string) *Projec // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc,update_time, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the template was created. - `update_time`: corresponds to -// the time the template was last updated. - `name`: corresponds to the -// template's name. - `display_name`: corresponds to the template's -// display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name +// asc,update_time, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the template was created. - +// `update_time`: corresponds to the time the template was last updated. +// - `name`: corresponds to the template's name. - `display_name`: +// corresponds to the template's display name. func (c *ProjectsInspectTemplatesListCall) OrderBy(orderBy string) *ProjectsInspectTemplatesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *ProjectsInspectTemplatesListCall) PageSize(pageSize int64) *ProjectsInspectTemplatesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListInspectTemplates`. func (c *ProjectsInspectTemplatesListCall) PageToken(pageToken string) *ProjectsInspectTemplatesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -21280,18 +21283,18 @@ func (c *ProjectsInspectTemplatesListCall) Do(opts ...googleapi.CallOption) (*Go // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListInspectTemplates`.", // "location": "query", // "type": "string" // }, @@ -22126,8 +22129,8 @@ func (c *ProjectsJobTriggersListCall) LocationId(locationId string) *ProjectsJob // OrderBy sets the optional parameter "orderBy": Comma separated list // of triggeredJob fields to order by, followed by `asc` or `desc` -// postfix. This list is case-insensitive, default sorting order is -// ascending, redundant space characters are insignificant. Example: +// postfix. This list is case insensitive. The default sorting order is +// ascending. Redundant space characters are insignificant. Example: // `name asc,update_time, create_time desc` Supported fields are: - // `create_time`: corresponds to the time the JobTrigger was created. - // `update_time`: corresponds to the time the JobTrigger was last @@ -22140,15 +22143,15 @@ func (c *ProjectsJobTriggersListCall) OrderBy(orderBy string) *ProjectsJobTrigge return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by a server. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by a server. func (c *ProjectsJobTriggersListCall) PageSize(pageSize int64) *ProjectsJobTriggersListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to ListJobTriggers. +// continue retrieval. Comes from the previous call to ListJobTriggers. // `order_by` field must not change for subsequent calls. func (c *ProjectsJobTriggersListCall) PageToken(pageToken string) *ProjectsJobTriggersListCall { c.urlParams_.Set("pageToken", pageToken) @@ -22288,18 +22291,18 @@ func (c *ProjectsJobTriggersListCall) Do(opts ...googleapi.CallOption) (*GoogleP // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", + // "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by a server.", + // "description": "Size of the page. This value can be limited by a server.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", + // "description": "Page token to continue retrieval. Comes from the previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", // "location": "query", // "type": "string" // }, @@ -23469,28 +23472,28 @@ func (c *ProjectsLocationsDeidentifyTemplatesListCall) LocationId(locationId str // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc,update_time, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the template was created. - `update_time`: corresponds to -// the time the template was last updated. - `name`: corresponds to the -// template's name. - `display_name`: corresponds to the template's -// display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name +// asc,update_time, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the template was created. - +// `update_time`: corresponds to the time the template was last updated. +// - `name`: corresponds to the template's name. - `display_name`: +// corresponds to the template's display name. func (c *ProjectsLocationsDeidentifyTemplatesListCall) OrderBy(orderBy string) *ProjectsLocationsDeidentifyTemplatesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *ProjectsLocationsDeidentifyTemplatesListCall) PageSize(pageSize int64) *ProjectsLocationsDeidentifyTemplatesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListDeidentifyTemplates`. func (c *ProjectsLocationsDeidentifyTemplatesListCall) PageToken(pageToken string) *ProjectsLocationsDeidentifyTemplatesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -23612,18 +23615,18 @@ func (c *ProjectsLocationsDeidentifyTemplatesListCall) Do(opts ...googleapi.Call // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListDeidentifyTemplates`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListDeidentifyTemplates`.", // "location": "query", // "type": "string" // }, @@ -23826,7 +23829,7 @@ type ProjectsLocationsDiscoveryConfigsCreateCall struct { header_ http.Header } -// Create: Creates a config for Discovery to scan and profile storage. +// Create: Creates a config for discovery to scan and profile storage. // // - parent: Parent resource name. The format of this value is as // follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The @@ -23933,7 +23936,7 @@ func (c *ProjectsLocationsDiscoveryConfigsCreateCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Creates a config for Discovery to scan and profile storage.", + // "description": "Creates a config for discovery to scan and profile storage.", // "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/discoveryConfigs", // "httpMethod": "POST", // "id": "dlp.projects.locations.discoveryConfigs.create", @@ -23973,7 +23976,7 @@ type ProjectsLocationsDiscoveryConfigsDeleteCall struct { header_ http.Header } -// Delete: Deletes a Discovery configuration. +// Delete: Deletes a discovery configuration. // // - name: Resource name of the project and the config, for example // `projects/dlp-test-project/discoveryConfigs/53234423`. @@ -24069,7 +24072,7 @@ func (c *ProjectsLocationsDiscoveryConfigsDeleteCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Deletes a Discovery configuration.", + // "description": "Deletes a discovery configuration.", // "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", // "httpMethod": "DELETE", // "id": "dlp.projects.locations.discoveryConfigs.delete", @@ -24107,7 +24110,7 @@ type ProjectsLocationsDiscoveryConfigsGetCall struct { header_ http.Header } -// Get: Gets a Discovery configuration. +// Get: Gets a discovery configuration. // // - name: Resource name of the project and the configuration, for // example `projects/dlp-test-project/discoveryConfigs/53234423`. @@ -24217,7 +24220,7 @@ func (c *ProjectsLocationsDiscoveryConfigsGetCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Gets a Discovery configuration.", + // "description": "Gets a discovery configuration.", // "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", // "httpMethod": "GET", // "id": "dlp.projects.locations.discoveryConfigs.get", @@ -24255,7 +24258,7 @@ type ProjectsLocationsDiscoveryConfigsListCall struct { header_ http.Header } -// List: Lists Discovery configurations. +// List: Lists discovery configurations. // // - parent: Parent resource name. The format of this value is as // follows: `projects/`PROJECT_ID`/locations/`LOCATION_ID The @@ -24271,9 +24274,9 @@ func (r *ProjectsLocationsDiscoveryConfigsService) List(parentid string) *Projec // OrderBy sets the optional parameter "orderBy": Comma separated list // of config fields to order by, followed by `asc` or `desc` postfix. -// This list is case-insensitive, default sorting order is ascending, -// redundant space characters are insignificant. Example: `name -// asc,update_time, create_time desc` Supported fields are: - +// This list is case insensitive. The default sorting order is +// ascending. Redundant space characters are insignificant. Example: +// `name asc,update_time, create_time desc` Supported fields are: - // `last_run_time`: corresponds to the last time the DiscoveryConfig // ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: // corresponds to DiscoveryConfig's status. @@ -24282,16 +24285,17 @@ func (c *ProjectsLocationsDiscoveryConfigsListCall) OrderBy(orderBy string) *Pro return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by a server. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by a server. func (c *ProjectsLocationsDiscoveryConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsDiscoveryConfigsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to ListDiscoveryConfigs. -// `order_by` field must not change for subsequent calls. +// continue retrieval. Comes from the previous call to +// ListDiscoveryConfigs. `order_by` field must not change for subsequent +// calls. func (c *ProjectsLocationsDiscoveryConfigsListCall) PageToken(pageToken string) *ProjectsLocationsDiscoveryConfigsListCall { c.urlParams_.Set("pageToken", pageToken) return c @@ -24398,7 +24402,7 @@ func (c *ProjectsLocationsDiscoveryConfigsListCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Lists Discovery configurations.", + // "description": "Lists discovery configurations.", // "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/discoveryConfigs", // "httpMethod": "GET", // "id": "dlp.projects.locations.discoveryConfigs.list", @@ -24407,18 +24411,18 @@ func (c *ProjectsLocationsDiscoveryConfigsListCall) Do(opts ...googleapi.CallOpt // ], // "parameters": { // "orderBy": { - // "description": "Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", + // "description": "Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by a server.", + // "description": "Size of the page. This value can be limited by a server.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to ListDiscoveryConfigs. `order_by` field must not change for subsequent calls.", + // "description": "Page token to continue retrieval. Comes from the previous call to ListDiscoveryConfigs. `order_by` field must not change for subsequent calls.", // "location": "query", // "type": "string" // }, @@ -24473,7 +24477,7 @@ type ProjectsLocationsDiscoveryConfigsPatchCall struct { header_ http.Header } -// Patch: Updates a Discovery configuration. +// Patch: Updates a discovery configuration. // // - name: Resource name of the project and the configuration, for // example `projects/dlp-test-project/discoveryConfigs/53234423`. @@ -24576,7 +24580,7 @@ func (c *ProjectsLocationsDiscoveryConfigsPatchCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Updates a Discovery configuration.", + // "description": "Updates a discovery configuration.", // "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/discoveryConfigs/{discoveryConfigsId}", // "httpMethod": "PATCH", // "id": "dlp.projects.locations.discoveryConfigs.patch", @@ -25550,12 +25554,12 @@ func (c *ProjectsLocationsDlpJobsListCall) LocationId(locationId string) *Projec // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc, end_time asc, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the job was created. - `end_time`: corresponds to the -// time the job ended. - `name`: corresponds to the job's name. - -// `state`: corresponds to `state` +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name asc, +// end_time asc, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the job was created. - +// `end_time`: corresponds to the time the job ended. - `name`: +// corresponds to the job's name. - `state`: corresponds to `state` func (c *ProjectsLocationsDlpJobsListCall) OrderBy(orderBy string) *ProjectsLocationsDlpJobsListCall { c.urlParams_.Set("orderBy", orderBy) return c @@ -25707,7 +25711,7 @@ func (c *ProjectsLocationsDlpJobsListCall) Do(opts ...googleapi.CallOption) (*Go // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", // "location": "query", // "type": "string" // }, @@ -26423,28 +26427,28 @@ func (c *ProjectsLocationsInspectTemplatesListCall) LocationId(locationId string // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc,update_time, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the template was created. - `update_time`: corresponds to -// the time the template was last updated. - `name`: corresponds to the -// template's name. - `display_name`: corresponds to the template's -// display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name +// asc,update_time, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the template was created. - +// `update_time`: corresponds to the time the template was last updated. +// - `name`: corresponds to the template's name. - `display_name`: +// corresponds to the template's display name. func (c *ProjectsLocationsInspectTemplatesListCall) OrderBy(orderBy string) *ProjectsLocationsInspectTemplatesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *ProjectsLocationsInspectTemplatesListCall) PageSize(pageSize int64) *ProjectsLocationsInspectTemplatesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListInspectTemplates`. func (c *ProjectsLocationsInspectTemplatesListCall) PageToken(pageToken string) *ProjectsLocationsInspectTemplatesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -26566,18 +26570,18 @@ func (c *ProjectsLocationsInspectTemplatesListCall) Do(opts ...googleapi.CallOpt // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListInspectTemplates`.", // "location": "query", // "type": "string" // }, @@ -27558,8 +27562,8 @@ func (c *ProjectsLocationsJobTriggersListCall) LocationId(locationId string) *Pr // OrderBy sets the optional parameter "orderBy": Comma separated list // of triggeredJob fields to order by, followed by `asc` or `desc` -// postfix. This list is case-insensitive, default sorting order is -// ascending, redundant space characters are insignificant. Example: +// postfix. This list is case insensitive. The default sorting order is +// ascending. Redundant space characters are insignificant. Example: // `name asc,update_time, create_time desc` Supported fields are: - // `create_time`: corresponds to the time the JobTrigger was created. - // `update_time`: corresponds to the time the JobTrigger was last @@ -27572,15 +27576,15 @@ func (c *ProjectsLocationsJobTriggersListCall) OrderBy(orderBy string) *Projects return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by a server. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by a server. func (c *ProjectsLocationsJobTriggersListCall) PageSize(pageSize int64) *ProjectsLocationsJobTriggersListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to ListJobTriggers. +// continue retrieval. Comes from the previous call to ListJobTriggers. // `order_by` field must not change for subsequent calls. func (c *ProjectsLocationsJobTriggersListCall) PageToken(pageToken string) *ProjectsLocationsJobTriggersListCall { c.urlParams_.Set("pageToken", pageToken) @@ -27720,18 +27724,18 @@ func (c *ProjectsLocationsJobTriggersListCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", + // "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by a server.", + // "description": "Size of the page. This value can be limited by a server.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", + // "description": "Page token to continue retrieval. Comes from the previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.", // "location": "query", // "type": "string" // }, @@ -28422,28 +28426,28 @@ func (c *ProjectsLocationsStoredInfoTypesListCall) LocationId(locationId string) // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc, display_name, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the most recent version of the resource was created. - -// `state`: corresponds to the state of the resource. - `name`: -// corresponds to resource name. - `display_name`: corresponds to info -// type's display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name asc, +// display_name, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the most recent version of the +// resource was created. - `state`: corresponds to the state of the +// resource. - `name`: corresponds to resource name. - `display_name`: +// corresponds to info type's display name. func (c *ProjectsLocationsStoredInfoTypesListCall) OrderBy(orderBy string) *ProjectsLocationsStoredInfoTypesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *ProjectsLocationsStoredInfoTypesListCall) PageSize(pageSize int64) *ProjectsLocationsStoredInfoTypesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListStoredInfoTypes`. func (c *ProjectsLocationsStoredInfoTypesListCall) PageToken(pageToken string) *ProjectsLocationsStoredInfoTypesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -28565,18 +28569,18 @@ func (c *ProjectsLocationsStoredInfoTypesListCall) Do(opts ...googleapi.CallOpti // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListStoredInfoTypes`.", // "location": "query", // "type": "string" // }, @@ -29256,28 +29260,28 @@ func (c *ProjectsStoredInfoTypesListCall) LocationId(locationId string) *Project // OrderBy sets the optional parameter "orderBy": Comma separated list // of fields to order by, followed by `asc` or `desc` postfix. This list -// is case-insensitive, default sorting order is ascending, redundant -// space characters are insignificant. Example: `name asc, display_name, -// create_time desc` Supported fields are: - `create_time`: corresponds -// to the time the most recent version of the resource was created. - -// `state`: corresponds to the state of the resource. - `name`: -// corresponds to resource name. - `display_name`: corresponds to info -// type's display name. +// is case insensitive. The default sorting order is ascending. +// Redundant space characters are insignificant. Example: `name asc, +// display_name, create_time desc` Supported fields are: - +// `create_time`: corresponds to the time the most recent version of the +// resource was created. - `state`: corresponds to the state of the +// resource. - `name`: corresponds to resource name. - `display_name`: +// corresponds to info type's display name. func (c *ProjectsStoredInfoTypesListCall) OrderBy(orderBy string) *ProjectsStoredInfoTypesListCall { c.urlParams_.Set("orderBy", orderBy) return c } -// PageSize sets the optional parameter "pageSize": Size of the page, -// can be limited by the server. If zero server returns a page of max -// size 100. +// PageSize sets the optional parameter "pageSize": Size of the page. +// This value can be limited by the server. If zero server returns a +// page of max size 100. func (c *ProjectsStoredInfoTypesListCall) PageSize(pageSize int64) *ProjectsStoredInfoTypesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": Page token to -// continue retrieval. Comes from previous call to +// continue retrieval. Comes from the previous call to // `ListStoredInfoTypes`. func (c *ProjectsStoredInfoTypesListCall) PageToken(pageToken string) *ProjectsStoredInfoTypesListCall { c.urlParams_.Set("pageToken", pageToken) @@ -29399,18 +29403,18 @@ func (c *ProjectsStoredInfoTypesListCall) Do(opts ...googleapi.CallOption) (*Goo // "type": "string" // }, // "orderBy": { - // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + // "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", // "location": "query", // "type": "string" // }, // "pageSize": { - // "description": "Size of the page, can be limited by the server. If zero server returns a page of max size 100.", + // "description": "Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.", + // "description": "Page token to continue retrieval. Comes from the previous call to `ListStoredInfoTypes`.", // "location": "query", // "type": "string" // }, diff --git a/notebooks/v1/notebooks-api.json b/notebooks/v1/notebooks-api.json index 144b22a6cc1..1e46816451f 100644 --- a/notebooks/v1/notebooks-api.json +++ b/notebooks/v1/notebooks-api.json @@ -2008,7 +2008,7 @@ } } }, - "revision": "20231003", + "revision": "20231019", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2707,7 +2707,7 @@ "additionalProperties": { "type": "string" }, - "description": "Custom metadata to apply to this instance.", + "description": "Custom metadata to apply to this instance. For example, to specify a Cloud Storage bucket for automatic backup, you can use the `gcs-data-bucket` metadata tag. Format: `\"--metadata=gcs-data-bucket=``BUCKET''\"`.", "type": "object" }, "migrated": { diff --git a/notebooks/v1/notebooks-gen.go b/notebooks/v1/notebooks-gen.go index 77b428dfd55..0211b6b432b 100644 --- a/notebooks/v1/notebooks-gen.go +++ b/notebooks/v1/notebooks-gen.go @@ -1279,7 +1279,10 @@ type Instance struct { // instance. MachineType string `json:"machineType,omitempty"` - // Metadata: Custom metadata to apply to this instance. + // Metadata: Custom metadata to apply to this instance. For example, to + // specify a Cloud Storage bucket for automatic backup, you can use the + // `gcs-data-bucket` metadata tag. Format: + // "--metadata=gcs-data-bucket=``BUCKET''". Metadata map[string]string `json:"metadata,omitempty"` // Migrated: Output only. Bool indicating whether this notebook has been diff --git a/notebooks/v2/notebooks-api.json b/notebooks/v2/notebooks-api.json index 27a9de3779d..aa7eb981587 100644 --- a/notebooks/v2/notebooks-api.json +++ b/notebooks/v2/notebooks-api.json @@ -325,6 +325,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getConfig": { + "description": "Gets general backend configurations that might also affect the frontend. Location is required by CCFE. Although we could bypass it to send location- less request directly to the backend job, we would need CPE (go/cloud-cpe). Having the location might also be useful depending on the query.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances:getConfig", + "httpMethod": "GET", + "id": "notebooks.projects.locations.instances.getConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Format: `projects/{project_id}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}/instances:getConfig", + "response": { + "$ref": "Config" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "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": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:getIamPolicy", @@ -823,7 +848,7 @@ } } }, - "revision": "20230906", + "revision": "20231019", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -967,6 +992,31 @@ }, "type": "object" }, + "Config": { + "description": "Response for getting WbI configurations in a location", + "id": "Config", + "properties": { + "availableImages": { + "description": "Output only. The list of available images to create a WbI.", + "items": { + "$ref": "ImageRelease" + }, + "readOnly": true, + "type": "array" + }, + "defaultValues": { + "$ref": "DefaultValues", + "description": "Output only. The default values for configuration.", + "readOnly": true + }, + "supportedValues": { + "$ref": "SupportedValues", + "description": "Output only. The supported values for configuration.", + "readOnly": true + } + }, + "type": "object" + }, "ContainerImage": { "description": "Definition of a container image for starting a notebook instance with the environment installed in a container.", "id": "ContainerImage", @@ -1030,6 +1080,18 @@ }, "type": "object" }, + "DefaultValues": { + "description": "DefaultValues represents the default configuration values.", + "id": "DefaultValues", + "properties": { + "machineType": { + "description": "Output only. The default machine type used by the backend if not provided by the user.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "DiagnoseInstanceRequest": { "description": "Request for creating a notebook instance diagnostic file.", "id": "DiagnoseInstanceRequest", @@ -1237,6 +1299,23 @@ }, "type": "object" }, + "ImageRelease": { + "description": "ConfigImage represents an image release available to create a WbI", + "id": "ImageRelease", + "properties": { + "imageName": { + "description": "Output only. The name of the image of the form workbench-instances-vYYYYmmdd--", + "readOnly": true, + "type": "string" + }, + "releaseName": { + "description": "Output only. The release of the image of the form m123", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Instance": { "description": "The definition of a notebook instance.", "id": "Instance", @@ -1713,6 +1792,29 @@ "properties": {}, "type": "object" }, + "SupportedValues": { + "description": "SupportedValues represents the values supported by the configuration.", + "id": "SupportedValues", + "properties": { + "acceleratorTypes": { + "description": "Output only. The accelerator types supported by WbI.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "machineTypes": { + "description": "Output only. The machine types supported by WbI.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, "TestIamPermissionsRequest": { "description": "Request message for `TestIamPermissions` method.", "id": "TestIamPermissionsRequest", diff --git a/notebooks/v2/notebooks-gen.go b/notebooks/v2/notebooks-gen.go index 38125b186c8..c9a82fbb6e9 100644 --- a/notebooks/v2/notebooks-gen.go +++ b/notebooks/v2/notebooks-gen.go @@ -435,6 +435,46 @@ func (s *CheckInstanceUpgradabilityResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Config: Response for getting WbI configurations in a location +type Config struct { + // AvailableImages: Output only. The list of available images to create + // a WbI. + AvailableImages []*ImageRelease `json:"availableImages,omitempty"` + + // DefaultValues: Output only. The default values for configuration. + DefaultValues *DefaultValues `json:"defaultValues,omitempty"` + + // SupportedValues: Output only. The supported values for configuration. + SupportedValues *SupportedValues `json:"supportedValues,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "AvailableImages") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AvailableImages") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *Config) MarshalJSON() ([]byte, error) { + type NoMethod Config + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ContainerImage: Definition of a container image for starting a // notebook instance with the environment installed in a container. type ContainerImage struct { @@ -527,6 +567,36 @@ func (s *DataDisk) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DefaultValues: DefaultValues represents the default configuration +// values. +type DefaultValues struct { + // MachineType: Output only. The default machine type used by the + // backend if not provided by the user. + MachineType string `json:"machineType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MachineType") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "MachineType") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *DefaultValues) MarshalJSON() ([]byte, error) { + type NoMethod DefaultValues + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // DiagnoseInstanceRequest: Request for creating a notebook instance // diagnostic file. type DiagnoseInstanceRequest struct { @@ -864,6 +934,39 @@ func (s *GceSetup) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ImageRelease: ConfigImage represents an image release available to +// create a WbI +type ImageRelease struct { + // ImageName: Output only. The name of the image of the form + // workbench-instances-vYYYYmmdd-- + ImageName string `json:"imageName,omitempty"` + + // ReleaseName: Output only. The release of the image of the form m123 + ReleaseName string `json:"releaseName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ImageName") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ImageName") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *ImageRelease) MarshalJSON() ([]byte, error) { + type NoMethod ImageRelease + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Instance: The definition of a notebook instance. type Instance struct { // CreateTime: Output only. Instance creation time. @@ -1637,6 +1740,40 @@ func (s *Status) MarshalJSON() ([]byte, error) { type StopInstanceRequest struct { } +// SupportedValues: SupportedValues represents the values supported by +// the configuration. +type SupportedValues struct { + // AcceleratorTypes: Output only. The accelerator types supported by + // WbI. + AcceleratorTypes []string `json:"acceleratorTypes,omitempty"` + + // MachineTypes: Output only. The machine types supported by WbI. + MachineTypes []string `json:"machineTypes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AcceleratorTypes") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AcceleratorTypes") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *SupportedValues) MarshalJSON() ([]byte, error) { + type NoMethod SupportedValues + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // TestIamPermissionsRequest: Request message for `TestIamPermissions` // method. type TestIamPermissionsRequest struct { @@ -2947,6 +3084,156 @@ func (c *ProjectsLocationsInstancesGetCall) Do(opts ...googleapi.CallOption) (*I } +// method id "notebooks.projects.locations.instances.getConfig": + +type ProjectsLocationsInstancesGetConfigCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetConfig: Gets general backend configurations that might also affect +// the frontend. Location is required by CCFE. Although we could bypass +// it to send location- less request directly to the backend job, we +// would need CPE (go/cloud-cpe). Having the location might also be +// useful depending on the query. +// +// - name: Format: `projects/{project_id}/locations/{location}`. +func (r *ProjectsLocationsInstancesService) GetConfig(name string) *ProjectsLocationsInstancesGetConfigCall { + c := &ProjectsLocationsInstancesGetConfigCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsInstancesGetConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesGetConfigCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsInstancesGetConfigCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesGetConfigCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsInstancesGetConfigCall) Context(ctx context.Context) *ProjectsLocationsInstancesGetConfigCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsInstancesGetConfigCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsInstancesGetConfigCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v2/{+name}/instances:getConfig") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "notebooks.projects.locations.instances.getConfig" call. +// Exactly one of *Config or error will be non-nil. Any non-2xx status +// code is an error. Response headers are in either +// *Config.ServerResponse.Header or (if a response was returned at all) +// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified +// was returned. +func (c *ProjectsLocationsInstancesGetConfigCall) Do(opts ...googleapi.CallOption) (*Config, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Config{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets general backend configurations that might also affect the frontend. Location is required by CCFE. Although we could bypass it to send location- less request directly to the backend job, we would need CPE (go/cloud-cpe). Having the location might also be useful depending on the query.", + // "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances:getConfig", + // "httpMethod": "GET", + // "id": "notebooks.projects.locations.instances.getConfig", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Format: `projects/{project_id}/locations/{location}`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v2/{+name}/instances:getConfig", + // "response": { + // "$ref": "Config" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "notebooks.projects.locations.instances.getIamPolicy": type ProjectsLocationsInstancesGetIamPolicyCall struct { diff --git a/vmmigration/v1/vmmigration-api.json b/vmmigration/v1/vmmigration-api.json index fc788973c51..ffd467d0e89 100644 --- a/vmmigration/v1/vmmigration-api.json +++ b/vmmigration/v1/vmmigration-api.json @@ -1972,7 +1972,7 @@ } } }, - "revision": "20231012", + "revision": "20231019", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -2618,6 +2618,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the boot disk." + }, "image": { "$ref": "DiskImageDefaults", "description": "The image to use when creating the disk." @@ -2872,6 +2876,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. Immutable. The encryption to apply to the VM disks." + }, "hostname": { "description": "The hostname to assign to the VM.", "type": "string" @@ -2998,6 +3006,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the VM disks." + }, "hostname": { "description": "The hostname to assign to the VM.", "type": "string" @@ -3444,6 +3456,10 @@ "$ref": "ComputeScheduling", "description": "Optional. Compute instance scheduling information (if empty default is used)." }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the VM." + }, "hostname": { "description": "Optional. The hostname to assign to the VM.", "type": "string" @@ -3517,6 +3533,17 @@ "properties": {}, "type": "object" }, + "Encryption": { + "description": "Encryption message describes the details of the applied encryption.", + "id": "Encryption", + "properties": { + "kmsKey": { + "description": "Required. The name of the encryption key that is stored in Google Cloud KMS.", + "type": "string" + } + }, + "type": "object" + }, "FetchInventoryResponse": { "description": "Response message for fetchInventory.", "id": "FetchInventoryResponse", @@ -4139,8 +4166,7 @@ "CLONE_ERROR", "CUTOVER_ERROR", "UTILIZATION_REPORT_ERROR", - "APPLIANCE_UPGRADE_ERROR", - "IMAGE_IMPORT_ERROR" + "APPLIANCE_UPGRADE_ERROR" ], "enumDescriptions": [ "Default value. This value is not used.", @@ -4152,8 +4178,7 @@ "Migrate to Virtual Machines encountered an error in clone operation.", "Migrate to Virtual Machines encountered an error in cutover operation.", "Migrate to Virtual Machines encountered an error during utilization report creation.", - "Migrate to Virtual Machines encountered an error during appliance upgrade.", - "Migrate to Virtual Machines encountered an error in image import operation." + "Migrate to Virtual Machines encountered an error during appliance upgrade." ], "readOnly": true, "type": "string" @@ -4417,6 +4442,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the disk." + }, "sourceDiskNumber": { "description": "Required. The ordinal number of the source VM disk.", "format": "int32", @@ -4647,6 +4676,10 @@ "description": "User-provided description of the source.", "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. Immutable. The encryption details of the source data stored by the service." + }, "labels": { "additionalProperties": { "type": "string" diff --git a/vmmigration/v1/vmmigration-gen.go b/vmmigration/v1/vmmigration-gen.go index eb051c25a2b..5b61ccd23ce 100644 --- a/vmmigration/v1/vmmigration-gen.go +++ b/vmmigration/v1/vmmigration-gen.go @@ -1072,6 +1072,9 @@ type BootDiskDefaults struct { // persistent disks that balance performance and cost. DiskType string `json:"diskType,omitempty"` + // Encryption: Optional. The encryption to apply to the boot disk. + Encryption *Encryption `json:"encryption,omitempty"` + // Image: The image to use when creating the disk. Image *DiskImageDefaults `json:"image,omitempty"` @@ -1385,6 +1388,10 @@ type ComputeEngineTargetDefaults struct { // persistent disks that balance performance and cost. DiskType string `json:"diskType,omitempty"` + // Encryption: Optional. Immutable. The encryption to apply to the VM + // disks. + Encryption *Encryption `json:"encryption,omitempty"` + // Hostname: The hostname to assign to the VM. Hostname string `json:"hostname,omitempty"` @@ -1494,6 +1501,9 @@ type ComputeEngineTargetDetails struct { // persistent disks that balance performance and cost. DiskType string `json:"diskType,omitempty"` + // Encryption: Optional. The encryption to apply to the VM disks. + Encryption *Encryption `json:"encryption,omitempty"` + // Hostname: The hostname to assign to the VM. Hostname string `json:"hostname,omitempty"` @@ -2025,6 +2035,9 @@ type DisksMigrationVmTargetDefaults struct { // (if empty default is used). ComputeScheduling *ComputeScheduling `json:"computeScheduling,omitempty"` + // Encryption: Optional. The encryption to apply to the VM. + Encryption *Encryption `json:"encryption,omitempty"` + // Hostname: Optional. The hostname to assign to the VM. Hostname string `json:"hostname,omitempty"` @@ -2123,6 +2136,36 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } +// Encryption: Encryption message describes the details of the applied +// encryption. +type Encryption struct { + // KmsKey: Required. The name of the encryption key that is stored in + // Google Cloud KMS. + KmsKey string `json:"kmsKey,omitempty"` + + // ForceSendFields is a list of field names (e.g. "KmsKey") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "KmsKey") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *Encryption) MarshalJSON() ([]byte, error) { + type NoMethod Encryption + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // FetchInventoryResponse: Response message for fetchInventory. type FetchInventoryResponse struct { // AwsVms: The description of the VMs in a Source of type AWS. @@ -2983,8 +3026,6 @@ type MigrationError struct { // encountered an error during utilization report creation. // "APPLIANCE_UPGRADE_ERROR" - Migrate to Virtual Machines encountered // an error during appliance upgrade. - // "IMAGE_IMPORT_ERROR" - Migrate to Virtual Machines encountered an - // error in image import operation. Code string `json:"code,omitempty"` // ErrorMessage: Output only. The localized error message. @@ -3348,6 +3389,9 @@ type PersistentDiskDefaults struct { // persistent disks that balance performance and cost. DiskType string `json:"diskType,omitempty"` + // Encryption: Optional. The encryption to apply to the disk. + Encryption *Encryption `json:"encryption,omitempty"` + // SourceDiskNumber: Required. The ordinal number of the source VM disk. SourceDiskNumber int64 `json:"sourceDiskNumber,omitempty"` @@ -3664,6 +3708,10 @@ type Source struct { // Description: User-provided description of the source. Description string `json:"description,omitempty"` + // Encryption: Optional. Immutable. The encryption details of the source + // data stored by the service. + Encryption *Encryption `json:"encryption,omitempty"` + // Labels: The labels of the source. Labels map[string]string `json:"labels,omitempty"` diff --git a/vmmigration/v1alpha1/vmmigration-api.json b/vmmigration/v1alpha1/vmmigration-api.json index f1681aab573..ebf1d982dd9 100644 --- a/vmmigration/v1alpha1/vmmigration-api.json +++ b/vmmigration/v1alpha1/vmmigration-api.json @@ -1972,7 +1972,7 @@ } } }, - "revision": "20231012", + "revision": "20231019", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -2618,6 +2618,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the boot disk." + }, "image": { "$ref": "DiskImageDefaults", "description": "The image to use when creating the disk." @@ -2884,6 +2888,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. Immutable. The encryption to apply to the VM disks." + }, "hostname": { "description": "The hostname to assign to the VM.", "type": "string" @@ -3010,6 +3018,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the VM disks." + }, "hostname": { "description": "The hostname to assign to the VM.", "type": "string" @@ -3479,6 +3491,10 @@ "$ref": "ComputeScheduling", "description": "Optional. Compute instance scheduling information (if empty default is used)." }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the VM." + }, "hostname": { "description": "Optional. The hostname to assign to the VM.", "type": "string" @@ -3552,6 +3568,17 @@ "properties": {}, "type": "object" }, + "Encryption": { + "description": "Encryption message describes the details of the applied encryption.", + "id": "Encryption", + "properties": { + "kmsKey": { + "description": "Required. The name of the encryption key that is stored in Google Cloud KMS.", + "type": "string" + } + }, + "type": "object" + }, "FetchInventoryResponse": { "description": "Response message for fetchInventory.", "id": "FetchInventoryResponse", @@ -4184,8 +4211,7 @@ "CLONE_ERROR", "CUTOVER_ERROR", "UTILIZATION_REPORT_ERROR", - "APPLIANCE_UPGRADE_ERROR", - "IMAGE_IMPORT_ERROR" + "APPLIANCE_UPGRADE_ERROR" ], "enumDescriptions": [ "Default value. This value is not used.", @@ -4197,8 +4223,7 @@ "Migrate to Virtual Machines encountered an error in clone operation.", "Migrate to Virtual Machines encountered an error in cutover operation.", "Migrate to Virtual Machines encountered an error during utilization report creation.", - "Migrate to Virtual Machines encountered an error during appliance upgrade.", - "Migrate to Virtual Machines encountered an error in image import operation." + "Migrate to Virtual Machines encountered an error during appliance upgrade." ], "readOnly": true, "type": "string" @@ -4462,6 +4487,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the disk." + }, "sourceDiskNumber": { "description": "Required. The ordinal number of the source VM disk.", "format": "int32", @@ -4698,6 +4727,10 @@ "description": "User-provided description of the source.", "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. Immutable. The encryption details of the source data stored by the service." + }, "error": { "$ref": "Status", "deprecated": true, diff --git a/vmmigration/v1alpha1/vmmigration-gen.go b/vmmigration/v1alpha1/vmmigration-gen.go index e2a0eff83ea..1d9b266f3a7 100644 --- a/vmmigration/v1alpha1/vmmigration-gen.go +++ b/vmmigration/v1alpha1/vmmigration-gen.go @@ -1072,6 +1072,9 @@ type BootDiskDefaults struct { // persistent disks that balance performance and cost. DiskType string `json:"diskType,omitempty"` + // Encryption: Optional. The encryption to apply to the boot disk. + Encryption *Encryption `json:"encryption,omitempty"` + // Image: The image to use when creating the disk. Image *DiskImageDefaults `json:"image,omitempty"` @@ -1394,6 +1397,10 @@ type ComputeEngineTargetDefaults struct { // persistent disks that balance performance and cost. DiskType string `json:"diskType,omitempty"` + // Encryption: Optional. Immutable. The encryption to apply to the VM + // disks. + Encryption *Encryption `json:"encryption,omitempty"` + // Hostname: The hostname to assign to the VM. Hostname string `json:"hostname,omitempty"` @@ -1503,6 +1510,9 @@ type ComputeEngineTargetDetails struct { // persistent disks that balance performance and cost. DiskType string `json:"diskType,omitempty"` + // Encryption: Optional. The encryption to apply to the VM disks. + Encryption *Encryption `json:"encryption,omitempty"` + // Hostname: The hostname to assign to the VM. Hostname string `json:"hostname,omitempty"` @@ -2050,6 +2060,9 @@ type DisksMigrationVmTargetDefaults struct { // (if empty default is used). ComputeScheduling *ComputeScheduling `json:"computeScheduling,omitempty"` + // Encryption: Optional. The encryption to apply to the VM. + Encryption *Encryption `json:"encryption,omitempty"` + // Hostname: Optional. The hostname to assign to the VM. Hostname string `json:"hostname,omitempty"` @@ -2148,6 +2161,36 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } +// Encryption: Encryption message describes the details of the applied +// encryption. +type Encryption struct { + // KmsKey: Required. The name of the encryption key that is stored in + // Google Cloud KMS. + KmsKey string `json:"kmsKey,omitempty"` + + // ForceSendFields is a list of field names (e.g. "KmsKey") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "KmsKey") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *Encryption) MarshalJSON() ([]byte, error) { + type NoMethod Encryption + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // FetchInventoryResponse: Response message for fetchInventory. type FetchInventoryResponse struct { // AwsVms: The description of the VMs in a Source of type AWS. @@ -3017,8 +3060,6 @@ type MigrationError struct { // encountered an error during utilization report creation. // "APPLIANCE_UPGRADE_ERROR" - Migrate to Virtual Machines encountered // an error during appliance upgrade. - // "IMAGE_IMPORT_ERROR" - Migrate to Virtual Machines encountered an - // error in image import operation. Code string `json:"code,omitempty"` // ErrorMessage: Output only. The localized error message. @@ -3382,6 +3423,9 @@ type PersistentDiskDefaults struct { // persistent disks that balance performance and cost. DiskType string `json:"diskType,omitempty"` + // Encryption: Optional. The encryption to apply to the disk. + Encryption *Encryption `json:"encryption,omitempty"` + // SourceDiskNumber: Required. The ordinal number of the source VM disk. SourceDiskNumber int64 `json:"sourceDiskNumber,omitempty"` @@ -3701,6 +3745,10 @@ type Source struct { // Description: User-provided description of the source. Description string `json:"description,omitempty"` + // Encryption: Optional. Immutable. The encryption details of the source + // data stored by the service. + Encryption *Encryption `json:"encryption,omitempty"` + // Error: Output only. Provides details on the state of the Source in // case of an error. Error *Status `json:"error,omitempty"` diff --git a/workflowexecutions/v1/workflowexecutions-api.json b/workflowexecutions/v1/workflowexecutions-api.json index a01d0423694..610d343aeea 100644 --- a/workflowexecutions/v1/workflowexecutions-api.json +++ b/workflowexecutions/v1/workflowexecutions-api.json @@ -366,6 +366,87 @@ ] } } + }, + "stepEntries": { + "methods": { + "get": { + "description": "Gets a step entry.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/executions/{executionsId}/stepEntries/{stepEntriesId}", + "httpMethod": "GET", + "id": "workflowexecutions.projects.locations.workflows.executions.stepEntries.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the step entry to retrieve. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/{step_entry}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+/executions/[^/]+/stepEntries/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "StepEntry" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists step entries for the corresponding workflow execution. Returned entries are ordered by their create_time.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/executions/{executionsId}/stepEntries", + "httpMethod": "GET", + "id": "workflowexecutions.projects.locations.workflows.executions.stepEntries.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filters applied to the `[StepEntries.ListStepEntries]` results. The following fields are supported for filtering: `entryId`, `createTime`, `updateTime`, `routine`, `step`, `stepType`, `state`. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state=\"SUCCEEDED\"` or `createTime\u003e\"2023-08-01\" AND state=\"FAILED\"`", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Comma-separated list of fields that specify the ordering applied to the `[StepEntries.ListStepEntries]` results. By default the ordering is based on ascending `entryId`. The following fields are supported for ordering: `entryId`, `createTime`, `updateTime`, `routine`, `step`, `stepType`, `state`. For details, see AIP-132.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Number of step entries to return per call. The default max is 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListStepEntries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListStepEntries` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Name of the workflow execution to list entries for. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+/executions/[^/]+$", + "required": true, + "type": "string" + }, + "skip": { + "description": "Optional. The number of step entries to skip. It can be used with or without a pageToken. If used with a pageToken, then it indicates the number of step entries to skip starting from the requested page.", + "format": "int32", + "location": "query", + "type": "integer" + } + }, + "path": "v1/{+parent}/stepEntries", + "response": { + "$ref": "ListStepEntriesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } } } } @@ -376,7 +457,7 @@ } } }, - "revision": "20231016", + "revision": "20231017", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { "Callback": { @@ -435,6 +516,17 @@ }, "type": "object" }, + "Exception": { + "description": "Exception describes why the step entry failed.", + "id": "Exception", + "properties": { + "payload": { + "description": "Error message represented as a JSON string.", + "type": "string" + } + }, + "type": "object" + }, "Execution": { "description": "A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).", "id": "Execution", @@ -587,6 +679,59 @@ }, "type": "object" }, + "ListStepEntriesResponse": { + "description": "Response message for ExecutionHistory.ListStepEntries.", + "id": "ListStepEntriesResponse", + "properties": { + "nextPageToken": { + "description": "A token to retrieve next page of results. Pass this value in the ListStepEntriesRequest.page_token field in the subsequent call to `ListStepEntries` method to retrieve the next page of results.", + "type": "string" + }, + "stepEntries": { + "description": "The list of entries.", + "items": { + "$ref": "StepEntry" + }, + "type": "array" + }, + "totalSize": { + "description": "Indicates the total number of StepEntries that matched the request filter. For running executions, this number shows the number of StepEntries that are executed thus far.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "NavigationInfo": { + "description": "NavigationInfo describes what steps if any come before or after this step, or what steps are parents or children of this step.", + "id": "NavigationInfo", + "properties": { + "children": { + "description": "Step entries that can be reached by \"stepping into\" e.g. a subworkflow call.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "next": { + "description": "The index of the next step in the current workflow, if any.", + "format": "int64", + "type": "string" + }, + "parent": { + "description": "The step entry, if any, that can be reached by \"stepping out\" of the current workflow being executed.", + "format": "int64", + "type": "string" + }, + "previous": { + "description": "The index of the previous step in the current workflow, if any.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "Position": { "description": "Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes.", "id": "Position", @@ -726,6 +871,163 @@ }, "type": "object" }, + "StepEntry": { + "description": "An StepEntry contains debugging information for a step transition in a workflow execution.", + "id": "StepEntry", + "properties": { + "createTime": { + "description": "Output only. The creation time of the step entry.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "entryId": { + "description": "Output only. The numeric ID of this step entry, used for navigation.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "exception": { + "$ref": "Exception", + "description": "Output only. The exception thrown by the step entry.", + "readOnly": true + }, + "name": { + "description": "Output only. The full resource name of the step entry. Each step entry has a unique entry ID, which is a monotonically increasing counter. Step entry names have the format: `projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/{step_entry}`.", + "readOnly": true, + "type": "string" + }, + "navigationInfo": { + "$ref": "NavigationInfo", + "description": "Output only. The NavigationInfo associated to this step.", + "readOnly": true + }, + "routine": { + "description": "Output only. The name of the routine this step entry belongs to. A routine name is the subworkflow name defined in the YAML source code. The top level routine name is `main`.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The state of the step entry.", + "enum": [ + "STATE_UNSPECIFIED", + "STATE_IN_PROGRESS", + "STATE_SUCCEEDED", + "STATE_FAILED" + ], + "enumDescriptions": [ + "Invalid state.", + "The step entry is in progress.", + "The step entry finished successfully.", + "The step entry failed with an error." + ], + "readOnly": true, + "type": "string" + }, + "step": { + "description": "Output only. The name of the step this step entry belongs to.", + "readOnly": true, + "type": "string" + }, + "stepEntryMetadata": { + "$ref": "StepEntryMetadata", + "description": "Output only. The StepEntryMetadata associated to this step.", + "readOnly": true + }, + "stepType": { + "description": "Output only. The type of the step this step entry belongs to.", + "enum": [ + "STEP_TYPE_UNSPECIFIED", + "STEP_ASSIGN", + "STEP_STD_LIB_CALL", + "STEP_CONNECTOR_CALL", + "STEP_SUBWORKFLOW_CALL", + "STEP_CALL", + "STEP_SWITCH", + "STEP_CONDITION", + "STEP_FOR", + "STEP_FOR_ITERATION", + "STEP_PARALLEL_FOR", + "STEP_PARALLEL_BRANCH", + "STEP_PARALLEL_BRANCH_ENTRY", + "STEP_TRY_RETRY_EXCEPT", + "STEP_TRY", + "STEP_RETRY", + "STEP_EXCEPT", + "STEP_RETURN", + "STEP_RAISE", + "STEP_GOTO" + ], + "enumDescriptions": [ + "Invalid step type.", + "The step entry assigns new variable(s).", + "The step entry calls a standard library routine.", + "The step entry calls a connector.", + "The step entry calls a subworklfow.", + "The step entry calls a subworkflow/stdlib.", + "The step entry executes a switch-case block.", + "The step entry executes a condition inside a switch.", + "The step entry executes a for loop.", + "The step entry executes a iteration of a for loop.", + "The step entry executes a parallel for loop.", + "The step entry executes a series of parallel branch(es).", + "The step entry executes a branch of a parallel branch.", + "The step entry executes a try/retry/except block.", + "The step entry executes the try part of a try/retry/except block.", + "The step entry executes the retry part of a try/retry/except block.", + "The step entry executes the except part of a try/retry/except block.", + "The step entry returns.", + "The step entry raises an error.", + "The step entry jumps to another step." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The most recently updated time of the step entry.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "StepEntryMetadata": { + "description": "StepEntryMetadata contains metadata information about this step.", + "id": "StepEntryMetadata", + "properties": { + "progressNumber": { + "description": "Progress number represents the current state of the current progress. eg: A step entry represents the 4th iteration in a progress of PROGRESS_TYPE_FOR.", + "format": "int64", + "type": "string" + }, + "progressType": { + "description": "Progress type of this step entry.", + "enum": [ + "PROGRESS_TYPE_UNSPECIFIED", + "PROGRESS_TYPE_FOR", + "PROGRESS_TYPE_SWITCH", + "PROGRESS_TYPE_RETRY", + "PROGRESS_TYPE_PARALLEL_FOR", + "PROGRESS_TYPE_PARALLEL_BRANCH" + ], + "enumDescriptions": [ + "Current step entry does not have any progress data.", + "Current step entry is in progress of a FOR step.", + "Current step entry is in progress of a SWITCH step.", + "Current step entry is in progress of a RETRY step.", + "Current step entry is in progress of a PARALLEL FOR step.", + "Current step entry is in progress of a PARALLEL BRANCH step." + ], + "type": "string" + }, + "threadId": { + "description": "Child thread id that this step entry belongs to.", + "type": "string" + } + }, + "type": "object" + }, "TriggerPubsubExecutionRequest": { "description": "Request for the TriggerPubsubExecution method.", "id": "TriggerPubsubExecutionRequest", diff --git a/workflowexecutions/v1/workflowexecutions-gen.go b/workflowexecutions/v1/workflowexecutions-gen.go index b6c84f26770..ac5921c8960 100644 --- a/workflowexecutions/v1/workflowexecutions-gen.go +++ b/workflowexecutions/v1/workflowexecutions-gen.go @@ -190,6 +190,7 @@ type ProjectsLocationsWorkflowsService struct { func NewProjectsLocationsWorkflowsExecutionsService(s *Service) *ProjectsLocationsWorkflowsExecutionsService { rs := &ProjectsLocationsWorkflowsExecutionsService{s: s} rs.Callbacks = NewProjectsLocationsWorkflowsExecutionsCallbacksService(s) + rs.StepEntries = NewProjectsLocationsWorkflowsExecutionsStepEntriesService(s) return rs } @@ -197,6 +198,8 @@ type ProjectsLocationsWorkflowsExecutionsService struct { s *Service Callbacks *ProjectsLocationsWorkflowsExecutionsCallbacksService + + StepEntries *ProjectsLocationsWorkflowsExecutionsStepEntriesService } func NewProjectsLocationsWorkflowsExecutionsCallbacksService(s *Service) *ProjectsLocationsWorkflowsExecutionsCallbacksService { @@ -208,6 +211,15 @@ type ProjectsLocationsWorkflowsExecutionsCallbacksService struct { s *Service } +func NewProjectsLocationsWorkflowsExecutionsStepEntriesService(s *Service) *ProjectsLocationsWorkflowsExecutionsStepEntriesService { + rs := &ProjectsLocationsWorkflowsExecutionsStepEntriesService{s: s} + return rs +} + +type ProjectsLocationsWorkflowsExecutionsStepEntriesService struct { + s *Service +} + // Callback: An instance of a Callback created by an execution. type Callback struct { // AvailablePayloads: Output only. The payloads received by the callback @@ -291,6 +303,34 @@ func (s *Error) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Exception: Exception describes why the step entry failed. +type Exception struct { + // Payload: Error message represented as a JSON string. + Payload string `json:"payload,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Payload") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Payload") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *Exception) MarshalJSON() ([]byte, error) { + type NoMethod Exception + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Execution: A running instance of a Workflow // (/workflows/docs/reference/rest/v1/projects.locations.workflows). type Execution struct { @@ -507,6 +547,92 @@ func (s *ListExecutionsResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ListStepEntriesResponse: Response message for +// ExecutionHistory.ListStepEntries. +type ListStepEntriesResponse struct { + // NextPageToken: A token to retrieve next page of results. Pass this + // value in the ListStepEntriesRequest.page_token field in the + // subsequent call to `ListStepEntries` method to retrieve the next page + // of results. + NextPageToken string `json:"nextPageToken,omitempty"` + + // StepEntries: The list of entries. + StepEntries []*StepEntry `json:"stepEntries,omitempty"` + + // TotalSize: Indicates the total number of StepEntries that matched the + // request filter. For running executions, this number shows the number + // of StepEntries that are executed thus far. + TotalSize int64 `json:"totalSize,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "NextPageToken") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *ListStepEntriesResponse) MarshalJSON() ([]byte, error) { + type NoMethod ListStepEntriesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// NavigationInfo: NavigationInfo describes what steps if any come +// before or after this step, or what steps are parents or children of +// this step. +type NavigationInfo struct { + // Children: Step entries that can be reached by "stepping into" e.g. a + // subworkflow call. + Children googleapi.Int64s `json:"children,omitempty"` + + // Next: The index of the next step in the current workflow, if any. + Next int64 `json:"next,omitempty,string"` + + // Parent: The step entry, if any, that can be reached by "stepping out" + // of the current workflow being executed. + Parent int64 `json:"parent,omitempty,string"` + + // Previous: The index of the previous step in the current workflow, if + // any. + Previous int64 `json:"previous,omitempty,string"` + + // ForceSendFields is a list of field names (e.g. "Children") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Children") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *NavigationInfo) MarshalJSON() ([]byte, error) { + type NoMethod NavigationInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Position: Position contains source position information about the // stack trace element such as line number, column number and length of // the code block in bytes. @@ -775,6 +901,169 @@ func (s *Step) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// StepEntry: An StepEntry contains debugging information for a step +// transition in a workflow execution. +type StepEntry struct { + // CreateTime: Output only. The creation time of the step entry. + CreateTime string `json:"createTime,omitempty"` + + // EntryId: Output only. The numeric ID of this step entry, used for + // navigation. + EntryId int64 `json:"entryId,omitempty,string"` + + // Exception: Output only. The exception thrown by the step entry. + Exception *Exception `json:"exception,omitempty"` + + // Name: Output only. The full resource name of the step entry. Each + // step entry has a unique entry ID, which is a monotonically increasing + // counter. Step entry names have the format: + // `projects/{project}/locations/{location}/workflows/{workflow}/executio + // ns/{execution}/stepEntries/{step_entry}`. + Name string `json:"name,omitempty"` + + // NavigationInfo: Output only. The NavigationInfo associated to this + // step. + NavigationInfo *NavigationInfo `json:"navigationInfo,omitempty"` + + // Routine: Output only. The name of the routine this step entry belongs + // to. A routine name is the subworkflow name defined in the YAML source + // code. The top level routine name is `main`. + Routine string `json:"routine,omitempty"` + + // State: Output only. The state of the step entry. + // + // Possible values: + // "STATE_UNSPECIFIED" - Invalid state. + // "STATE_IN_PROGRESS" - The step entry is in progress. + // "STATE_SUCCEEDED" - The step entry finished successfully. + // "STATE_FAILED" - The step entry failed with an error. + State string `json:"state,omitempty"` + + // Step: Output only. The name of the step this step entry belongs to. + Step string `json:"step,omitempty"` + + // StepEntryMetadata: Output only. The StepEntryMetadata associated to + // this step. + StepEntryMetadata *StepEntryMetadata `json:"stepEntryMetadata,omitempty"` + + // StepType: Output only. The type of the step this step entry belongs + // to. + // + // Possible values: + // "STEP_TYPE_UNSPECIFIED" - Invalid step type. + // "STEP_ASSIGN" - The step entry assigns new variable(s). + // "STEP_STD_LIB_CALL" - The step entry calls a standard library + // routine. + // "STEP_CONNECTOR_CALL" - The step entry calls a connector. + // "STEP_SUBWORKFLOW_CALL" - The step entry calls a subworklfow. + // "STEP_CALL" - The step entry calls a subworkflow/stdlib. + // "STEP_SWITCH" - The step entry executes a switch-case block. + // "STEP_CONDITION" - The step entry executes a condition inside a + // switch. + // "STEP_FOR" - The step entry executes a for loop. + // "STEP_FOR_ITERATION" - The step entry executes a iteration of a for + // loop. + // "STEP_PARALLEL_FOR" - The step entry executes a parallel for loop. + // "STEP_PARALLEL_BRANCH" - The step entry executes a series of + // parallel branch(es). + // "STEP_PARALLEL_BRANCH_ENTRY" - The step entry executes a branch of + // a parallel branch. + // "STEP_TRY_RETRY_EXCEPT" - The step entry executes a + // try/retry/except block. + // "STEP_TRY" - The step entry executes the try part of a + // try/retry/except block. + // "STEP_RETRY" - The step entry executes the retry part of a + // try/retry/except block. + // "STEP_EXCEPT" - The step entry executes the except part of a + // try/retry/except block. + // "STEP_RETURN" - The step entry returns. + // "STEP_RAISE" - The step entry raises an error. + // "STEP_GOTO" - The step entry jumps to another step. + StepType string `json:"stepType,omitempty"` + + // UpdateTime: Output only. The most recently updated time of the step + // entry. + UpdateTime string `json:"updateTime,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "CreateTime") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CreateTime") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *StepEntry) MarshalJSON() ([]byte, error) { + type NoMethod StepEntry + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// StepEntryMetadata: StepEntryMetadata contains metadata information +// about this step. +type StepEntryMetadata struct { + // ProgressNumber: Progress number represents the current state of the + // current progress. eg: A step entry represents the 4th iteration in a + // progress of PROGRESS_TYPE_FOR. + ProgressNumber int64 `json:"progressNumber,omitempty,string"` + + // ProgressType: Progress type of this step entry. + // + // Possible values: + // "PROGRESS_TYPE_UNSPECIFIED" - Current step entry does not have any + // progress data. + // "PROGRESS_TYPE_FOR" - Current step entry is in progress of a FOR + // step. + // "PROGRESS_TYPE_SWITCH" - Current step entry is in progress of a + // SWITCH step. + // "PROGRESS_TYPE_RETRY" - Current step entry is in progress of a + // RETRY step. + // "PROGRESS_TYPE_PARALLEL_FOR" - Current step entry is in progress of + // a PARALLEL FOR step. + // "PROGRESS_TYPE_PARALLEL_BRANCH" - Current step entry is in progress + // of a PARALLEL BRANCH step. + ProgressType string `json:"progressType,omitempty"` + + // ThreadId: Child thread id that this step entry belongs to. + ThreadId string `json:"threadId,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ProgressNumber") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ProgressNumber") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *StepEntryMetadata) MarshalJSON() ([]byte, error) { + type NoMethod StepEntryMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // TriggerPubsubExecutionRequest: Request for the TriggerPubsubExecution // method. type TriggerPubsubExecutionRequest struct { @@ -2057,3 +2346,396 @@ func (c *ProjectsLocationsWorkflowsExecutionsCallbacksListCall) Pages(ctx contex c.PageToken(x.NextPageToken) } } + +// method id "workflowexecutions.projects.locations.workflows.executions.stepEntries.get": + +type ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets a step entry. +// +// - name: The name of the step entry to retrieve. Format: +// projects/{project}/locations/{location}/workflows/{workflow}/executi +// ons/{execution}/stepEntries/{step_entry}. +func (r *ProjectsLocationsWorkflowsExecutionsStepEntriesService) Get(name string) *ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall { + c := &ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall) Context(ctx context.Context) *ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "workflowexecutions.projects.locations.workflows.executions.stepEntries.get" call. +// Exactly one of *StepEntry or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *StepEntry.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesGetCall) Do(opts ...googleapi.CallOption) (*StepEntry, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &StepEntry{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets a step entry.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/executions/{executionsId}/stepEntries/{stepEntriesId}", + // "httpMethod": "GET", + // "id": "workflowexecutions.projects.locations.workflows.executions.stepEntries.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the step entry to retrieve. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/{step_entry}", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+/executions/[^/]+/stepEntries/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "StepEntry" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "workflowexecutions.projects.locations.workflows.executions.stepEntries.list": + +type ProjectsLocationsWorkflowsExecutionsStepEntriesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists step entries for the corresponding workflow execution. +// Returned entries are ordered by their create_time. +// +// - parent: Name of the workflow execution to list entries for. Format: +// projects/{project}/locations/{location}/workflows/{workflow}/executi +// ons/{execution}/stepEntries/. +func (r *ProjectsLocationsWorkflowsExecutionsStepEntriesService) List(parent string) *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall { + c := &ProjectsLocationsWorkflowsExecutionsStepEntriesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// Filter sets the optional parameter "filter": Filters applied to the +// `[StepEntries.ListStepEntries]` results. The following fields are +// supported for filtering: `entryId`, `createTime`, `updateTime`, +// `routine`, `step`, `stepType`, `state`. For details, see AIP-160. For +// example, if you are using the Google APIs Explorer: +// `state="SUCCEEDED" or `createTime>"2023-08-01" AND state="FAILED" +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) Filter(filter string) *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// OrderBy sets the optional parameter "orderBy": Comma-separated list +// of fields that specify the ordering applied to the +// `[StepEntries.ListStepEntries]` results. By default the ordering is +// based on ascending `entryId`. The following fields are supported for +// ordering: `entryId`, `createTime`, `updateTime`, `routine`, `step`, +// `stepType`, `state`. For details, see AIP-132. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) OrderBy(orderBy string) *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + +// PageSize sets the optional parameter "pageSize": Number of step +// entries to return per call. The default max is 1000. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) PageSize(pageSize int64) *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": A page token, +// received from a previous `ListStepEntries` call. Provide this to +// retrieve the subsequent page. When paginating, all other parameters +// provided to `ListStepEntries` must match the call that provided the +// page token. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) PageToken(pageToken string) *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Skip sets the optional parameter "skip": The number of step entries +// to skip. It can be used with or without a pageToken. If used with a +// pageToken, then it indicates the number of step entries to skip +// starting from the requested page. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) Skip(skip int64) *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall { + c.urlParams_.Set("skip", fmt.Sprint(skip)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) Context(ctx context.Context) *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/stepEntries") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "workflowexecutions.projects.locations.workflows.executions.stepEntries.list" call. +// Exactly one of *ListStepEntriesResponse or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ListStepEntriesResponse.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) Do(opts ...googleapi.CallOption) (*ListStepEntriesResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &ListStepEntriesResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists step entries for the corresponding workflow execution. Returned entries are ordered by their create_time.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/executions/{executionsId}/stepEntries", + // "httpMethod": "GET", + // "id": "workflowexecutions.projects.locations.workflows.executions.stepEntries.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "filter": { + // "description": "Optional. Filters applied to the `[StepEntries.ListStepEntries]` results. The following fields are supported for filtering: `entryId`, `createTime`, `updateTime`, `routine`, `step`, `stepType`, `state`. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state=\"SUCCEEDED\"` or `createTime\u003e\"2023-08-01\" AND state=\"FAILED\"`", + // "location": "query", + // "type": "string" + // }, + // "orderBy": { + // "description": "Optional. Comma-separated list of fields that specify the ordering applied to the `[StepEntries.ListStepEntries]` results. By default the ordering is based on ascending `entryId`. The following fields are supported for ordering: `entryId`, `createTime`, `updateTime`, `routine`, `step`, `stepType`, `state`. For details, see AIP-132.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "Optional. Number of step entries to return per call. The default max is 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "Optional. A page token, received from a previous `ListStepEntries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListStepEntries` must match the call that provided the page token.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. Name of the workflow execution to list entries for. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/stepEntries/", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+/executions/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "skip": { + // "description": "Optional. The number of step entries to skip. It can be used with or without a pageToken. If used with a pageToken, then it indicates the number of step entries to skip starting from the requested page.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // } + // }, + // "path": "v1/{+parent}/stepEntries", + // "response": { + // "$ref": "ListStepEntriesResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsWorkflowsExecutionsStepEntriesListCall) Pages(ctx context.Context, f func(*ListStepEntriesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} diff --git a/workstations/v1/workstations-api.json b/workstations/v1/workstations-api.json index 92ef665dff7..a777dd5cd8e 100644 --- a/workstations/v1/workstations-api.json +++ b/workstations/v1/workstations-api.json @@ -1195,7 +1195,7 @@ } } }, - "revision": "20231001", + "revision": "20231018", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "AuditConfig": { @@ -1300,7 +1300,7 @@ "type": "object" }, "image": { - "description": "Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.", + "description": "Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. Otherwise, the image must be publicly accessible.", "type": "string" }, "runAsUser": { @@ -1401,7 +1401,7 @@ "type": "integer" }, "serviceAccount": { - "description": "Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have permissions to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.", + "description": "Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.", "type": "string" }, "serviceAccountScopes": { diff --git a/workstations/v1/workstations-gen.go b/workstations/v1/workstations-gen.go index 38c7be95c03..213502f868b 100644 --- a/workstations/v1/workstations-gen.go +++ b/workstations/v1/workstations-gen.go @@ -420,7 +420,10 @@ type Container struct { // but you can create your own custom container images // (https://cloud.google.com/workstations/docs/custom-container-images). // If using a private image, the `host.gceInstance.serviceAccount` field - // must be specified in the workstation configuration and must have + // must be specified in the workstation configuration. If using a custom + // container image, the service account must have Artifact Registry + // Reader + // (https://cloud.google.com/artifact-registry/docs/access-control#roles) // permission to pull the specified image. Otherwise, the image must be // publicly accessible. Image string `json:"image,omitempty"` @@ -666,14 +669,16 @@ type GceInstance struct { // specified, be sure that the service account has // `logginglogEntries.create` permission on the project so it can write // logs out to Cloud Logging. If using a custom container image, the - // service account must have permissions to pull the specified image. If - // you as the administrator want to be able to `ssh` into the underlying - // VM, you need to set this value to a service account for which you - // have the `iam.serviceAccounts.actAs` permission. Conversely, if you - // don't want anyone to be able to `ssh` into the underlying VM, use a - // service account where no one has that permission. If not set, VMs run - // with a service account provided by the Cloud Workstations service, - // and the image must be publicly accessible. + // service account must have Artifact Registry Reader + // (https://cloud.google.com/artifact-registry/docs/access-control#roles) + // permission to pull the specified image. If you as the administrator + // want to be able to `ssh` into the underlying VM, you need to set this + // value to a service account for which you have the + // `iam.serviceAccounts.actAs` permission. Conversely, if you don't want + // anyone to be able to `ssh` into the underlying VM, use a service + // account where no one has that permission. If not set, VMs run with a + // service account provided by the Cloud Workstations service, and the + // image must be publicly accessible. ServiceAccount string `json:"serviceAccount,omitempty"` // ServiceAccountScopes: Optional. Scopes to grant to the diff --git a/workstations/v1beta/workstations-api.json b/workstations/v1beta/workstations-api.json index d9a83e2818e..3d4dd0217b2 100644 --- a/workstations/v1beta/workstations-api.json +++ b/workstations/v1beta/workstations-api.json @@ -1127,7 +1127,7 @@ } } }, - "revision": "20231011", + "revision": "20231018", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "Accelerator": { @@ -1248,7 +1248,7 @@ "type": "object" }, "image": { - "description": "Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.", + "description": "Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. Otherwise, the image must be publicly accessible.", "type": "string" }, "runAsUser": { @@ -1382,7 +1382,7 @@ "type": "integer" }, "serviceAccount": { - "description": "Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have permissions to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.", + "description": "Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.", "type": "string" }, "serviceAccountScopes": { diff --git a/workstations/v1beta/workstations-gen.go b/workstations/v1beta/workstations-gen.go index c8bc8ff424d..297d419b45b 100644 --- a/workstations/v1beta/workstations-gen.go +++ b/workstations/v1beta/workstations-gen.go @@ -452,7 +452,10 @@ type Container struct { // but you can create your own custom container images // (https://cloud.google.com/workstations/docs/custom-container-images). // If using a private image, the `host.gceInstance.serviceAccount` field - // must be specified in the workstation configuration and must have + // must be specified in the workstation configuration. If using a custom + // container image, the service account must have Artifact Registry + // Reader + // (https://cloud.google.com/artifact-registry/docs/access-control#roles) // permission to pull the specified image. Otherwise, the image must be // publicly accessible. Image string `json:"image,omitempty"` @@ -765,14 +768,16 @@ type GceInstance struct { // specified, be sure that the service account has // `logginglogEntries.create` permission on the project so it can write // logs out to Cloud Logging. If using a custom container image, the - // service account must have permissions to pull the specified image. If - // you as the administrator want to be able to `ssh` into the underlying - // VM, you need to set this value to a service account for which you - // have the `iam.serviceAccounts.actAs` permission. Conversely, if you - // don't want anyone to be able to `ssh` into the underlying VM, use a - // service account where no one has that permission. If not set, VMs run - // with a service account provided by the Cloud Workstations service, - // and the image must be publicly accessible. + // service account must have Artifact Registry Reader + // (https://cloud.google.com/artifact-registry/docs/access-control#roles) + // permission to pull the specified image. If you as the administrator + // want to be able to `ssh` into the underlying VM, you need to set this + // value to a service account for which you have the + // `iam.serviceAccounts.actAs` permission. Conversely, if you don't want + // anyone to be able to `ssh` into the underlying VM, use a service + // account where no one has that permission. If not set, VMs run with a + // service account provided by the Cloud Workstations service, and the + // image must be publicly accessible. ServiceAccount string `json:"serviceAccount,omitempty"` // ServiceAccountScopes: Optional. Scopes to grant to the