Google Cloud Dms V1 Client - Class ListPrivateConnectionsRequest (1.2.1)

Reference documentation and code samples for the Google Cloud Dms V1 Client class ListPrivateConnectionsRequest.

Request message to retrieve a list of private connections in a given project and location.

Generated from protobuf message google.cloud.clouddms.v1.ListPrivateConnectionsRequest

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent that owns the collection of private connections.

↳ page_size int

Maximum number of private connections to return. If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

↳ page_token string

Page token received from a previous ListPrivateConnections call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListPrivateConnections must match the call that provided the page token.

↳ filter string

A filter expression that filters private connections 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 private connections created this year by specifying createTime %gt; 2021-01-01T00:00:00.000000000Z.

↳ order_by string

Order by fields for the result.

getParent

Required. The parent that owns the collection of private connections.

Returns
TypeDescription
string

setParent

Required. The parent that owns the collection of private connections.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Maximum number of private connections to return.

If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

Returns
TypeDescription
int

setPageSize

Maximum number of private connections to return.

If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Page token received from a previous ListPrivateConnections call.

Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListPrivateConnections must match the call that provided the page token.

Returns
TypeDescription
string

setPageToken

Page token received from a previous ListPrivateConnections call.

Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListPrivateConnections must match the call that provided the page token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

A filter expression that filters private connections 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 private connections created this year by specifying createTime %gt; 2021-01-01T00:00:00.000000000Z.

Returns
TypeDescription
string

setFilter

A filter expression that filters private connections 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 private connections created this year by specifying createTime %gt; 2021-01-01T00:00:00.000000000Z.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOrderBy

Order by fields for the result.

Returns
TypeDescription
string

setOrderBy

Order by fields for the result.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The parent that owns the collection of private connections. Please see Google\Cloud\CloudDms\V1\DataMigrationServiceClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\ListPrivateConnectionsRequest