All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.Compute.BackendServices.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250320-2.0.0
Show newest version






Compute.BackendServices (Compute Engine API v1-rev20250107-2.0.0)












com.google.api.services.compute

Class Compute.BackendServices

  • Enclosing class:
    Compute


    public class Compute.BackendServices
    extends Object
    The "backendServices" collection of methods.
    • Constructor Detail

      • BackendServices

        public BackendServices()
    • 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