Reference documentation and code samples for the Google Cloud Eventarc V1 Client class EventType.
A representation of the event type resource.
Generated from protobuf messagegoogle.cloud.eventarc.v1.EventType
Namespace
Google \ Cloud \ Eventarc \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ type
string
Output only. The full name of the event type (for example, "google.cloud.storage.object.v1.finalized"). In the form of {provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be versioned and event schemas are guaranteed to remain backward compatible within one version. Note that event type versions and API versions do not need to match.
↳ description
string
Output only. Human friendly description of what the event type is about. For example "Bucket created in Cloud Storage".
Output only. The full name of the event type (for example,
"google.cloud.storage.object.v1.finalized"). In the form of
{provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be
versioned and event schemas are guaranteed to remain backward compatible
within one version. Note that event type versions and API versions do not
need to match.
Returns
Type
Description
string
setType
Output only. The full name of the event type (for example,
"google.cloud.storage.object.v1.finalized"). In the form of
{provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be
versioned and event schemas are guaranteed to remain backward compatible
within one version. Note that event type versions and API versions do not
need to match.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDescription
Output only. Human friendly description of what the event type is about.
For example "Bucket created in Cloud Storage".
Returns
Type
Description
string
setDescription
Output only. Human friendly description of what the event type is about.
For example "Bucket created in Cloud Storage".
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilteringAttributes
Output only. Filtering attributes for the event type.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Eventarc V1 Client - Class EventType (2.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.5 (latest)](/php/docs/reference/cloud-eventarc/latest/V1.EventType)\n- [2.1.4](/php/docs/reference/cloud-eventarc/2.1.4/V1.EventType)\n- [2.0.1](/php/docs/reference/cloud-eventarc/2.0.1/V1.EventType)\n- [1.3.5](/php/docs/reference/cloud-eventarc/1.3.5/V1.EventType)\n- [1.2.2](/php/docs/reference/cloud-eventarc/1.2.2/V1.EventType)\n- [1.1.1](/php/docs/reference/cloud-eventarc/1.1.1/V1.EventType)\n- [1.0.5](/php/docs/reference/cloud-eventarc/1.0.5/V1.EventType) \nReference documentation and code samples for the Google Cloud Eventarc V1 Client class EventType.\n\nA representation of the event type resource.\n\nGenerated from protobuf message `google.cloud.eventarc.v1.EventType`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Eventarc \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nOutput only. The full name of the event type (for example,\n\"google.cloud.storage.object.v1.finalized\"). In the form of\n{provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be\nversioned and event schemas are guaranteed to remain backward compatible\nwithin one version. Note that event type versions and API versions do not\nneed to match.\n\n### setType\n\nOutput only. The full name of the event type (for example,\n\"google.cloud.storage.object.v1.finalized\"). In the form of\n{provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be\nversioned and event schemas are guaranteed to remain backward compatible\nwithin one version. Note that event type versions and API versions do not\nneed to match.\n\n### getDescription\n\nOutput only. Human friendly description of what the event type is about.\n\nFor example \"Bucket created in Cloud Storage\".\n\n### setDescription\n\nOutput only. Human friendly description of what the event type is about.\n\nFor example \"Bucket created in Cloud Storage\".\n\n### getFilteringAttributes\n\nOutput only. Filtering attributes for the event type.\n\n### setFilteringAttributes\n\nOutput only. Filtering attributes for the event type.\n\n### getEventSchemaUri\n\nOutput only. URI for the event schema.\n\nFor example\n\"\u003chttps://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto\u003e\"\n\n### setEventSchemaUri\n\nOutput only. URI for the event schema.\n\nFor example\n\"\u003chttps://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto\u003e\""]]