Cloud Build V1 API - Class Google::Cloud::Build::V1::ApproveBuildRequest (v0.14.0)

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

Request to approve or reject a pending build.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#approval_result

def approval_result() -> ::Google::Cloud::Build::V1::ApprovalResult
Returns

#approval_result=

def approval_result=(value) -> ::Google::Cloud::Build::V1::ApprovalResult
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}"

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}"
Returns
  • (::String) — Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}"