Google Cloud Ai Platform V1 Client - Class SearchMigratableResourcesRequest (0.10.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class SearchMigratableResourcesRequest.

Request message for MigrationService.SearchMigratableResources.

Generated from protobuf message google.cloud.aiplatform.v1.SearchMigratableResourcesRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The location that the migratable resources should be searched from. It's the Vertex AI location that the resources can be migrated to, not the resources' original location. Format: projects/{project}/locations/{location}

↳ page_size int

The standard page size. The default and maximum value is 100.

↳ page_token string

The standard page token.

↳ filter string

A filter for your search. You can use the following types of filters: * Resource type filters. The following strings filter for a specific type of MigratableResource: * ml_engine_model_version:* * automl_model:* * automl_dataset:* * data_labeling_dataset:* * "Migrated or not" filters. The following strings filter for resources that either have or have not already been migrated: * last_migrate_time:* filters for migrated resources. * NOT last_migrate_time:* filters for not yet migrated resources.

getParent

Required. The location that the migratable resources should be searched from.

It's the Vertex AI location that the resources can be migrated to, not the resources' original location. Format: projects/{project}/locations/{location}

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setParent

Required. The location that the migratable resources should be searched from.

It's the Vertex AI location that the resources can be migrated to, not the resources' original location. Format: projects/{project}/locations/{location}

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The standard page size.

The default and maximum value is 100.

Generated from protobuf field int32 page_size = 2;

Returns
TypeDescription
int

setPageSize

The standard page size.

The default and maximum value is 100.

Generated from protobuf field int32 page_size = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The standard page token.

Generated from protobuf field string page_token = 3;

Returns
TypeDescription
string

setPageToken

The standard page token.

Generated from protobuf field string page_token = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

A filter for your search. You can use the following types of filters:

  • Resource type filters. The following strings filter for a specific type of MigratableResource:
    • ml_engine_model_version:*
    • automl_model:*
    • automl_dataset:*
    • data_labeling_dataset:*
  • "Migrated or not" filters. The following strings filter for resources that either have or have not already been migrated:

    • last_migrate_time:* filters for migrated resources.
  • NOT last_migrate_time:* filters for not yet migrated resources.

Generated from protobuf field string filter = 4;

Returns
TypeDescription
string

setFilter

A filter for your search. You can use the following types of filters:

  • Resource type filters. The following strings filter for a specific type of MigratableResource:
    • ml_engine_model_version:*
    • automl_model:*
    • automl_dataset:*
    • data_labeling_dataset:*
  • "Migrated or not" filters. The following strings filter for resources that either have or have not already been migrated:

    • last_migrate_time:* filters for migrated resources.
  • NOT last_migrate_time:* filters for not yet migrated resources.

Generated from protobuf field string filter = 4;

Parameter
NameDescription
var string
Returns
TypeDescription
$this