Class 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 Detail

      • GCPServiceEndpoint

        public GCPServiceEndpoint()
        No args constructor for use in serialization
      • GCPServiceEndpoint

        public GCPServiceEndpoint​(String name,
                                  String url)
    • 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"

      • getAdditionalProperties

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

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

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