Class: Google::Apis::AnalyticshubV1::Publisher
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticshubV1::Publisher
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticshub_v1/classes.rb,
lib/google/apis/analyticshub_v1/representations.rb,
lib/google/apis/analyticshub_v1/representations.rb
Overview
Contains details of the listing publisher.
Instance Attribute Summary collapse
-
#name ⇒ String
Optional.
-
#primary_contact ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Publisher
constructor
A new instance of Publisher.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Publisher
Returns a new instance of Publisher.
1697 1698 1699 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1697 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Optional. Name of the listing publisher.
Corresponds to the JSON property name
1690 1691 1692 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1690 def name @name end |
#primary_contact ⇒ String
Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.
Corresponds to the JSON property primaryContact
1695 1696 1697 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1695 def primary_contact @primary_contact end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1702 1703 1704 1705 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 1702 def update!(**args) @name = args[:name] if args.key?(:name) @primary_contact = args[:primary_contact] if args.key?(:primary_contact) end |