Google Cloud Api Hub V1 Client - Class EnablePluginRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class EnablePluginRequest.

The EnablePlugin method's request.

Generated from protobuf message google.cloud.apihub.v1.EnablePluginRequest

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the plugin to enable. Format: projects/{project}/locations/{location}/plugins/{plugin}.

getName

Required. The name of the plugin to enable.

Format: projects/{project}/locations/{location}/plugins/{plugin}.

Returns
Type Description
string

setName

Required. The name of the plugin to enable.

Format: projects/{project}/locations/{location}/plugins/{plugin}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the plugin to enable. Format: projects/{project}/locations/{location}/plugins/{plugin}. Please see Google\Cloud\ApiHub\V1\ApiHubPluginClient::pluginName() for help formatting this field.

Returns
Type Description
Google\Cloud\ApiHub\V1\EnablePluginRequest