- 2.53.0 (latest)
- 2.52.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
- 0.2.0
com.google.appengine.v1
The interfaces provided are listed below, along with usage samples.
ApplicationsClient
Service Description: Manages App Engine applications.
Sample for ApplicationsClient:
try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
GetApplicationRequest request =
GetApplicationRequest.newBuilder().setName("name3373707").build();
Application response = applicationsClient.getApplication(request);
}
ServicesClient
Service Description: Manages services of an application.
Sample for ServicesClient:
try (ServicesClient servicesClient = ServicesClient.create()) {
GetServiceRequest request = GetServiceRequest.newBuilder().setName("name3373707").build();
Service response = servicesClient.getService(request);
}
VersionsClient
Service Description: Manages versions of a service.
Sample for VersionsClient:
try (VersionsClient versionsClient = VersionsClient.create()) {
GetVersionRequest request =
GetVersionRequest.newBuilder()
.setName("name3373707")
.setView(VersionView.forNumber(0))
.build();
Version response = versionsClient.getVersion(request);
}
InstancesClient
Service Description: Manages instances of a version.
Sample for InstancesClient:
try (InstancesClient instancesClient = InstancesClient.create()) {
GetInstanceRequest request = GetInstanceRequest.newBuilder().setName("name3373707").build();
Instance response = instancesClient.getInstance(request);
}
FirewallClient
Service Description: Firewall resources are used to define a collection of access control rules for an Application. Each rule is defined with a position which specifies the rule's order in the sequence of rules, an IP range to be matched against requests, and an action to take upon matching requests.
Every request is evaluated against the Firewall rules in priority order. Processesing stops at the first rule which matches the request's IP address. A final rule always specifies an action that applies to all remaining IP addresses. The default final rule for a newly-created application will be set to "allow" if not otherwise specified by the user.
Sample for FirewallClient:
try (FirewallClient firewallClient = FirewallClient.create()) {
BatchUpdateIngressRulesRequest request =
BatchUpdateIngressRulesRequest.newBuilder()
.setName("name3373707")
.addAllIngressRules(new ArrayList
AuthorizedDomainsClient
Service Description: Manages domains a user is authorized to administer. To authorize use of a domain, verify ownership via Webmaster Central.
Sample for AuthorizedDomainsClient:
try (AuthorizedDomainsClient authorizedDomainsClient = AuthorizedDomainsClient.create()) {
ListAuthorizedDomainsRequest request =
ListAuthorizedDomainsRequest.newBuilder()
.setParent("parent-995424086")
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
for (AuthorizedDomain element :
authorizedDomainsClient.listAuthorizedDomains(request).iterateAll()) {
// doThingsWith(element);
}
}
AuthorizedCertificatesClient
Service Description: Manages SSL certificates a user is authorized to administer. A user can administer any SSL certificates applicable to their authorized domains.
Sample for AuthorizedCertificatesClient:
try (AuthorizedCertificatesClient authorizedCertificatesClient =
AuthorizedCertificatesClient.create()) {
GetAuthorizedCertificateRequest request =
GetAuthorizedCertificateRequest.newBuilder()
.setName("name3373707")
.setView(AuthorizedCertificateView.forNumber(0))
.build();
AuthorizedCertificate response =
authorizedCertificatesClient.getAuthorizedCertificate(request);
}
DomainMappingsClient
Service Description: Manages domains serving an application.
Sample for DomainMappingsClient:
try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
GetDomainMappingRequest request =
GetDomainMappingRequest.newBuilder().setName("name3373707").build();
DomainMapping response = domainMappingsClient.getDomainMapping(request);
}