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

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthorizationConfig

Returns a new instance of AuthorizationConfig.



1869
1870
1871
# File 'lib/google/apis/compute_alpha/classes.rb', line 1869

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

Instance Attribute Details

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

List of RbacPolicies. Corresponds to the JSON property policies



1867
1868
1869
# File 'lib/google/apis/compute_alpha/classes.rb', line 1867

def policies
  @policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1874
1875
1876
# File 'lib/google/apis/compute_alpha/classes.rb', line 1874

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