Google Cloud Artifact Registry V1beta2 Client - Class ListVersionsRequest (0.3.13)

Reference documentation and code samples for the Google Cloud Artifact Registry V1beta2 Client class ListVersionsRequest.

The request to list versions.

Generated from protobuf message google.devtools.artifactregistry.v1beta2.ListVersionsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

The name of the parent resource whose versions will be listed.

↳ page_size int

The maximum number of versions to return. Maximum page size is 1,000.

↳ page_token string

The next_page_token value returned from a previous list request, if any.

↳ view int

The view that should be returned in the response.

↳ order_by string

Optional. The field to order the results by.

getParent

The name of the parent resource whose versions will be listed.

Returns
TypeDescription
string

setParent

The name of the parent resource whose versions will be listed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of versions to return. Maximum page size is 1,000.

Returns
TypeDescription
int

setPageSize

The maximum number of versions to return. Maximum page size is 1,000.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The next_page_token value returned from a previous list request, if any.

Returns
TypeDescription
string

setPageToken

The next_page_token value returned from a previous list request, if any.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getView

The view that should be returned in the response.

Returns
TypeDescription
int

setView

The view that should be returned in the response.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getOrderBy

Optional. The field to order the results by.

Returns
TypeDescription
string

setOrderBy

Optional. The field to order the results by.

Parameter
NameDescription
var string
Returns
TypeDescription
$this