Cloud Build V1 API - Class Google::Cloud::Build::V1::ReceiveTriggerWebhookRequest (v1.2.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::ReceiveTriggerWebhookRequest.

ReceiveTriggerWebhookRequest [Experimental] is the request object accepted by the ReceiveTriggerWebhook method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#body

def body() -> ::Google::Api::HttpBody
Returns

#body=

def body=(value) -> ::Google::Api::HttpBody
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — The name of the ReceiveTriggerWebhook to retrieve. Format: projects/{project}/locations/{location}/triggers/{trigger}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of the ReceiveTriggerWebhook to retrieve. Format: projects/{project}/locations/{location}/triggers/{trigger}
Returns
  • (::String) — The name of the ReceiveTriggerWebhook to retrieve. Format: projects/{project}/locations/{location}/triggers/{trigger}

#project_id

def project_id() -> ::String
Returns
  • (::String) — Project in which the specified trigger lives

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) — Project in which the specified trigger lives
Returns
  • (::String) — Project in which the specified trigger lives

#secret

def secret() -> ::String
Returns
  • (::String) — Secret token used for authorization if an OAuth token isn't provided.

#secret=

def secret=(value) -> ::String
Parameter
  • value (::String) — Secret token used for authorization if an OAuth token isn't provided.
Returns
  • (::String) — Secret token used for authorization if an OAuth token isn't provided.

#trigger

def trigger() -> ::String
Returns
  • (::String) — Name of the trigger to run the payload against

#trigger=

def trigger=(value) -> ::String
Parameter
  • value (::String) — Name of the trigger to run the payload against
Returns
  • (::String) — Name of the trigger to run the payload against