Compute Engine v1 API - Class GetHostRequest (3.30.0)

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

Reference documentation and code samples for the Compute Engine v1 API class GetHostRequest.

A request message for Hosts.Get. See the method description for details.

Inheritance

object > GetHostRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

GetHostRequest()

public GetHostRequest()

GetHostRequest(GetHostRequest)

public GetHostRequest(GetHostRequest other)
Parameter
Name Description
other GetHostRequest

Properties

Association

public string Association { get; set; }

The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host. For example, reservations/reservation_name, reservations/reservation_name/reservationBlocks/reservation_block_name or reservations/reservation_name/reservationBlocks/reservation_block_name/reservationSubBlocks/reservation_sub_block_name.

Property Value
Type Description
string

Host

public string Host { get; set; }

The name of the host, formatted as RFC1035 or a resource ID number.

Property Value
Type Description
string

Project

public string Project { get; set; }

The project ID for this request.

Property Value
Type Description
string

Zone

public string Zone { get; set; }

The name of the zone for this request, formatted as RFC1035.

Property Value
Type Description
string