Class: Google::Shopping::Merchant::Accounts::V1::Region::RadiusArea
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1::Region::RadiusArea
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/accounts/v1/regions.rb
Overview
A radius area that defines the region area.
Defined Under Namespace
Modules: RadiusUnits
Instance Attribute Summary collapse
-
#lat_lng ⇒ ::Google::Type::LatLng
Required.
-
#radius ⇒ ::Float
Required.
-
#radius_units ⇒ ::Google::Shopping::Merchant::Accounts::V1::Region::RadiusArea::RadiusUnits
Optional.
-
#region_code ⇒ ::String
Required.
Instance Attribute Details
#lat_lng ⇒ ::Google::Type::LatLng
Returns Required. The center of the radius area. It represents a latitude/longitude pair in decimal degrees format.
270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/regions.rb', line 270 class RadiusArea include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The unit of measurement of the radius. Default is KILOMETERS. module RadiusUnits # Unused default value RADIUS_UNITS_UNSPECIFIED = 0 # The distance is measured in miles. MILES = 1 # The distance is measured in kilometers. KILOMETERS = 2 end end |
#radius ⇒ ::Float
Returns Required. The radius distance of the area.
270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/regions.rb', line 270 class RadiusArea include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The unit of measurement of the radius. Default is KILOMETERS. module RadiusUnits # Unused default value RADIUS_UNITS_UNSPECIFIED = 0 # The distance is measured in miles. MILES = 1 # The distance is measured in kilometers. KILOMETERS = 2 end end |
#radius_units ⇒ ::Google::Shopping::Merchant::Accounts::V1::Region::RadiusArea::RadiusUnits
Returns Optional. The unit of the radius.
270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/regions.rb', line 270 class RadiusArea include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The unit of measurement of the radius. Default is KILOMETERS. module RadiusUnits # Unused default value RADIUS_UNITS_UNSPECIFIED = 0 # The distance is measured in miles. MILES = 1 # The distance is measured in kilometers. KILOMETERS = 2 end end |
#region_code ⇒ ::String
Returns Required. CLDR territory code or the country the radius area applies to.
270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/regions.rb', line 270 class RadiusArea include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The unit of measurement of the radius. Default is KILOMETERS. module RadiusUnits # Unused default value RADIUS_UNITS_UNSPECIFIED = 0 # The distance is measured in miles. MILES = 1 # The distance is measured in kilometers. KILOMETERS = 2 end end |