Class: Google::Apis::ResourceviewsV1beta1::ZoneViewsInsertResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#resourceGoogle::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