Backup and DR Service v1 API - Class ListDataSourcesResponse (2.0.0)

public sealed class ListDataSourcesResponse : IPageResponse<DataSource>, IEnumerable<DataSource>, IEnumerable, IMessage<ListDataSourcesResponse>, IEquatable<ListDataSourcesResponse>, IDeepCloneable<ListDataSourcesResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup and DR Service v1 API class ListDataSourcesResponse.

Response message for listing DataSources.

Inheritance

object > ListDataSourcesResponse

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

ListDataSourcesResponse()

public ListDataSourcesResponse()

ListDataSourcesResponse(ListDataSourcesResponse)

public ListDataSourcesResponse(ListDataSourcesResponse other)
Parameter
Name Description
other ListDataSourcesResponse

Properties

DataSources

public RepeatedField<DataSource> DataSources { get; }

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.

Property Value
Type Description
RepeatedFieldDataSource

NextPageToken

public string NextPageToken { get; set; }

A token identifying a page of results the server should return.

Property Value
Type Description
string

Unreachable

public RepeatedField<string> Unreachable { get; }

Locations that could not be reached.

Property Value
Type Description
RepeatedFieldstring

Methods

GetEnumerator()

public IEnumerator<DataSource> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
Type Description
IEnumeratorDataSource