public interface DestinationOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCloudFunction()
public abstract String getCloudFunction() The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format: projects/{project}/locations/{location}/functions/{function}
string cloud_function = 2 [(.google.api.resource_reference) = { ... }
| Type | Description |
| String | The cloudFunction. |
getCloudFunctionBytes()
public abstract ByteString getCloudFunctionBytes() The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format: projects/{project}/locations/{location}/functions/{function}
string cloud_function = 2 [(.google.api.resource_reference) = { ... }
| Type | Description |
| ByteString | The bytes for cloudFunction. |
getCloudRun()
public abstract CloudRun getCloudRun()Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
.google.cloud.eventarc.v1.CloudRun cloud_run = 1;
| Type | Description |
| CloudRun | The cloudRun. |
getCloudRunOrBuilder()
public abstract CloudRunOrBuilder getCloudRunOrBuilder()Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
.google.cloud.eventarc.v1.CloudRun cloud_run = 1;
| Type | Description |
| CloudRunOrBuilder |
getDescriptorCase()
public abstract Destination.DescriptorCase getDescriptorCase()| Type | Description |
| Destination.DescriptorCase |
getGke()
public abstract GKE getGke()A GKE service capable of receiving events. The service should be running in the same project as the trigger.
.google.cloud.eventarc.v1.GKE gke = 3;
| Type | Description |
| GKE | The gke. |
getGkeOrBuilder()
public abstract GKEOrBuilder getGkeOrBuilder()A GKE service capable of receiving events. The service should be running in the same project as the trigger.
.google.cloud.eventarc.v1.GKE gke = 3;
| Type | Description |
| GKEOrBuilder |
hasCloudFunction()
public abstract boolean hasCloudFunction() The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format: projects/{project}/locations/{location}/functions/{function}
string cloud_function = 2 [(.google.api.resource_reference) = { ... }
| Type | Description |
| boolean | Whether the cloudFunction field is set. |
hasCloudRun()
public abstract boolean hasCloudRun()Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
.google.cloud.eventarc.v1.CloudRun cloud_run = 1;
| Type | Description |
| boolean | Whether the cloudRun field is set. |
hasGke()
public abstract boolean hasGke()A GKE service capable of receiving events. The service should be running in the same project as the trigger.
.google.cloud.eventarc.v1.GKE gke = 3;
| Type | Description |
| boolean | Whether the gke field is set. |