Skip to content

Commit

Permalink
feat(cloudresourcemanager): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Mar 14, 2024
1 parent ba88c53 commit de01fce
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 4 deletions.
9 changes: 8 additions & 1 deletion discovery/cloudresourcemanager-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@
}
}
},
"revision": "20240128",
"revision": "20240310",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"Ancestor": {
Expand Down Expand Up @@ -2074,6 +2074,13 @@
"description": "The number uniquely identifying the project. Example: `415104041262` Read-only.",
"format": "int64",
"type": "string"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"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.",
"type": "object"
}
},
"type": "object"
Expand Down
9 changes: 8 additions & 1 deletion discovery/cloudresourcemanager-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@
}
}
},
"revision": "20240128",
"revision": "20240310",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -738,6 +738,13 @@
"parent": {
"description": "Required. The Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.",
"type": "string"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"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.",
"type": "object"
}
},
"type": "object"
Expand Down
9 changes: 8 additions & 1 deletion discovery/cloudresourcemanager-v2beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@
}
}
},
"revision": "20240128",
"revision": "20240310",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -738,6 +738,13 @@
"parent": {
"description": "Required. The Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.",
"type": "string"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"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.",
"type": "object"
}
},
"type": "object"
Expand Down
16 changes: 15 additions & 1 deletion discovery/cloudresourcemanager-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@
}
}
},
"revision": "20240128",
"revision": "20240310",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -2142,6 +2142,13 @@
"readOnly": true,
"type": "string"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"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.",
"type": "object"
},
"updateTime": {
"description": "Output only. Timestamp when the folder was last modified.",
"format": "google-datetime",
Expand Down Expand Up @@ -2653,6 +2660,13 @@
"readOnly": true,
"type": "string"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"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.",
"type": "object"
},
"updateTime": {
"description": "Output only. The most recent time this resource was modified.",
"format": "google-datetime",
Expand Down
4 changes: 4 additions & 0 deletions src/apis/cloudresourcemanager/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,10 @@ export namespace cloudresourcemanager_v1 {
* The number uniquely identifying the project. Example: `415104041262` Read-only.
*/
projectNumber?: string | null;
/**
* 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.
*/
tags?: {[key: string]: string} | null;
}
/**
* 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.
Expand Down
4 changes: 4 additions & 0 deletions src/apis/cloudresourcemanager/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ export namespace cloudresourcemanager_v2 {
* Required. The Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.
*/
parent?: string | null;
/**
* 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.
*/
tags?: {[key: string]: string} | null;
}
/**
* Metadata describing a long running folder operation
Expand Down
4 changes: 4 additions & 0 deletions src/apis/cloudresourcemanager/v2beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ export namespace cloudresourcemanager_v2beta1 {
* Required. The Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.
*/
parent?: string | null;
/**
* 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.
*/
tags?: {[key: string]: string} | null;
}
/**
* Metadata describing a long running folder operation
Expand Down
8 changes: 8 additions & 0 deletions src/apis/cloudresourcemanager/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,10 @@ export namespace cloudresourcemanager_v3 {
* Output only. The lifecycle state of the folder. Updates to the state must be performed using DeleteFolder and UndeleteFolder.
*/
state?: string | null;
/**
* 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.
*/
tags?: {[key: string]: string} | null;
/**
* Output only. Timestamp when the folder was last modified.
*/
Expand Down Expand Up @@ -725,6 +729,10 @@ export namespace cloudresourcemanager_v3 {
* Output only. The project lifecycle state.
*/
state?: string | null;
/**
* 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.
*/
tags?: {[key: string]: string} | null;
/**
* Output only. The most recent time this resource was modified.
*/
Expand Down

0 comments on commit de01fce

Please sign in to comment.