Class: Google::Apis::ServiceconsumermanagementV1::Experimental

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

Overview

Experimental service configuration. These configuration options can only be used by whitelisted users.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Experimental

Returns a new instance of Experimental



1167
1168
1169
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 1167

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

Instance Attribute Details

#authorizationGoogle::Apis::ServiceconsumermanagementV1::AuthorizationConfig

Configuration of authorization. This section determines the authorization provider, if unspecified, then no authorization check will be done. Example: experimental: authorization: provider: firebaserules.googleapis.com Corresponds to the JSON property authorization



1165
1166
1167
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 1165

def authorization
  @authorization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1172
1173
1174
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 1172

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