Interface GcpConnectorConfiguration.Builder

  • Method Details

    • gcpOrganizationId

      GcpConnectorConfiguration.Builder gcpOrganizationId(String gcpOrganizationId)

      The ID of the Google Cloud organization that contains the connector's management project, which is the project of the service account in serviceAccountEmail.

      Required if the management project belongs to an organization. A connector needs an organization ID to record an entire organization or more than one project. Omit it only if the management project doesn't belong to an organization. In that case, the connector can record only the management project.

      Parameters:
      gcpOrganizationId - The ID of the Google Cloud organization that contains the connector's management project, which is the project of the service account in serviceAccountEmail.

      Required if the management project belongs to an organization. A connector needs an organization ID to record an entire organization or more than one project. Omit it only if the management project doesn't belong to an organization. In that case, the connector can record only the management project.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceAccountEmail

      GcpConnectorConfiguration.Builder serviceAccountEmail(String serviceAccountEmail)

      The email address of the Google Cloud service account that Config uses to access your Google Cloud resources. The format is SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com.

      The project that contains this service account is the connector's management project. If the connector has no gcpOrganizationId, it can record only the management project.

      Parameters:
      serviceAccountEmail - The email address of the Google Cloud service account that Config uses to access your Google Cloud resources. The format is SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com.

      The project that contains this service account is the connector's management project. If the connector has no gcpOrganizationId, it can record only the management project.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workloadIdentityPoolProvider

      GcpConnectorConfiguration.Builder workloadIdentityPoolProvider(String workloadIdentityPoolProvider)

      The full resource name of the Google Cloud workload identity pool provider that trusts Config. The format is projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/providers/PROVIDER_ID.

      Parameters:
      workloadIdentityPoolProvider - The full resource name of the Google Cloud workload identity pool provider that trusts Config. The format is projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/providers/PROVIDER_ID .
      Returns:
      Returns a reference to this object so that method calls can be chained together.