# Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::ResourceChange (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.3.0 1.2.1 1.1.0 1.0.2 0.6.0 0.5.0 0.4.0 0.3.1 0.2.1 0.1.0 Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::ResourceChange.

A resource change represents a change to a resource in the state file.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #intent

    def intent() -> ::Google::Cloud::ConfigService::V1::ResourceChange::Intent

**Returns**

- ([::Google::Cloud::ConfigService::V1::ResourceChange::Intent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Cloud-ConfigService-V1-ResourceChange-Intent)) --- Output only. The intent of the resource change.

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- 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}'.

### #property_changes

    def property_changes() -> ::Array<::Google::Cloud::ConfigService::V1::PropertyChange>

**Returns**

- (::Array\<[::Google::Cloud::ConfigService::V1::PropertyChange](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Cloud-ConfigService-V1-PropertyChange)\>) --- Output only. The property changes of the resource change.

### #terraform_info

    def terraform_info() -> ::Google::Cloud::ConfigService::V1::ResourceChangeTerraformInfo

**Returns**

- ([::Google::Cloud::ConfigService::V1::ResourceChangeTerraformInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Cloud-ConfigService-V1-ResourceChangeTerraformInfo)) --- Output only. Terraform info of the resource change.