diff --git a/CHANGELOG.md b/CHANGELOG.md index 93b502fc515..74fff96275a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,39 @@ # Changelog +## [2.131.0](https://github.com/googleapis/google-api-python-client/compare/v2.130.0...v2.131.0) (2024-05-28) + + +### Features + +* **alloydb:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/985f437c5e7cd10e5106ce4b598d923395077cbf ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **artifactregistry:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/9e423cc4f43da4f35fe8821c948a28be795907d5 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **batch:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/ba0431766e462b2adc9b862b54ffbc4ef85a4979 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **beyondcorp:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/be1c3bacacd1e2ec91970b9e1a92cc4dbc97b68d ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **composer:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/d2c3bcc559795030c10d0d07d17a886f19583144 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **compute:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/0c10b3e004975b51a21aec75e314fca591192fbe ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **contactcenteraiplatform:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/49125cd59c00dbcab6cc0d110d7e4b1f9d7ac91b ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **file:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/0c890d872f0f5d9c02ba490d9015f8645bfd2085 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **firebaseml:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/95a3704ef52fe15964d129642b37d24ed80b5f03 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **gkebackup:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/aebb7edfd1f2327abb019cd560928d16420a61a9 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **gmail:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/dd4ac5ece675c3fe972bc0f26e28e85569c5b35e ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **ids:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/fde8627c6e409895b5ad7798163af6db56c0e6cb ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **networkmanagement:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/3d45dcd5ba9049935e3242afd31e1ff1a3fb45b8 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **networkservices:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/2e90d399a335e349a7ce7903d80060ac63a9bd0b ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **recaptchaenterprise:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/1f3de83e57ae5bee7e4db9aa22de04975a2de3c0 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **redis:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/eae37c179f5d461dd60fc265519a80f75c2bf1ab ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **sqladmin:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/513380fcf78f58a4b14474487a26536f7071b903 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **storage:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/24eff0dac6c1b2766f7459ed8a2db0a76cc1a677 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **tasks:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/8d023a2567d07196d38b0cac0efd0e2e0df7d623 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **workstations:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/2997a4a46808e57bf96a994681d0d5801c95e808 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) + + +### Bug Fixes + +* **drive:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/a81d8815173fde0656a9ee9740462ab78da72219 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **prod_tt_sasportal:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/6d15113329738f1c5c7e63605e5d5d3a11a40c93 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **sasportal:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/ef4e2be27ace27d262c2f957d8d063f5c6d11fd7 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) +* **secretmanager:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/e14d8f617d8fe090482b513752656c55835844e2 ([cd67d75](https://github.com/googleapis/google-api-python-client/commit/cd67d75d94ae4ae3cb4aefe007d944e48ba021f6)) + ## [2.130.0](https://github.com/googleapis/google-api-python-client/compare/v2.129.0...v2.130.0) (2024-05-21) diff --git a/docs/dyn/alloydb_v1alpha.projects.locations.clusters.instances.html b/docs/dyn/alloydb_v1alpha.projects.locations.clusters.instances.html index 68e52f42964..55c46f17ea6 100644 --- a/docs/dyn/alloydb_v1alpha.projects.locations.clusters.instances.html +++ b/docs/dyn/alloydb_v1alpha.projects.locations.clusters.instances.html @@ -163,6 +163,7 @@
Close httplib2 connections.
+ +Deletes a file and all of its content. It is only allowed on generic repositories. The returned operation will complete once the file has been deleted.
Download a file.
@@ -98,6 +101,41 @@Close httplib2 connections.+
delete(name, x__xgafv=None)
+ Deletes a file and all of its content. It is only allowed on generic repositories. The returned operation will complete once the file has been deleted.
+
+Args:
+ name: string, Required. The name of the file to delete. (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # This resource represents a long-running operation that is the result of a network API call.
+ "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
+ "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
+ },
+ "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
+ "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+}
+download(name, x__xgafv=None)
Download a file. diff --git a/docs/dyn/artifactregistry_v1.projects.locations.repositories.html b/docs/dyn/artifactregistry_v1.projects.locations.repositories.html index 4ea9294e38d..447b06dcdca 100644 --- a/docs/dyn/artifactregistry_v1.projects.locations.repositories.html +++ b/docs/dyn/artifactregistry_v1.projects.locations.repositories.html @@ -209,7 +209,7 @@Method Details
"cleanupPolicyDryRun": True or False, # Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository. "createTime": "A String", # Output only. The time when the repository was created. "description": "A String", # The user-provided description of the repository. - "disallowUnspecifiedMode": True or False, # Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers. + "disallowUnspecifiedMode": True or False, # Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard. "dockerConfig": { # DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type. # Docker repository config contains repository level configuration for the repositories of docker type. "immutableTags": True or False, # The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created. }, @@ -400,7 +400,7 @@Method Details
"cleanupPolicyDryRun": True or False, # Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository. "createTime": "A String", # Output only. The time when the repository was created. "description": "A String", # The user-provided description of the repository. - "disallowUnspecifiedMode": True or False, # Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers. + "disallowUnspecifiedMode": True or False, # Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard. "dockerConfig": { # DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type. # Docker repository config contains repository level configuration for the repositories of docker type. "immutableTags": True or False, # The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created. }, @@ -567,7 +567,7 @@Method Details
"cleanupPolicyDryRun": True or False, # Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository. "createTime": "A String", # Output only. The time when the repository was created. "description": "A String", # The user-provided description of the repository. - "disallowUnspecifiedMode": True or False, # Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers. + "disallowUnspecifiedMode": True or False, # Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard. "dockerConfig": { # DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type. # Docker repository config contains repository level configuration for the repositories of docker type. "immutableTags": True or False, # The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created. }, @@ -705,7 +705,7 @@Method Details
"cleanupPolicyDryRun": True or False, # Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository. "createTime": "A String", # Output only. The time when the repository was created. "description": "A String", # The user-provided description of the repository. - "disallowUnspecifiedMode": True or False, # Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers. + "disallowUnspecifiedMode": True or False, # Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard. "dockerConfig": { # DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type. # Docker repository config contains repository level configuration for the repositories of docker type. "immutableTags": True or False, # The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created. }, @@ -826,7 +826,7 @@Method Details
"cleanupPolicyDryRun": True or False, # Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository. "createTime": "A String", # Output only. The time when the repository was created. "description": "A String", # The user-provided description of the repository. - "disallowUnspecifiedMode": True or False, # Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers. + "disallowUnspecifiedMode": True or False, # Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard. "dockerConfig": { # DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type. # Docker repository config contains repository level configuration for the repositories of docker type. "immutableTags": True or False, # The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created. }, diff --git a/docs/dyn/batch_v1.projects.locations.jobs.html b/docs/dyn/batch_v1.projects.locations.jobs.html index c6e3f08d565..6394aacfa8d 100644 --- a/docs/dyn/batch_v1.projects.locations.jobs.html +++ b/docs/dyn/batch_v1.projects.locations.jobs.html @@ -116,7 +116,7 @@Method Details
"allocationPolicy": { # A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job. # Compute resource allocation for all TaskGroups in the Job. "instances": [ # Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now. { # InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include optional VM resources such as GPUs and extra disks. - "installGpuDrivers": True or False, # Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. + "installGpuDrivers": True or False, # Set this field true if you want Batch to help fetch drivers from a third party location and install them for GPUs specified in `policy.accelerators` or `instance_template` on your behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. "instanceTemplate": "A String", # Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict. "policy": { # InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy. # InstancePolicy. "accelerators": [ # The accelerators attached to each VM instance. @@ -216,7 +216,7 @@Method Details
"description": "A String", # Description of the event. "eventTime": "A String", # The time this event occurred. "taskExecution": { # This Task Execution field includes detail information for task execution procedures, based on StatusEvent types. # Task Execution - "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: - Batch known failures as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable execution failures: You can rely on Batch logs for further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error caught for now. + "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: * Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error. }, "taskState": "A String", # Task State "type": "A String", # Type of the event. @@ -300,7 +300,7 @@Method Details
}, ], "maxRetryCount": 42, # Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10]. - "maxRunDuration": "A String", # Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999], + "maxRunDuration": "A String", # Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration. "runnables": [ # The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures. { # Runnable describes instructions for executing a specific script or container as part of a Task. "alwaysRun": True or False, # By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables. @@ -384,7 +384,7 @@Method Details
"allocationPolicy": { # A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job. # Compute resource allocation for all TaskGroups in the Job. "instances": [ # Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now. { # InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include optional VM resources such as GPUs and extra disks. - "installGpuDrivers": True or False, # Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. + "installGpuDrivers": True or False, # Set this field true if you want Batch to help fetch drivers from a third party location and install them for GPUs specified in `policy.accelerators` or `instance_template` on your behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. "instanceTemplate": "A String", # Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict. "policy": { # InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy. # InstancePolicy. "accelerators": [ # The accelerators attached to each VM instance. @@ -484,7 +484,7 @@Method Details
"description": "A String", # Description of the event. "eventTime": "A String", # The time this event occurred. "taskExecution": { # This Task Execution field includes detail information for task execution procedures, based on StatusEvent types. # Task Execution - "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: - Batch known failures as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable execution failures: You can rely on Batch logs for further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error caught for now. + "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: * Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error. }, "taskState": "A String", # Task State "type": "A String", # Type of the event. @@ -568,7 +568,7 @@Method Details
}, ], "maxRetryCount": 42, # Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10]. - "maxRunDuration": "A String", # Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999], + "maxRunDuration": "A String", # Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration. "runnables": [ # The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures. { # Runnable describes instructions for executing a specific script or container as part of a Task. "alwaysRun": True or False, # By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables. @@ -694,7 +694,7 @@Method Details
"allocationPolicy": { # A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job. # Compute resource allocation for all TaskGroups in the Job. "instances": [ # Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now. { # InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include optional VM resources such as GPUs and extra disks. - "installGpuDrivers": True or False, # Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. + "installGpuDrivers": True or False, # Set this field true if you want Batch to help fetch drivers from a third party location and install them for GPUs specified in `policy.accelerators` or `instance_template` on your behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. "instanceTemplate": "A String", # Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict. "policy": { # InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy. # InstancePolicy. "accelerators": [ # The accelerators attached to each VM instance. @@ -794,7 +794,7 @@Method Details
"description": "A String", # Description of the event. "eventTime": "A String", # The time this event occurred. "taskExecution": { # This Task Execution field includes detail information for task execution procedures, based on StatusEvent types. # Task Execution - "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: - Batch known failures as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable execution failures: You can rely on Batch logs for further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error caught for now. + "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: * Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error. }, "taskState": "A String", # Task State "type": "A String", # Type of the event. @@ -878,7 +878,7 @@Method Details
}, ], "maxRetryCount": 42, # Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10]. - "maxRunDuration": "A String", # Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999], + "maxRunDuration": "A String", # Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration. "runnables": [ # The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures. { # Runnable describes instructions for executing a specific script or container as part of a Task. "alwaysRun": True or False, # By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables. @@ -973,7 +973,7 @@Method Details
"allocationPolicy": { # A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job. # Compute resource allocation for all TaskGroups in the Job. "instances": [ # Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now. { # InstancePolicyOrTemplate lets you define the type of resources to use for this job either with an InstancePolicy or an instance template. If undefined, Batch picks the type of VM to use and doesn't include optional VM resources such as GPUs and extra disks. - "installGpuDrivers": True or False, # Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. + "installGpuDrivers": True or False, # Set this field true if you want Batch to help fetch drivers from a third party location and install them for GPUs specified in `policy.accelerators` or `instance_template` on your behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. "instanceTemplate": "A String", # Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict. "policy": { # InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy. # InstancePolicy. "accelerators": [ # The accelerators attached to each VM instance. @@ -1073,7 +1073,7 @@Method Details
"description": "A String", # Description of the event. "eventTime": "A String", # The time this event occurred. "taskExecution": { # This Task Execution field includes detail information for task execution procedures, based on StatusEvent types. # Task Execution - "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: - Batch known failures as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable execution failures: You can rely on Batch logs for further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error caught for now. + "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: * Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error. }, "taskState": "A String", # Task State "type": "A String", # Type of the event. @@ -1157,7 +1157,7 @@Method Details
}, ], "maxRetryCount": 42, # Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10]. - "maxRunDuration": "A String", # Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999], + "maxRunDuration": "A String", # Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration. "runnables": [ # The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures. { # Runnable describes instructions for executing a specific script or container as part of a Task. "alwaysRun": True or False, # By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables. diff --git a/docs/dyn/batch_v1.projects.locations.jobs.taskGroups.tasks.html b/docs/dyn/batch_v1.projects.locations.jobs.taskGroups.tasks.html index 629b4d62b3b..960050f9a90 100644 --- a/docs/dyn/batch_v1.projects.locations.jobs.taskGroups.tasks.html +++ b/docs/dyn/batch_v1.projects.locations.jobs.taskGroups.tasks.html @@ -115,7 +115,7 @@Method Details
"description": "A String", # Description of the event. "eventTime": "A String", # The time this event occurred. "taskExecution": { # This Task Execution field includes detail information for task execution procedures, based on StatusEvent types. # Task Execution - "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: - Batch known failures as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable execution failures: You can rely on Batch logs for further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error caught for now. + "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: * Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error. }, "taskState": "A String", # Task State "type": "A String", # Type of the event. @@ -154,7 +154,7 @@Method Details
"description": "A String", # Description of the event. "eventTime": "A String", # The time this event occurred. "taskExecution": { # This Task Execution field includes detail information for task execution procedures, based on StatusEvent types. # Task Execution - "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: - Batch known failures as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable execution failures: You can rely on Batch logs for further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error caught for now. + "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: * Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error. }, "taskState": "A String", # Task State "type": "A String", # Type of the event. diff --git a/docs/dyn/batch_v1.projects.locations.state.html b/docs/dyn/batch_v1.projects.locations.state.html index ef6e5ce3641..69dbc75cb30 100644 --- a/docs/dyn/batch_v1.projects.locations.state.html +++ b/docs/dyn/batch_v1.projects.locations.state.html @@ -112,7 +112,7 @@Method Details
"description": "A String", # Description of the event. "eventTime": "A String", # The time this event occurred. "taskExecution": { # This Task Execution field includes detail information for task execution procedures, based on StatusEvent types. # Task Execution - "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: - Batch known failures as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable execution failures: You can rely on Batch logs for further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error caught for now. + "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: * Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error. }, "taskState": "A String", # Task State "type": "A String", # Type of the event. @@ -134,6 +134,7 @@Method Details
"instance": "A String", # GCP instance name (go/instance-name). "instanceId": "A String", # GCP instance ID (go/instance-id). "instancePreemptionNoticeReceived": True or False, # If the GCP instance has received preemption notice. + "machineType": "A String", # Optional. machine type of the VM "osRelease": { # parsed contents of /etc/os-release "a_key": "A String", }, @@ -168,7 +169,7 @@Method Details
"a_key": "A String", }, }, - "maxRunDuration": "A String", # Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999], + "maxRunDuration": "A String", # Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration. "runnables": [ # AgentTaskRunnable is runanbles that will be executed on the agent. { # AgentTaskRunnable is the Runnable representation between Agent and CLH communication. "alwaysRun": True or False, # By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables. @@ -243,7 +244,7 @@Method Details
}, ], "maxRetryCount": 42, # Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10]. - "maxRunDuration": "A String", # Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999], + "maxRunDuration": "A String", # Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration. "runnables": [ # The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures. { # Runnable describes instructions for executing a specific script or container as part of a Task. "alwaysRun": True or False, # By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables. @@ -314,7 +315,7 @@Method Details
"description": "A String", # Description of the event. "eventTime": "A String", # The time this event occurred. "taskExecution": { # This Task Execution field includes detail information for task execution procedures, based on StatusEvent types. # Task Execution - "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: - Batch known failures as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable execution failures: You can rely on Batch logs for further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error caught for now. + "exitCode": 42, # The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: * Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error. }, "taskState": "A String", # Task State "type": "A String", # Type of the event. diff --git a/docs/dyn/beyondcorp_v1alpha.organizations.locations.subscriptions.html b/docs/dyn/beyondcorp_v1alpha.organizations.locations.subscriptions.html index 3db68158d2e..126274834d7 100644 --- a/docs/dyn/beyondcorp_v1alpha.organizations.locations.subscriptions.html +++ b/docs/dyn/beyondcorp_v1alpha.organizations.locations.subscriptions.html @@ -95,6 +95,9 @@Instance Methods
patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)Updates an existing BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization.
++
+restart(name, requestId=None, x__xgafv=None)Restarts an existing BeyondCorp Enterprise Subscription in a given organization, that is scheduled for cancellation. Location will always be global as BeyondCorp subscriptions are per organization. Returns the timestamp for when the cancellation will become effective
Method Details
+cancel(name, requestId=None, x__xgafv=None)@@ -288,4 +291,23 @@Method Details
}++restart(name, requestId=None, x__xgafv=None)+Restarts an existing BeyondCorp Enterprise Subscription in a given organization, that is scheduled for cancellation. Location will always be global as BeyondCorp subscriptions are per organization. Returns the timestamp for when the cancellation will become effective + +Args: + name: string, Required. Name of the resource. (required) + requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Response message for BeyondCorp.RestartSubscription +}+