Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ActionConfigScopeList

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

Overview

Stores a list of scopes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ActionConfigScopeList

Returns a new instance of GoogleCloudDiscoveryengineV1ActionConfigScopeList.



862
863
864
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 862

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

Instance Attribute Details

#scopesArray<String>

Optional. The list of scopes. Corresponds to the JSON property scopes

Returns:

  • (Array<String>)


860
861
862
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 860

def scopes
  @scopes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



867
868
869
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 867

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