Class: Google::Apis::ResourceviewsV1beta1::ZoneViewsInsertResponse
- Inherits:
-
Object
- Object
- Google::Apis::ResourceviewsV1beta1::ZoneViewsInsertResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/resourceviews_v1beta1/classes.rb,
generated/google/apis/resourceviews_v1beta1/representations.rb,
generated/google/apis/resourceviews_v1beta1/representations.rb
Overview
The response to an insert request.
Instance Attribute Summary collapse
-
#resource ⇒ Google::Apis::ResourceviewsV1beta1::ResourceView
The resource view object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ZoneViewsInsertResponse
constructor
A new instance of ZoneViewsInsertResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ZoneViewsInsertResponse
Returns a new instance of ZoneViewsInsertResponse
258 259 260 |
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 258 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Google::Apis::ResourceviewsV1beta1::ResourceView
The resource view object.
Corresponds to the JSON property resource
256 257 258 |
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 256 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
263 264 265 |
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 263 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |