Class: Google::Apis::StsV1beta::GoogleIdentityStsV1betaAccessBoundary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sts_v1beta/classes.rb,
lib/google/apis/sts_v1beta/representations.rb,
lib/google/apis/sts_v1beta/representations.rb

Overview

An access boundary defines the upper bound of what a principal may access. It includes a list of access boundary rules that each defines the resource that may be allowed as well as permissions that may be used on those resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleIdentityStsV1betaAccessBoundary

Returns a new instance of GoogleIdentityStsV1betaAccessBoundary.



248
249
250
# File 'lib/google/apis/sts_v1beta/classes.rb', line 248

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#access_boundary_rulesArray<Google::Apis::StsV1beta::GoogleIdentityStsV1betaAccessBoundaryRule>

A list of access boundary rules which defines the upper bound of the permission a principal may carry. If multiple rules are specified, the effective access boundary is the union of all the access boundary rules attached. One access boundary can contain at most 10 rules. Corresponds to the JSON property accessBoundaryRules



246
247
248
# File 'lib/google/apis/sts_v1beta/classes.rb', line 246

def access_boundary_rules
  @access_boundary_rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



253
254
255
# File 'lib/google/apis/sts_v1beta/classes.rb', line 253

def update!(**args)
  @access_boundary_rules = args[:access_boundary_rules] if args.key?(:access_boundary_rules)
end