Class: Google::Apis::ComputeAlpha::AuthorizationConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Overview

Authorization configuration provides service-level and method-level access control for a service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AuthorizationConfig

Returns a new instance of AuthorizationConfig.



1626
1627
1628
# File 'generated/google/apis/compute_alpha/classes.rb', line 1626

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

Instance Attribute Details

#policiesArray<Google::Apis::ComputeAlpha::RbacPolicy>

List of RbacPolicies. Corresponds to the JSON property policies



1624
1625
1626
# File 'generated/google/apis/compute_alpha/classes.rb', line 1624

def policies
  @policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1631
1632
1633
# File 'generated/google/apis/compute_alpha/classes.rb', line 1631

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