Google Cloud Eventarc V1 Client - Class Provider (1.0.5)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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<Google\Cloud\Eventarc\V1\EventType>

Output only. Event types for this provider.

getName

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

Returns
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

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

Returns
TypeDescription
string

setDisplayName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEventTypes

Output only. Event types for this provider.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEventTypes

Output only. Event types for this provider.

Parameter
NameDescription
var array<Google\Cloud\Eventarc\V1\EventType>
Returns
TypeDescription
$this