CreateSpecRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The CreateSpec method's request.
Attributes |
|
---|---|
Name | Description |
parent |
str
Required. The parent resource for Spec. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}
|
spec_id |
str
Optional. The ID to use for the spec, which will become the final component of the spec's resource name. This field is optional. - If provided, the same will be used. The service will throw an error if the specified id is already used by another spec in the API resource. - If not provided, a system generated id will be used. This value should be 4-500 characters, overall resource name which will be of format projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec} ,
its length is limited to 1000 characters and valid
characters are /a-z][A-Z] [0-9]-\_/.
|
spec |
google.cloud.apihub_v1.types.Spec
Required. The spec to create. |