Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig

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 information for third party applicationOAuth.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig

Returns a new instance of GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig.



23427
23428
23429
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 23427

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

Instance Attribute Details

#app_nameString

Optional. The type of the application. E.g., "jira", "box", etc. Corresponds to the JSON property appName

Returns:

  • (String)


23418
23419
23420
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 23418

def app_name
  @app_name
end

#instance_nameString

Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e. g., "https://vaissptbots-my.sharepoint.com". Corresponds to the JSON property instanceName

Returns:

  • (String)


23425
23426
23427
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 23425

def instance_name
  @instance_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23432
23433
23434
23435
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 23432

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