Class: Google::Apis::AnalyticshubV1beta1::DataProvider
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticshubV1beta1::DataProvider
- 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 data provider.
Instance Attribute Summary collapse
-
#name ⇒ String
Optional.
-
#primary_contact ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataProvider
constructor
A new instance of DataProvider.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataProvider
Returns a new instance of DataProvider.
281 282 283 |
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 281 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Optional. Name of the data provider.
Corresponds to the JSON property name
274 275 276 |
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 274 def name @name end |
#primary_contact ⇒ String
Optional. Email or URL of the data provider. Max Length: 1000 bytes.
Corresponds to the JSON property primaryContact
279 280 281 |
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 279 def primary_contact @primary_contact end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
286 287 288 289 |
# File 'lib/google/apis/analyticshub_v1beta1/classes.rb', line 286 def update!(**args) @name = args[:name] if args.key?(:name) @primary_contact = args[:primary_contact] if args.key?(:primary_contact) end |