Class: Google::Apis::DfareportingV4::ThirdPartyAuthenticationToken
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::ThirdPartyAuthenticationToken
- 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
-
#name ⇒ String
Name of the third-party authentication token.
-
#value ⇒ String
Value of the third-party authentication token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ThirdPartyAuthenticationToken
constructor
A new instance of ThirdPartyAuthenticationToken.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ThirdPartyAuthenticationToken
Returns a new instance of ThirdPartyAuthenticationToken.
12528 12529 12530 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12528 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Name of the third-party authentication token.
Corresponds to the JSON property name
12520 12521 12522 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12520 def name @name end |
#value ⇒ String
Value of the third-party authentication token. This is a read-only, auto-
generated field.
Corresponds to the JSON property value
12526 12527 12528 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12526 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12533 12534 12535 12536 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12533 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |