Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig

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

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig.



11621
11622
11623
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11621

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)


11612
11613
11614
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11612

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)


11619
11620
11621
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11619

def instance_name
  @instance_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11626
11627
11628
11629
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11626

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