Eventarc V1 API - Class Google::Cloud::Eventarc::V1::GKE (v1.2.0)

Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::GKE.

Represents a GKE destination.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cluster

def cluster() -> ::String
Returns
  • (::String) — Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.

#cluster=

def cluster=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
Returns
  • (::String) — Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.

#location

def location() -> ::String
Returns
  • (::String) — Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.

#location=

def location=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
Returns
  • (::String) — Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.

#namespace

def namespace() -> ::String
Returns
  • (::String) — Required. The namespace the GKE service is running in.

#namespace=

def namespace=(value) -> ::String
Parameter
  • value (::String) — Required. The namespace the GKE service is running in.
Returns
  • (::String) — Required. The namespace the GKE service is running in.

#path

def path() -> ::String
Returns
  • (::String) — Optional. The relative path on the GKE service the events should be sent to.

    The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

#path=

def path=(value) -> ::String
Parameter
  • value (::String) — Optional. The relative path on the GKE service the events should be sent to.

    The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

Returns
  • (::String) — Optional. The relative path on the GKE service the events should be sent to.

    The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

#service

def service() -> ::String
Returns
  • (::String) — Required. Name of the GKE service.

#service=

def service=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the GKE service.
Returns
  • (::String) — Required. Name of the GKE service.