Class: Google::Apis::ResourceviewsV1beta1::ResourceView
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ResourceviewsV1beta1::ResourceView
 
- 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 resource view object.
Instance Attribute Summary collapse
- 
  
    
      #creation_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The creation time of the resource view. 
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The detailed description of the resource view. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Output Only] The ID of the resource view. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type of the resource. 
- 
  
    
      #labels  ⇒ Array<Google::Apis::ResourceviewsV1beta1::Label> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The labels for events. 
- 
  
    
      #last_modified  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The last modified time of the view. 
- 
  
    
      #members  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of all resources in the resource view. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the resource view. 
- 
  
    
      #num_members  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The total number of resources in the resource view. 
- 
  
    
      #self_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Output Only] A self-link to the resource view. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ResourceView 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ResourceView. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResourceView
Returns a new instance of ResourceView
| 211 212 213 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 211 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#creation_time ⇒ String
The creation time of the resource view.
Corresponds to the JSON property creationTime
| 164 165 166 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 164 def creation_time @creation_time end | 
#description ⇒ String
The detailed description of the resource view.
Corresponds to the JSON property description
| 169 170 171 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 169 def description @description end | 
#id ⇒ String
[Output Only] The ID of the resource view.
Corresponds to the JSON property id
| 174 175 176 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 174 def id @id end | 
#kind ⇒ String
Type of the resource.
Corresponds to the JSON property kind
| 179 180 181 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 179 def kind @kind end | 
#labels ⇒ Array<Google::Apis::ResourceviewsV1beta1::Label>
The labels for events.
Corresponds to the JSON property labels
| 184 185 186 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 184 def labels @labels end | 
#last_modified ⇒ String
The last modified time of the view. Not supported yet.
Corresponds to the JSON property lastModified
| 189 190 191 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 189 def last_modified @last_modified end | 
#members ⇒ Array<String>
A list of all resources in the resource view.
Corresponds to the JSON property members
| 194 195 196 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 194 def members @members end | 
#name ⇒ String
The name of the resource view.
Corresponds to the JSON property name
| 199 200 201 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 199 def name @name end | 
#num_members ⇒ Fixnum
The total number of resources in the resource view.
Corresponds to the JSON property numMembers
| 204 205 206 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 204 def num_members @num_members end | 
#self_link ⇒ String
[Output Only] A self-link to the resource view.
Corresponds to the JSON property selfLink
| 209 210 211 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 209 def self_link @self_link end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 216 217 218 219 220 221 222 223 224 225 226 227 | # File 'generated/google/apis/resourceviews_v1beta1/classes.rb', line 216 def update!(**args) @creation_time = args[:creation_time] if args.key?(:creation_time) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @labels = args[:labels] if args.key?(:labels) @last_modified = args[:last_modified] if args.key?(:last_modified) @members = args[:members] if args.key?(:members) @name = args[:name] if args.key?(:name) @num_members = args[:num_members] if args.key?(:num_members) @self_link = args[:self_link] if args.key?(:self_link) end |