API hub V1 API - Class Google::Cloud::ApiHub::V1::Plugin::ConfigTemplate::AuthConfigTemplate (v0.6.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::Plugin::ConfigTemplate::AuthConfigTemplate.

AuthConfigTemplate represents the authentication template for a plugin.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#service_account

def service_account() -> ::Google::Cloud::ApiHub::V1::GoogleServiceAccountConfig
Returns
  • (::Google::Cloud::ApiHub::V1::GoogleServiceAccountConfig) — Optional. The service account of the plugin hosting service. This service account should be granted the required permissions on the Auth Config parameters provided while creating the plugin instances corresponding to this plugin.

    For example, if the plugin instance auth config requires a secret manager secret, the service account should be granted the secretmanager.versions.access permission on the corresponding secret, if the plugin instance auth config contains a service account, the service account should be granted the iam.serviceAccounts.getAccessToken permission on the corresponding service account.

#service_account=

def service_account=(value) -> ::Google::Cloud::ApiHub::V1::GoogleServiceAccountConfig
Parameter
  • value (::Google::Cloud::ApiHub::V1::GoogleServiceAccountConfig) — Optional. The service account of the plugin hosting service. This service account should be granted the required permissions on the Auth Config parameters provided while creating the plugin instances corresponding to this plugin.

    For example, if the plugin instance auth config requires a secret manager secret, the service account should be granted the secretmanager.versions.access permission on the corresponding secret, if the plugin instance auth config contains a service account, the service account should be granted the iam.serviceAccounts.getAccessToken permission on the corresponding service account.

Returns
  • (::Google::Cloud::ApiHub::V1::GoogleServiceAccountConfig) — Optional. The service account of the plugin hosting service. This service account should be granted the required permissions on the Auth Config parameters provided while creating the plugin instances corresponding to this plugin.

    For example, if the plugin instance auth config requires a secret manager secret, the service account should be granted the secretmanager.versions.access permission on the corresponding secret, if the plugin instance auth config contains a service account, the service account should be granted the iam.serviceAccounts.getAccessToken permission on the corresponding service account.

#supported_auth_types

def supported_auth_types() -> ::Array<::Google::Cloud::ApiHub::V1::AuthType>
Returns

#supported_auth_types=

def supported_auth_types=(value) -> ::Array<::Google::Cloud::ApiHub::V1::AuthType>
Parameter
Returns