Class: Google::Cloud::Config::V1::Revision

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#action::Google::Cloud::Config::V1::Revision::Action (readonly)

Returns Output only. The action which created this revision.

Returns:



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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::Config::V1::ApplyResults (readonly)

Returns Output only. Outputs and artifacts from applying a deployment.

Returns:



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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.

Returns:

  • (::String)

    Output only. Cloud Build instance UUID associated with this revision.



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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.

Returns:



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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::Config::V1::Revision::ErrorCode (readonly)

Returns Output only. Code describing any errors that may have occurred.

Returns:



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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}.

Returns:

  • (::String)

    Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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.

Returns:

  • (::Boolean)

    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.



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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.

Returns:

  • (::String)

    Output only. Location of Revision operation logs in gs://{bucket}/{object} format.



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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}.

Returns:

  • (::String)

    Revision name. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/\\{revision}



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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}.

Returns:

  • (::String)

    Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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::Config::V1::Revision::State (readonly)

Returns Output only. Current state of the revision.

Returns:



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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.

Returns:

  • (::String)

    Output only. Additional info regarding the current state.



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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::Config::V1::TerraformBlueprint (readonly)

Returns Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.

Returns:



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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::Config::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.

Returns:

  • (::Array<::Google::Cloud::Config::V1::TerraformError>)

    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.



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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.

Returns:



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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.

Returns:

  • (::String)

    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.



640
641
642
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
# File 'proto_docs/google/cloud/config/v1/config.rb', line 640

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