Class: Google::Apis::ComputeAlpha::ProjectView
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ProjectView
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Represents a ProjectView resource. A ProjectView resource contains read-only project data which is available globally.
Instance Attribute Summary collapse
-
#project ⇒ Google::Apis::ComputeAlpha::Project
Represents a Project resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProjectView
constructor
A new instance of ProjectView.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProjectView
Returns a new instance of ProjectView.
52492 52493 52494 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 52492 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project ⇒ Google::Apis::ComputeAlpha::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
52490 52491 52492 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 52490 def project @project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
52497 52498 52499 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 52497 def update!(**args) @project = args[:project] if args.key?(:project) end |