Class: Google::Apis::ResourceviewsV1beta2::ResourceView
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ResourceviewsV1beta2::ResourceView
 
- 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 resource view object.
Instance Attribute Summary collapse
- 
  
    
      #creation_timestamp  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The creation time of the resource view. 
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The detailed description of the resource view. 
- 
  
    
      #endpoints  ⇒ Array<Google::Apis::ResourceviewsV1beta2::ServiceEndpoint> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Services endpoint information. 
- 
  
    
      #fingerprint  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The fingerprint of the service endpoint information. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Output Only] The ID of the resource view. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type of the resource. 
- 
  
    
      #labels  ⇒ Array<Google::Apis::ResourceviewsV1beta2::Label> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The labels for events. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the resource view. 
- 
  
    
      #network  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL of a Compute Engine network to which the resources in the view belong. 
- 
  
    
      #resources  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of all resources in the resource view. 
- 
  
    
      #self_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Output Only] A self-link to the resource view. 
- 
  
    
      #size  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The total number of resources in 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
| 449 450 451 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 449 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#creation_timestamp ⇒ String
The creation time of the resource view.
Corresponds to the JSON property creationTimestamp
| 392 393 394 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 392 def @creation_timestamp end | 
#description ⇒ String
The detailed description of the resource view.
Corresponds to the JSON property description
| 397 398 399 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 397 def description @description end | 
#endpoints ⇒ Array<Google::Apis::ResourceviewsV1beta2::ServiceEndpoint>
Services endpoint information.
Corresponds to the JSON property endpoints
| 402 403 404 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 402 def endpoints @endpoints end | 
#fingerprint ⇒ String
The fingerprint of the service endpoint information.
Corresponds to the JSON property fingerprint
| 407 408 409 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 407 def fingerprint @fingerprint end | 
#id ⇒ String
[Output Only] The ID of the resource view.
Corresponds to the JSON property id
| 412 413 414 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 412 def id @id end | 
#kind ⇒ String
Type of the resource.
Corresponds to the JSON property kind
| 417 418 419 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 417 def kind @kind end | 
#labels ⇒ Array<Google::Apis::ResourceviewsV1beta2::Label>
The labels for events.
Corresponds to the JSON property labels
| 422 423 424 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 422 def labels @labels end | 
#name ⇒ String
The name of the resource view.
Corresponds to the JSON property name
| 427 428 429 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 427 def name @name end | 
#network ⇒ String
The URL of a Compute Engine network to which the resources in the view belong.
Corresponds to the JSON property network
| 432 433 434 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 432 def network @network end | 
#resources ⇒ Array<String>
A list of all resources in the resource view.
Corresponds to the JSON property resources
| 437 438 439 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 437 def resources @resources end | 
#self_link ⇒ String
[Output Only] A self-link to the resource view.
Corresponds to the JSON property selfLink
| 442 443 444 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 442 def self_link @self_link end | 
#size ⇒ Fixnum
The total number of resources in the resource view.
Corresponds to the JSON property size
| 447 448 449 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 447 def size @size end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 454 455 456 457 458 459 460 461 462 463 464 465 466 467 | # File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 454 def update!(**args) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @endpoints = args[:endpoints] if args.key?(:endpoints) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @resources = args[:resources] if args.key?(:resources) @self_link = args[:self_link] if args.key?(:self_link) @size = args[:size] if args.key?(:size) end |