Class ImagesResource.GetFromFamilyRequest
Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation.
Inheritance
ImagesResource.GetFromFamilyRequest
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class ImagesResource.GetFromFamilyRequest : ComputeBaseServiceRequest<Image>, IClientServiceRequest<Image>, IClientServiceRequest
Constructors
GetFromFamilyRequest(IClientService, string, string)
Constructs a new GetFromFamily request.
Declaration
public GetFromFamilyRequest(IClientService service, string project, string family)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | project | |
string | family |
Properties
Family
Name of the image family to search for.
Declaration
[RequestParameter("family", RequestParameterType.Path)]
public virtual string Family { 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
The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GetFromFamily parameter list.
Declaration
protected override void InitParameters()