Class ProjectsResource.LocationsResource.DataSourceReferencesResource.FetchForResourceTypeRequest
Fetch DataSourceReferences for a given project, location and resource type.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Backupdr.v1
Assembly: Google.Apis.Backupdr.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataSourceReferencesResource.FetchForResourceTypeRequest : BackupdrBaseServiceRequest<FetchDataSourceReferencesForResourceTypeResponse>, IClientServiceRequest<FetchDataSourceReferencesForResourceTypeResponse>, IClientServiceRequest
Constructors
FetchForResourceTypeRequest(IClientService, string)
Constructs a new FetchForResourceType request.
Declaration
public FetchForResourceTypeRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
Properties
Filter
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
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
OrderBy
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
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
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.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
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.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. The parent resource name. Format: projects/{project}/locations/{location}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
ResourceType
Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance
Declaration
[RequestParameter("resourceType", RequestParameterType.Query)]
public virtual string ResourceType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes FetchForResourceType parameter list.
Declaration
protected override void InitParameters()