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
Name
Description
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
Type
Description
string
setParent
Required. The project and location from which to list Registrations, specified in
the format projects/*/locations/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Maximum number of results to return.
Returns
Type
Description
int
setPageSize
Maximum number of results to return.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
When set to the next_page_token from a prior response, provides the next
page of results.
Returns
Type
Description
string
setPageToken
When set to the next_page_token from a prior response, provides the next
page of results.
Parameter
Name
Description
var
string
Returns
Type
Description
$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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The project and location from which to list Registrations, specified in
the format projects/*/locations/*. Please see
DomainsClient::locationName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Domains V1 Client - Class ListRegistrationsRequest (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-domains/latest/V1.ListRegistrationsRequest)\n- [1.0.3](/php/docs/reference/cloud-domains/1.0.3/V1.ListRegistrationsRequest)\n- [0.5.5](/php/docs/reference/cloud-domains/0.5.5/V1.ListRegistrationsRequest)\n- [0.4.2](/php/docs/reference/cloud-domains/0.4.2/V1.ListRegistrationsRequest)\n- [0.3.1](/php/docs/reference/cloud-domains/0.3.1/V1.ListRegistrationsRequest)\n- [0.2.11](/php/docs/reference/cloud-domains/0.2.11/V1.ListRegistrationsRequest) \nReference documentation and code samples for the Google Cloud Domains V1 Client class ListRegistrationsRequest.\n\nRequest for the `ListRegistrations` method.\n\nGenerated from protobuf message `google.cloud.domains.v1.ListRegistrationsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Domains \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The project and location from which to list `Registration`s, specified in\nthe format `projects/*/locations/*`.\n\n### setParent\n\nRequired. The project and location from which to list `Registration`s, specified in\nthe format `projects/*/locations/*`.\n\n### getPageSize\n\nMaximum number of results to return.\n\n### setPageSize\n\nMaximum number of results to return.\n\n### getPageToken\n\nWhen set to the `next_page_token` from a prior response, provides the next\npage of results.\n\n### setPageToken\n\nWhen set to the `next_page_token` from a prior response, provides the next\npage of results.\n\n### getFilter\n\nFilter expression to restrict the `Registration`s returned.\n\nThe expression must specify the field name, a comparison operator, and the\nvalue that you want to use for filtering. The value must be a string, a\nnumber, a boolean, or an enum value. The comparison operator should be one\nof =, !=, \\\u003e, \\\u003c, \\\u003e=, \\\u003c=, or : for prefix or wildcard matches.\nFor example, to filter to a specific domain name, use an expression like\n`domainName=\"example.com\"`. You can also check for the existence of a\nfield; for example, to find domains using custom DNS settings, use an\nexpression like `dnsSettings.customDns:*`.\nYou can also create compound filters by combining expressions with the\n`AND` and `OR` operators. For example, to find domains that are suspended\nor have specific issues flagged, use an expression like\n`(state=SUSPENDED) OR (issue:*)`.\n\n### setFilter\n\nFilter expression to restrict the `Registration`s returned.\n\nThe expression must specify the field name, a comparison operator, and the\nvalue that you want to use for filtering. The value must be a string, a\nnumber, a boolean, or an enum value. The comparison operator should be one\nof =, !=, \\\u003e, \\\u003c, \\\u003e=, \\\u003c=, or : for prefix or wildcard matches.\nFor example, to filter to a specific domain name, use an expression like\n`domainName=\"example.com\"`. You can also check for the existence of a\nfield; for example, to find domains using custom DNS settings, use an\nexpression like `dnsSettings.customDns:*`.\nYou can also create compound filters by combining expressions with the\n`AND` and `OR` operators. For example, to find domains that are suspended\nor have specific issues flagged, use an expression like\n`(state=SUSPENDED) OR (issue:*)`.\n\n### static::build"]]