Cloud Build V1 API - Class Google::Cloud::Build::V1::GetBuildTriggerRequest (v0.16.0)

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

Returns the BuildTrigger with the specified ID.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

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

#name=

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

#project_id

def project_id() -> ::String
Returns
  • (::String) — Required. ID of the project that owns the trigger.

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) — Required. ID of the project that owns the trigger.
Returns
  • (::String) — Required. ID of the project that owns the trigger.

#trigger_id

def trigger_id() -> ::String
Returns
  • (::String) — Required. Identifier (id or name) of the BuildTrigger to get.

#trigger_id=

def trigger_id=(value) -> ::String
Parameter
  • value (::String) — Required. Identifier (id or name) of the BuildTrigger to get.
Returns
  • (::String) — Required. Identifier (id or name) of the BuildTrigger to get.