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.



8949
8950
8951
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8949

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

Instance Attribute Details

#dasher_customer_idString

Obfuscated Dasher customer ID. Corresponds to the JSON property dasherCustomerId

Returns:

  • (String)


8928
8929
8930
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8928

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)


8935
8936
8937
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8935

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)


8942
8943
8944
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8942

def 
  @super_admin_service_account
end

#typeString

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

Returns:

  • (String)


8947
8948
8949
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8947

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8954
8955
8956
8957
8958
8959
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8954

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