Class: Google::Apis::VectortileV1::ProviderInfo
- Inherits:
-
Object
- Object
- Google::Apis::VectortileV1::ProviderInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vectortile_v1/classes.rb,
generated/google/apis/vectortile_v1/representations.rb,
generated/google/apis/vectortile_v1/representations.rb
Overview
Information about the data providers that should be included in the attribution string shown by the client.
Instance Attribute Summary collapse
-
#description ⇒ String
Attribution string for this provider.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProviderInfo
constructor
A new instance of ProviderInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProviderInfo
Returns a new instance of ProviderInfo.
480 481 482 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 480 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Attribution string for this provider. This string is not localized.
Corresponds to the JSON property description
478 479 480 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 478 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
485 486 487 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 485 def update!(**args) @description = args[:description] if args.key?(:description) end |