Skip to content

Commit de01fce

Browse files
yoshi-automationsofisl
authored andcommitted
feat(cloudresourcemanager): update the API
#### cloudresourcemanager:v2beta1 The following keys were added: - schemas.Folder.properties.tags.additionalProperties.type - schemas.Folder.properties.tags.description - schemas.Folder.properties.tags.type #### cloudresourcemanager:v1 The following keys were added: - schemas.Project.properties.tags.additionalProperties.type - schemas.Project.properties.tags.description - schemas.Project.properties.tags.type #### cloudresourcemanager:v2 The following keys were added: - schemas.Folder.properties.tags.additionalProperties.type - schemas.Folder.properties.tags.description - schemas.Folder.properties.tags.type #### cloudresourcemanager:v3 The following keys were added: - schemas.Folder.properties.tags.additionalProperties.type - schemas.Folder.properties.tags.description - schemas.Folder.properties.tags.type - schemas.Project.properties.tags.additionalProperties.type - schemas.Project.properties.tags.description - schemas.Project.properties.tags.type
1 parent ba88c53 commit de01fce

File tree

8 files changed

+59
-4
lines changed

8 files changed

+59
-4
lines changed

discovery/cloudresourcemanager-v1.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@
11711171
}
11721172
}
11731173
},
1174-
"revision": "20240128",
1174+
"revision": "20240310",
11751175
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
11761176
"schemas": {
11771177
"Ancestor": {
@@ -2074,6 +2074,13 @@
20742074
"description": "The number uniquely identifying the project. Example: `415104041262` Read-only.",
20752075
"format": "int64",
20762076
"type": "string"
2077+
},
2078+
"tags": {
2079+
"additionalProperties": {
2080+
"type": "string"
2081+
},
2082+
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this project. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.",
2083+
"type": "object"
20772084
}
20782085
},
20792086
"type": "object"

discovery/cloudresourcemanager-v2.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@
450450
}
451451
}
452452
},
453-
"revision": "20240128",
453+
"revision": "20240310",
454454
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
455455
"schemas": {
456456
"AuditConfig": {
@@ -738,6 +738,13 @@
738738
"parent": {
739739
"description": "Required. The Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.",
740740
"type": "string"
741+
},
742+
"tags": {
743+
"additionalProperties": {
744+
"type": "string"
745+
},
746+
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.",
747+
"type": "object"
741748
}
742749
},
743750
"type": "object"

discovery/cloudresourcemanager-v2beta1.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@
450450
}
451451
}
452452
},
453-
"revision": "20240128",
453+
"revision": "20240310",
454454
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
455455
"schemas": {
456456
"AuditConfig": {
@@ -738,6 +738,13 @@
738738
"parent": {
739739
"description": "Required. The Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.",
740740
"type": "string"
741+
},
742+
"tags": {
743+
"additionalProperties": {
744+
"type": "string"
745+
},
746+
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.",
747+
"type": "object"
741748
}
742749
},
743750
"type": "object"

discovery/cloudresourcemanager-v3.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1805,7 +1805,7 @@
18051805
}
18061806
}
18071807
},
1808-
"revision": "20240128",
1808+
"revision": "20240310",
18091809
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
18101810
"schemas": {
18111811
"AuditConfig": {
@@ -2142,6 +2142,13 @@
21422142
"readOnly": true,
21432143
"type": "string"
21442144
},
2145+
"tags": {
2146+
"additionalProperties": {
2147+
"type": "string"
2148+
},
2149+
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.",
2150+
"type": "object"
2151+
},
21452152
"updateTime": {
21462153
"description": "Output only. Timestamp when the folder was last modified.",
21472154
"format": "google-datetime",
@@ -2653,6 +2660,13 @@
26532660
"readOnly": true,
26542661
"type": "string"
26552662
},
2663+
"tags": {
2664+
"additionalProperties": {
2665+
"type": "string"
2666+
},
2667+
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this project. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.",
2668+
"type": "object"
2669+
},
26562670
"updateTime": {
26572671
"description": "Output only. The most recent time this resource was modified.",
26582672
"format": "google-datetime",

src/apis/cloudresourcemanager/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,10 @@ export namespace cloudresourcemanager_v1 {
766766
* The number uniquely identifying the project. Example: `415104041262` Read-only.
767767
*/
768768
projectNumber?: string | null;
769+
/**
770+
* Optional. Input only. Immutable. Tag keys/values directly bound to this project. Each item in the map must be expressed as " : ". For example: "123/environment" : "production", "123/costCenter" : "marketing" Note: Currently this field is in Preview.
771+
*/
772+
tags?: {[key: string]: string} | null;
769773
}
770774
/**
771775
* A status object which is used as the `metadata` field for the Operation returned by CreateProject. It provides insight for when significant phases of Project creation have completed.

src/apis/cloudresourcemanager/v2.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ export namespace cloudresourcemanager_v2 {
322322
* Required. The Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.
323323
*/
324324
parent?: string | null;
325+
/**
326+
* Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as " : ". For example: "123/environment" : "production", "123/costCenter" : "marketing" Note: Currently this field is in Preview.
327+
*/
328+
tags?: {[key: string]: string} | null;
325329
}
326330
/**
327331
* Metadata describing a long running folder operation

src/apis/cloudresourcemanager/v2beta1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ export namespace cloudresourcemanager_v2beta1 {
322322
* Required. The Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.
323323
*/
324324
parent?: string | null;
325+
/**
326+
* Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as " : ". For example: "123/environment" : "production", "123/costCenter" : "marketing" Note: Currently this field is in Preview.
327+
*/
328+
tags?: {[key: string]: string} | null;
325329
}
326330
/**
327331
* Metadata describing a long running folder operation

src/apis/cloudresourcemanager/v3.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,10 @@ export namespace cloudresourcemanager_v3 {
377377
* Output only. The lifecycle state of the folder. Updates to the state must be performed using DeleteFolder and UndeleteFolder.
378378
*/
379379
state?: string | null;
380+
/**
381+
* Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as " : ". For example: "123/environment" : "production", "123/costCenter" : "marketing" Note: Currently this field is in Preview.
382+
*/
383+
tags?: {[key: string]: string} | null;
380384
/**
381385
* Output only. Timestamp when the folder was last modified.
382386
*/
@@ -725,6 +729,10 @@ export namespace cloudresourcemanager_v3 {
725729
* Output only. The project lifecycle state.
726730
*/
727731
state?: string | null;
732+
/**
733+
* Optional. Input only. Immutable. Tag keys/values directly bound to this project. Each item in the map must be expressed as " : ". For example: "123/environment" : "production", "123/costCenter" : "marketing" Note: Currently this field is in Preview.
734+
*/
735+
tags?: {[key: string]: string} | null;
728736
/**
729737
* Output only. The most recent time this resource was modified.
730738
*/

0 commit comments

Comments
 (0)