Package com.google.cloud.eventarc.v1
Interface CloudRunOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CloudRun
,CloudRun.Builder
public interface CloudRunOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPath()
Optional.com.google.protobuf.ByteString
getPathBytes()
Optional.String
getRegion()
Required.com.google.protobuf.ByteString
getRegionBytes()
Required.String
getService()
Required.com.google.protobuf.ByteString
getServiceBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getService
String getService()
Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.
string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The service.
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()
Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.
string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for service.
-
getPath
String getPath()
Optional. The relative path on the Cloud Run 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".
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()
Optional. The relative path on the Cloud Run 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".
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for path.
-
getRegion
String getRegion()
Required. The region the Cloud Run service is deployed in.
string region = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()
Required. The region the Cloud Run service is deployed in.
string region = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for region.
-
-