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

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

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.

[View source]

485
486
487
# File 'lib/google/apis/vectortile_v1/classes.rb', line 485

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)

483
484
485
# File 'lib/google/apis/vectortile_v1/classes.rb', line 483

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

490
491
492
# File 'lib/google/apis/vectortile_v1/classes.rb', line 490

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