Class: Google::Cloud::ConfigService::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::ConfigService::V1::Revision::Action (readonly)

Returns Output only. The action which created this revision.

Returns:



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  end
end

#apply_results::Google::Cloud::ConfigService::V1::ApplyResults (readonly)

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

Returns:



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  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.



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time when the revision was created.

Returns:



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  end
end

#error_code::Google::Cloud::ConfigService::V1::Revision::ErrorCode (readonly)

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

Returns:



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  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}.



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  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.



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  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.



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  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}



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  end
end

#quota_validation::Google::Cloud::ConfigService::V1::QuotaValidation

Returns Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.

Returns:



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  end
end

#quota_validation_results::String (readonly)

Returns Output only. Cloud Storage path containing quota validation results. This field is set when a user sets Deployment.quota_validation field to ENABLED or ENFORCED. Format: gs://{bucket}/{object}.

Returns:

  • (::String)

    Output only. Cloud Storage path containing quota validation results. This field is set when a user sets Deployment.quota_validation field to ENABLED or ENFORCED. Format: gs://{bucket}/{object}.



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  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}



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  end
end

#state::Google::Cloud::ConfigService::V1::Revision::State (readonly)

Returns Output only. Current state of the revision.

Returns:



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  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.



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  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.

Returns:



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  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.

Returns:



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  end
end

#tf_version::String (readonly)

Returns Output only. The version of Terraform used to create the Revision. It is in the format of "Major.Minor.Patch", for example, "1.3.10".

Returns:

  • (::String)

    Output only. The version of Terraform used to create the Revision. It is in the format of "Major.Minor.Patch", for example, "1.3.10".



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  end
end

#tf_version_constraint::String (readonly)

Returns Output only. The user-specified Terraform version constraint. Example: "=1.3.10".

Returns:

  • (::String)

    Output only. The user-specified Terraform version constraint. Example: "=1.3.10".



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time when the revision was last modified.

Returns:



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  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.



689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# File 'proto_docs/google/cloud/config/v1/config.rb', line 689

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

    # quota validation failed for one or more resources in terraform
    # configuration files.
    QUOTA_VALIDATION_FAILED = 7
  end
end