Class HostsResource.GetVersionRequest
Allows customers to get SBOM versions of a host.
Inheritance
HostsResource.GetVersionRequest
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class HostsResource.GetVersionRequest : ComputeBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
GetVersionRequest(IClientService, HostsGetVersionRequest, string, string, string, string)
Constructs a new GetVersion request.
Declaration
public GetVersionRequest(IClientService service, HostsGetVersionRequest body, string project, string zone, string association, string host)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| HostsGetVersionRequest | body | |
| string | project | |
| string | zone | |
| string | association | |
| string | host |
Properties
Association
The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host.
Declaration
[RequestParameter("association", RequestParameterType.Path)]
public virtual string Association { get; }
Property Value
| Type | Description |
|---|---|
| string |
Host
The name of the host, formatted as RFC1035 or a resource ID number.
Declaration
[RequestParameter("host", RequestParameterType.Path)]
public virtual string Host { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Project
Project ID for this request.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
| Type | Description |
|---|---|
| string |
RequestId
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Zone
Name of the zone for this request. Zone name should conform to RFC1035.
Declaration
[RequestParameter("zone", RequestParameterType.Path)]
public virtual string Zone { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes GetVersion parameter list.
Declaration
protected override void InitParameters()