Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.HostGroupsResource

The "hostGroups" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.HostGroupsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.NetAppFiles.v1
Assembly: Google.Apis.NetAppFiles.v1.dll
Syntax
public class ProjectsResource.LocationsResource.HostGroupsResource

Constructors

HostGroupsResource(IClientService)

Constructs a new resource.

Declaration
public HostGroupsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(HostGroup, string)

Creates a new host group.

Declaration
public virtual ProjectsResource.LocationsResource.HostGroupsResource.CreateRequest Create(HostGroup body, string parent)
Parameters
Type Name Description
HostGroup body

The body of the request.

string parent

Required. Parent value for CreateHostGroupRequest

Returns
Type Description
ProjectsResource.LocationsResource.HostGroupsResource.CreateRequest

Delete(string)

Deletes a host group.

Declaration
public virtual ProjectsResource.LocationsResource.HostGroupsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The resource name of the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.

Returns
Type Description
ProjectsResource.LocationsResource.HostGroupsResource.DeleteRequest

Get(string)

Returns details of the specified host group.

Declaration
public virtual ProjectsResource.LocationsResource.HostGroupsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The resource name of the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.

Returns
Type Description
ProjectsResource.LocationsResource.HostGroupsResource.GetRequest

List(string)

Returns a list of host groups in a location. Use '-' as location to list host groups across all locations.

Declaration
public virtual ProjectsResource.LocationsResource.HostGroupsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Parent value for ListHostGroupsRequest

Returns
Type Description
ProjectsResource.LocationsResource.HostGroupsResource.ListRequest

Patch(HostGroup, string)

Updates an existing host group.

Declaration
public virtual ProjectsResource.LocationsResource.HostGroupsResource.PatchRequest Patch(HostGroup body, string name)
Parameters
Type Name Description
HostGroup body

The body of the request.

string name

Identifier. The resource name of the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.

Returns
Type Description
ProjectsResource.LocationsResource.HostGroupsResource.PatchRequest
In this article
Back to top Generated by DocFX