Class GCPServiceEndpoint
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.GCPServiceEndpoint
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GCPServiceEndpointBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GCPServiceEndpoint extends Object implements io.fabric8.kubernetes.api.builder.Editable<GCPServiceEndpointBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GCPServiceEndpoint store the configuration of a custom url to override existing defaults of GCP Services.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GCPServiceEndpoint()No args constructor for use in serializationGCPServiceEndpoint(String name, String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GCPServiceEndpointBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()name is the name of the GCP service whose endpoint is being overridden.StringgetUrl()url is a fully qualified URI that overrides the default endpoint for a client using the GCP service specified in the name field. url is required, must use the scheme https, must not be more than 253 characters in length, and must be a valid URL according to Go's net/url package (https://pkg.go.dev/net/url#URL)voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)name is the name of the GCP service whose endpoint is being overridden.voidsetUrl(String url)url is a fully qualified URI that overrides the default endpoint for a client using the GCP service specified in the name field. url is required, must use the scheme https, must not be more than 253 characters in length, and must be a valid URL according to Go's net/url package (https://pkg.go.dev/net/url#URL)GCPServiceEndpointBuildertoBuilder()
-
-
-
Method Detail
-
getName
public String getName()
name is the name of the GCP service whose endpoint is being overridden. This must be provided and cannot be empty.Allowed values are Compute, Container, CloudResourceManager, DNS, File, IAM, ServiceUsage, Storage, and TagManager.
As an example, when setting the name to Compute all requests made by the caller to the GCP Compute Service will be directed to the endpoint specified in the url field.
-
setName
public void setName(String name)
name is the name of the GCP service whose endpoint is being overridden. This must be provided and cannot be empty.Allowed values are Compute, Container, CloudResourceManager, DNS, File, IAM, ServiceUsage, Storage, and TagManager.
As an example, when setting the name to Compute all requests made by the caller to the GCP Compute Service will be directed to the endpoint specified in the url field.
-
getUrl
public String getUrl()
url is a fully qualified URI that overrides the default endpoint for a client using the GCP service specified in the name field. url is required, must use the scheme https, must not be more than 253 characters in length, and must be a valid URL according to Go's net/url package (https://pkg.go.dev/net/url#URL)An example of a valid endpoint that overrides the Compute Service: "https://compute-myendpoint1.p.googleapis.com"
-
setUrl
public void setUrl(String url)
url is a fully qualified URI that overrides the default endpoint for a client using the GCP service specified in the name field. url is required, must use the scheme https, must not be more than 253 characters in length, and must be a valid URL according to Go's net/url package (https://pkg.go.dev/net/url#URL)An example of a valid endpoint that overrides the Compute Service: "https://compute-myendpoint1.p.googleapis.com"
-
edit
public GCPServiceEndpointBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GCPServiceEndpointBuilder>
-
toBuilder
public GCPServiceEndpointBuilder toBuilder()
-
-