Google Cloud Eventarc V1 Client - Class Provider (2.1.3)

Reference documentation and code samples for the Google Cloud Eventarc V1 Client class Provider.

A representation of the Provider resource.

Generated from protobuf message google.cloud.eventarc.v1.Provider

Namespace

Google \ Cloud \ Eventarc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. In projects/{project}/locations/{location}/providers/{provider_id} format.

↳ display_name string

Output only. Human friendly name for the Provider. For example "Cloud Storage".

↳ event_types array<EventType>

Output only. Event types for this provider.

getName

Output only. In projects/{project}/locations/{location}/providers/{provider_id} format.

Returns
Type Description
string

setName

Output only. In projects/{project}/locations/{location}/providers/{provider_id} format.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. Human friendly name for the Provider. For example "Cloud Storage".

Returns
Type Description
string

setDisplayName

Output only. Human friendly name for the Provider. For example "Cloud Storage".

Parameter
Name Description
var string
Returns
Type Description
$this

getEventTypes

Output only. Event types for this provider.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEventTypes

Output only. Event types for this provider.

Parameter
Name Description
var array<EventType>
Returns
Type Description
$this