generated/google/apis/cloudresourcemanager_v1beta1/classes.rb in google-api-client-0.44.1 vs generated/google/apis/cloudresourcemanager_v1beta1/classes.rb in google-api-client-0.44.2
- old
+ new
@@ -117,10 +117,16 @@
# Associates `members` with a `role`.
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
+
# 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: "
@@ -178,10 +184,11 @@
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
@@ -639,11 +646,11 @@
# characters long and must conform to the following regular expression: a-z`0,62`
# . Label values must be between 0 and 63 characters long and must conform to
# the regular expression [a-z0-9_-]`0,63`. A label value can be empty. No more
# than 256 labels can be associated with a given resource. Clients should store
# labels in a representation such as JSON that does not depend on specific
- # characters being disallowed. Example: "environment" : "dev" Read-write.
+ # characters being disallowed. Example: `"environment" : "dev"` Read-write.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The Project lifecycle state. Read-only.
@@ -652,11 +659,11 @@
attr_accessor :lifecycle_state
# The optional user-assigned display name of the Project. When present it must
# be between 4 to 30 characters. Allowed characters are: lowercase and uppercase
# letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
- # point. Example: My Project Read-write.
+ # point. Example: `My Project` Read-write.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# A container to reference an id for any resource type. A `resource` in Google
@@ -667,15 +674,15 @@
# @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
attr_accessor :parent
# The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase
# letters, digits, or hyphens. It must start with a letter. Trailing hyphens are
- # prohibited. Example: tokyo-rain-123 Read-only after creation.
+ # prohibited. Example: `tokyo-rain-123` Read-only after creation.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
- # The number uniquely identifying the project. Example: 415104041262 Read-only.
+ # The number uniquely identifying the project. Example: `415104041262` Read-only.
# Corresponds to the JSON property `projectNumber`
# @return [Fixnum]
attr_accessor :project_number
def initialize(**args)