target.apidocs.com.google.api.services.appengine.v1.Appengine.Apps.Services.Versions.html Maven / Gradle / Ivy
Appengine.Apps.Services.Versions (App Engine Admin API v1-rev20241118-2.0.0)
com.google.api.services.appengine.v1
Class Appengine.Apps.Services.Versions
- java.lang.Object
-
- com.google.api.services.appengine.v1.Appengine.Apps.Services.Versions
-
- Enclosing class:
- Appengine.Apps.Services
public class Appengine.Apps.Services.Versions
extends Object
The "versions" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Appengine.Apps.Services.Versions.Create
class
Appengine.Apps.Services.Versions.Delete
class
Appengine.Apps.Services.Versions.Get
class
Appengine.Apps.Services.Versions.Instances
The "instances" collection of methods.
class
Appengine.Apps.Services.Versions.List
class
Appengine.Apps.Services.Versions.Patch
-
Constructor Summary
Constructors
Constructor and Description
Versions()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Appengine.Apps.Services.Versions.Create
create(String appsId,
String servicesId,
Version content)
Deploys code and resource files to a new version.
Appengine.Apps.Services.Versions.Delete
delete(String appsId,
String servicesId,
String versionsId)
Deletes an existing Version resource.
Appengine.Apps.Services.Versions.Get
get(String appsId,
String servicesId,
String versionsId)
Gets the specified Version resource.
Appengine.Apps.Services.Versions.Instances
instances()
An accessor for creating requests from the Instances collection.
Appengine.Apps.Services.Versions.List
list(String appsId,
String servicesId)
Lists the versions of a service.
Appengine.Apps.Services.Versions.Patch
patch(String appsId,
String servicesId,
String versionsId,
Version content)
Updates the specified Version resource.
-
-
Method Detail
-
create
public Appengine.Apps.Services.Versions.Create create(String appsId,
String servicesId,
Version content)
throws IOException
Deploys code and resource files to a new version.
Create a request for the method "versions.create".
This request holds the parameters needed by the appengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
appsId
- Part of `parent`. Name of the parent resource to create this version under. Example:
apps/myapp/services/default.
servicesId
- Part of `parent`. See documentation of `appsId`.
content
- the Version
- Returns:
- the request
- Throws:
IOException
-
delete
public Appengine.Apps.Services.Versions.Delete delete(String appsId,
String servicesId,
String versionsId)
throws IOException
Deletes an existing Version resource.
Create a request for the method "versions.delete".
This request holds the parameters needed by the appengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
appsId
- Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.
servicesId
- Part of `name`. See documentation of `appsId`.
versionsId
- Part of `name`. See documentation of `appsId`.
- Returns:
- the request
- Throws:
IOException
-
get
public Appengine.Apps.Services.Versions.Get get(String appsId,
String servicesId,
String versionsId)
throws IOException
Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the
FULL_VIEW parameter to get the full resource.
Create a request for the method "versions.get".
This request holds the parameters needed by the appengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
appsId
- Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.
servicesId
- Part of `name`. See documentation of `appsId`.
versionsId
- Part of `name`. See documentation of `appsId`.
- Returns:
- the request
- Throws:
IOException
-
list
public Appengine.Apps.Services.Versions.List list(String appsId,
String servicesId)
throws IOException
Lists the versions of a service.
Create a request for the method "versions.list".
This request holds the parameters needed by the appengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
appsId
- Part of `parent`. Name of the parent Service resource. Example: apps/myapp/services/default.
servicesId
- Part of `parent`. See documentation of `appsId`.
- Returns:
- the request
- Throws:
IOException
-
patch
public Appengine.Apps.Services.Versions.Patch patch(String appsId,
String servicesId,
String versionsId,
Version content)
throws IOException
Updates the specified Version resource. You can specify the following fields depending on the App
Engine environment and type of scaling that the version resource uses:Standard environment
instance_class (https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in
the standard environment: automatic_scaling.min_idle_instances
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
automaticScaling.standard_scheduler_settings.max_instances
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
automaticScaling.standard_scheduler_settings.min_instances
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
automaticScaling.standard_scheduler_settings.target_cpu_utilization
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
automaticScaling.standard_scheduler_settings.target_throughput_utilization
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual
scaling in the standard environment: serving_status
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)
manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in
the flexible environment: automatic_scaling.min_total_instances
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
automatic_scaling.cpu_utilization.target_utilization
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in
the flexible environment: manual_scaling.instances
(https://cloud.google.com/appengine/docs/admin-
api/reference/rest/v1/apps.services.versions#manualscaling)
Create a request for the method "versions.patch".
This request holds the parameters needed by the appengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
appsId
- Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1.
servicesId
- Part of `name`. See documentation of `appsId`.
versionsId
- Part of `name`. See documentation of `appsId`.
content
- the Version
- Returns:
- the request
- Throws:
IOException
-
instances
public Appengine.Apps.Services.Versions.Instances instances()
An accessor for creating requests from the Instances collection.
The typical use is:
Appengine appengine = new Appengine(...);
Appengine.Instances.List request = appengine.instances().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy