target.apidocs.com.google.api.services.compute.Compute.BackendServices.html Maven / Gradle / Ivy
The newest version!
Compute.BackendServices (Compute Engine API v1-rev20250320-2.0.0)
com.google.api.services.compute
Class Compute.BackendServices
- java.lang.Object
-
- com.google.api.services.compute.Compute.BackendServices
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.BackendServices.AddSignedUrlKey
class
Compute.BackendServices.AggregatedList
class
Compute.BackendServices.Delete
class
Compute.BackendServices.DeleteSignedUrlKey
class
Compute.BackendServices.Get
class
Compute.BackendServices.GetHealth
class
Compute.BackendServices.GetIamPolicy
class
Compute.BackendServices.Insert
class
Compute.BackendServices.List
class
Compute.BackendServices.ListUsable
class
Compute.BackendServices.Patch
class
Compute.BackendServices.SetEdgeSecurityPolicy
class
Compute.BackendServices.SetIamPolicy
class
Compute.BackendServices.SetSecurityPolicy
class
Compute.BackendServices.TestIamPermissions
class
Compute.BackendServices.Update
-
Constructor Summary
Constructors
Constructor and Description
BackendServices()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.BackendServices.AddSignedUrlKey
addSignedUrlKey(String project,
String backendService,
SignedUrlKey content)
Adds a key for validating requests with signed URLs for this backend service.
Compute.BackendServices.AggregatedList
aggregatedList(String project)
Retrieves the list of all BackendService resources, regional and global, available to the
specified project.
Compute.BackendServices.Delete
delete(String project,
String backendService)
Deletes the specified BackendService resource.
Compute.BackendServices.DeleteSignedUrlKey
deleteSignedUrlKey(String project,
String backendService,
String keyName)
Deletes a key for validating requests with signed URLs for this backend service.
Compute.BackendServices.Get
get(String project,
String backendService)
Returns the specified BackendService resource.
Compute.BackendServices.GetHealth
getHealth(String project,
String backendService,
ResourceGroupReference content)
Gets the most recent health check results for this BackendService.
Compute.BackendServices.GetIamPolicy
getIamPolicy(String project,
String resource)
Gets the access control policy for a resource.
Compute.BackendServices.Insert
insert(String project,
BackendService content)
Creates a BackendService resource in the specified project using the data included in the
request.
Compute.BackendServices.List
list(String project)
Retrieves the list of BackendService resources available to the specified project.
Compute.BackendServices.ListUsable
listUsable(String project)
Retrieves a list of all usable backend services in the specified project.
Compute.BackendServices.Patch
patch(String project,
String backendService,
BackendService content)
Patches the specified BackendService resource with the data included in the request.
Compute.BackendServices.SetEdgeSecurityPolicy
setEdgeSecurityPolicy(String project,
String backendService,
SecurityPolicyReference content)
Sets the edge security policy for the specified backend service.
Compute.BackendServices.SetIamPolicy
setIamPolicy(String project,
String resource,
GlobalSetPolicyRequest content)
Sets the access control policy on the specified resource.
Compute.BackendServices.SetSecurityPolicy
setSecurityPolicy(String project,
String backendService,
SecurityPolicyReference content)
Sets the Google Cloud Armor security policy for the specified backend service.
Compute.BackendServices.TestIamPermissions
testIamPermissions(String project,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
Compute.BackendServices.Update
update(String project,
String backendService,
BackendService content)
Updates the specified BackendService resource with the data included in the request.
-
-
Method Detail
-
addSignedUrlKey
public Compute.BackendServices.AddSignedUrlKey addSignedUrlKey(String project,
String backendService,
SignedUrlKey content)
throws IOException
Adds a key for validating requests with signed URLs for this backend service.
Create a request for the method "backendServices.addSignedUrlKey".
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.
backendService - Name of the BackendService resource to which the Signed URL Key should be added. The name should
conform to RFC1035.
content - the SignedUrlKey
- Returns:
- the request
- Throws:
IOException
-
aggregatedList
public Compute.BackendServices.AggregatedList aggregatedList(String project)
throws IOException
Retrieves the list of all BackendService resources, regional and global, available to the
specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess`
parameter to `true`.
Create a request for the method "backendServices.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 - Name of the project scoping this request.
- Returns:
- the request
- Throws:
IOException
-
delete
public Compute.BackendServices.Delete delete(String project,
String backendService)
throws IOException
Deletes the specified BackendService resource.
Create a request for the method "backendServices.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.
backendService - Name of the BackendService resource to delete.
- Returns:
- the request
- Throws:
IOException
-
deleteSignedUrlKey
public Compute.BackendServices.DeleteSignedUrlKey deleteSignedUrlKey(String project,
String backendService,
String keyName)
throws IOException
Deletes a key for validating requests with signed URLs for this backend service.
Create a request for the method "backendServices.deleteSignedUrlKey".
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.
backendService - Name of the BackendService resource to which the Signed URL Key should be added. The name should
conform to RFC1035.
keyName - The name of the Signed URL Key to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.BackendServices.Get get(String project,
String backendService)
throws IOException
Returns the specified BackendService resource.
Create a request for the method "backendServices.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.
backendService - Name of the BackendService resource to return.
- Returns:
- the request
- Throws:
IOException
-
getHealth
public Compute.BackendServices.GetHealth getHealth(String project,
String backendService,
ResourceGroupReference content)
throws IOException
Gets the most recent health check results for this BackendService. Example request body: {
"group": "/zones/us-east1-b/instanceGroups/lb-backend-example" }
Create a request for the method "backendServices.getHealth".
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 -
backendService - Name of the BackendService resource to which the queried instance belongs.
content - the ResourceGroupReference
- Returns:
- the request
- Throws:
IOException
-
getIamPolicy
public Compute.BackendServices.GetIamPolicy getIamPolicy(String project,
String resource)
throws IOException
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Create a request for the method "backendServices.getIamPolicy".
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.
resource - Name or id of the resource for this request.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.BackendServices.Insert insert(String project,
BackendService content)
throws IOException
Creates a BackendService resource in the specified project using the data included in the
request. For more information, see Backend services overview .
Create a request for the method "backendServices.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.
content - the BackendService
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.BackendServices.List list(String project)
throws IOException
Retrieves the list of BackendService resources available to the specified project.
Create a request for the method "backendServices.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.
- Returns:
- the request
- Throws:
IOException
-
listUsable
public Compute.BackendServices.ListUsable listUsable(String project)
throws IOException
Retrieves a list of all usable backend services in the specified project.
Create a request for the method "backendServices.listUsable".
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
-
patch
public Compute.BackendServices.Patch patch(String project,
String backendService,
BackendService content)
throws IOException
Patches the specified BackendService resource with the data included in the request. For more
information, see Backend services overview. This method supports PATCH semantics and uses the
JSON merge patch format and processing rules.
Create a request for the method "backendServices.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.
backendService - Name of the BackendService resource to patch.
content - the BackendService
- Returns:
- the request
- Throws:
IOException
-
setEdgeSecurityPolicy
public Compute.BackendServices.SetEdgeSecurityPolicy setEdgeSecurityPolicy(String project,
String backendService,
SecurityPolicyReference content)
throws IOException
Sets the edge security policy for the specified backend service.
Create a request for the method "backendServices.setEdgeSecurityPolicy".
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.
backendService - Name of the BackendService resource to which the edge security policy should be set. The name should
conform to RFC1035.
content - the SecurityPolicyReference
- Returns:
- the request
- Throws:
IOException
-
setIamPolicy
public Compute.BackendServices.SetIamPolicy setIamPolicy(String project,
String resource,
GlobalSetPolicyRequest content)
throws IOException
Sets the access control policy on the specified resource. Replaces any existing policy.
Create a request for the method "backendServices.setIamPolicy".
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.
resource - Name or id of the resource for this request.
content - the GlobalSetPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
setSecurityPolicy
public Compute.BackendServices.SetSecurityPolicy setSecurityPolicy(String project,
String backendService,
SecurityPolicyReference content)
throws IOException
Sets the Google Cloud Armor security policy for the specified backend service. For more
information, see Google Cloud Armor Overview
Create a request for the method "backendServices.setSecurityPolicy".
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.
backendService - Name of the BackendService resource to which the security policy should be set. The name should
conform to RFC1035.
content - the SecurityPolicyReference
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Compute.BackendServices.TestIamPermissions testIamPermissions(String project,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "backendServices.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.
resource - Name or id of the resource for this request.
content - the TestPermissionsRequest
- Returns:
- the request
- Throws:
IOException
-
update
public Compute.BackendServices.Update update(String project,
String backendService,
BackendService content)
throws IOException
Updates the specified BackendService resource with the data included in the request. For more
information, see Backend services overview.
Create a request for the method "backendServices.update".
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.
backendService - Name of the BackendService resource to update.
content - the BackendService
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy