Class: Google::Apis::AccesscontextmanagerV1::AccessScope

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

Overview

Access scope represents the client scope, etc. to which the settings will be applied to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccessScope

Returns a new instance of AccessScope.



161
162
163
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 161

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

Instance Attribute Details

#client_scopeGoogle::Apis::AccesscontextmanagerV1::ClientScope

Client scope represents the application, etc. subject to this binding's restrictions. Corresponds to the JSON property clientScope



159
160
161
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 159

def client_scope
  @client_scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



166
167
168
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 166

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