Patch
|
|||||
|
|
Makes changes to a ProductSet resource. Only display_name can be updated currently.
Possible errors:
- Returns NOT_FOUND if the ProductSet does not exist.
- Returns INVALID_ARGUMENT if display_name is present in update_mask but missing from the request or longer than 4096 characters
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
- Apply machine learning models to understand and label images
Input
This building block consumes 10 input parameters
Name | Format | Description |
---|---|---|
name Required |
STRING |
The resource name of the ProductSet. Format is:
This field is ignored when creating a ProductSet |
updateMask |
ANY |
The FieldMask that specifies which fields to
update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask path is |
indexTime |
ANY |
Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value "1970-01-01T00:00:00Z". This field is ignored when creating a ProductSet |
indexError |
OBJECT |
The You can find out more about this error model and how to work with it in the API Design Guide |
indexError.code |
INTEGER |
The status code, which should be an enum value of google.rpc.Code |
indexError.message |
STRING |
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client |
indexError.details[] |
OBJECT |
|
indexError.details[].customKey.value Required |
ANY |
|
name |
STRING |
The resource name of the ProductSet. Format is:
This field is ignored when creating a ProductSet |
displayName |
STRING |
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long |
= Parameter name
= Format
name STRING Required The resource name of the ProductSet. Format is:
This field is ignored when creating a ProductSet |
updateMask ANY The FieldMask that specifies which fields to
update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask path is |
indexTime ANY Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value "1970-01-01T00:00:00Z". This field is ignored when creating a ProductSet |
indexError OBJECT The You can find out more about this error model and how to work with it in the API Design Guide |
indexError.code INTEGER The status code, which should be an enum value of google.rpc.Code |
indexError.message STRING A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client |
indexError.details[] OBJECT |
indexError.details[].customKey.value ANY Required |
name STRING The resource name of the ProductSet. Format is:
This field is ignored when creating a ProductSet |
displayName STRING The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long |
Output
This building block provides 8 output parameters
Name | Format | Description |
---|---|---|
indexTime |
ANY |
Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value "1970-01-01T00:00:00Z". This field is ignored when creating a ProductSet |
indexError |
OBJECT |
The You can find out more about this error model and how to work with it in the API Design Guide |
indexError.code |
INTEGER |
The status code, which should be an enum value of google.rpc.Code |
indexError.message |
STRING |
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client |
indexError.details[] |
OBJECT |
|
indexError.details[].customKey.value |
ANY |
|
name |
STRING |
The resource name of the ProductSet. Format is:
This field is ignored when creating a ProductSet |
displayName |
STRING |
The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long |
= Parameter name
= Format
indexTime ANY Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value "1970-01-01T00:00:00Z". This field is ignored when creating a ProductSet |
indexError OBJECT The You can find out more about this error model and how to work with it in the API Design Guide |
indexError.code INTEGER The status code, which should be an enum value of google.rpc.Code |
indexError.message STRING A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client |
indexError.details[] OBJECT |
indexError.details[].customKey.value ANY |
name STRING The resource name of the ProductSet. Format is:
This field is ignored when creating a ProductSet |
displayName STRING The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long |