Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::ListDataSourcesResponse (v0.4.0)

Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::ListDataSourcesResponse.

Response message for listing DataSources.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data_sources

def data_sources() -> ::Array<::Google::Cloud::BackupDR::V1::DataSource>
Returns
  • (::Array<::Google::Cloud::BackupDR::V1::DataSource>) — The list of DataSource instances in the project for the specified location.

    If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

#data_sources=

def data_sources=(value) -> ::Array<::Google::Cloud::BackupDR::V1::DataSource>
Parameter
  • value (::Array<::Google::Cloud::BackupDR::V1::DataSource>) — The list of DataSource instances in the project for the specified location.

    If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

Returns
  • (::Array<::Google::Cloud::BackupDR::V1::DataSource>) — The list of DataSource instances in the project for the specified location.

    If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

#next_page_token

def next_page_token() -> ::String
Returns
  • (::String) — A token identifying a page of results the server should return.

#next_page_token=

def next_page_token=(value) -> ::String
Parameter
  • value (::String) — A token identifying a page of results the server should return.
Returns
  • (::String) — A token identifying a page of results the server should return.

#unreachable

def unreachable() -> ::Array<::String>
Returns
  • (::Array<::String>) — Locations that could not be reached.

#unreachable=

def unreachable=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Locations that could not be reached.
Returns
  • (::Array<::String>) — Locations that could not be reached.