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)



1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1373

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)



1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1373

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)



1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1373

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