Reference documentation and code samples for the Google Cloud Api Hub V1 Client class DeleteVersionRequest.
The DeleteVersion method's request.
Generated from protobuf message google.cloud.apihub.v1.DeleteVersionRequest
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the version to delete. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}
↳ force
bool
Optional. If set to true, any specs from this version will also be deleted. Otherwise, the request will only work if the version has no specs.
getName
Required. The name of the version to delete.
Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}
string
setName
Required. The name of the version to delete.
Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}
var
string
$this
getForce
Optional. If set to true, any specs from this version will also be deleted.
Otherwise, the request will only work if the version has no specs.
bool
setForce
Optional. If set to true, any specs from this version will also be deleted.
Otherwise, the request will only work if the version has no specs.
var
bool
$this
static::build
name
string
Required. The name of the version to delete.
Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}
Please see ApiHubClient::versionName()
for help formatting this field.

