Class: Google::Apis::MybusinessverificationsV1::ComplyWithGuidelines
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessverificationsV1::ComplyWithGuidelines
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinessverifications_v1/classes.rb,
lib/google/apis/mybusinessverifications_v1/representations.rb,
lib/google/apis/mybusinessverifications_v1/representations.rb
Overview
Indicates that the location fails to comply with our guidelines.
Instance Attribute Summary collapse
-
#recommendation_reason ⇒ String
The reason why the location is being recommended to comply with guidelines.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ComplyWithGuidelines
constructor
A new instance of ComplyWithGuidelines.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ComplyWithGuidelines
Returns a new instance of ComplyWithGuidelines.
113 114 115 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 113 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recommendation_reason ⇒ String
The reason why the location is being recommended to comply with guidelines.
Corresponds to the JSON property recommendationReason
111 112 113 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 111 def recommendation_reason @recommendation_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
118 119 120 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 118 def update!(**args) @recommendation_reason = args[:recommendation_reason] if args.key?(:recommendation_reason) end |