Google Cloud Domains V1 Client - Class ListRegistrationsRequest (0.4.2)

Reference documentation and code samples for the Google Cloud Domains V1 Client class ListRegistrationsRequest.

Request for the ListRegistrations method.

Generated from protobuf message google.cloud.domains.v1.ListRegistrationsRequest

Namespace

Google \ Cloud \ Domains \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project and location from which to list Registrations, specified in the format projects/*/locations/*.

↳ page_size int

Maximum number of results to return.

↳ page_token string

When set to the next_page_token from a prior response, provides the next page of results.

↳ filter string

Filter expression to restrict the Registrations returned. 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, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to filter to a specific domain name, use an expression like domainName="example.com". You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression like dnsSettings.customDns:*. You can also create compound filters by combining expressions with the AND and OR operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like (state=SUSPENDED) OR (issue:*).

getParent

Required. The project and location from which to list Registrations, specified in the format projects/*/locations/*.

Returns
TypeDescription
string

setParent

Required. The project and location from which to list Registrations, specified in the format projects/*/locations/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Maximum number of results to return.

Returns
TypeDescription
int

setPageSize

Maximum number of results to return.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

When set to the next_page_token from a prior response, provides the next page of results.

Returns
TypeDescription
string

setPageToken

When set to the next_page_token from a prior response, provides the next page of results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

Filter expression to restrict the Registrations returned.

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, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to filter to a specific domain name, use an expression like domainName="example.com". You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression like dnsSettings.customDns:*. You can also create compound filters by combining expressions with the AND and OR operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like (state=SUSPENDED) OR (issue:*).

Returns
TypeDescription
string

setFilter

Filter expression to restrict the Registrations returned.

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, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to filter to a specific domain name, use an expression like domainName="example.com". You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression like dnsSettings.customDns:*. You can also create compound filters by combining expressions with the AND and OR operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like (state=SUSPENDED) OR (issue:*).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The project and location from which to list Registrations, specified in the format projects/*/locations/*. Please see Google\Cloud\Domains\V1\DomainsClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Domains\V1\ListRegistrationsRequest