Class: Google::Apis::DfareportingV2_3::ThirdPartyAuthenticationToken

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_3/classes.rb,
generated/google/apis/dfareporting_v2_3/representations.rb,
generated/google/apis/dfareporting_v2_3/representations.rb

Overview

Third Party Authentication Token

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ThirdPartyAuthenticationToken

Returns a new instance of ThirdPartyAuthenticationToken.



10446
10447
10448
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10446

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

Instance Attribute Details

#nameString

Name of the third-party authentication token. Corresponds to the JSON property name

Returns:

  • (String)


10438
10439
10440
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10438

def name
  @name
end

#valueString

Value of the third-party authentication token. This is a read-only, auto- generated field. Corresponds to the JSON property value

Returns:

  • (String)


10444
10445
10446
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10444

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10451
10452
10453
10454
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 10451

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