public sealed class UpdateConnectionRequest : IMessage<UpdateConnectionRequest>, IEquatable<UpdateConnectionRequest>, IDeepCloneable<UpdateConnectionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class UpdateConnectionRequest.
Message for updating a Connection.
Implements
IMessageUpdateConnectionRequest, IEquatableUpdateConnectionRequest, IDeepCloneableUpdateConnectionRequest, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V2Assembly
Google.Cloud.CloudBuild.V2.dll
Constructors
UpdateConnectionRequest()
public UpdateConnectionRequest()
UpdateConnectionRequest(UpdateConnectionRequest)
public UpdateConnectionRequest(UpdateConnectionRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateConnectionRequest |
Properties
AllowMissing
public bool AllowMissing { get; set; }
If set to true, and the connection is not found a new connection
will be created. In this situation update_mask
is ignored.
The creation will succeed only if the input connection has all the
necessary information (e.g a github_config with both user_oauth_token and
installation_id properties).
Property Value | |
---|---|
Type | Description |
bool |
Connection
public Connection Connection { get; set; }
Required. The Connection to update.
Property Value | |
---|---|
Type | Description |
Connection |
Etag
public string Etag { get; set; }
The current etag of the connection. If an etag is provided and does not match the current etag of the connection, update will be blocked and an ABORTED error will be returned.
Property Value | |
---|---|
Type | Description |
string |
UpdateMask
public FieldMask UpdateMask { get; set; }
The list of fields to be updated.
Property Value | |
---|---|
Type | Description |
FieldMask |