Class: Google::Apis::ResourceviewsV1beta1::RegionViewsInsertResponse

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 a resource view 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) ⇒ RegionViewsInsertResponse

Returns a new instance of RegionViewsInsertResponse



78
79
80
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 78

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resourceGoogle::Apis::ResourceviewsV1beta1::ResourceView

The resource view object. Corresponds to the JSON property resource



76
77
78
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 76

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



83
84
85
# File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 83

def update!(**args)
  @resource = args[:resource] if args.key?(:resource)
end