Class: Google::Apis::StsV1::GoogleIdentityStsV1betaAccessBoundary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sts_v1/classes.rb,
lib/google/apis/sts_v1/representations.rb,
lib/google/apis/sts_v1/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.



446
447
448
# File 'lib/google/apis/sts_v1/classes.rb', line 446

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

Instance Attribute Details

#access_boundary_rulesArray<Google::Apis::StsV1::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



444
445
446
# File 'lib/google/apis/sts_v1/classes.rb', line 444

def access_boundary_rules
  @access_boundary_rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



451
452
453
# File 'lib/google/apis/sts_v1/classes.rb', line 451

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