Class: Google::Apis::BackupdrV1::ListDataSourceReferencesResponse

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

Overview

Response for the ListDataSourceReferences method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDataSourceReferencesResponse

Returns a new instance of ListDataSourceReferencesResponse.



4345
4346
4347
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4345

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

Instance Attribute Details

#data_source_referencesArray<Google::Apis::BackupdrV1::DataSourceReference>

The DataSourceReferences from the specified parent. Corresponds to the JSON property dataSourceReferences



4332
4333
4334
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4332

def data_source_references
  @data_source_references
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4338
4339
4340
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4338

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


4343
4344
4345
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4343

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4350
4351
4352
4353
4354
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4350

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