Class: Google::Apis::AccesscontextmanagerV1::ClientScope

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

Client scope represents the application, etc. subject to this binding's restrictions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClientScope

Returns a new instance of ClientScope.



541
542
543
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 541

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

Instance Attribute Details

#restricted_client_applicationGoogle::Apis::AccesscontextmanagerV1::Application

An application that accesses Google Cloud APIs. Corresponds to the JSON property restrictedClientApplication



539
540
541
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 539

def restricted_client_application
  @restricted_client_application
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



546
547
548
# File 'lib/google/apis/accesscontextmanager_v1/classes.rb', line 546

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