Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ServiceLbPoliciesResource

The "serviceLbPolicies" collection of methods.

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

Constructors

ServiceLbPoliciesResource(IClientService)

Constructs a new resource.

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

Methods

Create(ServiceLbPolicy, string)

Creates a new ServiceLbPolicy in a given project and location.

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

The body of the request.

string parent

Required. The parent resource of the ServiceLbPolicy. Must be in the format projects/{project}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.ServiceLbPoliciesResource.CreateRequest

Delete(string)

Deletes a single ServiceLbPolicy.

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

Required. A name of the ServiceLbPolicy to delete. Must be in the format projects/{project}/locations/{location}/serviceLbPolicies/*.

Returns
Type Description
ProjectsResource.LocationsResource.ServiceLbPoliciesResource.DeleteRequest

Get(string)

Gets details of a single ServiceLbPolicy.

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

Required. A name of the ServiceLbPolicy to get. Must be in the format projects/{project}/locations/{location}/serviceLbPolicies/*.

Returns
Type Description
ProjectsResource.LocationsResource.ServiceLbPoliciesResource.GetRequest

List(string)

Lists ServiceLbPolicies in a given project and location.

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

Required. The project and location from which the ServiceLbPolicies should be listed, specified in the format projects/{project}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.ServiceLbPoliciesResource.ListRequest

Patch(ServiceLbPolicy, string)

Updates the parameters of a single ServiceLbPolicy.

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

The body of the request.

string name

Identifier. Name of the ServiceLbPolicy resource. It matches pattern projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.

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