class Google::Apis::ResourceviewsV1beta2::ResourceView

The resource view object.

Attributes

creation_timestamp[RW]

The creation time of the resource view. Corresponds to the JSON property `creationTimestamp` @return [String]

description[RW]

The detailed description of the resource view. Corresponds to the JSON property `description` @return [String]

endpoints[RW]

Services endpoint information. Corresponds to the JSON property `endpoints` @return [Array<Google::Apis::ResourceviewsV1beta2::ServiceEndpoint>]

fingerprint[RW]

The fingerprint of the service endpoint information. Corresponds to the JSON property `fingerprint` @return [String]

id[RW]
Output Only

The ID of the resource view.

Corresponds to the JSON property `id` @return [String]

kind[RW]

Type of the resource. Corresponds to the JSON property `kind` @return [String]

labels[RW]

The labels for events. Corresponds to the JSON property `labels` @return [Array<Google::Apis::ResourceviewsV1beta2::Label>]

name[RW]

The name of the resource view. Corresponds to the JSON property `name` @return [String]

network[RW]

The URL of a Compute Engine network to which the resources in the view belong. Corresponds to the JSON property `network` @return [String]

resources[RW]

A list of all resources in the resource view. Corresponds to the JSON property `resources` @return [Array<String>]

size[RW]

The total number of resources in the resource view. Corresponds to the JSON property `size` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/resourceviews_v1beta2/classes.rb, line 449
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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