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

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

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






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












com.google.api.services.compute

Class Compute.HealthChecks

  • Enclosing class:
    Compute


    public class Compute.HealthChecks
    extends Object
    The "healthChecks" collection of methods.
    • Constructor Detail

      • HealthChecks

        public HealthChecks()
    • Method Detail

      • aggregatedList

        public Compute.HealthChecks.AggregatedList aggregatedList(String project)
                                                           throws IOException
        Retrieves the list of all HealthCheck 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 "healthChecks.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.HealthChecks.Delete delete(String project,
                                                  String healthCheck)
                                           throws IOException
        Deletes the specified HealthCheck resource. Create a request for the method "healthChecks.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.
        healthCheck - Name of the HealthCheck resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.HealthChecks.Get get(String project,
                                            String healthCheck)
                                     throws IOException
        Returns the specified HealthCheck resource. Create a request for the method "healthChecks.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.
        healthCheck - Name of the HealthCheck resource to return.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Compute.HealthChecks.Insert insert(String project,
                                                  HealthCheck content)
                                           throws IOException
        Creates a HealthCheck resource in the specified project using the data included in the request. Create a request for the method "healthChecks.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 HealthCheck
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.HealthChecks.List list(String project)
                                       throws IOException
        Retrieves the list of HealthCheck resources available to the specified project. Create a request for the method "healthChecks.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.HealthChecks.Patch patch(String project,
                                                String healthCheck,
                                                HealthCheck content)
                                         throws IOException
        Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Create a request for the method "healthChecks.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.
        healthCheck - Name of the HealthCheck resource to patch.
        content - the HealthCheck
        Returns:
        the request
        Throws:
        IOException
      • update

        public Compute.HealthChecks.Update update(String project,
                                                  String healthCheck,
                                                  HealthCheck content)
                                           throws IOException
        Updates a HealthCheck resource in the specified project using the data included in the request. Create a request for the method "healthChecks.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.
        healthCheck - Name of the HealthCheck resource to update.
        content - the HealthCheck
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy