Compute Engine v1 API - Class InstancesSetNameRequest (2.11.0)

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

Inheritance

object > InstancesSetNameRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstancesSetNameRequest()

public InstancesSetNameRequest()

InstancesSetNameRequest(InstancesSetNameRequest)

public InstancesSetNameRequest(InstancesSetNameRequest other)
Parameter
NameDescription
otherInstancesSetNameRequest

Properties

CurrentName

public string CurrentName { get; set; }

The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name.

Property Value
TypeDescription
string

HasCurrentName

public bool HasCurrentName { get; }

Gets whether the "current_name" field is set

Property Value
TypeDescription
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool

Name

public string Name { get; set; }

The name to be applied to the instance. Needs to be RFC 1035 compliant.

Property Value
TypeDescription
string