Class: Google::Cloud::ConfigService::V1::ResourceChange

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 resource change represents a change to a resource in the state file.

Defined Under Namespace

Modules: Intent

Instance Attribute Summary collapse

Instance Attribute Details

#intent::Google::Cloud::ConfigService::V1::ResourceChange::Intent (readonly)

Returns Output only. The intent of the resource change.

Returns:



1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1700

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

  # Possible intent of the resource change.
  module Intent
    # The default value.
    INTENT_UNSPECIFIED = 0

    # The resource will be created.
    CREATE = 1

    # The resource will be updated.
    UPDATE = 2

    # The resource will be deleted.
    DELETE = 3

    # The resource will be recreated.
    RECREATE = 4

    # The resource will be untouched.
    UNCHANGED = 5
  end
end

#name::String

Returns Identifier. The name of the resource change. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'.

Returns:

  • (::String)

    Identifier. The name of the resource change. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'.



1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1700

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

  # Possible intent of the resource change.
  module Intent
    # The default value.
    INTENT_UNSPECIFIED = 0

    # The resource will be created.
    CREATE = 1

    # The resource will be updated.
    UPDATE = 2

    # The resource will be deleted.
    DELETE = 3

    # The resource will be recreated.
    RECREATE = 4

    # The resource will be untouched.
    UNCHANGED = 5
  end
end

#property_changes::Array<::Google::Cloud::ConfigService::V1::PropertyChange> (readonly)

Returns Output only. The property changes of the resource change.

Returns:



1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1700

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

  # Possible intent of the resource change.
  module Intent
    # The default value.
    INTENT_UNSPECIFIED = 0

    # The resource will be created.
    CREATE = 1

    # The resource will be updated.
    UPDATE = 2

    # The resource will be deleted.
    DELETE = 3

    # The resource will be recreated.
    RECREATE = 4

    # The resource will be untouched.
    UNCHANGED = 5
  end
end

#terraform_info::Google::Cloud::ConfigService::V1::ResourceChangeTerraformInfo (readonly)

Returns Output only. Terraform info of the resource change.

Returns:



1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1700

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

  # Possible intent of the resource change.
  module Intent
    # The default value.
    INTENT_UNSPECIFIED = 0

    # The resource will be created.
    CREATE = 1

    # The resource will be updated.
    UPDATE = 2

    # The resource will be deleted.
    DELETE = 3

    # The resource will be recreated.
    RECREATE = 4

    # The resource will be untouched.
    UNCHANGED = 5
  end
end