Class: Google::Apis::MybusinessV3::ServiceAreaBusiness
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::MybusinessV3::ServiceAreaBusiness
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/mybusiness_v3/classes.rb,
 generated/google/apis/mybusiness_v3/representations.rb,
 generated/google/apis/mybusiness_v3/representations.rb
Overview
Service area businesses provide their service at the customer's location (for example a locksmith or plumber).
Instance Attribute Summary collapse
- 
  
    
      #business_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates the type of the service area business. 
- 
  
    
      #places  ⇒ Google::Apis::MybusinessV3::Places 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Defines the union of areas represented by a set of places. 
- 
  
    
      #radius  ⇒ Google::Apis::MybusinessV3::PointRadius 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A radius around a particular point (latitude/longitude). 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ServiceAreaBusiness 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ServiceAreaBusiness. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ServiceAreaBusiness
Returns a new instance of ServiceAreaBusiness
| 1683 1684 1685 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1683 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#business_type ⇒ String
Indicates the type of the service area
business.
Corresponds to the JSON property businessType
| 1671 1672 1673 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1671 def business_type @business_type end | 
#places ⇒ Google::Apis::MybusinessV3::Places
Defines the union of areas represented by a set of places.
Corresponds to the JSON property places
| 1676 1677 1678 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1676 def places @places end | 
#radius ⇒ Google::Apis::MybusinessV3::PointRadius
A radius around a particular point (latitude/longitude).
Corresponds to the JSON property radius
| 1681 1682 1683 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1681 def radius @radius end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1688 1689 1690 1691 1692 | # File 'generated/google/apis/mybusiness_v3/classes.rb', line 1688 def update!(**args) @business_type = args[:business_type] if args.key?(:business_type) @places = args[:places] if args.key?(:places) @radius = args[:radius] if args.key?(:radius) end |