Class RegionUrlMapsResource
The "regionUrlMaps" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class RegionUrlMapsResource
Constructors
RegionUrlMapsResource(IClientService)
Constructs a new resource.
Declaration
public RegionUrlMapsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(string, string, string)
Deletes the specified UrlMap resource.
Declaration
public virtual RegionUrlMapsResource.DeleteRequest Delete(string project, string region, string urlMap)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | region | Name of the region scoping this request. |
| string | urlMap | Name of the UrlMap resource to delete. |
Returns
| Type | Description |
|---|---|
| RegionUrlMapsResource.DeleteRequest |
Get(string, string, string)
Returns the specified UrlMap resource.
Declaration
public virtual RegionUrlMapsResource.GetRequest Get(string project, string region, string urlMap)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | region | Name of the region scoping this request. |
| string | urlMap | Name of the UrlMap resource to return. |
Returns
| Type | Description |
|---|---|
| RegionUrlMapsResource.GetRequest |
Insert(UrlMap, string, string)
Creates a UrlMap resource in the specified project using the data included in the request.
Declaration
public virtual RegionUrlMapsResource.InsertRequest Insert(UrlMap body, string project, string region)
Parameters
| Type | Name | Description |
|---|---|---|
| UrlMap | 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 |
|---|---|
| RegionUrlMapsResource.InsertRequest |
InvalidateCache(CacheInvalidationRule, string, string, string)
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see Invalidating cached content.
Declaration
public virtual RegionUrlMapsResource.InvalidateCacheRequest InvalidateCache(CacheInvalidationRule body, string project, string region, string urlMap)
Parameters
| Type | Name | Description |
|---|---|---|
| CacheInvalidationRule | body | The body of the request. |
| string | project | Project ID for this request. |
| string | region | Name of the region scoping this request. |
| string | urlMap | Name of the UrlMap scoping this request. |
Returns
| Type | Description |
|---|---|
| RegionUrlMapsResource.InvalidateCacheRequest |
List(string, string)
Retrieves the list of UrlMap resources available to the specified project in the specified region.
Declaration
public virtual RegionUrlMapsResource.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 |
|---|---|
| RegionUrlMapsResource.ListRequest |
Patch(UrlMap, string, string, string)
Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
Declaration
public virtual RegionUrlMapsResource.PatchRequest Patch(UrlMap body, string project, string region, string urlMap)
Parameters
| Type | Name | Description |
|---|---|---|
| UrlMap | body | The body of the request. |
| string | project | Project ID for this request. |
| string | region | Name of the region scoping this request. |
| string | urlMap | Name of the UrlMap resource to patch. |
Returns
| Type | Description |
|---|---|
| RegionUrlMapsResource.PatchRequest |
TestIamPermissions(TestPermissionsRequest, string, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual RegionUrlMapsResource.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 |
|---|---|
| RegionUrlMapsResource.TestIamPermissionsRequest |
Update(UrlMap, string, string, string)
Updates the specified UrlMap resource with the data included in the request.
Declaration
public virtual RegionUrlMapsResource.UpdateRequest Update(UrlMap body, string project, string region, string urlMap)
Parameters
| Type | Name | Description |
|---|---|---|
| UrlMap | body | The body of the request. |
| string | project | Project ID for this request. |
| string | region | Name of the region scoping this request. |
| string | urlMap | Name of the UrlMap resource to update. |
Returns
| Type | Description |
|---|---|
| RegionUrlMapsResource.UpdateRequest |
Validate(RegionUrlMapsValidateRequest, string, string, string)
Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.
Declaration
public virtual RegionUrlMapsResource.ValidateRequest Validate(RegionUrlMapsValidateRequest body, string project, string region, string urlMap)
Parameters
| Type | Name | Description |
|---|---|---|
| RegionUrlMapsValidateRequest | body | The body of the request. |
| string | project | Project ID for this request. |
| string | region | Name of the region scoping this request. |
| string | urlMap | Name of the UrlMap resource to be validated as. |
Returns
| Type | Description |
|---|---|
| RegionUrlMapsResource.ValidateRequest |