Class: Google::Apis::AnalyticshubV1beta1::Publisher

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

Overview

Contains details of the listing publisher.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Publisher

Returns a new instance of Publisher.



935
936
937
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 935

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

Instance Attribute Details

#nameString

Optional. Name of the listing publisher. Corresponds to the JSON property name

Returns:

  • (String)


928
929
930
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 928

def name
  @name
end

#primary_contactString

Optional. Email or URL of the listing publisher. Max Length: 1000 bytes. Corresponds to the JSON property primaryContact

Returns:

  • (String)


933
934
935
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 933

def primary_contact
  @primary_contact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



940
941
942
943
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 940

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