Class: Google::Apis::ContentV2_1::LinkService
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::LinkService
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#service ⇒ String
Service provided to or by the linked account.
-
#status ⇒ String
Status of the link Corresponds to the JSON property
status
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinkService
constructor
A new instance of LinkService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ LinkService
Returns a new instance of LinkService.
3324 3325 3326 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3324 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service ⇒ String
Service provided to or by the linked account.
Corresponds to the JSON property service
3317 3318 3319 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3317 def service @service end |
#status ⇒ String
Status of the link
Corresponds to the JSON property status
3322 3323 3324 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3322 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3329 3330 3331 3332 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3329 def update!(**args) @service = args[:service] if args.key?(:service) @status = args[:status] if args.key?(:status) end |