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.



23631
23632
23633
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 23631

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)


23622
23623
23624
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 23622

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)


23629
23630
23631
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 23629

def instance_name
  @instance_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23636
23637
23638
23639
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 23636

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