Class CreateServiceRequest (0.10.4)

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

Request message for creating a Service.

Attributes

NameDescription
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 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.