| Modifier and Type | Class and Description |
|---|---|
class |
Compute.ForwardingRules.AggregatedList |
class |
Compute.ForwardingRules.Delete |
class |
Compute.ForwardingRules.Get |
class |
Compute.ForwardingRules.Insert |
class |
Compute.ForwardingRules.List |
class |
Compute.ForwardingRules.SetTarget |
| Constructor and Description |
|---|
ForwardingRules() |
| Modifier and Type | Method and Description |
|---|---|
Compute.ForwardingRules.AggregatedList |
aggregatedList(String project)
Retrieves an aggregated list of forwarding rules.
|
Compute.ForwardingRules.Delete |
delete(String project,
String region,
String forwardingRule)
Deletes the specified ForwardingRule resource.
|
Compute.ForwardingRules.Get |
get(String project,
String region,
String forwardingRule)
Returns the specified ForwardingRule resource.
|
Compute.ForwardingRules.Insert |
insert(String project,
String region,
ForwardingRule content)
Creates a ForwardingRule resource in the specified project and region using the data included in
the request.
|
Compute.ForwardingRules.List |
list(String project,
String region)
Retrieves a list of ForwardingRule resources available to the specified project and region.
|
Compute.ForwardingRules.SetTarget |
setTarget(String project,
String region,
String forwardingRule,
TargetReference content)
Changes target URL for forwarding rule.
|
public Compute.ForwardingRules.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.ForwardingRules.Delete delete(String project, String region, String forwardingRule) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.forwardingRule - Name of the ForwardingRule resource to delete.IOExceptionpublic Compute.ForwardingRules.Get get(String project, String region, String forwardingRule) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.forwardingRule - Name of the ForwardingRule resource to return.IOExceptionpublic Compute.ForwardingRules.Insert insert(String project, String region, ForwardingRule content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.content - the ForwardingRuleIOExceptionpublic Compute.ForwardingRules.List list(String project, String region) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.IOExceptionpublic Compute.ForwardingRules.SetTarget setTarget(String project, String region, String forwardingRule, TargetReference content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.forwardingRule - Name of the ForwardingRule resource in which target is to be set.content - the TargetReferenceIOExceptionCopyright © 2011–2019 Google. All rights reserved.