Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1WorkspaceConfig

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

Overview

Config to store data store type configuration for workspace data

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1WorkspaceConfig

Returns a new instance of GoogleCloudDiscoveryengineV1WorkspaceConfig.



10730
10731
10732
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10730

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

Instance Attribute Details

#dasher_customer_idString

Obfuscated Dasher customer ID. Corresponds to the JSON property dasherCustomerId

Returns:

  • (String)


10709
10710
10711
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10709

def dasher_customer_id
  @dasher_customer_id
end

#super_admin_email_addressString

Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. Corresponds to the JSON property superAdminEmailAddress

Returns:

  • (String)


10716
10717
10718
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10716

def super_admin_email_address
  @super_admin_email_address
end

#super_admin_service_accountString

Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. Corresponds to the JSON property superAdminServiceAccount

Returns:

  • (String)


10723
10724
10725
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10723

def 
  @super_admin_service_account
end

#typeString

The Google Workspace data source. Corresponds to the JSON property type

Returns:

  • (String)


10728
10729
10730
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10728

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10735
10736
10737
10738
10739
10740
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10735

def update!(**args)
  @dasher_customer_id = args[:dasher_customer_id] if args.key?(:dasher_customer_id)
  @super_admin_email_address = args[:super_admin_email_address] if args.key?(:super_admin_email_address)
  @super_admin_service_account = args[:super_admin_service_account] if args.key?(:super_admin_service_account)
  @type = args[:type] if args.key?(:type)
end