2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0-beta02

    public sealed class FetchDataSourceReferencesForResourceTypeRequest : IPageRequest, IMessage<FetchDataSourceReferencesForResourceTypeRequest>, IEquatable<FetchDataSourceReferencesForResourceTypeRequest>, IDeepCloneable<FetchDataSourceReferencesForResourceTypeRequest>, IBufferMessage, IMessage

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

Request for the FetchDataSourceReferencesForResourceType method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> FetchDataSourceReferencesForResourceTypeRequest

## Implements

[IPageRequest](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageRequest.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FetchDataSourceReferencesForResourceTypeRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.FetchDataSourceReferencesForResourceTypeRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FetchDataSourceReferencesForResourceTypeRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.FetchDataSourceReferencesForResourceTypeRequest.md.txt), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FetchDataSourceReferencesForResourceTypeRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.FetchDataSourceReferencesForResourceTypeRequest.md.txt), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BackupDR.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.md.txt)

## Assembly

Google.Cloud.BackupDR.V1.dll

## Constructors

### FetchDataSourceReferencesForResourceTypeRequest()

    public FetchDataSourceReferencesForResourceTypeRequest()

### FetchDataSourceReferencesForResourceTypeRequest(FetchDataSourceReferencesForResourceTypeRequest)

    public FetchDataSourceReferencesForResourceTypeRequest(FetchDataSourceReferencesForResourceTypeRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `FetchDataSourceReferencesForResourceTypeRequest` |

## Properties

### Filter

    public string Filter { get; set; }

Optional. A filter expression that filters the results fetched in the
response. The expression must specify the field name, a comparison
operator, and the value that you want to use for filtering. Supported
fields:

- data_source
- data_source_gcp_resource_info.gcp_resourcename
- data_source_backup_config_state
- data_source_backup_count
- data_source_backup_config_info.last_backup_state
- data_source_gcp_resource_info.gcp_resourcename
- data_source_gcp_resource_info.type
- data_source_gcp_resource_info.location
- data_source_gcp_resource_info.cloud_sql_instance_properties.instance_create_time

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### OrderBy

    public string OrderBy { get; set; }

Optional. A comma-separated list of fields to order by, sorted in ascending
order. Use "desc" after a field name for descending.

Supported fields:

- name

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PageSize

    public int PageSize { get; set; }

Optional. The maximum number of DataSourceReferences to return. The service
may return fewer than this value. If unspecified, at most 50
DataSourceReferences will be returned. The maximum value is 100; values
above 100 will be coerced to 100.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### PageToken

    public string PageToken { get; set; }

Optional. A page token, received from a previous call of
`FetchDataSourceReferencesForResourceType`.
Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to
`FetchDataSourceReferencesForResourceType` must match
the call that provided the page token.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Parent

    public string Parent { get; set; }

Required. The parent resource name.
Format: projects/{project}/locations/{location}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.FetchDataSourceReferencesForResourceTypeRequest.md.txt#Google_Cloud_BackupDR_V1_FetchDataSourceReferencesForResourceTypeRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationName` |   |

### ResourceType

    public string ResourceType { get; set; }

Required. The type of the GCP resource.
Ex: sql.googleapis.com/Instance

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |