Eventarc V1 API - Class Google::Cloud::Eventarc::V1::GoogleApiSource::ProjectSubscriptions (v2.5.0)

Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::GoogleApiSource::ProjectSubscriptions.

Config to enable subscribing to all events from a list of projects.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#list

def list() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. A list of projects to receive events from.

    All the projects must be in the same org. The listed projects should have the format project/{identifier} where identifier can be either the project id for project number. A single list may contain both formats. At most 100 projects can be listed.

#list=

def list=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. A list of projects to receive events from.

    All the projects must be in the same org. The listed projects should have the format project/{identifier} where identifier can be either the project id for project number. A single list may contain both formats. At most 100 projects can be listed.

Returns
  • (::Array<::String>) — Required. A list of projects to receive events from.

    All the projects must be in the same org. The listed projects should have the format project/{identifier} where identifier can be either the project id for project number. A single list may contain both formats. At most 100 projects can be listed.