generated/google/apis/cloudresourcemanager_v2/classes.rb in google-api-client-0.49.0 vs generated/google/apis/cloudresourcemanager_v2/classes.rb in google-api-client-0.50.0

- old
+ new

@@ -95,15 +95,10 @@ # Associates `members` with a `role`. class Binding include Google::Apis::Core::Hashable - # - # Corresponds to the JSON property `bindingId` - # @return [String] - attr_accessor :binding_id - # Represents a textual expression in the Common Expression Language (CEL) syntax. # CEL is a C-like expression language. The syntax and semantics of CEL are # documented at https://github.com/google/cel-spec. Example (Comparison): title: # "Summary size limit" description: "Determines if a summary is less than 100 # chars" expression: "document.summary.size() < 100" Example (Equality): title: " @@ -161,11 +156,10 @@ update!(**args) end # Update properties of this object def update!(**args) - @binding_id = args[:binding_id] if args.key?(:binding_id) @condition = args[:condition] if args.key?(:condition) @members = args[:members] if args.key?(:members) @role = args[:role] if args.key?(:role) end end @@ -246,10 +240,166 @@ @operation_type = args[:operation_type] if args.key?(:operation_type) @source_parent = args[:source_parent] if args.key?(:source_parent) end end + # Metadata pertaining to the Folder creation process. + class CreateFolderMetadata + include Google::Apis::Core::Hashable + + # The display name of the folder. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The resource name of the folder or organization we are creating the folder + # under. + # Corresponds to the JSON property `parent` + # @return [String] + attr_accessor :parent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @parent = args[:parent] if args.key?(:parent) + end + end + + # A status object which is used as the `metadata` field for the Operation + # returned by CreateProject. It provides insight for when significant phases of + # Project creation have completed. + class CreateProjectMetadata + include Google::Apis::Core::Hashable + + # Creation time of the project creation workflow. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # True if the project can be retrieved using GetProject. No other operations on + # the project are guaranteed to work until the project creation is complete. + # Corresponds to the JSON property `gettable` + # @return [Boolean] + attr_accessor :gettable + alias_method :gettable?, :gettable + + # True if the project creation process is complete. + # Corresponds to the JSON property `ready` + # @return [Boolean] + attr_accessor :ready + alias_method :ready?, :ready + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @gettable = args[:gettable] if args.key?(:gettable) + @ready = args[:ready] if args.key?(:ready) + end + end + + # Runtime operation information for creating a TagKey. + class CreateTagKeyMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Runtime operation information for creating a TagValue. + class CreateTagValueMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A status object which is used as the `metadata` field for the Operation + # returned by DeleteFolder. + class DeleteFolderMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A status object which is used as the `metadata` field for the Operation + # returned by DeleteOrganization. + class DeleteOrganizationMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A status object which is used as the `metadata` field for the Operation + # returned by DeleteProject. + class DeleteProjectMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Runtime operation information for deleting a TagKey. + class DeleteTagKeyMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Runtime operation information for deleting a TagValue. + class DeleteTagValueMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Represents a textual expression in the Common Expression Language (CEL) syntax. # CEL is a C-like expression language. The syntax and semantics of CEL are # documented at https://github.com/google/cel-spec. Example (Comparison): title: # "Summary size limit" description: "Determines if a summary is less than 100 # chars" expression: "document.summary.size() < 100" Example (Equality): title: " @@ -481,10 +631,41 @@ @folders = args[:folders] if args.key?(:folders) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end + # Metadata pertaining to the Folder move process. + class MoveFolderMetadata + include Google::Apis::Core::Hashable + + # The resource name of the folder or organization to move 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 resource name of the folder's parent. + # 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) + @source_parent = args[:source_parent] if args.key?(:source_parent) + end + end + # The MoveFolder request message. class MoveFolderRequest include Google::Apis::Core::Hashable # Required. The resource name of the Folder or Organization to reparent the @@ -502,10 +683,24 @@ def update!(**args) @destination_parent = args[:destination_parent] if args.key?(:destination_parent) end end + # A status object which is used as the `metadata` field for the Operation + # returned by MoveProject. + class MoveProjectMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # This resource represents a long-running operation that is the result of a # network API call. class Operation include Google::Apis::Core::Hashable @@ -893,11 +1088,133 @@ def update!(**args) @permissions = args[:permissions] if args.key?(:permissions) end end + # A status object which is used as the `metadata` field for the Operation + # returned by UndeleteFolder. + class UndeleteFolderMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # The UndeleteFolder request message. class UndeleteFolderRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A status object which is used as the `metadata` field for the Operation + # returned by UndeleteOrganization. + class UndeleteOrganizationMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A status object which is used as the `metadata` field for the Operation + # returned by UndeleteProject. + class UndeleteProjectMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Runtime operation information for undeleting a TagKey. + class UndeleteTagKeyMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Runtime operation information for deleting a TagValue. + class UndeleteTagValueMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A status object which is used as the `metadata` field for the Operation + # returned by UpdateFolder. + class UpdateFolderMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A status object which is used as the `metadata` field for the Operation + # returned by UpdateProject. + class UpdateProjectMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Runtime operation information for updating a TagKey. + class UpdateTagKeyMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Runtime operation information for updating a TagValue. + class UpdateTagValueMetadata include Google::Apis::Core::Hashable def initialize(**args) update!(**args) end