target.apidocs.com.google.api.services.compute.Compute.Autoscalers.html Maven / Gradle / Ivy
Compute.Autoscalers (Compute Engine API beta-rev20220312-1.32.1)
com.google.api.services.compute
Class Compute.Autoscalers
- java.lang.Object
-
- com.google.api.services.compute.Compute.Autoscalers
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.Autoscalers.AggregatedList
class
Compute.Autoscalers.Delete
class
Compute.Autoscalers.Get
class
Compute.Autoscalers.Insert
class
Compute.Autoscalers.List
class
Compute.Autoscalers.Patch
class
Compute.Autoscalers.TestIamPermissions
class
Compute.Autoscalers.Update
-
Constructor Summary
Constructors
Constructor and Description
Autoscalers()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.Autoscalers.AggregatedList
aggregatedList(String project)
Retrieves an aggregated list of autoscalers.
Compute.Autoscalers.Delete
delete(String project,
String zone,
String autoscaler)
Deletes the specified autoscaler.
Compute.Autoscalers.Get
get(String project,
String zone,
String autoscaler)
Returns the specified autoscaler resource.
Compute.Autoscalers.Insert
insert(String project,
String zone,
Autoscaler content)
Creates an autoscaler in the specified project using the data included in the request.
Compute.Autoscalers.List
list(String project,
String zone)
Retrieves a list of autoscalers contained within the specified zone.
Compute.Autoscalers.Patch
patch(String project,
String zone,
Autoscaler content)
Updates an autoscaler in the specified project using the data included in the request.
Compute.Autoscalers.TestIamPermissions
testIamPermissions(String project,
String zone,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
Compute.Autoscalers.Update
update(String project,
String zone,
Autoscaler content)
Updates an autoscaler in the specified project using the data included in the request.
-
-
Method Detail
-
aggregatedList
public Compute.Autoscalers.AggregatedList aggregatedList(String project)
throws IOException
Retrieves an aggregated list of autoscalers.
Create a request for the method "autoscalers.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
- Project ID for this request.
- Returns:
- the request
- Throws:
IOException
-
delete
public Compute.Autoscalers.Delete delete(String project,
String zone,
String autoscaler)
throws IOException
Deletes the specified autoscaler.
Create a request for the method "autoscalers.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.
zone
- Name of the zone for this request.
autoscaler
- Name of the autoscaler to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.Autoscalers.Get get(String project,
String zone,
String autoscaler)
throws IOException
Returns the specified autoscaler resource. Gets a list of available autoscalers by making a
list() request.
Create a request for the method "autoscalers.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.
zone
- Name of the zone for this request.
autoscaler
- Name of the autoscaler to return.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.Autoscalers.Insert insert(String project,
String zone,
Autoscaler content)
throws IOException
Creates an autoscaler in the specified project using the data included in the request.
Create a request for the method "autoscalers.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.
zone
- Name of the zone for this request.
content
- the Autoscaler
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.Autoscalers.List list(String project,
String zone)
throws IOException
Retrieves a list of autoscalers contained within the specified zone.
Create a request for the method "autoscalers.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.
zone
- Name of the zone for this request.
- Returns:
- the request
- Throws:
IOException
-
patch
public Compute.Autoscalers.Patch patch(String project,
String zone,
Autoscaler content)
throws IOException
Updates an autoscaler 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 "autoscalers.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.
zone
- Name of the zone for this request.
content
- the Autoscaler
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Compute.Autoscalers.TestIamPermissions testIamPermissions(String project,
String zone,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "autoscalers.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.
zone
- The name of the zone for this request.
resource
- Name or id of the resource for this request.
content
- the TestPermissionsRequest
- Returns:
- the request
- Throws:
IOException
-
update
public Compute.Autoscalers.Update update(String project,
String zone,
Autoscaler content)
throws IOException
Updates an autoscaler in the specified project using the data included in the request.
Create a request for the method "autoscalers.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.
zone
- Name of the zone for this request.
content
- the Autoscaler
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy