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.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent, which owns this collection of versions. Format: |
↳ api_version |
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 | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent, which owns this collection of versions.
Format: projects/*/locations/*/apis/*
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getApiVersion
Required. The version to create.
| Returns | |
|---|---|
| Type | Description |
ApiVersion|null |
|
hasApiVersion
clearApiVersion
setApiVersion
Required. The version to create.
| Parameter | |
|---|---|
| Name | Description |
var |
ApiVersion
|
| Returns | |
|---|---|
| Type | Description |
$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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent, which owns this collection of versions.
Format: |
apiVersion |
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 | |
|---|---|
| Type | Description |
CreateApiVersionRequest |
|