Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of cloudresourcemanager v1beta1 client #1377

Merged
merged 1 commit into from
Nov 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24880,6 +24880,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
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/cloudresourcemanager_v1beta1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @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'
Expand Down
81 changes: 79 additions & 2 deletions generated/google/apis/cloudresourcemanager_v1beta1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ def update!(**args)
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
Expand Down Expand Up @@ -193,6 +192,84 @@ def update!(**args)
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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
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

Expand Down Expand Up @@ -202,6 +214,26 @@ class Representation < Google::Apis::Core::JsonRepresentation
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
"sha": "14885a31971894de4c45841c7b2623b8e6d8e748"
}
}
]
Expand Down