public sealed class UpdateInstanceRequest : IMessage<UpdateInstanceRequest>, IEquatable<UpdateInstanceRequest>, IDeepCloneable<UpdateInstanceRequest>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Run Admin v2 API class UpdateInstanceRequest.
Request message for updating an Instance.
Implements
IMessageUpdateInstanceRequest, IEquatableUpdateInstanceRequest, IDeepCloneableUpdateInstanceRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
UpdateInstanceRequest()
public UpdateInstanceRequest()UpdateInstanceRequest(UpdateInstanceRequest)
public UpdateInstanceRequest(UpdateInstanceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateInstanceRequest |
Properties
AllowMissing
public bool AllowMissing { get; set; }Optional. If set to true, and if the Instance does not exist, it will
create a new one. The caller must have run.instances.create permissions
if this is set to true and the Instance does not exist.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Instance
public Instance Instance { get; set; }Required. The Instance to be updated.
| Property Value | |
|---|---|
| Type | Description |
Instance |
|
UpdateMask
public FieldMask UpdateMask { get; set; }Optional. The list of fields to be updated.
| Property Value | |
|---|---|
| Type | Description |
FieldMask |
|
ValidateOnly
public bool ValidateOnly { get; set; }Optional. Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
| Property Value | |
|---|---|
| Type | Description |
bool |
|