Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaWorkspaceConfig

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) ⇒ GoogleCloudDiscoveryengineV1alphaWorkspaceConfig

Returns a new instance of GoogleCloudDiscoveryengineV1alphaWorkspaceConfig.



15261
15262
15263
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 15261

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

Instance Attribute Details

#dasher_customer_idString

Obfuscated Dasher customer ID. Corresponds to the JSON property dasherCustomerId

Returns:

  • (String)


15240
15241
15242
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 15240

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)


15247
15248
15249
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 15247

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)


15254
15255
15256
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 15254

def 
  @super_admin_service_account
end

#typeString

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

Returns:

  • (String)


15259
15260
15261
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 15259

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15266
15267
15268
15269
15270
15271
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 15266

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