Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class DeleteApiVersionRequest.
Request message for DeleteApiVersion.
Generated from protobuf message google.cloud.apigeeregistry.v1.DeleteApiVersionRequest
Namespace
Google \ Cloud \ ApigeeRegistry \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the version to delete. Format: |
↳ force |
bool
If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.) |
getName
Required. The name of the version to delete.
Format: projects/*/locations/*/apis/*/versions/*
Returns | |
---|---|
Type | Description |
string |
setName
Required. The name of the version to delete.
Format: projects/*/locations/*/apis/*/versions/*
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getForce
If set to true, any child resources will also be deleted.
(Otherwise, the request will only work if there are no child resources.)
Returns | |
---|---|
Type | Description |
bool |
setForce
If set to true, any child resources will also be deleted.
(Otherwise, the request will only work if there are no child resources.)
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The name of the version to delete.
Format: |
Returns | |
---|---|
Type | Description |
DeleteApiVersionRequest |