Cloud Build V1 API - Class Google::Cloud::Build::V1::ApprovalResult (v0.23.0)

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

ApprovalResult describes the decision and associated metadata of a manual approval of a build.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#approval_time

def approval_time() -> ::Google::Protobuf::Timestamp
Returns

#approver_account

def approver_account() -> ::String
Returns
  • (::String) — Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.

#comment

def comment() -> ::String
Returns
  • (::String) — Optional. An optional comment for this manual approval result.

#comment=

def comment=(value) -> ::String
Parameter
  • value (::String) — Optional. An optional comment for this manual approval result.
Returns
  • (::String) — Optional. An optional comment for this manual approval result.

#decision

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

#decision=

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

#url

def url() -> ::String
Returns
  • (::String) — Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.

#url=

def url=(value) -> ::String
Parameter
  • value (::String) — Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.
Returns
  • (::String) — Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.