Class: Google::Apis::VectortileV1::ProviderInfo

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

Instance Method Summary collapse

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

#descriptionString

Attribution string for this provider. This string is not localized. Corresponds to the JSON property description

Returns:

  • (String)


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