Reference documentation and code samples for the Google Cloud Api Hub V1 Client class CreatePluginInstanceRequest.
The CreatePluginInstance method's request.
Generated from protobuf message google.cloud.apihub.v1.CreatePluginInstanceRequest
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent of the plugin instance resource. Format: projects/{project}/locations/{location}/plugins/{plugin}
↳ plugin_instance_id
string
Optional. The ID to use for the plugin instance, which will become the final component of the plugin instance's resource name. This field is optional. * * If provided, the same will be used. The service will throw an error if the specified id is already used by another plugin instance in the plugin resource. * * If not provided, a system generated id will be used. This value should be 4-63 characters, and valid characters are /[a-z][A-Z][0-9]-_/.
↳ plugin_instance
getParent
Required. The parent of the plugin instance resource.
Format: projects/{project}/locations/{location}/plugins/{plugin}
string
setParent
Required. The parent of the plugin instance resource.
Format: projects/{project}/locations/{location}/plugins/{plugin}
var
string
$this
getPluginInstanceId
Optional. The ID to use for the plugin instance, which will become the final component of the plugin instance's resource name. This field is optional.
- If provided, the same will be used. The service will throw an error if the specified id is already used by another plugin instance in the plugin resource.
- If not provided, a system generated id will be used. This value should be 4-63 characters, and valid characters are /[a-z][A-Z][0-9]-_/.
string
setPluginInstanceId
Optional. The ID to use for the plugin instance, which will become the final component of the plugin instance's resource name. This field is optional.
- If provided, the same will be used. The service will throw an error if the specified id is already used by another plugin instance in the plugin resource.
- If not provided, a system generated id will be used. This value should be 4-63 characters, and valid characters are /[a-z][A-Z][0-9]-_/.
var
string
$this
getPluginInstance
Required. The plugin instance to create.
hasPluginInstance
clearPluginInstance
setPluginInstance
Required. The plugin instance to create.
$this
static::build
parent
string
Required. The parent of the plugin instance resource.
Format: projects/{project}/locations/{location}/plugins/{plugin}
Please see ApiHubPluginClient::pluginName()
for help formatting this field.
pluginInstance
pluginInstanceId
string
Optional. The ID to use for the plugin instance, which will become the final component of the plugin instance's resource name. This field is optional.
-
- If provided, the same will be used. The service will throw an error if the specified id is already used by another plugin instance in the plugin resource.
-
- If not provided, a system generated id will be used.
This value should be 4-63 characters, and valid characters are /[a-z][A-Z][0-9]-_/.

