Class ProjectsResource.LocationsResource.ServiceLbPoliciesResource
The "serviceLbPolicies" collection of methods.
Inherited Members
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
|
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
|
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
|
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 |
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
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServiceLbPoliciesResource.PatchRequest |