Class: Google::Apis::WorkloadmanagerV1::TenantProjectProxy
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::TenantProjectProxy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Instance Attribute Summary collapse
-
#project_numbers ⇒ Array<String>
Corresponds to the JSON property
projectNumbers
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TenantProjectProxy
constructor
A new instance of TenantProjectProxy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TenantProjectProxy
Returns a new instance of TenantProjectProxy.
2199 2200 2201 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2199 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project_numbers ⇒ Array<String>
Corresponds to the JSON property projectNumbers
2197 2198 2199 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2197 def project_numbers @project_numbers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2204 2205 2206 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2204 def update!(**args) @project_numbers = args[:project_numbers] if args.key?(:project_numbers) end |