public class Compute.GlobalForwardingRules
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Compute.GlobalForwardingRules.Delete |
class |
Compute.GlobalForwardingRules.Get |
class |
Compute.GlobalForwardingRules.Insert |
class |
Compute.GlobalForwardingRules.List |
class |
Compute.GlobalForwardingRules.SetTarget |
| Constructor and Description |
|---|
Compute.GlobalForwardingRules() |
| Modifier and Type | Method and Description |
|---|---|
Compute.GlobalForwardingRules.Delete |
delete(java.lang.String project,
java.lang.String forwardingRule)
Deletes the specified ForwardingRule resource.
|
Compute.GlobalForwardingRules.Get |
get(java.lang.String project,
java.lang.String forwardingRule)
Returns the specified ForwardingRule resource.
|
Compute.GlobalForwardingRules.Insert |
insert(java.lang.String project,
ForwardingRule content)
Creates a ForwardingRule resource in the specified project and region using the data included in
the request.
|
Compute.GlobalForwardingRules.List |
list(java.lang.String project)
Retrieves a list of ForwardingRule resources available to the specified project.
|
Compute.GlobalForwardingRules.SetTarget |
setTarget(java.lang.String project,
java.lang.String forwardingRule,
TargetReference content)
Changes target URL for forwarding rule.
|
public Compute.GlobalForwardingRules.Delete delete(java.lang.String project, java.lang.String forwardingRule) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.forwardingRule - Name of the ForwardingRule resource to delete.java.io.IOExceptionpublic Compute.GlobalForwardingRules.Get get(java.lang.String project, java.lang.String forwardingRule) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.forwardingRule - Name of the ForwardingRule resource to return.java.io.IOExceptionpublic Compute.GlobalForwardingRules.Insert insert(java.lang.String project, ForwardingRule content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the ForwardingRulejava.io.IOExceptionpublic Compute.GlobalForwardingRules.List list(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.java.io.IOExceptionpublic Compute.GlobalForwardingRules.SetTarget setTarget(java.lang.String project, java.lang.String forwardingRule, TargetReference content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.forwardingRule - Name of the ForwardingRule resource in which target is to be set.content - the TargetReferencejava.io.IOException