Skip to content

Commit

Permalink
feat(assuredworkloads): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed May 15, 2021
1 parent 7dd722f commit 9b84ffc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ <h3>Method Details</h3>
&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}
&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.
{ # Represent the custom settings for the resources to be created.
&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.
&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.
&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)
},
Expand Down Expand Up @@ -219,6 +220,7 @@ <h3>Method Details</h3>
&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}
&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.
{ # Represent the custom settings for the resources to be created.
&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.
&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.
&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)
},
Expand Down Expand Up @@ -269,6 +271,7 @@ <h3>Method Details</h3>
&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}
&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.
{ # Represent the custom settings for the resources to be created.
&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.
&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.
&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)
},
Expand Down Expand Up @@ -324,6 +327,7 @@ <h3>Method Details</h3>
&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}
&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.
{ # Represent the custom settings for the resources to be created.
&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.
&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.
&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)
},
Expand Down Expand Up @@ -362,6 +366,7 @@ <h3>Method Details</h3>
&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}
&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.
{ # Represent the custom settings for the resources to be created.
&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.
&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.
&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)
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@
}
}
},
"revision": "20210429",
"revision": "20210506",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata": {
Expand Down Expand Up @@ -548,6 +548,10 @@
"description": "Represent the custom settings for the resources to be created.",
"id": "GoogleCloudAssuredworkloadsV1WorkloadResourceSettings",
"properties": {
"displayName": {
"description": "User-assigned resource display name. If not empty it will be used to create a resource with the specified name.",
"type": "string"
},
"resourceId": {
"description": "Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.",
"type": "string"
Expand Down Expand Up @@ -611,6 +615,13 @@
"parent": {
"description": "Optional. The parent of the workload.",
"type": "string"
},
"resourceSettings": {
"description": "Optional. Resource properties in the input that are used for creating/customizing workload resources.",
"items": {
"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -807,6 +818,10 @@
"description": "Represent the custom settings for the resources to be created.",
"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings",
"properties": {
"displayName": {
"description": "User-assigned resource display name. If not empty it will be used to create a resource with the specified name.",
"type": "string"
},
"resourceId": {
"description": "Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.",
"type": "string"
Expand Down

0 comments on commit 9b84ffc

Please sign in to comment.