
target.apidocs.com.google.api.services.compute.Compute.BackendServices.html Maven / Gradle / Ivy
Compute.BackendServices (Compute Engine API alpha-rev20200526-1.30.9)
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.Insert
class
Compute.BackendServices.List
class
Compute.BackendServices.Patch
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.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.Patch
patch(String project,
String backendService,
BackendService content)
Patches the specified BackendService resource with the data included in the request.
Compute.BackendServices.SetSecurityPolicy
setSecurityPolicy(String project,
String backendService,
SecurityPolicyReference content)
Sets the 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.
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. Gets a list of available backend services.
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
-
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. There are several restrictions and guidelines to keep in mind when creating a backend
service. Read Understanding backend services for more information.
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
-
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. There are
several Understanding backend services to keep in mind when updating a backend service. Read
Understanding backend services for more information. 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
-
setSecurityPolicy
public Compute.BackendServices.SetSecurityPolicy setSecurityPolicy(String project,
String backendService,
SecurityPolicyReference content)
throws IOException
Sets the security policy for the specified backend service.
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. There are
several Understanding backend services to keep in mind when updating a backend service. Read
Understanding backend services for more information.
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–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy