Reference documentation and code samples for the Google Cloud Api Hub V1 Client class PluginInstance.
Represents a plugin instance resource in the API Hub.
A PluginInstance is a specific instance of a hub plugin with its own configuration, state, and execution details.
Generated from protobuf message google.cloud.apihub.v1.PluginInstance
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The unique name of the plugin instance resource. Format: projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
↳ display_name
string
Required. The display name for this plugin instance. Max length is 255 characters.
↳ auth_config
↳ additional_config
array| Google\Protobuf\Internal\MapField
Optional. The additional information for this plugin instance corresponding to the additional config template of the plugin. This information will be sent to plugin hosting service on each call to plugin hosted service. The key will be the config_variable_template.display_name to uniquely identify the config variable.
↳ state
int
Output only. The current state of the plugin instance (e.g., enabled, disabled, provisioning).
↳ error_message
string
Output only. Error message describing the failure, if any, during Create, Delete or ApplyConfig operation corresponding to the plugin instance.This field will only be populated if the plugin instance is in the ERROR or FAILED state.
↳ actions
↳ create_time
↳ update_time
Google\Protobuf\Timestamp
Output only. Timestamp indicating when the plugin instance was last updated.
↳ source_project_id
string
Optional. The source project id of the plugin instance. This will be the id of runtime project in case of gcp based plugins and org id in case of non gcp based plugins. This field will be a required field for Google provided on-ramp plugins.
getName
Identifier. The unique name of the plugin instance resource.
Format: projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
string
setName
Identifier. The unique name of the plugin instance resource.
Format: projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
var
string
$this
getDisplayName
Required. The display name for this plugin instance. Max length is 255 characters.
string
setDisplayName
Required. The display name for this plugin instance. Max length is 255 characters.
var
string
$this
getAuthConfig
Optional. The authentication information for this plugin instance.
hasAuthConfig
clearAuthConfig
setAuthConfig
Optional. The authentication information for this plugin instance.
$this
getAdditionalConfig
Optional. The additional information for this plugin instance corresponding to the additional config template of the plugin. This information will be sent to plugin hosting service on each call to plugin hosted service. The key will be the config_variable_template.display_name to uniquely identify the config variable.
setAdditionalConfig
Optional. The additional information for this plugin instance corresponding to the additional config template of the plugin. This information will be sent to plugin hosting service on each call to plugin hosted service. The key will be the config_variable_template.display_name to uniquely identify the config variable.
$this
getState
Output only. The current state of the plugin instance (e.g., enabled, disabled, provisioning).
setState
Output only. The current state of the plugin instance (e.g., enabled, disabled, provisioning).
$this
getErrorMessage
Output only. Error message describing the failure, if any, during Create, Delete or ApplyConfig operation corresponding to the plugin instance.This field will only be populated if the plugin instance is in the ERROR or FAILED state.
string
setErrorMessage
Output only. Error message describing the failure, if any, during Create, Delete or ApplyConfig operation corresponding to the plugin instance.This field will only be populated if the plugin instance is in the ERROR or FAILED state.
var
string
$this
getActions
Required. The action status for the plugin instance.
setActions
Required. The action status for the plugin instance.
$this
getCreateTime
Output only. Timestamp indicating when the plugin instance was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp indicating when the plugin instance was created.
$this
getUpdateTime
Output only. Timestamp indicating when the plugin instance was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Timestamp indicating when the plugin instance was last updated.
$this
getSourceProjectId
Optional. The source project id of the plugin instance. This will be the id of runtime project in case of gcp based plugins and org id in case of non gcp based plugins. This field will be a required field for Google provided on-ramp plugins.
string
setSourceProjectId
Optional. The source project id of the plugin instance. This will be the id of runtime project in case of gcp based plugins and org id in case of non gcp based plugins. This field will be a required field for Google provided on-ramp plugins.
var
string
$this

