Skip to content

Commit 9b84ffc

Browse files
feat(assuredworkloads): update the api
#### assuredworkloads:v1 The following keys were added: - schemas.GoogleCloudAssuredworkloadsV1WorkloadResourceSettings.properties.displayName.type (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata.properties.resourceSettings (Total Keys: 2) - schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings.properties.displayName.type (Total Keys: 1)
1 parent 7dd722f commit 9b84ffc

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

‎docs/dyn/assuredworkloads_v1.organizations.locations.workloads.html‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ <h3>Method Details</h3>
127127
&quot;provisionedResourcesParent&quot;: &quot;A String&quot;, # Input only. The parent resource for the resources managed by this Assured Workload. May be either an organization or a folder. Must be the same or a child of the Workload parent. If not specified all resources are created under the Workload parent. Formats: folders/{folder_id} organizations/{organization_id}
128128
&quot;resourceSettings&quot;: [ # Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
129129
{ # Represent the custom settings for the resources to be created.
130+
&quot;displayName&quot;: &quot;A String&quot;, # User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
130131
&quot;resourceId&quot;: &quot;A String&quot;, # Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.
131132
&quot;resourceType&quot;: &quot;A String&quot;, # Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
132133
},
@@ -219,6 +220,7 @@ <h3>Method Details</h3>
219220
&quot;provisionedResourcesParent&quot;: &quot;A String&quot;, # Input only. The parent resource for the resources managed by this Assured Workload. May be either an organization or a folder. Must be the same or a child of the Workload parent. If not specified all resources are created under the Workload parent. Formats: folders/{folder_id} organizations/{organization_id}
220221
&quot;resourceSettings&quot;: [ # Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
221222
{ # Represent the custom settings for the resources to be created.
223+
&quot;displayName&quot;: &quot;A String&quot;, # User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
222224
&quot;resourceId&quot;: &quot;A String&quot;, # Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.
223225
&quot;resourceType&quot;: &quot;A String&quot;, # Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
224226
},
@@ -269,6 +271,7 @@ <h3>Method Details</h3>
269271
&quot;provisionedResourcesParent&quot;: &quot;A String&quot;, # Input only. The parent resource for the resources managed by this Assured Workload. May be either an organization or a folder. Must be the same or a child of the Workload parent. If not specified all resources are created under the Workload parent. Formats: folders/{folder_id} organizations/{organization_id}
270272
&quot;resourceSettings&quot;: [ # Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
271273
{ # Represent the custom settings for the resources to be created.
274+
&quot;displayName&quot;: &quot;A String&quot;, # User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
272275
&quot;resourceId&quot;: &quot;A String&quot;, # Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.
273276
&quot;resourceType&quot;: &quot;A String&quot;, # Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
274277
},
@@ -324,6 +327,7 @@ <h3>Method Details</h3>
324327
&quot;provisionedResourcesParent&quot;: &quot;A String&quot;, # Input only. The parent resource for the resources managed by this Assured Workload. May be either an organization or a folder. Must be the same or a child of the Workload parent. If not specified all resources are created under the Workload parent. Formats: folders/{folder_id} organizations/{organization_id}
325328
&quot;resourceSettings&quot;: [ # Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
326329
{ # Represent the custom settings for the resources to be created.
330+
&quot;displayName&quot;: &quot;A String&quot;, # User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
327331
&quot;resourceId&quot;: &quot;A String&quot;, # Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.
328332
&quot;resourceType&quot;: &quot;A String&quot;, # Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
329333
},
@@ -362,6 +366,7 @@ <h3>Method Details</h3>
362366
&quot;provisionedResourcesParent&quot;: &quot;A String&quot;, # Input only. The parent resource for the resources managed by this Assured Workload. May be either an organization or a folder. Must be the same or a child of the Workload parent. If not specified all resources are created under the Workload parent. Formats: folders/{folder_id} organizations/{organization_id}
363367
&quot;resourceSettings&quot;: [ # Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
364368
{ # Represent the custom settings for the resources to be created.
369+
&quot;displayName&quot;: &quot;A String&quot;, # User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
365370
&quot;resourceId&quot;: &quot;A String&quot;, # Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.
366371
&quot;resourceType&quot;: &quot;A String&quot;, # Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
367372
},

‎googleapiclient/discovery_cache/documents/assuredworkloads.v1.json‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
}
352352
}
353353
},
354-
"revision": "20210429",
354+
"revision": "20210506",
355355
"rootUrl": "https://assuredworkloads.googleapis.com/",
356356
"schemas": {
357357
"GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata": {
@@ -548,6 +548,10 @@
548548
"description": "Represent the custom settings for the resources to be created.",
549549
"id": "GoogleCloudAssuredworkloadsV1WorkloadResourceSettings",
550550
"properties": {
551+
"displayName": {
552+
"description": "User-assigned resource display name. If not empty it will be used to create a resource with the specified name.",
553+
"type": "string"
554+
},
551555
"resourceId": {
552556
"description": "Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.",
553557
"type": "string"
@@ -611,6 +615,13 @@
611615
"parent": {
612616
"description": "Optional. The parent of the workload.",
613617
"type": "string"
618+
},
619+
"resourceSettings": {
620+
"description": "Optional. Resource properties in the input that are used for creating/customizing workload resources.",
621+
"items": {
622+
"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings"
623+
},
624+
"type": "array"
614625
}
615626
},
616627
"type": "object"
@@ -807,6 +818,10 @@
807818
"description": "Represent the custom settings for the resources to be created.",
808819
"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings",
809820
"properties": {
821+
"displayName": {
822+
"description": "User-assigned resource display name. If not empty it will be used to create a resource with the specified name.",
823+
"type": "string"
824+
},
810825
"resourceId": {
811826
"description": "Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.",
812827
"type": "string"

0 commit comments

Comments
 (0)