Vision AI v1 API - Class UpdateCollectionRequest (1.0.0-beta01)

public sealed class UpdateCollectionRequest : IMessage<UpdateCollectionRequest>, IEquatable<UpdateCollectionRequest>, IDeepCloneable<UpdateCollectionRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class UpdateCollectionRequest.

Request message for UpdateCollectionRequest.

Inheritance

object > UpdateCollectionRequest

Namespace

Google.Cloud.VisionAI.V1

Assembly

Google.Cloud.VisionAI.V1.dll

Constructors

UpdateCollectionRequest()

public UpdateCollectionRequest()

UpdateCollectionRequest(UpdateCollectionRequest)

public UpdateCollectionRequest(UpdateCollectionRequest other)
Parameter
Name Description
other UpdateCollectionRequest

Properties

Collection

public Collection Collection { get; set; }

Required. The collection to update.

The collection's name field is used to identify the collection to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}

Property Value
Type Description
Collection

UpdateMask

public FieldMask UpdateMask { get; set; }

The list of fields to be updated.

  • Unset update_mask or set update_mask to be a single "*" only will update all updatable fields with the value provided in collection.
  • To update display_name value to empty string, set it in the collection to empty string, and set update_mask with "display_name". Same applies to other updatable string fields in the collection.
Property Value
Type Description
FieldMask