blob: 0b1d897fcf1d3d10d7d145816d771eb16c142538 [file] [log] [blame]
// Copyright 2019 Google LLC.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated file. DO NOT EDIT.
// Package apigee provides access to the Apigee API.
//
// For product documentation, see: https://cloud.google.com/apigee-api-management/
//
// Creating a client
//
// Usage example:
//
// import "google.golang.org/api/apigee/v1"
// ...
// ctx := context.Background()
// apigeeService, err := apigee.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
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
// apigeeService, err := apigee.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, ...)
// apigeeService, err := apigee.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package apigee // import "google.golang.org/api/apigee/v1"
import (
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"net/url"
"strconv"
"strings"
googleapi "google.golang.org/api/googleapi"
gensupport "google.golang.org/api/internal/gensupport"
option "google.golang.org/api/option"
htransport "google.golang.org/api/transport/http"
)
// Always reference these packages, just in case the auto-generated code
// below doesn't.
var _ = bytes.NewBuffer
var _ = strconv.Itoa
var _ = fmt.Sprintf
var _ = json.NewDecoder
var _ = io.Copy
var _ = url.Parse
var _ = gensupport.MarshalJSON
var _ = googleapi.Version
var _ = errors.New
var _ = strings.Replace
var _ = context.Canceled
const apiId = "apigee:v1"
const apiName = "apigee"
const apiVersion = "v1"
const basePath = "https://apigee.googleapis.com/"
// OAuth2 scopes used by this API.
const (
// View and manage your data across Google Cloud Platform services
CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
)
// NewService creates a new Service.
func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {
scopesOption := option.WithScopes(
"https://www.googleapis.com/auth/cloud-platform",
)
// NOTE: prepend, so we don't override user-specified scopes.
opts = append([]option.ClientOption{scopesOption}, opts...)
client, endpoint, err := htransport.NewClient(ctx, opts...)
if err != nil {
return nil, err
}
s, err := New(client)
if err != nil {
return nil, err
}
if endpoint != "" {
s.BasePath = endpoint
}
return s, nil
}
// New creates a new Service. 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 New(client *http.Client) (*Service, error) {
if client == nil {
return nil, errors.New("client is nil")
}
s := &Service{client: client, BasePath: basePath}
s.Hybrid = NewHybridService(s)
s.Organizations = NewOrganizationsService(s)
return s, nil
}
type Service struct {
client *http.Client
BasePath string // API endpoint base URL
UserAgent string // optional additional User-Agent fragment
Hybrid *HybridService
Organizations *OrganizationsService
}
func (s *Service) userAgent() string {
if s.UserAgent == "" {
return googleapi.UserAgent
}
return googleapi.UserAgent + " " + s.UserAgent
}
func NewHybridService(s *Service) *HybridService {
rs := &HybridService{s: s}
rs.Issuers = NewHybridIssuersService(s)
return rs
}
type HybridService struct {
s *Service
Issuers *HybridIssuersService
}
func NewHybridIssuersService(s *Service) *HybridIssuersService {
rs := &HybridIssuersService{s: s}
return rs
}
type HybridIssuersService struct {
s *Service
}
func NewOrganizationsService(s *Service) *OrganizationsService {
rs := &OrganizationsService{s: s}
rs.Apiproducts = NewOrganizationsApiproductsService(s)
rs.Apis = NewOrganizationsApisService(s)
rs.Apps = NewOrganizationsAppsService(s)
rs.Companies = NewOrganizationsCompaniesService(s)
rs.Deployments = NewOrganizationsDeploymentsService(s)
rs.Developers = NewOrganizationsDevelopersService(s)
rs.Environments = NewOrganizationsEnvironmentsService(s)
rs.Keyvaluemaps = NewOrganizationsKeyvaluemapsService(s)
rs.Operations = NewOrganizationsOperationsService(s)
rs.Reports = NewOrganizationsReportsService(s)
rs.Sharedflows = NewOrganizationsSharedflowsService(s)
return rs
}
type OrganizationsService struct {
s *Service
Apiproducts *OrganizationsApiproductsService
Apis *OrganizationsApisService
Apps *OrganizationsAppsService
Companies *OrganizationsCompaniesService
Deployments *OrganizationsDeploymentsService
Developers *OrganizationsDevelopersService
Environments *OrganizationsEnvironmentsService
Keyvaluemaps *OrganizationsKeyvaluemapsService
Operations *OrganizationsOperationsService
Reports *OrganizationsReportsService
Sharedflows *OrganizationsSharedflowsService
}
func NewOrganizationsApiproductsService(s *Service) *OrganizationsApiproductsService {
rs := &OrganizationsApiproductsService{s: s}
rs.Attributes_ = NewOrganizationsApiproductsAttributesService(s)
return rs
}
type OrganizationsApiproductsService struct {
s *Service
Attributes_ *OrganizationsApiproductsAttributesService
}
func NewOrganizationsApiproductsAttributesService(s *Service) *OrganizationsApiproductsAttributesService {
rs := &OrganizationsApiproductsAttributesService{s: s}
return rs
}
type OrganizationsApiproductsAttributesService struct {
s *Service
}
func NewOrganizationsApisService(s *Service) *OrganizationsApisService {
rs := &OrganizationsApisService{s: s}
rs.Deployments = NewOrganizationsApisDeploymentsService(s)
rs.Keyvaluemaps = NewOrganizationsApisKeyvaluemapsService(s)
rs.Revisions = NewOrganizationsApisRevisionsService(s)
return rs
}
type OrganizationsApisService struct {
s *Service
Deployments *OrganizationsApisDeploymentsService
Keyvaluemaps *OrganizationsApisKeyvaluemapsService
Revisions *OrganizationsApisRevisionsService
}
func NewOrganizationsApisDeploymentsService(s *Service) *OrganizationsApisDeploymentsService {
rs := &OrganizationsApisDeploymentsService{s: s}
return rs
}
type OrganizationsApisDeploymentsService struct {
s *Service
}
func NewOrganizationsApisKeyvaluemapsService(s *Service) *OrganizationsApisKeyvaluemapsService {
rs := &OrganizationsApisKeyvaluemapsService{s: s}
return rs
}
type OrganizationsApisKeyvaluemapsService struct {
s *Service
}
func NewOrganizationsApisRevisionsService(s *Service) *OrganizationsApisRevisionsService {
rs := &OrganizationsApisRevisionsService{s: s}
rs.Deployments = NewOrganizationsApisRevisionsDeploymentsService(s)
return rs
}
type OrganizationsApisRevisionsService struct {
s *Service
Deployments *OrganizationsApisRevisionsDeploymentsService
}
func NewOrganizationsApisRevisionsDeploymentsService(s *Service) *OrganizationsApisRevisionsDeploymentsService {
rs := &OrganizationsApisRevisionsDeploymentsService{s: s}
return rs
}
type OrganizationsApisRevisionsDeploymentsService struct {
s *Service
}
func NewOrganizationsAppsService(s *Service) *OrganizationsAppsService {
rs := &OrganizationsAppsService{s: s}
return rs
}
type OrganizationsAppsService struct {
s *Service
}
func NewOrganizationsCompaniesService(s *Service) *OrganizationsCompaniesService {
rs := &OrganizationsCompaniesService{s: s}
rs.Apps = NewOrganizationsCompaniesAppsService(s)
return rs
}
type OrganizationsCompaniesService struct {
s *Service
Apps *OrganizationsCompaniesAppsService
}
func NewOrganizationsCompaniesAppsService(s *Service) *OrganizationsCompaniesAppsService {
rs := &OrganizationsCompaniesAppsService{s: s}
rs.Keys = NewOrganizationsCompaniesAppsKeysService(s)
return rs
}
type OrganizationsCompaniesAppsService struct {
s *Service
Keys *OrganizationsCompaniesAppsKeysService
}
func NewOrganizationsCompaniesAppsKeysService(s *Service) *OrganizationsCompaniesAppsKeysService {
rs := &OrganizationsCompaniesAppsKeysService{s: s}
return rs
}
type OrganizationsCompaniesAppsKeysService struct {
s *Service
}
func NewOrganizationsDeploymentsService(s *Service) *OrganizationsDeploymentsService {
rs := &OrganizationsDeploymentsService{s: s}
return rs
}
type OrganizationsDeploymentsService struct {
s *Service
}
func NewOrganizationsDevelopersService(s *Service) *OrganizationsDevelopersService {
rs := &OrganizationsDevelopersService{s: s}
rs.Apps = NewOrganizationsDevelopersAppsService(s)
rs.Attributes_ = NewOrganizationsDevelopersAttributesService(s)
return rs
}
type OrganizationsDevelopersService struct {
s *Service
Apps *OrganizationsDevelopersAppsService
Attributes_ *OrganizationsDevelopersAttributesService
}
func NewOrganizationsDevelopersAppsService(s *Service) *OrganizationsDevelopersAppsService {
rs := &OrganizationsDevelopersAppsService{s: s}
rs.Attributes_ = NewOrganizationsDevelopersAppsAttributesService(s)
rs.Keys = NewOrganizationsDevelopersAppsKeysService(s)
return rs
}
type OrganizationsDevelopersAppsService struct {
s *Service
Attributes_ *OrganizationsDevelopersAppsAttributesService
Keys *OrganizationsDevelopersAppsKeysService
}
func NewOrganizationsDevelopersAppsAttributesService(s *Service) *OrganizationsDevelopersAppsAttributesService {
rs := &OrganizationsDevelopersAppsAttributesService{s: s}
return rs
}
type OrganizationsDevelopersAppsAttributesService struct {
s *Service
}
func NewOrganizationsDevelopersAppsKeysService(s *Service) *OrganizationsDevelopersAppsKeysService {
rs := &OrganizationsDevelopersAppsKeysService{s: s}
rs.Apiproducts = NewOrganizationsDevelopersAppsKeysApiproductsService(s)
rs.Create_ = NewOrganizationsDevelopersAppsKeysCreateService(s)
return rs
}
type OrganizationsDevelopersAppsKeysService struct {
s *Service
Apiproducts *OrganizationsDevelopersAppsKeysApiproductsService
Create_ *OrganizationsDevelopersAppsKeysCreateService
}
func NewOrganizationsDevelopersAppsKeysApiproductsService(s *Service) *OrganizationsDevelopersAppsKeysApiproductsService {
rs := &OrganizationsDevelopersAppsKeysApiproductsService{s: s}
return rs
}
type OrganizationsDevelopersAppsKeysApiproductsService struct {
s *Service
}
func NewOrganizationsDevelopersAppsKeysCreateService(s *Service) *OrganizationsDevelopersAppsKeysCreateService {
rs := &OrganizationsDevelopersAppsKeysCreateService{s: s}
return rs
}
type OrganizationsDevelopersAppsKeysCreateService struct {
s *Service
}
func NewOrganizationsDevelopersAttributesService(s *Service) *OrganizationsDevelopersAttributesService {
rs := &OrganizationsDevelopersAttributesService{s: s}
return rs
}
type OrganizationsDevelopersAttributesService struct {
s *Service
}
func NewOrganizationsEnvironmentsService(s *Service) *OrganizationsEnvironmentsService {
rs := &OrganizationsEnvironmentsService{s: s}
rs.Analytics = NewOrganizationsEnvironmentsAnalyticsService(s)
rs.Apis = NewOrganizationsEnvironmentsApisService(s)
rs.Caches = NewOrganizationsEnvironmentsCachesService(s)
rs.Deployments = NewOrganizationsEnvironmentsDeploymentsService(s)
rs.Flowhooks = NewOrganizationsEnvironmentsFlowhooksService(s)
rs.Keystores = NewOrganizationsEnvironmentsKeystoresService(s)
rs.Keyvaluemaps = NewOrganizationsEnvironmentsKeyvaluemapsService(s)
rs.OptimizedStats = NewOrganizationsEnvironmentsOptimizedStatsService(s)
rs.Queries = NewOrganizationsEnvironmentsQueriesService(s)
rs.References = NewOrganizationsEnvironmentsReferencesService(s)
rs.Resourcefiles = NewOrganizationsEnvironmentsResourcefilesService(s)
rs.Sharedflows = NewOrganizationsEnvironmentsSharedflowsService(s)
rs.Stats = NewOrganizationsEnvironmentsStatsService(s)
rs.Targetservers = NewOrganizationsEnvironmentsTargetserversService(s)
return rs
}
type OrganizationsEnvironmentsService struct {
s *Service
Analytics *OrganizationsEnvironmentsAnalyticsService
Apis *OrganizationsEnvironmentsApisService
Caches *OrganizationsEnvironmentsCachesService
Deployments *OrganizationsEnvironmentsDeploymentsService
Flowhooks *OrganizationsEnvironmentsFlowhooksService
Keystores *OrganizationsEnvironmentsKeystoresService
Keyvaluemaps *OrganizationsEnvironmentsKeyvaluemapsService
OptimizedStats *OrganizationsEnvironmentsOptimizedStatsService
Queries *OrganizationsEnvironmentsQueriesService
References *OrganizationsEnvironmentsReferencesService
Resourcefiles *OrganizationsEnvironmentsResourcefilesService
Sharedflows *OrganizationsEnvironmentsSharedflowsService
Stats *OrganizationsEnvironmentsStatsService
Targetservers *OrganizationsEnvironmentsTargetserversService
}
func NewOrganizationsEnvironmentsAnalyticsService(s *Service) *OrganizationsEnvironmentsAnalyticsService {
rs := &OrganizationsEnvironmentsAnalyticsService{s: s}
rs.Admin = NewOrganizationsEnvironmentsAnalyticsAdminService(s)
return rs
}
type OrganizationsEnvironmentsAnalyticsService struct {
s *Service
Admin *OrganizationsEnvironmentsAnalyticsAdminService
}
func NewOrganizationsEnvironmentsAnalyticsAdminService(s *Service) *OrganizationsEnvironmentsAnalyticsAdminService {
rs := &OrganizationsEnvironmentsAnalyticsAdminService{s: s}
return rs
}
type OrganizationsEnvironmentsAnalyticsAdminService struct {
s *Service
}
func NewOrganizationsEnvironmentsApisService(s *Service) *OrganizationsEnvironmentsApisService {
rs := &OrganizationsEnvironmentsApisService{s: s}
rs.Deployments = NewOrganizationsEnvironmentsApisDeploymentsService(s)
rs.Revisions = NewOrganizationsEnvironmentsApisRevisionsService(s)
return rs
}
type OrganizationsEnvironmentsApisService struct {
s *Service
Deployments *OrganizationsEnvironmentsApisDeploymentsService
Revisions *OrganizationsEnvironmentsApisRevisionsService
}
func NewOrganizationsEnvironmentsApisDeploymentsService(s *Service) *OrganizationsEnvironmentsApisDeploymentsService {
rs := &OrganizationsEnvironmentsApisDeploymentsService{s: s}
return rs
}
type OrganizationsEnvironmentsApisDeploymentsService struct {
s *Service
}
func NewOrganizationsEnvironmentsApisRevisionsService(s *Service) *OrganizationsEnvironmentsApisRevisionsService {
rs := &OrganizationsEnvironmentsApisRevisionsService{s: s}
rs.Debugsessions = NewOrganizationsEnvironmentsApisRevisionsDebugsessionsService(s)
return rs
}
type OrganizationsEnvironmentsApisRevisionsService struct {
s *Service
Debugsessions *OrganizationsEnvironmentsApisRevisionsDebugsessionsService
}
func NewOrganizationsEnvironmentsApisRevisionsDebugsessionsService(s *Service) *OrganizationsEnvironmentsApisRevisionsDebugsessionsService {
rs := &OrganizationsEnvironmentsApisRevisionsDebugsessionsService{s: s}
rs.Data = NewOrganizationsEnvironmentsApisRevisionsDebugsessionsDataService(s)
return rs
}
type OrganizationsEnvironmentsApisRevisionsDebugsessionsService struct {
s *Service
Data *OrganizationsEnvironmentsApisRevisionsDebugsessionsDataService
}
func NewOrganizationsEnvironmentsApisRevisionsDebugsessionsDataService(s *Service) *OrganizationsEnvironmentsApisRevisionsDebugsessionsDataService {
rs := &OrganizationsEnvironmentsApisRevisionsDebugsessionsDataService{s: s}
return rs
}
type OrganizationsEnvironmentsApisRevisionsDebugsessionsDataService struct {
s *Service
}
func NewOrganizationsEnvironmentsCachesService(s *Service) *OrganizationsEnvironmentsCachesService {
rs := &OrganizationsEnvironmentsCachesService{s: s}
return rs
}
type OrganizationsEnvironmentsCachesService struct {
s *Service
}
func NewOrganizationsEnvironmentsDeploymentsService(s *Service) *OrganizationsEnvironmentsDeploymentsService {
rs := &OrganizationsEnvironmentsDeploymentsService{s: s}
return rs
}
type OrganizationsEnvironmentsDeploymentsService struct {
s *Service
}
func NewOrganizationsEnvironmentsFlowhooksService(s *Service) *OrganizationsEnvironmentsFlowhooksService {
rs := &OrganizationsEnvironmentsFlowhooksService{s: s}
return rs
}
type OrganizationsEnvironmentsFlowhooksService struct {
s *Service
}
func NewOrganizationsEnvironmentsKeystoresService(s *Service) *OrganizationsEnvironmentsKeystoresService {
rs := &OrganizationsEnvironmentsKeystoresService{s: s}
rs.Aliases = NewOrganizationsEnvironmentsKeystoresAliasesService(s)
return rs
}
type OrganizationsEnvironmentsKeystoresService struct {
s *Service
Aliases *OrganizationsEnvironmentsKeystoresAliasesService
}
func NewOrganizationsEnvironmentsKeystoresAliasesService(s *Service) *OrganizationsEnvironmentsKeystoresAliasesService {
rs := &OrganizationsEnvironmentsKeystoresAliasesService{s: s}
return rs
}
type OrganizationsEnvironmentsKeystoresAliasesService struct {
s *Service
}
func NewOrganizationsEnvironmentsKeyvaluemapsService(s *Service) *OrganizationsEnvironmentsKeyvaluemapsService {
rs := &OrganizationsEnvironmentsKeyvaluemapsService{s: s}
return rs
}
type OrganizationsEnvironmentsKeyvaluemapsService struct {
s *Service
}
func NewOrganizationsEnvironmentsOptimizedStatsService(s *Service) *OrganizationsEnvironmentsOptimizedStatsService {
rs := &OrganizationsEnvironmentsOptimizedStatsService{s: s}
return rs
}
type OrganizationsEnvironmentsOptimizedStatsService struct {
s *Service
}
func NewOrganizationsEnvironmentsQueriesService(s *Service) *OrganizationsEnvironmentsQueriesService {
rs := &OrganizationsEnvironmentsQueriesService{s: s}
return rs
}
type OrganizationsEnvironmentsQueriesService struct {
s *Service
}
func NewOrganizationsEnvironmentsReferencesService(s *Service) *OrganizationsEnvironmentsReferencesService {
rs := &OrganizationsEnvironmentsReferencesService{s: s}
return rs
}
type OrganizationsEnvironmentsReferencesService struct {
s *Service
}
func NewOrganizationsEnvironmentsResourcefilesService(s *Service) *OrganizationsEnvironmentsResourcefilesService {
rs := &OrganizationsEnvironmentsResourcefilesService{s: s}
return rs
}
type OrganizationsEnvironmentsResourcefilesService struct {
s *Service
}
func NewOrganizationsEnvironmentsSharedflowsService(s *Service) *OrganizationsEnvironmentsSharedflowsService {
rs := &OrganizationsEnvironmentsSharedflowsService{s: s}
rs.Deployments = NewOrganizationsEnvironmentsSharedflowsDeploymentsService(s)
rs.Revisions = NewOrganizationsEnvironmentsSharedflowsRevisionsService(s)
return rs
}
type OrganizationsEnvironmentsSharedflowsService struct {
s *Service
Deployments *OrganizationsEnvironmentsSharedflowsDeploymentsService
Revisions *OrganizationsEnvironmentsSharedflowsRevisionsService
}
func NewOrganizationsEnvironmentsSharedflowsDeploymentsService(s *Service) *OrganizationsEnvironmentsSharedflowsDeploymentsService {
rs := &OrganizationsEnvironmentsSharedflowsDeploymentsService{s: s}
return rs
}
type OrganizationsEnvironmentsSharedflowsDeploymentsService struct {
s *Service
}
func NewOrganizationsEnvironmentsSharedflowsRevisionsService(s *Service) *OrganizationsEnvironmentsSharedflowsRevisionsService {
rs := &OrganizationsEnvironmentsSharedflowsRevisionsService{s: s}
return rs
}
type OrganizationsEnvironmentsSharedflowsRevisionsService struct {
s *Service
}
func NewOrganizationsEnvironmentsStatsService(s *Service) *OrganizationsEnvironmentsStatsService {
rs := &OrganizationsEnvironmentsStatsService{s: s}
return rs
}
type OrganizationsEnvironmentsStatsService struct {
s *Service
}
func NewOrganizationsEnvironmentsTargetserversService(s *Service) *OrganizationsEnvironmentsTargetserversService {
rs := &OrganizationsEnvironmentsTargetserversService{s: s}
return rs
}
type OrganizationsEnvironmentsTargetserversService struct {
s *Service
}
func NewOrganizationsKeyvaluemapsService(s *Service) *OrganizationsKeyvaluemapsService {
rs := &OrganizationsKeyvaluemapsService{s: s}
return rs
}
type OrganizationsKeyvaluemapsService struct {
s *Service
}
func NewOrganizationsOperationsService(s *Service) *OrganizationsOperationsService {
rs := &OrganizationsOperationsService{s: s}
return rs
}
type OrganizationsOperationsService struct {
s *Service
}
func NewOrganizationsReportsService(s *Service) *OrganizationsReportsService {
rs := &OrganizationsReportsService{s: s}
return rs
}
type OrganizationsReportsService struct {
s *Service
}
func NewOrganizationsSharedflowsService(s *Service) *OrganizationsSharedflowsService {
rs := &OrganizationsSharedflowsService{s: s}
rs.Deployments = NewOrganizationsSharedflowsDeploymentsService(s)
rs.Revisions = NewOrganizationsSharedflowsRevisionsService(s)
return rs
}
type OrganizationsSharedflowsService struct {
s *Service
Deployments *OrganizationsSharedflowsDeploymentsService
Revisions *OrganizationsSharedflowsRevisionsService
}
func NewOrganizationsSharedflowsDeploymentsService(s *Service) *OrganizationsSharedflowsDeploymentsService {
rs := &OrganizationsSharedflowsDeploymentsService{s: s}
return rs
}
type OrganizationsSharedflowsDeploymentsService struct {
s *Service
}
func NewOrganizationsSharedflowsRevisionsService(s *Service) *OrganizationsSharedflowsRevisionsService {
rs := &OrganizationsSharedflowsRevisionsService{s: s}
rs.Deployments = NewOrganizationsSharedflowsRevisionsDeploymentsService(s)
return rs
}
type OrganizationsSharedflowsRevisionsService struct {
s *Service
Deployments *OrganizationsSharedflowsRevisionsDeploymentsService
}
func NewOrganizationsSharedflowsRevisionsDeploymentsService(s *Service) *OrganizationsSharedflowsRevisionsDeploymentsService {
rs := &OrganizationsSharedflowsRevisionsDeploymentsService{s: s}
return rs
}
type OrganizationsSharedflowsRevisionsDeploymentsService struct {
s *Service
}
// GoogleApiHttpBody: Message that represents an arbitrary HTTP body. It
// should only be used for
// payload formats that can't be represented as JSON, such as raw binary
// or
// an HTML page.
//
//
// This message can be used both in streaming and non-streaming API
// methods in
// the request as well as the response.
//
// It can be used as a top-level request field, which is convenient if
// one
// wants to extract parameters from either the URL or HTTP template into
// the
// request fields and also want access to the raw HTTP body.
//
// Example:
//
// message GetResourceRequest {
// // A unique request id.
// string request_id = 1;
//
// // The raw HTTP body is bound to this field.
// google.api.HttpBody http_body = 2;
// }
//
// service ResourceService {
// rpc GetResource(GetResourceRequest) returns
// (google.api.HttpBody);
// rpc UpdateResource(google.api.HttpBody) returns
// (google.protobuf.Empty);
// }
//
// Example with streaming methods:
//
// service CaldavService {
// rpc GetCalendar(stream google.api.HttpBody)
// returns (stream google.api.HttpBody);
// rpc UpdateCalendar(stream google.api.HttpBody)
// returns (stream google.api.HttpBody);
// }
//
// Use of this type only changes how the request and response bodies
// are
// handled, all other features will continue to work unchanged.
type GoogleApiHttpBody struct {
// ContentType: The HTTP Content-Type header value specifying the
// content type of the body.
ContentType string `json:"contentType,omitempty"`
// Data: The HTTP request/response body as raw binary.
Data string `json:"data,omitempty"`
// Extensions: Application specific response metadata. Must be set in
// the first response
// for streaming APIs.
Extensions []googleapi.RawMessage `json:"extensions,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ContentType") 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. "ContentType") 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:"-"`
}
func (s *GoogleApiHttpBody) MarshalJSON() ([]byte, error) {
type NoMethod GoogleApiHttpBody
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1Access struct {
Get *GoogleCloudApigeeV1AccessGet `json:"Get,omitempty"`
Remove *GoogleCloudApigeeV1AccessRemove `json:"Remove,omitempty"`
Set *GoogleCloudApigeeV1AccessSet `json:"Set,omitempty"`
// ForceSendFields is a list of field names (e.g. "Get") 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. "Get") 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:"-"`
}
func (s *GoogleCloudApigeeV1Access) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1Access
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1AccessGet: Get action. For example,
// "Get" : {
// "name" : "target.name",
// "value" : "default"
// }
type GoogleCloudApigeeV1AccessGet struct {
Name string `json:"name,omitempty"`
Value string `json:"value,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:"-"`
}
func (s *GoogleCloudApigeeV1AccessGet) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1AccessGet
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1AccessRemove: Remove action. For example,
// "Remove" : {
// "name" : "target.name",
// "success" : true
// }
type GoogleCloudApigeeV1AccessRemove struct {
Name string `json:"name,omitempty"`
Success bool `json:"success,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:"-"`
}
func (s *GoogleCloudApigeeV1AccessRemove) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1AccessRemove
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1AccessSet: Set action. For example,
// "Set" : {
// "name" : "target.name",
// "success" : true,
// "value" : "default"
// }
type GoogleCloudApigeeV1AccessSet struct {
Name string `json:"name,omitempty"`
Success bool `json:"success,omitempty"`
Value string `json:"value,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:"-"`
}
func (s *GoogleCloudApigeeV1AccessSet) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1AccessSet
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1Alias: A reference to a certificate or key,
// certificate pair.
type GoogleCloudApigeeV1Alias struct {
// Alias: The resource ID for this alias. Values must match regular
// expression
// `[^/]{1,255}`.
Alias string `json:"alias,omitempty"`
// CertsInfo: The chain of certificates under this alias.
CertsInfo *GoogleCloudApigeeV1Certificate `json:"certsInfo,omitempty"`
// Type: The type of alias.
//
// Possible values:
// "ALIAS_TYPE_UNSPECIFIED"
// "CERT"
// "KEY_CERT"
Type string `json:"type,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Alias") 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. "Alias") 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:"-"`
}
func (s *GoogleCloudApigeeV1Alias) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1Alias
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1AliasRevisionConfig struct {
// Location: The location of the alias file, e.g. a GCS URI.
Location string `json:"location,omitempty"`
// Name: The name of the alias revision included in the keystore. Must
// be of
// the
// form:
// 'organizations/{org}/environments/{env}/keystores/{keystore}
// /aliases/{alias}/revisions/{rev}'.
Name string `json:"name,omitempty"`
// Possible values:
// "ALIAS_TYPE_UNSPECIFIED"
// "CERT"
// "KEY_CERT"
Type string `json:"type,omitempty"`
// ForceSendFields is a list of field names (e.g. "Location") 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. "Location") 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:"-"`
}
func (s *GoogleCloudApigeeV1AliasRevisionConfig) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1AliasRevisionConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1ApiProduct struct {
// ApiResources: Comma-separated list of API resources to be bundled in
// the API Product.
//
// By default, the resource paths are mapped from the
// `proxy.pathsuffix`
// variable.
//
// The proxy path suffix is defined as the URI fragment following
// the
// ProxyEndpoint base path.
// For example, if the `apiResources` element is defined to
// be
// `/forecastrss` and the base path defined for the API proxy
// is
// `/weather`, then only requests to `/weather/forecastrss` are
// permitted by
// the API product.
//
// You can select a specific path, or you can select all subpaths with
// the
// following wildcard:
//
// - /**: Indicates that all sub-URIs are included.
// - /* : Indicates that only URIs one level down are included.
//
// By default, / supports the same resources as /** as well as the base
// path
// defined by the API proxy.
//
// For example, if the base path of the API proxy is
// `/v1/weatherapikey`,
// then the API product supports requests to `/v1/weatherapikey` and to
// any
// sub-URIs, such as
// `/v1/weatherapikey/forecastrss`,
// `/v1/weatherapikey/region/CA`, and so on.
// For more information, see:
//
// - <a href="/api-platform/publish/create-api-products">Manage
// API
// products</a>
// -
// <a
// href="/api-platform/monetization/create-transaction-recording-polic
// y#spectrpcaapi">Managing
// a transaction recording policy using the API</a>
ApiResources []string `json:"apiResources,omitempty"`
// ApprovalType: Specifies how API keys are approved to access the APIs
// defined by the API
// product.
//
// If set to `manual`, the consumer key is generated and returned in
// "pending"
// state. In this case, the API keys won't work until they have
// been
// explicitly approved.
//
// If set to `auto`, the consumer key is generated and returned in
// "approved"
// state and can be used immediately.
//
// <aside class="note"><strong>NOTE:</strong> Typically, `auto` is
// used
// to provide access to free or trial API products that provide limited
// quota
// or capabilities.</aside>
ApprovalType string `json:"approvalType,omitempty"`
// Attributes: Array of attributes that may be used to extend the
// default API product
// profile with customer-specific metadata. You can specify a maximum of
// 18
// attributes.
//
// Use this property to specify the access level of the API product as
// either
// `public`, `private`, or `internal`.
//
// Only products marked `public` are available to developers in the
// Apigee
// developer portal. For example, you can set a product to `internal`
// while it
// is in development and then change access to `public` when it is ready
// to
// release on the portal.
//
// API products marked as `private` do not appear on the portal but
// can be accessed by external developers.
//
// For monetization, you can use the attributes field to:
//
// -
// <a
// href="/api-platform/monetization/create-transaction-recording-polic
// y#spectrpsuccessapi"
// target="_blank">Specify transaction success criteria</a>
// -
// <a
// href="/api-platform/monetization/create-transaction-recording-polic
// y#spectrpcaapi"
// target="_blank">Specify custom attributes</a> on which you base rate
// plan
// charges</a>.
Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"`
// CreatedAt: Response only. Creation time of this environment as
// milliseconds since
// epoch.
CreatedAt int64 `json:"createdAt,omitempty,string"`
// Description: An overview of the API product. Include key information
// about the API
// product that is not captured by other fields.
Description string `json:"description,omitempty"`
// DisplayName: The name to be displayed in the UI or developer portal
// to developers
// registering for API access.
DisplayName string `json:"displayName,omitempty"`
// Environments: A comma-separated list of environment names to which
// the API product is
// bound. Requests to environments that are not listed are rejected.
//
// By specifying one or more environments, you can bind the resources
// listed
// in the API product to a specific environment, preventing developers
// from
// accessing those resources through API proxies deployed in
// another
// environment.
//
// This setting is used, for example, to prevent resources associated
// with
// API proxies in 'prod' from being accessed by API proxies deployed
// in
// 'test'.
Environments []string `json:"environments,omitempty"`
// LastModifiedAt: Response only. Modified time of this environment as
// milliseconds since
// epoch.
LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"`
// Name: The internal name of the API Product. Characters you can use in
// the name
// are restricted to: A-Z0-9._\-$ %.
//
// <aside class="note"><strong>NOTE:</strong> The internal name cannot
// be
// edited when updating the API product.</aside>
Name string `json:"name,omitempty"`
// Proxies: A comma-separated list of API proxy names to which this API
// product is
// bound. By specifying API proxies, you can associate resources in the
// API
// product with specific API proxies, preventing developers from
// accessing
// those resources through other API proxies.
//
// Edge rejects requests to API proxies that are not listed.
//
// <aside class="note"><strong>NOTE:</strong> The API proxy names must
// already
// exist in the specified environment as they will be validated
// upon
// creation.</aside>
Proxies []string `json:"proxies,omitempty"`
// Quota: The number of request messages permitted per app by this API
// product for
// the specified `quotaInterval` and `quotaTimeUnit`.
//
// For example, a `quota` of 50, for a `quotaInterval` of 12 and
// a
// `quotaTimeUnit` of hours means 50 requests are allowed every 12
// hours.
Quota string `json:"quota,omitempty"`
// QuotaInterval: The time interval over which the number of request
// messages is calculated.
QuotaInterval string `json:"quotaInterval,omitempty"`
// QuotaTimeUnit: The time unit defined for the `quotaInterval`. Valid
// values include minute,
// hour, day, or month.
QuotaTimeUnit string `json:"quotaTimeUnit,omitempty"`
// Scopes: A comma-separated list of OAuth scopes that are validated at
// runtime.
// Edge validates that the scopes in any access token presented match
// the
// scopes defined in the OAuth policy assoicated with the API product.
Scopes []string `json:"scopes,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ApiResources") 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. "ApiResources") 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:"-"`
}
func (s *GoogleCloudApigeeV1ApiProduct) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ApiProduct
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1ApiProductRef struct {
// Apiproduct: The name of the api product.
Apiproduct string `json:"apiproduct,omitempty"`
// Status: The status of the api product.
Status string `json:"status,omitempty"`
// ForceSendFields is a list of field names (e.g. "Apiproduct") 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. "Apiproduct") 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:"-"`
}
func (s *GoogleCloudApigeeV1ApiProductRef) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ApiProductRef
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1ApiProxy: Metadata describing the API proxy
type GoogleCloudApigeeV1ApiProxy struct {
// LatestRevisionId: The id of the most recently created revision for
// this api proxy.
LatestRevisionId string `json:"latestRevisionId,omitempty"`
// MetaData: Metadata describing the API proxy.
MetaData *GoogleCloudApigeeV1EntityMetadata `json:"metaData,omitempty"`
// Name: Name of the API proxy.
Name string `json:"name,omitempty"`
// Revision: List of revisons defined for the API proxy.
Revision []string `json:"revision,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "LatestRevisionId") 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. "LatestRevisionId") 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:"-"`
}
func (s *GoogleCloudApigeeV1ApiProxy) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ApiProxy
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1ApiProxyRevision: API proxy revision.
type GoogleCloudApigeeV1ApiProxyRevision struct {
// Basepaths: Base URL of the API proxy.
Basepaths []string `json:"basepaths,omitempty"`
// ConfigurationVersion: Version of the API proxy configuration schema
// to which the API proxy
// conforms. Currently, the only supported value is
// 4.0
// (`majorVersion.minorVersion`). This setting may be used in the future
// to
// track the evolution of the API proxy format.
ConfigurationVersion *GoogleCloudApigeeV1ConfigVersion `json:"configurationVersion,omitempty"`
// ContextInfo: Revision number, app name, and organization for the API
// proxy.
ContextInfo string `json:"contextInfo,omitempty"`
// CreatedAt: Time that the API proxy revision was created in
// milliseconds since
// epoch.
CreatedAt int64 `json:"createdAt,omitempty,string"`
// Description: Description of the API proxy revision.
Description string `json:"description,omitempty"`
// DisplayName: Human-readable name of the API proxy.
DisplayName string `json:"displayName,omitempty"`
// EntityMetaDataAsProperties: Metadata describing the API proxy
// revision as a key-value map.
EntityMetaDataAsProperties map[string]string `json:"entityMetaDataAsProperties,omitempty"`
// LastModifiedAt: Time that the API proxy revision was last modified
// in
// milliseconds since epoch.
LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"`
// Name: Name of the API proxy.
Name string `json:"name,omitempty"`
// Policies: List of policy names included in the API proxy revision..
Policies []string `json:"policies,omitempty"`
// Proxies: List of proxy names included in the API proxy revision.
Proxies []string `json:"proxies,omitempty"`
// ProxyEndpoints: List of ProxyEndpoints in the `/proxies` directory of
// the API proxy.
// Typically, this element is included only when the API proxy was
// created
// using the Edge UI. This is a 'manifest' setting designed to
// provide visibility into the contents of the API proxy.
ProxyEndpoints []string `json:"proxyEndpoints,omitempty"`
// ResourceFiles: List of resource files included in the API proxy
// revision.
ResourceFiles *GoogleCloudApigeeV1ResourceFiles `json:"resourceFiles,omitempty"`
// Resources: List of the resources included in the API proxy revision
// formatted as
// "{type}://{name}".
Resources []string `json:"resources,omitempty"`
// Revision: API proxy revision.
Revision string `json:"revision,omitempty"`
// SharedFlows: List of the shared flows included in the API proxy
// revision.
SharedFlows []string `json:"sharedFlows,omitempty"`
// Spec: OpenAPI Specification that is associated with the API
// proxy.
// The value is set to a URL or to a path in the specification store.
Spec string `json:"spec,omitempty"`
// TargetEndpoints: List of TargetEndpoints in the `/targets` directory
// of the API proxy.
// Typically, this element is included only when the API proxy was
// created
// using the Edge UI. This is a 'manifest' setting designed to
// provide visibility into the contents of the API proxy.
TargetEndpoints []string `json:"targetEndpoints,omitempty"`
// TargetServers: List of TargetServers referenced in any TargetEndpoint
// in the API
// proxy. Typically, you will see this element only when the API proxy
// was
// created using the Edge UI. This is a 'manifest' setting
// designed to provide visibility into the contents of the API proxy.
TargetServers []string `json:"targetServers,omitempty"`
// Targets: List of the targets included in the API proxy revision.
Targets []string `json:"targets,omitempty"`
// Teams: List of the teams included in the API proxy revision.
Teams []string `json:"teams,omitempty"`
// Type: Type. Set to `Application`. Maintained for compatibility
// with
// the Apigee Edge API.
Type string `json:"type,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Basepaths") 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. "Basepaths") 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:"-"`
}
func (s *GoogleCloudApigeeV1ApiProxyRevision) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ApiProxyRevision
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1App struct {
// ApiProducts: List of API products associated with the app.
ApiProducts []*GoogleCloudApigeeV1ApiProductRef `json:"apiProducts,omitempty"`
// AppId: ID of the app.
AppId string `json:"appId,omitempty"`
// Attributes: List of attributes.
Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"`
// CallbackUrl: Callback URL used by OAuth 2.0 authorization servers to
// communicate
// authorization codes back to apps.
CallbackUrl string `json:"callbackUrl,omitempty"`
// CompanyName: Name of the company that owns the app.
CompanyName string `json:"companyName,omitempty"`
// CreatedAt: Output only. Unix time when the app was created.
CreatedAt int64 `json:"createdAt,omitempty,string"`
// Credentials: Output only. Set of credentials for the app. Credentials
// are API
// key/secret pairs associated with API products.
Credentials []*GoogleCloudApigeeV1Credential `json:"credentials,omitempty"`
// DeveloperId: ID of the developer.
DeveloperId string `json:"developerId,omitempty"`
// KeyExpiresIn: Duration, in milliseconds, of the consumer key that
// will
// be generated for the app. The default value, -1, indicates
// an
// infinite validity period. Once set, the expiration can't be
// updated.
// json key: keyExpiresIn
KeyExpiresIn int64 `json:"keyExpiresIn,omitempty,string"`
// LastModifiedAt: Output only. Last modified time as milliseconds since
// epoch.
LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"`
// Name: Name of the app.
Name string `json:"name,omitempty"`
// Scopes: Scopes to apply to the app. The specified scope names must
// already
// exist on the API product that you associate with the app.
Scopes []string `json:"scopes,omitempty"`
// Status: Status of the credential.
Status string `json:"status,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ApiProducts") 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. "ApiProducts") 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:"-"`
}
func (s *GoogleCloudApigeeV1App) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1App
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1AsyncQuery struct {
// Created: Creation time of the query
Created string `json:"created,omitempty"`
// Error: Error is set when query fails
Error string `json:"error,omitempty"`
// ExecutionTime: ExecutionTime is available only after the query is
// completed
ExecutionTime string `json:"executionTime,omitempty"`
// Name: Asynchronous Query Name.
Name string `json:"name,omitempty"`
// QueryParams: Contains information like metrics, dimenstions etc
// of the AsyncQuery
QueryParams *GoogleCloudApigeeV1QueryMetadata `json:"queryParams,omitempty"`
// ReportDefinitionId: Asynchronous Report ID.
ReportDefinitionId string `json:"reportDefinitionId,omitempty"`
// Result: Result is available only after the query is completed
Result *GoogleCloudApigeeV1AsyncQueryResult `json:"result,omitempty"`
// ResultFileSize: ResultFileSize is available only after the query is
// completed
ResultFileSize string `json:"resultFileSize,omitempty"`
// ResultRows: ResultRows is available only after the query is completed
ResultRows int64 `json:"resultRows,omitempty,string"`
// Self: Self link of the
// query
//
// Example:
// `/organizations/myorg/environments/myenv/queries/9cfc0
// d85-0f30-46d6-ae6f-318d0cb961bd`
Self string `json:"self,omitempty"`
// State: Query state could be "enqueued", "running",
// "completed",
// "failed"
State string `json:"state,omitempty"`
// Updated: Last updated timestamp for the query
Updated string `json:"updated,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Created") 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. "Created") 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:"-"`
}
func (s *GoogleCloudApigeeV1AsyncQuery) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1AsyncQuery
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1AsyncQueryResult struct {
// Expires: Query result will be unaccessable after this time.
Expires string `json:"expires,omitempty"`
// Self: Self link of the query
// results
//
// Example:
// `/organizations/myorg/environments/myenv/queries/9cf
// c0d85-0f30-46d6-ae6f-318d0cb961bd/result`
Self string `json:"self,omitempty"`
// ForceSendFields is a list of field names (e.g. "Expires") 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. "Expires") 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:"-"`
}
func (s *GoogleCloudApigeeV1AsyncQueryResult) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1AsyncQueryResult
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1AsyncQueryResultView struct {
// Code: Error code when there is a failure.
Code int64 `json:"code,omitempty"`
// Error: Error message when there is a failure.
Error string `json:"error,omitempty"`
// Metadata: Metadata contains information like metrics, dimenstions
// etc
// of the AsyncQuery
Metadata *GoogleCloudApigeeV1QueryMetadata `json:"metadata,omitempty"`
// Rows: Rows of query result. Each row is a JSON object.
//
// Example: {sum(message_count): 1, developer_app: "(not set)",…}
Rows []interface{} `json:"rows,omitempty"`
// State: State of retrieving ResultView.
State string `json:"state,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// 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:"-"`
}
func (s *GoogleCloudApigeeV1AsyncQueryResultView) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1AsyncQueryResultView
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1Attribute: A key value pair to store extra
// metadata.
type GoogleCloudApigeeV1Attribute struct {
// Name: The key of the attribute.
Name string `json:"name,omitempty"`
// Value: The value of the attribute.
Value string `json:"value,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// 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:"-"`
}
func (s *GoogleCloudApigeeV1Attribute) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1Attribute
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1Attributes struct {
// Attribute: A list of attributes.
Attribute []*GoogleCloudApigeeV1Attribute `json:"attribute,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Attribute") 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. "Attribute") 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:"-"`
}
func (s *GoogleCloudApigeeV1Attributes) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1Attributes
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1CertInfo: An X.509 certificate as defined in RFC
// 5280.
type GoogleCloudApigeeV1CertInfo struct {
// BasicConstraints: The X.509 basic constraints extension.
BasicConstraints string `json:"basicConstraints,omitempty"`
// ExpiryDate: The X.509 validity / notAfter in milliseconds since the
// epoch.
ExpiryDate int64 `json:"expiryDate,omitempty,string"`
// IsValid: "Yes" if certificate is valid, "No" if expired and "Not
// yet"
// if not yet valid.
IsValid string `json:"isValid,omitempty"`
// Issuer: The X.509 issuer.
Issuer string `json:"issuer,omitempty"`
// PublicKey: The public key component of the X.509 subject public key
// info.
PublicKey string `json:"publicKey,omitempty"`
// SerialNumber: The X.509 serial number.
SerialNumber string `json:"serialNumber,omitempty"`
// SigAlgName: The X.509 signatureAlgorithm.
SigAlgName string `json:"sigAlgName,omitempty"`
// Subject: The X.509 subject.
Subject string `json:"subject,omitempty"`
// SubjectAlternativeNames: The X.509 subject alternative names (SANs)
// extension.
SubjectAlternativeNames []string `json:"subjectAlternativeNames,omitempty"`
// ValidFrom: The X.509 validity / notBefore in milliseconds since
// the
// epoch.
ValidFrom int64 `json:"validFrom,omitempty,string"`
// Version: The X.509 version.
Version int64 `json:"version,omitempty"`
// ForceSendFields is a list of field names (e.g. "BasicConstraints") 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. "BasicConstraints") 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:"-"`
}
func (s *GoogleCloudApigeeV1CertInfo) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1CertInfo
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1Certificate struct {
// CertInfo: The chain of certificates under this name.
CertInfo []*GoogleCloudApigeeV1CertInfo `json:"certInfo,omitempty"`
// ForceSendFields is a list of field names (e.g. "CertInfo") 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. "CertInfo") 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:"-"`
}
func (s *GoogleCloudApigeeV1Certificate) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1Certificate
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1CommonNameConfig struct {
MatchWildCards bool `json:"matchWildCards,omitempty"`
Name string `json:"name,omitempty"`
// ForceSendFields is a list of field names (e.g. "MatchWildCards") 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. "MatchWildCards") 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:"-"`
}
func (s *GoogleCloudApigeeV1CommonNameConfig) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1CommonNameConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1Company struct {
Apps []string `json:"apps,omitempty"`
// Attributes: A list of attributes
Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"`
// CreatedAt: Output only. Created time as milliseconds since
// epoch.
// json key: createdAt
CreatedAt int64 `json:"createdAt,omitempty,string"`
// DisplayName: company name displayed in the UI
DisplayName string `json:"displayName,omitempty"`
// LastModifiedAt: Output only. Modified time as milliseconds since
// epoch.
// json key: lastModifiedAt
LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"`
// Name: Name of the company. Characters you can use in the name are
// restricted to:
// A-Z0-9._\-$ %.
Name string `json:"name,omitempty"`
// Organization: the org that the company is created
Organization string `json:"organization,omitempty"`
// Status: The status of the company
Status string `json:"status,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Apps") 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. "Apps") 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:"-"`
}
func (s *GoogleCloudApigeeV1Company) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1Company
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1CompanyApp struct {
// ApiProducts: Any API Products the app consumes
ApiProducts []string `json:"apiProducts,omitempty"`
AppFamily string `json:"appFamily,omitempty"`
// AppId: The id of the app.
AppId string `json:"appId,omitempty"`
// Attributes: A list of attributes.
Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"`
// CallbackUrl: The callbackUrl is used by OAuth 2.0 authorization
// servers to communicate
// authorization codes back to apps.
CallbackUrl string `json:"callbackUrl,omitempty"`
// CompanyName: The name of the company owns the app
CompanyName string `json:"companyName,omitempty"`
// CreatedAt: Output only. created time of this environment as
// milliseconds since epoch.
// JSON key: createdAt
CreatedAt int64 `json:"createdAt,omitempty,string"`
// Credentials: Output only. A set of credentials for the
// app
// credentials are key/secret pairs
Credentials []*GoogleCloudApigeeV1Credential `json:"credentials,omitempty"`
// KeyExpiresIn: A setting, in milliseconds, for the lifetime of the
// consumer key that will
// be generated for the developer app. The default value, -1, indicates
// an
// infinite validity period. Once set, the expiration can't be
// updated.
// json key: keyExpiresIn
KeyExpiresIn int64 `json:"keyExpiresIn,omitempty,string"`
// LastModifiedAt: Output only. Modified time as milliseconds since
// epoch.
// json key: lastModifiedAt
LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"`
// Name: The resoure id of the app.
// JSON key: name
Name string `json:"name,omitempty"`
// Scopes: The scopes to apply to the app. The specified scope names
// must already
// exist on the API product that you associate with the app.
Scopes []string `json:"scopes,omitempty"`
// Status: The status of the credential.
Status string `json:"status,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ApiProducts") 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. "ApiProducts") 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:"-"`
}
func (s *GoogleCloudApigeeV1CompanyApp) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1CompanyApp
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1CompanyAppKey struct {
// ApiProducts: A list of api products this credential can be used for.
ApiProducts []interface{} `json:"apiProducts,omitempty"`
// Attributes: A list of attributes tied to the credential.
Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"`
// ConsumerKey: The consumer key.
ConsumerKey string `json:"consumerKey,omitempty"`
// ConsumerSecret: The secret key.
ConsumerSecret string `json:"consumerSecret,omitempty"`
// ExpiresAt: Unix time when the app was created
// json key: expiresAt
ExpiresAt int64 `json:"expiresAt,omitempty,string"`
// IssuedAt: Unix time when the app was issued
// json key: issuedAt
IssuedAt int64 `json:"issuedAt,omitempty,string"`
// Scopes: The scopes to apply to the app. The specified scope names
// must already
// exist on the API product that you associate with the app.
Scopes []string `json:"scopes,omitempty"`
// Status: The status of the credential.
Status string `json:"status,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ApiProducts") 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. "ApiProducts") 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:"-"`
}
func (s *GoogleCloudApigeeV1CompanyAppKey) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1CompanyAppKey
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1ConfigVersion: Version of the API proxy
// configuration schema. Currently, only 4.0 is
// supported.
type GoogleCloudApigeeV1ConfigVersion struct {
// MajorVersion: Major version of the API proxy configuration schema.
MajorVersion int64 `json:"majorVersion,omitempty"`
// MinorVersion: Minor version of the API proxy configuration schema.
MinorVersion int64 `json:"minorVersion,omitempty"`
// ForceSendFields is a list of field names (e.g. "MajorVersion") 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. "MajorVersion") 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:"-"`
}
func (s *GoogleCloudApigeeV1ConfigVersion) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ConfigVersion
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1Credential struct {
// ApiProducts: A list of api products this credential can be used for.
ApiProducts []*GoogleCloudApigeeV1ApiProductRef `json:"apiProducts,omitempty"`
// Attributes: A list of attributes tied to the credential.
Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"`
// ConsumerKey: The consumer key.
ConsumerKey string `json:"consumerKey,omitempty"`
// ConsumerSecret: The secret key.
ConsumerSecret string `json:"consumerSecret,omitempty"`
// ExpiresAt: Unix time when the app was created
// json key: expiresAt
ExpiresAt int64 `json:"expiresAt,omitempty,string"`
// IssuedAt: Unix time when the app was issued
// json key: issuedAt
IssuedAt int64 `json:"issuedAt,omitempty,string"`
// Scopes: The scopes to apply to the app. The specified scope names
// must already
// exist on the API product that you associate with the app.
Scopes []string `json:"scopes,omitempty"`
// Status: The status of the credential.
Status string `json:"status,omitempty"`
// ForceSendFields is a list of field names (e.g. "ApiProducts") 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. "ApiProducts") 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:"-"`
}
func (s *GoogleCloudApigeeV1Credential) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1Credential
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1CustomReport struct {
// ChartType: This field contains the chart type for the report
ChartType string `json:"chartType,omitempty"`
// Comments: Legacy field: not used. This field contains a list of
// comments associated
// with custom report
Comments []string `json:"comments,omitempty"`
// CreatedAt: Output only. Unix time when the app was created
// json key: createdAt
CreatedAt int64 `json:"createdAt,omitempty,string"`
// Dimensions: This contains the list of dimensions for the report
Dimensions []string `json:"dimensions,omitempty"`
// DisplayName: This is the display name for the report
DisplayName string `json:"displayName,omitempty"`
// Environment: Output only. Environment name
Environment string `json:"environment,omitempty"`
// Filter: This field contains the filter expression
Filter string `json:"filter,omitempty"`
// FromTime: Legacy field: not used. Contains the from time for the
// report
FromTime string `json:"fromTime,omitempty"`
// LastModifiedAt: Output only. Modified time of this entity as
// milliseconds since epoch.
// json key: lastModifiedAt
LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"`
// LastViewedAt: Output only. Last viewed time of this entity as
// milliseconds since epoch
LastViewedAt int64 `json:"lastViewedAt,omitempty,string"`
// Limit: Legacy field: not used This field contains the limit for the
// result
// retrieved
Limit string `json:"limit,omitempty"`
// Metrics: Required. This contains the list of metrics
Metrics []*GoogleCloudApigeeV1CustomReportMetric `json:"metrics,omitempty"`
// Name: Required. Unique identifier for the report
// T his is a legacy field used to encode custom report unique id
Name string `json:"name,omitempty"`
// Offset: Legacy field: not used. This field contains the offset for
// the data
Offset string `json:"offset,omitempty"`
// Organization: Output only. Organization name
Organization string `json:"organization,omitempty"`
// Properties: This field contains report properties such as ui metadata
// etc.
Properties []*GoogleCloudApigeeV1ReportProperty `json:"properties,omitempty"`
// SortByCols: Legacy field: not used much. Contains the list of sort by
// columns
SortByCols []string `json:"sortByCols,omitempty"`
// SortOrder: Legacy field: not used much. Contains the sort order for
// the sort columns
SortOrder string `json:"sortOrder,omitempty"`
// Tags: Legacy field: not used. This field contains a list of tags
// associated with
// custom report
Tags []string `json:"tags,omitempty"`
// TimeUnit: This field contains the time unit of aggregation for the
// report
TimeUnit string `json:"timeUnit,omitempty"`
// ToTime: Legacy field: not used. Contains the end time for the report
ToTime string `json:"toTime,omitempty"`
// Topk: Legacy field: not used. This field contains the top k parameter
// value
// for restricting the result
Topk string `json:"topk,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ChartType") 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. "ChartType") 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:"-"`
}
func (s *GoogleCloudApigeeV1CustomReport) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1CustomReport
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1CustomReportMetric: This encapsulates a metric
// property of the form sum(message_count)
// where name is message_count and function is sum
type GoogleCloudApigeeV1CustomReportMetric struct {
// Function: aggregate function
Function string `json:"function,omitempty"`
// Name: name of the metric
Name string `json:"name,omitempty"`
// ForceSendFields is a list of field names (e.g. "Function") 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. "Function") 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:"-"`
}
func (s *GoogleCloudApigeeV1CustomReportMetric) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1CustomReportMetric
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1DataLocation struct {
// Url: GCS signed url. Signed URLs provide a way to give
// time-limited
// read or write access to anyone in possession of the URL, regardless
// of
// whether they have a Google account.
Url string `json:"url,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Url") 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. "Url") 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:"-"`
}
func (s *GoogleCloudApigeeV1DataLocation) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1DataLocation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1DebugMask struct {
// FaultJSONPaths: List of JSON paths that specify JSON elements to be
// filtered from JSON
// payloads in error flows.
FaultJSONPaths []string `json:"faultJSONPaths,omitempty"`
// FaultXPaths: List of XPaths that specify XML elements to be filtered
// from XML payloads
// in error flows.
FaultXPaths []string `json:"faultXPaths,omitempty"`
// Name: The DebugMask resource name.
Name string `json:"name,omitempty"`
// Namespaces: Map of namespaces to uris.
Namespaces map[string]string `json:"namespaces,omitempty"`
// RequestJSONPaths: List of JSON paths that specify JSON elements to be
// filtered from JSON
// request message payloads.
RequestJSONPaths []string `json:"requestJSONPaths,omitempty"`
// RequestXPaths: List of XPaths that specify XML elements to be
// filtered from XML request
// message payloads.
RequestXPaths []string `json:"requestXPaths,omitempty"`
// ResponseJSONPaths: List of JSON paths that specify JSON elements to
// be filtered from JSON
// response message payloads.
ResponseJSONPaths []string `json:"responseJSONPaths,omitempty"`
// ResponseXPaths: List of XPaths that specify XML elements to be
// filtered from XML response
// message payloads.
ResponseXPaths []string `json:"responseXPaths,omitempty"`
// Variables: List of variables that should be masked from debug output.
Variables []string `json:"variables,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "FaultJSONPaths") 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. "FaultJSONPaths") 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:"-"`
}
func (s *GoogleCloudApigeeV1DebugMask) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1DebugMask
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1DebugSession struct {
// Count: Optional. The number of request to be traced. Min = 1, Max =
// 15, Default
// = 10.
Count int64 `json:"count,omitempty"`
// Filter: Optional. A conditional statement which is evaluated against
// the request
// message to determine if it should be traced. Syntax matches that of
// on
// API Proxy bundle flow Condition.
Filter string `json:"filter,omitempty"`
// Name: A unique ID for this DebugSession.
Name string `json:"name,omitempty"`
// Timeout: Optional. The time in seconds after which this DebugSession
// should end.
// This value will override the value in query param, if both are
// provided.
Timeout int64 `json:"timeout,omitempty,string"`
// Tracesize: Optional. The maximum number of bytes captured from the
// response payload.
// Min = 0, Max = 5120, Default = 5120.
Tracesize int64 `json:"tracesize,omitempty"`
// Validity: Optional. The length of time, in seconds, that this debug
// session is valid,
// starting from when it's received in the control plane. Min = 1, Max =
// 15,
// Default = 10.
Validity int64 `json:"validity,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Count") 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. "Count") 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:"-"`
}
func (s *GoogleCloudApigeeV1DebugSession) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1DebugSession
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1DebugSessionTransaction: A transaction contains
// all of the debug information of the entire message
// flow of an API call processed by the runtime plane. The information
// is
// collected and recorded at critical points of the message flow in the
// runtime
// apiproxy.
type GoogleCloudApigeeV1DebugSessionTransaction struct {
// Completed: Flag indicating whether a transaction is completed or not
Completed bool `json:"completed,omitempty"`
// Point: List of debug data collected by runtime plane at various
// defined points in
// the flow.
Point []*GoogleCloudApigeeV1Point `json:"point,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Completed") 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. "Completed") 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:"-"`
}
func (s *GoogleCloudApigeeV1DebugSessionTransaction) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1DebugSessionTransaction
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1DeleteCustomReportResponse struct {
// Message: The response contains only a message field.
Message string `json:"message,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Message") 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. "Message") 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:"-"`
}
func (s *GoogleCloudApigeeV1DeleteCustomReportResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1DeleteCustomReportResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1Deployment struct {
// ApiProxy: API proxy.
ApiProxy string `json:"apiProxy,omitempty"`
// BasePath: Base path for the deployment.
BasePath string `json:"basePath,omitempty"`
// DeployStartTime: Time the API proxy was marked `deployed` in the
// control plane in
// millisconds since epoch.
DeployStartTime int64 `json:"deployStartTime,omitempty,string"`
// Environment: Environment.
Environment string `json:"environment,omitempty"`
// Pods: Status reported by runtime pods. This information is displayed
// only for
// List APIs that specify an API proxy revision.
Pods []*GoogleCloudApigeeV1PodStatus `json:"pods,omitempty"`
// Revision: API proxy revision.
Revision string `json:"revision,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ApiProxy") 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. "ApiProxy") 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:"-"`
}
func (s *GoogleCloudApigeeV1Deployment) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1Deployment
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1DeploymentConfig struct {
// Attributes: Additional key-value metadata about the deployment.
Attributes map[string]string `json:"attributes,omitempty"`
// BasePath: Base path where the application needs to be hosted. Default
// value is
// assumed to be "/".
BasePath string `json:"basePath,omitempty"`
// Location: The location of the proxy bundle, as a uri.
Location string `json:"location,omitempty"`
// Name: The name of the API or shared flow revision to be deployed.
// Must be of the
// form 'organizations/{org}/apis/{api}/revisions/{rev}'
// or
// 'organizations/{org}/sharedflows/{sf}/revisions/{rev}'.
Name string `json:"name,omitempty"`
// ForceSendFields is a list of field names (e.g. "Attributes") 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. "Attributes") 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:"-"`
}
func (s *GoogleCloudApigeeV1DeploymentConfig) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1DeploymentConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1Developer struct {
// AccessType: Access type.
AccessType string `json:"accessType,omitempty"`
// AppFamily: App Family
AppFamily string `json:"appFamily,omitempty"`
// Apps: List of apps for the developer
Apps []string `json:"apps,omitempty"`
// Attributes: Optional. Name/value pairs that can be used to extend the
// default developer
// profile.
Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"`
// Companies: List of companies
Companies []string `json:"companies,omitempty"`
// CreatedAt: Output only. Time at which this Developer was created, in
// milliseconds
// since epoch.
// json key: createdAt
CreatedAt int64 `json:"createdAt,omitempty,string"`
// DeveloperId: developer id of the developer
DeveloperId string `json:"developerId,omitempty"`
// Email: Required. The developer's email. This value is used to
// uniquely identify
// the developer in Apigee Edge.
Email string `json:"email,omitempty"`
// FirstName: Required. The first name of the developer.
FirstName string `json:"firstName,omitempty"`
// LastModifiedAt: Output only. Time at which this Developer was most
// recently modified, in
// milliseconds since epoch.
// json key: lastModifiedAt
LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"`
// LastName: Required. The last name of the developer.
LastName string `json:"lastName,omitempty"`
// OrganizationName: Output only. Apigee Organization name of the
// developer
OrganizationName string `json:"organizationName,omitempty"`
// Status: Output only. Status of the developer
Status string `json:"status,omitempty"`
// UserName: Required. The username of the developer. It is not used by
// Apigee's Edge
UserName string `json:"userName,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "AccessType") 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. "AccessType") 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:"-"`
}
func (s *GoogleCloudApigeeV1Developer) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1Developer
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1DeveloperApp struct {
// ApiProducts: A list of api products this app is associated with.
ApiProducts []string `json:"apiProducts,omitempty"`
// AppFamily: App family.
AppFamily string `json:"appFamily,omitempty"`
// AppId: The id of the developer app.
AppId string `json:"appId,omitempty"`
// Attributes: A list of attributes.
Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"`
// CallbackUrl: The callbackUrl is used by OAuth 2.0 authorization
// servers to communicate
// authorization codes back to apps.
CallbackUrl string `json:"callbackUrl,omitempty"`
// CreatedAt: Output only. Unix time when the app was created
// json key: createdAt
CreatedAt int64 `json:"createdAt,omitempty,string"`
// Credentials: Output only. A set of credentials for the
// app--credentials are app
// key/secret pairs associated with API products
Credentials []*GoogleCloudApigeeV1Credential `json:"credentials,omitempty"`
// DeveloperId: The id of the developer.
DeveloperId string `json:"developerId,omitempty"`
// KeyExpiresIn: A setting, in milliseconds, for the lifetime of the
// consumer key that will
// be generated for the developer app. The default value, -1, indicates
// an
// infinite validity period. Once set, the expiration can't be
// updated.
// json key: keyExpiresIn
KeyExpiresIn int64 `json:"keyExpiresIn,omitempty,string"`
// LastModifiedAt: Output only. Modified time of this environment as
// milliseconds since epoch.
// json key: lastModifiedAt
LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"`
// Name: The name of the developer app.
Name string `json:"name,omitempty"`
// Scopes: The scopes to apply to the app. The specified scope names
// must already
// exist on the API product that you associate with the app.
Scopes []string `json:"scopes,omitempty"`
// Status: The status of the credential.
Status string `json:"status,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ApiProducts") 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. "ApiProducts") 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:"-"`
}
func (s *GoogleCloudApigeeV1DeveloperApp) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1DeveloperApp
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1DeveloperAppKey struct {
// ApiProducts: A list of api products this credential can be used for.
ApiProducts []interface{} `json:"apiProducts,omitempty"`
// Attributes: A list of attributes tied to the credential.
Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"`
// ConsumerKey: The consumer key.
ConsumerKey string `json:"consumerKey,omitempty"`
// ConsumerSecret: The secret key.
ConsumerSecret string `json:"consumerSecret,omitempty"`
// ExpiresAt: Unix time when the app was created
// json key: expiresAt
ExpiresAt int64 `json:"expiresAt,omitempty,string"`
// IssuedAt: Unix time when the app was issued
// json key: issuedAt
IssuedAt int64 `json:"issuedAt,omitempty,string"`
// Scopes: The scopes to apply to the app. The specified scope names
// must already
// exist on the API product that you associate with the app.
Scopes []string `json:"scopes,omitempty"`
// Status: The status of the credential.
Status string `json:"status,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ApiProducts") 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. "ApiProducts") 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:"-"`
}
func (s *GoogleCloudApigeeV1DeveloperAppKey) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1DeveloperAppKey
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1DimensionMetric: This message type encapsulates a
// metric grouped by dimension
type GoogleCloudApigeeV1DimensionMetric struct {
// Metrics: This field contains a list of metrics
Metrics []*GoogleCloudApigeeV1Metric `json:"metrics,omitempty"`
// Name: This field contains the name of the dimension
Name string `json:"name,omitempty"`
// ForceSendFields is a list of field names (e.g. "Metrics") 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. "Metrics") 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:"-"`
}
func (s *GoogleCloudApigeeV1DimensionMetric) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1DimensionMetric
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1EntityMetadata: Metadata common to many entities
// in this API.
type GoogleCloudApigeeV1EntityMetadata struct {
// CreatedAt: Time at which the API proxy was created, in milliseconds
// since epoch.
CreatedAt int64 `json:"createdAt,omitempty,string"`
// LastModifiedAt: Time at which the API proxy was most recently
// modified, in milliseconds
// since epoch.
LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"`
// SubType: The type of entity described
SubType string `json:"subType,omitempty"`
// ForceSendFields is a list of field names (e.g. "CreatedAt") 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. "CreatedAt") 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:"-"`
}
func (s *GoogleCloudApigeeV1EntityMetadata) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1EntityMetadata
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1Environment struct {
// CreatedAt: Output only. Creation time of this environment as
// milliseconds since epoch.
CreatedAt int64 `json:"createdAt,omitempty,string"`
// Description: Optional. A human-readable description of this
// Environment.
Description string `json:"description,omitempty"`
// DisplayName: Optional. A human-readable display name for this
// Environment.
DisplayName string `json:"displayName,omitempty"`
// LastModifiedAt: Output only. Last modification time of this
// environment as milliseconds
// since epoch.
LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"`
// Name: Required. The resource id of this environment. Values must
// match the
// regular expression `^[.\\p{Alnum}-_]{1,255}$`
Name string `json:"name,omitempty"`
// Properties: Optional. Key-value pairs that may be used for
// customizing the environment.
Properties *GoogleCloudApigeeV1Properties `json:"properties,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "CreatedAt") 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. "CreatedAt") 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:"-"`
}
func (s *GoogleCloudApigeeV1Environment) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1Environment
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1EnvironmentConfig struct {
// CreateTime: The time at which this environment config was created.
CreateTime string `json:"createTime,omitempty"`
// DebugMask: Debug mask that applies to all deployments in the
// environment.
DebugMask *GoogleCloudApigeeV1DebugMask `json:"debugMask,omitempty"`
// Deployments: A list of deployments in the environment
Deployments []*GoogleCloudApigeeV1DeploymentConfig `json:"deployments,omitempty"`
// FeatureFlags: Feature flags inherited from the org and environment
// parents.
FeatureFlags map[string]string `json:"featureFlags,omitempty"`
// Flowhooks: A list of flow hooks in the environment.
Flowhooks []*GoogleCloudApigeeV1FlowHookConfig `json:"flowhooks,omitempty"`
// Keystores: A list of keystores in the environment.
Keystores []*GoogleCloudApigeeV1KeystoreConfig `json:"keystores,omitempty"`
// Name: The name of the environment config. Must be of the
// form
// 'organizations/{org}/environments/{env}/configs/{config_id}
Name string `json:"name,omitempty"`
// Provider: This field can be used by the control plane to add some
// context
// information about itself. This information could help detect the
// source of
// the document during diagnostics and debugging.
Provider string `json:"provider,omitempty"`
// PubsubTopic: Name of the pubsub topic for this environment.
PubsubTopic string `json:"pubsubTopic,omitempty"`
// ResourceReferences: A list of resource references in the environment.
ResourceReferences []*GoogleCloudApigeeV1ReferenceConfig `json:"resourceReferences,omitempty"`
// Resources: A list of resource versions in the environment.
Resources []*GoogleCloudApigeeV1ResourceConfig `json:"resources,omitempty"`
// SequenceNumber: A sequence number that defines an ordering on
// environment configs. No two
// configs under an environment will ever have the same sequence
// number.
// A higher sequence number means that the config was deployed
// more
// recently than one with a lower sequence number.
SequenceNumber int64 `json:"sequenceNumber,omitempty,string"`
// Targets: A list of target servers in the environment. Disabled target
// servers are
// not included.
Targets []*GoogleCloudApigeeV1TargetServerConfig `json:"targets,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "CreateTime") 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. "CreateTime") 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:"-"`
}
func (s *GoogleCloudApigeeV1EnvironmentConfig) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1EnvironmentConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1FlowHook struct {
// ContinueOnError: Optional. Flag that specifies whether execution
// should continue if the flow hook
// throws an exception. Set to `true` to continue execution. Set
// to
// `false` to stop execution if the flow hook throws an
// exception.Defaults
// to `true`.
ContinueOnError bool `json:"continueOnError,omitempty"`
// Description: Description of the flow hook.
Description string `json:"description,omitempty"`
// FlowHookPoint: Where in the API call flow the flow hook is invoked.
// Must be one of
// `PreProxyFlowHook`, `PostProxyFlowHook`, `PreTargetFlowHook`,
// or
// `PostTargetFlowHook`.
FlowHookPoint string `json:"flowHookPoint,omitempty"`
// SharedFlow: Shared flow attached to this flow hook, or empty if there
// is none attached.
SharedFlow string `json:"sharedFlow,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ContinueOnError") 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. "ContinueOnError") 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:"-"`
}
func (s *GoogleCloudApigeeV1FlowHook) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1FlowHook
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1FlowHookConfig struct {
// ContinueOnError: Should the flow abort after an error in the flow
// hook.
// Should default to true if unset.
ContinueOnError bool `json:"continueOnError,omitempty"`
// Name: The name of the flow hook. Must be of the
// form
// 'organizations/{org}/environments/{env}/flowhooks/{point}''.
// Know
// n points are PreProxyFlowHook, PostProxyFlowHook,
// PreTargetFlowHook,
// and PostTargetFlowHook
Name string `json:"name,omitempty"`
// SharedFlowName: The name of the shared flow to invoke. Must be of the
// form
// 'organizations/{org}/sharedflows/{sharedflow}'.
SharedFlowName string `json:"sharedFlowName,omitempty"`
// ForceSendFields is a list of field names (e.g. "ContinueOnError") 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. "ContinueOnError") 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:"-"`
}
func (s *GoogleCloudApigeeV1FlowHookConfig) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1FlowHookConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1GetSyncAuthorizationRequest: The request
// for
// GetSyncAuthorization.
type GoogleCloudApigeeV1GetSyncAuthorizationRequest struct {
}
type GoogleCloudApigeeV1KeyAliasReference struct {
// AliasId: The alias id. Must exist in the keystore referred to by
// reference.
AliasId string `json:"aliasId,omitempty"`
// Reference: The reference name. Must be of the
// form:
// organizations/{org}/environments/{env}/references/{ref}.
Reference string `json:"reference,omitempty"`
// ForceSendFields is a list of field names (e.g. "AliasId") 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. "AliasId") 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:"-"`
}
func (s *GoogleCloudApigeeV1KeyAliasReference) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1KeyAliasReference
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1KeyValueMap: A collection of key, value string
// pairs
type GoogleCloudApigeeV1KeyValueMap struct {
// Encrypted: Optional. If `true` entry values will be encrypted.
Encrypted bool `json:"encrypted,omitempty"`
// Name: Required. The id of the key value map.
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. "Encrypted") 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. "Encrypted") 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:"-"`
}
func (s *GoogleCloudApigeeV1KeyValueMap) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1KeyValueMap
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1Keystore: A datastore for Certificates and Aliases
type GoogleCloudApigeeV1Keystore struct {
// Aliases: Output only. The aliases in this keystore.
Aliases []string `json:"aliases,omitempty"`
// Name: Required. The resource ID for this keystore. Values must match
// the
// regular expression `[\w[:space:]-.]{1,255}`.
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. "Aliases") 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. "Aliases") 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:"-"`
}
func (s *GoogleCloudApigeeV1Keystore) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1Keystore
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1KeystoreConfig struct {
// Aliases: Aliases in the keystore.
Aliases []*GoogleCloudApigeeV1AliasRevisionConfig `json:"aliases,omitempty"`
// Name: The resource name. Must be of
// the
// form:
// 'organizations/{org}/environments/{env}/keystores/{keystore}
// '.
Name string `json:"name,omitempty"`
// ForceSendFields is a list of field names (e.g. "Aliases") 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. "Aliases") 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:"-"`
}
func (s *GoogleCloudApigeeV1KeystoreConfig) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1KeystoreConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1ListApiProductsResponse struct {
// ApiProduct: Lists all API product names defined for an organization.
ApiProduct []*GoogleCloudApigeeV1ApiProduct `json:"apiProduct,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ApiProduct") 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. "ApiProduct") 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:"-"`
}
func (s *GoogleCloudApigeeV1ListApiProductsResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ListApiProductsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1ListApiProxiesResponse struct {
Proxies []*GoogleCloudApigeeV1ApiProxy `json:"proxies,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Proxies") 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. "Proxies") 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:"-"`
}
func (s *GoogleCloudApigeeV1ListApiProxiesResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ListApiProxiesResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1ListAppsResponse struct {
App []*GoogleCloudApigeeV1App `json:"app,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "App") 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. "App") 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:"-"`
}
func (s *GoogleCloudApigeeV1ListAppsResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ListAppsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1ListAsyncQueriesResponse: The response for
// ListAsyncQueries
type GoogleCloudApigeeV1ListAsyncQueriesResponse struct {
// Queries: The asynchronous queries belong to requested organization
// and environment
Queries []*GoogleCloudApigeeV1AsyncQuery `json:"queries,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Queries") 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. "Queries") 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:"-"`
}
func (s *GoogleCloudApigeeV1ListAsyncQueriesResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ListAsyncQueriesResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1ListCompaniesResponse struct {
// Company: A list of company.
Company []*GoogleCloudApigeeV1Company `json:"company,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Company") 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. "Company") 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:"-"`
}
func (s *GoogleCloudApigeeV1ListCompaniesResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ListCompaniesResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1ListCompanyAppsResponse struct {
// App: A list of apps for a company.
App []*GoogleCloudApigeeV1CompanyApp `json:"app,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "App") 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. "App") 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:"-"`
}
func (s *GoogleCloudApigeeV1ListCompanyAppsResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ListCompanyAppsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GoogleCloudApigeeV1ListCustomReportsResponse: This message
// encapsulates a list of custom report definitions
type GoogleCloudApigeeV1ListCustomReportsResponse struct {
Qualifier []*GoogleCloudApigeeV1CustomReport `json:"qualifier,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Qualifier") 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. "Qualifier") 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:"-"`
}
func (s *GoogleCloudApigeeV1ListCustomReportsResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ListCustomReportsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1ListDebugSessionsResponse struct {
// Sessions: Session info that includes debug session ID and the first
// transaction
// creation timestamp.
Sessions []*GoogleCloudApigeeV1Sesssion `json:"sessions,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Sessions") 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. "Sessions") 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:"-"`
}
func (s *GoogleCloudApigeeV1ListDebugSessionsResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ListDebugSessionsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1ListDeploymentsResponse struct {
// Deployments: List of deployments.
Deployments []*GoogleCloudApigeeV1Deployment `json:"deployments,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Deployments") 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. "Deployments") 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:"-"`
}
func (s *GoogleCloudApigeeV1ListDeploymentsResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ListDeploymentsResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
type GoogleCloudApigeeV1ListDeveloperAppsResponse struct {
// App: A list of developer apps and the credentials for the app.
App []*GoogleCloudApigeeV1DeveloperApp `json:"app,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
// server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "App") 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. "App") 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:"-"`
}
func (s *GoogleCloudApigeeV1ListDeveloperAppsResponse) MarshalJSON() ([]byte, error) {
type NoMethod GoogleCloudApigeeV1ListDeveloperAppsResponse
raw := NoMethod(*s)