diff --git a/api_names_out.yaml b/api_names_out.yaml index d405f3d47..227848774 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -14584,6 +14584,7 @@ "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/labels": labels "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/labels/label": label "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/name": name +"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/provisionedResourcesParent": provisioned_resources_parent "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/resources": resources "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1Workload/resources/resource": resource "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1WorkloadCJISSettings": google_cloud_assuredworkloads_v1_workload_cjis_settings @@ -14622,6 +14623,7 @@ "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1Workload/labels": labels "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1Workload/labels/label": label "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1Workload/name": name +"/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1Workload/provisionedResourcesParent": provisioned_resources_parent "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1Workload/resources": resources "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1Workload/resources/resource": resource "/assuredworkloads:v1beta1/GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings": google_cloud_assuredworkloads_v1beta1_workload_cjis_settings diff --git a/generated/google/apis/assuredworkloads_v1beta1.rb b/generated/google/apis/assuredworkloads_v1beta1.rb index 84d5bf556..3b268b7b4 100644 --- a/generated/google/apis/assuredworkloads_v1beta1.rb +++ b/generated/google/apis/assuredworkloads_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com module AssuredworkloadsV1beta1 VERSION = 'V1beta1' - REVISION = '20201029' + REVISION = '20201105' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/assuredworkloads_v1beta1/classes.rb b/generated/google/apis/assuredworkloads_v1beta1/classes.rb index 092b175fc..1a40b80b4 100644 --- a/generated/google/apis/assuredworkloads_v1beta1/classes.rb +++ b/generated/google/apis/assuredworkloads_v1beta1/classes.rb @@ -123,15 +123,20 @@ module Google attr_accessor :labels # Optional. The resource name of the workload. Format: organizations/` - # organization`/locations/`location`/workloads/`workload` Read-only. The UI - # extracts the location and workload name from this string, since they aren't - # set directly on the workload object. If the format of this field changes, the - # UI should likely be updated. LINT.IfChange LINT.ThenChange(//depot/google3/ - # cloud/console/web/compliance/assurant/common/workload_helper.ts) + # organization`/locations/`location`/workloads/`workload` Read-only. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # 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` + # Corresponds to the JSON property `provisionedResourcesParent` + # @return [String] + attr_accessor :provisioned_resources_parent + # Output only. The resources associated with this workload. These resources will # be created when creating the workload. If any of the projects already exist, # the workload creation will fail. Always read only. @@ -156,6 +161,7 @@ module Google @il4_settings = args[:il4_settings] if args.key?(:il4_settings) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) + @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent) @resources = args[:resources] if args.key?(:resources) end end @@ -416,15 +422,20 @@ module Google attr_accessor :labels # Optional. The resource name of the workload. Format: organizations/` - # organization`/locations/`location`/workloads/`workload` Read-only. The UI - # extracts the location and workload name from this string, since they aren't - # set directly on the workload object. If the format of this field changes, the - # UI should likely be updated. LINT.IfChange LINT.ThenChange(//depot/google3/ - # cloud/console/web/compliance/assurant/common/workload_helper.ts) + # organization`/locations/`location`/workloads/`workload` Read-only. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # 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` + # Corresponds to the JSON property `provisionedResourcesParent` + # @return [String] + attr_accessor :provisioned_resources_parent + # Output only. The resources associated with this workload. These resources will # be created when creating the workload. If any of the projects already exist, # the workload creation will fail. Always read only. @@ -449,6 +460,7 @@ module Google @il4_settings = args[:il4_settings] if args.key?(:il4_settings) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) + @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent) @resources = args[:resources] if args.key?(:resources) end end diff --git a/generated/google/apis/assuredworkloads_v1beta1/representations.rb b/generated/google/apis/assuredworkloads_v1beta1/representations.rb index b6bf75295..876bc7897 100644 --- a/generated/google/apis/assuredworkloads_v1beta1/representations.rb +++ b/generated/google/apis/assuredworkloads_v1beta1/representations.rb @@ -176,6 +176,7 @@ module Google hash :labels, as: 'labels' property :name, as: 'name' + property :provisioned_resources_parent, as: 'provisionedResourcesParent' collection :resources, as: 'resources', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo::Representation end @@ -266,6 +267,7 @@ module Google hash :labels, as: 'labels' property :name, as: 'name' + property :provisioned_resources_parent, as: 'provisionedResourcesParent' collection :resources, as: 'resources', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo::Representation end diff --git a/generated/google/apis/assuredworkloads_v1beta1/service.rb b/generated/google/apis/assuredworkloads_v1beta1/service.rb index e8f709ac1..a0fdd05be 100644 --- a/generated/google/apis/assuredworkloads_v1beta1/service.rb +++ b/generated/google/apis/assuredworkloads_v1beta1/service.rb @@ -282,11 +282,7 @@ module Google # Workload. Only one update operation per workload can be in progress. # @param [String] name # Optional. The resource name of the workload. Format: organizations/` - # organization`/locations/`location`/workloads/`workload` Read-only. The UI - # extracts the location and workload name from this string, since they aren't - # set directly on the workload object. If the format of this field changes, the - # UI should likely be updated. LINT.IfChange LINT.ThenChange(//depot/google3/ - # cloud/console/web/compliance/assurant/common/workload_helper.ts) + # organization`/locations/`location`/workloads/`workload` Read-only. # @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload] google_cloud_assuredworkloads_v1beta1_workload_object # @param [String] update_mask # Required. The list of fields to be updated. diff --git a/generated/google/apis/assuredworkloads_v1beta1/synth.metadata b/generated/google/apis/assuredworkloads_v1beta1/synth.metadata index eea78d816..1f8508191 100644 --- a/generated/google/apis/assuredworkloads_v1beta1/synth.metadata +++ b/generated/google/apis/assuredworkloads_v1beta1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "d99b4075b0c4b6f712495b22315268d5f28038c0" + "sha": "0ba45b6d22f2eced00e873b91fc685285919d4ff" } } ]