Class RegionBackendServicesResource
The "regionBackendServices" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class RegionBackendServicesResource
Constructors
RegionBackendServicesResource(IClientService)
Constructs a new resource.
Declaration
public RegionBackendServicesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string, string)
Deletes the specified regional BackendService resource.
Declaration
public virtual RegionBackendServicesResource.DeleteRequest Delete(string project, string region, string backendService)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | backendService | Name of the BackendService resource to delete. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.DeleteRequest |
Get(string, string, string)
Returns the specified regional BackendService resource.
Declaration
public virtual RegionBackendServicesResource.GetRequest Get(string project, string region, string backendService)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | backendService | Name of the BackendService resource to return. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.GetRequest |
GetHealth(ResourceGroupReference, string, string, string)
Gets the most recent health check results for this regional BackendService.
Declaration
public virtual RegionBackendServicesResource.GetHealthRequest GetHealth(ResourceGroupReference body, string project, string region, string backendService)
Parameters
Type | Name | Description |
---|---|---|
ResourceGroupReference | body | The body of the request. |
string | project |
|
string | region | Name of the region scoping this request. |
string | backendService | Name of the BackendService resource for which to get health. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.GetHealthRequest |
GetIamPolicy(string, string, string)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Declaration
public virtual RegionBackendServicesResource.GetIamPolicyRequest GetIamPolicy(string project, string region, string resource)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | The name of the region for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.GetIamPolicyRequest |
Insert(BackendService, string, string)
Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.
Declaration
public virtual RegionBackendServicesResource.InsertRequest Insert(BackendService body, string project, string region)
Parameters
Type | Name | Description |
---|---|---|
BackendService | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.InsertRequest |
List(string, string)
Retrieves the list of regional BackendService resources available to the specified project in the given region.
Declaration
public virtual RegionBackendServicesResource.ListRequest List(string project, string region)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.ListRequest |
ListUsable(string, string)
Retrieves a list of all usable backend services in the specified project in the given region.
Declaration
public virtual RegionBackendServicesResource.ListUsableRequest ListUsable(string project, string region)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. It must be a string that meets the requirements in RFC1035. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.ListUsableRequest |
Patch(BackendService, string, string, string)
Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Declaration
public virtual RegionBackendServicesResource.PatchRequest Patch(BackendService body, string project, string region, string backendService)
Parameters
Type | Name | Description |
---|---|---|
BackendService | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | backendService | Name of the BackendService resource to patch. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.PatchRequest |
SetIamPolicy(RegionSetPolicyRequest, string, string, string)
Sets the access control policy on the specified resource. Replaces any existing policy.
Declaration
public virtual RegionBackendServicesResource.SetIamPolicyRequest SetIamPolicy(RegionSetPolicyRequest body, string project, string region, string resource)
Parameters
Type | Name | Description |
---|---|---|
RegionSetPolicyRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | region | The name of the region for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.SetIamPolicyRequest |
SetSecurityPolicy(SecurityPolicyReference, string, 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 RegionBackendServicesResource.SetSecurityPolicyRequest SetSecurityPolicy(SecurityPolicyReference body, string project, string region, string backendService)
Parameters
Type | Name | Description |
---|---|---|
SecurityPolicyReference | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | backendService | Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.SetSecurityPolicyRequest |
TestIamPermissions(TestPermissionsRequest, string, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual RegionBackendServicesResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string region, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestPermissionsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | region | The name of the region for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.TestIamPermissionsRequest |
Update(BackendService, string, string, string)
Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .
Declaration
public virtual RegionBackendServicesResource.UpdateRequest Update(BackendService body, string project, string region, string backendService)
Parameters
Type | Name | Description |
---|---|---|
BackendService | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | backendService | Name of the BackendService resource to update. |
Returns
Type | Description |
---|---|
RegionBackendServicesResource.UpdateRequest |