Class: Google::Apis::PlusV1::Activity::Provider

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

Overview

The service provider that initially published this activity.

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) ⇒ Provider

Returns a new instance of Provider



886
887
888
# File 'generated/google/apis/plus_v1/classes.rb', line 886

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

Instance Attribute Details

#titleString

Name of the service provider. Corresponds to the JSON property title

Returns:

  • (String)


884
885
886
# File 'generated/google/apis/plus_v1/classes.rb', line 884

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



891
892
893
# File 'generated/google/apis/plus_v1/classes.rb', line 891

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