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 \ V1Methods
__construct
Constructor.
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
↳ 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/*
string
setParent
Required. The parent, which owns this collection of versions.
Format: projects/*/locations/*/apis/*
var
string
$this
getApiVersion
Required. The version to create.
hasApiVersion
clearApiVersion
setApiVersion
Required. The version to create.
$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.
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.
var
string
$this
static::build
parent
string
Required. The parent, which owns this collection of versions.
Format: projects/*/locations/*/apis/*
Please see RegistryClient::apiName()
for help formatting this field.
apiVersion
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.