Movatterモバイル変換


[0]ホーム

URL:


appengine

package
v0.257.0Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2025 License:BSD-3-ClauseImports:18Imported by:0

Details

Repository

github.com/googleapis/google-api-go-client

Links

Documentation

Overview

Package appengine provides access to the App Engine Admin API.

For product documentation, see:https://cloud.google.com/appengine/docs/admin-api/

Library status

These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.

When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.

Creating a client

Usage example:

import "google.golang.org/api/appengine/v1alpha"...ctx := context.Background()appengineService, err := appengine.NewService(ctx)

In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

By default, all available scopes (see "Constants") are used to authenticate.To restrict scopes, usegoogle.golang.org/api/option.WithScopes:

appengineService, err := appengine.NewService(ctx, option.WithScopes(appengine.CloudPlatformReadOnlyScope))

To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:

appengineService, err := appengine.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)appengineService, err := appengine.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

Seegoogle.golang.org/api/option.ClientOption for details on options.

Index

Constants

View Source
const (// View and manage your applications deployed on Google App EngineAppengineAdminScope = "https://www.googleapis.com/auth/appengine.admin"// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"// View your data across Google Cloud services and see the email address of// your Google AccountCloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/cloud-platform.read-only")

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

typeAPIService

type APIService struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentApps *AppsServiceProjects *ProjectsService// contains filtered or unexported fields}

funcNewdeprecated

func New(client *http.Client) (*APIService,error)

New creates a new APIService. It uses the provided http.Client for requests.

Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

funcNewServiceadded inv0.3.0

func NewService(ctxcontext.Context, opts ...option.ClientOption) (*APIService,error)

NewService creates a new APIService.

typeAppsAuthorizedCertificatesCreateCall

type AppsAuthorizedCertificatesCreateCall struct {// contains filtered or unexported fields}

func (*AppsAuthorizedCertificatesCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsAuthorizedCertificatesCreateCall)Do

Do executes the "appengine.apps.authorizedCertificates.create" call.Any non-2xx status code is an error. Response headers are in either*AuthorizedCertificate.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*AppsAuthorizedCertificatesCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsAuthorizedCertificatesCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeAppsAuthorizedCertificatesDeleteCall

type AppsAuthorizedCertificatesDeleteCall struct {// contains filtered or unexported fields}

func (*AppsAuthorizedCertificatesDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsAuthorizedCertificatesDeleteCall)Do

Do executes the "appengine.apps.authorizedCertificates.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*AppsAuthorizedCertificatesDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsAuthorizedCertificatesDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeAppsAuthorizedCertificatesGetCall

type AppsAuthorizedCertificatesGetCall struct {// contains filtered or unexported fields}

func (*AppsAuthorizedCertificatesGetCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsAuthorizedCertificatesGetCall)Do

Do executes the "appengine.apps.authorizedCertificates.get" call.Any non-2xx status code is an error. Response headers are in either*AuthorizedCertificate.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*AppsAuthorizedCertificatesGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsAuthorizedCertificatesGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsAuthorizedCertificatesGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*AppsAuthorizedCertificatesGetCall)View

View sets the optional parameter "view": Controls the set of fields returnedin the GET response.

Possible values:

"BASIC_CERTIFICATE" - Basic certificate information, including applicable

domains and expiration date.

"FULL_CERTIFICATE" - The information from BASIC_CERTIFICATE, plus detailed

information on the domain mappings that have this certificate mapped.

typeAppsAuthorizedCertificatesListCall

type AppsAuthorizedCertificatesListCall struct {// contains filtered or unexported fields}

func (*AppsAuthorizedCertificatesListCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsAuthorizedCertificatesListCall)Do

Do executes the "appengine.apps.authorizedCertificates.list" call.Any non-2xx status code is an error. Response headers are in either*ListAuthorizedCertificatesResponse.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*AppsAuthorizedCertificatesListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsAuthorizedCertificatesListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsAuthorizedCertificatesListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*AppsAuthorizedCertificatesListCall)PageSize

PageSize sets the optional parameter "pageSize": Maximum results to returnper page.

func (*AppsAuthorizedCertificatesListCall)PageToken

PageToken sets the optional parameter "pageToken": Continuation token forfetching the next page of results.

func (*AppsAuthorizedCertificatesListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*AppsAuthorizedCertificatesListCall)View

View sets the optional parameter "view": Controls the set of fields returnedin the LIST response.

Possible values:

"BASIC_CERTIFICATE" - Basic certificate information, including applicable

domains and expiration date.

"FULL_CERTIFICATE" - The information from BASIC_CERTIFICATE, plus detailed

information on the domain mappings that have this certificate mapped.

typeAppsAuthorizedCertificatesPatchCall

type AppsAuthorizedCertificatesPatchCall struct {// contains filtered or unexported fields}

func (*AppsAuthorizedCertificatesPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsAuthorizedCertificatesPatchCall)Do

Do executes the "appengine.apps.authorizedCertificates.patch" call.Any non-2xx status code is an error. Response headers are in either*AuthorizedCertificate.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*AppsAuthorizedCertificatesPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsAuthorizedCertificatesPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsAuthorizedCertificatesPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Standard field mask forthe set of fields to be updated. Updates are only supported on thecertificate_raw_data and display_name fields.

typeAppsAuthorizedCertificatesService

type AppsAuthorizedCertificatesService struct {// contains filtered or unexported fields}

func (*AppsAuthorizedCertificatesService)Create

Create: Uploads the specified SSL certificate.

  • appsId: Part of `parent`. Name of the parent Application resource.Example: apps/myapp.

func (*AppsAuthorizedCertificatesService)Delete

Delete: Deletes the specified SSL certificate.

  • appsId: Part of `name`. Name of the resource to delete. Example:apps/myapp/authorizedCertificates/12345.
  • authorizedCertificatesId: Part of `name`. See documentation of `appsId`.

func (*AppsAuthorizedCertificatesService)Get

Get: Gets the specified SSL certificate.

  • appsId: Part of `name`. Name of the resource requested. Example:apps/myapp/authorizedCertificates/12345.
  • authorizedCertificatesId: Part of `name`. See documentation of `appsId`.

func (*AppsAuthorizedCertificatesService)List

List: Lists all SSL certificates the user is authorized to administer.

  • appsId: Part of `parent`. Name of the parent Application resource.Example: apps/myapp.

func (*AppsAuthorizedCertificatesService)Patch

func (r *AppsAuthorizedCertificatesService) Patch(appsIdstring, authorizedCertificatesIdstring, authorizedcertificate *AuthorizedCertificate) *AppsAuthorizedCertificatesPatchCall

Patch: Updates the specified SSL certificate. To renew a certificate andmaintain its existing domain mappings, update certificate_data with a newcertificate. The new certificate must be applicable to the same domains asthe original certificate. The certificate display_name may also be updated.

  • appsId: Part of `name`. Name of the resource to update. Example:apps/myapp/authorizedCertificates/12345.
  • authorizedCertificatesId: Part of `name`. See documentation of `appsId`.

typeAppsAuthorizedDomainsListCall

type AppsAuthorizedDomainsListCall struct {// contains filtered or unexported fields}

func (*AppsAuthorizedDomainsListCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsAuthorizedDomainsListCall)Do

Do executes the "appengine.apps.authorizedDomains.list" call.Any non-2xx status code is an error. Response headers are in either*ListAuthorizedDomainsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*AppsAuthorizedDomainsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsAuthorizedDomainsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsAuthorizedDomainsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*AppsAuthorizedDomainsListCall)PageSize

PageSize sets the optional parameter "pageSize": Maximum results to returnper page.

func (*AppsAuthorizedDomainsListCall)PageToken

PageToken sets the optional parameter "pageToken": Continuation token forfetching the next page of results.

func (*AppsAuthorizedDomainsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeAppsAuthorizedDomainsService

type AppsAuthorizedDomainsService struct {// contains filtered or unexported fields}

func (*AppsAuthorizedDomainsService)List

List: Lists all domains the user is authorized to administer.

  • appsId: Part of `parent`. Name of the parent Application resource.Example: apps/myapp.

typeAppsDomainMappingsCreateCall

type AppsDomainMappingsCreateCall struct {// contains filtered or unexported fields}

func (*AppsDomainMappingsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsDomainMappingsCreateCall)Do

Do executes the "appengine.apps.domainMappings.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*AppsDomainMappingsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsDomainMappingsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsDomainMappingsCreateCall)NoManagedCertificate

func (c *AppsDomainMappingsCreateCall) NoManagedCertificate(noManagedCertificatebool) *AppsDomainMappingsCreateCall

NoManagedCertificate sets the optional parameter "noManagedCertificate":Whether a managed certificate should be provided by App Engine. If true, acertificate ID must be manaually set in the DomainMapping resource toconfigure SSL for this domain. If false, a managed certificate will beprovisioned and a certificate ID will be automatically populated.

func (*AppsDomainMappingsCreateCall)OverrideStrategy

func (c *AppsDomainMappingsCreateCall) OverrideStrategy(overrideStrategystring) *AppsDomainMappingsCreateCall

OverrideStrategy sets the optional parameter "overrideStrategy": Whether thedomain creation should override any existing mappings for this domain. Bydefault, overrides are rejected.

Possible values:

"UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY" - Strategy unspecified. Defaults to

STRICT.

"STRICT" - Overrides not allowed. If a mapping already exists for the

specified domain, the request will return an ALREADY_EXISTS (409).

"OVERRIDE" - Overrides allowed. If a mapping already exists for the

specified domain, the request will overwrite it. Note that this might stopanother Google product from serving. For example, if the domain is mapped toanother App Engine application, that app will no longer serve from thatdomain.

typeAppsDomainMappingsDeleteCall

type AppsDomainMappingsDeleteCall struct {// contains filtered or unexported fields}

func (*AppsDomainMappingsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsDomainMappingsDeleteCall)Do

Do executes the "appengine.apps.domainMappings.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*AppsDomainMappingsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsDomainMappingsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeAppsDomainMappingsGetCall

type AppsDomainMappingsGetCall struct {// contains filtered or unexported fields}

func (*AppsDomainMappingsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsDomainMappingsGetCall)Do

Do executes the "appengine.apps.domainMappings.get" call.Any non-2xx status code is an error. Response headers are in either*DomainMapping.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*AppsDomainMappingsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsDomainMappingsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsDomainMappingsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeAppsDomainMappingsListCall

type AppsDomainMappingsListCall struct {// contains filtered or unexported fields}

func (*AppsDomainMappingsListCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsDomainMappingsListCall)Do

Do executes the "appengine.apps.domainMappings.list" call.Any non-2xx status code is an error. Response headers are in either*ListDomainMappingsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*AppsDomainMappingsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsDomainMappingsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsDomainMappingsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*AppsDomainMappingsListCall)PageSize

PageSize sets the optional parameter "pageSize": Maximum results to returnper page.

func (*AppsDomainMappingsListCall)PageToken

PageToken sets the optional parameter "pageToken": Continuation token forfetching the next page of results.

func (*AppsDomainMappingsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeAppsDomainMappingsPatchCall

type AppsDomainMappingsPatchCall struct {// contains filtered or unexported fields}

func (*AppsDomainMappingsPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsDomainMappingsPatchCall)Do

Do executes the "appengine.apps.domainMappings.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*AppsDomainMappingsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsDomainMappingsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsDomainMappingsPatchCall)NoManagedCertificate

func (c *AppsDomainMappingsPatchCall) NoManagedCertificate(noManagedCertificatebool) *AppsDomainMappingsPatchCall

NoManagedCertificate sets the optional parameter "noManagedCertificate":Whether a managed certificate should be provided by App Engine. If true, acertificate ID must be manually set in the DomainMapping resource toconfigure SSL for this domain. If false, a managed certificate will beprovisioned and a certificate ID will be automatically populated. Onlyapplicable if ssl_settings.certificate_id is specified in the update mask.

func (*AppsDomainMappingsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Standardfield mask for the set of fields to be updated.

typeAppsDomainMappingsService

type AppsDomainMappingsService struct {// contains filtered or unexported fields}

funcNewAppsDomainMappingsService

func NewAppsDomainMappingsService(s *APIService) *AppsDomainMappingsService

func (*AppsDomainMappingsService)Create

Create: Maps a domain to an application. A user must be authorized toadminister a domain in order to map it to an application. For a list ofavailable authorized domains, see AuthorizedDomains.ListAuthorizedDomains.

  • appsId: Part of `parent`. Name of the parent Application resource.Example: apps/myapp.

func (*AppsDomainMappingsService)Delete

func (r *AppsDomainMappingsService) Delete(appsIdstring, domainMappingsIdstring) *AppsDomainMappingsDeleteCall

Delete: Deletes the specified domain mapping. A user must be authorized toadminister the associated domain in order to delete a DomainMappingresource.

  • appsId: Part of `name`. Name of the resource to delete. Example:apps/myapp/domainMappings/example.com.
  • domainMappingsId: Part of `name`. See documentation of `appsId`.

func (*AppsDomainMappingsService)Get

func (r *AppsDomainMappingsService) Get(appsIdstring, domainMappingsIdstring) *AppsDomainMappingsGetCall

Get: Gets the specified domain mapping.

  • appsId: Part of `name`. Name of the resource requested. Example:apps/myapp/domainMappings/example.com.
  • domainMappingsId: Part of `name`. See documentation of `appsId`.

func (*AppsDomainMappingsService)List

List: Lists the domain mappings on an application.

  • appsId: Part of `parent`. Name of the parent Application resource.Example: apps/myapp.

func (*AppsDomainMappingsService)Patch

func (r *AppsDomainMappingsService) Patch(appsIdstring, domainMappingsIdstring, domainmapping *DomainMapping) *AppsDomainMappingsPatchCall

Patch: Updates the specified domain mapping. To map an SSL certificate to adomain mapping, update certificate_id to point to an AuthorizedCertificateresource. A user must be authorized to administer the associated domain inorder to update a DomainMapping resource.

  • appsId: Part of `name`. Name of the resource to update. Example:apps/myapp/domainMappings/example.com.
  • domainMappingsId: Part of `name`. See documentation of `appsId`.

typeAppsLocationsGetCall

type AppsLocationsGetCall struct {// contains filtered or unexported fields}

func (*AppsLocationsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsLocationsGetCall)Do

Do executes the "appengine.apps.locations.get" call.Any non-2xx status code is an error. Response headers are in either*Location.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*AppsLocationsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsLocationsGetCall)Header

func (c *AppsLocationsGetCall) Header()http.Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsLocationsGetCall)IfNoneMatch

func (c *AppsLocationsGetCall) IfNoneMatch(entityTagstring) *AppsLocationsGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeAppsLocationsListCall

type AppsLocationsListCall struct {// contains filtered or unexported fields}

func (*AppsLocationsListCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsLocationsListCall)Do

Do executes the "appengine.apps.locations.list" call.Any non-2xx status code is an error. Response headers are in either*ListLocationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*AppsLocationsListCall)ExtraLocationTypesadded inv0.230.0

func (c *AppsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *AppsLocationsListCall

ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.

func (*AppsLocationsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsLocationsListCall)Filter

Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).

func (*AppsLocationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsLocationsListCall)IfNoneMatch

func (c *AppsLocationsListCall) IfNoneMatch(entityTagstring) *AppsLocationsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*AppsLocationsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.

func (*AppsLocationsListCall)PageToken

func (c *AppsLocationsListCall) PageToken(pageTokenstring) *AppsLocationsListCall

PageToken sets the optional parameter "pageToken": A page token receivedfrom the next_page_token field in the response. Send that page token toreceive the subsequent page.

func (*AppsLocationsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeAppsLocationsService

type AppsLocationsService struct {// contains filtered or unexported fields}

funcNewAppsLocationsService

func NewAppsLocationsService(s *APIService) *AppsLocationsService

func (*AppsLocationsService)Get

func (r *AppsLocationsService) Get(appsIdstring, locationsIdstring) *AppsLocationsGetCall

Get: Gets information about a location.

- appsId: Part of `name`. Resource name for the location.- locationsId: Part of `name`. See documentation of `appsId`.

func (*AppsLocationsService)List

List: Lists information about the supported locations for this service.

  • appsId: Part of `name`. The resource that owns the locations collection,if applicable.

typeAppsOperationsGetCall

type AppsOperationsGetCall struct {// contains filtered or unexported fields}

func (*AppsOperationsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsOperationsGetCall)Do

Do executes the "appengine.apps.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*AppsOperationsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsOperationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsOperationsGetCall)IfNoneMatch

func (c *AppsOperationsGetCall) IfNoneMatch(entityTagstring) *AppsOperationsGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeAppsOperationsListCall

type AppsOperationsListCall struct {// contains filtered or unexported fields}

func (*AppsOperationsListCall)Context

Context sets the context to be used in this call's Do method.

func (*AppsOperationsListCall)Do

Do executes the "appengine.apps.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*AppsOperationsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*AppsOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*AppsOperationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*AppsOperationsListCall)IfNoneMatch

func (c *AppsOperationsListCall) IfNoneMatch(entityTagstring) *AppsOperationsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*AppsOperationsListCall)PageSize

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*AppsOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*AppsOperationsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*AppsOperationsListCall)ReturnPartialSuccessadded inv0.252.0

func (c *AppsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *AppsOperationsListCall

ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to true, operations that are reachable are returned as normal, andthose that are unreachable are returned in theListOperationsResponse.unreachable field.This can only be true when readingacross collections e.g. when parent is set to"projects/example/locations/-".This field is not by default supported andwill result in an UNIMPLEMENTED error if set unless explicitly documentedotherwise in service or product specific documentation.

typeAppsOperationsService

type AppsOperationsService struct {// contains filtered or unexported fields}

funcNewAppsOperationsService

func NewAppsOperationsService(s *APIService) *AppsOperationsService

func (*AppsOperationsService)Get

func (r *AppsOperationsService) Get(appsIdstring, operationsIdstring) *AppsOperationsGetCall

Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.

- appsId: Part of `name`. The name of the operation resource.- operationsId: Part of `name`. See documentation of `appsId`.

func (*AppsOperationsService)List

List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns UNIMPLEMENTED.

- appsId: Part of `name`. The name of the operation's parent resource.

typeAppsService

type AppsService struct {AuthorizedCertificates *AppsAuthorizedCertificatesServiceAuthorizedDomains *AppsAuthorizedDomainsServiceDomainMappings *AppsDomainMappingsServiceLocations *AppsLocationsServiceOperations *AppsOperationsService// contains filtered or unexported fields}

funcNewAppsService

func NewAppsService(s *APIService) *AppsService

typeAuthorizedCertificate

type AuthorizedCertificate struct {// CertificateRawData: The SSL certificate serving the AuthorizedCertificate// resource. This must be obtained independently from a certificate authority.CertificateRawData *CertificateRawData `json:"certificateRawData,omitempty"`// DisplayName: The user-specified display name of the certificate. This is not// guaranteed to be unique. Example: My Certificate.DisplayNamestring `json:"displayName,omitempty"`// DomainMappingsCount: Aggregate count of the domain mappings with this// certificate mapped. This count includes domain mappings on applications for// which the user does not have VIEWER permissions.Only returned by GET or LIST// requests when specifically requested by the view=FULL_CERTIFICATE// option.@OutputOnlyDomainMappingsCountint64 `json:"domainMappingsCount,omitempty"`// DomainNames: Output only. Topmost applicable domains of this certificate.// This certificate applies to these domains and their subdomains. Example:// example.com.@OutputOnlyDomainNames []string `json:"domainNames,omitempty"`// ExpireTime: The time when this certificate expires. To update the renewal// time on this certificate, upload an SSL certificate with a different// expiration time using// AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnlyExpireTimestring `json:"expireTime,omitempty"`// Id: Output only. Relative name of the certificate. This is a unique value// autogenerated on AuthorizedCertificate resource creation. Example:// 12345.@OutputOnlyIdstring `json:"id,omitempty"`// ManagedCertificate: Only applicable if this certificate is managed by App// Engine. Managed certificates are tied to the lifecycle of a DomainMapping// and cannot be updated or deleted via the AuthorizedCertificates API. If this// certificate is manually administered by the user, this field will be// empty.@OutputOnlyManagedCertificate *ManagedCertificate `json:"managedCertificate,omitempty"`// Name: Output only. Full path to the AuthorizedCertificate resource in the// API. Example: apps/myapp/authorizedCertificates/12345.@OutputOnlyNamestring `json:"name,omitempty"`// VisibleDomainMappings: Output only. The full paths to user visible Domain// Mapping resources that have this certificate mapped. Example:// apps/myapp/domainMappings/example.com.This may not represent the full list// of mapped domain mappings if the user does not have VIEWER permissions on// all of the applications that have this certificate mapped. See// domain_mappings_count for a complete count.Only returned by GET or LIST// requests when specifically requested by the view=FULL_CERTIFICATE// option.@OutputOnlyVisibleDomainMappings []string `json:"visibleDomainMappings,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CertificateRawData") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CertificateRawData") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AuthorizedCertificate: An SSL certificate that a user has been authorized toadminister. A user is authorized to administer any certificate that appliesto one of their authorized domains.

func (AuthorizedCertificate)MarshalJSON

func (sAuthorizedCertificate) MarshalJSON() ([]byte,error)

typeAuthorizedDomain

type AuthorizedDomain struct {// Id: Fully qualified domain name of the domain authorized for use. Example:// example.com.Idstring `json:"id,omitempty"`// Name: Full path to the AuthorizedDomain resource in the API. Example:// apps/myapp/authorizedDomains/example.com.@OutputOnlyNamestring `json:"name,omitempty"`// ForceSendFields is a list of field names (e.g. "Id") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Id") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AuthorizedDomain: A domain that a user has been authorized to administer. Toauthorize use of a domain, verify ownership via Search Console(https://search.google.com/search-console/welcome).

func (AuthorizedDomain)MarshalJSON

func (sAuthorizedDomain) MarshalJSON() ([]byte,error)

typeCertificateRawData

type CertificateRawData struct {// PrivateKey: Unencrypted PEM encoded RSA private key. This field is set once// on certificate creation and then encrypted. The key size must be 2048 bits// or fewer. Must include the header and footer. Example: -----BEGIN RSA// PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnlyPrivateKeystring `json:"privateKey,omitempty"`// PublicCertificate: PEM encoded x.509 public key certificate. This field is// set once on certificate creation. Must include the header and footer.// Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----PublicCertificatestring `json:"publicCertificate,omitempty"`// ForceSendFields is a list of field names (e.g. "PrivateKey") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PrivateKey") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CertificateRawData: An SSL certificate obtained from a certificateauthority.

func (CertificateRawData)MarshalJSON

func (sCertificateRawData) MarshalJSON() ([]byte,error)

typeContainerStateadded inv0.148.0

type ContainerState struct {CurrentReasons *Reasons `json:"currentReasons,omitempty"`// PreviousReasons: The previous and current reasons for a container state will// be sent for a container event. CLHs that need to know the signal that caused// the container event to trigger (edges) as opposed to just knowing the state// can act upon differences in the previous and current reasons.Reasons will be// provided for every system: service management, data governance, abuse, and// billing.If this is a CCFE-triggered event used for reconciliation then the// current reasons will be set to their *_CONTROL_PLANE_SYNC state. The// previous reasons will contain the last known set of non-unknown// non-control_plane_sync reasons for the state.PreviousReasons *Reasons `json:"previousReasons,omitempty"`// State: The current state of the container. This state is the culmination of// all of the opinions from external systems that CCFE knows about of the// container.//// Possible values://   "UNKNOWN_STATE" - A container should never be in an unknown state. Receipt// of a container with this state is an error.//   "ON" - CCFE considers the container to be serving or transitioning into// serving.//   "OFF" - CCFE considers the container to be in an OFF state. This could// occur due to various factors. The state could be triggered by// Google-internal audits (ex. abuse suspension, billing closed) or cleanups// trigged by compliance systems (ex. data governance hide). User-initiated// events such as service management deactivation trigger a container to an OFF// state.CLHs might choose to do nothing in this case or to turn off costly// resources. CLHs need to consider the customer experience if an ON/OFF/ON// sequence of state transitions occurs vs. the cost of deleting resources,// keeping metadata about resources, or even keeping resources live for a// period of time.CCFE will not send any new customer requests to the CLH when// the container is in an OFF state. However, CCFE will allow all previous// customer requests relayed to CLH to complete.//   "DELETED" - This state indicates that the container has been (or is being)// completely removed. This is often due to a data governance purge request and// therefore resources should be deleted when this state is reached.Statestring `json:"state,omitempty"`// ForceSendFields is a list of field names (e.g. "CurrentReasons") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrentReasons") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ContainerState: ContainerState contains the externally-visible containerstate that is used to communicate the state and reasoning for that state tothe CLH. This data is not persisted by CCFE, but is instead derived fromCCFE's internal representation of the container state.

func (ContainerState)MarshalJSONadded inv0.148.0

func (sContainerState) MarshalJSON() ([]byte,error)

typeCreateVersionMetadataV1

type CreateVersionMetadataV1 struct {// CloudBuildId: The Cloud Build ID if one was created as part of the version// create. @OutputOnlyCloudBuildIdstring `json:"cloudBuildId,omitempty"`// ForceSendFields is a list of field names (e.g. "CloudBuildId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CloudBuildId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CreateVersionMetadataV1: Metadata for the given google.longrunning.Operationduring a google.appengine.v1.CreateVersionRequest.

func (CreateVersionMetadataV1)MarshalJSON

func (sCreateVersionMetadataV1) MarshalJSON() ([]byte,error)

typeCreateVersionMetadataV1Alpha

type CreateVersionMetadataV1Alpha struct {// CloudBuildId: The Cloud Build ID if one was created as part of the version// create. @OutputOnlyCloudBuildIdstring `json:"cloudBuildId,omitempty"`// ForceSendFields is a list of field names (e.g. "CloudBuildId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CloudBuildId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CreateVersionMetadataV1Alpha: Metadata for the givengoogle.longrunning.Operation during agoogle.appengine.v1alpha.CreateVersionRequest.

func (CreateVersionMetadataV1Alpha)MarshalJSON

func (sCreateVersionMetadataV1Alpha) MarshalJSON() ([]byte,error)

typeCreateVersionMetadataV1Beta

type CreateVersionMetadataV1Beta struct {// CloudBuildId: The Cloud Build ID if one was created as part of the version// create. @OutputOnlyCloudBuildIdstring `json:"cloudBuildId,omitempty"`// ForceSendFields is a list of field names (e.g. "CloudBuildId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CloudBuildId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CreateVersionMetadataV1Beta: Metadata for the givengoogle.longrunning.Operation during agoogle.appengine.v1beta.CreateVersionRequest.

func (CreateVersionMetadataV1Beta)MarshalJSON

func (sCreateVersionMetadataV1Beta) MarshalJSON() ([]byte,error)

typeDomainMapping

type DomainMapping struct {// Id: Relative name of the domain serving the application. Example:// example.com.Idstring `json:"id,omitempty"`// Name: Output only. Full path to the DomainMapping resource in the API.// Example: apps/myapp/domainMapping/example.com.@OutputOnlyNamestring `json:"name,omitempty"`// ResourceRecords: Output only. The resource records required to configure// this domain mapping. These records must be added to the domain's DNS// configuration in order to serve the application via this domain// mapping.@OutputOnlyResourceRecords []*ResourceRecord `json:"resourceRecords,omitempty"`// SslSettings: SSL configuration for this domain. If unconfigured, this domain// will not serve with SSL.SslSettings *SslSettings `json:"sslSettings,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Id") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Id") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DomainMapping: A domain serving an App Engine application.

func (DomainMapping)MarshalJSON

func (sDomainMapping) MarshalJSON() ([]byte,error)

typeEmpty

type Empty struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}

Empty: A generic empty message that you can re-use to avoid definingduplicated empty messages in your APIs. A typical example is to use it asthe request or the response type of an API method. For instance: service Foo{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

typeGceTagadded inv0.197.0

type GceTag struct {// Parent: The parents(s) of the tag. Eg. projects/123, folders/456 It usually// contains only one parent. But, in some corner cases, it can contain multiple// parents. Currently, organizations are not supported.Parent []string `json:"parent,omitempty"`// Tag: The administrative_tag name.Tagstring `json:"tag,omitempty"`// ForceSendFields is a list of field names (e.g. "Parent") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Parent") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GceTag: For use only by GCE. GceTag is a wrapper around the GCEadministrative tag with parent info.

func (GceTag)MarshalJSONadded inv0.197.0

func (sGceTag) MarshalJSON() ([]byte,error)

typeGoogleAppengineV1betaLocationMetadataadded inv0.46.0

type GoogleAppengineV1betaLocationMetadata struct {// FlexibleEnvironmentAvailable: App Engine flexible environment is available// in the given location.@OutputOnlyFlexibleEnvironmentAvailablebool `json:"flexibleEnvironmentAvailable,omitempty"`// SearchApiAvailable: Output only. Search API// (https://cloud.google.com/appengine/docs/standard/python/search) is// available in the given location.SearchApiAvailablebool `json:"searchApiAvailable,omitempty"`// StandardEnvironmentAvailable: App Engine standard environment is available// in the given location.@OutputOnlyStandardEnvironmentAvailablebool `json:"standardEnvironmentAvailable,omitempty"`// ForceSendFields is a list of field names (e.g.// "FlexibleEnvironmentAvailable") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields// for more details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FlexibleEnvironmentAvailable") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleAppengineV1betaLocationMetadata: Metadata for the givengoogle.cloud.location.Location.

func (GoogleAppengineV1betaLocationMetadata)MarshalJSONadded inv0.46.0

typeListAuthorizedCertificatesResponse

type ListAuthorizedCertificatesResponse struct {// Certificates: The SSL certificates the user is authorized to administer.Certificates []*AuthorizedCertificate `json:"certificates,omitempty"`// NextPageToken: Continuation token for fetching the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Certificates") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Certificates") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListAuthorizedCertificatesResponse: Response message forAuthorizedCertificates.ListAuthorizedCertificates.

func (ListAuthorizedCertificatesResponse)MarshalJSON

typeListAuthorizedDomainsResponse

type ListAuthorizedDomainsResponse struct {// Domains: The authorized domains belonging to the user.Domains []*AuthorizedDomain `json:"domains,omitempty"`// NextPageToken: Continuation token for fetching the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Domains") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Domains") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListAuthorizedDomainsResponse: Response message forAuthorizedDomains.ListAuthorizedDomains.

func (ListAuthorizedDomainsResponse)MarshalJSON

func (sListAuthorizedDomainsResponse) MarshalJSON() ([]byte,error)

typeListDomainMappingsResponse

type ListDomainMappingsResponse struct {// DomainMappings: The domain mappings for the application.DomainMappings []*DomainMapping `json:"domainMappings,omitempty"`// NextPageToken: Continuation token for fetching the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DomainMappings") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DomainMappings") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListDomainMappingsResponse: Response message forDomainMappings.ListDomainMappings.

func (ListDomainMappingsResponse)MarshalJSON

func (sListDomainMappingsResponse) MarshalJSON() ([]byte,error)

typeListLocationsResponse

type ListLocationsResponse struct {// Locations: A list of locations that matches the specified filter in the// request.Locations []*Location `json:"locations,omitempty"`// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Locations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Locations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListLocationsResponse: The response message for Locations.ListLocations.

func (ListLocationsResponse)MarshalJSON

func (sListLocationsResponse) MarshalJSON() ([]byte,error)

typeListOperationsResponse

type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets ListOperationsRequest.return_partial_success and reads across// collections e.g. when attempting to list all resources across all supported// locations.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListOperationsResponse: The response message for Operations.ListOperations.

func (ListOperationsResponse)MarshalJSON

func (sListOperationsResponse) MarshalJSON() ([]byte,error)

typeLocation

type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `json:"displayName,omitempty"`// Labels: Cross-service attributes for the location. For example// {"cloud.googleapis.com/region": "us-east1"}Labels map[string]string `json:"labels,omitempty"`// LocationId: The canonical id for this location. For example: "us-east1".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example: "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Location: A resource that represents a Google Cloud location.

func (Location)MarshalJSON

func (sLocation) MarshalJSON() ([]byte,error)

typeLocationMetadata

type LocationMetadata struct {// FlexibleEnvironmentAvailable: App Engine flexible environment is available// in the given location.@OutputOnlyFlexibleEnvironmentAvailablebool `json:"flexibleEnvironmentAvailable,omitempty"`// SearchApiAvailable: Output only. Search API// (https://cloud.google.com/appengine/docs/standard/python/search) is// available in the given location.SearchApiAvailablebool `json:"searchApiAvailable,omitempty"`// StandardEnvironmentAvailable: App Engine standard environment is available// in the given location.@OutputOnlyStandardEnvironmentAvailablebool `json:"standardEnvironmentAvailable,omitempty"`// ForceSendFields is a list of field names (e.g.// "FlexibleEnvironmentAvailable") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields// for more details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FlexibleEnvironmentAvailable") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

LocationMetadata: Metadata for the given google.cloud.location.Location.

func (LocationMetadata)MarshalJSON

func (sLocationMetadata) MarshalJSON() ([]byte,error)

typeManagedCertificate

type ManagedCertificate struct {// LastRenewalTime: Time at which the certificate was last renewed. The renewal// process is fully managed. Certificate renewal will automatically occur// before the certificate expires. Renewal errors can be tracked via// ManagementStatus.@OutputOnlyLastRenewalTimestring `json:"lastRenewalTime,omitempty"`// Status: Status of certificate management. Refers to the most recent// certificate acquisition or renewal attempt.@OutputOnly//// Possible values://   "UNSPECIFIED_STATUS"//   "OK" - Certificate was successfully obtained and inserted into the serving// system.//   "PENDING" - Certificate is under active attempts to acquire or renew.//   "FAILED_RETRYING_INTERNAL" - Most recent renewal failed due to a system// failure and will be retried. System failure is likely transient, and// subsequent renewal attempts may succeed. The last successfully provisioned// certificate may still be serving.//   "FAILED_RETRYING_NOT_VISIBLE" - Most recent renewal failed due to an// invalid DNS setup and will be retried. Renewal attempts will continue to// fail until the certificate domain's DNS configuration is fixed. The last// successfully provisioned certificate may still be serving.//   "FAILED_PERMANENTLY_NOT_VISIBLE" - All renewal attempts have been// exhausted. Most recent renewal failed due to an invalid DNS setup and will// not be retried. The last successfully provisioned certificate may still be// serving.//   "FAILED_RETRYING_CAA_FORBIDDEN" - Most recent renewal failed due to an// explicit CAA record that does not include one of the in-use CAs (Google CA// and Let's Encrypt). Renewals will continue to fail until the CAA is// reconfigured. The last successfully provisioned certificate may still be// serving.//   "FAILED_RETRYING_CAA_CHECKING" - Most recent renewal failed due to a CAA// retrieval failure. This means that the domain's DNS provider does not// properly handle CAA records, failing requests for CAA records when no CAA// records are defined. Renewals will continue to fail until the DNS provider// is changed or a CAA record is added for the given domain. The last// successfully provisioned certificate may still be serving.Statusstring `json:"status,omitempty"`// ForceSendFields is a list of field names (e.g. "LastRenewalTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LastRenewalTime") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ManagedCertificate: A certificate managed by App Engine.

func (ManagedCertificate)MarshalJSON

func (sManagedCertificate) MarshalJSON() ([]byte,error)

typeOperation

type Operation struct {// Done: If the value is false, it means the operation is still in progress. If// true, the operation is completed, and either error or response is available.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or cancellation.Error *Status `json:"error,omitempty"`// Metadata: Service-specific metadata associated with the operation. It// typically contains progress information and common metadata such as create// time. Some services might not provide such metadata. Any method that returns// a long-running operation should document the metadata type, if any.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: The server-assigned name, which is only unique within the same service// that originally returns it. If you use the default HTTP mapping, the name// should be a resource name ending with operations/{unique_id}.Namestring `json:"name,omitempty"`// Response: The normal, successful response of the operation. If the original// method returns no data on success, such as Delete, the response is// google.protobuf.Empty. If the original method is standard Get/Create/Update,// the response should be the resource. For other methods, the response should// have the type XxxResponse, where Xxx is the original method name. For// example, if the original method name is TakeSnapshot(), the inferred// response type is TakeSnapshotResponse.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Operation: This resource represents a long-running operation that is theresult of a network API call.

func (Operation)MarshalJSON

func (sOperation) MarshalJSON() ([]byte,error)

typeOperationMetadataV1

type OperationMetadataV1 struct {CreateVersionMetadata *CreateVersionMetadataV1 `json:"createVersionMetadata,omitempty"`// EndTime: Time that this operation completed.@OutputOnlyEndTimestring `json:"endTime,omitempty"`// EphemeralMessage: Ephemeral message that may change every time the operation// is polled. @OutputOnlyEphemeralMessagestring `json:"ephemeralMessage,omitempty"`// InsertTime: Time that this operation was created.@OutputOnlyInsertTimestring `json:"insertTime,omitempty"`// Method: API method that initiated this operation. Example:// google.appengine.v1.Versions.CreateVersion.@OutputOnlyMethodstring `json:"method,omitempty"`// Target: Name of the resource that this operation is acting on. Example:// apps/myapp/services/default.@OutputOnlyTargetstring `json:"target,omitempty"`// User: User who requested this operation.@OutputOnlyUserstring `json:"user,omitempty"`// Warning: Durable messages that persist on every operation poll. @OutputOnlyWarning []string `json:"warning,omitempty"`// ForceSendFields is a list of field names (e.g. "CreateVersionMetadata") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateVersionMetadata") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

OperationMetadataV1: Metadata for the given google.longrunning.Operation.

func (OperationMetadataV1)MarshalJSON

func (sOperationMetadataV1) MarshalJSON() ([]byte,error)

typeOperationMetadataV1Alpha

type OperationMetadataV1Alpha struct {CreateVersionMetadata *CreateVersionMetadataV1Alpha `json:"createVersionMetadata,omitempty"`// EndTime: Time that this operation completed.@OutputOnlyEndTimestring `json:"endTime,omitempty"`// EphemeralMessage: Ephemeral message that may change every time the operation// is polled. @OutputOnlyEphemeralMessagestring `json:"ephemeralMessage,omitempty"`// InsertTime: Time that this operation was created.@OutputOnlyInsertTimestring `json:"insertTime,omitempty"`// Method: API method that initiated this operation. Example:// google.appengine.v1alpha.Versions.CreateVersion.@OutputOnlyMethodstring `json:"method,omitempty"`// Target: Name of the resource that this operation is acting on. Example:// apps/myapp/services/default.@OutputOnlyTargetstring `json:"target,omitempty"`// User: User who requested this operation.@OutputOnlyUserstring `json:"user,omitempty"`// Warning: Durable messages that persist on every operation poll. @OutputOnlyWarning []string `json:"warning,omitempty"`// ForceSendFields is a list of field names (e.g. "CreateVersionMetadata") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateVersionMetadata") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

OperationMetadataV1Alpha: Metadata for the givengoogle.longrunning.Operation.

func (OperationMetadataV1Alpha)MarshalJSON

func (sOperationMetadataV1Alpha) MarshalJSON() ([]byte,error)

typeOperationMetadataV1Beta

type OperationMetadataV1Beta struct {CreateVersionMetadata *CreateVersionMetadataV1Beta `json:"createVersionMetadata,omitempty"`// EndTime: Time that this operation completed.@OutputOnlyEndTimestring `json:"endTime,omitempty"`// EphemeralMessage: Ephemeral message that may change every time the operation// is polled. @OutputOnlyEphemeralMessagestring `json:"ephemeralMessage,omitempty"`// InsertTime: Time that this operation was created.@OutputOnlyInsertTimestring `json:"insertTime,omitempty"`// Method: API method that initiated this operation. Example:// google.appengine.v1beta.Versions.CreateVersion.@OutputOnlyMethodstring `json:"method,omitempty"`// Target: Name of the resource that this operation is acting on. Example:// apps/myapp/services/default.@OutputOnlyTargetstring `json:"target,omitempty"`// User: User who requested this operation.@OutputOnlyUserstring `json:"user,omitempty"`// Warning: Durable messages that persist on every operation poll. @OutputOnlyWarning []string `json:"warning,omitempty"`// ForceSendFields is a list of field names (e.g. "CreateVersionMetadata") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateVersionMetadata") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

OperationMetadataV1Beta: Metadata for the givengoogle.longrunning.Operation.

func (OperationMetadataV1Beta)MarshalJSON

func (sOperationMetadataV1Beta) MarshalJSON() ([]byte,error)

typeProjectEventadded inv0.105.0

type ProjectEvent struct {// EventId: The unique ID for this project event. CLHs can use this value to// dedup repeated calls. requiredEventIdstring `json:"eventId,omitempty"`// Phase: Phase indicates when in the container event propagation this event is// being communicated. Events are sent before and after the per-resource events// are propagated. required//// Possible values://   "CONTAINER_EVENT_PHASE_UNSPECIFIED"//   "BEFORE_RESOURCE_HANDLING"//   "AFTER_RESOURCE_HANDLING"Phasestring `json:"phase,omitempty"`// ProjectMetadata: The projects metadata for this project. requiredProjectMetadata *ProjectsMetadata `json:"projectMetadata,omitempty"`// State: The state of the organization that led to this event.State *ContainerState `json:"state,omitempty"`// ForceSendFields is a list of field names (e.g. "EventId") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EventId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ProjectEvent: The request sent to CLHs during project events.

func (ProjectEvent)MarshalJSONadded inv0.105.0

func (sProjectEvent) MarshalJSON() ([]byte,error)

typeProjectsLocationsApplicationsAuthorizedCertificatesCreateCalladded inv0.238.0

type ProjectsLocationsApplicationsAuthorizedCertificatesCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsAuthorizedCertificatesCreateCall)Contextadded inv0.238.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesCreateCall)Doadded inv0.238.0

Do executes the "appengine.projects.locations.applications.authorizedCertificates.create" call.Any non-2xx status code is an error. Response headers are in either*AuthorizedCertificate.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesCreateCall)Fieldsadded inv0.238.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesCreateCall)Headeradded inv0.238.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsApplicationsAuthorizedCertificatesDeleteCalladded inv0.238.0

type ProjectsLocationsApplicationsAuthorizedCertificatesDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsAuthorizedCertificatesDeleteCall)Contextadded inv0.238.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesDeleteCall)Doadded inv0.238.0

Do executes the "appengine.projects.locations.applications.authorizedCertificates.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesDeleteCall)Fieldsadded inv0.238.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesDeleteCall)Headeradded inv0.238.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsApplicationsAuthorizedCertificatesGetCalladded inv0.238.0

type ProjectsLocationsApplicationsAuthorizedCertificatesGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsAuthorizedCertificatesGetCall)Contextadded inv0.238.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesGetCall)Doadded inv0.238.0

Do executes the "appengine.projects.locations.applications.authorizedCertificates.get" call.Any non-2xx status code is an error. Response headers are in either*AuthorizedCertificate.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesGetCall)Fieldsadded inv0.238.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesGetCall)Headeradded inv0.238.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesGetCall)IfNoneMatchadded inv0.238.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesGetCall)Viewadded inv0.238.0

View sets the optional parameter "view": Controls the set of fields returnedin the GET response.

Possible values:

"BASIC_CERTIFICATE" - Basic certificate information, including applicable

domains and expiration date.

"FULL_CERTIFICATE" - The information from BASIC_CERTIFICATE, plus detailed

information on the domain mappings that have this certificate mapped.

typeProjectsLocationsApplicationsAuthorizedCertificatesListCalladded inv0.238.0

type ProjectsLocationsApplicationsAuthorizedCertificatesListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsAuthorizedCertificatesListCall)Contextadded inv0.238.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesListCall)Doadded inv0.238.0

Do executes the "appengine.projects.locations.applications.authorizedCertificates.list" call.Any non-2xx status code is an error. Response headers are in either*ListAuthorizedCertificatesResponse.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesListCall)Fieldsadded inv0.238.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesListCall)Headeradded inv0.238.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesListCall)IfNoneMatchadded inv0.238.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesListCall)PageSizeadded inv0.238.0

PageSize sets the optional parameter "pageSize": Maximum results to returnper page.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesListCall)PageTokenadded inv0.238.0

PageToken sets the optional parameter "pageToken": Continuation token forfetching the next page of results.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesListCall)Pagesadded inv0.238.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesListCall)Viewadded inv0.238.0

View sets the optional parameter "view": Controls the set of fields returnedin the LIST response.

Possible values:

"BASIC_CERTIFICATE" - Basic certificate information, including applicable

domains and expiration date.

"FULL_CERTIFICATE" - The information from BASIC_CERTIFICATE, plus detailed

information on the domain mappings that have this certificate mapped.

typeProjectsLocationsApplicationsAuthorizedCertificatesPatchCalladded inv0.238.0

type ProjectsLocationsApplicationsAuthorizedCertificatesPatchCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsAuthorizedCertificatesPatchCall)Contextadded inv0.238.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesPatchCall)Doadded inv0.238.0

Do executes the "appengine.projects.locations.applications.authorizedCertificates.patch" call.Any non-2xx status code is an error. Response headers are in either*AuthorizedCertificate.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesPatchCall)Fieldsadded inv0.238.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesPatchCall)Headeradded inv0.238.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesPatchCall)UpdateMaskadded inv0.238.0

UpdateMask sets the optional parameter "updateMask": Standard field mask forthe set of fields to be updated. Updates are only supported on thecertificate_raw_data and display_name fields.

typeProjectsLocationsApplicationsAuthorizedCertificatesServiceadded inv0.238.0

type ProjectsLocationsApplicationsAuthorizedCertificatesService struct {// contains filtered or unexported fields}

funcNewProjectsLocationsApplicationsAuthorizedCertificatesServiceadded inv0.238.0

func NewProjectsLocationsApplicationsAuthorizedCertificatesService(s *APIService) *ProjectsLocationsApplicationsAuthorizedCertificatesService

func (*ProjectsLocationsApplicationsAuthorizedCertificatesService)Createadded inv0.238.0

Create: Uploads the specified SSL certificate.

  • applicationsId: Part of `parent`. See documentation of `projectsId`.
  • locationsId: Part of `parent`. See documentation of `projectsId`.
  • projectsId: Part of `parent`. Name of the parent Application resource.Example: apps/myapp.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesService)Deleteadded inv0.238.0

Delete: Deletes the specified SSL certificate.

  • applicationsId: Part of `name`. See documentation of `projectsId`.
  • authorizedCertificatesId: Part of `name`. See documentation of`projectsId`.
  • locationsId: Part of `name`. See documentation of `projectsId`.
  • projectsId: Part of `name`. Name of the resource to delete. Example:apps/myapp/authorizedCertificates/12345.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesService)Getadded inv0.238.0

Get: Gets the specified SSL certificate.

  • applicationsId: Part of `name`. See documentation of `projectsId`.
  • authorizedCertificatesId: Part of `name`. See documentation of`projectsId`.
  • locationsId: Part of `name`. See documentation of `projectsId`.
  • projectsId: Part of `name`. Name of the resource requested. Example:apps/myapp/authorizedCertificates/12345.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesService)Listadded inv0.238.0

List: Lists all SSL certificates the user is authorized to administer.

  • applicationsId: Part of `parent`. See documentation of `projectsId`.
  • locationsId: Part of `parent`. See documentation of `projectsId`.
  • projectsId: Part of `parent`. Name of the parent Application resource.Example: apps/myapp.

func (*ProjectsLocationsApplicationsAuthorizedCertificatesService)Patchadded inv0.238.0

func (r *ProjectsLocationsApplicationsAuthorizedCertificatesService) Patch(projectsIdstring, locationsIdstring, applicationsIdstring, authorizedCertificatesIdstring, authorizedcertificate *AuthorizedCertificate) *ProjectsLocationsApplicationsAuthorizedCertificatesPatchCall

Patch: Updates the specified SSL certificate. To renew a certificate andmaintain its existing domain mappings, update certificate_data with a newcertificate. The new certificate must be applicable to the same domains asthe original certificate. The certificate display_name may also be updated.

  • applicationsId: Part of `name`. See documentation of `projectsId`.
  • authorizedCertificatesId: Part of `name`. See documentation of`projectsId`.
  • locationsId: Part of `name`. See documentation of `projectsId`.
  • projectsId: Part of `name`. Name of the resource to update. Example:apps/myapp/authorizedCertificates/12345.

typeProjectsLocationsApplicationsAuthorizedDomainsListCalladded inv0.168.0

type ProjectsLocationsApplicationsAuthorizedDomainsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsAuthorizedDomainsListCall)Contextadded inv0.168.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsAuthorizedDomainsListCall)Doadded inv0.168.0

Do executes the "appengine.projects.locations.applications.authorizedDomains.list" call.Any non-2xx status code is an error. Response headers are in either*ListAuthorizedDomainsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsApplicationsAuthorizedDomainsListCall)Fieldsadded inv0.168.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsAuthorizedDomainsListCall)Headeradded inv0.168.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsApplicationsAuthorizedDomainsListCall)IfNoneMatchadded inv0.168.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsApplicationsAuthorizedDomainsListCall)PageSizeadded inv0.168.0

PageSize sets the optional parameter "pageSize": Maximum results to returnper page.

func (*ProjectsLocationsApplicationsAuthorizedDomainsListCall)PageTokenadded inv0.168.0

PageToken sets the optional parameter "pageToken": Continuation token forfetching the next page of results.

func (*ProjectsLocationsApplicationsAuthorizedDomainsListCall)Pagesadded inv0.168.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsApplicationsAuthorizedDomainsServiceadded inv0.168.0

type ProjectsLocationsApplicationsAuthorizedDomainsService struct {// contains filtered or unexported fields}

funcNewProjectsLocationsApplicationsAuthorizedDomainsServiceadded inv0.168.0

func NewProjectsLocationsApplicationsAuthorizedDomainsService(s *APIService) *ProjectsLocationsApplicationsAuthorizedDomainsService

func (*ProjectsLocationsApplicationsAuthorizedDomainsService)Listadded inv0.168.0

List: Lists all domains the user is authorized to administer.

  • applicationsId: Part of `parent`. See documentation of `projectsId`.
  • locationsId: Part of `parent`. See documentation of `projectsId`.
  • projectsId: Part of `parent`. Name of the parent Application resource.Example: apps/myapp.

typeProjectsLocationsApplicationsDomainMappingsCreateCalladded inv0.239.0

type ProjectsLocationsApplicationsDomainMappingsCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsDomainMappingsCreateCall)Contextadded inv0.239.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsDomainMappingsCreateCall)Doadded inv0.239.0

Do executes the "appengine.projects.locations.applications.domainMappings.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsApplicationsDomainMappingsCreateCall)Fieldsadded inv0.239.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsDomainMappingsCreateCall)Headeradded inv0.239.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsApplicationsDomainMappingsCreateCall)NoManagedCertificateadded inv0.239.0

NoManagedCertificate sets the optional parameter "noManagedCertificate":Whether a managed certificate should be provided by App Engine. If true, acertificate ID must be manaually set in the DomainMapping resource toconfigure SSL for this domain. If false, a managed certificate will beprovisioned and a certificate ID will be automatically populated.

func (*ProjectsLocationsApplicationsDomainMappingsCreateCall)OverrideStrategyadded inv0.239.0

OverrideStrategy sets the optional parameter "overrideStrategy": Whether thedomain creation should override any existing mappings for this domain. Bydefault, overrides are rejected.

Possible values:

"UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY" - Strategy unspecified. Defaults to

STRICT.

"STRICT" - Overrides not allowed. If a mapping already exists for the

specified domain, the request will return an ALREADY_EXISTS (409).

"OVERRIDE" - Overrides allowed. If a mapping already exists for the

specified domain, the request will overwrite it. Note that this might stopanother Google product from serving. For example, if the domain is mapped toanother App Engine application, that app will no longer serve from thatdomain.

typeProjectsLocationsApplicationsDomainMappingsDeleteCalladded inv0.252.0

type ProjectsLocationsApplicationsDomainMappingsDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsDomainMappingsDeleteCall)Contextadded inv0.252.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsDomainMappingsDeleteCall)Doadded inv0.252.0

Do executes the "appengine.projects.locations.applications.domainMappings.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsApplicationsDomainMappingsDeleteCall)Fieldsadded inv0.252.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsDomainMappingsDeleteCall)Headeradded inv0.252.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsApplicationsDomainMappingsGetCalladded inv0.234.0

type ProjectsLocationsApplicationsDomainMappingsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsDomainMappingsGetCall)Contextadded inv0.234.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsDomainMappingsGetCall)Doadded inv0.234.0

Do executes the "appengine.projects.locations.applications.domainMappings.get" call.Any non-2xx status code is an error. Response headers are in either*DomainMapping.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsApplicationsDomainMappingsGetCall)Fieldsadded inv0.234.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsDomainMappingsGetCall)Headeradded inv0.234.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsApplicationsDomainMappingsGetCall)IfNoneMatchadded inv0.234.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsApplicationsDomainMappingsListCalladded inv0.256.0

type ProjectsLocationsApplicationsDomainMappingsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsDomainMappingsListCall)Contextadded inv0.256.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsDomainMappingsListCall)Doadded inv0.256.0

Do executes the "appengine.projects.locations.applications.domainMappings.list" call.Any non-2xx status code is an error. Response headers are in either*ListDomainMappingsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsApplicationsDomainMappingsListCall)Fieldsadded inv0.256.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsDomainMappingsListCall)Headeradded inv0.256.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsApplicationsDomainMappingsListCall)IfNoneMatchadded inv0.256.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsApplicationsDomainMappingsListCall)PageSizeadded inv0.256.0

PageSize sets the optional parameter "pageSize": Maximum results to returnper page.

func (*ProjectsLocationsApplicationsDomainMappingsListCall)PageTokenadded inv0.256.0

PageToken sets the optional parameter "pageToken": Continuation token forfetching the next page of results.

func (*ProjectsLocationsApplicationsDomainMappingsListCall)Pagesadded inv0.256.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsApplicationsDomainMappingsPatchCalladded inv0.252.0

type ProjectsLocationsApplicationsDomainMappingsPatchCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsDomainMappingsPatchCall)Contextadded inv0.252.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsDomainMappingsPatchCall)Doadded inv0.252.0

Do executes the "appengine.projects.locations.applications.domainMappings.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsApplicationsDomainMappingsPatchCall)Fieldsadded inv0.252.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsDomainMappingsPatchCall)Headeradded inv0.252.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsApplicationsDomainMappingsPatchCall)NoManagedCertificateadded inv0.252.0

NoManagedCertificate sets the optional parameter "noManagedCertificate":Whether a managed certificate should be provided by App Engine. If true, acertificate ID must be manually set in the DomainMapping resource toconfigure SSL for this domain. If false, a managed certificate will beprovisioned and a certificate ID will be automatically populated. Onlyapplicable if ssl_settings.certificate_id is specified in the update mask.

func (*ProjectsLocationsApplicationsDomainMappingsPatchCall)UpdateMaskadded inv0.252.0

UpdateMask sets the optional parameter "updateMask": Required. Standardfield mask for the set of fields to be updated.

typeProjectsLocationsApplicationsDomainMappingsServiceadded inv0.234.0

type ProjectsLocationsApplicationsDomainMappingsService struct {// contains filtered or unexported fields}

funcNewProjectsLocationsApplicationsDomainMappingsServiceadded inv0.234.0

func NewProjectsLocationsApplicationsDomainMappingsService(s *APIService) *ProjectsLocationsApplicationsDomainMappingsService

func (*ProjectsLocationsApplicationsDomainMappingsService)Createadded inv0.239.0

Create: Maps a domain to an application. A user must be authorized toadminister a domain in order to map it to an application. For a list ofavailable authorized domains, see AuthorizedDomains.ListAuthorizedDomains.

  • applicationsId: Part of `parent`. See documentation of `projectsId`.
  • locationsId: Part of `parent`. See documentation of `projectsId`.
  • projectsId: Part of `parent`. Name of the parent Application resource.Example: apps/myapp.

func (*ProjectsLocationsApplicationsDomainMappingsService)Deleteadded inv0.252.0

Delete: Deletes the specified domain mapping. A user must be authorized toadminister the associated domain in order to delete a DomainMappingresource.

  • applicationsId: Part of `name`. See documentation of `projectsId`.
  • domainMappingsId: Part of `name`. See documentation of `projectsId`.
  • locationsId: Part of `name`. See documentation of `projectsId`.
  • projectsId: Part of `name`. Name of the resource to delete. Example:apps/myapp/domainMappings/example.com.

func (*ProjectsLocationsApplicationsDomainMappingsService)Getadded inv0.234.0

Get: Gets the specified domain mapping.

  • applicationsId: Part of `name`. See documentation of `projectsId`.
  • domainMappingsId: Part of `name`. See documentation of `projectsId`.
  • locationsId: Part of `name`. See documentation of `projectsId`.
  • projectsId: Part of `name`. Name of the resource requested. Example:apps/myapp/domainMappings/example.com.

func (*ProjectsLocationsApplicationsDomainMappingsService)Listadded inv0.256.0

List: Lists the domain mappings on an application.

  • applicationsId: Part of `parent`. See documentation of `projectsId`.
  • locationsId: Part of `parent`. See documentation of `projectsId`.
  • projectsId: Part of `parent`. Name of the parent Application resource.Example: apps/myapp.

func (*ProjectsLocationsApplicationsDomainMappingsService)Patchadded inv0.252.0

func (r *ProjectsLocationsApplicationsDomainMappingsService) Patch(projectsIdstring, locationsIdstring, applicationsIdstring, domainMappingsIdstring, domainmapping *DomainMapping) *ProjectsLocationsApplicationsDomainMappingsPatchCall

Patch: Updates the specified domain mapping. To map an SSL certificate to adomain mapping, update certificate_id to point to an AuthorizedCertificateresource. A user must be authorized to administer the associated domain inorder to update a DomainMapping resource.

  • applicationsId: Part of `name`. See documentation of `projectsId`.
  • domainMappingsId: Part of `name`. See documentation of `projectsId`.
  • locationsId: Part of `name`. See documentation of `projectsId`.
  • projectsId: Part of `name`. Name of the resource to update. Example:apps/myapp/domainMappings/example.com.

typeProjectsLocationsApplicationsServiceadded inv0.168.0

type ProjectsLocationsApplicationsService struct {AuthorizedCertificates *ProjectsLocationsApplicationsAuthorizedCertificatesServiceAuthorizedDomains *ProjectsLocationsApplicationsAuthorizedDomainsServiceDomainMappings *ProjectsLocationsApplicationsDomainMappingsService// contains filtered or unexported fields}

funcNewProjectsLocationsApplicationsServiceadded inv0.168.0

func NewProjectsLocationsApplicationsService(s *APIService) *ProjectsLocationsApplicationsService

typeProjectsLocationsGetCalladded inv0.61.0

type ProjectsLocationsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsGetCall)Contextadded inv0.61.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGetCall)Doadded inv0.61.0

Do executes the "appengine.projects.locations.get" call.Any non-2xx status code is an error. Response headers are in either*Location.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGetCall)Fieldsadded inv0.61.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGetCall)Headeradded inv0.61.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsGetCall)IfNoneMatchadded inv0.61.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsListCalladded inv0.61.0

type ProjectsLocationsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsListCall)Contextadded inv0.61.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsListCall)Doadded inv0.61.0

Do executes the "appengine.projects.locations.list" call.Any non-2xx status code is an error. Response headers are in either*ListLocationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsListCall)ExtraLocationTypesadded inv0.230.0

func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall

ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.

func (*ProjectsLocationsListCall)Fieldsadded inv0.61.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsListCall)Filteradded inv0.61.0

Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).

func (*ProjectsLocationsListCall)Headeradded inv0.61.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsListCall)IfNoneMatchadded inv0.61.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsListCall)PageSizeadded inv0.61.0

PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.

func (*ProjectsLocationsListCall)PageTokenadded inv0.61.0

PageToken sets the optional parameter "pageToken": A page token receivedfrom the next_page_token field in the response. Send that page token toreceive the subsequent page.

func (*ProjectsLocationsListCall)Pagesadded inv0.61.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsOperationsGetCalladded inv0.61.0

type ProjectsLocationsOperationsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsGetCall)Contextadded inv0.61.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsGetCall)Doadded inv0.61.0

Do executes the "appengine.projects.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsGetCall)Fieldsadded inv0.61.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsGetCall)Headeradded inv0.61.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsOperationsGetCall)IfNoneMatchadded inv0.61.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsOperationsListCalladded inv0.61.0

type ProjectsLocationsOperationsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsListCall)Contextadded inv0.61.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsListCall)Doadded inv0.61.0

Do executes the "appengine.projects.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsOperationsListCall)Fieldsadded inv0.61.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsListCall)Filteradded inv0.61.0

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsOperationsListCall)Headeradded inv0.61.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsOperationsListCall)IfNoneMatchadded inv0.61.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsOperationsListCall)PageSizeadded inv0.61.0

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsOperationsListCall)PageTokenadded inv0.61.0

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsOperationsListCall)Pagesadded inv0.61.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccessadded inv0.252.0

func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall

ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to true, operations that are reachable are returned as normal, andthose that are unreachable are returned in theListOperationsResponse.unreachable field.This can only be true when readingacross collections e.g. when parent is set to"projects/example/locations/-".This field is not by default supported andwill result in an UNIMPLEMENTED error if set unless explicitly documentedotherwise in service or product specific documentation.

typeProjectsLocationsOperationsServiceadded inv0.61.0

type ProjectsLocationsOperationsService struct {// contains filtered or unexported fields}

funcNewProjectsLocationsOperationsServiceadded inv0.61.0

func NewProjectsLocationsOperationsService(s *APIService) *ProjectsLocationsOperationsService

func (*ProjectsLocationsOperationsService)Getadded inv0.61.0

Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.

- locationsId: Part of `name`. See documentation of `projectsId`.- operationsId: Part of `name`. See documentation of `projectsId`.- projectsId: Part of `name`. The name of the operation resource.

func (*ProjectsLocationsOperationsService)Listadded inv0.61.0

List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns UNIMPLEMENTED.

- locationsId: Part of `name`. See documentation of `projectsId`.- projectsId: Part of `name`. The name of the operation's parent resource.

typeProjectsLocationsServiceadded inv0.61.0

type ProjectsLocationsService struct {Applications *ProjectsLocationsApplicationsServiceOperations *ProjectsLocationsOperationsService// contains filtered or unexported fields}

funcNewProjectsLocationsServiceadded inv0.61.0

func NewProjectsLocationsService(s *APIService) *ProjectsLocationsService

func (*ProjectsLocationsService)Getadded inv0.61.0

func (r *ProjectsLocationsService) Get(projectsIdstring, locationsIdstring) *ProjectsLocationsGetCall

Get: Gets information about a location.

- locationsId: Part of `name`. See documentation of `projectsId`.- projectsId: Part of `name`. Resource name for the location.

func (*ProjectsLocationsService)Listadded inv0.61.0

List: Lists information about the supported locations for this service.

  • projectsId: Part of `name`. The resource that owns the locationscollection, if applicable.

typeProjectsMetadataadded inv0.105.0

type ProjectsMetadata struct {// ConsumerProjectId: The consumer project id.ConsumerProjectIdstring `json:"consumerProjectId,omitempty"`// ConsumerProjectNumber: The consumer project number.ConsumerProjectNumberint64 `json:"consumerProjectNumber,omitempty,string"`// ConsumerProjectState: The CCFE state of the consumer project. It is the same// state that is communicated to the CLH during project events. Notice that// this field is not set in the DB, it is only set in this proto when// communicated to CLH in the side channel.//// Possible values://   "UNKNOWN_STATE" - A container should never be in an unknown state. Receipt// of a container with this state is an error.//   "ON" - CCFE considers the container to be serving or transitioning into// serving.//   "OFF" - CCFE considers the container to be in an OFF state. This could// occur due to various factors. The state could be triggered by// Google-internal audits (ex. abuse suspension, billing closed) or cleanups// trigged by compliance systems (ex. data governance hide). User-initiated// events such as service management deactivation trigger a container to an OFF// state.CLHs might choose to do nothing in this case or to turn off costly// resources. CLHs need to consider the customer experience if an ON/OFF/ON// sequence of state transitions occurs vs. the cost of deleting resources,// keeping metadata about resources, or even keeping resources live for a// period of time.CCFE will not send any new customer requests to the CLH when// the container is in an OFF state. However, CCFE will allow all previous// customer requests relayed to CLH to complete.//   "DELETED" - This state indicates that the container has been (or is being)// completely removed. This is often due to a data governance purge request and// therefore resources should be deleted when this state is reached.ConsumerProjectStatestring `json:"consumerProjectState,omitempty"`// GceTag: The GCE tags associated with the consumer project and those// inherited due to their ancestry, if any. Not supported by CCFE.GceTag []*GceTag `json:"gceTag,omitempty"`// P4ServiceAccount: The service account authorized to operate on the consumer// project. Note: CCFE only propagates P4SA with default tag to CLH.P4ServiceAccountstring `json:"p4ServiceAccount,omitempty"`// ProducerProjectId: The producer project id.ProducerProjectIdstring `json:"producerProjectId,omitempty"`// ProducerProjectNumber: The producer project number.ProducerProjectNumberint64 `json:"producerProjectNumber,omitempty,string"`// TenantProjectId: The tenant project id.TenantProjectIdstring `json:"tenantProjectId,omitempty"`// TenantProjectNumber: The tenant project number.TenantProjectNumberint64 `json:"tenantProjectNumber,omitempty,string"`// ForceSendFields is a list of field names (e.g. "ConsumerProjectId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ConsumerProjectId") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ProjectsMetadata: ProjectsMetadata is the metadata CCFE stores about the allthe relevant projects (tenant, consumer, producer).

func (ProjectsMetadata)MarshalJSONadded inv0.105.0

func (sProjectsMetadata) MarshalJSON() ([]byte,error)

typeProjectsServiceadded inv0.61.0

type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}

funcNewProjectsServiceadded inv0.61.0

func NewProjectsService(s *APIService) *ProjectsService

typeReasonsadded inv0.105.0

type Reasons struct {// Possible values://   "ABUSE_UNKNOWN_REASON" - An unknown reason indicates that the abuse system// has not sent a signal for this container.//   "ABUSE_CONTROL_PLANE_SYNC" - Due to various reasons CCFE might proactively// restate a container state to a CLH to ensure that the CLH and CCFE are both// aware of the container state. This reason can be tied to any of the states.//   "SUSPEND" - If a container is deemed abusive we receive a suspend signal.// Suspend is a reason to put the container into an INTERNAL_OFF state.//   "REINSTATE" - Containers that were once considered abusive can later be// deemed non-abusive. When this happens we must reinstate the container.// Reinstate is a reason to put the container into an ON state.Abusestring `json:"abuse,omitempty"`// Possible values://   "BILLING_UNKNOWN_REASON" - An unknown reason indicates that the billing// system has not sent a signal for this container.//   "BILLING_CONTROL_PLANE_SYNC" - Due to various reasons CCFE might// proactively restate a container state to a CLH to ensure that the CLH and// CCFE are both aware of the container state. This reason can be tied to any// of the states.//   "PROBATION" - Minor infractions cause a probation signal to be sent.// Probation is a reason to put the container into a ON state even though it is// a negative signal. CCFE will block mutations for this container while it is// on billing probation, but the CLH is expected to serve non-mutation// requests.//   "CLOSE" - When a billing account is closed, it is a stronger signal about// non-payment. Close is a reason to put the container into an INTERNAL_OFF// state.//   "OPEN" - Consumers can re-open billing accounts and update accounts to// pull them out of probation. When this happens, we get a signal that the// account is open. Open is a reason to put the container into an ON state.Billingstring `json:"billing,omitempty"`// Possible values://   "DATA_GOVERNANCE_UNKNOWN_REASON" - An unknown reason indicates that data// governance has not sent a signal for this container.//   "DATA_GOVERNANCE_CONTROL_PLANE_SYNC" - Due to various reasons CCFE might// proactively restate a container state to a CLH to ensure that the CLH and// CCFE are both aware of the container state. This reason can be tied to any// of the states.//   "HIDE" - When a container is deleted we retain some data for a period of// time to allow the consumer to change their mind. Data governance sends a// signal to hide the data when this occurs. Hide is a reason to put the// container in an INTERNAL_OFF state.//   "UNHIDE" - The decision to un-delete a container can be made. When this// happens data governance tells us to unhide any hidden data. Unhide is a// reason to put the container in an ON state.//   "PURGE" - After a period of time data must be completely removed from our// systems. When data governance sends a purge signal we need to remove data.// Purge is a reason to put the container in a DELETED state. Purge is the only// event that triggers a delete mutation. All other events have update// semantics.DataGovernancestring `json:"dataGovernance,omitempty"`// ServiceActivation: Consumer Container denotes if the service is active// within a project or not. This information could be used to clean up// resources in case service in DISABLED_FULL i.e. Service is inactive > 30// days.//// Possible values://   "SERVICE_ACTIVATION_STATUS_UNSPECIFIED" - Default Unspecified status//   "SERVICE_ACTIVATION_ENABLED" - Service is active in the project.//   "SERVICE_ACTIVATION_DISABLED" - Service is disabled in the project// recently i.e., within last 24 hours.//   "SERVICE_ACTIVATION_DISABLED_FULL" - Service has been disabled for// configured grace_period (default 30 days).//   "SERVICE_ACTIVATION_UNKNOWN_REASON" - Happens when PSM cannot determine// the status of service in a project Could happen due to variety of reasons// like PERMISSION_DENIED or Project got deleted etc.ServiceActivationstring `json:"serviceActivation,omitempty"`// Possible values://   "SERVICE_MANAGEMENT_UNKNOWN_REASON" - An unknown reason indicates that we// have not received a signal from service management about this container.// Since containers are created by request of service management, this reason// should never be set.//   "SERVICE_MANAGEMENT_CONTROL_PLANE_SYNC" - Due to various reasons CCFE// might proactively restate a container state to a CLH to ensure that the CLH// and CCFE are both aware of the container state. This reason can be tied to// any of the states.//   "ACTIVATION" - When a customer activates an API CCFE notifies the CLH and// sets the container to the ON state.//   "PREPARE_DEACTIVATION" - When a customer deactivates and API service// management starts a two-step process to perform the deactivation. The first// step is to prepare. Prepare is a reason to put the container in a// EXTERNAL_OFF state.//   "ABORT_DEACTIVATION" - If the deactivation is cancelled, service managed// needs to abort the deactivation. Abort is a reason to put the container in// an ON state.//   "COMMIT_DEACTIVATION" - If the deactivation is followed through with,// service management needs to finish deactivation. Commit is a reason to put// the container in a DELETED state.ServiceManagementstring `json:"serviceManagement,omitempty"`// ForceSendFields is a list of field names (e.g. "Abuse") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Abuse") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Reasons: Containers transition between and within states based on reasonssent from various systems. CCFE will provide the CLH with reasons for thecurrent state per system.The current systems that CCFE supports are: ServiceManagement (Inception) Data Governance (Wipeout) Abuse (Ares) Billing(Internal Cloud Billing API) Service Activation (Service Controller)

func (Reasons)MarshalJSONadded inv0.105.0

func (sReasons) MarshalJSON() ([]byte,error)

typeResourceEventadded inv0.210.0

type ResourceEvent struct {// EventId: The unique ID for this per-resource event. CLHs can use this value// to dedup repeated calls. requiredEventIdstring `json:"eventId,omitempty"`// Name: The name of the resource for which this event is. requiredNamestring `json:"name,omitempty"`// State: The state of the project that led to this event.State *ContainerState `json:"state,omitempty"`// ForceSendFields is a list of field names (e.g. "EventId") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EventId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ResourceEvent: The request that is passed to CLH during per-resource events.The request will be sent with update semantics in all cases except for datagovernance purge events. These events will be sent with delete semantics andthe CLH is expected to delete the resource receiving this event.

func (ResourceEvent)MarshalJSONadded inv0.210.0

func (sResourceEvent) MarshalJSON() ([]byte,error)

typeResourceRecord

type ResourceRecord struct {// Name: Relative name of the object affected by this record. Only applicable// for CNAME records. Example: 'www'.Namestring `json:"name,omitempty"`// Rrdata: Data for this record. Values vary by record type, as defined in RFC// 1035 (section 5) andRFC 1034 (section 3.6.1).Rrdatastring `json:"rrdata,omitempty"`// Type: Resource record type. Example: AAAA.//// Possible values://   "A" - An A resource record. Data is an IPv4 address.//   "AAAA" - An AAAA resource record. Data is an IPv6 address.//   "CNAME" - A CNAME resource record. Data is a domain name to be aliased.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "Name") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Name") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ResourceRecord: A DNS resource record.

func (ResourceRecord)MarshalJSON

func (sResourceRecord) MarshalJSON() ([]byte,error)

typeSslSettings

type SslSettings struct {// CertificateId: ID of the AuthorizedCertificate resource configuring SSL for// the application. Clearing this field will remove SSL support.By default, a// managed certificate is automatically created for every domain mapping. To// omit SSL support or to configure SSL manually, specify// no_managed_certificate on a CREATE or UPDATE request. You must be authorized// to administer the AuthorizedCertificate resource to manually map it to a// DomainMapping resource. Example: 12345.CertificateIdstring `json:"certificateId,omitempty"`// IsManagedCertificate: Output only. Whether the mapped certificate is an App// Engine managed certificate. Managed certificates are created by default with// a domain mapping. To opt out, specify no_managed_certificate on a CREATE or// UPDATE request.@OutputOnlyIsManagedCertificatebool `json:"isManagedCertificate,omitempty"`// ForceSendFields is a list of field names (e.g. "CertificateId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CertificateId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SslSettings: SSL configuration for a DomainMapping resource.

func (SslSettings)MarshalJSON

func (sSslSettings) MarshalJSON() ([]byte,error)

typeStatus

type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in English. Any// user-facing error message should be localized and sent in the// google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Status: The Status type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each Status message contains threepieces of data: error code, error message, and error details.You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).

func (Status)MarshalJSON

func (sStatus) MarshalJSON() ([]byte,error)

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp