CreateArtifact creates a specified artifact.
Path parameters
The project id.
The location id.
Query parameters
Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
Request body
Response
OK
Changes
Changed in 4 of the 14 revisions of this API.5610
- ▲
the request's body type/format changed from
/toobject/request-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status200response-body-type-changed
- ▲
the
createTimeresponse's property type/format changed fromstring/RFC3339tostring/date-timefor status200response-property-type-changed
- ▲
the
updateTimeresponse's property type/format changed fromstring/RFC3339tostring/date-timefor status200response-property-type-changed
- ○
the request optional property
contentsbecame write-onlyrequest-optional-property-became-write-only
- ○
the response optional property
contentsbecame write-only for the status200response-optional-property-became-write-only
- ▲
- ●
deleted the
queryrequest parameterartifact_idrequest-parameter-removed
- ●
removed the request property
mime_typerequest-property-removed
- ●
removed the optional property
create_timefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
mime_typefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
size_bytesfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
update_timefrom the response with the200statusresponse-optional-property-removed
- ○
api tag
Registryaddedapi-tag-added
- ○
added the new optional
queryrequest parameterartifactIdnew-optional-request-parameter
- ○
added the new optional request property
mimeTypenew-optional-request-property
- ○
added the optional property
createTimeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
mimeTypeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
sizeBytesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
updateTimeto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲