Class: Google::Apis::ComputeBeta::ProjectView

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Overview

Represents a ProjectView resource. A ProjectView resource contains read-only project data which is available globally.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProjectView

Returns a new instance of ProjectView.



48139
48140
48141
# File 'lib/google/apis/compute_beta/classes.rb', line 48139

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#projectGoogle::Apis::ComputeBeta::Project

Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy. Corresponds to the JSON property project



48137
48138
48139
# File 'lib/google/apis/compute_beta/classes.rb', line 48137

def project
  @project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48144
48145
48146
# File 'lib/google/apis/compute_beta/classes.rb', line 48144

def update!(**args)
  @project = args[:project] if args.key?(:project)
end