class Google::Apis::ResourceviewsV1beta2::ResourceView
The resource view object.
Attributes
The creation time of the resource view. Corresponds to the JSON property `creationTimestamp` @return [String]
The detailed description of the resource view. Corresponds to the JSON property `description` @return [String]
Services endpoint information. Corresponds to the JSON property `endpoints` @return [Array<Google::Apis::ResourceviewsV1beta2::ServiceEndpoint>]
The fingerprint of the service endpoint information. Corresponds to the JSON property `fingerprint` @return [String]
- Output Only
-
The ID of the resource view.
Corresponds to the JSON property `id` @return [String]
Type of the resource. Corresponds to the JSON property `kind` @return [String]
The labels for events. Corresponds to the JSON property `labels` @return [Array<Google::Apis::ResourceviewsV1beta2::Label>]
The name of the resource view. Corresponds to the JSON property `name` @return [String]
The URL of a Compute Engine network to which the resources in the view belong. Corresponds to the JSON property `network` @return [String]
A list of all resources in the resource view. Corresponds to the JSON property `resources` @return [Array<String>]
- Output Only
-
A self-link to the resource view.
Corresponds to the JSON property `selfLink` @return [String]
The total number of resources in the resource view. Corresponds to the JSON property `size` @return [Fixnum]
Public Class Methods
# File generated/google/apis/resourceviews_v1beta2/classes.rb, line 449 def initialize(**args) update!(**args) end
Public Instance Methods
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