Database Migration v1 API - Class ListMigrationJobsRequest (2.3.0)

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

Reference documentation and code samples for the Database Migration v1 API class ListMigrationJobsRequest.

Retrieves a list of all migration jobs in a given project and location.

Inheritance

object > ListMigrationJobsRequest

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

ListMigrationJobsRequest()

public ListMigrationJobsRequest()

ListMigrationJobsRequest(ListMigrationJobsRequest)

public ListMigrationJobsRequest(ListMigrationJobsRequest other)
Parameter
NameDescription
otherListMigrationJobsRequest

Properties

Filter

public string Filter { get; set; }

A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list migration jobs created this year by specifying createTime %gt; 2020-01-01T00:00:00.000000000Z. You can also filter nested fields. For example, you could specify reverseSshConnectivity.vmIp = "1.2.3.4" to select all migration jobs connecting through the specific SSH tunnel bastion.

Property Value
TypeDescription
string

OrderBy

public string OrderBy { get; set; }

Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc".

Property Value
TypeDescription
string

PageSize

public int PageSize { get; set; }

The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 are coerced to 1000.

Property Value
TypeDescription
int

PageToken

public string PageToken { get; set; }

The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The parent which owns this collection of migrationJobs.

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName