Class: Google::Apis::BooksV1::GeoLayerData
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::GeoLayerData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#common ⇒ Google::Apis::BooksV1::GeoLayerData::Common
Corresponds to the JSON property
common
. -
#geo ⇒ Google::Apis::BooksV1::GeoLayerData::Geo
Corresponds to the JSON property
geo
. -
#kind ⇒ String
Corresponds to the JSON property
kind
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GeoLayerData
constructor
A new instance of GeoLayerData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GeoLayerData
Returns a new instance of GeoLayerData.
1572 1573 1574 |
# File 'generated/google/apis/books_v1/classes.rb', line 1572 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common ⇒ Google::Apis::BooksV1::GeoLayerData::Common
Corresponds to the JSON property common
1560 1561 1562 |
# File 'generated/google/apis/books_v1/classes.rb', line 1560 def common @common end |
#geo ⇒ Google::Apis::BooksV1::GeoLayerData::Geo
Corresponds to the JSON property geo
1565 1566 1567 |
# File 'generated/google/apis/books_v1/classes.rb', line 1565 def geo @geo end |
#kind ⇒ String
Corresponds to the JSON property kind
1570 1571 1572 |
# File 'generated/google/apis/books_v1/classes.rb', line 1570 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1577 1578 1579 1580 1581 |
# File 'generated/google/apis/books_v1/classes.rb', line 1577 def update!(**args) @common = args[:common] if args.key?(:common) @geo = args[:geo] if args.key?(:geo) @kind = args[:kind] if args.key?(:kind) end |