# Google Shopping Css V1 Client - Class MethodDetails (0.8.1)

0.8.1 (latest) 0.8.0 0.7.3 0.6.2 0.5.1 0.4.1 0.3.3 0.2.9 0.1.0 Reference documentation and code samples for the Google Shopping Css V1 Client class MethodDetails.

The method details per method in the CSS API.

Generated from protobuf message `google.shopping.css.v1.MethodDetails`

## Namespace

Google \\ Shopping \\ Css \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ method` | `string` Output only. The name of the method for example `cssproductsservice.listcssproducts`. |
| `↳ version` | `string` Output only. The API version that the method belongs to. |
| `↳ subapi` | `string` Output only. The sub-API that the method belongs to. In the CSS API, this is always `css`. |
| `↳ path` | `string` Output only. The path for the method such as `v1/cssproductsservice.listcssproducts`. |

### getMethod

Output only. The name of the method for example
`cssproductsservice.listcssproducts`.

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

### setMethod

Output only. The name of the method for example
`cssproductsservice.listcssproducts`.

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

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

### getVersion

Output only. The API version that the method belongs to.

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

### setVersion

Output only. The API version that the method belongs to.

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

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

### getSubapi

Output only. The sub-API that the method belongs to. In the CSS API, this
is always `css`.

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

### setSubapi

Output only. The sub-API that the method belongs to. In the CSS API, this
is always `css`.

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

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

### getPath

Output only. The path for the method such as
`v1/cssproductsservice.listcssproducts`.

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

### setPath

Output only. The path for the method such as
`v1/cssproductsservice.listcssproducts`.

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

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