Google Cloud Apigee Registry V1 Client - Class DeleteApiSpecRevisionRequest (0.5.5)

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

Request message for DeleteApiSpecRevision.

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

Namespace

Google \ Cloud \ ApigeeRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the spec revision to be deleted, with a revision ID explicitly included. Example: projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8

getName

Required. The name of the spec revision to be deleted, with a revision ID explicitly included.

Example: projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8

Returns
Type Description
string

setName

Required. The name of the spec revision to be deleted, with a revision ID explicitly included.

Example: projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the spec revision to be deleted, with a revision ID explicitly included.

Example: projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8 Please see Google\Cloud\ApigeeRegistry\V1\RegistryClient::apiSpecName() for help formatting this field.

Returns
Type Description
Google\Cloud\ApigeeRegistry\V1\DeleteApiSpecRevisionRequest