From 9dc826a922d30d8be7cdbcb28f0ab6493facfdde Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 7 May 2024 07:12:03 +0000 Subject: [PATCH] feat(config): update the api #### config:v1 The following keys were added: - schemas.Preview.properties.annotations (Total Keys: 2) - schemas.Preview.properties.tfVersion (Total Keys: 3) --- ...fig_v1.projects.locations.deployments.html | 8 ++++---- ...config_v1.projects.locations.previews.html | 15 ++++++++++++++ .../discovery_cache/documents/config.v1.json | 20 +++++++++++++++++-- 3 files changed, 37 insertions(+), 6 deletions(-) diff --git a/docs/dyn/config_v1.projects.locations.deployments.html b/docs/dyn/config_v1.projects.locations.deployments.html index 44212776b3..3c7aab9d3a 100644 --- a/docs/dyn/config_v1.projects.locations.deployments.html +++ b/docs/dyn/config_v1.projects.locations.deployments.html @@ -143,7 +143,7 @@

Method Details

The object takes the form of: { # A Deployment is a group of resources and configs managed and provisioned by Infra Manager. - "annotations": { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. + "annotations": { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. "a_key": "A String", }, "artifactsGcsBucket": "A String", # Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presence @@ -371,7 +371,7 @@

Method Details

An object of the form: { # A Deployment is a group of resources and configs managed and provisioned by Infra Manager. - "annotations": { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. + "annotations": { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. "a_key": "A String", }, "artifactsGcsBucket": "A String", # Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presence @@ -532,7 +532,7 @@

Method Details

{ "deployments": [ # List of Deployments. { # A Deployment is a group of resources and configs managed and provisioned by Infra Manager. - "annotations": { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. + "annotations": { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. "a_key": "A String", }, "artifactsGcsBucket": "A String", # Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presence @@ -669,7 +669,7 @@

Method Details

The object takes the form of: { # A Deployment is a group of resources and configs managed and provisioned by Infra Manager. - "annotations": { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. + "annotations": { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. "a_key": "A String", }, "artifactsGcsBucket": "A String", # Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presence diff --git a/docs/dyn/config_v1.projects.locations.previews.html b/docs/dyn/config_v1.projects.locations.previews.html index 8ac2d5256c..176959165a 100644 --- a/docs/dyn/config_v1.projects.locations.previews.html +++ b/docs/dyn/config_v1.projects.locations.previews.html @@ -111,6 +111,9 @@

Method Details

The object takes the form of: { # A preview represents a set of actions Infra Manager would perform to move the resources towards the desired state as specified in the configuration. + "annotations": { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. + "a_key": "A String", + }, "artifactsGcsBucket": "A String", # Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used. "build": "A String", # Output only. Cloud Build instance UUID associated with this preview. "createTime": "A String", # Output only. Time the preview was created. @@ -167,6 +170,8 @@

Method Details

"resourceAddress": "A String", # Address of the resource associated with the error, e.g. `google_compute_network.vpc_network`. }, ], + "tfVersion": "A String", # Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10". + "tfVersionConstraint": "A String", # Optional. The user-specified Terraform version constraint. Example: "=1.3.10". "workerPool": "A String", # Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used. } @@ -280,6 +285,9 @@

Method Details

An object of the form: { # A preview represents a set of actions Infra Manager would perform to move the resources towards the desired state as specified in the configuration. + "annotations": { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. + "a_key": "A String", + }, "artifactsGcsBucket": "A String", # Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used. "build": "A String", # Output only. Cloud Build instance UUID associated with this preview. "createTime": "A String", # Output only. Time the preview was created. @@ -336,6 +344,8 @@

Method Details

"resourceAddress": "A String", # Address of the resource associated with the error, e.g. `google_compute_network.vpc_network`. }, ], + "tfVersion": "A String", # Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10". + "tfVersionConstraint": "A String", # Optional. The user-specified Terraform version constraint. Example: "=1.3.10". "workerPool": "A String", # Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used. } @@ -362,6 +372,9 @@

Method Details

"nextPageToken": "A String", # Token to be supplied to the next ListPreviews request via `page_token` to obtain the next set of results. "previews": [ # List of Previewss. { # A preview represents a set of actions Infra Manager would perform to move the resources towards the desired state as specified in the configuration. + "annotations": { # Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. + "a_key": "A String", + }, "artifactsGcsBucket": "A String", # Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used. "build": "A String", # Output only. Cloud Build instance UUID associated with this preview. "createTime": "A String", # Output only. Time the preview was created. @@ -418,6 +431,8 @@

Method Details

"resourceAddress": "A String", # Address of the resource associated with the error, e.g. `google_compute_network.vpc_network`. }, ], + "tfVersion": "A String", # Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10". + "tfVersionConstraint": "A String", # Optional. The user-specified Terraform version constraint. Example: "=1.3.10". "workerPool": "A String", # Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used. }, ], diff --git a/googleapiclient/discovery_cache/documents/config.v1.json b/googleapiclient/discovery_cache/documents/config.v1.json index 1d1ca998aa..a810a1b97c 100644 --- a/googleapiclient/discovery_cache/documents/config.v1.json +++ b/googleapiclient/discovery_cache/documents/config.v1.json @@ -1187,7 +1187,7 @@ } } }, -"revision": "20240410", +"revision": "20240424", "rootUrl": "https://config.googleapis.com/", "schemas": { "ApplyResults": { @@ -1308,7 +1308,7 @@ "additionalProperties": { "type": "string" }, -"description": "Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.", +"description": "Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.", "type": "object" }, "artifactsGcsBucket": { @@ -1996,6 +1996,13 @@ "description": "A preview represents a set of actions Infra Manager would perform to move the resources towards the desired state as specified in the configuration.", "id": "Preview", "properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.", +"type": "object" +}, "artifactsGcsBucket": { "description": "Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used.", "type": "string" @@ -2124,6 +2131,15 @@ "readOnly": true, "type": "array" }, +"tfVersion": { +"description": "Output only. The current Terraform version set on the preview. It is in the format of \"Major.Minor.Patch\", for example, \"1.3.10\".", +"readOnly": true, +"type": "string" +}, +"tfVersionConstraint": { +"description": "Optional. The user-specified Terraform version constraint. Example: \"=1.3.10\".", +"type": "string" +}, "workerPool": { "description": "Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used.", "type": "string"