Class: Google::Apis::DfareportingV4::ThirdPartyAuthenticationToken

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

Overview

Third Party Authentication Token

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ThirdPartyAuthenticationToken

Returns a new instance of ThirdPartyAuthenticationToken.



12721
12722
12723
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12721

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)


12713
12714
12715
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12713

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)


12719
12720
12721
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12719

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12726
12727
12728
12729
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12726

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