Class: Google::Apis::ResourceviewsV1beta2::ListResourceResponseItem
- Inherits:
-
Object
- Object
- Google::Apis::ResourceviewsV1beta2::ListResourceResponseItem
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/resourceviews_v1beta2/classes.rb,
generated/google/apis/resourceviews_v1beta2/representations.rb,
generated/google/apis/resourceviews_v1beta2/representations.rb
Overview
The list response item that contains the resource and end points information.
Instance Attribute Summary collapse
-
#endpoints ⇒ Hash<String,Array<Fixnum>>
The list of service end points on the resource.
-
#resource ⇒ String
The full URL of the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListResourceResponseItem
constructor
A new instance of ListResourceResponseItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListResourceResponseItem
Returns a new instance of ListResourceResponseItem
64 65 66 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 64 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpoints ⇒ Hash<String,Array<Fixnum>>
The list of service end points on the resource.
Corresponds to the JSON property endpoints
57 58 59 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 57 def endpoints @endpoints end |
#resource ⇒ String
The full URL of the resource.
Corresponds to the JSON property resource
62 63 64 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 62 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
69 70 71 72 |
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 69 def update!(**args) @endpoints = args[:endpoints] if args.key?(:endpoints) @resource = args[:resource] if args.key?(:resource) end |