Reference documentation and code samples for the Managed Service for Apache Kafka V1 API module Google::Cloud::ManagedKafka::V1::ManagedKafka::Paths.
Path helper methods for the ManagedKafka API.
Methods
#cluster_path
def cluster_path(project:, location:, cluster:) -> ::String
Create a fully-qualified Cluster resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/clusters/{cluster}
- project (String)
- location (String)
- cluster (String)
- (::String)
- (::ArgumentError)
#consumer_group_path
def consumer_group_path(project:, location:, cluster:, consumer_group:) -> ::String
Create a fully-qualified ConsumerGroup resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}
- project (String)
- location (String)
- cluster (String)
- consumer_group (String)
- (::String)
- (::ArgumentError)
#crypto_key_path
def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::String
Create a fully-qualified CryptoKey resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
- project (String)
- location (String)
- key_ring (String)
- crypto_key (String)
- (::String)
- (::ArgumentError)
#location_path
def location_path(project:, location:) -> ::String
Create a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#topic_path
def topic_path(project:, location:, cluster:, topic:) -> ::String
Create a fully-qualified Topic resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}
- project (String)
- location (String)
- cluster (String)
- topic (String)
- (::String)
- (::ArgumentError)