Class: Google::Cloud::Build::V1::BuildApproval

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb

Overview

BuildApproval describes a build's approval configuration, state, and result.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#config::Google::Cloud::Build::V1::ApprovalConfig (readonly)

Returns Output only. Configuration for manual approval of this build.

Returns:



1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1205

class BuildApproval
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the current state of a build's approval.
  module State
    # Default enum type. This should not be used.
    STATE_UNSPECIFIED = 0

    # Build approval is pending.
    PENDING = 1

    # Build approval has been approved.
    APPROVED = 2

    # Build approval has been rejected.
    REJECTED = 3

    # Build was cancelled while it was still pending approval.
    CANCELLED = 5
  end
end

#result::Google::Cloud::Build::V1::ApprovalResult (readonly)

Returns Output only. Result of manual approval for this Build.

Returns:



1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1205

class BuildApproval
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the current state of a build's approval.
  module State
    # Default enum type. This should not be used.
    STATE_UNSPECIFIED = 0

    # Build approval is pending.
    PENDING = 1

    # Build approval has been approved.
    APPROVED = 2

    # Build approval has been rejected.
    REJECTED = 3

    # Build was cancelled while it was still pending approval.
    CANCELLED = 5
  end
end

#state::Google::Cloud::Build::V1::BuildApproval::State (readonly)

Returns Output only. The state of this build's approval.

Returns:



1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1205

class BuildApproval
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the current state of a build's approval.
  module State
    # Default enum type. This should not be used.
    STATE_UNSPECIFIED = 0

    # Build approval is pending.
    PENDING = 1

    # Build approval has been approved.
    APPROVED = 2

    # Build approval has been rejected.
    REJECTED = 3

    # Build was cancelled while it was still pending approval.
    CANCELLED = 5
  end
end