Class GCPProviderSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GCPProviderSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetAudience()Audience that will be used with Workload Identity Federation.StringgetKind()Kind is a string value representing the REST resource this object represents.List<String>getPermissions()Permissions is the list of GCP permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest.List<String>getPredefinedRoles()PredefinedRoles is the list of GCP pre-defined roles that the CredentialsRequest requires.StringgetServiceAccountEmail()ServiceAccountEmail that will be impersonated during Workload Identity Federation.BooleangetSkipServiceCheck()SkipServiceCheck can be set to true to skip the check whether the requested roles or permissions have the necessary services enabledvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetAudience(String audience)Audience that will be used with Workload Identity Federation.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetPermissions(List<String> permissions)Permissions is the list of GCP permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest.voidsetPredefinedRoles(List<String> predefinedRoles)PredefinedRoles is the list of GCP pre-defined roles that the CredentialsRequest requires.voidsetServiceAccountEmail(String serviceAccountEmail)ServiceAccountEmail that will be impersonated during Workload Identity Federation.voidsetSkipServiceCheck(Boolean skipServiceCheck)SkipServiceCheck can be set to true to skip the check whether the requested roles or permissions have the necessary services enabledGCPProviderSpecBuildertoBuilder()
-
-
-
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
-
edit
public GCPProviderSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GCPProviderSpecBuilder>
-
toBuilder
public GCPProviderSpecBuilder toBuilder()
-
-