Class: Google::Apis::IamV2beta::GoogleIamV1BindingDelta
- Inherits:
-
Object
- Object
- Google::Apis::IamV2beta::GoogleIamV1BindingDelta
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v2beta/classes.rb,
lib/google/apis/iam_v2beta/representations.rb,
lib/google/apis/iam_v2beta/representations.rb
Overview
One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.
Instance Attribute Summary collapse
-
#action ⇒ String
The action that was performed on a Binding.
-
#condition ⇒ Google::Apis::IamV2beta::GoogleTypeExpr
Represents a textual expression in the Common Expression Language (CEL) syntax.
-
#member ⇒ String
A single identity requesting access for a Google Cloud resource.
-
#role ⇒ String
Role that is assigned to
members.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIamV1BindingDelta
constructor
A new instance of GoogleIamV1BindingDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIamV1BindingDelta
Returns a new instance of GoogleIamV1BindingDelta.
114 115 116 |
# File 'lib/google/apis/iam_v2beta/classes.rb', line 114 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
The action that was performed on a Binding. Required
Corresponds to the JSON property action
81 82 83 |
# File 'lib/google/apis/iam_v2beta/classes.rb', line 81 def action @action end |
#condition ⇒ Google::Apis::IamV2beta::GoogleTypeExpr
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: "
Requestor is owner" description: "Determines if requestor is the document
owner" expression: "document.owner == request.auth.claims.email" Example (
Logic): title: "Public documents" description: "Determine whether the document
should be publicly visible" expression: "document.type != 'private' &&
document.type != 'internal'" Example (Data Manipulation): title: "Notification
string" description: "Create a notification string with a timestamp."
expression: "'New message received at ' + string(document.create_time)" The
exact variables and functions that may be referenced within an expression are
determined by the service that evaluates it. See the service documentation for
additional information.
Corresponds to the JSON property condition
100 101 102 |
# File 'lib/google/apis/iam_v2beta/classes.rb', line 100 def condition @condition end |
#member ⇒ String
A single identity requesting access for a Google Cloud resource. Follows the
same format of Binding.members. Required
Corresponds to the JSON property member
106 107 108 |
# File 'lib/google/apis/iam_v2beta/classes.rb', line 106 def member @member end |
#role ⇒ String
Role that is assigned to members. For example, roles/viewer, roles/editor
, or roles/owner. Required
Corresponds to the JSON property role
112 113 114 |
# File 'lib/google/apis/iam_v2beta/classes.rb', line 112 def role @role end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
119 120 121 122 123 124 |
# File 'lib/google/apis/iam_v2beta/classes.rb', line 119 def update!(**args) @action = args[:action] if args.key?(:action) @condition = args[:condition] if args.key?(:condition) @member = args[:member] if args.key?(:member) @role = args[:role] if args.key?(:role) end |