| // Copyright 2020 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" |
| internaloption "google.golang.org/api/option/internaloption" |
| 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 |
| var _ = internaloption.WithDefaultEndpoint |
| |
| const apiId = "apigee:v1" |
| const apiName = "apigee" |
| const apiVersion = "v1" |
| const basePath = "https://apigee.googleapis.com/" |
| const mtlsBasePath = "https://apigee.mtls.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...) |
| opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) |
| opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) |
| 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.Analytics = NewOrganizationsAnalyticsService(s) |
| rs.Apiproducts = NewOrganizationsApiproductsService(s) |
| rs.Apis = NewOrganizationsApisService(s) |
| rs.Apps = NewOrganizationsAppsService(s) |
| rs.Deployments = NewOrganizationsDeploymentsService(s) |
| rs.Developers = NewOrganizationsDevelopersService(s) |
| rs.Envgroups = NewOrganizationsEnvgroupsService(s) |
| rs.Environments = NewOrganizationsEnvironmentsService(s) |
| rs.Instances = NewOrganizationsInstancesService(s) |
| rs.Keyvaluemaps = NewOrganizationsKeyvaluemapsService(s) |
| rs.Operations = NewOrganizationsOperationsService(s) |
| rs.Reports = NewOrganizationsReportsService(s) |
| rs.Sharedflows = NewOrganizationsSharedflowsService(s) |
| return rs |
| } |
| |
| type OrganizationsService struct { |
| s *Service |
| |
| Analytics *OrganizationsAnalyticsService |
| |
| Apiproducts *OrganizationsApiproductsService |
| |
| Apis *OrganizationsApisService |
| |
| Apps *OrganizationsAppsService |
| |
| Deployments *OrganizationsDeploymentsService |
| |
| Developers *OrganizationsDevelopersService |
| |
| Envgroups *OrganizationsEnvgroupsService |
| |
| Environments *OrganizationsEnvironmentsService |
| |
| Instances *OrganizationsInstancesService |
| |
| Keyvaluemaps *OrganizationsKeyvaluemapsService |
| |
| Operations *OrganizationsOperationsService |
| |
| Reports *OrganizationsReportsService |
| |
| Sharedflows *OrganizationsSharedflowsService |
| } |
| |
| func NewOrganizationsAnalyticsService(s *Service) *OrganizationsAnalyticsService { |
| rs := &OrganizationsAnalyticsService{s: s} |
| rs.Datastores = NewOrganizationsAnalyticsDatastoresService(s) |
| return rs |
| } |
| |
| type OrganizationsAnalyticsService struct { |
| s *Service |
| |
| Datastores *OrganizationsAnalyticsDatastoresService |
| } |
| |
| func NewOrganizationsAnalyticsDatastoresService(s *Service) *OrganizationsAnalyticsDatastoresService { |
| rs := &OrganizationsAnalyticsDatastoresService{s: s} |
| return rs |
| } |
| |
| type OrganizationsAnalyticsDatastoresService struct { |
| s *Service |
| } |
| |
| 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 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 NewOrganizationsEnvgroupsService(s *Service) *OrganizationsEnvgroupsService { |
| rs := &OrganizationsEnvgroupsService{s: s} |
| rs.Attachments = NewOrganizationsEnvgroupsAttachmentsService(s) |
| return rs |
| } |
| |
| type OrganizationsEnvgroupsService struct { |
| s *Service |
| |
| Attachments *OrganizationsEnvgroupsAttachmentsService |
| } |
| |
| func NewOrganizationsEnvgroupsAttachmentsService(s *Service) *OrganizationsEnvgroupsAttachmentsService { |
| rs := &OrganizationsEnvgroupsAttachmentsService{s: s} |
| return rs |
| } |
| |
| type OrganizationsEnvgroupsAttachmentsService 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) |
| rs.Exports = NewOrganizationsEnvironmentsAnalyticsExportsService(s) |
| return rs |
| } |
| |
| type OrganizationsEnvironmentsAnalyticsService struct { |
| s *Service |
| |
| Admin *OrganizationsEnvironmentsAnalyticsAdminService |
| |
| Exports *OrganizationsEnvironmentsAnalyticsExportsService |
| } |
| |
| func NewOrganizationsEnvironmentsAnalyticsAdminService(s *Service) *OrganizationsEnvironmentsAnalyticsAdminService { |
| rs := &OrganizationsEnvironmentsAnalyticsAdminService{s: s} |
| return rs |
| } |
| |
| type OrganizationsEnvironmentsAnalyticsAdminService struct { |
| s *Service |
| } |
| |
| func NewOrganizationsEnvironmentsAnalyticsExportsService(s *Service) *OrganizationsEnvironmentsAnalyticsExportsService { |
| rs := &OrganizationsEnvironmentsAnalyticsExportsService{s: s} |
| return rs |
| } |
| |
| type OrganizationsEnvironmentsAnalyticsExportsService 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) |
| rs.Deployments = NewOrganizationsEnvironmentsApisRevisionsDeploymentsService(s) |
| return rs |
| } |
| |
| type OrganizationsEnvironmentsApisRevisionsService struct { |
| s *Service |
| |
| Debugsessions *OrganizationsEnvironmentsApisRevisionsDebugsessionsService |
| |
| Deployments *OrganizationsEnvironmentsApisRevisionsDeploymentsService |
| } |
| |
| 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 NewOrganizationsEnvironmentsApisRevisionsDeploymentsService(s *Service) *OrganizationsEnvironmentsApisRevisionsDeploymentsService { |
| rs := &OrganizationsEnvironmentsApisRevisionsDeploymentsService{s: s} |
| return rs |
| } |
| |
| type OrganizationsEnvironmentsApisRevisionsDeploymentsService 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 NewOrganizationsInstancesService(s *Service) *OrganizationsInstancesService { |
| rs := &OrganizationsInstancesService{s: s} |
| rs.Attachments = NewOrganizationsInstancesAttachmentsService(s) |
| return rs |
| } |
| |
| type OrganizationsInstancesService struct { |
| s *Service |
| |
| Attachments *OrganizationsInstancesAttachmentsService |
| } |
| |
| func NewOrganizationsInstancesAttachmentsService(s *Service) *OrganizationsInstancesAttachmentsService { |
| rs := &OrganizationsInstancesAttachmentsService{s: s} |
| return rs |
| } |
| |
| type OrganizationsInstancesAttachmentsService 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: - Manage API products - Managing a |
| // transaction recording policy using the API |
| 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. *NOTE:* Typically, `auto` is used |
| // to provide access to free or trial API products that provide limited |
| // quota or capabilities. |
| 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: - Specify transaction success criteria - Specify custom |
| // attributes on which you base rate plan charges. |
| 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._\-$ %. *NOTE:* The internal name |
| // cannot be edited when updating the API product. |
| 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. *NOTE:* The |
| // API proxy names must already exist in the specified environment as |
| // they will be validated upon creation. |
| 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: Name of the API product. |
| Apiproduct string `json:"apiproduct,omitempty"` |
| |
| // Status: 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/9cfc0d85-0f30-46d6-ae |
| // 6f-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/9cfc0d85-0f30-46d6-ae |
| // 6f-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) |
| } |
| |
| // GoogleCloudApigeeV1Attribute: Key-value pair to store extra metadata. |
| type GoogleCloudApigeeV1Attribute struct { |
| // Name: API key of the attribute. |
| Name string `json:"name,omitempty"` |
| |
| // Value: 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: 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) |
| } |
| |
| // 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: List of API products this credential can be used for. |
| ApiProducts []*GoogleCloudApigeeV1ApiProductRef `json:"apiProducts,omitempty"` |
| |
| // Attributes: List of attributes associated with this credential. |
| Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"` |
| |
| // ConsumerKey: Consumer key. |
| ConsumerKey string `json:"consumerKey,omitempty"` |
| |
| // ConsumerSecret: Secret key. |
| ConsumerSecret string `json:"consumerSecret,omitempty"` |
| |
| // ExpiresAt: Time the credential will expire in milliseconds since |
| // epoch. |
| ExpiresAt int64 `json:"expiresAt,omitempty,string"` |
| |
| // IssuedAt: Time the credential was issued in milliseconds since epoch. |
| IssuedAt int64 `json:"issuedAt,omitempty,string"` |
| |
| // Scopes: List of scopes to apply to the app. Specified scopes 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"` |
| |
| // 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) |
| } |
| |
| // GoogleCloudApigeeV1DataCollectorConfig: A DataCollector and its |
| // configuration. |
| type GoogleCloudApigeeV1DataCollectorConfig struct { |
| // Name: The name of the data collector. Must be of the form |
| // 'organizations/{org}/datacollectors/{dc}'. |
| Name string `json:"name,omitempty"` |
| |
| // Type: The data type this DataCollector accepts. |
| // |
| // Possible values: |
| // "TYPE_UNSPECIFIED" - For future compatibility. |
| // "INTEGER" - For integer values. |
| // "FLOAT" - For float values. |
| // "STRING" - For string values. |
| // "BOOLEAN" - For boolean values. |
| // "DATETIME" - For datetime values. |
| Type string `json:"type,omitempty"` |
| |
| // ForceSendFields is a list of field names (e.g. "Name") to |
| // unconditionally include in API requests. By default, fields with |
| // empty values are omitted from API requests. However, any non-pointer, |
| // non-interface field appearing in ForceSendFields will be sent to the |
| // server regardless of whether the field is empty or not. This may be |
| // used to include empty fields in Patch requests. |
| ForceSendFields []string `json:"-"` |
| |
| // NullFields is a list of field names (e.g. "Name") to include in API |
| // requests with the JSON null value. By default, fields with empty |
| // values are omitted from API requests. However, any field with an |
| // empty value appearing in NullFields will be sent to the server as |
| // null. It is an error if a field in this list has a non-empty value. |
| // This may be used to include null fields in Patch requests. |
| NullFields []string `json:"-"` |
| } |
| |
| func (s *GoogleCloudApigeeV1DataCollectorConfig) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1DataCollectorConfig |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1Datastore: The data store defines the connection |
| // to export data repository (Cloud Storage, BigQuery), including the |
| // credentials used to access the data repository. |
| type GoogleCloudApigeeV1Datastore struct { |
| // CreateTime: Output only. Datastore create time, in milliseconds since |
| // the epoch of 1970-01-01T00:00:00Z |
| CreateTime int64 `json:"createTime,omitempty,string"` |
| |
| // DatastoreConfig: Datastore Configurations. |
| DatastoreConfig *GoogleCloudApigeeV1DatastoreConfig `json:"datastoreConfig,omitempty"` |
| |
| // DisplayName: Required. Display name in UI |
| DisplayName string `json:"displayName,omitempty"` |
| |
| // LastUpdateTime: Output only. Datastore last update time, in |
| // milliseconds since the epoch of 1970-01-01T00:00:00Z |
| LastUpdateTime int64 `json:"lastUpdateTime,omitempty,string"` |
| |
| // Org: Output only. Organization that the datastore belongs to |
| Org string `json:"org,omitempty"` |
| |
| // Self: Output only. Resource link of Datastore. Example: |
| // `/organizations/{org}/analytics/datastores/{uuid}` |
| Self string `json:"self,omitempty"` |
| |
| // TargetType: Destination storage type. Supported types `gcs` or |
| // `bigquery`. |
| TargetType string `json:"targetType,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 *GoogleCloudApigeeV1Datastore) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1Datastore |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1DatastoreConfig: Configuration detail for |
| // datastore |
| type GoogleCloudApigeeV1DatastoreConfig struct { |
| // BucketName: Name of the Cloud Storage bucket. Required for `gcs` |
| // target_type. |
| BucketName string `json:"bucketName,omitempty"` |
| |
| // DatasetName: BigQuery dataset name Required for `bigquery` |
| // target_type. |
| DatasetName string `json:"datasetName,omitempty"` |
| |
| // Path: Path of Cloud Storage bucket Required for `gcs` target_type. |
| Path string `json:"path,omitempty"` |
| |
| // ProjectId: Required. GCP project in which the datastore exists |
| ProjectId string `json:"projectId,omitempty"` |
| |
| // TablePrefix: Prefix of BigQuery table Required for `bigquery` |
| // target_type. |
| TablePrefix string `json:"tablePrefix,omitempty"` |
| |
| // ForceSendFields is a list of field names (e.g. "BucketName") 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. "BucketName") 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 *GoogleCloudApigeeV1DatastoreConfig) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1DatastoreConfig |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1DateRange: Date range of the data to export. |
| type GoogleCloudApigeeV1DateRange struct { |
| // End: Required. End date (exclusive) of the data to export in the |
| // format `yyyy-mm-dd`. The date range ends at 00:00:00 UTC on the end |
| // date- which will not be in the output. |
| End string `json:"end,omitempty"` |
| |
| // Start: Required. Start date of the data to export in the format |
| // `yyyy-mm-dd`. The date range begins at 00:00:00 UTC on the start |
| // date. |
| Start string `json:"start,omitempty"` |
| |
| // ForceSendFields is a list of field names (e.g. "End") 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. "End") 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 *GoogleCloudApigeeV1DateRange) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1DateRange |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| type GoogleCloudApigeeV1DebugMask struct { |
| // FaultJSONPaths: List of JSON paths that specify the JSON elements to |
| // be filtered from JSON payloads in error flows. |
| FaultJSONPaths []string `json:"faultJSONPaths,omitempty"` |
| |
| // FaultXPaths: List of XPaths that specify the XML elements to be |
| // filtered from XML payloads in error flows. |
| FaultXPaths []string `json:"faultXPaths,omitempty"` |
| |
| // Name: Name of the debug mask. |
| 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 the JSON elements |
| // to be filtered from JSON request message payloads. |
| RequestJSONPaths []string `json:"requestJSONPaths,omitempty"` |
| |
| // RequestXPaths: List of XPaths that specify the XML elements to be |
| // filtered from XML request message payloads. |
| RequestXPaths []string `json:"requestXPaths,omitempty"` |
| |
| // ResponseJSONPaths: List of JSON paths that specify the JSON elements |
| // to be filtered from JSON response message payloads. |
| ResponseJSONPaths []string `json:"responseJSONPaths,omitempty"` |
| |
| // ResponseXPaths: List of XPaths that specify the XML elements to be |
| // filtered from XML response message payloads. |
| ResponseXPaths []string `json:"responseXPaths,omitempty"` |
| |
| // Variables: List of variables that should be masked from the 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"` |
| |
| // Errors: Errors reported for this deployment. Populated only when |
| // state == ERROR. This field is not populated in List APIs. |
| Errors []*GoogleRpcStatus `json:"errors,omitempty"` |
| |
| // Instances: Status reported by each runtime instance. This field is |
| // not populated in List APIs. |
| Instances []*GoogleCloudApigeeV1InstanceDeploymentStatus `json:"instances,omitempty"` |
| |
| // Pods: Status reported by runtime pods. This field is not populated |
| // for List APIs. |
| Pods []*GoogleCloudApigeeV1PodStatus `json:"pods,omitempty"` |
| |
| // Revision: API proxy revision. |
| Revision string `json:"revision,omitempty"` |
| |
| // RouteConflicts: Conflicts in the desired state routing configuration. |
| // The presence of conflicts does not cause the state to be ERROR, but |
| // it will mean that some of the deployments basepaths are not routed to |
| // its environment. If the conflicts change, the state will transition |
| // to PROGRESSING until the latest configuration is rolled out to all |
| // instances. This field is not populated in List APIs. |
| RouteConflicts []*GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict `json:"routeConflicts,omitempty"` |
| |
| // State: Current state of the deployment. This field is not populated |
| // in List APIs. |
| // |
| // Possible values: |
| // "RUNTIME_STATE_UNSPECIFIED" - This value should never be returned. |
| // "READY" - The runtime has loaded the deployment. |
| // "PROGRESSING" - The deployment is not fully ready in the runtime. |
| // "ERROR" - There is an error with the deployment that requires |
| // intervention. |
| 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. "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) |
| } |
| |
| // GoogleCloudApigeeV1DeploymentChangeReport: Response for |
| // GenerateDeployChangeReport and GenerateUndeployChangeReport. This |
| // report contains any validation failures that would cause the |
| // deployment to be rejected, as well changes and conflicts in routing |
| // that may occur due to the new deployment. The existence of a routing |
| // warning does not necessarily imply that the deployment request is |
| // bad, if the desired state of the deployment request is to effect a |
| // routing change. The primary purposes of the routing messages are: 1) |
| // To inform users of routing changes that may have an effect on traffic |
| // currently being routed to other existing deployments. 2) To warn |
| // users if some basepath in the proxy will not receive traffic due to |
| // an existing deployment having already claimed that basepath. The |
| // presence of routing conflicts/changes will not cause non-dry-run |
| // DeployApiProxy/UndeployApiProxy requests to be rejected. |
| type GoogleCloudApigeeV1DeploymentChangeReport struct { |
| // RoutingChanges: All routing changes that may result from a deployment |
| // request. |
| RoutingChanges []*GoogleCloudApigeeV1DeploymentChangeReportRoutingChange `json:"routingChanges,omitempty"` |
| |
| // RoutingConflicts: All basepath conflicts detected for a deployment |
| // request. |
| RoutingConflicts []*GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict `json:"routingConflicts,omitempty"` |
| |
| // ValidationErrors: Validation errors that would cause the deployment |
| // change request to be rejected. |
| ValidationErrors *GoogleRpcPreconditionFailure `json:"validationErrors,omitempty"` |
| |
| // ServerResponse contains the HTTP response code and headers from the |
| // server. |
| googleapi.ServerResponse `json:"-"` |
| |
| // ForceSendFields is a list of field names (e.g. "RoutingChanges") 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. "RoutingChanges") 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 *GoogleCloudApigeeV1DeploymentChangeReport) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1DeploymentChangeReport |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1DeploymentChangeReportRoutingChange: Describes a |
| // potential routing change that may occur as a result of some |
| // deployment operation. |
| type GoogleCloudApigeeV1DeploymentChangeReportRoutingChange struct { |
| // Description: A human-readable description of this routing change. |
| Description string `json:"description,omitempty"` |
| |
| // EnvironmentGroup: The name of the environment group affected by this |
| // routing change. |
| EnvironmentGroup string `json:"environmentGroup,omitempty"` |
| |
| // FromDeployment: The basepath/deployment that may stop receiving some |
| // traffic. |
| FromDeployment *GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment `json:"fromDeployment,omitempty"` |
| |
| // ShouldSequenceRollout: True if using sequenced rollout would make |
| // this routing change safer. Note: this does not necessarily imply that |
| // automated sequenced rollout mode is supported for the operation. |
| ShouldSequenceRollout bool `json:"shouldSequenceRollout,omitempty"` |
| |
| // ToDeployment: The basepath/deployment that may start receiving that |
| // traffic. May be null if no deployment is able to receive the traffic. |
| ToDeployment *GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment `json:"toDeployment,omitempty"` |
| |
| // ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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 *GoogleCloudApigeeV1DeploymentChangeReportRoutingChange) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1DeploymentChangeReportRoutingChange |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict: Describes a |
| // routing conflict that may cause a deployment not to receive traffic |
| // at some basepath. |
| type GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict struct { |
| // ConflictingDeployment: The existing basepath/deployment causing the |
| // conflict. |
| ConflictingDeployment *GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment `json:"conflictingDeployment,omitempty"` |
| |
| // Description: A human-readable description of this conflict. |
| Description string `json:"description,omitempty"` |
| |
| // EnvironmentGroup: The name of the environment group in which this |
| // conflict exists. |
| EnvironmentGroup string `json:"environmentGroup,omitempty"` |
| |
| // ForceSendFields is a list of field names (e.g. |
| // "ConflictingDeployment") 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. "ConflictingDeployment") 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 *GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment: A tuple |
| // representing a basepath and the deployment containing it. |
| type GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment struct { |
| // ApiProxy: The name of the deployed proxy revision containing the |
| // basepath. |
| ApiProxy string `json:"apiProxy,omitempty"` |
| |
| // Basepath: The basepath receiving traffic. |
| Basepath string `json:"basepath,omitempty"` |
| |
| // Environment: The name of the environment in which the proxy is |
| // deployed. |
| Environment string `json:"environment,omitempty"` |
| |
| // Revision: The name of the deployed proxy revision containing the |
| // basepath. |
| Revision string `json:"revision,omitempty"` |
| |
| // 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 *GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment |
| 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"` |
| |
| // ProxyUid: The uid of the proxy revision. |
| ProxyUid string `json:"proxyUid,omitempty"` |
| |
| // Uid: A unique id that will only change if the deployment is deleted |
| // and recreated. |
| Uid string `json:"uid,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: Developer app family. |
| AppFamily string `json:"appFamily,omitempty"` |
| |
| // Apps: List of apps associated with the developer. |
| Apps []string `json:"apps,omitempty"` |
| |
| // Attributes: Optional. Developer attributes (name/value pairs). The |
| // custom attribute limit is 18. |
| Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"` |
| |
| // Companies: List of companies associated with the developer. |
| Companies []string `json:"companies,omitempty"` |
| |
| // CreatedAt: Output only. Time at which the developer was created in |
| // milliseconds since epoch. |
| CreatedAt int64 `json:"createdAt,omitempty,string"` |
| |
| // DeveloperId: ID of the developer. **Note**: IDs are generated |
| // internally by Apigee and are not guaranteed to stay the same over |
| // time. |
| DeveloperId string `json:"developerId,omitempty"` |
| |
| // Email: Required. Email address of the developer. This value is used |
| // to uniquely identify the developer in Apigee hybrid. |
| Email string `json:"email,omitempty"` |
| |
| // FirstName: Required. First name of the developer. |
| FirstName string `json:"firstName,omitempty"` |
| |
| // LastModifiedAt: Output only. Time at which the developer was last |
| // modified in milliseconds since epoch. |
| LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"` |
| |
| // LastName: Required. Last name of the developer. |
| LastName string `json:"lastName,omitempty"` |
| |
| // OrganizationName: Output only. Name of the Apigee organization in |
| // which the developer resides. |
| OrganizationName string `json:"organizationName,omitempty"` |
| |
| // Status: Output only. Status of the developer. Valid values are |
| // `active` and `inactive`. |
| Status string `json:"status,omitempty"` |
| |
| // UserName: Required. User name of the developer. Not used by Apigee |
| // hybrid. |
| 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: List of API products associated with the developer app. |
| ApiProducts []string `json:"apiProducts,omitempty"` |
| |
| // AppFamily: Developer app family. |
| AppFamily string `json:"appFamily,omitempty"` |
| |
| // AppId: ID of the developer app. |
| AppId string `json:"appId,omitempty"` |
| |
| // Attributes: List of attributes for the developer app. |
| Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"` |
| |
| // CallbackUrl: Callback URL used by OAuth 2.0 authorization servers to |
| // communicate authorization codes back to developer apps. |
| CallbackUrl string `json:"callbackUrl,omitempty"` |
| |
| // CreatedAt: Output only. Time the developer app was created in |
| // milliseconds since epoch. |
| CreatedAt int64 `json:"createdAt,omitempty,string"` |
| |
| // Credentials: Output only. Set of credentials for the developer app |
| // consisting of the consumer key/secret pairs associated with the API |
| // products. |
| Credentials []*GoogleCloudApigeeV1Credential `json:"credentials,omitempty"` |
| |
| // DeveloperId: ID of the developer. |
| DeveloperId string `json:"developerId,omitempty"` |
| |
| // KeyExpiresIn: Expiration time, in milliseconds, for the consumer key |
| // that is generated for the developer app. If not set or left to the |
| // default value of `-1`, the API key never expires. The expiration time |
| // can't be updated after it is set. |
| KeyExpiresIn int64 `json:"keyExpiresIn,omitempty,string"` |
| |
| // LastModifiedAt: Output only. Time the developer app was modified in |
| // milliseconds since epoch. |
| LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"` |
| |
| // Name: Name of the developer app. |
| Name string `json:"name,omitempty"` |
| |
| // Scopes: Scopes to apply to the developer app. The specified scopes |
| // must already exist for the API product that you associate with the |
| // developer app. |
| Scopes []string `json:"scopes,omitempty"` |
| |
| // Status: Status of the credential. Valid values include `approved` or |
| // `revoked`. |
| 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: List of API products for which the credential can be |
| // used. **Note**: Do not specify the list of API products when creating |
| // a consumer key and secret for a developer app. Instead, use the |
| // UpdateDeveloperAppKey API to make the association after the consumer |
| // key and secret are created. |
| ApiProducts []interface{} `json:"apiProducts,omitempty"` |
| |
| // Attributes: List of attributes associated with the credential. |
| Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"` |
| |
| // ConsumerKey: Consumer key. |
| ConsumerKey string `json:"consumerKey,omitempty"` |
| |
| // ConsumerSecret: Secret key. |
| ConsumerSecret string `json:"consumerSecret,omitempty"` |
| |
| // ExpiresAt: Time the developer app expires in milliseconds since |
| // epoch. |
| ExpiresAt int64 `json:"expiresAt,omitempty,string"` |
| |
| // IssuedAt: Time the developer app was created in milliseconds since |
| // epoch. |
| IssuedAt int64 `json:"issuedAt,omitempty,string"` |
| |
| // Scopes: Scopes to apply to the app. The specified scope names must |
| // already be defined for the API product that you associate with the |
| // app. |
| Scopes []string `json:"scopes,omitempty"` |
| |
| // Status: Status of the credential. Valid values include `approved` or |
| // `revoked`. |
| 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. Description of the environment. |
| Description string `json:"description,omitempty"` |
| |
| // DisplayName: Optional. 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. Name of the 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"` |
| |
| // DataCollectors: The list of Data Collectors used by deployments in |
| // the environment. |
| DataCollectors []*GoogleCloudApigeeV1DataCollectorConfig `json:"dataCollectors,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"` |
| |
| // RevisionId: Revision id that defines the ordering on the environment |
| // config. The higher the revision, the more recently the configuration |
| // was deployed. |
| RevisionId int64 `json:"revisionId,omitempty,string"` |
| |
| // SequenceNumber: DEPRECATED: use revision_id |
| 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"` |
| |
| // Uid: A unique id for the environment config that will only change if |
| // the environment is deleted and recreated. |
| Uid string `json:"uid,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) |
| } |
| |
| // GoogleCloudApigeeV1EnvironmentGroup: EnvironmentGroup configuration. |
| // An environment group is used to group one or more Apigee environments |
| // under a single host name. |
| type GoogleCloudApigeeV1EnvironmentGroup struct { |
| // CreatedAt: Output only. The time at which the environment group was |
| // created as milliseconds since epoch. |
| CreatedAt int64 `json:"createdAt,omitempty,string"` |
| |
| // Hostnames: Required. Host names for this environment group. |
| Hostnames []string `json:"hostnames,omitempty"` |
| |
| // LastModifiedAt: Output only. The time at which the environment group |
| // was last updated as milliseconds since epoch. |
| LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"` |
| |
| // Name: ID of the environment group. |
| 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. "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 *GoogleCloudApigeeV1EnvironmentGroup) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1EnvironmentGroup |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1EnvironmentGroupAttachment: |
| // EnvironmentGroupAttachment is a resource which defines an attachment |
| // of an environment to an environment group. |
| type GoogleCloudApigeeV1EnvironmentGroupAttachment struct { |
| // CreatedAt: Output only. The time at which the environment group |
| // attachment was created as milliseconds since epoch. |
| CreatedAt int64 `json:"createdAt,omitempty,string"` |
| |
| // Environment: Required. ID of the attached environment. |
| Environment string `json:"environment,omitempty"` |
| |
| // Name: ID of the environment group attachment. |
| 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. "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 *GoogleCloudApigeeV1EnvironmentGroupAttachment) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1EnvironmentGroupAttachment |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1EnvironmentGroupConfig: EnvironmentGroupConfig is |
| // a revisioned snapshot of an EnvironmentGroup and its associated |
| // routing rules. |
| type GoogleCloudApigeeV1EnvironmentGroupConfig struct { |
| // Hostnames: Host names for the environment group. |
| Hostnames []string `json:"hostnames,omitempty"` |
| |
| // Name: Name of the environment group in the following format: |
| // `organizations/{org}/envgroups/{envgroup}`. |
| Name string `json:"name,omitempty"` |
| |
| // RevisionId: Revision id that defines the ordering of the |
| // EnvironmentGroupConfig resource. The higher the revision, the more |
| // recently the configuration was deployed. |
| RevisionId int64 `json:"revisionId,omitempty,string"` |
| |
| // RoutingRules: Ordered list of routing rules defining how traffic to |
| // this environment group's hostnames should be routed to different |
| // environments. |
| RoutingRules []*GoogleCloudApigeeV1RoutingRule `json:"routingRules,omitempty"` |
| |
| // Uid: A unique id for the environment group config that will only |
| // change if the environment group is deleted and recreated. |
| Uid string `json:"uid,omitempty"` |
| |
| // ForceSendFields is a list of field names (e.g. "Hostnames") 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. "Hostnames") 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 *GoogleCloudApigeeV1EnvironmentGroupConfig) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1EnvironmentGroupConfig |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1Export: Details of an export job. |
| type GoogleCloudApigeeV1Export struct { |
| // Created: Output only. Time the export job was created. |
| Created string `json:"created,omitempty"` |
| |
| // DatastoreName: Name of the datastore that is the destination of the |
| // export job [datastore] |
| DatastoreName string `json:"datastoreName,omitempty"` |
| |
| // Description: Description of the export job. |
| Description string `json:"description,omitempty"` |
| |
| // Error: Output only. Error is set when export fails |
| Error string `json:"error,omitempty"` |
| |
| // ExecutionTime: Output only. Execution time for this export job. If |
| // the job is still in progress, it will be set to the amount of time |
| // that has elapsed since`created`, in seconds. Else, it will set to |
| // (`updated` - `created`), in seconds. |
| ExecutionTime string `json:"executionTime,omitempty"` |
| |
| // Name: Display name of the export job. |
| Name string `json:"name,omitempty"` |
| |
| // Self: Output only. Self link of the export job. A URI that can be |
| // used to retrieve the status of an export job. Example: |
| // `/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f |
| // 30-46d6-ae6f-318d0cb961bd` |
| Self string `json:"self,omitempty"` |
| |
| // State: Output only. Status of the export job. Valid values include |
| // `enqueued`, `running`, `completed`, and `failed`. |
| State string `json:"state,omitempty"` |
| |
| // Updated: Output only. Time the export job was last updated. |
| 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 *GoogleCloudApigeeV1Export) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1Export |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1ExportRequest: Request body for |
| // [CreateExportRequest] |
| type GoogleCloudApigeeV1ExportRequest struct { |
| // CsvDelimiter: Optional. Delimiter used in the CSV file, if |
| // `outputFormat` is set to `csv`. Defaults to the `,` (comma) |
| // character. Supported delimiter characters include comma (`,`), pipe |
| // (`|`), and tab (`\t`). |
| CsvDelimiter string `json:"csvDelimiter,omitempty"` |
| |
| // DatastoreName: Required. Name of the preconfigured datastore. |
| DatastoreName string `json:"datastoreName,omitempty"` |
| |
| // DateRange: Required. Date range of the data to export. |
| DateRange *GoogleCloudApigeeV1DateRange `json:"dateRange,omitempty"` |
| |
| // Description: Optional. Description of the export job. |
| Description string `json:"description,omitempty"` |
| |
| // Name: Required. Display name of the export job. |
| Name string `json:"name,omitempty"` |
| |
| // OutputFormat: Optional. Output format of the export. Valid values |
| // include: `csv` or `json`. Defaults to `json`. Note: Configure the |
| // delimiter for CSV output using the `csvDelimiter` property. |
| OutputFormat string `json:"outputFormat,omitempty"` |
| |
| // ForceSendFields is a list of field names (e.g. "CsvDelimiter") 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. "CsvDelimiter") 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 *GoogleCloudApigeeV1ExportRequest) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1ExportRequest |
| 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: Output only. 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}'. Known |
| // 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: Request for |
| // GetSyncAuthorization. |
| type GoogleCloudApigeeV1GetSyncAuthorizationRequest struct { |
| } |
| |
| type GoogleCloudApigeeV1IngressConfig struct { |
| // EnvironmentGroups: List of environment groups in the organization. |
| EnvironmentGroups []*GoogleCloudApigeeV1EnvironmentGroupConfig `json:"environmentGroups,omitempty"` |
| |
| // Name: Name of the resource in the following format: |
| // `organizations/{org}/deployedIngressConfig`. |
| Name string `json:"name,omitempty"` |
| |
| // RevisionCreateTime: Time at which the IngressConfig revision was |
| // created. |
| RevisionCreateTime string `json:"revisionCreateTime,omitempty"` |
| |
| // RevisionId: Revision id that defines the ordering on IngressConfig |
| // resources. The higher the revision, the more recently the |
| // configuration was deployed. |
| RevisionId int64 `json:"revisionId,omitempty,string"` |
| |
| // Uid: A unique id for the ingress config that will only change if the |
| // organization is deleted and recreated. |
| Uid string `json:"uid,omitempty"` |
| |
| // ServerResponse contains the HTTP response code and headers from the |
| // server. |
| googleapi.ServerResponse `json:"-"` |
| |
| // ForceSendFields is a list of field names (e.g. "EnvironmentGroups") |
| // 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. "EnvironmentGroups") 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 *GoogleCloudApigeeV1IngressConfig) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1IngressConfig |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1Instance: Apigee runtime instance. |
| type GoogleCloudApigeeV1Instance struct { |
| // CreatedAt: Output only. Time the instance was created in milliseconds |
| // since epoch. |
| CreatedAt int64 `json:"createdAt,omitempty,string"` |
| |
| // Description: Optional. Description of the instance. |
| Description string `json:"description,omitempty"` |
| |
| // DiskEncryptionKeyName: Optional. Customer Managed Encryption Key |
| // (CMEK) used for disk & volume encryption. |
| DiskEncryptionKeyName string `json:"diskEncryptionKeyName,omitempty"` |
| |
| // DisplayName: Optional. Display name for the instance. |
| DisplayName string `json:"displayName,omitempty"` |
| |
| // Host: Output only. Hostname or IP address of the exposed Apigee |
| // endpoint used by clients to connect to the service. |
| Host string `json:"host,omitempty"` |
| |
| // LastModifiedAt: Output only. Time the instance was last modified in |
| // milliseconds since epoch. |
| LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"` |
| |
| // Location: Required. Compute Engine location where the instance |
| // resides. |
| Location string `json:"location,omitempty"` |
| |
| // Name: Required. Resource ID of the instance. Values must match the |
| // regular expression `^a-z{0,30}[a-z\d]$`. |
| Name string `json:"name,omitempty"` |
| |
| // Port: Output only. Port number of the exposed Apigee endpoint. |
| Port string `json:"port,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 *GoogleCloudApigeeV1Instance) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1Instance |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1InstanceAttachment: InstanceAttachment represents |
| // the installation of an environment onto an instance. |
| type GoogleCloudApigeeV1InstanceAttachment struct { |
| // CreatedAt: Output only. Time the attachment was created in |
| // milliseconds since epoch. |
| CreatedAt int64 `json:"createdAt,omitempty,string"` |
| |
| // Environment: ID of the attached environment. |
| Environment string `json:"environment,omitempty"` |
| |
| // Name: Output only. ID of the attachment. |
| 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. "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 *GoogleCloudApigeeV1InstanceAttachment) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1InstanceAttachment |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1InstanceDeploymentStatus: The status of a |
| // deployment as reported by a single instance. |
| type GoogleCloudApigeeV1InstanceDeploymentStatus struct { |
| // DeployedRevisions: Revisions currently deployed in MPs. |
| DeployedRevisions []*GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision `json:"deployedRevisions,omitempty"` |
| |
| // DeployedRoutes: The current routes deployed in the ingress routing |
| // table. A route which is missing will be shown with no destination |
| // environment. |
| DeployedRoutes []*GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute `json:"deployedRoutes,omitempty"` |
| |
| // Instance: ID of the instance reporting the status. |
| Instance string `json:"instance,omitempty"` |
| |
| // ForceSendFields is a list of field names (e.g. "DeployedRevisions") |
| // 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. "DeployedRevisions") 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 *GoogleCloudApigeeV1InstanceDeploymentStatus) MarshalJSON() ([]byte, error) { |
| type NoMethod GoogleCloudApigeeV1InstanceDeploymentStatus |
| raw := NoMethod(*s) |
| return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) |
| } |
| |
| // GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision: |
| // Revisions deployed in the MPs. |
| type GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision struct { |
| // Percentage: The percentage of MP replicas reporting this revision |
| Percentage int64 `json:"percentage,omitempty"` |
| |
| // Revision: The proxy revision reported as deployed. |
| Revision string `json:"revision,omitempty"` |
| |
| // ForceSendFields is a list of field names (e.g. "Percentage") to |
| // unconditionally include in API requests. By default, fields with |
| // empty values are omitted from API requests. However, any non-pointer, |
|