# Class CreateServiceRequest (0.16.1)

0.16.1 (latest) 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.19 0.9.1 0.8.1 0.7.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0

    CreateServiceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for creating a Service.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The location and project in which this service should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number. Only lowercase characters, digits, and hyphens. |
| `service` | `https://docs.cloud.google.com/python/docs/reference/run/latest/google.cloud.run_v2.types.Service` Required. The Service instance to create. |
| `service_id` | `str` Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}. |
| `validate_only` | `bool` Indicates that the request should be validated and default values populated, without persisting the request or creating any resources. |