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.



9522
9523
9524
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9522

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

Instance Attribute Details

#dasher_customer_idString

Obfuscated Dasher customer ID. Corresponds to the JSON property dasherCustomerId

Returns:

  • (String)


9501
9502
9503
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9501

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)


9508
9509
9510
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9508

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)


9515
9516
9517
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9515

def 
  @super_admin_service_account
end

#typeString

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

Returns:

  • (String)


9520
9521
9522
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9520

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9527
9528
9529
9530
9531
9532
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9527

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