
target.apidocs.com.google.api.services.compute.Compute.ForwardingRules.html Maven / Gradle / Ivy
Compute.ForwardingRules (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute
Class Compute.ForwardingRules
- java.lang.Object
-
- com.google.api.services.compute.Compute.ForwardingRules
-
-
Nested Class Summary
Nested Classes
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.Patch
class
Compute.ForwardingRules.SetLabels
class
Compute.ForwardingRules.SetTarget
class
Compute.ForwardingRules.TestIamPermissions
-
Constructor Summary
Constructors
Constructor and Description
ForwardingRules()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.Patch
patch(String project,
String region,
String forwardingRule,
ForwardingRule content)
Updates the specified forwarding rule with the data included in the request.
Compute.ForwardingRules.SetLabels
setLabels(String project,
String region,
String resource,
RegionSetLabelsRequest content)
Sets the labels on the specified resource.
Compute.ForwardingRules.SetTarget
setTarget(String project,
String region,
String forwardingRule,
TargetReference content)
Changes target URL for forwarding rule.
Compute.ForwardingRules.TestIamPermissions
testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
Method Detail
-
aggregatedList
public Compute.ForwardingRules.AggregatedList aggregatedList(String project)
throws IOException
Retrieves an aggregated list of forwarding rules.
Create a request for the method "forwardingRules.aggregatedList".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
- Returns:
- the request
- Throws:
IOException
-
delete
public Compute.ForwardingRules.Delete delete(String project,
String region,
String forwardingRule)
throws IOException
Deletes the specified ForwardingRule resource.
Create a request for the method "forwardingRules.delete".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region scoping this request.
forwardingRule
- Name of the ForwardingRule resource to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.ForwardingRules.Get get(String project,
String region,
String forwardingRule)
throws IOException
Returns the specified ForwardingRule resource.
Create a request for the method "forwardingRules.get".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region scoping this request.
forwardingRule
- Name of the ForwardingRule resource to return.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.ForwardingRules.Insert insert(String project,
String region,
ForwardingRule content)
throws IOException
Creates a ForwardingRule resource in the specified project and region using the data included in
the request.
Create a request for the method "forwardingRules.insert".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region scoping this request.
content
- the ForwardingRule
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.ForwardingRules.List list(String project,
String region)
throws IOException
Retrieves a list of ForwardingRule resources available to the specified project and region.
Create a request for the method "forwardingRules.list".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region scoping this request.
- Returns:
- the request
- Throws:
IOException
-
patch
public Compute.ForwardingRules.Patch patch(String project,
String region,
String forwardingRule,
ForwardingRule content)
throws IOException
Updates the specified forwarding rule with the data included in the request. This method supports
PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can
only patch the network_tier field.
Create a request for the method "forwardingRules.patch".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- Name of the region scoping this request.
forwardingRule
- Name of the ForwardingRule resource to patch.
content
- the ForwardingRule
- Returns:
- the request
- Throws:
IOException
-
setLabels
public Compute.ForwardingRules.SetLabels setLabels(String project,
String region,
String resource,
RegionSetLabelsRequest content)
throws IOException
Sets the labels on the specified resource. To learn more about labels, read the Labeling
Resources documentation.
Create a request for the method "forwardingRules.setLabels".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- The region for this request.
resource
- Name or id of the resource for this request.
content
- the RegionSetLabelsRequest
- Returns:
- the request
- Throws:
IOException
-
setTarget
public Compute.ForwardingRules.SetTarget setTarget(String project,
String region,
String forwardingRule,
TargetReference content)
throws IOException
Changes target URL for forwarding rule. The new target should be of the same type as the old
target.
Create a request for the method "forwardingRules.setTarget".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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 TargetReference
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Compute.ForwardingRules.TestIamPermissions testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "forwardingRules.testIamPermissions".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
region
- The name of the region for this request.
resource
- Name or id of the resource for this request.
content
- the TestPermissionsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy