Class: Google::Apis::WorkloadmanagerV1::TenantProjectProxy

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_numbersArray<String>

Corresponds to the JSON property projectNumbers

Returns:

  • (Array<String>)


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