# Google Cloud Service Management V1 Client - Class GenerateConfigReportRequest (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 GenerateConfigReportRequest.

Request message for GenerateConfigReport method.

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

## Namespace

Google \\ Cloud \\ ServiceManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ new_config` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any` Required. Service configuration for which we want to generate the report. For this version of API, the supported types are [google.api.servicemanagement.v1.ConfigRef](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigRef), [google.api.servicemanagement.v1.ConfigSource](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigSource), and [google.api.Service](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.Service.html) |
| `↳ old_config` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any` Optional. Service configuration against which the comparison will be done. For this version of API, the supported types are [google.api.servicemanagement.v1.ConfigRef](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigRef), [google.api.servicemanagement.v1.ConfigSource](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigSource), and [google.api.Service](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.Service.html) |

### getNewConfig

Required. Service configuration for which we want to generate the report.

For this version of API, the supported types are
[google.api.servicemanagement.v1.ConfigRef](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigRef),
[google.api.servicemanagement.v1.ConfigSource](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigSource),
and [google.api.Service](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.Service.html)

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any|null` |   |

### hasNewConfig

### clearNewConfig

### setNewConfig

Required. Service configuration for which we want to generate the report.

For this version of API, the supported types are
[google.api.servicemanagement.v1.ConfigRef](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigRef),
[google.api.servicemanagement.v1.ConfigSource](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigSource),
and [google.api.Service](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.Service.html)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any` |

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

### getOldConfig

Optional. Service configuration against which the comparison will be done.

For this version of API, the supported types are
[google.api.servicemanagement.v1.ConfigRef](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigRef),
[google.api.servicemanagement.v1.ConfigSource](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigSource),
and [google.api.Service](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.Service.html)

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any|null` |   |

### hasOldConfig

### clearOldConfig

### setOldConfig

Optional. Service configuration against which the comparison will be done.

For this version of API, the supported types are
[google.api.servicemanagement.v1.ConfigRef](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigRef),
[google.api.servicemanagement.v1.ConfigSource](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigSource),
and [google.api.Service](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.Service.html)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `newConfig` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any` Required. Service configuration for which we want to generate the report. For this version of API, the supported types are [google.api.servicemanagement.v1.ConfigRef](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigRef), [google.api.servicemanagement.v1.ConfigSource](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigSource), and [google.api.Service](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.Service.html) |
| `oldConfig` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any` Optional. Service configuration against which the comparison will be done. For this version of API, the supported types are [google.api.servicemanagement.v1.ConfigRef](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigRef), [google.api.servicemanagement.v1.ConfigSource](https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.ConfigSource), and [google.api.Service](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Api.Service.html) |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-service-management/latest/V1.GenerateConfigReportRequest` |   |