target.apidocs.com.google.api.services.compute.Compute.HealthChecks.html Maven / Gradle / Ivy
Compute.HealthChecks (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute
Class Compute.HealthChecks
- java.lang.Object
-
- com.google.api.services.compute.Compute.HealthChecks
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.HealthChecks.AggregatedList
class
Compute.HealthChecks.Delete
class
Compute.HealthChecks.Get
class
Compute.HealthChecks.Insert
class
Compute.HealthChecks.List
class
Compute.HealthChecks.Patch
class
Compute.HealthChecks.Update
-
Constructor Summary
Constructors
Constructor and Description
HealthChecks()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.HealthChecks.AggregatedList
aggregatedList(String project)
Retrieves the list of all HealthCheck resources, regional and global, available to the specified
project.
Compute.HealthChecks.Delete
delete(String project,
String healthCheck)
Deletes the specified HealthCheck resource.
Compute.HealthChecks.Get
get(String project,
String healthCheck)
Returns the specified HealthCheck resource.
Compute.HealthChecks.Insert
insert(String project,
HealthCheck content)
Creates a HealthCheck resource in the specified project using the data included in the request.
Compute.HealthChecks.List
list(String project)
Retrieves the list of HealthCheck resources available to the specified project.
Compute.HealthChecks.Patch
patch(String project,
String healthCheck,
HealthCheck content)
Updates a HealthCheck resource in the specified project using the data included in the request.
Compute.HealthChecks.Update
update(String project,
String healthCheck,
HealthCheck content)
Updates a HealthCheck resource in the specified project using the data included in the request.
-
-
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