Class: Google::Apis::CesV1::InstagramCredentials

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb

Overview

Ephemeral Meta credentials for Instagram native integration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstagramCredentials

Returns a new instance of InstagramCredentials.



4287
4288
4289
# File 'lib/google/apis/ces_v1/classes.rb', line 4287

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

Instance Attribute Details

#auth_codeString

Required. The Meta auth code provided by the embedded signup flow. Corresponds to the JSON property authCode

Returns:

  • (String)


4280
4281
4282
# File 'lib/google/apis/ces_v1/classes.rb', line 4280

def auth_code
  @auth_code
end

#conversation_profile_idString

Optional. The Conversation Profile ID to use for the deployment. Corresponds to the JSON property conversationProfileId

Returns:

  • (String)


4285
4286
4287
# File 'lib/google/apis/ces_v1/classes.rb', line 4285

def conversation_profile_id
  @conversation_profile_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4292
4293
4294
4295
# File 'lib/google/apis/ces_v1/classes.rb', line 4292

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