public sealed class AddAssetsToGroupRequest : IMessage<AddAssetsToGroupRequest>, IEquatable<AddAssetsToGroupRequest>, IDeepCloneable<AddAssetsToGroupRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Migration Center v1 API class AddAssetsToGroupRequest.
Optional. When this value is set to false and one of the given assets is
already an existing member of the group, the operation fails with an
Already Exists error. When set to true this situation is silently
ignored by the server.
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and
the request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eAddAssetsToGroupRequest\u003c/code\u003e class within the Migration Center v1 API, specifically version 1.2.0, which is part of the \u003ccode\u003eGoogle.Cloud.MigrationCenter.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddAssetsToGroupRequest\u003c/code\u003e class is used to add assets to a group and includes properties such as \u003ccode\u003eAllowExisting\u003c/code\u003e, \u003ccode\u003eAssets\u003c/code\u003e, \u003ccode\u003eGroup\u003c/code\u003e, \u003ccode\u003eGroupAsGroupName\u003c/code\u003e, and \u003ccode\u003eRequestId\u003c/code\u003e, allowing control over the addition of assets and the management of requests.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<AddAssetsToGroupRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<AddAssetsToGroupRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffered messaging.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddAssetsToGroupRequest\u003c/code\u003e class offers two constructors: a default constructor \u003ccode\u003eAddAssetsToGroupRequest()\u003c/code\u003e and a copy constructor \u003ccode\u003eAddAssetsToGroupRequest(AddAssetsToGroupRequest other)\u003c/code\u003e for creating new instances.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation highlights that you can specify a \u003ccode\u003eRequestId\u003c/code\u003e to prevent duplicate requests, and the \u003ccode\u003eAssets\u003c/code\u003e property in the request is required to contain a list of the assets to be added to the specified group, where the maximum number of assets that can be added in a single request is 1000.\u003c/p\u003e\n"]]],[],null,[]]