Google Cloud Api Hub V1 Client - Class ConfigTemplate (0.3.0)

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

ConfigTemplate represents the configuration template for a plugin.

Generated from protobuf message google.cloud.apihub.v1.Plugin.ConfigTemplate

Namespace

Google \ Cloud \ ApiHub \ V1 \ Plugin

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ auth_config_template ConfigTemplate\AuthConfigTemplate

Optional. The authentication template for the plugin.

↳ additional_config_template array<Google\Cloud\ApiHub\V1\ConfigVariableTemplate>

Optional. The list of additional configuration variables for the plugin's configuration.

getAuthConfigTemplate

Optional. The authentication template for the plugin.

Returns
Type Description
ConfigTemplate\AuthConfigTemplate|null

hasAuthConfigTemplate

clearAuthConfigTemplate

setAuthConfigTemplate

Optional. The authentication template for the plugin.

Parameter
Name Description
var ConfigTemplate\AuthConfigTemplate
Returns
Type Description
$this

getAdditionalConfigTemplate

Optional. The list of additional configuration variables for the plugin's configuration.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAdditionalConfigTemplate

Optional. The list of additional configuration variables for the plugin's configuration.

Parameter
Name Description
var array<Google\Cloud\ApiHub\V1\ConfigVariableTemplate>
Returns
Type Description
$this