Skip to content

Commit

Permalink
feat(config): update the api
Browse files Browse the repository at this point in the history
#### config:v1

The following keys were added:
- schemas.Preview.properties.annotations (Total Keys: 2)
- schemas.Preview.properties.tfVersion (Total Keys: 3)
  • Loading branch information
yoshi-automation committed May 7, 2024
1 parent f79e1b0 commit 9dc826a
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/dyn/config_v1.projects.locations.deployments.html
Expand Up @@ -143,7 +143,7 @@ <h3>Method Details</h3>
The object takes the form of:

{ # A Deployment is a group of resources and configs managed and provisioned by Infra Manager.
&quot;annotations&quot;: { # 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.
&quot;annotations&quot;: { # 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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;artifactsGcsBucket&quot;: &quot;A String&quot;, # 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
Expand Down Expand Up @@ -371,7 +371,7 @@ <h3>Method Details</h3>
An object of the form:

{ # A Deployment is a group of resources and configs managed and provisioned by Infra Manager.
&quot;annotations&quot;: { # 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.
&quot;annotations&quot;: { # 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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;artifactsGcsBucket&quot;: &quot;A String&quot;, # 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
Expand Down Expand Up @@ -532,7 +532,7 @@ <h3>Method Details</h3>
{
&quot;deployments&quot;: [ # List of Deployments.
{ # A Deployment is a group of resources and configs managed and provisioned by Infra Manager.
&quot;annotations&quot;: { # 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.
&quot;annotations&quot;: { # 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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;artifactsGcsBucket&quot;: &quot;A String&quot;, # 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
Expand Down Expand Up @@ -669,7 +669,7 @@ <h3>Method Details</h3>
The object takes the form of:

{ # A Deployment is a group of resources and configs managed and provisioned by Infra Manager.
&quot;annotations&quot;: { # 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.
&quot;annotations&quot;: { # 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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;artifactsGcsBucket&quot;: &quot;A String&quot;, # 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
Expand Down
15 changes: 15 additions & 0 deletions docs/dyn/config_v1.projects.locations.previews.html
Expand Up @@ -111,6 +111,9 @@ <h3>Method Details</h3>
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.
&quot;annotations&quot;: { # 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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;artifactsGcsBucket&quot;: &quot;A String&quot;, # 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.
&quot;build&quot;: &quot;A String&quot;, # Output only. Cloud Build instance UUID associated with this preview.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time the preview was created.
Expand Down Expand Up @@ -167,6 +170,8 @@ <h3>Method Details</h3>
&quot;resourceAddress&quot;: &quot;A String&quot;, # Address of the resource associated with the error, e.g. `google_compute_network.vpc_network`.
},
],
&quot;tfVersion&quot;: &quot;A String&quot;, # Output only. The current Terraform version set on the preview. It is in the format of &quot;Major.Minor.Patch&quot;, for example, &quot;1.3.10&quot;.
&quot;tfVersionConstraint&quot;: &quot;A String&quot;, # Optional. The user-specified Terraform version constraint. Example: &quot;=1.3.10&quot;.
&quot;workerPool&quot;: &quot;A String&quot;, # 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.
}

Expand Down Expand Up @@ -280,6 +285,9 @@ <h3>Method Details</h3>
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.
&quot;annotations&quot;: { # 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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;artifactsGcsBucket&quot;: &quot;A String&quot;, # 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.
&quot;build&quot;: &quot;A String&quot;, # Output only. Cloud Build instance UUID associated with this preview.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time the preview was created.
Expand Down Expand Up @@ -336,6 +344,8 @@ <h3>Method Details</h3>
&quot;resourceAddress&quot;: &quot;A String&quot;, # Address of the resource associated with the error, e.g. `google_compute_network.vpc_network`.
},
],
&quot;tfVersion&quot;: &quot;A String&quot;, # Output only. The current Terraform version set on the preview. It is in the format of &quot;Major.Minor.Patch&quot;, for example, &quot;1.3.10&quot;.
&quot;tfVersionConstraint&quot;: &quot;A String&quot;, # Optional. The user-specified Terraform version constraint. Example: &quot;=1.3.10&quot;.
&quot;workerPool&quot;: &quot;A String&quot;, # 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.
}</pre>
</div>
Expand All @@ -362,6 +372,9 @@ <h3>Method Details</h3>
&quot;nextPageToken&quot;: &quot;A String&quot;, # Token to be supplied to the next ListPreviews request via `page_token` to obtain the next set of results.
&quot;previews&quot;: [ # 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.
&quot;annotations&quot;: { # 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.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;artifactsGcsBucket&quot;: &quot;A String&quot;, # 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.
&quot;build&quot;: &quot;A String&quot;, # Output only. Cloud Build instance UUID associated with this preview.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time the preview was created.
Expand Down Expand Up @@ -418,6 +431,8 @@ <h3>Method Details</h3>
&quot;resourceAddress&quot;: &quot;A String&quot;, # Address of the resource associated with the error, e.g. `google_compute_network.vpc_network`.
},
],
&quot;tfVersion&quot;: &quot;A String&quot;, # Output only. The current Terraform version set on the preview. It is in the format of &quot;Major.Minor.Patch&quot;, for example, &quot;1.3.10&quot;.
&quot;tfVersionConstraint&quot;: &quot;A String&quot;, # Optional. The user-specified Terraform version constraint. Example: &quot;=1.3.10&quot;.
&quot;workerPool&quot;: &quot;A String&quot;, # 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.
},
],
Expand Down
20 changes: 18 additions & 2 deletions googleapiclient/discovery_cache/documents/config.v1.json
Expand Up @@ -1187,7 +1187,7 @@
}
}
},
"revision": "20240410",
"revision": "20240424",
"rootUrl": "https://config.googleapis.com/",
"schemas": {
"ApplyResults": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 9dc826a

Please sign in to comment.