Class: Google::Cloud::ConfigService::V1::Revision
- Inherits:
-
Object
- Object
- Google::Cloud::ConfigService::V1::Revision
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/config/v1/config.rb
Overview
A child resource of a Deployment generated by a 'CreateDeployment' or 'UpdateDeployment' call. Each Revision contains metadata pertaining to a snapshot of a particular Deployment.
Defined Under Namespace
Modules: Action, ErrorCode, State
Instance Attribute Summary collapse
-
#action ⇒ ::Google::Cloud::ConfigService::V1::Revision::Action
readonly
Output only.
-
#apply_results ⇒ ::Google::Cloud::ConfigService::V1::ApplyResults
readonly
Output only.
-
#build ⇒ ::String
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#error_code ⇒ ::Google::Cloud::ConfigService::V1::Revision::ErrorCode
readonly
Output only.
-
#error_logs ⇒ ::String
readonly
Output only.
-
#import_existing_resources ⇒ ::Boolean
readonly
Output only.
-
#logs ⇒ ::String
readonly
Output only.
-
#name ⇒ ::String
Revision name.
-
#service_account ⇒ ::String
readonly
Output only.
-
#state ⇒ ::Google::Cloud::ConfigService::V1::Revision::State
readonly
Output only.
-
#state_detail ⇒ ::String
readonly
Output only.
-
#terraform_blueprint ⇒ ::Google::Cloud::ConfigService::V1::TerraformBlueprint
readonly
Output only.
-
#tf_errors ⇒ ::Array<::Google::Cloud::ConfigService::V1::TerraformError>
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#worker_pool ⇒ ::String
readonly
Output only.
Instance Attribute Details
#action ⇒ ::Google::Cloud::ConfigService::V1::Revision::Action (readonly)
Returns Output only. The action which created this revision.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#apply_results ⇒ ::Google::Cloud::ConfigService::V1::ApplyResults (readonly)
Returns Output only. Outputs and artifacts from applying a deployment.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#build ⇒ ::String (readonly)
Returns Output only. Cloud Build instance UUID associated with this revision.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time when the revision was created.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#error_code ⇒ ::Google::Cloud::ConfigService::V1::Revision::ErrorCode (readonly)
Returns Output only. Code describing any errors that may have occurred.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#error_logs ⇒ ::String (readonly)
Returns Output only. Location of Terraform error logs in Google Cloud Storage.
Format: gs://{bucket}/{object}
.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#import_existing_resources ⇒ ::Boolean (readonly)
Returns Output only. By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation.
Not all resource types are supported, refer to documentation.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#logs ⇒ ::String (readonly)
Returns Output only. Location of Revision operation logs in
gs://{bucket}/{object}
format.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#name ⇒ ::String
Returns Revision name. Format:
projects/{project}/locations/{location}/deployments/{deployment}/
revisions/\\{revision}
.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#service_account ⇒ ::String (readonly)
Returns Output only. User-specified Service Account (SA) to be used as credential
to manage resources. Format:
projects/{projectID}/serviceAccounts/{serviceAccount}
.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#state ⇒ ::Google::Cloud::ConfigService::V1::Revision::State (readonly)
Returns Output only. Current state of the revision.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#state_detail ⇒ ::String (readonly)
Returns Output only. Additional info regarding the current state.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#terraform_blueprint ⇒ ::Google::Cloud::ConfigService::V1::TerraformBlueprint (readonly)
Returns Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#tf_errors ⇒ ::Array<::Google::Cloud::ConfigService::V1::TerraformError> (readonly)
Returns Output only. Errors encountered when creating or updating this deployment.
Errors are truncated to 10 entries, see delete_results
and error_logs
for full details.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time when the revision was last modified.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |
#worker_pool ⇒ ::String (readonly)
Returns Output only. The user-specified Cloud Build worker pool resource in which
the Cloud Build job will execute. Format:
projects/{project}/locations/{location}/workerPools/{workerPoolId}
.
If this field is unspecified, the default Cloud Build worker pool will be
used.
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 643 class Revision include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Actions that generate a revision. module Action # The default value. This value is used if the action is omitted. ACTION_UNSPECIFIED = 0 # The revision was generated by creating a deployment. CREATE = 1 # The revision was generated by updating a deployment. UPDATE = 2 # The revision was deleted. DELETE = 3 end # Possible states of a revision. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The revision is being applied. APPLYING = 1 # The revision was applied successfully. APPLIED = 2 # The revision could not be applied successfully. FAILED = 3 end # Possible errors if Revision could not be created or updated successfully. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Build job associated with creating or updating a deployment could # not be started. APPLY_BUILD_API_FAILED = 4 # Cloud Build job associated with creating or updating a deployment was # started but failed. APPLY_BUILD_RUN_FAILED = 5 end end |