Class GCPProviderSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<GCPProviderSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class GCPProviderSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<GCPProviderSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced
    GCPProviderSpec contains the required information to create a service account with policy bindings in GCP.
    See Also:
    Serialized Form
    • Constructor Detail

      • GCPProviderSpec

        public GCPProviderSpec()
        No args constructor for use in serialization
    • Method Detail

      • getApiVersion

        public String getApiVersion()
        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
      • setApiVersion

        public void setApiVersion​(String apiVersion)
        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
      • getAudience

        public String getAudience()
        Audience that will be used with Workload Identity Federation. It should be formatted as follows: "//iam.googleapis.com/projects/<PROJECT_NUMBER>/locations/global/workloadIdentityPools/<POOL_ID>/providers/<PROVIDER_ID>" For more information see https://cloud.google.com/iam/docs/workload-identity-federation-with-other-providers#create-credential-config
      • setAudience

        public void setAudience​(String audience)
        Audience that will be used with Workload Identity Federation. It should be formatted as follows: "//iam.googleapis.com/projects/<PROJECT_NUMBER>/locations/global/workloadIdentityPools/<POOL_ID>/providers/<PROVIDER_ID>" For more information see https://cloud.google.com/iam/docs/workload-identity-federation-with-other-providers#create-credential-config
      • getKind

        public String getKind()
        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      • setKind

        public void setKind​(String kind)
        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      • getPermissions

        public List<String> getPermissions()
        Permissions is the list of GCP permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest. The Permissions field may be provided in addition to PredefinedRoles. When both fields are specified, the service account will have union of permissions defined from both Permissions and PredefinedRoles.
      • setPermissions

        public void setPermissions​(List<String> permissions)
        Permissions is the list of GCP permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest. The Permissions field may be provided in addition to PredefinedRoles. When both fields are specified, the service account will have union of permissions defined from both Permissions and PredefinedRoles.
      • getPredefinedRoles

        public List<String> getPredefinedRoles()
        PredefinedRoles is the list of GCP pre-defined roles that the CredentialsRequest requires.
      • setPredefinedRoles

        public void setPredefinedRoles​(List<String> predefinedRoles)
        PredefinedRoles is the list of GCP pre-defined roles that the CredentialsRequest requires.
      • getServiceAccountEmail

        public String getServiceAccountEmail()
        ServiceAccountEmail that will be impersonated during Workload Identity Federation.
      • setServiceAccountEmail

        public void setServiceAccountEmail​(String serviceAccountEmail)
        ServiceAccountEmail that will be impersonated during Workload Identity Federation.
      • getSkipServiceCheck

        public Boolean getSkipServiceCheck()
        SkipServiceCheck can be set to true to skip the check whether the requested roles or permissions have the necessary services enabled
      • setSkipServiceCheck

        public void setSkipServiceCheck​(Boolean skipServiceCheck)
        SkipServiceCheck can be set to true to skip the check whether the requested roles or permissions have the necessary services enabled
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)