Google Cloud Eventarc V1 Client - Class OrganizationSubscription (2.3.0)

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

Config to enabled subscribing to events from other projects in the org.

Generated from protobuf message google.cloud.eventarc.v1.GoogleApiSource.OrganizationSubscription

Namespace

Google \ Cloud \ Eventarc \ V1 \ GoogleApiSource

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Required. Enable org level subscription.

getEnabled

Required. Enable org level subscription.

Returns
Type Description
bool

setEnabled

Required. Enable org level subscription.

Parameter
Name Description
var bool
Returns
Type Description
$this