# Google Cloud Service Management V1 Client - Class GenerateConfigReportResponse (2.2.0)

2.2.0 (latest) 2.1.2 2.0.5 1.3.5 1.2.2 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Service Management V1 Client class GenerateConfigReportResponse.

Response message for GenerateConfigReport method.

Generated from protobuf message `google.api.servicemanagement.v1.GenerateConfigReportResponse`

## Namespace

Google \\ Cloud \\ ServiceManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ service_name` | `string` Name of the service this report belongs to. |
| `↳ id` | `string` ID of the service configuration this report belongs to. |
| `↳ change_reports` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ChangeReport>` list of ChangeReport, each corresponding to comparison between two service configurations. |
| `↳ diagnostics` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.Diagnostic>` Errors / Linter warnings associated with the service definition this report belongs to. |

### getServiceName

Name of the service this report belongs to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setServiceName

Name of the service this report belongs to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getId

ID of the service configuration this report belongs to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setId

ID of the service configuration this report belongs to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getChangeReports

list of ChangeReport, each corresponding to comparison between two
service configurations.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ChangeReport>` |   |

### setChangeReports

list of ChangeReport, each corresponding to comparison between two
service configurations.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ChangeReport>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDiagnostics

Errors / Linter warnings associated with the service definition this
report
belongs to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.Diagnostic>` |   |

### setDiagnostics

Errors / Linter warnings associated with the service definition this
report
belongs to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.Diagnostic>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |