Class UrlMapsResource
The "urlMaps" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class UrlMapsResource
Constructors
UrlMapsResource(IClientService)
Constructs a new resource.
Declaration
public UrlMapsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregatedList(string)
Retrieves the list of all UrlMap resources, regional and global, available to the specified project. To
prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Declaration
public virtual UrlMapsResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Name of the project scoping this request. |
Returns
Type | Description |
---|---|
UrlMapsResource.AggregatedListRequest |
Delete(string, string)
Deletes the specified UrlMap resource.
Declaration
public virtual UrlMapsResource.DeleteRequest Delete(string project, string urlMap)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | urlMap | Name of the UrlMap resource to delete. |
Returns
Type | Description |
---|---|
UrlMapsResource.DeleteRequest |
Get(string, string)
Returns the specified UrlMap resource.
Declaration
public virtual UrlMapsResource.GetRequest Get(string project, string urlMap)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | urlMap | Name of the UrlMap resource to return. |
Returns
Type | Description |
---|---|
UrlMapsResource.GetRequest |
Insert(UrlMap, string)
Creates a UrlMap resource in the specified project using the data included in the request.
Declaration
public virtual UrlMapsResource.InsertRequest Insert(UrlMap body, string project)
Parameters
Type | Name | Description |
---|---|---|
UrlMap | body | The body of the request. |
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
UrlMapsResource.InsertRequest |
InvalidateCache(CacheInvalidationRule, 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 UrlMapsResource.InvalidateCacheRequest InvalidateCache(CacheInvalidationRule body, string project, string urlMap)
Parameters
Type | Name | Description |
---|---|---|
CacheInvalidationRule | body | The body of the request. |
string | project | Project ID for this request. |
string | urlMap | Name of the UrlMap scoping this request. |
Returns
Type | Description |
---|---|
UrlMapsResource.InvalidateCacheRequest |
List(string)
Retrieves the list of UrlMap resources available to the specified project.
Declaration
public virtual UrlMapsResource.ListRequest List(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
UrlMapsResource.ListRequest |
Patch(UrlMap, string, string)
Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Declaration
public virtual UrlMapsResource.PatchRequest Patch(UrlMap body, string project, string urlMap)
Parameters
Type | Name | Description |
---|---|---|
UrlMap | body | The body of the request. |
string | project | Project ID for this request. |
string | urlMap | Name of the UrlMap resource to patch. |
Returns
Type | Description |
---|---|
UrlMapsResource.PatchRequest |
TestIamPermissions(TestPermissionsRequest, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual UrlMapsResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestPermissionsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
UrlMapsResource.TestIamPermissionsRequest |
Update(UrlMap, string, string)
Updates the specified UrlMap resource with the data included in the request.
Declaration
public virtual UrlMapsResource.UpdateRequest Update(UrlMap body, string project, string urlMap)
Parameters
Type | Name | Description |
---|---|---|
UrlMap | body | The body of the request. |
string | project | Project ID for this request. |
string | urlMap | Name of the UrlMap resource to update. |
Returns
Type | Description |
---|---|
UrlMapsResource.UpdateRequest |
Validate(UrlMapsValidateRequest, 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 UrlMapsResource.ValidateRequest Validate(UrlMapsValidateRequest body, string project, string urlMap)
Parameters
Type | Name | Description |
---|---|---|
UrlMapsValidateRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | urlMap | Name of the UrlMap resource to be validated as. |
Returns
Type | Description |
---|---|
UrlMapsResource.ValidateRequest |