Class: Google::Apis::AnalyticshubV1::DataProvider

Inherits:
Object
  • Object
show all
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 data provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataProvider

Returns a new instance of DataProvider.



572
573
574
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 572

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

Instance Attribute Details

#nameString

Optional. Name of the data provider. Corresponds to the JSON property name

Returns:

  • (String)


565
566
567
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 565

def name
  @name
end

#primary_contactString

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

Returns:

  • (String)


570
571
572
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 570

def primary_contact
  @primary_contact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



577
578
579
580
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 577

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