Class EventTrigger (2.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.80.0 (latest)
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.3
- 2.3.6
publicfinalclass EventTriggerextendsGeneratedMessageV3implementsEventTriggerOrBuilderDescribes EventTrigger, used to request events to be sent from another service.
Protobuf type google.cloud.functions.v2.EventTrigger
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EventTriggerImplements
EventTriggerOrBuilderInherited Members
Static Fields
CHANNEL_FIELD_NUMBER
publicstaticfinalintCHANNEL_FIELD_NUMBEREVENT_FILTERS_FIELD_NUMBER
publicstaticfinalintEVENT_FILTERS_FIELD_NUMBEREVENT_TYPE_FIELD_NUMBER
publicstaticfinalintEVENT_TYPE_FIELD_NUMBERPUBSUB_TOPIC_FIELD_NUMBER
publicstaticfinalintPUBSUB_TOPIC_FIELD_NUMBERRETRY_POLICY_FIELD_NUMBER
publicstaticfinalintRETRY_POLICY_FIELD_NUMBERSERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
publicstaticfinalintSERVICE_ACCOUNT_EMAIL_FIELD_NUMBERTRIGGER_FIELD_NUMBER
publicstaticfinalintTRIGGER_FIELD_NUMBERTRIGGER_REGION_FIELD_NUMBER
publicstaticfinalintTRIGGER_REGION_FIELD_NUMBERStatic Methods
getDefaultInstance()
publicstaticEventTriggergetDefaultInstance()getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()newBuilder()
publicstaticEventTrigger.BuildernewBuilder()newBuilder(EventTrigger prototype)
publicstaticEventTrigger.BuildernewBuilder(EventTriggerprototype)parseDelimitedFrom(InputStream input)
publicstaticEventTriggerparseDelimitedFrom(InputStreaminput)parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticEventTriggerparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(byte[] data)
publicstaticEventTriggerparseFrom(byte[]data)data
byte[]parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticEventTriggerparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)data
byte[]parseFrom(ByteString data)
publicstaticEventTriggerparseFrom(ByteStringdata)parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticEventTriggerparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)parseFrom(CodedInputStream input)
publicstaticEventTriggerparseFrom(CodedInputStreaminput)parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticEventTriggerparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(InputStream input)
publicstaticEventTriggerparseFrom(InputStreaminput)parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticEventTriggerparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(ByteBuffer data)
publicstaticEventTriggerparseFrom(ByteBufferdata)parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticEventTriggerparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)parser()
publicstaticParser<EventTrigger>parser()Methods
equals(Object obj)
publicbooleanequals(Objectobj)getChannel()
publicStringgetChannel() Optional. The name of the channel associated with the trigger in
projects/{project}/locations/{location}/channels/{channel} format.
You must provide a channel to receive events from Eventarc SaaS partners.
string channel = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
String
The channel.
getChannelBytes()
publicByteStringgetChannelBytes() Optional. The name of the channel associated with the trigger in
projects/{project}/locations/{location}/channels/{channel} format.
You must provide a channel to receive events from Eventarc SaaS partners.
string channel = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
ByteString
The bytes for channel.
getDefaultInstanceForType()
publicEventTriggergetDefaultInstanceForType()getEventFilters(int index)
publicEventFiltergetEventFilters(intindex)Criteria used to filter events.
repeated .google.cloud.functions.v2.EventFilter event_filters = 4;
getEventFiltersCount()
publicintgetEventFiltersCount()Criteria used to filter events.
repeated .google.cloud.functions.v2.EventFilter event_filters = 4;
getEventFiltersList()
publicList<EventFilter>getEventFiltersList()Criteria used to filter events.
repeated .google.cloud.functions.v2.EventFilter event_filters = 4;
getEventFiltersOrBuilder(int index)
publicEventFilterOrBuildergetEventFiltersOrBuilder(intindex)Criteria used to filter events.
repeated .google.cloud.functions.v2.EventFilter event_filters = 4;
getEventFiltersOrBuilderList()
publicList<?extendsEventFilterOrBuilder>getEventFiltersOrBuilderList()Criteria used to filter events.
repeated .google.cloud.functions.v2.EventFilter event_filters = 4;
List<? extends com.google.cloud.functions.v2.EventFilterOrBuilder>
getEventType()
publicStringgetEventType() Required. The type of event to observe. For example:
google.cloud.audit.log.v1.written or
google.cloud.pubsub.topic.v1.messagePublished.
string event_type = 3 [(.google.api.field_behavior) = REQUIRED];
String
The eventType.
getEventTypeBytes()
publicByteStringgetEventTypeBytes() Required. The type of event to observe. For example:
google.cloud.audit.log.v1.written or
google.cloud.pubsub.topic.v1.messagePublished.
string event_type = 3 [(.google.api.field_behavior) = REQUIRED];
ByteString
The bytes for eventType.
getParserForType()
publicParser<EventTrigger>getParserForType()getPubsubTopic()
publicStringgetPubsubTopic() Optional. The name of a Pub/Sub topic in the same project that will be used
as the transport topic for the event delivery. Format:
projects/{project}/topics/{topic}.
This is only valid for events of type
google.cloud.pubsub.topic.v1.messagePublished. The topic provided here
will not be deleted at function deletion.
string pubsub_topic = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
String
The pubsubTopic.
getPubsubTopicBytes()
publicByteStringgetPubsubTopicBytes() Optional. The name of a Pub/Sub topic in the same project that will be used
as the transport topic for the event delivery. Format:
projects/{project}/topics/{topic}.
This is only valid for events of type
google.cloud.pubsub.topic.v1.messagePublished. The topic provided here
will not be deleted at function deletion.
string pubsub_topic = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
ByteString
The bytes for pubsubTopic.
getRetryPolicy()
publicEventTrigger.RetryPolicygetRetryPolicy()Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).
.google.cloud.functions.v2.EventTrigger.RetryPolicy retry_policy = 7 [(.google.api.field_behavior) = OPTIONAL];
EventTrigger.RetryPolicy
The retryPolicy.
getRetryPolicyValue()
publicintgetRetryPolicyValue()Optional. If unset, then defaults to ignoring failures (i.e. not retrying them).
.google.cloud.functions.v2.EventTrigger.RetryPolicy retry_policy = 7 [(.google.api.field_behavior) = OPTIONAL];
int
The enum numeric value on the wire for retryPolicy.
getSerializedSize()
publicintgetSerializedSize()getServiceAccountEmail()
publicStringgetServiceAccountEmail() Optional. The email of the trigger's service account. The service account must have
permission to invoke Cloud Run services, the permission is
run.routes.invoke.
If empty, defaults to the Compute Engine default service account:
{project_number}-compute@developer.gserviceaccount.com.
string service_account_email = 6 [(.google.api.field_behavior) = OPTIONAL];
String
The serviceAccountEmail.
getServiceAccountEmailBytes()
publicByteStringgetServiceAccountEmailBytes() Optional. The email of the trigger's service account. The service account must have
permission to invoke Cloud Run services, the permission is
run.routes.invoke.
If empty, defaults to the Compute Engine default service account:
{project_number}-compute@developer.gserviceaccount.com.
string service_account_email = 6 [(.google.api.field_behavior) = OPTIONAL];
ByteString
The bytes for serviceAccountEmail.
getTrigger()
publicStringgetTrigger() Output only. The resource name of the Eventarc trigger. The format of this field is
projects/{project}/locations/{region}/triggers/{trigger}.
string trigger = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
String
The trigger.
getTriggerBytes()
publicByteStringgetTriggerBytes() Output only. The resource name of the Eventarc trigger. The format of this field is
projects/{project}/locations/{region}/triggers/{trigger}.
string trigger = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
ByteString
The bytes for trigger.
getTriggerRegion()
publicStringgetTriggerRegion()The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
string trigger_region = 2;
String
The triggerRegion.
getTriggerRegionBytes()
publicByteStringgetTriggerRegionBytes()The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
string trigger_region = 2;
ByteString
The bytes for triggerRegion.
getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()hashCode()
publicinthashCode()internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()newBuilderForType()
publicEventTrigger.BuildernewBuilderForType()newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedEventTrigger.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)toBuilder()
publicEventTrigger.BuildertoBuilder()writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)