apigee

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright 2023 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package apigee contains methods and types for handling apigee GCP resources.

Copyright 2023 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package apigee defines operations in the declarative SDK.

Copyright 2023 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2023 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2023 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2023 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2023 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2023 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const EnvironmentMaxPage = -1
View Source
const OrganizationMaxPage = -1

Variables

View Source
var YAML_environment = []byte("info:\n  title: Apigee/Environment\n  description: The Apigee Environment resource\n  x-dcl-struct-name: Environment\n  x-dcl-has-iam: true\npaths:\n  get:\n    description: The function used to get information about a Environment\n    parameters:\n    - name: environment\n      required: true\n      description: A full instance of a Environment\n  apply:\n    description: The function used to apply information about a Environment\n    parameters:\n    - name: environment\n      required: true\n      description: A full instance of a Environment\n  delete:\n    description: The function used to delete a Environment\n    parameters:\n    - name: environment\n      required: true\n      description: A full instance of a Environment\n  deleteAll:\n    description: The function used to delete all Environment\n    parameters:\n    - name: apigeeOrganization\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Environment\n    parameters:\n    - name: apigeeOrganization\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Environment:\n      title: Environment\n      x-dcl-id: organizations/{{apigee_organization}}/environments/{{name}}\n      x-dcl-has-create: true\n      x-dcl-has-iam: true\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - apigeeOrganization\n      properties:\n        apigeeOrganization:\n          type: string\n          x-dcl-go-name: ApigeeOrganization\n          description: The apigee organization for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Apigee/Organization\n            field: name\n            parent: true\n        createdAt:\n          type: integer\n          format: int64\n          x-dcl-go-name: CreatedAt\n          readOnly: true\n          description: Output only. Creation time of this environment as milliseconds\n            since epoch.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. Description of the environment.\n        displayName:\n          type: string\n          x-dcl-go-name: DisplayName\n          description: Optional. Display name for this environment.\n        lastModifiedAt:\n          type: integer\n          format: int64\n          x-dcl-go-name: LastModifiedAt\n          readOnly: true\n          description: Output only. Last modification time of this environment as\n            milliseconds since epoch.\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Required. Name of the environment. Values must match the regular\n            expression ^[.\\p{Alnum}-_]{1,255}$\n          x-kubernetes-immutable: true\n        properties:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Properties\n          description: Optional. Key-value pairs that may be used for customizing\n            the environment.\n        state:\n          type: string\n          x-dcl-go-name: State\n          x-dcl-go-type: EnvironmentStateEnum\n          readOnly: true\n          description: 'Output only. State of the environment. Values other than ACTIVE\n            means the resource is not ready to use. Possible values: STATE_UNSPECIFIED,\n            CREATING, ACTIVE, DELETING'\n          x-kubernetes-immutable: true\n          enum:\n          - STATE_UNSPECIFIED\n          - CREATING\n          - ACTIVE\n          - DELETING\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/environment.yaml

View Source
var YAML_organization = []byte("info:\n  title: Apigee/Organization\n  description: The Apigee Organization resource\n  x-dcl-struct-name: Organization\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a Organization\n    parameters:\n    - name: organization\n      required: true\n      description: A full instance of a Organization\n  apply:\n    description: The function used to apply information about a Organization\n    parameters:\n    - name: organization\n      required: true\n      description: A full instance of a Organization\n  delete:\n    description: The function used to delete a Organization\n    parameters:\n    - name: organization\n      required: true\n      description: A full instance of a Organization\n  deleteAll:\n    description: The function used to delete all Organization\n    parameters: []\n  list:\n    description: The function used to list information about many Organization\n    parameters: []\ncomponents:\n  schemas:\n    Organization:\n      title: Organization\n      x-dcl-id: organizations/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 4800\n      x-dcl-delete-timeout: 4800\n      type: object\n      required:\n      - analyticsRegion\n      - runtimeType\n      properties:\n        addonsConfig:\n          type: object\n          x-dcl-go-name: AddonsConfig\n          x-dcl-go-type: OrganizationAddonsConfig\n          description: Addon configurations of the Apigee organization.\n          properties:\n            advancedApiOpsConfig:\n              type: object\n              x-dcl-go-name: AdvancedApiOpsConfig\n              x-dcl-go-type: OrganizationAddonsConfigAdvancedApiOpsConfig\n              description: Configuration for the Advanced API Ops add-on.\n              properties:\n                enabled:\n                  type: boolean\n                  x-dcl-go-name: Enabled\n                  description: Flag that specifies whether the Advanced API Ops add-on\n                    is enabled.\n            monetizationConfig:\n              type: object\n              x-dcl-go-name: MonetizationConfig\n              x-dcl-go-type: OrganizationAddonsConfigMonetizationConfig\n              description: Configuration for the Monetization add-on.\n              properties:\n                enabled:\n                  type: boolean\n                  x-dcl-go-name: Enabled\n                  description: Flag that specifies whether the Monetization add-on\n                    is enabled.\n        analyticsRegion:\n          type: string\n          x-dcl-go-name: AnalyticsRegion\n          description: Required. Primary GCP region for analytics data storage. For\n            valid values, see (https://cloud.google.com/apigee/docs/api-platform/get-started/create-org).\n          x-kubernetes-immutable: true\n        authorizedNetwork:\n          type: string\n          x-dcl-go-name: AuthorizedNetwork\n          description: 'Compute Engine network used for Service Networking to be peered\n            with Apigee runtime instances. See (https://cloud.google.com/vpc/docs/shared-vpc).\n            To use a shared VPC network, use the following format: `projects/{host-project-id}/{region}/networks/{network-name}`.\n            For example: `projects/my-sharedvpc-host/global/networks/mynetwork` **Note:**\n            Not supported for Apigee hybrid.'\n          x-dcl-references:\n          - resource: Compute/Network\n            field: name\n        billingType:\n          type: string\n          x-dcl-go-name: BillingType\n          x-dcl-go-type: OrganizationBillingTypeEnum\n          readOnly: true\n          description: 'Output only. Billing type of the Apigee organization. See\n            (https://cloud.google.com/apigee/pricing). Possible values: BILLING_TYPE_UNSPECIFIED,\n            SUBSCRIPTION, EVALUATION'\n          x-kubernetes-immutable: true\n          enum:\n          - BILLING_TYPE_UNSPECIFIED\n          - SUBSCRIPTION\n          - EVALUATION\n        caCertificate:\n          type: string\n          x-dcl-go-name: CaCertificate\n          readOnly: true\n          description: Output only. Base64-encoded public certificate for the root\n            CA of the Apigee organization. Valid only when (#RuntimeType) is `CLOUD`.\n          x-kubernetes-immutable: true\n        createdAt:\n          type: integer\n          format: int64\n          x-dcl-go-name: CreatedAt\n          readOnly: true\n          description: Output only. Time that the Apigee organization was created\n            in milliseconds since epoch.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Description of the Apigee organization.\n        displayName:\n          type: string\n          x-dcl-go-name: DisplayName\n          description: Display name for the Apigee organization.\n        environments:\n          type: array\n          x-dcl-go-name: Environments\n          readOnly: true\n          description: Output only. List of environments in the Apigee organization.\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n        expiresAt:\n          type: integer\n          format: int64\n          x-dcl-go-name: ExpiresAt\n          readOnly: true\n          description: Output only. Time that the Apigee organization is scheduled\n            for deletion.\n          x-kubernetes-immutable: true\n        lastModifiedAt:\n          type: integer\n          format: int64\n          x-dcl-go-name: LastModifiedAt\n          readOnly: true\n          description: Output only. Time that the Apigee organization was last modified\n            in milliseconds since epoch.\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Output only. Name of the Apigee organization.\n          x-kubernetes-immutable: true\n          x-dcl-server-generated-parameter: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: 'Required. Name of the GCP project in which to associate the\n            Apigee organization. Pass the information as a query parameter using the\n            following structure in your request: projects/<project> Authorization\n            requires the following IAM permission on the specified resource parent:\n            apigee.organizations.create'\n          x-kubernetes-immutable: true\n          x-dcl-forward-slash-allowed: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        projectId:\n          type: string\n          x-dcl-go-name: ProjectId\n          readOnly: true\n          description: Output only. Project ID associated with the Apigee organization.\n          x-kubernetes-immutable: true\n        properties:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Properties\n          description: Properties defined in the Apigee organization profile.\n        runtimeDatabaseEncryptionKeyName:\n          type: string\n          x-dcl-go-name: RuntimeDatabaseEncryptionKeyName\n          description: 'Cloud KMS key name used for encrypting the data that is stored\n            and replicated across runtime instances. Update is not allowed after the\n            organization is created. Required when (#RuntimeType) is `TRIAL`, a Google-Managed\n            encryption key will be used. For example: \"projects/foo/locations/us/keyRings/bar/cryptoKeys/baz\".\n            **Note:** Not supported for Apigee hybrid.'\n          x-dcl-references:\n          - resource: Cloudkms/CryptoKey\n            field: name\n        runtimeType:\n          type: string\n          x-dcl-go-name: RuntimeType\n          x-dcl-go-type: OrganizationRuntimeTypeEnum\n          description: 'Required. Runtime type of the Apigee organization based on\n            the Apigee subscription purchased. Possible values: RUNTIME_TYPE_UNSPECIFIED,\n            CLOUD, HYBRID'\n          x-kubernetes-immutable: true\n          enum:\n          - RUNTIME_TYPE_UNSPECIFIED\n          - CLOUD\n          - HYBRID\n        state:\n          type: string\n          x-dcl-go-name: State\n          x-dcl-go-type: OrganizationStateEnum\n          readOnly: true\n          description: 'Output only. State of the organization. Values other than\n            ACTIVE means the resource is not ready to use. Possible values: SNAPSHOT_STATE_UNSPECIFIED,\n            MISSING, OK_DOCSTORE, OK_SUBMITTED, OK_EXTERNAL, DELETED'\n          x-kubernetes-immutable: true\n          enum:\n          - SNAPSHOT_STATE_UNSPECIFIED\n          - MISSING\n          - OK_DOCSTORE\n          - OK_SUBMITTED\n          - OK_EXTERNAL\n          - DELETED\n        subscriptionType:\n          type: string\n          x-dcl-go-name: SubscriptionType\n          x-dcl-go-type: OrganizationSubscriptionTypeEnum\n          readOnly: true\n          description: 'Output only. DEPRECATED: This will eventually be replaced\n            by BillingType. Subscription type of the Apigee organization. Valid values\n            include trial (free, limited, and for evaluation purposes only) or paid\n            (full subscription has been purchased). See (https://cloud.google.com/apigee/pricing/).\n            Possible values: SUBSCRIPTION_TYPE_UNSPECIFIED, PAID, TRIAL'\n          x-kubernetes-immutable: true\n          enum:\n          - SUBSCRIPTION_TYPE_UNSPECIFIED\n          - PAID\n          - TRIAL\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/apigee/organization.yaml

Functions

func DCLEnvironmentSchema added in v1.10.3

func DCLEnvironmentSchema() *dcl.Schema

func DCLOrganizationSchema added in v1.10.3

func DCLOrganizationSchema() *dcl.Schema

Types

type Client

type Client struct {
	Config *dcl.Config
}

The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.

func NewClient

func NewClient(c *dcl.Config) *Client

NewClient creates a client that retries all operations a few times each.

func (*Client) ApplyEnvironment

func (c *Client) ApplyEnvironment(ctx context.Context, rawDesired *Environment, opts ...dcl.ApplyOption) (*Environment, error)

func (*Client) ApplyOrganization

func (c *Client) ApplyOrganization(ctx context.Context, rawDesired *Organization, opts ...dcl.ApplyOption) (*Organization, error)

func (*Client) DeleteAllEnvironment

func (c *Client) DeleteAllEnvironment(ctx context.Context, apigeeOrganization string, filter func(*Environment) bool) error

DeleteAllEnvironment deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllOrganization

func (c *Client) DeleteAllOrganization(ctx context.Context, filter func(*Organization) bool) error

DeleteAllOrganization deletes all resources that the filter functions returns true on.

func (*Client) DeleteEnvironment

func (c *Client) DeleteEnvironment(ctx context.Context, r *Environment) error

func (*Client) DeleteOrganization

func (c *Client) DeleteOrganization(ctx context.Context, r *Organization) error

func (*Client) GetEnvironment

func (c *Client) GetEnvironment(ctx context.Context, r *Environment) (*Environment, error)

func (*Client) GetOrganization

func (c *Client) GetOrganization(ctx context.Context, r *Organization) (*Organization, error)

func (*Client) ListEnvironment

func (c *Client) ListEnvironment(ctx context.Context, apigeeOrganization string) (*EnvironmentList, error)

ListEnvironment returns an EnvironmentList containing all Environment resources in the given organization.

func (*Client) ListEnvironmentWithMaxResults

func (c *Client) ListEnvironmentWithMaxResults(ctx context.Context, apigeeOrganization string, pageSize int32) (*EnvironmentList, error)

ListEnvironmentWithMaxResults returns an EnvironmentList containing all Environment resources in the given organization.

func (*Client) ListOrganization

func (c *Client) ListOrganization(ctx context.Context) (*OrganizationList, error)

ListOrganization returns a list of apigee organizations which the client has permission to access.

func (*Client) ListOrganizationWithMaxResults

func (c *Client) ListOrganizationWithMaxResults(ctx context.Context, pageSize int32) (*OrganizationList, error)

ListOrganizationWithMaxResults returns a list of apigee organizations with the given page size.

type Environment

type Environment struct {
	Name               *string               `json:"name"`
	Description        *string               `json:"description"`
	CreatedAt          *int64                `json:"createdAt"`
	LastModifiedAt     *int64                `json:"lastModifiedAt"`
	Properties         map[string]string     `json:"properties"`
	DisplayName        *string               `json:"displayName"`
	State              *EnvironmentStateEnum `json:"state"`
	ApigeeOrganization *string               `json:"apigeeOrganization"`
}

func (*Environment) Describe

func (r *Environment) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*Environment) GetPolicy

func (r *Environment) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)

func (*Environment) IAMPolicyVersion

func (r *Environment) IAMPolicyVersion() int

func (*Environment) ID

func (r *Environment) ID() (string, error)

func (*Environment) SetPolicyURL

func (r *Environment) SetPolicyURL(userBasePath string) string

func (*Environment) SetPolicyVerb

func (r *Environment) SetPolicyVerb() string

func (*Environment) String

func (r *Environment) String() string

type EnvironmentList

type EnvironmentList struct {
	Items []*Environment
	// contains filtered or unexported fields
}

func (*EnvironmentList) HasNext

func (l *EnvironmentList) HasNext() bool

HasNext returns an empty token.

func (*EnvironmentList) Next

func (l *EnvironmentList) Next(ctx context.Context, c *Client) error

Next returns an error because environment list has no pages.

type EnvironmentStateEnum

type EnvironmentStateEnum string

The enum EnvironmentStateEnum.

func EnvironmentStateEnumRef

func EnvironmentStateEnumRef(s string) *EnvironmentStateEnum

EnvironmentStateEnumRef returns a *EnvironmentStateEnum with the value of string s If the empty string is provided, nil is returned.

func (EnvironmentStateEnum) Validate

func (v EnvironmentStateEnum) Validate() error

type Organization

type Organization struct {
	Name                             *string                           `json:"name"`
	DisplayName                      *string                           `json:"displayName"`
	Description                      *string                           `json:"description"`
	CreatedAt                        *int64                            `json:"createdAt"`
	LastModifiedAt                   *int64                            `json:"lastModifiedAt"`
	ExpiresAt                        *int64                            `json:"expiresAt"`
	Environments                     []string                          `json:"environments"`
	Properties                       map[string]string                 `json:"properties"`
	AnalyticsRegion                  *string                           `json:"analyticsRegion"`
	AuthorizedNetwork                *string                           `json:"authorizedNetwork"`
	RuntimeType                      *OrganizationRuntimeTypeEnum      `json:"runtimeType"`
	SubscriptionType                 *OrganizationSubscriptionTypeEnum `json:"subscriptionType"`
	BillingType                      *OrganizationBillingTypeEnum      `json:"billingType"`
	AddonsConfig                     *OrganizationAddonsConfig         `json:"addonsConfig"`
	CaCertificate                    *string                           `json:"caCertificate"`
	RuntimeDatabaseEncryptionKeyName *string                           `json:"runtimeDatabaseEncryptionKeyName"`
	ProjectId                        *string                           `json:"projectId"`
	State                            *OrganizationStateEnum            `json:"state"`
	Project                          *string                           `json:"project"`
}

func (*Organization) Describe

func (r *Organization) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*Organization) ID

func (r *Organization) ID() (string, error)

func (*Organization) String

func (r *Organization) String() string

type OrganizationAddonsConfig

type OrganizationAddonsConfig struct {
	AdvancedApiOpsConfig *OrganizationAddonsConfigAdvancedApiOpsConfig `json:"advancedApiOpsConfig"`
	MonetizationConfig   *OrganizationAddonsConfigMonetizationConfig   `json:"monetizationConfig"`
	// contains filtered or unexported fields
}
var EmptyOrganizationAddonsConfig *OrganizationAddonsConfig = &OrganizationAddonsConfig{empty: true}

This object is used to assert a desired state where this OrganizationAddonsConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OrganizationAddonsConfig) Empty

func (r *OrganizationAddonsConfig) Empty() bool

func (*OrganizationAddonsConfig) HashCode

func (r *OrganizationAddonsConfig) HashCode() string

func (*OrganizationAddonsConfig) String

func (r *OrganizationAddonsConfig) String() string

func (*OrganizationAddonsConfig) UnmarshalJSON

func (r *OrganizationAddonsConfig) UnmarshalJSON(data []byte) error

type OrganizationAddonsConfigAdvancedApiOpsConfig

type OrganizationAddonsConfigAdvancedApiOpsConfig struct {
	Enabled *bool `json:"enabled"`
	// contains filtered or unexported fields
}
var EmptyOrganizationAddonsConfigAdvancedApiOpsConfig *OrganizationAddonsConfigAdvancedApiOpsConfig = &OrganizationAddonsConfigAdvancedApiOpsConfig{empty: true}

This object is used to assert a desired state where this OrganizationAddonsConfigAdvancedApiOpsConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OrganizationAddonsConfigAdvancedApiOpsConfig) Empty

func (*OrganizationAddonsConfigAdvancedApiOpsConfig) HashCode

func (*OrganizationAddonsConfigAdvancedApiOpsConfig) String

func (*OrganizationAddonsConfigAdvancedApiOpsConfig) UnmarshalJSON

func (r *OrganizationAddonsConfigAdvancedApiOpsConfig) UnmarshalJSON(data []byte) error

type OrganizationAddonsConfigMonetizationConfig

type OrganizationAddonsConfigMonetizationConfig struct {
	Enabled *bool `json:"enabled"`
	// contains filtered or unexported fields
}
var EmptyOrganizationAddonsConfigMonetizationConfig *OrganizationAddonsConfigMonetizationConfig = &OrganizationAddonsConfigMonetizationConfig{empty: true}

This object is used to assert a desired state where this OrganizationAddonsConfigMonetizationConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*OrganizationAddonsConfigMonetizationConfig) Empty

func (*OrganizationAddonsConfigMonetizationConfig) HashCode

func (*OrganizationAddonsConfigMonetizationConfig) String

func (*OrganizationAddonsConfigMonetizationConfig) UnmarshalJSON

func (r *OrganizationAddonsConfigMonetizationConfig) UnmarshalJSON(data []byte) error

type OrganizationBillingTypeEnum

type OrganizationBillingTypeEnum string

The enum OrganizationBillingTypeEnum.

func OrganizationBillingTypeEnumRef

func OrganizationBillingTypeEnumRef(s string) *OrganizationBillingTypeEnum

OrganizationBillingTypeEnumRef returns a *OrganizationBillingTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (OrganizationBillingTypeEnum) Validate

func (v OrganizationBillingTypeEnum) Validate() error

type OrganizationList

type OrganizationList struct {
	Items []*Organization
	// contains filtered or unexported fields
}

func (*OrganizationList) HasNext

func (l *OrganizationList) HasNext() bool

HasNext returns whether the list has a next page.

func (*OrganizationList) Next

func (l *OrganizationList) Next(ctx context.Context, c *Client) error

Next advances the list to its next page.

type OrganizationRuntimeTypeEnum

type OrganizationRuntimeTypeEnum string

The enum OrganizationRuntimeTypeEnum.

func OrganizationRuntimeTypeEnumRef

func OrganizationRuntimeTypeEnumRef(s string) *OrganizationRuntimeTypeEnum

OrganizationRuntimeTypeEnumRef returns a *OrganizationRuntimeTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (OrganizationRuntimeTypeEnum) Validate

func (v OrganizationRuntimeTypeEnum) Validate() error

type OrganizationStateEnum

type OrganizationStateEnum string

The enum OrganizationStateEnum.

func OrganizationStateEnumRef

func OrganizationStateEnumRef(s string) *OrganizationStateEnum

OrganizationStateEnumRef returns a *OrganizationStateEnum with the value of string s If the empty string is provided, nil is returned.

func (OrganizationStateEnum) Validate

func (v OrganizationStateEnum) Validate() error

type OrganizationSubscriptionTypeEnum

type OrganizationSubscriptionTypeEnum string

The enum OrganizationSubscriptionTypeEnum.

func OrganizationSubscriptionTypeEnumRef

func OrganizationSubscriptionTypeEnumRef(s string) *OrganizationSubscriptionTypeEnum

OrganizationSubscriptionTypeEnumRef returns a *OrganizationSubscriptionTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (OrganizationSubscriptionTypeEnum) Validate

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL