Google Cloud Artifact Registry V1 Client - Class ListRulesResponse (1.1.1)

Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class ListRulesResponse.

The response from listing rules.

Generated from protobuf message google.devtools.artifactregistry.v1.ListRulesResponse

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ rules array<Google\Cloud\ArtifactRegistry\V1\Rule>

The rules returned.

↳ next_page_token string

The token to retrieve the next page of rules, or empty if there are no more rules to return.

getRules

The rules returned.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRules

The rules returned.

Parameter
Name Description
var array<Google\Cloud\ArtifactRegistry\V1\Rule>
Returns
Type Description
$this

getNextPageToken

The token to retrieve the next page of rules, or empty if there are no more rules to return.

Returns
Type Description
string

setNextPageToken

The token to retrieve the next page of rules, or empty if there are no more rules to return.

Parameter
Name Description
var string
Returns
Type Description
$this