Class BackendServicesResource
The "backendServices" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class BackendServicesResource
Constructors
BackendServicesResource(IClientService)
Constructs a new resource.
Declaration
public BackendServicesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
AddSignedUrlKey(SignedUrlKey, String, String)
Adds a key for validating requests with signed URLs for this backend service.
Declaration
public virtual BackendServicesResource.AddSignedUrlKeyRequest AddSignedUrlKey(SignedUrlKey body, string project, string backendService)
Parameters
| Type | Name | Description |
|---|---|---|
| SignedUrlKey | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | backendService | Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035. |
Returns
| Type | Description |
|---|---|
| BackendServicesResource.AddSignedUrlKeyRequest |
AggregatedList(String)
Retrieves the list of all BackendService resources, regional and global, available to the specified project.
Declaration
public virtual BackendServicesResource.AggregatedListRequest AggregatedList(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Name of the project scoping this request. |
Returns
| Type | Description |
|---|---|
| BackendServicesResource.AggregatedListRequest |
Delete(String, String)
Deletes the specified BackendService resource.
Declaration
public virtual BackendServicesResource.DeleteRequest Delete(string project, string backendService)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | backendService | Name of the BackendService resource to delete. |
Returns
| Type | Description |
|---|---|
| BackendServicesResource.DeleteRequest |
DeleteSignedUrlKey(String, String, String)
Deletes a key for validating requests with signed URLs for this backend service.
Declaration
public virtual BackendServicesResource.DeleteSignedUrlKeyRequest DeleteSignedUrlKey(string project, string backendService, string keyName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | backendService | Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035. |
| System.String | keyName | The name of the Signed URL Key to delete. |
Returns
| Type | Description |
|---|---|
| BackendServicesResource.DeleteSignedUrlKeyRequest |
Get(String, String)
Returns the specified BackendService resource. Gets a list of available backend services.
Declaration
public virtual BackendServicesResource.GetRequest Get(string project, string backendService)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | backendService | Name of the BackendService resource to return. |
Returns
| Type | Description |
|---|---|
| BackendServicesResource.GetRequest |
GetHealth(ResourceGroupReference, String, String)
Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" }
Declaration
public virtual BackendServicesResource.GetHealthRequest GetHealth(ResourceGroupReference body, string project, string backendService)
Parameters
| Type | Name | Description |
|---|---|---|
| ResourceGroupReference | body | The body of the request. |
| System.String | project |
|
| System.String | backendService | Name of the BackendService resource to which the queried instance belongs. |
Returns
| Type | Description |
|---|---|
| BackendServicesResource.GetHealthRequest |
Insert(BackendService, String)
Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview .
Declaration
public virtual BackendServicesResource.InsertRequest Insert(BackendService body, string project)
Parameters
| Type | Name | Description |
|---|---|---|
| BackendService | body | The body of the request. |
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| BackendServicesResource.InsertRequest |
List(String)
Retrieves the list of BackendService resources available to the specified project.
Declaration
public virtual BackendServicesResource.ListRequest List(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| BackendServicesResource.ListRequest |
Patch(BackendService, String, String)
Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Declaration
public virtual BackendServicesResource.PatchRequest Patch(BackendService body, string project, string backendService)
Parameters
| Type | Name | Description |
|---|---|---|
| BackendService | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | backendService | Name of the BackendService resource to patch. |
Returns
| Type | Description |
|---|---|
| BackendServicesResource.PatchRequest |
SetSecurityPolicy(SecurityPolicyReference, String, String)
Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview
Declaration
public virtual BackendServicesResource.SetSecurityPolicyRequest SetSecurityPolicy(SecurityPolicyReference body, string project, string backendService)
Parameters
| Type | Name | Description |
|---|---|---|
| SecurityPolicyReference | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | backendService | Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. |
Returns
| Type | Description |
|---|---|
| BackendServicesResource.SetSecurityPolicyRequest |
Update(BackendService, String, String)
Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.
Declaration
public virtual BackendServicesResource.UpdateRequest Update(BackendService body, string project, string backendService)
Parameters
| Type | Name | Description |
|---|---|---|
| BackendService | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | backendService | Name of the BackendService resource to update. |
Returns
| Type | Description |
|---|---|
| BackendServicesResource.UpdateRequest |