Interface Plugin.ConfigTemplate.AuthConfigTemplateOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Plugin.ConfigTemplate.AuthConfigTemplate, Plugin.ConfigTemplate.AuthConfigTemplate.Builder
Enclosing class:
Plugin.ConfigTemplate

public static interface Plugin.ConfigTemplate.AuthConfigTemplateOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getSupportedAuthTypesList

      List<AuthType> getSupportedAuthTypesList()
       Required. The list of authentication types supported by the plugin.
       
      repeated .google.cloud.apihub.v1.AuthType supported_auth_types = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      A list containing the supportedAuthTypes.
    • getSupportedAuthTypesCount

      int getSupportedAuthTypesCount()
       Required. The list of authentication types supported by the plugin.
       
      repeated .google.cloud.apihub.v1.AuthType supported_auth_types = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The count of supportedAuthTypes.
    • getSupportedAuthTypes

      AuthType getSupportedAuthTypes(int index)
       Required. The list of authentication types supported by the plugin.
       
      repeated .google.cloud.apihub.v1.AuthType supported_auth_types = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the element to return.
      Returns:
      The supportedAuthTypes at the given index.
    • getSupportedAuthTypesValueList

      List<Integer> getSupportedAuthTypesValueList()
       Required. The list of authentication types supported by the plugin.
       
      repeated .google.cloud.apihub.v1.AuthType supported_auth_types = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      A list containing the enum numeric values on the wire for supportedAuthTypes.
    • getSupportedAuthTypesValue

      int getSupportedAuthTypesValue(int index)
       Required. The list of authentication types supported by the plugin.
       
      repeated .google.cloud.apihub.v1.AuthType supported_auth_types = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of supportedAuthTypes at the given index.
    • hasServiceAccount

      boolean hasServiceAccount()
       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.
       
      .google.cloud.apihub.v1.GoogleServiceAccountConfig service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the serviceAccount field is set.
    • getServiceAccount

      GoogleServiceAccountConfig getServiceAccount()
       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.
       
      .google.cloud.apihub.v1.GoogleServiceAccountConfig service_account = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The serviceAccount.
    • getServiceAccountOrBuilder

      GoogleServiceAccountConfigOrBuilder getServiceAccountOrBuilder()
       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.
       
      .google.cloud.apihub.v1.GoogleServiceAccountConfig service_account = 2 [(.google.api.field_behavior) = OPTIONAL];