Cloud Build v2 API - Class UpdateConnectionRequest (1.3.0)

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.

Inheritance

object > UpdateConnectionRequest

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

UpdateConnectionRequest()

public UpdateConnectionRequest()

UpdateConnectionRequest(UpdateConnectionRequest)

public UpdateConnectionRequest(UpdateConnectionRequest other)
Parameter
NameDescription
otherUpdateConnectionRequest

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
TypeDescription
bool

Connection

public Connection Connection { get; set; }

Required. The Connection to update.

Property Value
TypeDescription
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
TypeDescription
string

UpdateMask

public FieldMask UpdateMask { get; set; }

The list of fields to be updated.

Property Value
TypeDescription
FieldMask