diff --git a/api_names_out.yaml b/api_names_out.yaml index 6fbb271e1..82961092e 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -24885,6 +24885,16 @@ "/cloudresourcemanager:v1beta1/Binding/members": members "/cloudresourcemanager:v1beta1/Binding/members/member": member "/cloudresourcemanager:v1beta1/Binding/role": role +"/cloudresourcemanager:v1beta1/CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation": cloudresourcemanager_google_cloud_resourcemanager_v2alpha1_folder_operation +"/cloudresourcemanager:v1beta1/CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation/destinationParent": destination_parent +"/cloudresourcemanager:v1beta1/CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation/displayName": display_name +"/cloudresourcemanager:v1beta1/CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation/operationType": operation_type +"/cloudresourcemanager:v1beta1/CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation/sourceParent": source_parent +"/cloudresourcemanager:v1beta1/CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation": cloudresourcemanager_google_cloud_resourcemanager_v2beta1_folder_operation +"/cloudresourcemanager:v1beta1/CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation/destinationParent": destination_parent +"/cloudresourcemanager:v1beta1/CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation/displayName": display_name +"/cloudresourcemanager:v1beta1/CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation/operationType": operation_type +"/cloudresourcemanager:v1beta1/CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation/sourceParent": source_parent "/cloudresourcemanager:v1beta1/Empty": empty "/cloudresourcemanager:v1beta1/Expr": expr "/cloudresourcemanager:v1beta1/Expr/description": description diff --git a/generated/google/apis/cloudresourcemanager_v1beta1.rb b/generated/google/apis/cloudresourcemanager_v1beta1.rb index e4d31c74d..fbe36f3d0 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/resource-manager module CloudresourcemanagerV1beta1 VERSION = 'V1beta1' - REVISION = '20200921' + REVISION = '20201027' # 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/cloudresourcemanager_v1beta1/classes.rb b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb index 9f10f2812..a1b05f49e 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb @@ -119,8 +119,7 @@ module Google class Binding include Google::Apis::Core::Hashable - # A client-specified ID for this binding. Expected to be globally unique to - # support the internal bindings-by-ID API. + # # Corresponds to the JSON property `bindingId` # @return [String] attr_accessor :binding_id @@ -193,6 +192,84 @@ module Google end end + # Metadata describing a long running folder operation + class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation + include Google::Apis::Core::Hashable + + # The resource name of the folder or organization we are either creating the + # folder under or moving the folder to. + # Corresponds to the JSON property `destinationParent` + # @return [String] + attr_accessor :destination_parent + + # The display name of the folder. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The type of this operation. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # The resource name of the folder's parent. Only applicable when the + # operation_type is MOVE. + # Corresponds to the JSON property `sourceParent` + # @return [String] + attr_accessor :source_parent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destination_parent = args[:destination_parent] if args.key?(:destination_parent) + @display_name = args[:display_name] if args.key?(:display_name) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @source_parent = args[:source_parent] if args.key?(:source_parent) + end + end + + # Metadata describing a long running folder operation + class CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation + include Google::Apis::Core::Hashable + + # The resource name of the folder or organization we are either creating the + # folder under or moving the folder to. + # Corresponds to the JSON property `destinationParent` + # @return [String] + attr_accessor :destination_parent + + # The display name of the folder. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The type of this operation. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # The resource name of the folder's parent. Only applicable when the + # operation_type is MOVE. + # Corresponds to the JSON property `sourceParent` + # @return [String] + attr_accessor :source_parent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destination_parent = args[:destination_parent] if args.key?(:destination_parent) + @display_name = args[:display_name] if args.key?(:display_name) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @source_parent = args[:source_parent] if args.key?(:source_parent) + end + end + # A generic empty message that you can re-use to avoid defining duplicated empty # messages in your APIs. A typical example is to use it as the request or the # response type of an API method. For instance: service Foo ` rpc Bar(google. diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb b/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb index 9a4b4604e..0ff95dac5 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb @@ -46,6 +46,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end @@ -202,6 +214,26 @@ module Google end end + class CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination_parent, as: 'destinationParent' + property :display_name, as: 'displayName' + property :operation_type, as: 'operationType' + property :source_parent, as: 'sourceParent' + end + end + + class CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination_parent, as: 'destinationParent' + property :display_name, as: 'displayName' + property :operation_type, as: 'operationType' + property :source_parent, as: 'sourceParent' + end + end + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/synth.metadata b/generated/google/apis/cloudresourcemanager_v1beta1/synth.metadata index 429012f74..bfdcc4715 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/synth.metadata +++ b/generated/google/apis/cloudresourcemanager_v1beta1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" + "sha": "14885a31971894de4c45841c7b2623b8e6d8e748" } } ]