Class: Google::Cloud::ConfigService::V1::ResourceChange
- Inherits:
-
Object
- Object
- Google::Cloud::ConfigService::V1::ResourceChange
- 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
-
#intent ⇒ ::Google::Cloud::ConfigService::V1::ResourceChange::Intent
readonly
Output only.
-
#name ⇒ ::String
Identifier.
-
#property_changes ⇒ ::Array<::Google::Cloud::ConfigService::V1::PropertyChange>
readonly
Output only.
-
#terraform_info ⇒ ::Google::Cloud::ConfigService::V1::ResourceChangeTerraformInfo
readonly
Output only.
Instance Attribute Details
#intent ⇒ ::Google::Cloud::ConfigService::V1::ResourceChange::Intent (readonly)
Returns Output only. The intent of the resource change.
1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1880 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}'.
1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1880 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.
1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1880 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.
1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1880 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 |