Google Cloud Apigee Registry V1 Client - Class CreateApiVersionRequest (0.3.2)

Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class CreateApiVersionRequest.

Request message for CreateApiVersion.

Generated from protobuf message google.cloud.apigeeregistry.v1.CreateApiVersionRequest

Namespace

Google \ Cloud \ ApigeeRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns this collection of versions. Format: projects/*/locations/*/apis/*

↳ api_version Google\Cloud\ApigeeRegistry\V1\ApiVersion

Required. The version to create.

↳ api_version_id string

Required. The ID to use for the version, which will become the final component of the version's resource name. This value should be 1-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.

getParent

Required. The parent, which owns this collection of versions.

Format: projects/*/locations/*/apis/*

Returns
TypeDescription
string

setParent

Required. The parent, which owns this collection of versions.

Format: projects/*/locations/*/apis/*

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getApiVersion

Required. The version to create.

Returns
TypeDescription
Google\Cloud\ApigeeRegistry\V1\ApiVersion|null

hasApiVersion

clearApiVersion

setApiVersion

Required. The version to create.

Parameter
NameDescription
var Google\Cloud\ApigeeRegistry\V1\ApiVersion
Returns
TypeDescription
$this

getApiVersionId

Required. The ID to use for the version, which will become the final component of the version's resource name.

This value should be 1-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.

Returns
TypeDescription
string

setApiVersionId

Required. The ID to use for the version, which will become the final component of the version's resource name.

This value should be 1-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The parent, which owns this collection of versions. Format: projects/*/locations/*/apis/* Please see Google\Cloud\ApigeeRegistry\V1\RegistryClient::apiName() for help formatting this field.

apiVersion Google\Cloud\ApigeeRegistry\V1\ApiVersion

Required. The version to create.

apiVersionId string

Required. The ID to use for the version, which will become the final component of the version's resource name.

This value should be 1-63 characters, and valid characters are /[a-z][0-9]-/.

Following AIP-162, IDs must not have the form of a UUID.

Returns
TypeDescription
Google\Cloud\ApigeeRegistry\V1\CreateApiVersionRequest