Documentation ¶
Overview ¶
Package appengine provides access to the App Engine Admin API.
For product documentation, see: https://cloud.google.com/appengine/docs/admin-api/
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 for authentication.
For information on how to create and obtain Application Default Credentials, see https://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, use option.WithScopes:
appengineService, err := appengine.NewService(ctx, option.WithScopes(appengine.CloudPlatformReadOnlyScope))
To use an API key for authentication (note: some APIs do not support API keys), use 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 OAuth flow), use option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) appengineService, err := appengine.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See https://godoc.org/google.golang.org/api/option/ for details on options.
Index ¶
- Constants
- type APIService
- type AppsAuthorizedCertificatesCreateCall
- func (c *AppsAuthorizedCertificatesCreateCall) Context(ctx context.Context) *AppsAuthorizedCertificatesCreateCall
- func (c *AppsAuthorizedCertificatesCreateCall) Do(opts ...googleapi.CallOption) (*AuthorizedCertificate, error)
- func (c *AppsAuthorizedCertificatesCreateCall) Fields(s ...googleapi.Field) *AppsAuthorizedCertificatesCreateCall
- func (c *AppsAuthorizedCertificatesCreateCall) Header() http.Header
- type AppsAuthorizedCertificatesDeleteCall
- func (c *AppsAuthorizedCertificatesDeleteCall) Context(ctx context.Context) *AppsAuthorizedCertificatesDeleteCall
- func (c *AppsAuthorizedCertificatesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *AppsAuthorizedCertificatesDeleteCall) Fields(s ...googleapi.Field) *AppsAuthorizedCertificatesDeleteCall
- func (c *AppsAuthorizedCertificatesDeleteCall) Header() http.Header
- type AppsAuthorizedCertificatesGetCall
- func (c *AppsAuthorizedCertificatesGetCall) Context(ctx context.Context) *AppsAuthorizedCertificatesGetCall
- func (c *AppsAuthorizedCertificatesGetCall) Do(opts ...googleapi.CallOption) (*AuthorizedCertificate, error)
- func (c *AppsAuthorizedCertificatesGetCall) Fields(s ...googleapi.Field) *AppsAuthorizedCertificatesGetCall
- func (c *AppsAuthorizedCertificatesGetCall) Header() http.Header
- func (c *AppsAuthorizedCertificatesGetCall) IfNoneMatch(entityTag string) *AppsAuthorizedCertificatesGetCall
- func (c *AppsAuthorizedCertificatesGetCall) View(view string) *AppsAuthorizedCertificatesGetCall
- type AppsAuthorizedCertificatesListCall
- func (c *AppsAuthorizedCertificatesListCall) Context(ctx context.Context) *AppsAuthorizedCertificatesListCall
- func (c *AppsAuthorizedCertificatesListCall) Do(opts ...googleapi.CallOption) (*ListAuthorizedCertificatesResponse, error)
- func (c *AppsAuthorizedCertificatesListCall) Fields(s ...googleapi.Field) *AppsAuthorizedCertificatesListCall
- func (c *AppsAuthorizedCertificatesListCall) Header() http.Header
- func (c *AppsAuthorizedCertificatesListCall) IfNoneMatch(entityTag string) *AppsAuthorizedCertificatesListCall
- func (c *AppsAuthorizedCertificatesListCall) PageSize(pageSize int64) *AppsAuthorizedCertificatesListCall
- func (c *AppsAuthorizedCertificatesListCall) PageToken(pageToken string) *AppsAuthorizedCertificatesListCall
- func (c *AppsAuthorizedCertificatesListCall) Pages(ctx context.Context, f func(*ListAuthorizedCertificatesResponse) error) error
- func (c *AppsAuthorizedCertificatesListCall) View(view string) *AppsAuthorizedCertificatesListCall
- type AppsAuthorizedCertificatesPatchCall
- func (c *AppsAuthorizedCertificatesPatchCall) Context(ctx context.Context) *AppsAuthorizedCertificatesPatchCall
- func (c *AppsAuthorizedCertificatesPatchCall) Do(opts ...googleapi.CallOption) (*AuthorizedCertificate, error)
- func (c *AppsAuthorizedCertificatesPatchCall) Fields(s ...googleapi.Field) *AppsAuthorizedCertificatesPatchCall
- func (c *AppsAuthorizedCertificatesPatchCall) Header() http.Header
- func (c *AppsAuthorizedCertificatesPatchCall) UpdateMask(updateMask string) *AppsAuthorizedCertificatesPatchCall
- type AppsAuthorizedCertificatesService
- func (r *AppsAuthorizedCertificatesService) Create(appsId string, authorizedcertificate *AuthorizedCertificate) *AppsAuthorizedCertificatesCreateCall
- func (r *AppsAuthorizedCertificatesService) Delete(appsId string, authorizedCertificatesId string) *AppsAuthorizedCertificatesDeleteCall
- func (r *AppsAuthorizedCertificatesService) Get(appsId string, authorizedCertificatesId string) *AppsAuthorizedCertificatesGetCall
- func (r *AppsAuthorizedCertificatesService) List(appsId string) *AppsAuthorizedCertificatesListCall
- func (r *AppsAuthorizedCertificatesService) Patch(appsId string, authorizedCertificatesId string, ...) *AppsAuthorizedCertificatesPatchCall
- type AppsAuthorizedDomainsListCall
- func (c *AppsAuthorizedDomainsListCall) Context(ctx context.Context) *AppsAuthorizedDomainsListCall
- func (c *AppsAuthorizedDomainsListCall) Do(opts ...googleapi.CallOption) (*ListAuthorizedDomainsResponse, error)
- func (c *AppsAuthorizedDomainsListCall) Fields(s ...googleapi.Field) *AppsAuthorizedDomainsListCall
- func (c *AppsAuthorizedDomainsListCall) Header() http.Header
- func (c *AppsAuthorizedDomainsListCall) IfNoneMatch(entityTag string) *AppsAuthorizedDomainsListCall
- func (c *AppsAuthorizedDomainsListCall) PageSize(pageSize int64) *AppsAuthorizedDomainsListCall
- func (c *AppsAuthorizedDomainsListCall) PageToken(pageToken string) *AppsAuthorizedDomainsListCall
- func (c *AppsAuthorizedDomainsListCall) Pages(ctx context.Context, f func(*ListAuthorizedDomainsResponse) error) error
- type AppsAuthorizedDomainsService
- type AppsDomainMappingsCreateCall
- func (c *AppsDomainMappingsCreateCall) Context(ctx context.Context) *AppsDomainMappingsCreateCall
- func (c *AppsDomainMappingsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *AppsDomainMappingsCreateCall) Fields(s ...googleapi.Field) *AppsDomainMappingsCreateCall
- func (c *AppsDomainMappingsCreateCall) Header() http.Header
- func (c *AppsDomainMappingsCreateCall) NoManagedCertificate(noManagedCertificate bool) *AppsDomainMappingsCreateCall
- func (c *AppsDomainMappingsCreateCall) OverrideStrategy(overrideStrategy string) *AppsDomainMappingsCreateCall
- type AppsDomainMappingsDeleteCall
- func (c *AppsDomainMappingsDeleteCall) Context(ctx context.Context) *AppsDomainMappingsDeleteCall
- func (c *AppsDomainMappingsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *AppsDomainMappingsDeleteCall) Fields(s ...googleapi.Field) *AppsDomainMappingsDeleteCall
- func (c *AppsDomainMappingsDeleteCall) Header() http.Header
- type AppsDomainMappingsGetCall
- func (c *AppsDomainMappingsGetCall) Context(ctx context.Context) *AppsDomainMappingsGetCall
- func (c *AppsDomainMappingsGetCall) Do(opts ...googleapi.CallOption) (*DomainMapping, error)
- func (c *AppsDomainMappingsGetCall) Fields(s ...googleapi.Field) *AppsDomainMappingsGetCall
- func (c *AppsDomainMappingsGetCall) Header() http.Header
- func (c *AppsDomainMappingsGetCall) IfNoneMatch(entityTag string) *AppsDomainMappingsGetCall
- type AppsDomainMappingsListCall
- func (c *AppsDomainMappingsListCall) Context(ctx context.Context) *AppsDomainMappingsListCall
- func (c *AppsDomainMappingsListCall) Do(opts ...googleapi.CallOption) (*ListDomainMappingsResponse, error)
- func (c *AppsDomainMappingsListCall) Fields(s ...googleapi.Field) *AppsDomainMappingsListCall
- func (c *AppsDomainMappingsListCall) Header() http.Header
- func (c *AppsDomainMappingsListCall) IfNoneMatch(entityTag string) *AppsDomainMappingsListCall
- func (c *AppsDomainMappingsListCall) PageSize(pageSize int64) *AppsDomainMappingsListCall
- func (c *AppsDomainMappingsListCall) PageToken(pageToken string) *AppsDomainMappingsListCall
- func (c *AppsDomainMappingsListCall) Pages(ctx context.Context, f func(*ListDomainMappingsResponse) error) error
- type AppsDomainMappingsPatchCall
- func (c *AppsDomainMappingsPatchCall) Context(ctx context.Context) *AppsDomainMappingsPatchCall
- func (c *AppsDomainMappingsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *AppsDomainMappingsPatchCall) Fields(s ...googleapi.Field) *AppsDomainMappingsPatchCall
- func (c *AppsDomainMappingsPatchCall) Header() http.Header
- func (c *AppsDomainMappingsPatchCall) NoManagedCertificate(noManagedCertificate bool) *AppsDomainMappingsPatchCall
- func (c *AppsDomainMappingsPatchCall) UpdateMask(updateMask string) *AppsDomainMappingsPatchCall
- type AppsDomainMappingsService
- func (r *AppsDomainMappingsService) Create(appsId string, domainmapping *DomainMapping) *AppsDomainMappingsCreateCall
- func (r *AppsDomainMappingsService) Delete(appsId string, domainMappingsId string) *AppsDomainMappingsDeleteCall
- func (r *AppsDomainMappingsService) Get(appsId string, domainMappingsId string) *AppsDomainMappingsGetCall
- func (r *AppsDomainMappingsService) List(appsId string) *AppsDomainMappingsListCall
- func (r *AppsDomainMappingsService) Patch(appsId string, domainMappingsId string, domainmapping *DomainMapping) *AppsDomainMappingsPatchCall
- type AppsLocationsGetCall
- func (c *AppsLocationsGetCall) Context(ctx context.Context) *AppsLocationsGetCall
- func (c *AppsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *AppsLocationsGetCall) Fields(s ...googleapi.Field) *AppsLocationsGetCall
- func (c *AppsLocationsGetCall) Header() http.Header
- func (c *AppsLocationsGetCall) IfNoneMatch(entityTag string) *AppsLocationsGetCall
- type AppsLocationsListCall
- func (c *AppsLocationsListCall) Context(ctx context.Context) *AppsLocationsListCall
- func (c *AppsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *AppsLocationsListCall) Fields(s ...googleapi.Field) *AppsLocationsListCall
- func (c *AppsLocationsListCall) Filter(filter string) *AppsLocationsListCall
- func (c *AppsLocationsListCall) Header() http.Header
- func (c *AppsLocationsListCall) IfNoneMatch(entityTag string) *AppsLocationsListCall
- func (c *AppsLocationsListCall) PageSize(pageSize int64) *AppsLocationsListCall
- func (c *AppsLocationsListCall) PageToken(pageToken string) *AppsLocationsListCall
- func (c *AppsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type AppsLocationsService
- type AppsOperationsGetCall
- func (c *AppsOperationsGetCall) Context(ctx context.Context) *AppsOperationsGetCall
- func (c *AppsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *AppsOperationsGetCall) Fields(s ...googleapi.Field) *AppsOperationsGetCall
- func (c *AppsOperationsGetCall) Header() http.Header
- func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall
- type AppsOperationsListCall
- func (c *AppsOperationsListCall) Context(ctx context.Context) *AppsOperationsListCall
- func (c *AppsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *AppsOperationsListCall) Fields(s ...googleapi.Field) *AppsOperationsListCall
- func (c *AppsOperationsListCall) Filter(filter string) *AppsOperationsListCall
- func (c *AppsOperationsListCall) Header() http.Header
- func (c *AppsOperationsListCall) IfNoneMatch(entityTag string) *AppsOperationsListCall
- func (c *AppsOperationsListCall) PageSize(pageSize int64) *AppsOperationsListCall
- func (c *AppsOperationsListCall) PageToken(pageToken string) *AppsOperationsListCall
- func (c *AppsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type AppsOperationsService
- type AppsService
- type AuthorizedCertificate
- type AuthorizedDomain
- type CertificateRawData
- type CreateVersionMetadataV1
- type CreateVersionMetadataV1Alpha
- type CreateVersionMetadataV1Beta
- type DomainMapping
- type Empty
- type ListAuthorizedCertificatesResponse
- type ListAuthorizedDomainsResponse
- type ListDomainMappingsResponse
- type ListLocationsResponse
- type ListOperationsResponse
- type Location
- type LocationMetadata
- type ManagedCertificate
- type Operation
- type OperationMetadataV1
- type OperationMetadataV1Alpha
- type OperationMetadataV1Beta
- type ResourceRecord
- type SslSettings
- type Status
Constants ¶
const ( // View and manage your applications deployed on Google App Engine AppengineAdminScope = "https://www.googleapis.com/auth/appengine.admin" // View and manage your data across Google Cloud Platform services CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" // View your data across Google Cloud Platform services CloudPlatformReadOnlyScope = "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 ¶
type APIService ¶
type APIService struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Apps *AppsService // contains filtered or unexported fields }
func New
deprecated
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.
func NewService ¶
func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, error)
NewService creates a new APIService.
type AppsAuthorizedCertificatesCreateCall ¶
type AppsAuthorizedCertificatesCreateCall struct {
// contains filtered or unexported fields
}
func (*AppsAuthorizedCertificatesCreateCall) Context ¶
func (c *AppsAuthorizedCertificatesCreateCall) Context(ctx context.Context) *AppsAuthorizedCertificatesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsAuthorizedCertificatesCreateCall) Do ¶
func (c *AppsAuthorizedCertificatesCreateCall) Do(opts ...googleapi.CallOption) (*AuthorizedCertificate, error)
Do executes the "appengine.apps.authorizedCertificates.create" call. Exactly one of *AuthorizedCertificate or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AuthorizedCertificate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsAuthorizedCertificatesCreateCall) Fields ¶
func (c *AppsAuthorizedCertificatesCreateCall) Fields(s ...googleapi.Field) *AppsAuthorizedCertificatesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsAuthorizedCertificatesCreateCall) Header ¶
func (c *AppsAuthorizedCertificatesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AppsAuthorizedCertificatesDeleteCall ¶
type AppsAuthorizedCertificatesDeleteCall struct {
// contains filtered or unexported fields
}
func (*AppsAuthorizedCertificatesDeleteCall) Context ¶
func (c *AppsAuthorizedCertificatesDeleteCall) Context(ctx context.Context) *AppsAuthorizedCertificatesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsAuthorizedCertificatesDeleteCall) Do ¶
func (c *AppsAuthorizedCertificatesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "appengine.apps.authorizedCertificates.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsAuthorizedCertificatesDeleteCall) Fields ¶
func (c *AppsAuthorizedCertificatesDeleteCall) Fields(s ...googleapi.Field) *AppsAuthorizedCertificatesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsAuthorizedCertificatesDeleteCall) Header ¶
func (c *AppsAuthorizedCertificatesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AppsAuthorizedCertificatesGetCall ¶
type AppsAuthorizedCertificatesGetCall struct {
// contains filtered or unexported fields
}
func (*AppsAuthorizedCertificatesGetCall) Context ¶
func (c *AppsAuthorizedCertificatesGetCall) Context(ctx context.Context) *AppsAuthorizedCertificatesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsAuthorizedCertificatesGetCall) Do ¶
func (c *AppsAuthorizedCertificatesGetCall) Do(opts ...googleapi.CallOption) (*AuthorizedCertificate, error)
Do executes the "appengine.apps.authorizedCertificates.get" call. Exactly one of *AuthorizedCertificate or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AuthorizedCertificate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsAuthorizedCertificatesGetCall) Fields ¶
func (c *AppsAuthorizedCertificatesGetCall) Fields(s ...googleapi.Field) *AppsAuthorizedCertificatesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsAuthorizedCertificatesGetCall) Header ¶
func (c *AppsAuthorizedCertificatesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsAuthorizedCertificatesGetCall) IfNoneMatch ¶
func (c *AppsAuthorizedCertificatesGetCall) IfNoneMatch(entityTag string) *AppsAuthorizedCertificatesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AppsAuthorizedCertificatesGetCall) View ¶
func (c *AppsAuthorizedCertificatesGetCall) View(view string) *AppsAuthorizedCertificatesGetCall
View sets the optional parameter "view": Controls the set of fields returned in 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.
type AppsAuthorizedCertificatesListCall ¶
type AppsAuthorizedCertificatesListCall struct {
// contains filtered or unexported fields
}
func (*AppsAuthorizedCertificatesListCall) Context ¶
func (c *AppsAuthorizedCertificatesListCall) Context(ctx context.Context) *AppsAuthorizedCertificatesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsAuthorizedCertificatesListCall) Do ¶
func (c *AppsAuthorizedCertificatesListCall) Do(opts ...googleapi.CallOption) (*ListAuthorizedCertificatesResponse, error)
Do executes the "appengine.apps.authorizedCertificates.list" call. Exactly one of *ListAuthorizedCertificatesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListAuthorizedCertificatesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsAuthorizedCertificatesListCall) Fields ¶
func (c *AppsAuthorizedCertificatesListCall) Fields(s ...googleapi.Field) *AppsAuthorizedCertificatesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsAuthorizedCertificatesListCall) Header ¶
func (c *AppsAuthorizedCertificatesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsAuthorizedCertificatesListCall) IfNoneMatch ¶
func (c *AppsAuthorizedCertificatesListCall) IfNoneMatch(entityTag string) *AppsAuthorizedCertificatesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AppsAuthorizedCertificatesListCall) PageSize ¶
func (c *AppsAuthorizedCertificatesListCall) PageSize(pageSize int64) *AppsAuthorizedCertificatesListCall
PageSize sets the optional parameter "pageSize": Maximum results to return per page.
func (*AppsAuthorizedCertificatesListCall) PageToken ¶
func (c *AppsAuthorizedCertificatesListCall) PageToken(pageToken string) *AppsAuthorizedCertificatesListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AppsAuthorizedCertificatesListCall) Pages ¶
func (c *AppsAuthorizedCertificatesListCall) Pages(ctx context.Context, f func(*ListAuthorizedCertificatesResponse) error) error
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 ¶
func (c *AppsAuthorizedCertificatesListCall) View(view string) *AppsAuthorizedCertificatesListCall
View sets the optional parameter "view": Controls the set of fields returned in 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.
type AppsAuthorizedCertificatesPatchCall ¶
type AppsAuthorizedCertificatesPatchCall struct {
// contains filtered or unexported fields
}
func (*AppsAuthorizedCertificatesPatchCall) Context ¶
func (c *AppsAuthorizedCertificatesPatchCall) Context(ctx context.Context) *AppsAuthorizedCertificatesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsAuthorizedCertificatesPatchCall) Do ¶
func (c *AppsAuthorizedCertificatesPatchCall) Do(opts ...googleapi.CallOption) (*AuthorizedCertificate, error)
Do executes the "appengine.apps.authorizedCertificates.patch" call. Exactly one of *AuthorizedCertificate or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AuthorizedCertificate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsAuthorizedCertificatesPatchCall) Fields ¶
func (c *AppsAuthorizedCertificatesPatchCall) Fields(s ...googleapi.Field) *AppsAuthorizedCertificatesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsAuthorizedCertificatesPatchCall) Header ¶
func (c *AppsAuthorizedCertificatesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsAuthorizedCertificatesPatchCall) UpdateMask ¶
func (c *AppsAuthorizedCertificatesPatchCall) UpdateMask(updateMask string) *AppsAuthorizedCertificatesPatchCall
UpdateMask sets the optional parameter "updateMask": Standard field mask for the set of fields to be updated. Updates are only supported on the certificate_raw_data and display_name fields.
type AppsAuthorizedCertificatesService ¶
type AppsAuthorizedCertificatesService struct {
// contains filtered or unexported fields
}
func NewAppsAuthorizedCertificatesService ¶
func NewAppsAuthorizedCertificatesService(s *APIService) *AppsAuthorizedCertificatesService
func (*AppsAuthorizedCertificatesService) Create ¶
func (r *AppsAuthorizedCertificatesService) Create(appsId string, authorizedcertificate *AuthorizedCertificate) *AppsAuthorizedCertificatesCreateCall
Create: Uploads the specified SSL certificate.
func (*AppsAuthorizedCertificatesService) Delete ¶
func (r *AppsAuthorizedCertificatesService) Delete(appsId string, authorizedCertificatesId string) *AppsAuthorizedCertificatesDeleteCall
Delete: Deletes the specified SSL certificate.
func (*AppsAuthorizedCertificatesService) Get ¶
func (r *AppsAuthorizedCertificatesService) Get(appsId string, authorizedCertificatesId string) *AppsAuthorizedCertificatesGetCall
Get: Gets the specified SSL certificate.
func (*AppsAuthorizedCertificatesService) List ¶
func (r *AppsAuthorizedCertificatesService) List(appsId string) *AppsAuthorizedCertificatesListCall
List: Lists all SSL certificates the user is authorized to administer.
func (*AppsAuthorizedCertificatesService) Patch ¶
func (r *AppsAuthorizedCertificatesService) Patch(appsId string, authorizedCertificatesId string, authorizedcertificate *AuthorizedCertificate) *AppsAuthorizedCertificatesPatchCall
Patch: Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, update certificate_data with a new certificate. The new certificate must be applicable to the same domains as the original certificate. The certificate display_name may also be updated.
type AppsAuthorizedDomainsListCall ¶
type AppsAuthorizedDomainsListCall struct {
// contains filtered or unexported fields
}
func (*AppsAuthorizedDomainsListCall) Context ¶
func (c *AppsAuthorizedDomainsListCall) Context(ctx context.Context) *AppsAuthorizedDomainsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsAuthorizedDomainsListCall) Do ¶
func (c *AppsAuthorizedDomainsListCall) Do(opts ...googleapi.CallOption) (*ListAuthorizedDomainsResponse, error)
Do executes the "appengine.apps.authorizedDomains.list" call. Exactly one of *ListAuthorizedDomainsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListAuthorizedDomainsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsAuthorizedDomainsListCall) Fields ¶
func (c *AppsAuthorizedDomainsListCall) Fields(s ...googleapi.Field) *AppsAuthorizedDomainsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsAuthorizedDomainsListCall) Header ¶
func (c *AppsAuthorizedDomainsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsAuthorizedDomainsListCall) IfNoneMatch ¶
func (c *AppsAuthorizedDomainsListCall) IfNoneMatch(entityTag string) *AppsAuthorizedDomainsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AppsAuthorizedDomainsListCall) PageSize ¶
func (c *AppsAuthorizedDomainsListCall) PageSize(pageSize int64) *AppsAuthorizedDomainsListCall
PageSize sets the optional parameter "pageSize": Maximum results to return per page.
func (*AppsAuthorizedDomainsListCall) PageToken ¶
func (c *AppsAuthorizedDomainsListCall) PageToken(pageToken string) *AppsAuthorizedDomainsListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AppsAuthorizedDomainsListCall) Pages ¶
func (c *AppsAuthorizedDomainsListCall) Pages(ctx context.Context, f func(*ListAuthorizedDomainsResponse) error) error
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.
type AppsAuthorizedDomainsService ¶
type AppsAuthorizedDomainsService struct {
// contains filtered or unexported fields
}
func NewAppsAuthorizedDomainsService ¶
func NewAppsAuthorizedDomainsService(s *APIService) *AppsAuthorizedDomainsService
func (*AppsAuthorizedDomainsService) List ¶
func (r *AppsAuthorizedDomainsService) List(appsId string) *AppsAuthorizedDomainsListCall
List: Lists all domains the user is authorized to administer.
type AppsDomainMappingsCreateCall ¶
type AppsDomainMappingsCreateCall struct {
// contains filtered or unexported fields
}
func (*AppsDomainMappingsCreateCall) Context ¶
func (c *AppsDomainMappingsCreateCall) Context(ctx context.Context) *AppsDomainMappingsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsDomainMappingsCreateCall) Do ¶
func (c *AppsDomainMappingsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "appengine.apps.domainMappings.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsDomainMappingsCreateCall) Fields ¶
func (c *AppsDomainMappingsCreateCall) Fields(s ...googleapi.Field) *AppsDomainMappingsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsDomainMappingsCreateCall) Header ¶
func (c *AppsDomainMappingsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsDomainMappingsCreateCall) NoManagedCertificate ¶
func (c *AppsDomainMappingsCreateCall) NoManagedCertificate(noManagedCertificate bool) *AppsDomainMappingsCreateCall
NoManagedCertificate sets the optional parameter "noManagedCertificate": Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manaually set in the DomainMapping resource to configure SSL for this domain. If false, a managed certificate will be provisioned and a certificate ID will be automatically populated.
func (*AppsDomainMappingsCreateCall) OverrideStrategy ¶
func (c *AppsDomainMappingsCreateCall) OverrideStrategy(overrideStrategy string) *AppsDomainMappingsCreateCall
OverrideStrategy sets the optional parameter "overrideStrategy": Whether the domain creation should override any existing mappings for this domain. By default, 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 stop another Google product from serving. For example, if the domain is mapped to another App Engine application, that app will no longer serve from that domain.
type AppsDomainMappingsDeleteCall ¶
type AppsDomainMappingsDeleteCall struct {
// contains filtered or unexported fields
}
func (*AppsDomainMappingsDeleteCall) Context ¶
func (c *AppsDomainMappingsDeleteCall) Context(ctx context.Context) *AppsDomainMappingsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsDomainMappingsDeleteCall) Do ¶
func (c *AppsDomainMappingsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "appengine.apps.domainMappings.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsDomainMappingsDeleteCall) Fields ¶
func (c *AppsDomainMappingsDeleteCall) Fields(s ...googleapi.Field) *AppsDomainMappingsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsDomainMappingsDeleteCall) Header ¶
func (c *AppsDomainMappingsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AppsDomainMappingsGetCall ¶
type AppsDomainMappingsGetCall struct {
// contains filtered or unexported fields
}
func (*AppsDomainMappingsGetCall) Context ¶
func (c *AppsDomainMappingsGetCall) Context(ctx context.Context) *AppsDomainMappingsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsDomainMappingsGetCall) Do ¶
func (c *AppsDomainMappingsGetCall) Do(opts ...googleapi.CallOption) (*DomainMapping, error)
Do executes the "appengine.apps.domainMappings.get" call. Exactly one of *DomainMapping or error will be non-nil. 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 check whether the returned error was because http.StatusNotModified was returned.
func (*AppsDomainMappingsGetCall) Fields ¶
func (c *AppsDomainMappingsGetCall) Fields(s ...googleapi.Field) *AppsDomainMappingsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsDomainMappingsGetCall) Header ¶
func (c *AppsDomainMappingsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsDomainMappingsGetCall) IfNoneMatch ¶
func (c *AppsDomainMappingsGetCall) IfNoneMatch(entityTag string) *AppsDomainMappingsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AppsDomainMappingsListCall ¶
type AppsDomainMappingsListCall struct {
// contains filtered or unexported fields
}
func (*AppsDomainMappingsListCall) Context ¶
func (c *AppsDomainMappingsListCall) Context(ctx context.Context) *AppsDomainMappingsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsDomainMappingsListCall) Do ¶
func (c *AppsDomainMappingsListCall) Do(opts ...googleapi.CallOption) (*ListDomainMappingsResponse, error)
Do executes the "appengine.apps.domainMappings.list" call. Exactly one of *ListDomainMappingsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListDomainMappingsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsDomainMappingsListCall) Fields ¶
func (c *AppsDomainMappingsListCall) Fields(s ...googleapi.Field) *AppsDomainMappingsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsDomainMappingsListCall) Header ¶
func (c *AppsDomainMappingsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsDomainMappingsListCall) IfNoneMatch ¶
func (c *AppsDomainMappingsListCall) IfNoneMatch(entityTag string) *AppsDomainMappingsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AppsDomainMappingsListCall) PageSize ¶
func (c *AppsDomainMappingsListCall) PageSize(pageSize int64) *AppsDomainMappingsListCall
PageSize sets the optional parameter "pageSize": Maximum results to return per page.
func (*AppsDomainMappingsListCall) PageToken ¶
func (c *AppsDomainMappingsListCall) PageToken(pageToken string) *AppsDomainMappingsListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*AppsDomainMappingsListCall) Pages ¶
func (c *AppsDomainMappingsListCall) Pages(ctx context.Context, f func(*ListDomainMappingsResponse) error) error
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.
type AppsDomainMappingsPatchCall ¶
type AppsDomainMappingsPatchCall struct {
// contains filtered or unexported fields
}
func (*AppsDomainMappingsPatchCall) Context ¶
func (c *AppsDomainMappingsPatchCall) Context(ctx context.Context) *AppsDomainMappingsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsDomainMappingsPatchCall) Do ¶
func (c *AppsDomainMappingsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "appengine.apps.domainMappings.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsDomainMappingsPatchCall) Fields ¶
func (c *AppsDomainMappingsPatchCall) Fields(s ...googleapi.Field) *AppsDomainMappingsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsDomainMappingsPatchCall) Header ¶
func (c *AppsDomainMappingsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsDomainMappingsPatchCall) NoManagedCertificate ¶
func (c *AppsDomainMappingsPatchCall) NoManagedCertificate(noManagedCertificate bool) *AppsDomainMappingsPatchCall
NoManagedCertificate sets the optional parameter "noManagedCertificate": Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be manually set in the DomainMapping resource to configure SSL for this domain. If false, a managed certificate will be provisioned and a certificate ID will be automatically populated. Only applicable if ssl_settings.certificate_id is specified in the update mask.
func (*AppsDomainMappingsPatchCall) UpdateMask ¶
func (c *AppsDomainMappingsPatchCall) UpdateMask(updateMask string) *AppsDomainMappingsPatchCall
UpdateMask sets the optional parameter "updateMask": Standard field mask for the set of fields to be updated.
type AppsDomainMappingsService ¶
type AppsDomainMappingsService struct {
// contains filtered or unexported fields
}
func NewAppsDomainMappingsService ¶
func NewAppsDomainMappingsService(s *APIService) *AppsDomainMappingsService
func (*AppsDomainMappingsService) Create ¶
func (r *AppsDomainMappingsService) Create(appsId string, domainmapping *DomainMapping) *AppsDomainMappingsCreateCall
Create: Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.
func (*AppsDomainMappingsService) Delete ¶
func (r *AppsDomainMappingsService) Delete(appsId string, domainMappingsId string) *AppsDomainMappingsDeleteCall
Delete: Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.
func (*AppsDomainMappingsService) Get ¶
func (r *AppsDomainMappingsService) Get(appsId string, domainMappingsId string) *AppsDomainMappingsGetCall
Get: Gets the specified domain mapping.
func (*AppsDomainMappingsService) List ¶
func (r *AppsDomainMappingsService) List(appsId string) *AppsDomainMappingsListCall
List: Lists the domain mappings on an application.
func (*AppsDomainMappingsService) Patch ¶
func (r *AppsDomainMappingsService) Patch(appsId string, domainMappingsId string, domainmapping *DomainMapping) *AppsDomainMappingsPatchCall
Patch: Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.
type AppsLocationsGetCall ¶
type AppsLocationsGetCall struct {
// contains filtered or unexported fields
}
func (*AppsLocationsGetCall) Context ¶
func (c *AppsLocationsGetCall) Context(ctx context.Context) *AppsLocationsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsLocationsGetCall) Do ¶
func (c *AppsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
Do executes the "appengine.apps.locations.get" call. Exactly one of *Location or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Location.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsLocationsGetCall) Fields ¶
func (c *AppsLocationsGetCall) Fields(s ...googleapi.Field) *AppsLocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsLocationsGetCall) Header ¶
func (c *AppsLocationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsLocationsGetCall) IfNoneMatch ¶
func (c *AppsLocationsGetCall) IfNoneMatch(entityTag string) *AppsLocationsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AppsLocationsListCall ¶
type AppsLocationsListCall struct {
// contains filtered or unexported fields
}
func (*AppsLocationsListCall) Context ¶
func (c *AppsLocationsListCall) Context(ctx context.Context) *AppsLocationsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsLocationsListCall) Do ¶
func (c *AppsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "appengine.apps.locations.list" call. Exactly one of *ListLocationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsLocationsListCall) Fields ¶
func (c *AppsLocationsListCall) Fields(s ...googleapi.Field) *AppsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsLocationsListCall) Filter ¶
func (c *AppsLocationsListCall) Filter(filter string) *AppsLocationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*AppsLocationsListCall) Header ¶
func (c *AppsLocationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsLocationsListCall) IfNoneMatch ¶
func (c *AppsLocationsListCall) IfNoneMatch(entityTag string) *AppsLocationsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AppsLocationsListCall) PageSize ¶
func (c *AppsLocationsListCall) PageSize(pageSize int64) *AppsLocationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*AppsLocationsListCall) PageToken ¶
func (c *AppsLocationsListCall) PageToken(pageToken string) *AppsLocationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*AppsLocationsListCall) Pages ¶
func (c *AppsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
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.
type AppsLocationsService ¶
type AppsLocationsService struct {
// contains filtered or unexported fields
}
func NewAppsLocationsService ¶
func NewAppsLocationsService(s *APIService) *AppsLocationsService
func (*AppsLocationsService) Get ¶
func (r *AppsLocationsService) Get(appsId string, locationsId string) *AppsLocationsGetCall
Get: Gets information about a location.
func (*AppsLocationsService) List ¶
func (r *AppsLocationsService) List(appsId string) *AppsLocationsListCall
List: Lists information about the supported locations for this service.
type AppsOperationsGetCall ¶
type AppsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*AppsOperationsGetCall) Context ¶
func (c *AppsOperationsGetCall) Context(ctx context.Context) *AppsOperationsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsOperationsGetCall) Do ¶
func (c *AppsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "appengine.apps.operations.get" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsOperationsGetCall) Fields ¶
func (c *AppsOperationsGetCall) Fields(s ...googleapi.Field) *AppsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsOperationsGetCall) Header ¶
func (c *AppsOperationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsOperationsGetCall) IfNoneMatch ¶
func (c *AppsOperationsGetCall) IfNoneMatch(entityTag string) *AppsOperationsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type AppsOperationsListCall ¶
type AppsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*AppsOperationsListCall) Context ¶
func (c *AppsOperationsListCall) Context(ctx context.Context) *AppsOperationsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AppsOperationsListCall) Do ¶
func (c *AppsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "appengine.apps.operations.list" call. Exactly one of *ListOperationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsOperationsListCall) Fields ¶
func (c *AppsOperationsListCall) Fields(s ...googleapi.Field) *AppsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsOperationsListCall) Filter ¶
func (c *AppsOperationsListCall) Filter(filter string) *AppsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*AppsOperationsListCall) Header ¶
func (c *AppsOperationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsOperationsListCall) IfNoneMatch ¶
func (c *AppsOperationsListCall) IfNoneMatch(entityTag string) *AppsOperationsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AppsOperationsListCall) PageSize ¶
func (c *AppsOperationsListCall) PageSize(pageSize int64) *AppsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*AppsOperationsListCall) PageToken ¶
func (c *AppsOperationsListCall) PageToken(pageToken string) *AppsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*AppsOperationsListCall) Pages ¶
func (c *AppsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
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.
type AppsOperationsService ¶
type AppsOperationsService struct {
// contains filtered or unexported fields
}
func NewAppsOperationsService ¶
func NewAppsOperationsService(s *APIService) *AppsOperationsService
func (*AppsOperationsService) Get ¶
func (r *AppsOperationsService) Get(appsId string, operationsId string) *AppsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
func (*AppsOperationsService) List ¶
func (r *AppsOperationsService) List(appsId string) *AppsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
type AppsService ¶
type AppsService struct { AuthorizedCertificates *AppsAuthorizedCertificatesService AuthorizedDomains *AppsAuthorizedDomainsService DomainMappings *AppsDomainMappingsService Locations *AppsLocationsService Operations *AppsOperationsService // contains filtered or unexported fields }
func NewAppsService ¶
func NewAppsService(s *APIService) *AppsService
type AuthorizedCertificate ¶
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. DisplayName string `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.@OutputOnly DomainMappingsCount int64 `json:"domainMappingsCount,omitempty"` // DomainNames: Topmost applicable domains of this certificate. This // certificate applies to these domains and their subdomains. Example: // example.com.@OutputOnly DomainNames []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.@OutputOnly ExpireTime string `json:"expireTime,omitempty"` // Id: Relative name of the certificate. This is a unique value // autogenerated on AuthorizedCertificate resource creation. Example: // 12345.@OutputOnly Id string `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.@OutputOnly ManagedCertificate *ManagedCertificate `json:"managedCertificate,omitempty"` // Name: Full path to the AuthorizedCertificate resource in the API. // Example: apps/myapp/authorizedCertificates/12345.@OutputOnly Name string `json:"name,omitempty"` // VisibleDomainMappings: 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.@OutputOnly VisibleDomainMappings []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 values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
AuthorizedCertificate: An SSL certificate that a user has been authorized to administer. A user is authorized to administer any certificate that applies to one of their authorized domains.
func (*AuthorizedCertificate) MarshalJSON ¶
func (s *AuthorizedCertificate) MarshalJSON() ([]byte, error)
type AuthorizedDomain ¶
type AuthorizedDomain struct { // Id: Fully qualified domain name of the domain authorized for use. // Example: example.com. Id string `json:"id,omitempty"` // Name: Full path to the AuthorizedDomain resource in the API. Example: // apps/myapp/authorizedDomains/example.com.@OutputOnly Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AuthorizedDomain: A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Webmaster Central (https://www.google.com/webmasters/verification/home).
func (*AuthorizedDomain) MarshalJSON ¶
func (s *AuthorizedDomain) MarshalJSON() ([]byte, error)
type CertificateRawData ¶
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----- @InputOnly PrivateKey string `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----- PublicCertificate string `json:"publicCertificate,omitempty"` // ForceSendFields is a list of field names (e.g. "PrivateKey") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CertificateRawData: An SSL certificate obtained from a certificate authority.
func (*CertificateRawData) MarshalJSON ¶
func (s *CertificateRawData) MarshalJSON() ([]byte, error)
type CreateVersionMetadataV1 ¶
type CreateVersionMetadataV1 struct { // CloudBuildId: The Cloud Build ID if one was created as part of the // version create. @OutputOnly CloudBuildId string `json:"cloudBuildId,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudBuildId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CreateVersionMetadataV1: Metadata for the given google.longrunning.Operation during a google.appengine.v1.CreateVersionRequest.
func (*CreateVersionMetadataV1) MarshalJSON ¶
func (s *CreateVersionMetadataV1) MarshalJSON() ([]byte, error)
type CreateVersionMetadataV1Alpha ¶
type CreateVersionMetadataV1Alpha struct { // CloudBuildId: The Cloud Build ID if one was created as part of the // version create. @OutputOnly CloudBuildId string `json:"cloudBuildId,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudBuildId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CreateVersionMetadataV1Alpha: Metadata for the given google.longrunning.Operation during a google.appengine.v1alpha.CreateVersionRequest.
func (*CreateVersionMetadataV1Alpha) MarshalJSON ¶
func (s *CreateVersionMetadataV1Alpha) MarshalJSON() ([]byte, error)
type CreateVersionMetadataV1Beta ¶
type CreateVersionMetadataV1Beta struct { // CloudBuildId: The Cloud Build ID if one was created as part of the // version create. @OutputOnly CloudBuildId string `json:"cloudBuildId,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudBuildId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CreateVersionMetadataV1Beta: Metadata for the given google.longrunning.Operation during a google.appengine.v1beta.CreateVersionRequest.
func (*CreateVersionMetadataV1Beta) MarshalJSON ¶
func (s *CreateVersionMetadataV1Beta) MarshalJSON() ([]byte, error)
type DomainMapping ¶
type DomainMapping struct { // Id: Relative name of the domain serving the application. Example: // example.com. Id string `json:"id,omitempty"` // Name: Full path to the DomainMapping resource in the API. Example: // apps/myapp/domainMapping/example.com.@OutputOnly Name string `json:"name,omitempty"` // ResourceRecords: 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.@OutputOnly ResourceRecords []*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 values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DomainMapping: A domain serving an App Engine application.
func (*DomainMapping) MarshalJSON ¶
func (s *DomainMapping) MarshalJSON() ([]byte, error)
type Empty ¶
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 defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}.
type ListAuthorizedCertificatesResponse ¶
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. NextPageToken string `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 values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListAuthorizedCertificatesResponse: Response message for AuthorizedCertificates.ListAuthorizedCertificates.
func (*ListAuthorizedCertificatesResponse) MarshalJSON ¶
func (s *ListAuthorizedCertificatesResponse) MarshalJSON() ([]byte, error)
type ListAuthorizedDomainsResponse ¶
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. NextPageToken string `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 values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListAuthorizedDomainsResponse: Response message for AuthorizedDomains.ListAuthorizedDomains.
func (*ListAuthorizedDomainsResponse) MarshalJSON ¶
func (s *ListAuthorizedDomainsResponse) MarshalJSON() ([]byte, error)
type ListDomainMappingsResponse ¶
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. NextPageToken string `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 values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ListDomainMappingsResponse: Response message for DomainMappings.ListDomainMappings.
func (*ListDomainMappingsResponse) MarshalJSON ¶
func (s *ListDomainMappingsResponse) MarshalJSON() ([]byte, error)
type ListLocationsResponse ¶
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. NextPageToken string `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 values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListLocationsResponse: The response message for Locations.ListLocations.
func (*ListLocationsResponse) MarshalJSON ¶
func (s *ListLocationsResponse) MarshalJSON() ([]byte, error)
type ListOperationsResponse ¶
type ListOperationsResponse struct { // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // Operations: A list of operations that matches the specified filter in // the request. Operations []*Operation `json:"operations,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 values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListOperationsResponse: The response message for Operations.ListOperations.
func (*ListOperationsResponse) MarshalJSON ¶
func (s *ListOperationsResponse) MarshalJSON() ([]byte, error)
type Location ¶
type Location struct { // DisplayName: The friendly name for this location, typically a nearby // city name. For example, "Tokyo". DisplayName string `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". LocationId string `json:"locationId,omitempty"` // Metadata: Service-specific metadata. For example the available // capacity at the given location. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Resource name for the location, which may vary between // implementations. For example: // "projects/example-project/locations/us-east1" Name string `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 values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Location: A resource that represents Google Cloud Platform location.
func (*Location) MarshalJSON ¶
type LocationMetadata ¶
type LocationMetadata struct { // FlexibleEnvironmentAvailable: App Engine flexible environment is // available in the given location.@OutputOnly FlexibleEnvironmentAvailable bool `json:"flexibleEnvironmentAvailable,omitempty"` // StandardEnvironmentAvailable: App Engine standard environment is // available in the given location.@OutputOnly StandardEnvironmentAvailable bool `json:"standardEnvironmentAvailable,omitempty"` // ForceSendFields is a list of field names (e.g. // "FlexibleEnvironmentAvailable") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. 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. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
LocationMetadata: Metadata for the given google.cloud.location.Location.
func (*LocationMetadata) MarshalJSON ¶
func (s *LocationMetadata) MarshalJSON() ([]byte, error)
type ManagedCertificate ¶
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.@OutputOnly LastRenewalTime string `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. Status string `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "LastRenewalTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ManagedCertificate: A certificate managed by App Engine.
func (*ManagedCertificate) MarshalJSON ¶
func (s *ManagedCertificate) MarshalJSON() ([]byte, error)
type Operation ¶
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. Done bool `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. Metadata googleapi.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}. Name string `json:"name,omitempty"` // Response: The normal response of the operation in case of success. 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. Response googleapi.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 values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Operation: This resource represents a long-running operation that is the result of a network API call.
func (*Operation) MarshalJSON ¶
type OperationMetadataV1 ¶
type OperationMetadataV1 struct { CreateVersionMetadata *CreateVersionMetadataV1 `json:"createVersionMetadata,omitempty"` // EndTime: Time that this operation completed.@OutputOnly EndTime string `json:"endTime,omitempty"` // EphemeralMessage: Ephemeral message that may change every time the // operation is polled. @OutputOnly EphemeralMessage string `json:"ephemeralMessage,omitempty"` // InsertTime: Time that this operation was created.@OutputOnly InsertTime string `json:"insertTime,omitempty"` // Method: API method that initiated this operation. Example: // google.appengine.v1.Versions.CreateVersion.@OutputOnly Method string `json:"method,omitempty"` // Target: Name of the resource that this operation is acting on. // Example: apps/myapp/services/default.@OutputOnly Target string `json:"target,omitempty"` // User: User who requested this operation.@OutputOnly User string `json:"user,omitempty"` // Warning: Durable messages that persist on every operation poll. // @OutputOnly Warning []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 values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. 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. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
OperationMetadataV1: Metadata for the given google.longrunning.Operation.
func (*OperationMetadataV1) MarshalJSON ¶
func (s *OperationMetadataV1) MarshalJSON() ([]byte, error)
type OperationMetadataV1Alpha ¶
type OperationMetadataV1Alpha struct { CreateVersionMetadata *CreateVersionMetadataV1Alpha `json:"createVersionMetadata,omitempty"` // EndTime: Time that this operation completed.@OutputOnly EndTime string `json:"endTime,omitempty"` // EphemeralMessage: Ephemeral message that may change every time the // operation is polled. @OutputOnly EphemeralMessage string `json:"ephemeralMessage,omitempty"` // InsertTime: Time that this operation was created.@OutputOnly InsertTime string `json:"insertTime,omitempty"` // Method: API method that initiated this operation. Example: // google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly Method string `json:"method,omitempty"` // Target: Name of the resource that this operation is acting on. // Example: apps/myapp/services/default.@OutputOnly Target string `json:"target,omitempty"` // User: User who requested this operation.@OutputOnly User string `json:"user,omitempty"` // Warning: Durable messages that persist on every operation poll. // @OutputOnly Warning []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 values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. 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. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
OperationMetadataV1Alpha: Metadata for the given google.longrunning.Operation.
func (*OperationMetadataV1Alpha) MarshalJSON ¶
func (s *OperationMetadataV1Alpha) MarshalJSON() ([]byte, error)
type OperationMetadataV1Beta ¶
type OperationMetadataV1Beta struct { CreateVersionMetadata *CreateVersionMetadataV1Beta `json:"createVersionMetadata,omitempty"` // EndTime: Time that this operation completed.@OutputOnly EndTime string `json:"endTime,omitempty"` // EphemeralMessage: Ephemeral message that may change every time the // operation is polled. @OutputOnly EphemeralMessage string `json:"ephemeralMessage,omitempty"` // InsertTime: Time that this operation was created.@OutputOnly InsertTime string `json:"insertTime,omitempty"` // Method: API method that initiated this operation. Example: // google.appengine.v1beta.Versions.CreateVersion.@OutputOnly Method string `json:"method,omitempty"` // Target: Name of the resource that this operation is acting on. // Example: apps/myapp/services/default.@OutputOnly Target string `json:"target,omitempty"` // User: User who requested this operation.@OutputOnly User string `json:"user,omitempty"` // Warning: Durable messages that persist on every operation poll. // @OutputOnly Warning []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 values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. 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. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
OperationMetadataV1Beta: Metadata for the given google.longrunning.Operation.
func (*OperationMetadataV1Beta) MarshalJSON ¶
func (s *OperationMetadataV1Beta) MarshalJSON() ([]byte, error)
type ResourceRecord ¶
type ResourceRecord struct { // Name: Relative name of the object affected by this record. Only // applicable for CNAME records. Example: 'www'. Name string `json:"name,omitempty"` // Rrdata: Data for this record. Values vary by record type, as defined // in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). Rrdata string `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. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ResourceRecord: A DNS resource record.
func (*ResourceRecord) MarshalJSON ¶
func (s *ResourceRecord) MarshalJSON() ([]byte, error)
type SslSettings ¶
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. CertificateId string `json:"certificateId,omitempty"` // IsManagedCertificate: 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.@OutputOnly IsManagedCertificate bool `json:"isManagedCertificate,omitempty"` // ForceSendFields is a list of field names (e.g. "CertificateId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
SslSettings: SSL configuration for a DomainMapping resource.
func (*SslSettings) MarshalJSON ¶
func (s *SslSettings) MarshalJSON() ([]byte, error)
type Status ¶
type Status struct { // Code: The status code, which should be an enum value of // google.rpc.Code. Code int64 `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. Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "Code") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. 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. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Status: The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).