Class: Google::Apis::BackupdrV1::TenantProjectProxy

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TenantProjectProxy

Returns a new instance of TenantProjectProxy.



4134
4135
4136
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4134

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

Instance Attribute Details

#project_numbersArray<String>

Corresponds to the JSON property projectNumbers

Returns:

  • (Array<String>)


4132
4133
4134
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4132

def project_numbers
  @project_numbers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4139
4140
4141
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4139

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