alpha

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Copyright 2022 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 alpha defines operations in the declarative SDK.

Copyright 2022 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 compute contains handwritten support code for the compute service.

Copyright 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2021 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 2022 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 2022 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 2021 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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 FirewallPolicyAssociationMaxPage = -1
View Source
const FirewallPolicyMaxPage = -1
View Source
const FirewallPolicyRuleMaxPage = -1
View Source
const ForwardingRuleMaxPage = -1
View Source
const InstanceGroupManagerMaxPage = -1
View Source
const InstanceMaxPage = -1
View Source
const InterconnectAttachmentMaxPage = -1
View Source
const InterconnectMaxPage = -1
View Source
const NetworkMaxPage = -1
View Source
const PacketMirroringMaxPage = -1
View Source
const RouteMaxPage = -1
View Source
const ServiceAttachmentMaxPage = -1
View Source
const SubnetworkMaxPage = -1
View Source
const VpnTunnelMaxPage = -1

Variables

View Source
var YAML_firewall_policy = []byte("info:\n  title: Compute/FirewallPolicy\n  description: The Compute FirewallPolicy resource\n  x-dcl-struct-name: FirewallPolicy\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a FirewallPolicy\n    parameters:\n    - name: FirewallPolicy\n      required: true\n      description: A full instance of a FirewallPolicy\n  apply:\n    description: The function used to apply information about a FirewallPolicy\n    parameters:\n    - name: FirewallPolicy\n      required: true\n      description: A full instance of a FirewallPolicy\n  delete:\n    description: The function used to delete a FirewallPolicy\n    parameters:\n    - name: FirewallPolicy\n      required: true\n      description: A full instance of a FirewallPolicy\n  deleteAll:\n    description: The function used to delete all FirewallPolicy\n    parameters:\n    - name: parent\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many FirewallPolicy\n    parameters:\n    - name: parent\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    FirewallPolicy:\n      title: FirewallPolicy\n      x-dcl-id: locations/global/firewallPolicies/{{name}}\n      x-dcl-locations:\n      - global\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - shortName\n      - parent\n      properties:\n        creationTimestamp:\n          type: string\n          x-dcl-go-name: CreationTimestamp\n          readOnly: true\n          description: Creation timestamp in RFC3339 text format.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: An optional description of this resource. Provide this property\n            when you create the resource.\n        fingerprint:\n          type: string\n          x-dcl-go-name: Fingerprint\n          readOnly: true\n          description: Fingerprint of the resource. This field is used internally\n            during updates of this resource.\n          x-kubernetes-immutable: true\n        id:\n          type: string\n          x-dcl-go-name: Id\n          readOnly: true\n          description: The unique identifier for the resource. This identifier is\n            defined by the server.\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Name of the resource. It is a numeric ID allocated by GCP which\n            uniquely identifies the Firewall Policy.\n          x-kubernetes-immutable: true\n          x-dcl-server-generated-parameter: true\n        parent:\n          type: string\n          x-dcl-go-name: Parent\n          description: The parent of the firewall policy.\n          x-kubernetes-immutable: true\n          x-dcl-forward-slash-allowed: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Folder\n            field: name\n            parent: true\n          - resource: Cloudresourcemanager/Organization\n            field: name\n            parent: true\n        ruleTupleCount:\n          type: integer\n          format: int64\n          x-dcl-go-name: RuleTupleCount\n          readOnly: true\n          description: Total count of all firewall policy rule tuples. A firewall\n            policy can not exceed a set number of tuples.\n          x-kubernetes-immutable: true\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Server-defined URL for the resource.\n          x-kubernetes-immutable: true\n        selfLinkWithId:\n          type: string\n          x-dcl-go-name: SelfLinkWithId\n          readOnly: true\n          description: Server-defined URL for this resource with the resource id.\n          x-kubernetes-immutable: true\n        shortName:\n          type: string\n          x-dcl-go-name: ShortName\n          description: User-provided name of the Organization firewall policy. The\n            name should be unique in the organization in which the firewall policy\n            is created. The name must be 1-63 characters long, and comply with RFC1035.\n            Specifically, the name must be 1-63 characters long and match the regular\n            expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character\n            must be a lowercase letter, and all following characters must be a dash,\n            lowercase letter, or digit, except the last character, which cannot be\n            a dash.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/firewall_policy.yaml

View Source
var YAML_firewall_policy_association = []byte("info:\n  title: Compute/FirewallPolicyAssociation\n  description: The Compute FirewallPolicyAssociation resource\n  x-dcl-struct-name: FirewallPolicyAssociation\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a FirewallPolicyAssociation\n    parameters:\n    - name: FirewallPolicyAssociation\n      required: true\n      description: A full instance of a FirewallPolicyAssociation\n  apply:\n    description: The function used to apply information about a FirewallPolicyAssociation\n    parameters:\n    - name: FirewallPolicyAssociation\n      required: true\n      description: A full instance of a FirewallPolicyAssociation\n  delete:\n    description: The function used to delete a FirewallPolicyAssociation\n    parameters:\n    - name: FirewallPolicyAssociation\n      required: true\n      description: A full instance of a FirewallPolicyAssociation\n  deleteAll:\n    description: The function used to delete all FirewallPolicyAssociation\n    parameters:\n    - name: firewallpolicy\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many FirewallPolicyAssociation\n    parameters:\n    - name: firewallpolicy\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    FirewallPolicyAssociation:\n      title: FirewallPolicyAssociation\n      x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/associations/{{name}}\n      x-dcl-locations:\n      - global\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - attachmentTarget\n      - firewallPolicy\n      properties:\n        attachmentTarget:\n          type: string\n          x-dcl-go-name: AttachmentTarget\n          description: The target that the firewall policy is attached to.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Folder\n            field: name\n          - resource: Cloudresourcemanager/Organization\n            field: name\n        firewallPolicy:\n          type: string\n          x-dcl-go-name: FirewallPolicy\n          description: The firewall policy ID of the association.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Compute/FirewallPolicy\n            field: name\n            parent: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: The name for an association.\n          x-kubernetes-immutable: true\n        shortName:\n          type: string\n          x-dcl-go-name: ShortName\n          readOnly: true\n          description: The short name of the firewall policy of the association.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/firewall_policy_association.yaml

View Source
var YAML_firewall_policy_rule = []byte("info:\n  title: Compute/FirewallPolicyRule\n  description: The Compute FirewallPolicyRule resource\n  x-dcl-struct-name: FirewallPolicyRule\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a FirewallPolicyRule\n    parameters:\n    - name: FirewallPolicyRule\n      required: true\n      description: A full instance of a FirewallPolicyRule\n  apply:\n    description: The function used to apply information about a FirewallPolicyRule\n    parameters:\n    - name: FirewallPolicyRule\n      required: true\n      description: A full instance of a FirewallPolicyRule\n  delete:\n    description: The function used to delete a FirewallPolicyRule\n    parameters:\n    - name: FirewallPolicyRule\n      required: true\n      description: A full instance of a FirewallPolicyRule\n  deleteAll:\n    description: The function used to delete all FirewallPolicyRule\n    parameters:\n    - name: firewallpolicy\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many FirewallPolicyRule\n    parameters:\n    - name: firewallpolicy\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    FirewallPolicyRule:\n      title: FirewallPolicyRule\n      x-dcl-id: locations/global/firewallPolicies/{{firewall_policy}}/rules/{{priority}}\n      x-dcl-locations:\n      - global\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - priority\n      - match\n      - action\n      - direction\n      - firewallPolicy\n      properties:\n        action:\n          type: string\n          x-dcl-go-name: Action\n          description: The Action to perform when the client connection triggers the\n            rule. Can currently be either \"allow\" or \"deny()\" where valid values for\n            status are 403, 404, and 502.\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: An optional description for this resource.\n        direction:\n          type: string\n          x-dcl-go-name: Direction\n          x-dcl-go-type: FirewallPolicyRuleDirectionEnum\n          description: 'The direction in which this rule applies. Possible values:\n            INGRESS, EGRESS'\n          enum:\n          - INGRESS\n          - EGRESS\n        disabled:\n          type: boolean\n          x-dcl-go-name: Disabled\n          description: Denotes whether the firewall policy rule is disabled. When\n            set to true, the firewall policy rule is not enforced and traffic behaves\n            as if it did not exist. If this is unspecified, the firewall policy rule\n            will be enabled.\n        enableLogging:\n          type: boolean\n          x-dcl-go-name: EnableLogging\n          description: 'Denotes whether to enable logging for a particular rule. If\n            logging is enabled, logs will be exported to the configured export destination\n            in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you\n            cannot enable logging on \"goto_next\" rules.'\n        firewallPolicy:\n          type: string\n          x-dcl-go-name: FirewallPolicy\n          description: The firewall policy of the resource.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Compute/FirewallPolicy\n            field: name\n            parent: true\n        kind:\n          type: string\n          x-dcl-go-name: Kind\n          readOnly: true\n          description: Type of the resource. Always `compute#firewallPolicyRule` for\n            firewall policy rules\n          x-kubernetes-immutable: true\n        match:\n          type: object\n          x-dcl-go-name: Match\n          x-dcl-go-type: FirewallPolicyRuleMatch\n          description: A match condition that incoming traffic is evaluated against.\n            If it evaluates to true, the corresponding 'action' is enforced.\n          required:\n          - layer4Configs\n          properties:\n            destIPRanges:\n              type: array\n              x-dcl-go-name: DestIPRanges\n              description: CIDR IP address range. Maximum number of destination CIDR\n                IP ranges allowed is 256.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            layer4Configs:\n              type: array\n              x-dcl-go-name: Layer4Configs\n              description: Pairs of IP protocols and ports that the rule should match.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: FirewallPolicyRuleMatchLayer4Configs\n                required:\n                - ipProtocol\n                properties:\n                  ipProtocol:\n                    type: string\n                    x-dcl-go-name: IPProtocol\n                    description: The IP protocol to which this rule applies. The protocol\n                      type is required when creating a firewall rule. This value can\n                      either be one of the following well known protocol strings (`tcp`,\n                      `udp`, `icmp`, `esp`, `ah`, `ipip`, `sctp`), or the IP protocol\n                      number.\n                  ports:\n                    type: array\n                    x-dcl-go-name: Ports\n                    description: 'An optional list of ports to which this rule applies.\n                      This field is only applicable for UDP or TCP protocol. Each\n                      entry must be either an integer or a range. If not specified,\n                      this rule applies to connections through any port. Example inputs\n                      include: ``.'\n                    x-dcl-send-empty: true\n                    x-dcl-list-type: list\n                    items:\n                      type: string\n                      x-dcl-go-type: string\n            srcIPRanges:\n              type: array\n              x-dcl-go-name: SrcIPRanges\n              description: CIDR IP address range. Maximum number of source CIDR IP\n                ranges allowed is 256.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n        priority:\n          type: integer\n          format: int64\n          x-dcl-go-name: Priority\n          description: An integer indicating the priority of a rule in the list. The\n            priority must be a positive value between 0 and 2147483647. Rules are\n            evaluated from highest to lowest priority where 0 is the highest priority\n            and 2147483647 is the lowest prority.\n          x-kubernetes-immutable: true\n        ruleTupleCount:\n          type: integer\n          format: int64\n          x-dcl-go-name: RuleTupleCount\n          readOnly: true\n          description: Calculation of the complexity of a single firewall policy rule.\n        targetResources:\n          type: array\n          x-dcl-go-name: TargetResources\n          description: A list of network resource URLs to which this rule applies.\n            This field allows you to control which network's VMs get this rule. If\n            this field is left blank, all VMs within the organization will receive\n            the rule.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Compute/Network\n              field: selfLink\n        targetServiceAccounts:\n          type: array\n          x-dcl-go-name: TargetServiceAccounts\n          description: A list of service accounts indicating the sets of instances\n            that are applied with this rule.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Iam/ServiceAccount\n              field: name\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/firewall_policy_rule.yaml

View Source
var YAML_forwarding_rule = []byte("info:\n  title: Compute/ForwardingRule\n  description: The Compute ForwardingRule resource\n  x-dcl-struct-name: ForwardingRule\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a ForwardingRule\n    parameters:\n    - name: ForwardingRule\n      required: true\n      description: A full instance of a ForwardingRule\n  apply:\n    description: The function used to apply information about a ForwardingRule\n    parameters:\n    - name: ForwardingRule\n      required: true\n      description: A full instance of a ForwardingRule\n  delete:\n    description: The function used to delete a ForwardingRule\n    parameters:\n    - name: ForwardingRule\n      required: true\n      description: A full instance of a ForwardingRule\n  deleteAll:\n    description: The function used to delete all ForwardingRule\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many ForwardingRule\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    ForwardingRule:\n      title: ForwardingRule\n      x-dcl-id: projects/{{project}}/global/forwardingRules/{{name}}\n      x-dcl-locations:\n      - region\n      - global\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - project\n      properties:\n        allPorts:\n          type: boolean\n          x-dcl-go-name: AllPorts\n          description: This field is used along with the `backend_service` field for\n            internal load balancing or with the `target` field for internal TargetInstance.\n            This field cannot be used with `port` or `portRange` fields. When the\n            load balancing scheme is `INTERNAL` and protocol is TCP/UDP, specify this\n            field to allow packets addressed to any ports will be forwarded to the\n            backends configured with this forwarding rule.\n          x-kubernetes-immutable: true\n        allowGlobalAccess:\n          type: boolean\n          x-dcl-go-name: AllowGlobalAccess\n          description: This field is used along with the `backend_service` field for\n            internal load balancing or with the `target` field for internal TargetInstance.\n            If the field is set to `TRUE`, clients can access ILB from all regions.\n            Otherwise only allows access from clients in the same region as the internal\n            load balancer.\n        backendService:\n          type: string\n          x-dcl-go-name: BackendService\n          description: This field is only used for `INTERNAL` load balancing. For\n            internal load balancing, this field identifies the BackendService resource\n            to receive the matched traffic.\n          x-kubernetes-immutable: true\n        creationTimestamp:\n          type: string\n          x-dcl-go-name: CreationTimestamp\n          readOnly: true\n          description: '[Output Only] Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n            text format.'\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: An optional description of this resource. Provide this property\n            when you create the resource.\n          x-kubernetes-immutable: true\n        ipAddress:\n          type: string\n          x-dcl-go-name: IPAddress\n          description: 'IP address that this forwarding rule serves. When a client\n            sends traffic to this IP address, the forwarding rule directs the traffic\n            to the target that you specify in the forwarding rule. If you don''t specify\n            a reserved IP address, an ephemeral IP address is assigned. Methods for\n            specifying an IP address: * IPv4 dotted decimal, as in `100.1.2.3` * Full\n            URL, as in `https://www.googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-name`\n            * Partial URL or by name, as in: * `projects/project_id/regions/region/addresses/address-name`\n            * `regions/region/addresses/address-name` * `global/addresses/address-name`\n            * `address-name` The loadBalancingScheme and the forwarding rule''s target\n            determine the type of IP address that you can use. For detailed information,\n            refer to [IP address specifications](/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).'\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n        ipProtocol:\n          type: string\n          x-dcl-go-name: IPProtocol\n          x-dcl-go-type: ForwardingRuleIPProtocolEnum\n          description: The IP protocol to which this rule applies. For protocol forwarding,\n            valid options are `TCP`, `UDP`, `ESP`, `AH`, `SCTP` or `ICMP`. For Internal\n            TCP/UDP Load Balancing, the load balancing scheme is `INTERNAL`, and one\n            of `TCP` or `UDP` are valid. For Traffic Director, the load balancing\n            scheme is `INTERNAL_SELF_MANAGED`, and only `TCP`is valid. For Internal\n            HTTP(S) Load Balancing, the load balancing scheme is `INTERNAL_MANAGED`,\n            and only `TCP` is valid. For HTTP(S), SSL Proxy, and TCP Proxy Load Balancing,\n            the load balancing scheme is `EXTERNAL` and only `TCP` is valid. For Network\n            TCP/UDP Load Balancing, the load balancing scheme is `EXTERNAL`, and one\n            of `TCP` or `UDP` is valid.\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n          enum:\n          - TCP\n          - UDP\n          - ESP\n          - AH\n          - SCTP\n          - ICMP\n          - L3_DEFAULT\n        ipVersion:\n          type: string\n          x-dcl-go-name: IPVersion\n          x-dcl-go-type: ForwardingRuleIPVersionEnum\n          description: 'The IP Version that will be used by this forwarding rule.\n            Valid options are `IPV4` or `IPV6`. This can only be specified for an\n            external global forwarding rule. Possible values: UNSPECIFIED_VERSION,\n            IPV4, IPV6'\n          x-kubernetes-immutable: true\n          enum:\n          - UNSPECIFIED_VERSION\n          - IPV4\n          - IPV6\n        isMirroringCollector:\n          type: boolean\n          x-dcl-go-name: IsMirroringCollector\n          description: Indicates whether or not this load balancer can be used as\n            a collector for packet mirroring. To prevent mirroring loops, instances\n            behind this load balancer will not have their traffic mirrored even if\n            a `PacketMirroring` rule applies to them. This can only be set to true\n            for load balancers that have their `loadBalancingScheme` set to `INTERNAL`.\n          x-kubernetes-immutable: true\n        labelFingerprint:\n          type: string\n          x-dcl-go-name: LabelFingerprint\n          readOnly: true\n          description: Used internally during label updates.\n          x-kubernetes-immutable: true\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Labels to apply to this rule.\n        loadBalancingScheme:\n          type: string\n          x-dcl-go-name: LoadBalancingScheme\n          x-dcl-go-type: ForwardingRuleLoadBalancingSchemeEnum\n          description: \"Specifies the forwarding rule type.\\n\\n*   `EXTERNAL` is used\n            for:\\n    *   Classic Cloud VPN gateways\\n    *   Protocol forwarding\n            to VMs from an external IP address\\n    *   The following load balancers:\n            HTTP(S), SSL Proxy, TCP Proxy, and Network TCP/UDP\\n*   `INTERNAL` is\n            used for:\\n    *   Protocol forwarding to VMs from an internal IP address\\n\n            \\   *   Internal TCP/UDP load balancers\\n*   `INTERNAL_MANAGED` is used\n            for:\\n    *   Internal HTTP(S) load balancers\\n*   `INTERNAL_SELF_MANAGED`\n            is used for:\\n    *   Traffic Director\\n*   `EXTERNAL_MANAGED` is used\n            for:\\n    *   Global external HTTP(S) load balancers \\n\\nFor more information\n            about forwarding rules, refer to [Forwarding rule concepts](/load-balancing/docs/forwarding-rule-concepts).\n            Possible values: INVALID, INTERNAL, INTERNAL_MANAGED, INTERNAL_SELF_MANAGED,\n            EXTERNAL, EXTERNAL_MANAGED\"\n          x-kubernetes-immutable: true\n          enum:\n          - INVALID\n          - INTERNAL\n          - INTERNAL_MANAGED\n          - INTERNAL_SELF_MANAGED\n          - EXTERNAL\n          - EXTERNAL_MANAGED\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location of this resource.\n          x-kubernetes-immutable: true\n        metadataFilter:\n          type: array\n          x-dcl-go-name: MetadataFilter\n          description: |-\n            Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set of [xDS](https://github.com/envoyproxy/data-plane-api/blob/master/XDS_PROTOCOL.md) compliant clients. In their xDS requests to Loadbalancer, xDS clients present [node metadata](https://github.com/envoyproxy/data-plane-api/search?q=%22message+Node%22+in%3A%2Fenvoy%2Fapi%2Fv2%2Fcore%2Fbase.proto&). If a match takes place, the relevant configuration is made available to those proxies. Otherwise, all the resources (e.g. `TargetHttpProxy`, `UrlMap`) referenced by the `ForwardingRule` will not be visible to those proxies.\n\n            For each `metadataFilter` in this list, if its `filterMatchCriteria` is set to MATCH_ANY, at least one of the `filterLabel`s must match the corresponding label provided in the metadata. If its `filterMatchCriteria` is set to MATCH_ALL, then all of its `filterLabel`s must match with corresponding labels provided in the metadata.\n\n            `metadataFilters` specified here will be applifed before those specified in the `UrlMap` that this `ForwardingRule` references.\n\n            `metadataFilters` only applies to Loadbalancers that have their loadBalancingScheme set to `INTERNAL_SELF_MANAGED`.\n          x-kubernetes-immutable: true\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: ForwardingRuleMetadataFilter\n            required:\n            - filterMatchCriteria\n            - filterLabel\n            properties:\n              filterLabel:\n                type: array\n                x-dcl-go-name: FilterLabel\n                description: |-\n                  The list of label value pairs that must match labels in the provided metadata based on `filterMatchCriteria`\n\n                  This list must not be empty and can have at the most 64 entries.\n                x-kubernetes-immutable: true\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: ForwardingRuleMetadataFilterFilterLabel\n                  required:\n                  - name\n                  - value\n                  properties:\n                    name:\n                      type: string\n                      x-dcl-go-name: Name\n                      description: |-\n                        Name of metadata label.\n\n                        The name can have a maximum length of 1024 characters and must be at least 1 character long.\n                      x-kubernetes-immutable: true\n                    value:\n                      type: string\n                      x-dcl-go-name: Value\n                      description: |-\n                        The value of the label must match the specified value.\n\n                        value can have a maximum length of 1024 characters.\n                      x-kubernetes-immutable: true\n              filterMatchCriteria:\n                type: string\n                x-dcl-go-name: FilterMatchCriteria\n                x-dcl-go-type: ForwardingRuleMetadataFilterFilterMatchCriteriaEnum\n                description: |-\n                  Specifies how individual `filterLabel` matches within the list of `filterLabel`s contribute towards the overall `metadataFilter` match.\n\n                  Supported values are:\n\n                  *   MATCH_ANY: At least one of the `filterLabels` must have a matching label in the provided metadata.\n                  *   MATCH_ALL: All `filterLabels` must have matching labels in the provided metadata. Possible values: NOT_SET, MATCH_ALL, MATCH_ANY\n                x-kubernetes-immutable: true\n                enum:\n                - NOT_SET\n                - MATCH_ALL\n                - MATCH_ANY\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Name of the resource; provided by the client when the resource\n            is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n            Specifically, the name must be 1-63 characters long and match the regular\n            expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n            must be a lowercase letter, and all following characters must be a dash,\n            lowercase letter, or digit, except the last character, which cannot be\n            a dash.\n          x-kubernetes-immutable: true\n        network:\n          type: string\n          x-dcl-go-name: Network\n          description: This field is not used for external load balancing. For `INTERNAL`\n            and `INTERNAL_SELF_MANAGED` load balancing, this field identifies the\n            network that the load balanced IP should belong to for this Forwarding\n            Rule. If this field is not specified, the default network will be used.\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n        networkTier:\n          type: string\n          x-dcl-go-name: NetworkTier\n          x-dcl-go-type: ForwardingRuleNetworkTierEnum\n          description: 'This signifies the networking tier used for configuring this\n            load balancer and can only take the following values: `PREMIUM`, `STANDARD`.\n            For regional ForwardingRule, the valid values are `PREMIUM` and `STANDARD`.\n            For GlobalForwardingRule, the valid value is `PREMIUM`. If this field\n            is not specified, it is assumed to be `PREMIUM`. If `IPAddress` is specified,\n            this value must be equal to the networkTier of the Address.'\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n          enum:\n          - PREMIUM\n          - STANDARD\n        portRange:\n          type: string\n          x-dcl-go-name: PortRange\n          description: |-\n            When the load balancing scheme is `EXTERNAL`, `INTERNAL_SELF_MANAGED` and `INTERNAL_MANAGED`, you can specify a `port_range`. Use with a forwarding rule that points to a target proxy or a target pool. Do not use with a forwarding rule that points to a backend service. This field is used along with the `target` field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance. Applicable only when `IPProtocol` is `TCP`, `UDP`, or `SCTP`, only packets addressed to ports in the specified range will be forwarded to `target`. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. Some types of forwarding target have constraints on the acceptable ports:\n\n            *   TargetHttpProxy: 80, 8080\n            *   TargetHttpsProxy: 443\n            *   TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n            *   TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222\n            *   TargetVpnGateway: 500, 4500\n\n            @pattern: d+(?:-d+)?\n          x-kubernetes-immutable: true\n        ports:\n          type: array\n          x-dcl-go-name: Ports\n          description: 'This field is used along with the `backend_service` field\n            for internal load balancing. When the load balancing scheme is `INTERNAL`,\n            a list of ports can be configured, for example, [''80''], [''8000'',''9000''].\n            Only packets addressed to these ports are forwarded to the backends configured\n            with the forwarding rule. If the forwarding rule''s loadBalancingScheme\n            is INTERNAL, you can specify ports in one of the following ways: * A list\n            of up to five ports, which can be non-contiguous * Keyword `ALL`, which\n            causes the forwarding rule to forward traffic on any port of the forwarding\n            rule''s protocol. @pattern: d+(?:-d+)? For more information, refer to\n            [Port specifications](/load-balancing/docs/forwarding-rule-concepts#port_specifications).'\n          x-kubernetes-immutable: true\n          x-dcl-send-empty: true\n          x-dcl-list-type: set\n          items:\n            type: string\n            x-dcl-go-type: string\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project this resource belongs in.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        region:\n          type: string\n          x-dcl-go-name: Region\n          description: '[Output Only] URL of the region where the regional forwarding\n            rule resides. This field is not applicable to global forwarding rules.\n            You must specify this field as part of the HTTP request URL. It is not\n            settable as a field in the request body.'\n          x-kubernetes-immutable: true\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: '[Output Only] Server-defined URL for the resource.'\n          x-kubernetes-immutable: true\n        serviceDirectoryRegistrations:\n          type: array\n          x-dcl-go-name: ServiceDirectoryRegistrations\n          description: Service Directory resources to register this forwarding rule\n            with. Currently, only supports a single Service Directory resource.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: ForwardingRuleServiceDirectoryRegistrations\n            properties:\n              namespace:\n                type: string\n                x-dcl-go-name: Namespace\n                description: Service Directory namespace to register the forwarding\n                  rule under.\n              service:\n                type: string\n                x-dcl-go-name: Service\n                description: Service Directory service to register the forwarding\n                  rule under.\n        serviceLabel:\n          type: string\n          x-dcl-go-name: ServiceLabel\n          description: An optional prefix to the service name for this Forwarding\n            Rule. If specified, the prefix is the first label of the fully qualified\n            service name. The label must be 1-63 characters long, and comply with\n            [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, the label\n            must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`\n            which means the first character must be a lowercase letter, and all following\n            characters must be a dash, lowercase letter, or digit, except the last\n            character, which cannot be a dash. This field is only used for internal\n            load balancing.\n          x-kubernetes-immutable: true\n        serviceName:\n          type: string\n          x-dcl-go-name: ServiceName\n          readOnly: true\n          description: '[Output Only] The internal fully qualified service name for\n            this Forwarding Rule. This field is only used for internal load balancing.'\n          x-kubernetes-immutable: true\n        subnetwork:\n          type: string\n          x-dcl-go-name: Subnetwork\n          description: This field is only used for `INTERNAL` load balancing. For\n            internal load balancing, this field identifies the subnetwork that the\n            load balanced IP should belong to for this Forwarding Rule. If the network\n            specified is in auto subnet mode, this field is optional. However, if\n            the network is in custom subnet mode, a subnetwork must be specified.\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n        target:\n          type: string\n          x-dcl-go-name: Target\n          description: The URL of the target resource to receive the matched traffic.\n            For regional forwarding rules, this target must live in the same region\n            as the forwarding rule. For global forwarding rules, this target must\n            be a global load balancing resource. The forwarded traffic must be of\n            a type appropriate to the target object. For `INTERNAL_SELF_MANAGED` load\n            balancing, only `targetHttpProxy` is valid, not `targetHttpsProxy`.\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/forwarding_rule.yaml

View Source
var YAML_instance = []byte("info:\n  title: Compute/Instance\n  description: The Compute Instance resource\n  x-dcl-struct-name: Instance\n  x-dcl-has-iam: true\npaths:\n  get:\n    description: The function used to get information about a Instance\n    parameters:\n    - name: Instance\n      required: true\n      description: A full instance of a Instance\n  apply:\n    description: The function used to apply information about a Instance\n    parameters:\n    - name: Instance\n      required: true\n      description: A full instance of a Instance\n  delete:\n    description: The function used to delete a Instance\n    parameters:\n    - name: Instance\n      required: true\n      description: A full instance of a Instance\n  deleteAll:\n    description: The function used to delete all Instance\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: zone\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Instance\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: zone\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Instance:\n      title: Instance\n      x-dcl-id: projects/{{project}}/zones/{{zone}}/instances/{{name}}\n      x-dcl-locations:\n      - zone\n      x-dcl-uses-state-hint: true\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-iam: true\n      type: object\n      required:\n      - zone\n      - project\n      properties:\n        canIPForward:\n          type: boolean\n          x-dcl-go-name: CanIPForward\n          description: Allows this instance to send and receive packets with non-matching\n            destination or source IPs. This is required if you plan to use this instance\n            to forward routes.\n          x-kubernetes-immutable: true\n        cpuPlatform:\n          type: string\n          x-dcl-go-name: CpuPlatform\n          readOnly: true\n          description: The CPU platform used by this instance.\n          x-kubernetes-immutable: true\n        creationTimestamp:\n          type: string\n          x-dcl-go-name: CreationTimestamp\n          readOnly: true\n          description: Creation timestamp in RFC3339 text format.\n          x-kubernetes-immutable: true\n        deletionProtection:\n          type: boolean\n          x-dcl-go-name: DeletionProtection\n          description: Whether the resource should be protected against deletion.\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: An optional description of this resource.\n          x-kubernetes-immutable: true\n        disks:\n          type: array\n          x-dcl-go-name: Disks\n          description: An array of disks that are associated with the instances that\n            are created from this template.\n          x-kubernetes-immutable: true\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: InstanceDisks\n            properties:\n              autoDelete:\n                type: boolean\n                x-dcl-go-name: AutoDelete\n                description: 'Specifies whether the disk will be auto-deleted when\n                  the instance is deleted (but not when the disk is detached from\n                  the instance).  Tip: Disks should be set to autoDelete=true so that\n                  leftover disks are not left behind on machine deletion.'\n                x-kubernetes-immutable: true\n              boot:\n                type: boolean\n                x-dcl-go-name: Boot\n                description: Indicates that this is a boot disk. The virtual machine\n                  will use the first partition of the disk for its root filesystem.\n                x-kubernetes-immutable: true\n              deviceName:\n                type: string\n                x-dcl-go-name: DeviceName\n                description: Specifies a unique device name of your choice that is\n                  reflected into the /dev/disk/by-id/google-* tree of a Linux operating\n                  system running within the instance. This name can be used to reference\n                  the device for mounting, resizing, and so on, from within the instance.\n                x-kubernetes-immutable: true\n              diskEncryptionKey:\n                type: object\n                x-dcl-go-name: DiskEncryptionKey\n                x-dcl-go-type: InstanceDisksDiskEncryptionKey\n                description: Encrypts or decrypts a disk using a customer-supplied\n                  encryption key.\n                x-kubernetes-immutable: true\n                properties:\n                  rawKey:\n                    type: string\n                    x-dcl-go-name: RawKey\n                    description: Specifies a 256-bit customer-supplied encryption\n                      key, encoded in RFC 4648 base64 to either encrypt or decrypt\n                      this resource.\n                    x-kubernetes-immutable: true\n                  rsaEncryptedKey:\n                    type: string\n                    x-dcl-go-name: RsaEncryptedKey\n                    description: Specifies an RFC 4648 base64 encoded, RSA-wrapped\n                      2048-bit customer-supplied encryption key to either encrypt\n                      or decrypt this resource.\n                    x-kubernetes-immutable: true\n                  sha256:\n                    type: string\n                    x-dcl-go-name: Sha256\n                    readOnly: true\n                    description: The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied\n                      encryption key that protects this resource.\n                    x-kubernetes-immutable: true\n              index:\n                type: integer\n                format: int64\n                x-dcl-go-name: Index\n                description: Assigns a zero-based index to this disk, where 0 is reserved\n                  for the boot disk. For example, if you have many disks attached\n                  to an instance, each disk would have a unique index number. If not\n                  specified, the server will choose an appropriate value.\n                x-kubernetes-immutable: true\n              initializeParams:\n                type: object\n                x-dcl-go-name: InitializeParams\n                x-dcl-go-type: InstanceDisksInitializeParams\n                description: Specifies the parameters for a new disk that will be\n                  created alongside the new instance. Use initialization parameters\n                  to create boot disks or local SSDs attached to the new instance.\n                x-kubernetes-immutable: true\n                x-dcl-mutable-unreadable: true\n                properties:\n                  diskName:\n                    type: string\n                    x-dcl-go-name: DiskName\n                    description: Specifies the disk name. If not specified, the default\n                      is to use the name of the instance.\n                    x-kubernetes-immutable: true\n                  diskSizeGb:\n                    type: integer\n                    format: int64\n                    x-dcl-go-name: DiskSizeGb\n                    description: Specifies the size of the disk in base-2 GB.\n                    x-kubernetes-immutable: true\n                  diskType:\n                    type: string\n                    x-dcl-go-name: DiskType\n                    description: Reference to a disk type. Specifies the disk type\n                      to use to create the instance. If not specified, the default\n                      is pd-standard.\n                    x-kubernetes-immutable: true\n                    x-dcl-references:\n                    - resource: Compute/DiskType\n                      field: name\n                  sourceImage:\n                    type: string\n                    x-dcl-go-name: SourceImage\n                    description: The source image to create this disk. When creating\n                      a new instance, one of initializeParams.sourceImage or disks.source\n                      is required.  To create a disk with one of the public operating\n                      system images, specify the image by its family name.\n                    x-kubernetes-immutable: true\n                  sourceImageEncryptionKey:\n                    type: object\n                    x-dcl-go-name: SourceImageEncryptionKey\n                    x-dcl-go-type: InstanceDisksInitializeParamsSourceImageEncryptionKey\n                    description: The customer-supplied encryption key of the source\n                      image. Required if the source image is protected by a customer-supplied\n                      encryption key.  Instance templates do not store customer-supplied\n                      encryption keys, so you cannot create disks for instances in\n                      a managed instance group if the source images are encrypted\n                      with your own keys.\n                    x-kubernetes-immutable: true\n                    properties:\n                      rawKey:\n                        type: string\n                        x-dcl-go-name: RawKey\n                        description: Specifies a 256-bit customer-supplied encryption\n                          key, encoded in RFC 4648 base64 to either encrypt or decrypt\n                          this resource.\n                        x-kubernetes-immutable: true\n                      sha256:\n                        type: string\n                        x-dcl-go-name: Sha256\n                        readOnly: true\n                        description: The RFC 4648 base64 encoded SHA-256 hash of the\n                          customer-supplied encryption key that protects this resource.\n                        x-kubernetes-immutable: true\n              interface:\n                type: string\n                x-dcl-go-name: Interface\n                x-dcl-go-type: InstanceDisksInterfaceEnum\n                description: Specifies the disk interface to use for attaching this\n                  disk, which is either SCSI or NVME. The default is SCSI. Persistent\n                  disks must always use SCSI and the request will fail if you attempt\n                  to attach a persistent disk in any other format than SCSI.\n                x-kubernetes-immutable: true\n                enum:\n                - SCSI\n                - NVME\n              mode:\n                type: string\n                x-dcl-go-name: Mode\n                x-dcl-go-type: InstanceDisksModeEnum\n                description: The mode in which to attach this disk, either READ_WRITE\n                  or READ_ONLY. If not specified, the default is to attach the disk\n                  in READ_WRITE mode.\n                x-kubernetes-immutable: true\n                enum:\n                - READ_WRITE\n                - READ_ONLY\n              source:\n                type: string\n                x-dcl-go-name: Source\n                description: Reference to a disk. When creating a new instance, one\n                  of initializeParams.sourceImage or disks.source is required.  If\n                  desired, you can also attach existing non-root persistent disks\n                  using this property. This field is only applicable for persistent\n                  disks.\n                x-kubernetes-immutable: true\n                x-dcl-references:\n                - resource: Compute/Disk\n                  field: selfLink\n              type:\n                type: string\n                x-dcl-go-name: Type\n                x-dcl-go-type: InstanceDisksTypeEnum\n                description: Specifies the type of the disk, either SCRATCH or PERSISTENT.\n                  If not specified, the default is PERSISTENT.\n                x-kubernetes-immutable: true\n                enum:\n                - SCRATCH\n                - PERSISTENT\n          x-dcl-mutable-unreadable: true\n        guestAccelerators:\n          type: array\n          x-dcl-go-name: GuestAccelerators\n          description: List of the type and count of accelerator cards attached to\n            the instance\n          x-kubernetes-immutable: true\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: InstanceGuestAccelerators\n            properties:\n              acceleratorCount:\n                type: integer\n                format: int64\n                x-dcl-go-name: AcceleratorCount\n                description: The number of the guest accelerator cards exposed to\n                  this instance.\n                x-kubernetes-immutable: true\n              acceleratorType:\n                type: string\n                x-dcl-go-name: AcceleratorType\n                description: Full or partial URL of the accelerator type resource\n                  to expose to this instance.\n                x-kubernetes-immutable: true\n        hostname:\n          type: string\n          x-dcl-go-name: Hostname\n          description: The hostname of the instance to be created. The specified hostname\n            must be RFC1035 compliant. If hostname is not specified, the default hostname\n            is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS,\n            and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.\n          x-kubernetes-immutable: true\n        id:\n          type: string\n          x-dcl-go-name: Id\n          readOnly: true\n          description: The unique identifier for the resource. This identifier is\n            defined by the server.\n          x-kubernetes-immutable: true\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Labels to apply to this instance.  A list of key->value pairs.\n        machineType:\n          type: string\n          x-dcl-go-name: MachineType\n          description: A reference to a machine type which defines VM kind.\n          x-dcl-forward-slash-allowed: true\n          x-dcl-references:\n          - resource: Compute/MachineType\n            field: name\n        metadata:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Metadata\n          description: The metadata key/value pairs to assign to instances that are\n            created from this template. These pairs can consist of custom metadata\n            or predefined keys.\n        minCpuPlatform:\n          type: string\n          x-dcl-go-name: MinCpuPlatform\n          description: Specifies a minimum CPU platform for the VM instance. Applicable\n            values are the friendly names of CPU platforms\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: The name of the resource, provided by the client when initially\n            creating the resource. The resource name must be 1-63 characters long,\n            and comply with RFC1035. Specifically, the name must be 1-63 characters\n            long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which\n            means the first character must be a lowercase letter, and all following\n            characters must be a dash, lowercase letter, or digit, except the last\n            character, which cannot be a dash.\n          x-kubernetes-immutable: true\n        networkInterfaces:\n          type: array\n          x-dcl-go-name: NetworkInterfaces\n          description: An array of configurations for this interface. This specifies\n            how this interface is configured to interact with other network services,\n            such as connecting to the internet. Only one network interface is supported\n            per instance.\n          x-kubernetes-immutable: true\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: InstanceNetworkInterfaces\n            properties:\n              accessConfigs:\n                type: array\n                x-dcl-go-name: AccessConfigs\n                description: An array of configurations for this interface. Currently,\n                  only one access config, ONE_TO_ONE_NAT, is supported. If there are\n                  no accessConfigs specified, then this instance will have no external\n                  internet access.\n                x-kubernetes-immutable: true\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: InstanceNetworkInterfacesAccessConfigs\n                  required:\n                  - name\n                  - type\n                  properties:\n                    externalIPv6:\n                      type: string\n                      x-dcl-go-name: ExternalIPv6\n                      readOnly: true\n                      description: The first IPv6 address of the external IPv6 range\n                        associated with this instance, prefix length is stored in\n                        externalIpv6PrefixLength in ipv6AccessConfig. The field is\n                        output only, an IPv6 address from a subnetwork associated\n                        with the instance will be allocated dynamically.\n                      x-kubernetes-immutable: true\n                    externalIPv6PrefixLength:\n                      type: string\n                      x-dcl-go-name: ExternalIPv6PrefixLength\n                      readOnly: true\n                      description: The prefix length of the external IPv6 range.\n                      x-kubernetes-immutable: true\n                    name:\n                      type: string\n                      x-dcl-go-name: Name\n                      description: The name of this access configuration. The default\n                        and recommended name is External NAT but you can use any arbitrary\n                        string you would like. For example, My external IP or Network\n                        Access.\n                      x-kubernetes-immutable: true\n                    natIP:\n                      type: string\n                      x-dcl-go-name: NatIP\n                      description: Reference to an address. An external IP address\n                        associated with this instance. Specify an unused static external\n                        IP address available to the project or leave this field undefined\n                        to use an IP from a shared ephemeral IP address pool. If you\n                        specify a static external IP address, it must live in the\n                        same region as the zone of the instance.\n                      x-kubernetes-immutable: true\n                      x-dcl-references:\n                      - resource: Compute/Address\n                        field: selfLink\n                    networkTier:\n                      type: string\n                      x-dcl-go-name: NetworkTier\n                      x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsNetworkTierEnum\n                      description: 'This signifies the networking tier used for configuring\n                        this access configuration and can only take the following\n                        values: PREMIUM, STANDARD. If an AccessConfig is specified\n                        without a valid external IP address, an ephemeral IP will\n                        be created with this networkTier. If an AccessConfig with\n                        a valid external IP address is specified, it must match that\n                        of the networkTier associated with the Address resource owning\n                        that IP.'\n                      x-kubernetes-immutable: true\n                      enum:\n                      - PREMIUM\n                      - STANDARD\n                    publicPtrDomainName:\n                      type: string\n                      x-dcl-go-name: PublicPtrDomainName\n                      description: The DNS domain name for the public PTR record.\n                        You can set this field only if the setPublicPtr field is enabled.\n                      x-kubernetes-immutable: true\n                    setPublicPtr:\n                      type: boolean\n                      x-dcl-go-name: SetPublicPtr\n                      description: Specifies whether a public DNS 'PTR' record should\n                        be created to map the external IP address of the instance\n                        to a DNS domain name.\n                      x-kubernetes-immutable: true\n                    type:\n                      type: string\n                      x-dcl-go-name: Type\n                      x-dcl-go-type: InstanceNetworkInterfacesAccessConfigsTypeEnum\n                      description: The type of configuration. The default and only\n                        option is ONE_TO_ONE_NAT.\n                      x-kubernetes-immutable: true\n                      enum:\n                      - ONE_TO_ONE_NAT\n              aliasIPRanges:\n                type: array\n                x-dcl-go-name: AliasIPRanges\n                description: An array of alias IP ranges for this network interface.\n                  Can only be specified for network interfaces on subnet-mode networks.\n                x-kubernetes-immutable: true\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: InstanceNetworkInterfacesAliasIPRanges\n                  properties:\n                    ipCidrRange:\n                      type: string\n                      x-dcl-go-name: IPCidrRange\n                      description: The IP CIDR range represented by this alias IP\n                        range. This IP CIDR range must belong to the specified subnetwork\n                        and cannot contain IP addresses reserved by system or used\n                        by other network interfaces. This range may be a single IP\n                        address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format\n                        string (e.g. 10.1.2.0/24).\n                      x-kubernetes-immutable: true\n                    subnetworkRangeName:\n                      type: string\n                      x-dcl-go-name: SubnetworkRangeName\n                      description: Optional subnetwork secondary range name specifying\n                        the secondary range from which to allocate the IP CIDR range\n                        for this alias IP range. If left unspecified, the primary\n                        range of the subnetwork will be used.\n                      x-kubernetes-immutable: true\n              ipv6AccessConfigs:\n                type: array\n                x-dcl-go-name: IPv6AccessConfigs\n                description: An array of IPv6 access configurations for this interface.\n                  Currently, only one IPv6 access config, DIRECT_IPV6, is supported.\n                  If there is no ipv6AccessConfig specified, then this instance will\n                  have no external IPv6 Internet access.\n                x-kubernetes-immutable: true\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigs\n                  required:\n                  - name\n                  - type\n                  properties:\n                    externalIPv6:\n                      type: string\n                      x-dcl-go-name: ExternalIPv6\n                      readOnly: true\n                      description: The first IPv6 address of the external IPv6 range\n                        associated with this instance, prefix length is stored in\n                        externalIpv6PrefixLength in ipv6AccessConfig. The field is\n                        output only, an IPv6 address from a subnetwork associated\n                        with the instance will be allocated dynamically.\n                      x-kubernetes-immutable: true\n                    externalIPv6PrefixLength:\n                      type: string\n                      x-dcl-go-name: ExternalIPv6PrefixLength\n                      readOnly: true\n                      description: The prefix length of the external IPv6 range.\n                      x-kubernetes-immutable: true\n                    name:\n                      type: string\n                      x-dcl-go-name: Name\n                      description: The name of this access configuration. The default\n                        and recommended name is External NAT but you can use any arbitrary\n                        string you would like. For example, My external IP or Network\n                        Access.\n                      x-kubernetes-immutable: true\n                    natIP:\n                      type: string\n                      x-dcl-go-name: NatIP\n                      description: Reference to an address. An external IP address\n                        associated with this instance. Specify an unused static external\n                        IP address available to the project or leave this field undefined\n                        to use an IP from a shared ephemeral IP address pool. If you\n                        specify a static external IP address, it must live in the\n                        same region as the zone of the instance.\n                      x-kubernetes-immutable: true\n                      x-dcl-references:\n                      - resource: Compute/Address\n                        field: selfLink\n                    networkTier:\n                      type: string\n                      x-dcl-go-name: NetworkTier\n                      x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum\n                      description: 'This signifies the networking tier used for configuring\n                        this access configuration and can only take the following\n                        values: PREMIUM, STANDARD. If an AccessConfig is specified\n                        without a valid external IP address, an ephemeral IP will\n                        be created with this networkTier. If an AccessConfig with\n                        a valid external IP address is specified, it must match that\n                        of the networkTier associated with the Address resource owning\n                        that IP.'\n                      x-kubernetes-immutable: true\n                      enum:\n                      - PREMIUM\n                      - STANDARD\n                    publicPtrDomainName:\n                      type: string\n                      x-dcl-go-name: PublicPtrDomainName\n                      description: The DNS domain name for the public PTR record.\n                        You can set this field only if the setPublicPtr field is enabled.\n                      x-kubernetes-immutable: true\n                    setPublicPtr:\n                      type: boolean\n                      x-dcl-go-name: SetPublicPtr\n                      description: Specifies whether a public DNS 'PTR' record should\n                        be created to map the external IP address of the instance\n                        to a DNS domain name.\n                      x-kubernetes-immutable: true\n                    type:\n                      type: string\n                      x-dcl-go-name: Type\n                      x-dcl-go-type: InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum\n                      description: The type of configuration. The default and only\n                        option is ONE_TO_ONE_NAT.\n                      x-kubernetes-immutable: true\n                      enum:\n                      - ONE_TO_ONE_NAT\n              name:\n                type: string\n                x-dcl-go-name: Name\n                readOnly: true\n                description: The name of the network interface, generated by the server.\n                  For network devices, these are eth0, eth1, etc\n                x-kubernetes-immutable: true\n              network:\n                type: string\n                x-dcl-go-name: Network\n                description: Specifies the title of an existing network.  When creating\n                  an instance, if neither the network nor the subnetwork is specified,\n                  the default network global/networks/default is used; if the network\n                  is not specified but the subnetwork is specified, the network is\n                  inferred.\n                x-kubernetes-immutable: true\n                x-dcl-references:\n                - resource: Compute/Network\n                  field: name\n              networkIP:\n                type: string\n                x-dcl-go-name: NetworkIP\n                description: An IPv4 internal network address to assign to the instance\n                  for this network interface. If not specified by the user, an unused\n                  internal IP is assigned by the system.\n                x-kubernetes-immutable: true\n              subnetwork:\n                type: string\n                x-dcl-go-name: Subnetwork\n                description: Reference to a VPC network. If the network resource is\n                  in legacy mode, do not provide this property.  If the network is\n                  in auto subnet mode, providing the subnetwork is optional. If the\n                  network is in custom subnet mode, then this field should be specified.\n                x-kubernetes-immutable: true\n                x-dcl-references:\n                - resource: Compute/Subnetwork\n                  field: name\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project id of the resource.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        scheduling:\n          type: object\n          x-dcl-go-name: Scheduling\n          x-dcl-go-type: InstanceScheduling\n          description: Sets the scheduling options for this instance.\n          x-kubernetes-immutable: true\n          properties:\n            automaticRestart:\n              type: boolean\n              x-dcl-go-name: AutomaticRestart\n              description: Specifies whether the instance should be automatically\n                restarted if it is terminated by Compute Engine (not terminated by\n                a user). You can only set the automatic restart option for standard\n                instances. Preemptible instances cannot be automatically restarted.\n              x-kubernetes-immutable: true\n            onHostMaintenance:\n              type: string\n              x-dcl-go-name: OnHostMaintenance\n              description: Defines the maintenance behavior for this instance. For\n                standard instances, the default behavior is MIGRATE. For preemptible\n                instances, the default and only possible behavior is TERMINATE. For\n                more information, see Setting Instance Scheduling Options.\n              x-kubernetes-immutable: true\n            preemptible:\n              type: boolean\n              x-dcl-go-name: Preemptible\n              description: Defines whether the instance is preemptible. This can only\n                be set during instance creation, it cannot be set or changed after\n                the instance has been created.\n              x-kubernetes-immutable: true\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: The self link of the instance\n          x-kubernetes-immutable: true\n        serviceAccounts:\n          type: array\n          x-dcl-go-name: ServiceAccounts\n          description: A list of service accounts, with their specified scopes, authorized\n            for this instance. Only one service account per VM instance is supported.\n          x-kubernetes-immutable: true\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: InstanceServiceAccounts\n            properties:\n              email:\n                type: string\n                x-dcl-go-name: Email\n                description: Email address of the service account.\n                x-kubernetes-immutable: true\n              scopes:\n                type: array\n                x-dcl-go-name: Scopes\n                description: The list of scopes to be made available for this service\n                  account.\n                x-kubernetes-immutable: true\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: string\n                  x-dcl-go-type: string\n        shieldedInstanceConfig:\n          type: object\n          x-dcl-go-name: ShieldedInstanceConfig\n          x-dcl-go-type: InstanceShieldedInstanceConfig\n          description: Configuration for various parameters related to shielded instances.\n          properties:\n            enableIntegrityMonitoring:\n              type: boolean\n              x-dcl-go-name: EnableIntegrityMonitoring\n              description: Defines whether the instance has integrity monitoring enabled.\n            enableSecureBoot:\n              type: boolean\n              x-dcl-go-name: EnableSecureBoot\n              description: Defines whether the instance has Secure Boot enabled.\n            enableVtpm:\n              type: boolean\n              x-dcl-go-name: EnableVtpm\n              description: Defines whether the instance has the vTPM enabled\n        status:\n          type: string\n          x-dcl-go-name: Status\n          x-dcl-go-type: InstanceStatusEnum\n          description: 'The status of the instance. One of the following values: PROVISIONING,\n            STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and TERMINATED.  As\n            a user, use RUNNING to keep a machine \"on\" and TERMINATED to turn a machine\n            off'\n          x-kubernetes-immutable: true\n          enum:\n          - PROVISIONING\n          - STAGING\n          - RUNNING\n          - STOPPING\n          - SUSPENDING\n          - SUSPENDED\n          - TERMINATED\n        statusMessage:\n          type: string\n          x-dcl-go-name: StatusMessage\n          readOnly: true\n          description: An optional, human-readable explanation of the status.\n          x-kubernetes-immutable: true\n        tags:\n          type: array\n          x-dcl-go-name: Tags\n          description: A list of tags to apply to this instance. Tags are used to\n            identify valid sources or targets for network firewalls and are specified\n            by the client during instance creation. Each tag within the list must\n            comply with RFC1035.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n        zone:\n          type: string\n          x-dcl-go-name: Zone\n          description: A reference to the zone where the machine resides.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Compute/Zone\n            field: name\n            parent: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/instance.yaml

View Source
var YAML_instance_group_manager = []byte("info:\n  title: Compute/InstanceGroupManager\n  description: The Compute InstanceGroupManager resource\n  x-dcl-struct-name: InstanceGroupManager\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a InstanceGroupManager\n    parameters:\n    - name: InstanceGroupManager\n      required: true\n      description: A full instance of a InstanceGroupManager\n  apply:\n    description: The function used to apply information about a InstanceGroupManager\n    parameters:\n    - name: InstanceGroupManager\n      required: true\n      description: A full instance of a InstanceGroupManager\n  delete:\n    description: The function used to delete a InstanceGroupManager\n    parameters:\n    - name: InstanceGroupManager\n      required: true\n      description: A full instance of a InstanceGroupManager\n  deleteAll:\n    description: The function used to delete all InstanceGroupManager\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many InstanceGroupManager\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    InstanceGroupManager:\n      title: InstanceGroupManager\n      x-dcl-locations:\n      - zone\n      - region\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - project\n      properties:\n        autoHealingPolicies:\n          type: array\n          x-dcl-go-name: AutoHealingPolicies\n          description: The autohealing policy for this managed instance group. You\n            can specify only one value.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: InstanceGroupManagerAutoHealingPolicies\n            properties:\n              healthCheck:\n                type: string\n                x-dcl-go-name: HealthCheck\n                description: The URL for the health check that signals autohealing.\n                x-dcl-references:\n                - resource: Compute/HealthCheck\n                  field: selfLink\n              initialDelaySec:\n                type: integer\n                format: int64\n                x-dcl-go-name: InitialDelaySec\n                description: The number of seconds that the managed instance group\n                  waits before it applies autohealing policies to new instances or\n                  recently recreated instances. This initial delay allows instances\n                  to initialize and run their startup scripts before the instance\n                  group determines that they are UNHEALTHY. This prevents the managed\n                  instance group from recreating its instances prematurely. This value\n                  must be from range [0, 3600].\n        baseInstanceName:\n          type: string\n          x-dcl-go-name: BaseInstanceName\n          description: The base instance name to use for instances in this group.\n            The value must be 1-58 characters long. Instances are named by appending\n            a hyphen and a random four-character string to the base instance name.\n            The base instance name must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n        creationTimestamp:\n          type: string\n          x-dcl-go-name: CreationTimestamp\n          readOnly: true\n          description: The creation timestamp for this managed instance group in \\[RFC3339\\](https://www.ietf.org/rfc/rfc3339.txt)\n            text format.\n          x-kubernetes-immutable: true\n        currentActions:\n          type: object\n          x-dcl-go-name: CurrentActions\n          x-dcl-go-type: InstanceGroupManagerCurrentActions\n          readOnly: true\n          description: '[Output Only] The list of instance actions and the number\n            of instances in this managed instance group that are scheduled for each\n            of those actions.'\n          x-kubernetes-immutable: true\n          properties:\n            abandoning:\n              type: integer\n              format: int64\n              x-dcl-go-name: Abandoning\n              readOnly: true\n              description: '[Output Only] The total number of instances in the managed\n                instance group that are scheduled to be abandoned. Abandoning an instance\n                removes it from the managed instance group without deleting it.'\n              x-kubernetes-immutable: true\n            creating:\n              type: integer\n              format: int64\n              x-dcl-go-name: Creating\n              readOnly: true\n              description: '[Output Only] The number of instances in the managed instance\n                group that are scheduled to be created or are currently being created.\n                If the group fails to create any of these instances, it tries again\n                until it creates the instance successfully. If you have disabled creation\n                retries, this field will not be populated; instead, the `creatingWithoutRetries`\n                field will be populated.'\n              x-kubernetes-immutable: true\n            creatingWithoutRetries:\n              type: integer\n              format: int64\n              x-dcl-go-name: CreatingWithoutRetries\n              readOnly: true\n              description: '[Output Only] The number of instances that the managed\n                instance group will attempt to create. The group attempts to create\n                each instance only once. If the group fails to create any of these\n                instances, it decreases the group''s `targetSize` value accordingly.'\n              x-kubernetes-immutable: true\n            deleting:\n              type: integer\n              format: int64\n              x-dcl-go-name: Deleting\n              readOnly: true\n              description: '[Output Only] The number of instances in the managed instance\n                group that are scheduled to be deleted or are currently being deleted.'\n              x-kubernetes-immutable: true\n            none:\n              type: integer\n              format: int64\n              x-dcl-go-name: None\n              readOnly: true\n              description: '[Output Only] The number of instances in the managed instance\n                group that are running and have no scheduled actions.'\n              x-kubernetes-immutable: true\n            recreating:\n              type: integer\n              format: int64\n              x-dcl-go-name: Recreating\n              readOnly: true\n              description: '[Output Only] The number of instances in the managed instance\n                group that are scheduled to be recreated or are currently being being\n                recreated. Recreating an instance deletes the existing root persistent\n                disk and creates a new disk from the image that is defined in the\n                instance template.'\n              x-kubernetes-immutable: true\n            refreshing:\n              type: integer\n              format: int64\n              x-dcl-go-name: Refreshing\n              readOnly: true\n              description: '[Output Only] The number of instances in the managed instance\n                group that are being reconfigured with properties that do not require\n                a restart or a recreate action. For example, setting or removing target\n                pools for the instance.'\n              x-kubernetes-immutable: true\n            restarting:\n              type: integer\n              format: int64\n              x-dcl-go-name: Restarting\n              readOnly: true\n              description: '[Output Only] The number of instances in the managed instance\n                group that are scheduled to be restarted or are currently being restarted.'\n              x-kubernetes-immutable: true\n            verifying:\n              type: integer\n              format: int64\n              x-dcl-go-name: Verifying\n              readOnly: true\n              description: '[Output Only] The number of instances in the managed instance\n                group that are being verified. See the `managedInstances[].currentAction`\n                property in the `listManagedInstances` method documentation.'\n              x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: An optional description of this resource.\n          x-kubernetes-immutable: true\n        distributionPolicy:\n          type: object\n          x-dcl-go-name: DistributionPolicy\n          x-dcl-go-type: InstanceGroupManagerDistributionPolicy\n          description: Policy specifying the intended distribution of managed instances\n            across zones in a regional managed instance group.\n          properties:\n            targetShape:\n              type: string\n              x-dcl-go-name: TargetShape\n              x-dcl-go-type: InstanceGroupManagerDistributionPolicyTargetShapeEnum\n              description: 'The distribution shape to which the group converges either\n                proactively or on resize events (depending on the value set in `updatePolicy.instanceRedistributionType`).\n                Possible values: TARGET_SHAPE_UNSPECIFIED, ANY, BALANCED, ANY_SINGLE_ZONE'\n              enum:\n              - TARGET_SHAPE_UNSPECIFIED\n              - ANY\n              - BALANCED\n              - ANY_SINGLE_ZONE\n            zones:\n              type: array\n              x-dcl-go-name: Zones\n              description: Zones where the regional managed instance group will create\n                and manage its instances.\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: InstanceGroupManagerDistributionPolicyZones\n                properties:\n                  zone:\n                    type: string\n                    x-dcl-go-name: Zone\n                    description: The URL of the [zone](/compute/docs/regions-zones/#available).\n                      The zone must exist in the region where the managed instance\n                      group is located.\n                    x-kubernetes-immutable: true\n        failoverAction:\n          type: string\n          x-dcl-go-name: FailoverAction\n          x-dcl-go-type: InstanceGroupManagerFailoverActionEnum\n          description: 'The action to perform in case of zone failure. Only one value\n            is supported, `NO_FAILOVER`. The default is `NO_FAILOVER`. Possible values:\n            UNKNOWN, NO_FAILOVER'\n          enum:\n          - UNKNOWN\n          - NO_FAILOVER\n        fingerprint:\n          type: string\n          x-dcl-go-name: Fingerprint\n          readOnly: true\n          description: Fingerprint of this resource. This field may be used in optimistic\n            locking. It will be ignored when inserting an InstanceGroupManager. An\n            up-to-date fingerprint must be provided in order to update the InstanceGroupManager,\n            otherwise the request will fail with error `412 conditionNotMet`. To see\n            the latest fingerprint, make a `get()` request to retrieve an InstanceGroupManager.\n          x-kubernetes-immutable: true\n        id:\n          type: integer\n          format: int64\n          x-dcl-go-name: Id\n          readOnly: true\n          description: '[Output Only] A unique identifier for this resource type.\n            The server generates this identifier.'\n          x-kubernetes-immutable: true\n        instanceGroup:\n          type: string\n          x-dcl-go-name: InstanceGroup\n          readOnly: true\n          description: '[Output Only] The URL of the Instance Group resource.'\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Compute/InstanceGroup\n            field: selfLink\n        instanceTemplate:\n          type: string\n          x-dcl-go-name: InstanceTemplate\n          description: The URL of the instance template that is specified for this\n            managed instance group. The group uses this template to create all new\n            instances in the managed instance group. The templates for existing instances\n            in the group do not change unless you run `recreateInstances`, run `applyUpdatesToInstances`,\n            or set the group's `updatePolicy.type` to `PROACTIVE`.\n          x-dcl-forward-slash-allowed: true\n          x-dcl-references:\n          - resource: Compute/InstanceTemplate\n            field: selfLink\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location of this resource.\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: The name of the managed instance group. The name must be 1-63\n            characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n          x-kubernetes-immutable: true\n        namedPorts:\n          type: array\n          x-dcl-go-name: NamedPorts\n          description: Named ports configured for the Instance Groups complementary\n            to this Instance Group Manager.\n          x-kubernetes-immutable: true\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: InstanceGroupManagerNamedPorts\n            properties:\n              name:\n                type: string\n                x-dcl-go-name: Name\n                description: The name for this named port. The name must be 1-63 characters\n                  long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n                x-kubernetes-immutable: true\n              port:\n                type: integer\n                format: int64\n                x-dcl-go-name: Port\n                description: The port number, which can be a value between 1 and 65535.\n                x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n        region:\n          type: string\n          x-dcl-go-name: Region\n          readOnly: true\n          description: '[Output Only] The URL of the [region](/compute/docs/regions-zones/#available)\n            where the managed instance group resides (for regional resources).'\n          x-kubernetes-immutable: true\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: '[Output Only] The URL for this managed instance group. The\n            server defines this URL.'\n          x-kubernetes-immutable: true\n        serviceAccount:\n          type: string\n          x-dcl-go-name: ServiceAccount\n          description: 'The service account to be used as credentials for all operations\n            performed by the managed instance group on instances. The service accounts\n            needs all permissions required to create and delete instances. By default,\n            the service account: {projectNumber}@cloudservices.gserviceaccount.com\n            is used.'\n          x-dcl-references:\n          - resource: Iam/ServiceAccount\n            field: email\n        statefulPolicy:\n          type: object\n          x-dcl-go-name: StatefulPolicy\n          x-dcl-go-type: InstanceGroupManagerStatefulPolicy\n          description: Stateful configuration for this Instanced Group Manager\n          properties:\n            preservedState:\n              type: object\n              x-dcl-go-name: PreservedState\n              x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedState\n              properties:\n                disks:\n                  type: object\n                  additionalProperties:\n                    type: object\n                    x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisks\n                    properties:\n                      autoDelete:\n                        type: string\n                        x-dcl-go-name: AutoDelete\n                        x-dcl-go-type: InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum\n                        description: 'These stateful disks will never be deleted during\n                          autohealing, update or VM instance recreate operations.\n                          This flag is used to configure if the disk should be deleted\n                          after it is no longer used by the group, e.g. when the given\n                          instance or the whole group is deleted. Note: disks attached\n                          in READ_ONLY mode cannot be auto-deleted. Possible values:\n                          NEVER, ON_PERMANENT_INSTANCE_DELETION'\n                        enum:\n                        - NEVER\n                        - ON_PERMANENT_INSTANCE_DELETION\n                  x-dcl-go-name: Disks\n                  description: Disks created on the instances that will be preserved\n                    on instance delete, update, etc. This map is keyed with the device\n                    names of the disks.\n        status:\n          type: object\n          x-dcl-go-name: Status\n          x-dcl-go-type: InstanceGroupManagerStatus\n          readOnly: true\n          description: '[Output Only] The status of this managed instance group.'\n          properties:\n            autoscaler:\n              type: string\n              x-dcl-go-name: Autoscaler\n              readOnly: true\n              description: '[Output Only] The URL of the [Autoscaler](/compute/docs/autoscaler/)\n                that targets this instance group manager.'\n              x-kubernetes-immutable: true\n            isStable:\n              type: boolean\n              x-dcl-go-name: IsStable\n              readOnly: true\n              description: '[Output Only] A bit indicating whether the managed instance\n                group is in a stable state. A stable state means that: none of the\n                instances in the managed instance group is currently undergoing any\n                type of change (for example, creation, restart, or deletion); no future\n                changes are scheduled for instances in the managed instance group;\n                and the managed instance group itself is not being modified.'\n              x-kubernetes-immutable: true\n            stateful:\n              type: object\n              x-dcl-go-name: Stateful\n              x-dcl-go-type: InstanceGroupManagerStatusStateful\n              readOnly: true\n              description: '[Output Only] Stateful status of the given Instance Group\n                Manager.'\n              properties:\n                hasStatefulConfig:\n                  type: boolean\n                  x-dcl-go-name: HasStatefulConfig\n                  readOnly: true\n                  description: '[Output Only] A bit indicating whether the managed\n                    instance group has stateful configuration, that is, if you have\n                    configured any items in a stateful policy or in per-instance configs.\n                    The group might report that it has no stateful config even when\n                    there is still some preserved state on a managed instance, for\n                    example, if you have deleted all PICs but not yet applied those\n                    deletions.'\n                  x-kubernetes-immutable: true\n                isStateful:\n                  type: boolean\n                  x-dcl-go-name: IsStateful\n                  readOnly: true\n                  description: '[Output Only] A bit indicating whether the managed\n                    instance group has stateful configuration, that is, if you have\n                    configured any items in a stateful policy or in per-instance configs.\n                    The group might report that it has no stateful config even when\n                    there is still some preserved state on a managed instance, for\n                    example, if you have deleted all PICs but not yet applied those\n                    deletions. This field is deprecated in favor of has_stateful_config.'\n                  x-kubernetes-immutable: true\n                perInstanceConfigs:\n                  type: object\n                  x-dcl-go-name: PerInstanceConfigs\n                  x-dcl-go-type: InstanceGroupManagerStatusStatefulPerInstanceConfigs\n                  readOnly: true\n                  description: '[Output Only] Status of per-instance configs on the\n                    instance.'\n                  properties:\n                    allEffective:\n                      type: boolean\n                      x-dcl-go-name: AllEffective\n                      description: A bit indicating if all of the group's per-instance\n                        configs (listed in the output of a listPerInstanceConfigs\n                        API call) have status `EFFECTIVE` or there are no per-instance-configs.\n            versionTarget:\n              type: object\n              x-dcl-go-name: VersionTarget\n              x-dcl-go-type: InstanceGroupManagerStatusVersionTarget\n              readOnly: true\n              description: '[Output Only] A status of consistency of Instances'' versions\n                with their target version specified by `version` field on Instance\n                Group Manager.'\n              x-kubernetes-immutable: true\n              properties:\n                isReached:\n                  type: boolean\n                  x-dcl-go-name: IsReached\n                  readOnly: true\n                  description: '[Output Only] A bit indicating whether version target\n                    has been reached in this managed instance group, i.e. all instances\n                    are in their target version. Instances'' target version are specified\n                    by `version` field on Instance Group Manager.'\n                  x-kubernetes-immutable: true\n        targetPools:\n          type: array\n          x-dcl-go-name: TargetPools\n          description: The URLs for all TargetPool resources to which instances in\n            the `instanceGroup` field are added. The target pools automatically apply\n            to all of the instances in the managed instance group.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Compute/TargetPool\n              field: selfLink\n        targetSize:\n          type: integer\n          format: int64\n          x-dcl-go-name: TargetSize\n          description: The target number of running instances for this managed instance\n            group. You can reduce this number by using the instanceGroupManager deleteInstances\n            or abandonInstances methods. Resizing the group also changes this number.\n        updatePolicy:\n          type: object\n          x-dcl-go-name: UpdatePolicy\n          x-dcl-go-type: InstanceGroupManagerUpdatePolicy\n          description: The update policy for this managed instance group.\n          properties:\n            instanceRedistributionType:\n              type: string\n              x-dcl-go-name: InstanceRedistributionType\n              x-dcl-go-type: InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum\n              description: 'The [instance redistribution policy](/compute/docs/instance-groups/regional-migs#proactive_instance_redistribution)\n                for regional managed instance groups. Valid values are: - `PROACTIVE`\n                (default): The group attempts to maintain an even distribution of\n                VM instances across zones in the region. - `NONE`: For non-autoscaled\n                groups, proactive redistribution is disabled.'\n              enum:\n              - NONE\n              - PROACTIVE\n            maxSurge:\n              type: object\n              x-dcl-go-name: MaxSurge\n              x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxSurge\n              description: The maximum number of instances that can be created above\n                the specified `targetSize` during the update process. This value can\n                be either a fixed number or, if the group has 10 or more instances,\n                a percentage. If you set a percentage, the number of instances is\n                rounded if necessary. The default value for `maxSurge` is a fixed\n                value equal to the number of zones in which the managed instance group\n                operates. At least one of either `maxSurge` or `maxUnavailable` must\n                be greater than 0. Learn more about [`maxSurge`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_surge).\n              x-dcl-send-empty: true\n              properties:\n                calculated:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Calculated\n                  readOnly: true\n                  description: '[Output Only] Absolute value of VM instances calculated\n                    based on the specific mode. - If the value is `fixed`, then the\n                    `calculated` value is equal to the `fixed` value. - If the value\n                    is a `percent`, then the `calculated` value is `percent`/100 *\n                    `targetSize`. For example, the `calculated` value of a 80% of\n                    a managed instance group with 150 instances would be (80/100 *\n                    150) = 120 VM instances. If there is a remainder, the number is\n                    rounded.'\n                fixed:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Fixed\n                  description: Specifies a fixed number of VM instances. This must\n                    be a positive integer.\n                  x-dcl-send-empty: true\n                percent:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Percent\n                  description: Specifies a percentage of instances between 0 to 100%,\n                    inclusive. For example, specify `80` for 80%.\n                  x-dcl-send-empty: true\n            maxUnavailable:\n              type: object\n              x-dcl-go-name: MaxUnavailable\n              x-dcl-go-type: InstanceGroupManagerUpdatePolicyMaxUnavailable\n              description: 'The maximum number of instances that can be unavailable\n                during the update process. An instance is considered available if\n                all of the following conditions are satisfied: - The instance''s [status](/compute/docs/instances/checking-instance-status)\n                is `RUNNING`. - If there is a [health check](/compute/docs/instance-groups/autohealing-instances-in-migs)\n                on the instance group, the instance''s health check status must be\n                `HEALTHY` at least once. If there is no health check on the group,\n                then the instance only needs to have a status of `RUNNING` to be considered\n                available. This value can be either a fixed number or, if the group\n                has 10 or more instances, a percentage. If you set a percentage, the\n                number of instances is rounded if necessary. The default value for\n                `maxUnavailable` is a fixed value equal to the number of zones in\n                which the managed instance group operates. At least one of either\n                `maxSurge` or `maxUnavailable` must be greater than 0. Learn more\n                about [`maxUnavailable`](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#max_unavailable).'\n              properties:\n                calculated:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Calculated\n                  readOnly: true\n                  description: '[Output Only] Absolute value of VM instances calculated\n                    based on the specific mode. - If the value is `fixed`, then the\n                    `calculated` value is equal to the `fixed` value. - If the value\n                    is a `percent`, then the `calculated` value is `percent`/100 *\n                    `targetSize`. For example, the `calculated` value of a 80% of\n                    a managed instance group with 150 instances would be (80/100 *\n                    150) = 120 VM instances. If there is a remainder, the number is\n                    rounded.'\n                fixed:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Fixed\n                  description: Specifies a fixed number of VM instances. This must\n                    be a positive integer.\n                  x-dcl-send-empty: true\n                percent:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Percent\n                  description: Specifies a percentage of instances between 0 to 100%,\n                    inclusive. For example, specify `80` for 80%.\n                  x-dcl-send-empty: true\n            minReadySec:\n              type: integer\n              format: int64\n              x-dcl-go-name: MinReadySec\n              description: Minimum number of seconds to wait for after a newly created\n                instance becomes available. This value must be from range [0, 3600].\n            minimalAction:\n              type: string\n              x-dcl-go-name: MinimalAction\n              x-dcl-go-type: InstanceGroupManagerUpdatePolicyMinimalActionEnum\n              description: Minimal action to be taken on an instance. You can specify\n                either `RESTART` to restart existing instances or `REPLACE` to delete\n                and create new instances from the target template. If you specify\n                a `RESTART`, the Updater will attempt to perform that action only.\n                However, if the Updater determines that the minimal action you specify\n                is not enough to perform the update, it might perform a more disruptive\n                action.\n              enum:\n              - REPLACE\n              - RESTART\n              - REFRESH\n              - NONE\n            mostDisruptiveAllowedAction:\n              type: string\n              x-dcl-go-name: MostDisruptiveAllowedAction\n              x-dcl-go-type: InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnum\n              description: Most disruptive action that is allowed to be taken on an\n                instance. You can specify either `NONE` to forbid any actions, `REFRESH`\n                to allow actions that do not need instance restart, `RESTART` to allow\n                actions that can be applied without instance replacing or `REPLACE`\n                to allow all possible actions. If the Updater determines that the\n                minimal update action needed is more disruptive than most disruptive\n                allowed action you specify it will not perform the update at all.\n              enum:\n              - REPLACE\n              - RESTART\n              - REFRESH\n              - NONE\n            replacementMethod:\n              type: string\n              x-dcl-go-name: ReplacementMethod\n              x-dcl-go-type: InstanceGroupManagerUpdatePolicyReplacementMethodEnum\n              description: 'What action should be used to replace instances. See minimal_action.REPLACE\n                Possible values: SUBSTITUTE, RECREATE'\n              enum:\n              - SUBSTITUTE\n              - RECREATE\n            type:\n              type: string\n              x-dcl-go-name: Type\n              x-dcl-go-type: InstanceGroupManagerUpdatePolicyTypeEnum\n              description: The type of update process. You can specify either `PROACTIVE`\n                so that the instance group manager proactively executes actions in\n                order to bring instances to their target versions or `OPPORTUNISTIC`\n                so that no action is proactively executed but the update will be performed\n                as part of other actions (for example, resizes or `recreateInstances`\n                calls).\n              enum:\n              - OPPORTUNISTIC\n              - PROACTIVE\n        versions:\n          type: array\n          x-dcl-go-name: Versions\n          description: Specifies the instance templates used by this managed instance\n            group to create instances. Each version is defined by an `instanceTemplate`\n            and a `name`. Every version can appear at most once per instance group.\n            This field overrides the top-level `instanceTemplate` field. Read more\n            about the [relationships between these fields](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#relationship_between_versions_and_instancetemplate_properties_for_a_managed_instance_group).\n            Exactly one `version` must leave the `targetSize` field unset. That version\n            will be applied to all remaining instances. For more information, read\n            about [canary updates](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update).\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: InstanceGroupManagerVersions\n            properties:\n              instanceTemplate:\n                type: string\n                x-dcl-go-name: InstanceTemplate\n                description: The URL of the instance template that is specified for\n                  this managed instance group. The group uses this template to create\n                  new instances in the managed instance group until the `targetSize`\n                  for this version is reached. The templates for existing instances\n                  in the group do not change unless you run `recreateInstances`, run\n                  `applyUpdatesToInstances`, or set the group's `updatePolicy.type`\n                  to `PROACTIVE`; in those cases, existing instances are updated until\n                  the `targetSize` for this version is reached.\n                x-dcl-references:\n                - resource: Compute/InstanceTemplate\n                  field: selfLink\n              name:\n                type: string\n                x-dcl-go-name: Name\n                description: Name of the version. Unique among all versions in the\n                  scope of this managed instance group.\n              targetSize:\n                type: object\n                x-dcl-go-name: TargetSize\n                x-dcl-go-type: InstanceGroupManagerVersionsTargetSize\n                description: 'Specifies the intended number of instances to be created\n                  from the `instanceTemplate`. The final number of instances created\n                  from the template will be equal to: - If expressed as a fixed number,\n                  the minimum of either `targetSize.fixed` or `instanceGroupManager.targetSize`\n                  is used. - if expressed as a `percent`, the `targetSize` would be\n                  `(targetSize.percent/100 * InstanceGroupManager.targetSize)` If\n                  there is a remainder, the number is rounded. If unset, this version\n                  will update any remaining instances not updated by another `version`.\n                  Read [Starting a canary update](/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#starting_a_canary_update)\n                  for more information.'\n                properties:\n                  calculated:\n                    type: integer\n                    format: int64\n                    x-dcl-go-name: Calculated\n                    readOnly: true\n                    description: '[Output Only] Absolute value of VM instances calculated\n                      based on the specific mode. - If the value is `fixed`, then\n                      the `calculated` value is equal to the `fixed` value. - If the\n                      value is a `percent`, then the `calculated` value is `percent`/100\n                      * `targetSize`. For example, the `calculated` value of a 80%\n                      of a managed instance group with 150 instances would be (80/100\n                      * 150) = 120 VM instances. If there is a remainder, the number\n                      is rounded.'\n                  fixed:\n                    type: integer\n                    format: int64\n                    x-dcl-go-name: Fixed\n                    description: Specifies a fixed number of VM instances. This must\n                      be a positive integer.\n                    x-dcl-send-empty: true\n                  percent:\n                    type: integer\n                    format: int64\n                    x-dcl-go-name: Percent\n                    description: Specifies a percentage of instances between 0 to\n                      100%, inclusive. For example, specify `80` for 80%.\n                    x-dcl-send-empty: true\n        zone:\n          type: string\n          x-dcl-go-name: Zone\n          readOnly: true\n          description: '[Output Only] The URL of a [zone](/compute/docs/regions-zones/#available)\n            where the managed instance group is located (for zonal resources).'\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/instance_group_manager.yaml

View Source
var YAML_interconnect = []byte("info:\n  title: Compute/Interconnect\n  description: The Compute Interconnect resource\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a Interconnect\n    parameters:\n    - name: Interconnect\n      required: true\n      description: A full instance of a Interconnect\n  apply:\n    description: The function used to apply information about a Interconnect\n    parameters:\n    - name: Interconnect\n      required: true\n      description: A full instance of a Interconnect\n  delete:\n    description: The function used to delete a Interconnect\n    parameters:\n    - name: Interconnect\n      required: true\n      description: A full instance of a Interconnect\n  deleteAll:\n    description: The function used to delete all Interconnect\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Interconnect\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Interconnect:\n      title: Interconnect\n      x-dcl-id: projects/{{project}}/global/interconnects/{{name}}\n      x-dcl-locations:\n      - global\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - location\n      - linkType\n      - interconnectType\n      - customerName\n      - project\n      properties:\n        adminEnabled:\n          type: boolean\n          x-dcl-go-name: AdminEnabled\n          description: Administrative status of the interconnect. When this is set\n            to true, the Interconnect is functional and can carry traffic. When set\n            to false, no packets can be carried over the interconnect and no BGP routes\n            are exchanged over it. By default, the status is set to true.\n        circuitInfos:\n          type: array\n          x-dcl-go-name: CircuitInfos\n          readOnly: true\n          description: A list of CircuitInfo objects, that describe the individual\n            circuits in this LAG.\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: InterconnectCircuitInfos\n            properties:\n              customerDemarcId:\n                type: string\n                x-dcl-go-name: CustomerDemarcId\n                description: Customer-side demarc ID for this circuit.\n                x-kubernetes-immutable: true\n              googleCircuitId:\n                type: string\n                x-dcl-go-name: GoogleCircuitId\n                description: Google-assigned unique ID for this circuit. Assigned\n                  at circuit turn-up.\n                x-kubernetes-immutable: true\n              googleDemarcId:\n                type: string\n                x-dcl-go-name: GoogleDemarcId\n                description: Google-side demarc ID for this circuit. Assigned at circuit\n                  turn-up and provided by Google to the customer in the LOA.\n                x-kubernetes-immutable: true\n        customerName:\n          type: string\n          x-dcl-go-name: CustomerName\n          description: Customer name, to put in the Letter of Authorization as the\n            party authorized to request a crossconnect.\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: An optional description of this resource. Provide this property\n            when you create the resource.\n        expectedOutages:\n          type: array\n          x-dcl-go-name: ExpectedOutages\n          readOnly: true\n          description: A list of outages expected for this Interconnect.\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: InterconnectExpectedOutages\n            properties:\n              affectedCircuits:\n                type: array\n                x-dcl-go-name: AffectedCircuits\n                description: If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side\n                  circuit IDs that will be affected.\n                x-kubernetes-immutable: true\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: string\n                  x-dcl-go-type: string\n              description:\n                type: string\n                x-dcl-go-name: Description\n                description: A description about the purpose of the outage.\n                x-kubernetes-immutable: true\n              endTime:\n                type: integer\n                format: int64\n                x-dcl-go-name: EndTime\n                description: Scheduled end time for the outage (milliseconds since\n                  Unix epoch).\n                x-kubernetes-immutable: true\n              issueType:\n                type: string\n                x-dcl-go-name: IssueType\n                x-dcl-go-type: InterconnectExpectedOutagesIssueTypeEnum\n                description: 'Form this outage is expected to take, which can take\n                  one of the following values: OUTAGE: The Interconnect may be completely\n                  out of service for some or all of the specified window. PARTIAL_OUTAGE:\n                  Some circuits comprising the Interconnect as a whole should remain\n                  up, but with reduced bandwidth.nn Note that the versions of this\n                  enum prefixed with \"IT_\" have been deprecated in favor of the unprefixed\n                  values.'\n                x-kubernetes-immutable: true\n                enum:\n                - OUTAGE\n                - PARTIAL_OUTAGE\n              name:\n                type: string\n                x-dcl-go-name: Name\n                description: Unique identifier for this outage notification.\n                x-kubernetes-immutable: true\n              source:\n                type: string\n                x-dcl-go-name: Source\n                x-dcl-go-type: InterconnectExpectedOutagesSourceEnum\n                description: 'The party that generated this notification, which can\n                  take the following value: GOOGLE: this notification as generated\n                  by Google. Note that the value of NSRC_GOOGLE has been deprecated\n                  in favor of GOOGLE.'\n                x-kubernetes-immutable: true\n                enum:\n                - GOOGLE\n              startTime:\n                type: integer\n                format: int64\n                x-dcl-go-name: StartTime\n                description: Scheduled start time for the outage (milliseconds since\n                  Unix epoch).\n                x-kubernetes-immutable: true\n              state:\n                type: string\n                x-dcl-go-name: State\n                x-dcl-go-type: InterconnectExpectedOutagesStateEnum\n                description: 'State of this notification, which can take one of the\n                  following values: ACTIVE: This outage notification is active. The\n                  event could be in the past, present, or future. See start_time and\n                  end_time for scheduling. CANCELLED: The outage associated with this\n                  notification was cancelled before the outage was due to start. Note\n                  that the versions of this enum prefixed with \"NS_\" have been deprecated\n                  in favor of the unprefixed values.'\n                x-kubernetes-immutable: true\n                enum:\n                - ACTIVE\n                - CANCELLED\n        googleIPAddress:\n          type: string\n          x-dcl-go-name: GoogleIPAddress\n          readOnly: true\n          description: IP address configured on the Google side of the Interconnect\n            link. This can be used only for ping tests.\n          x-kubernetes-immutable: true\n        googleReferenceId:\n          type: string\n          x-dcl-go-name: GoogleReferenceId\n          readOnly: true\n          description: Google reference ID to be used when raising support tickets\n            with Google or otherwise to debug backend connectivity issues.\n          x-kubernetes-immutable: true\n        id:\n          type: integer\n          format: int64\n          x-dcl-go-name: Id\n          readOnly: true\n          description: The unique identifier for the resource. This identifier is\n            defined by the server.\n          x-kubernetes-immutable: true\n        interconnectAttachments:\n          type: array\n          x-dcl-go-name: InterconnectAttachments\n          readOnly: true\n          description: A list of the URLs of all InterconnectAttachments configured\n            to use this Interconnect.\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n        interconnectType:\n          type: string\n          x-dcl-go-name: InterconnectType\n          x-dcl-go-type: InterconnectInterconnectTypeEnum\n          description: 'Type of interconnect, which can take one of the following\n            values: PARTNER: A partner-managed interconnection shared between customers\n            though a partner. DEDICATED: A dedicated physical interconnection with\n            the customer.nn Note that a value IT_PRIVATE has been deprecated in favor\n            of DEDICATED.'\n          enum:\n          - IT_PRIVATE\n          - PARTNER\n          - DEDICATED\n        linkType:\n          type: string\n          x-dcl-go-name: LinkType\n          x-dcl-go-type: InterconnectLinkTypeEnum\n          description: 'Type of link requested, which can take one of the following\n            values: LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics LINK_TYPE_ETHERNET_100G_LR:\n            A 100G Ethernet with LR optics.nn Note that this field indicates the speed\n            of each of the links in the bundle, not the speed of the entire bundle.'\n          enum:\n          - LINK_TYPE_ETHERNET_10G_LR\n          - LINK_TYPE_ETHERNET_100G_LR\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: URL of the InterconnectLocation object that represents where\n            this connection is to be provisioned.\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Name of the resource. Provided by the client when the resource\n            is created. The name must be 1-63 characters long, and comply with RFC1035.\n            Specifically, the name must be 1-63 characters long and match the regular\n            expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character\n            must be a lowercase letter, and all following characters must be a dash,\n            lowercase letter, or digit, except the last character, which cannot be\n            a dash.\n        nocContactEmail:\n          type: string\n          x-dcl-go-name: NocContactEmail\n          description: Email address to contact the customer NOC for operations and\n            maintenance notifications regarding this Interconnect. If specified, this\n            will be used for notifications in addition to all other forms described,\n            such as Stackdriver logs alerting and Cloud Notifications.\n        operationalStatus:\n          type: string\n          x-dcl-go-name: OperationalStatus\n          x-dcl-go-type: InterconnectOperationalStatusEnum\n          readOnly: true\n          description: 'The current status of this Interconnect''s functionality,\n            which can take one of the following values: OS_ACTIVE: A valid Interconnect,\n            which is turned up and is ready to use. Attachments may be provisioned\n            on this Interconnect. OS_UNPROVISIONED: An Interconnect that has not completed\n            turnup. No attachments may be provisioned on this Interconnect. OS_UNDER_MAINTENANCE:\n            An Interconnect that is undergoing internal maintenance. No attachments\n            may be provisioned or updated on this Interconnect.'\n          x-kubernetes-immutable: true\n          enum:\n          - OS_ACTIVE\n          - OS_UNPROVISIONED\n          - OS_UNDER_MAINTENANCE\n        peerIPAddress:\n          type: string\n          x-dcl-go-name: PeerIPAddress\n          readOnly: true\n          description: IP address configured on the customer side of the Interconnect\n            link. The customer should configure this IP address during turnup when\n            prompted by Google NOC. This can be used only for ping tests.\n          x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        provisionedLinkCount:\n          type: integer\n          format: int64\n          x-dcl-go-name: ProvisionedLinkCount\n          readOnly: true\n          description: Number of links actually provisioned in this interconnect.\n          x-kubernetes-immutable: true\n        requestedLinkCount:\n          type: integer\n          format: int64\n          x-dcl-go-name: RequestedLinkCount\n          description: Target number of physical links in the link bundle, as requested\n            by the customer.\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Server-defined URL for the resource.\n          x-kubernetes-immutable: true\n        state:\n          type: string\n          x-dcl-go-name: State\n          x-dcl-go-type: InterconnectStateEnum\n          readOnly: true\n          description: 'The current state of Interconnect functionality, which can\n            take one of the following values: ACTIVE: The Interconnect is valid, turned\n            up and ready to use. Attachments may be provisioned on this Interconnect.\n            UNPROVISIONED: The Interconnect has not completed turnup. No attachments\n            may be provisioned on this Interconnect. UNDER_MAINTENANCE: The Interconnect\n            is undergoing internal maintenance. No attachments may be provisioned\n            or updated on this Interconnect. Possible values: DEPRECATED, OBSOLETE,\n            DELETED, ACTIVE'\n          x-kubernetes-immutable: true\n          enum:\n          - DEPRECATED\n          - OBSOLETE\n          - DELETED\n          - ACTIVE\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/interconnect.yaml

View Source
var YAML_interconnect_attachment = []byte("info:\n  title: Compute/InterconnectAttachment\n  description: The Compute InterconnectAttachment resource\n  x-dcl-struct-name: InterconnectAttachment\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a InterconnectAttachment\n    parameters:\n    - name: InterconnectAttachment\n      required: true\n      description: A full instance of a InterconnectAttachment\n  apply:\n    description: The function used to apply information about a InterconnectAttachment\n    parameters:\n    - name: InterconnectAttachment\n      required: true\n      description: A full instance of a InterconnectAttachment\n  delete:\n    description: The function used to delete a InterconnectAttachment\n    parameters:\n    - name: InterconnectAttachment\n      required: true\n      description: A full instance of a InterconnectAttachment\n  deleteAll:\n    description: The function used to delete all InterconnectAttachment\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: region\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many InterconnectAttachment\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: region\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    InterconnectAttachment:\n      title: InterconnectAttachment\n      x-dcl-id: projects/{{project}}/regions/{{region}}/interconnectAttachments/{{name}}\n      x-dcl-locations:\n      - region\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - region\n      - project\n      properties:\n        adminEnabled:\n          type: boolean\n          x-dcl-go-name: AdminEnabled\n          description: Determines whether this Attachment will carry packets. Not\n            present for PARTNER_PROVIDER.\n        bandwidth:\n          type: string\n          x-dcl-go-name: Bandwidth\n          x-dcl-go-type: InterconnectAttachmentBandwidthEnum\n          description: 'Provisioned bandwidth capacity for the interconnect attachment.\n            For attachments of type DEDICATED, the user can set the bandwidth. For\n            attachments of type PARTNER, the Google Partner that is operating the\n            interconnect must set the bandwidth. Output only for PARTNER type, mutable\n            for PARTNER_PROVIDER and DEDICATED, and can take one of the following\n            values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s\n            - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s -\n            BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s\n            - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s'\n          enum:\n          - BPS_50M\n          - BPS_100M\n          - BPS_200M\n          - BPS_300M\n          - BPS_400M\n          - BPS_500M\n          - BPS_1G\n          - BPS_2G\n          - BPS_5G\n          - BPS_10G\n          - BPS_20G\n          - BPS_50G\n        candidateSubnets:\n          type: array\n          x-dcl-go-name: CandidateSubnets\n          description: Up to 16 candidate prefixes that can be used to restrict the\n            allocation of cloudRouterIpAddress and customerRouterIpAddress for this\n            attachment. All prefixes must be within link-local address space (169.254.0.0/16)\n            and must be /29 or shorter (/28, /27, etc). Google will attempt to select\n            an unused /29 from the supplied candidate prefix(es). The request will\n            fail if all possible /29s are in use on Google's edge. If not supplied,\n            Google will randomly select an unused /29 from all of link-local space.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n        cloudRouterIPAddress:\n          type: string\n          x-dcl-go-name: CloudRouterIPAddress\n          readOnly: true\n          description: IPv4 address + prefix length to be configured on Cloud Router\n            Interface for this interconnect attachment.\n          x-kubernetes-immutable: true\n        customerRouterIPAddress:\n          type: string\n          x-dcl-go-name: CustomerRouterIPAddress\n          readOnly: true\n          description: IPv4 address + prefix length to be configured on the customer\n            router subinterface for this interconnect attachment.\n          x-kubernetes-immutable: true\n        dataplaneVersion:\n          type: integer\n          format: int64\n          x-dcl-go-name: DataplaneVersion\n          description: Dataplane version for this InterconnectAttachment. This field\n            is only present for Dataplane version 2 and higher. Absence of this field\n            in the API output indicates that the Dataplane is version 1.\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: An optional description of this resource.\n        edgeAvailabilityDomain:\n          type: string\n          x-dcl-go-name: EdgeAvailabilityDomain\n          x-dcl-go-type: InterconnectAttachmentEdgeAvailabilityDomainEnum\n          description: 'Desired availability domain for the attachment. Only available\n            for type PARTNER, at creation time, and can take one of the following\n            values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2\n            For improved reliability, customers should configure a pair of attachments,\n            one per availability domain. The selected availability domain will be\n            provided to the Partner via the pairing key, so that the provisioned circuit\n            will lie in the specified domain. If not specified, the value will default\n            to AVAILABILITY_DOMAIN_ANY.'\n          enum:\n          - AVAILABILITY_DOMAIN_ANY\n          - AVAILABILITY_DOMAIN_1\n          - AVAILABILITY_DOMAIN_2\n        encryption:\n          type: string\n          x-dcl-go-name: Encryption\n          x-dcl-go-type: InterconnectAttachmentEncryptionEnum\n          description: 'Indicates the user-supplied encryption option of this VLAN\n            attachment (interconnectAttachment). Can only be specified at attachment\n            creation for PARTNER or DEDICATED attachments. Possible values are: -\n            `NONE` - This is the default value, which means that the VLAN attachment\n            carries unencrypted traffic. VMs are able to send traffic to, or receive\n            traffic from, such a VLAN attachment. - `IPSEC` - The VLAN attachment\n            carries only encrypted traffic that is encrypted by an IPsec device, such\n            as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send\n            traffic to, or receive traffic from, such a VLAN attachment. To use _IPsec-encrypted\n            Cloud Interconnect_, the VLAN attachment must be created with this option.\n            Not currently available publicly.'\n          enum:\n          - NONE\n          - IPSEC\n        id:\n          type: integer\n          format: int64\n          x-dcl-go-name: Id\n          readOnly: true\n          description: The unique identifier for the resource. This identifier is\n            defined by the server.\n          x-kubernetes-immutable: true\n        interconnect:\n          type: string\n          x-dcl-go-name: Interconnect\n          description: URL of the underlying Interconnect object that this attachment's\n            traffic will traverse through.\n        ipsecInternalAddresses:\n          type: array\n          x-dcl-go-name: IpsecInternalAddresses\n          description: A list of URLs of addresses that have been reserved for the\n            VLAN attachment. Used only for the VLAN attachment that has the encryption\n            option as IPSEC. The addresses must be regional internal IP address ranges.\n            When creating an HA VPN gateway over the VLAN attachment, if the attachment\n            is configured to use a regional internal IP address, then the VPN gateway's\n            IP address is allocated from the IP address range specified here. For\n            example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment,\n            then a regional internal IP address for the VPN gateway interface 0 will\n            be allocated from the IP address specified for this VLAN attachment. If\n            this field is not specified when creating the VLAN attachment, then later\n            on when creating an HA VPN gateway on this VLAN attachment, the HA VPN\n            gateway's IP address is allocated from the regional external IP address\n            pool. Not currently available publicly.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n        labelFingerprint:\n          type: string\n          x-dcl-go-name: LabelFingerprint\n          description: A fingerprint for the labels being applied to this InterconnectAttachment,\n            which is essentially a hash of the labels set used for optimistic locking.\n            The fingerprint is initially generated by Compute Engine and changes after\n            every request to modify or update labels. You must always provide an up-to-date\n            fingerprint hash in order to update or change labels, otherwise the request\n            will fail with error `412 conditionNotMet`. To see the latest fingerprint,\n            make a `get()` request to retrieve an InterconnectAttachment.\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Labels for this resource. These can only be added or modified\n            by the `setLabels` method. Each label key/value pair must comply with\n            [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty.\n        mtu:\n          type: integer\n          format: int64\n          x-dcl-go-name: Mtu\n          description: Maximum Transmission Unit (MTU), in bytes, of packets passing\n            through this interconnect attachment. Only 1440 and 1500 are allowed.\n            If not specified, the value will default to 1440.\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Name of the resource. Provided by the client when the resource\n            is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n            Specifically, the name must be 1-63 characters long and match the regular\n            expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n            must be a lowercase letter, and all following characters must be a dash,\n            lowercase letter, or digit, except the last character, which cannot be\n            a dash.\n        operationalStatus:\n          type: string\n          x-dcl-go-name: OperationalStatus\n          x-dcl-go-type: InterconnectAttachmentOperationalStatusEnum\n          readOnly: true\n          description: 'The current status of whether or not this interconnect attachment\n            is functional, which can take one of the following values: - OS_ACTIVE:\n            The attachment has been turned up and is ready to use. - OS_UNPROVISIONED:\n            The attachment is not ready to use yet, because turnup is not complete.'\n          x-kubernetes-immutable: true\n          enum:\n          - OS_ACTIVE\n          - OS_UNPROVISIONED\n        pairingKey:\n          type: string\n          x-dcl-go-name: PairingKey\n          description: The opaque identifier of an PARTNER attachment used to initiate\n            provisioning with a selected partner. Of the form \"XXXXX/region/domain\"\n        partnerAsn:\n          type: integer\n          format: int64\n          x-dcl-go-name: PartnerAsn\n          description: Optional BGP ASN for the router supplied by a Layer 3 Partner\n            if they configured BGP on behalf of the customer. Output only for PARTNER\n            type, input only for PARTNER_PROVIDER, not available for DEDICATED.\n        partnerMetadata:\n          type: object\n          x-dcl-go-name: PartnerMetadata\n          x-dcl-go-type: InterconnectAttachmentPartnerMetadata\n          description: Informational metadata about Partner attachments from Partners\n            to display to customers. Output only for for PARTNER type, mutable for\n            PARTNER_PROVIDER, not available for DEDICATED.\n          properties:\n            interconnectName:\n              type: string\n              x-dcl-go-name: InterconnectName\n              description: Plain text name of the Interconnect this attachment is\n                connected to, as displayed in the Partner's portal. For instance \"Chicago\n                1\". This value may be validated to match approved Partner values.\n            partnerName:\n              type: string\n              x-dcl-go-name: PartnerName\n              description: Plain text name of the Partner providing this attachment.\n                This value may be validated to match approved Partner values.\n            portalUrl:\n              type: string\n              x-dcl-go-name: PortalUrl\n              description: URL of the Partner's portal for this Attachment. Partners\n                may customise this to be a deep link to the specific resource on the\n                Partner portal. This value may be validated to match approved Partner\n                values.\n        privateInterconnectInfo:\n          type: object\n          x-dcl-go-name: PrivateInterconnectInfo\n          x-dcl-go-type: InterconnectAttachmentPrivateInterconnectInfo\n          readOnly: true\n          description: Information specific to an InterconnectAttachment. This property\n            is populated if the interconnect that this is attached to is of type DEDICATED.\n          x-kubernetes-immutable: true\n          properties:\n            tag8021q:\n              type: integer\n              format: int64\n              x-dcl-go-name: Tag8021q\n              readOnly: true\n              description: 802.1q encapsulation tag to be used for traffic between\n                Google and the customer, going to and from this network and region.\n              x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        region:\n          type: string\n          x-dcl-go-name: Region\n          description: URL of the region where the regional interconnect attachment\n            resides. You must specify this field as part of the HTTP request URL.\n            It is not settable as a field in the request body.\n          x-kubernetes-immutable: true\n        router:\n          type: string\n          x-dcl-go-name: Router\n          description: URL of the Cloud Router to be used for dynamic routing. This\n            router must be in the same region as this InterconnectAttachment. The\n            InterconnectAttachment will automatically connect the Interconnect to\n            the network & region within which the Cloud Router is configured.\n        satisfiesPzs:\n          type: boolean\n          x-dcl-go-name: SatisfiesPzs\n          readOnly: true\n          description: Set to true if the resource satisfies the zone separation organization\n            policy constraints and false otherwise. Defaults to false if the field\n            is not present.\n          x-kubernetes-immutable: true\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Server-defined URL for the resource.\n          x-kubernetes-immutable: true\n        state:\n          type: string\n          x-dcl-go-name: State\n          x-dcl-go-type: InterconnectAttachmentStateEnum\n          readOnly: true\n          description: 'The current state of this attachment''s functionality. Enum\n            values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER,\n            and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER,\n            PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER\n            and PARTNER_PROVIDER interconnect attachments. This state can take one\n            of the following values: - ACTIVE: The attachment has been turned up and\n            is ready to use. - UNPROVISIONED: The attachment is not ready to use yet,\n            because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER\n            attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED:\n            A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER\n            attachment was created that references it. - PENDING_CUSTOMER: A PARTNER\n            or PARTNER_PROVIDER attachment that is waiting for a customer to activate\n            it. - DEFUNCT: The attachment was deleted externally and is no longer\n            functional. This could be because the associated Interconnect was removed,\n            or because the other side of a Partner attachment was deleted. Possible\n            values: DEPRECATED, OBSOLETE, DELETED, ACTIVE'\n          x-kubernetes-immutable: true\n          enum:\n          - DEPRECATED\n          - OBSOLETE\n          - DELETED\n          - ACTIVE\n        type:\n          type: string\n          x-dcl-go-name: Type\n          x-dcl-go-type: InterconnectAttachmentTypeEnum\n          description: 'The type of interconnect attachment this is, which can take\n            one of the following values: - DEDICATED: an attachment to a Dedicated\n            Interconnect. - PARTNER: an attachment to a Partner Interconnect, created\n            by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect,\n            created by the partner. Possible values: PATH, OTHER, PARAMETER'\n          enum:\n          - PATH\n          - OTHER\n          - PARAMETER\n        vlanTag8021q:\n          type: integer\n          format: int64\n          x-dcl-go-name: VlanTag8021q\n          description: The IEEE 802.1Q VLAN tag for this attachment, in the range\n            2-4094. Only specified at creation time.\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/interconnect_attachment.yaml

View Source
var YAML_network = []byte("info:\n  title: Compute/Network\n  description: The Compute Network resource\n  x-dcl-struct-name: Network\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a Network\n    parameters:\n    - name: Network\n      required: true\n      description: A full instance of a Network\n  apply:\n    description: The function used to apply information about a Network\n    parameters:\n    - name: Network\n      required: true\n      description: A full instance of a Network\n  delete:\n    description: The function used to delete a Network\n    parameters:\n    - name: Network\n      required: true\n      description: A full instance of a Network\n  deleteAll:\n    description: The function used to delete all Network\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Network\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Network:\n      title: Network\n      x-dcl-id: projects/{{project}}/global/networks/{{name}}\n      x-dcl-locations:\n      - global\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - project\n      properties:\n        autoCreateSubnetworks:\n          type: boolean\n          x-dcl-go-name: AutoCreateSubnetworks\n          description: 'When set to `true`, the network is created in \"auto subnet\n            mode\" and it will create a subnet for each region automatically across\n            the `10.128.0.0/9` address range.  When set to `false`, the network is\n            created in \"custom subnet mode\" so the user can explicitly connect subnetwork\n            resources. '\n          x-kubernetes-immutable: true\n          default: true\n          x-dcl-send-empty: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: 'An optional description of this resource. The resource must\n            be recreated to modify this field. '\n          x-kubernetes-immutable: true\n        gatewayIPv4:\n          type: string\n          x-dcl-go-name: GatewayIPv4\n          readOnly: true\n          description: 'The gateway address for default routing out of the network.\n            This value is selected by GCP. '\n          x-kubernetes-immutable: true\n        mtu:\n          type: integer\n          format: int64\n          x-dcl-go-name: Mtu\n          description: Maximum Transmission Unit in bytes. The minimum value for this\n            field is 1460 and the maximum value is 1500 bytes.\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: 'Name of the resource. Provided by the client when the resource\n            is created. The name must be 1-63 characters long, and comply with RFC1035.\n            Specifically, the name must be 1-63 characters long and match the regular\n            expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n            must be a lowercase letter, and all following characters must be a dash,\n            lowercase letter, or digit, except the last character, which cannot be\n            a dash. '\n          x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project id of the resource.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        routingConfig:\n          type: object\n          x-dcl-go-name: RoutingConfig\n          x-dcl-go-type: NetworkRoutingConfig\n          description: 'The network-level routing configuration for this network.\n            Used by Cloud Router to determine what type of network-wide routing behavior\n            to enforce. '\n          properties:\n            routingMode:\n              type: string\n              x-dcl-go-name: RoutingMode\n              x-dcl-go-type: NetworkRoutingConfigRoutingModeEnum\n              description: 'The network-wide routing mode to use. If set to `REGIONAL`,\n                this network''s cloud routers will only advertise routes with subnetworks\n                of this network in the same region as the router. If set to `GLOBAL`,\n                this network''s cloud routers will advertise routes with all subnetworks\n                of this network, across regions. '\n              x-dcl-server-default: true\n              enum:\n              - REGIONAL\n              - GLOBAL\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Server-defined URL for the resource.\n          x-kubernetes-immutable: true\n        selfLinkWithId:\n          type: string\n          x-dcl-go-name: SelfLinkWithId\n          readOnly: true\n          description: Server-defined URL for the resource containing the network\n            ID.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/network.yaml

View Source
var YAML_packet_mirroring = []byte("info:\n  title: Compute/PacketMirroring\n  description: Packet Mirroring mirrors traffic to and from particular VM instances.\n    You can use the collected traffic to help you detect security threats and monitor\n    application performance.\n  x-dcl-struct-name: PacketMirroring\n  x-dcl-has-iam: false\n  x-dcl-ref:\n    text: API documentation\n    url: https://cloud.google.com/compute/docs/reference/rest/beta/packetMirrorings\n  x-dcl-guides:\n  - text: Using Packet Mirroring\n    url: https://cloud.google.com/vpc/docs/using-packet-mirroring\npaths:\n  get:\n    description: The function used to get information about a PacketMirroring\n    parameters:\n    - name: PacketMirroring\n      required: true\n      description: A full instance of a PacketMirroring\n  apply:\n    description: The function used to apply information about a PacketMirroring\n    parameters:\n    - name: PacketMirroring\n      required: true\n      description: A full instance of a PacketMirroring\n  delete:\n    description: The function used to delete a PacketMirroring\n    parameters:\n    - name: PacketMirroring\n      required: true\n      description: A full instance of a PacketMirroring\n  deleteAll:\n    description: The function used to delete all PacketMirroring\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many PacketMirroring\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    PacketMirroring:\n      title: PacketMirroring\n      x-dcl-id: projects/{{project}}/regions/{{location}}/packetMirrorings/{{name}}\n      x-dcl-locations:\n      - region\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - network\n      - collectorIlb\n      - mirroredResources\n      - project\n      - location\n      properties:\n        collectorIlb:\n          type: object\n          x-dcl-go-name: CollectorIlb\n          x-dcl-go-type: PacketMirroringCollectorIlb\n          description: The Forwarding Rule resource of type `loadBalancingScheme=INTERNAL`\n            that will be used as collector for mirrored traffic. The specified forwarding\n            rule must have `isMirroringCollector` set to true.\n          required:\n          - url\n          properties:\n            canonicalUrl:\n              type: string\n              x-dcl-go-name: CanonicalUrl\n              readOnly: true\n              description: Output only. Unique identifier for the forwarding rule;\n                defined by the server.\n            url:\n              type: string\n              x-dcl-go-name: Url\n              description: Resource URL to the forwarding rule representing the ILB\n                configured as destination of the mirrored traffic.\n              x-dcl-references:\n              - resource: Compute/ForwardingRule\n                field: selfLink\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: An optional description of this resource. Provide this property\n            when you create the resource.\n        enable:\n          type: string\n          x-dcl-go-name: Enable\n          x-dcl-go-type: PacketMirroringEnableEnum\n          description: Indicates whether or not this packet mirroring takes effect.\n            If set to FALSE, this packet mirroring policy will not be enforced on\n            the network. The default is TRUE.\n          x-dcl-server-default: true\n          enum:\n          - \"TRUE\"\n          - \"FALSE\"\n        filter:\n          type: object\n          x-dcl-go-name: Filter\n          x-dcl-go-type: PacketMirroringFilter\n          description: Filter for mirrored traffic. If unspecified, all traffic is\n            mirrored.\n          properties:\n            cidrRanges:\n              type: array\n              x-dcl-go-name: CidrRanges\n              description: IP CIDR ranges that apply as filter on the source (ingress)\n                or destination (egress) IP in the IP header. Only IPv4 is supported.\n                If no ranges are specified, all traffic that matches the specified\n                IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is\n                specified, all traffic is mirrored.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            direction:\n              type: string\n              x-dcl-go-name: Direction\n              x-dcl-go-type: PacketMirroringFilterDirectionEnum\n              description: Direction of traffic to mirror, either INGRESS, EGRESS,\n                or BOTH. The default is BOTH.\n              enum:\n              - INGRESS\n              - EGRESS\n            ipProtocols:\n              type: array\n              x-dcl-go-name: IPProtocols\n              description: Protocols that apply as filter on mirrored traffic. If\n                no protocols are specified, all traffic that matches the specified\n                CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is\n                specified, all traffic is mirrored.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n        id:\n          type: integer\n          format: int64\n          x-dcl-go-name: Id\n          readOnly: true\n          description: Output only. The unique identifier for the resource. This identifier\n            is defined by the server.\n          x-kubernetes-immutable: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        mirroredResources:\n          type: object\n          x-dcl-go-name: MirroredResources\n          x-dcl-go-type: PacketMirroringMirroredResources\n          description: PacketMirroring mirroredResourceInfos. MirroredResourceInfo\n            specifies a set of mirrored VM instances, subnetworks and/or tags for\n            which traffic from/to all VM instances will be mirrored.\n          properties:\n            instances:\n              type: array\n              x-dcl-go-name: Instances\n              description: A set of virtual machine instances that are being mirrored.\n                They must live in zones contained in the same region as this packetMirroring.\n                Note that this config will apply only to those network interfaces\n                of the Instances that belong to the network specified in this packetMirroring.\n                You may specify a maximum of 50 Instances.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: PacketMirroringMirroredResourcesInstances\n                properties:\n                  canonicalUrl:\n                    type: string\n                    x-dcl-go-name: CanonicalUrl\n                    readOnly: true\n                    description: Output only. Unique identifier for the instance;\n                      defined by the server.\n                    x-kubernetes-immutable: true\n                  url:\n                    type: string\n                    x-dcl-go-name: Url\n                    description: Resource URL to the virtual machine instance which\n                      is being mirrored.\n                    x-dcl-references:\n                    - resource: Compute/Instance\n                      field: selfLink\n            subnetworks:\n              type: array\n              x-dcl-go-name: Subnetworks\n              description: A set of subnetworks for which traffic from/to all VM instances\n                will be mirrored. They must live in the same region as this packetMirroring.\n                You may specify a maximum of 5 subnetworks.\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: PacketMirroringMirroredResourcesSubnetworks\n                properties:\n                  canonicalUrl:\n                    type: string\n                    x-dcl-go-name: CanonicalUrl\n                    readOnly: true\n                    description: Output only. Unique identifier for the subnetwork;\n                      defined by the server.\n                    x-kubernetes-immutable: true\n                  url:\n                    type: string\n                    x-dcl-go-name: Url\n                    description: Resource URL to the subnetwork for which traffic\n                      from/to all VM instances will be mirrored.\n                    x-kubernetes-immutable: true\n                    x-dcl-references:\n                    - resource: Compute/Subnetwork\n                      field: selfLink\n            tags:\n              type: array\n              x-dcl-go-name: Tags\n              description: A set of mirrored tags. Traffic from/to all VM instances\n                that have one or more of these tags will be mirrored.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Name of the resource; provided by the client when the resource\n            is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n            Specifically, the name must be 1-63 characters long and match the regular\n            expression `)?` which means the first character must be a lowercase letter,\n            and all following characters must be a dash, lowercase letter, or digit,\n            except the last character, which cannot be a dash.\n          x-kubernetes-immutable: true\n        network:\n          type: object\n          x-dcl-go-name: Network\n          x-dcl-go-type: PacketMirroringNetwork\n          description: Specifies the mirrored VPC network. Only packets in this network\n            will be mirrored. All mirrored VMs should have a NIC in the given network.\n            All mirrored subnetworks should belong to the given network.\n          x-kubernetes-immutable: true\n          required:\n          - url\n          properties:\n            canonicalUrl:\n              type: string\n              x-dcl-go-name: CanonicalUrl\n              readOnly: true\n              description: Output only. Unique identifier for the network; defined\n                by the server.\n              x-kubernetes-immutable: true\n            url:\n              type: string\n              x-dcl-go-name: Url\n              description: URL of the network resource.\n              x-kubernetes-immutable: true\n              x-dcl-references:\n              - resource: Compute/Network\n                field: selfLink\n        priority:\n          type: integer\n          format: int64\n          x-dcl-go-name: Priority\n          description: The priority of applying this configuration. Priority is used\n            to break ties in cases where there is more than one matching rule. In\n            the case of two rules that apply for a given Instance, the one with the\n            lowest-numbered priority value wins. Default value is 1000. Valid range\n            is 0 through 65535.\n          x-dcl-server-default: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        region:\n          type: string\n          x-dcl-go-name: Region\n          readOnly: true\n          description: URI of the region where the packetMirroring resides.\n          x-kubernetes-immutable: true\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Server-defined URL for the resource.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/packet_mirroring.yaml

View Source
var YAML_route = []byte("info:\n  title: Compute/Route\n  description: The Compute Route resource\n  x-dcl-struct-name: Route\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a Route\n    parameters:\n    - name: Route\n      required: true\n      description: A full instance of a Route\n  apply:\n    description: The function used to apply information about a Route\n    parameters:\n    - name: Route\n      required: true\n      description: A full instance of a Route\n  delete:\n    description: The function used to delete a Route\n    parameters:\n    - name: Route\n      required: true\n      description: A full instance of a Route\n  deleteAll:\n    description: The function used to delete all Route\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Route\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Route:\n      title: Route\n      x-dcl-id: projects/{{project}}/global/routes/{{name}}\n      x-dcl-locations:\n      - global\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - network\n      - destRange\n      - project\n      properties:\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: |-\n            An optional description of this resource. Provide this field when you\n            create the resource.\n          x-kubernetes-immutable: true\n        destRange:\n          type: string\n          x-dcl-go-name: DestRange\n          description: The destination range of the route.\n          x-kubernetes-immutable: true\n        id:\n          type: integer\n          format: int64\n          x-dcl-go-name: Id\n          readOnly: true\n          description: |-\n            [Output Only] The unique identifier for the resource. This identifier is\n            defined by the server.\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: |-\n            Name of the resource. Provided by the client when the resource is created.\n            The name must be 1-63 characters long, and comply with\n            <a href=\"https://www.ietf.org/rfc/rfc1035.txt\" target=\"_blank\">RFC1035</a>.\n            Specifically, the name must be 1-63 characters long and match the regular\n            expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a\n            lowercase letter, and all following characters (except for the last\n            character) must be a dash, lowercase letter, or digit. The last character\n            must be a lowercase letter or digit.\n          x-kubernetes-immutable: true\n        network:\n          type: string\n          x-dcl-go-name: Network\n          description: Fully-qualified URL of the network that this route applies\n            to.\n          x-kubernetes-immutable: true\n        nextHopGateway:\n          type: string\n          x-dcl-go-name: NextHopGateway\n          description: |-\n            The URL to a gateway that should handle matching packets.\n            You can only specify the internet gateway using a full or\n            partial valid URL: </br>\n            <code>projects/<var\n            class=\"apiparam\">project</var>/global/gateways/default-internet-gateway</code>\n          x-kubernetes-immutable: true\n          x-dcl-conflicts:\n          - nextHopVpnTunnel\n          - nextHopIP\n          - nextHopInstance\n          - nextHopIlb\n        nextHopIP:\n          type: string\n          x-dcl-go-name: NextHopIP\n          description: |-\n            The network IP address of an instance that should handle matching packets.\n            Only IPv4 is supported.\n          x-kubernetes-immutable: true\n          x-dcl-conflicts:\n          - nextHopVpnTunnel\n          - nextHopInstance\n          - nextHopGateway\n          - nextHopIlb\n          x-dcl-server-default: true\n        nextHopIlb:\n          type: string\n          x-dcl-go-name: NextHopIlb\n          description: |-\n            The URL to a forwarding rule of type\n            <code>loadBalancingScheme=INTERNAL</code> that should handle matching\n            packets. You can only specify the forwarding rule as a partial or full\n            URL. For example, the following are all valid URLs:\n            <ul>\n               <li><code>https://www.googleapis.com/compute/v1/projects/<var\n               class=\"apiparam\">project</var>/regions/<var\n               class=\"apiparam\">region</var>/forwardingRules/<var\n               class=\"apiparam\">forwardingRule</var></code></li> <li><code>regions/<var\n               class=\"apiparam\">region</var>/forwardingRules/<var\n               class=\"apiparam\">forwardingRule</var></code></li>\n            </ul>\n          x-kubernetes-immutable: true\n          x-dcl-conflicts:\n          - nextHopVpnTunnel\n          - nextHopIP\n          - nextHopInstance\n          - nextHopGateway\n        nextHopInstance:\n          type: string\n          x-dcl-go-name: NextHopInstance\n          description: |-\n            The URL to an instance that should handle matching packets. You can specify\n            this as a full or partial URL.\n            For example: <br />\n            <code>https://www.googleapis.com/compute/v1/projects/<var\n            class=\"apiparam\">project</var>/zones/<var\n            class=\"apiparam\">zone</var>/instances/<instance-name></code>\n          x-kubernetes-immutable: true\n          x-dcl-conflicts:\n          - nextHopVpnTunnel\n          - nextHopIP\n          - nextHopGateway\n          - nextHopIlb\n        nextHopNetwork:\n          type: string\n          x-dcl-go-name: NextHopNetwork\n          readOnly: true\n          description: The URL of the local network if it should handle matching packets.\n          x-kubernetes-immutable: true\n        nextHopPeering:\n          type: string\n          x-dcl-go-name: NextHopPeering\n          readOnly: true\n          description: |-\n            [Output Only] The network peering name that should handle matching packets,\n            which should conform to RFC1035.\n          x-kubernetes-immutable: true\n        nextHopVpnTunnel:\n          type: string\n          x-dcl-go-name: NextHopVpnTunnel\n          description: The URL to a VpnTunnel that should handle matching packets.\n          x-kubernetes-immutable: true\n          x-dcl-conflicts:\n          - nextHopIP\n          - nextHopInstance\n          - nextHopGateway\n          - nextHopIlb\n        priority:\n          type: integer\n          format: int64\n          x-dcl-go-name: Priority\n          description: The priority of the peering route.\n          x-kubernetes-immutable: true\n          default: 1000\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: '[Output Only] Server-defined fully-qualified URL for this\n            resource.'\n          x-kubernetes-immutable: true\n        tag:\n          type: array\n          x-dcl-go-name: Tag\n          description: A list of instance tags to which this route applies.\n          x-kubernetes-immutable: true\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n        warning:\n          type: array\n          x-dcl-go-name: Warning\n          readOnly: true\n          description: |-\n            [Output Only] If potential misconfigurations are detected for this\n            route, this field will be populated with warning messages.\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: RouteWarning\n            properties:\n              code:\n                type: string\n                x-dcl-go-name: Code\n                x-dcl-go-type: RouteWarningCodeEnum\n                readOnly: true\n                description: |-\n                  [Output Only] A warning code, if applicable. For example, Compute\n                  Engine returns <code>NO_RESULTS_ON_PAGE</code> if there\n                  are no results in the response. Possible values: BAD_REQUEST, FORBIDDEN, NOT_FOUND, CONFLICT, GONE, PRECONDITION_FAILED, INTERNAL_ERROR, SERVICE_UNAVAILABLE\n                x-kubernetes-immutable: true\n                enum:\n                - BAD_REQUEST\n                - FORBIDDEN\n                - NOT_FOUND\n                - CONFLICT\n                - GONE\n                - PRECONDITION_FAILED\n                - INTERNAL_ERROR\n                - SERVICE_UNAVAILABLE\n              data:\n                type: object\n                additionalProperties:\n                  type: string\n                x-dcl-go-name: Data\n                readOnly: true\n                description: |-\n                  [Output Only] Metadata about this warning in <code class=\"lang-html\">key:\n                  value</code> format. For example:\n                  <pre class=\"lang-html prettyprint\">\"data\": [\n                   : {\n                     \"key\": \"scope\",\n                     \"value\": \"zones/us-east1-d\"\n                    }</pre>\n                x-kubernetes-immutable: true\n              message:\n                type: string\n                x-dcl-go-name: Message\n                readOnly: true\n                description: '[Output Only] A human-readable description of the warning\n                  code.'\n                x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/route.yaml

View Source
var YAML_service_attachment = []byte("info:\n  title: Compute/ServiceAttachment\n  description: Represents a ServiceAttachment resource.\n  x-dcl-struct-name: ServiceAttachment\n  x-dcl-has-iam: false\n  x-dcl-ref:\n    text: API documentation\n    url: https://cloud.google.com/compute/docs/reference/rest/beta/serviceAttachments\n  x-dcl-guides:\n  - text: Configuring Private Service Connect to access services\n    url: https://cloud.google.com/vpc/docs/configure-private-service-connect-services\npaths:\n  get:\n    description: The function used to get information about a ServiceAttachment\n    parameters:\n    - name: ServiceAttachment\n      required: true\n      description: A full instance of a ServiceAttachment\n  apply:\n    description: The function used to apply information about a ServiceAttachment\n    parameters:\n    - name: ServiceAttachment\n      required: true\n      description: A full instance of a ServiceAttachment\n  delete:\n    description: The function used to delete a ServiceAttachment\n    parameters:\n    - name: ServiceAttachment\n      required: true\n      description: A full instance of a ServiceAttachment\n  deleteAll:\n    description: The function used to delete all ServiceAttachment\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many ServiceAttachment\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    ServiceAttachment:\n      title: ServiceAttachment\n      x-dcl-id: projects/{{project}}/regions/{{location}}/serviceAttachments/{{name}}\n      x-dcl-locations:\n      - region\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - targetService\n      - connectionPreference\n      - natSubnets\n      - project\n      - location\n      properties:\n        connectedEndpoints:\n          type: array\n          x-dcl-go-name: ConnectedEndpoints\n          readOnly: true\n          description: An array of connections for all the consumers connected to\n            this service attachment.\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: ServiceAttachmentConnectedEndpoints\n            properties:\n              endpoint:\n                type: string\n                x-dcl-go-name: Endpoint\n                description: The url of a connected endpoint.\n              pscConnectionId:\n                type: integer\n                format: int64\n                x-dcl-go-name: PscConnectionId\n                description: The PSC connection id of the connected endpoint.\n              status:\n                type: string\n                x-dcl-go-name: Status\n                x-dcl-go-type: ServiceAttachmentConnectedEndpointsStatusEnum\n                description: 'The status of a connected endpoint to this service attachment.\n                  Possible values: PENDING, RUNNING, DONE'\n                enum:\n                - PENDING\n                - RUNNING\n                - DONE\n        connectionPreference:\n          type: string\n          x-dcl-go-name: ConnectionPreference\n          x-dcl-go-type: ServiceAttachmentConnectionPreferenceEnum\n          description: 'The connection preference of service attachment. The value\n            can be set to `ACCEPT_AUTOMATIC`. An `ACCEPT_AUTOMATIC` service attachment\n            is one that always accepts the connection from consumer forwarding rules.\n            Possible values: CONNECTION_PREFERENCE_UNSPECIFIED, ACCEPT_AUTOMATIC,\n            ACCEPT_MANUAL'\n          enum:\n          - CONNECTION_PREFERENCE_UNSPECIFIED\n          - ACCEPT_AUTOMATIC\n          - ACCEPT_MANUAL\n        consumerAcceptLists:\n          type: array\n          x-dcl-go-name: ConsumerAcceptLists\n          description: Projects that are allowed to connect to this service attachment.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: ServiceAttachmentConsumerAcceptLists\n            required:\n            - projectIdOrNum\n            properties:\n              connectionLimit:\n                type: integer\n                format: int64\n                x-dcl-go-name: ConnectionLimit\n                description: The value of the limit to set.\n              projectIdOrNum:\n                type: string\n                x-dcl-go-name: ProjectIdOrNum\n                description: The project id or number for the project to set the limit\n                  for.\n                x-dcl-references:\n                - resource: Cloudresourcemanager/Project\n                  field: name\n        consumerRejectLists:\n          type: array\n          x-dcl-go-name: ConsumerRejectLists\n          description: Projects that are not allowed to connect to this service attachment.\n            The project can be specified using its id or number.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Cloudresourcemanager/Project\n              field: name\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: An optional description of this resource. Provide this property\n            when you create the resource.\n        enableProxyProtocol:\n          type: boolean\n          x-dcl-go-name: EnableProxyProtocol\n          description: If true, enable the proxy protocol which is for supplying client\n            TCP/IP address data in TCP connections that traverse proxies on their\n            way to destination servers.\n          x-kubernetes-immutable: true\n        fingerprint:\n          type: string\n          x-dcl-go-name: Fingerprint\n          readOnly: true\n          description: Fingerprint of this resource. This field is used internally\n            during updates of this resource.\n          x-kubernetes-immutable: true\n        id:\n          type: integer\n          format: int64\n          x-dcl-go-name: Id\n          readOnly: true\n          description: The unique identifier for the resource type. The server generates\n            this identifier.\n          x-kubernetes-immutable: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Name of the resource. Provided by the client when the resource\n            is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n            Specifically, the name must be 1-63 characters long and match the regular\n            expression `)?` which means the first character must be a lowercase letter,\n            and all following characters must be a dash, lowercase letter, or digit,\n            except the last character, which cannot be a dash.\n          x-kubernetes-immutable: true\n        natSubnets:\n          type: array\n          x-dcl-go-name: NatSubnets\n          description: An array of URLs where each entry is the URL of a subnet provided\n            by the service producer to use for NAT in this service attachment.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Compute/Subnetwork\n              field: selfLink\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        pscServiceAttachmentId:\n          type: object\n          x-dcl-go-name: PscServiceAttachmentId\n          x-dcl-go-type: ServiceAttachmentPscServiceAttachmentId\n          readOnly: true\n          description: An 128-bit global unique ID of the PSC service attachment.\n          x-kubernetes-immutable: true\n          properties:\n            high:\n              type: integer\n              format: int64\n              x-dcl-go-name: High\n              readOnly: true\n              x-kubernetes-immutable: true\n            low:\n              type: integer\n              format: int64\n              x-dcl-go-name: Low\n              readOnly: true\n              x-kubernetes-immutable: true\n        region:\n          type: string\n          x-dcl-go-name: Region\n          readOnly: true\n          description: URL of the region where the service attachment resides. This\n            field applies only to the region resource. You must specify this field\n            as part of the HTTP request URL. It is not settable as a field in the\n            request body.\n          x-kubernetes-immutable: true\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Server-defined URL for the resource.\n          x-kubernetes-immutable: true\n        targetService:\n          type: string\n          x-dcl-go-name: TargetService\n          description: The URL of a service serving the endpoint identified by this\n            service attachment.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Compute/ForwardingRule\n            field: selfLink\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/service_attachment.yaml

View Source
var YAML_subnetwork = []byte("info:\n  title: Compute/Subnetwork\n  description: The Compute Subnetwork resource\n  x-dcl-struct-name: Subnetwork\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a Subnetwork\n    parameters:\n    - name: Subnetwork\n      required: true\n      description: A full instance of a Subnetwork\n  apply:\n    description: The function used to apply information about a Subnetwork\n    parameters:\n    - name: Subnetwork\n      required: true\n      description: A full instance of a Subnetwork\n  delete:\n    description: The function used to delete a Subnetwork\n    parameters:\n    - name: Subnetwork\n      required: true\n      description: A full instance of a Subnetwork\n  deleteAll:\n    description: The function used to delete all Subnetwork\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: region\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Subnetwork\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: region\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Subnetwork:\n      title: Subnetwork\n      x-dcl-id: projects/{{project}}/regions/{{region}}/subnetworks/{{name}}\n      x-dcl-locations:\n      - region\n      x-dcl-parent-container: project\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - ipCidrRange\n      - name\n      - network\n      - region\n      - project\n      properties:\n        creationTimestamp:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreationTimestamp\n          readOnly: true\n          description: Creation timestamp in RFC3339 text format.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: 'An optional description of this resource. Provide this property\n            when you create the resource. This field can be set only at resource creation\n            time. '\n          x-kubernetes-immutable: true\n        enableFlowLogs:\n          type: boolean\n          x-dcl-go-name: EnableFlowLogs\n          description: Whether to enable flow logging for this subnetwork. If this\n            field is not explicitly set, it will not appear in `get` listings. If\n            not set the default behavior is to disable flow logging. This field isn't\n            supported with the `purpose` field set to `INTERNAL_HTTPS_LOAD_BALANCER`.\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n        fingerprint:\n          type: string\n          x-dcl-go-name: Fingerprint\n          readOnly: true\n          description: 'Fingerprint of this resource. This field is used internally\n            during updates of this resource. '\n          x-kubernetes-immutable: true\n        gatewayAddress:\n          type: string\n          x-dcl-go-name: GatewayAddress\n          readOnly: true\n          description: 'The gateway address for default routes to reach destination\n            addresses outside this subnetwork. '\n          x-kubernetes-immutable: true\n        ipCidrRange:\n          type: string\n          x-dcl-go-name: IPCidrRange\n          description: 'The range of internal addresses that are owned by this subnetwork.\n            Provide this property when you create the subnetwork. For example, 10.0.0.0/8\n            or 192.168.0.0/16. Ranges must be unique and non-overlapping within a\n            network. Only IPv4 is supported. '\n        logConfig:\n          type: object\n          x-dcl-go-name: LogConfig\n          x-dcl-go-type: SubnetworkLogConfig\n          description: 'Denotes the logging options for the subnetwork flow logs.\n            If logging is enabled logs will be exported to Cloud Logging. '\n          properties:\n            aggregationInterval:\n              type: string\n              x-dcl-go-name: AggregationInterval\n              x-dcl-go-type: SubnetworkLogConfigAggregationIntervalEnum\n              description: 'Can only be specified if VPC flow logging for this subnetwork\n                is enabled. Toggles the aggregation interval for collecting flow logs.\n                Increasing the interval time will reduce the amount of generated flow\n                logs for long lasting connections. Default is an interval of 5 seconds\n                per connection. Possible values are INTERVAL_5_SEC, INTERVAL_30_SEC,\n                INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN '\n              default: INTERVAL_5_SEC\n              enum:\n              - INTERVAL_5_SEC\n              - INTERVAL_30_SEC\n              - INTERVAL_1_MIN\n              - INTERVAL_5_MIN\n              - INTERVAL_10_MIN\n              - INTERVAL_15_MIN\n            flowSampling:\n              type: number\n              format: double\n              x-dcl-go-name: FlowSampling\n              description: 'Can only be specified if VPC flow logging for this subnetwork\n                is enabled. The value of the field must be in [0, 1]. Set the sampling\n                rate of VPC flow logs within the subnetwork where 1.0 means all collected\n                logs are reported and 0.0 means no logs are reported. Default is 0.5\n                which means half of all collected logs are reported. '\n              default: 0.5\n            metadata:\n              type: string\n              x-dcl-go-name: Metadata\n              x-dcl-go-type: SubnetworkLogConfigMetadataEnum\n              description: 'Can only be specified if VPC flow logging for this subnetwork\n                is enabled. Configures whether metadata fields should be added to\n                the reported VPC flow logs. Default is `INCLUDE_ALL_METADATA`.  Possible\n                values: EXCLUDE_ALL_METADATA, INCLUDE_ALL_METADATA'\n              default: INCLUDE_ALL_METADATA\n              enum:\n              - EXCLUDE_ALL_METADATA\n              - INCLUDE_ALL_METADATA\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: 'The name of the resource, provided by the client when initially\n            creating the resource. The name must be 1-63 characters long, and comply\n            with RFC1035. Specifically, the name must be 1-63 characters long and\n            match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means\n            the first character must be a lowercase letter, and all following characters\n            must be a dash, lowercase letter, or digit, except the last character,\n            which cannot be a dash. '\n          x-kubernetes-immutable: true\n        network:\n          type: string\n          x-dcl-go-name: Network\n          description: 'The network this subnet belongs to. Only networks that are\n            in the distributed mode can have subnetworks. '\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Compute/Network\n            field: selfLink\n        privateIPGoogleAccess:\n          type: boolean\n          x-dcl-go-name: PrivateIPGoogleAccess\n          description: 'When enabled, VMs in this subnetwork without external IP addresses\n            can access Google APIs and services by using Private Google Access. '\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project id of the resource.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        purpose:\n          type: string\n          x-dcl-go-name: Purpose\n          x-dcl-go-type: SubnetworkPurposeEnum\n          description: 'The purpose of the resource. This field can be either PRIVATE\n            or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER\n            is a user-created subnetwork that is reserved for Internal HTTP(S) Load\n            Balancing. If unspecified, the purpose defaults to PRIVATE.  If set to\n            INTERNAL_HTTPS_LOAD_BALANCER you must also set the role. '\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n          enum:\n          - INTERNAL_HTTPS_LOAD_BALANCER\n          - PRIVATE\n          - AGGREGATE\n          - PRIVATE_SERVICE_CONNECT\n          - CLOUD_EXTENSION\n          - PRIVATE_NAT\n        region:\n          type: string\n          x-dcl-go-name: Region\n          description: 'The GCP region for this subnetwork. '\n          x-kubernetes-immutable: true\n        role:\n          type: string\n          x-dcl-go-name: Role\n          x-dcl-go-type: SubnetworkRoleEnum\n          description: 'The role of subnetwork. Currenly, this field is only used\n            when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE\n            or BACKUP. An ACTIVE subnetwork is one that is currently being used for\n            Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready\n            to be promoted to ACTIVE or is currently draining. '\n          enum:\n          - ACTIVE\n          - BACKUP\n        secondaryIPRanges:\n          type: array\n          x-dcl-go-name: SecondaryIPRanges\n          description: 'An array of configurations for secondary IP ranges for VM\n            instances contained in this subnetwork. The primary IP of such VM must\n            belong to the primary ipCidrRange of the subnetwork. The alias IPs may\n            belong to either primary or secondary ranges. This field uses attr-as-block\n            mode to avoid breaking users during the 0.12 upgrade. See [the Attr-as-Block\n            page](https://www.terraform.io/docs/configuration/attr-as-blocks.html)\n            for more details. '\n          x-dcl-server-default: true\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: SubnetworkSecondaryIPRanges\n            required:\n            - rangeName\n            - ipCidrRange\n            properties:\n              ipCidrRange:\n                type: string\n                x-dcl-go-name: IPCidrRange\n                description: 'The range of IP addresses belonging to this subnetwork\n                  secondary range. Provide this property when you create the subnetwork.\n                  Ranges must be unique and non-overlapping with all primary and secondary\n                  IP ranges within a network. Only IPv4 is supported. '\n              rangeName:\n                type: string\n                x-dcl-go-name: RangeName\n                description: 'The name associated with this subnetwork secondary range,\n                  used when adding an alias IP range to a VM instance. The name must\n                  be 1-63 characters long, and comply with RFC1035. The name must\n                  be unique within the subnetwork. '\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: '[Output Only] Server-defined URL for the resource.'\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/subnetwork.yaml

View Source
var YAML_vpn_tunnel = []byte("info:\n  title: Compute/VpnTunnel\n  description: The Compute VpnTunnel resource\n  x-dcl-struct-name: VpnTunnel\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a VpnTunnel\n    parameters:\n    - name: VpnTunnel\n      required: true\n      description: A full instance of a VpnTunnel\n  apply:\n    description: The function used to apply information about a VpnTunnel\n    parameters:\n    - name: VpnTunnel\n      required: true\n      description: A full instance of a VpnTunnel\n  delete:\n    description: The function used to delete a VpnTunnel\n    parameters:\n    - name: VpnTunnel\n      required: true\n      description: A full instance of a VpnTunnel\n  deleteAll:\n    description: The function used to delete all VpnTunnel\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: region\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many VpnTunnel\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: region\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    VpnTunnel:\n      title: VpnTunnel\n      x-dcl-id: projects/{{project}}/regions/{{region}}/vpnTunnels/{{name}}\n      x-dcl-locations:\n      - region\n      x-dcl-uses-state-hint: true\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - sharedSecret\n      - project\n      properties:\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: An optional description of this resource. Provide this property\n            when you create the resource.\n          x-kubernetes-immutable: true\n        detailedStatus:\n          type: string\n          x-dcl-go-name: DetailedStatus\n          readOnly: true\n          description: Detailed status message for the VPN tunnel.\n          x-kubernetes-immutable: true\n        id:\n          type: integer\n          format: int64\n          x-dcl-go-name: Id\n          readOnly: true\n          description: The unique identifier for the resource. This identifier is\n            defined by the server.\n          x-kubernetes-immutable: true\n        ikeVersion:\n          type: integer\n          format: int64\n          x-dcl-go-name: IkeVersion\n          description: IKE protocol version to use when establishing the VPN tunnel\n            with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default\n            version is 2.\n          x-kubernetes-immutable: true\n          default: 2\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Labels for this VPN Tunnel\n        localTrafficSelector:\n          type: array\n          x-dcl-go-name: LocalTrafficSelector\n          description: 'Local traffic selector to use when establishing the VPN tunnel\n            with the peer VPN gateway. The value should be a CIDR formatted string,\n            for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is\n            supported.'\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n          x-dcl-send-empty: true\n          x-dcl-list-type: set\n          items:\n            type: string\n            x-dcl-go-type: string\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Name of the resource. Provided by the client when the resource\n            is created. The name must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt)\n            Specifically, the name must be 1-63 characters long and match the regular\n            expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character\n            must be a lowercase letter, and all following characters must be a dash,\n            lowercase letter, or digit, except the last character, which cannot be\n            a dash.\n          x-kubernetes-immutable: true\n        peerExternalGateway:\n          type: string\n          x-dcl-go-name: PeerExternalGateway\n          description: URL of the peer side external VPN gateway to which this VPN\n            tunnel is connected. Provided by the client when the VPN tunnel is created.\n            This field is exclusive with the field peerGcpGateway.\n          x-kubernetes-immutable: true\n        peerExternalGatewayInterface:\n          type: integer\n          format: int64\n          x-dcl-go-name: PeerExternalGatewayInterface\n          description: The interface ID of the external VPN gateway to which this\n            VPN tunnel is connected. Provided by the client when the VPN tunnel is\n            created.\n          x-kubernetes-immutable: true\n        peerGcpGateway:\n          type: string\n          x-dcl-go-name: PeerGcpGateway\n          description: URL of the peer side HA GCP VPN gateway to which this VPN tunnel\n            is connected. Provided by the client when the VPN tunnel is created. This\n            field can be used when creating highly available VPN from VPC network\n            to VPC network, the field is exclusive with the field peerExternalGateway.\n            If provided, the VPN tunnel will automatically use the same vpnGatewayInterface\n            ID in the peer GCP VPN gateway.\n          x-kubernetes-immutable: true\n        peerIP:\n          type: string\n          x-dcl-go-name: PeerIP\n          description: IP address of the peer VPN gateway. Only IPv4 is supported.\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        region:\n          type: string\n          x-dcl-go-name: Region\n          description: URL of the region where the VPN tunnel resides. You must specify\n            this field as part of the HTTP request URL. It is not settable as a field\n            in the request body.\n          x-kubernetes-immutable: true\n        remoteTrafficSelector:\n          type: array\n          x-dcl-go-name: RemoteTrafficSelector\n          description: 'Remote traffic selectors to use when establishing the VPN\n            tunnel with the peer VPN gateway. The value should be a CIDR formatted\n            string, for example: 192.168.0.0/16. The ranges should be disjoint. Only\n            IPv4 is supported.'\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n          x-dcl-send-empty: true\n          x-dcl-list-type: set\n          items:\n            type: string\n            x-dcl-go-type: string\n        router:\n          type: string\n          x-dcl-go-name: Router\n          description: URL of the router resource to be used for dynamic routing.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Compute/Router\n            field: selfLink\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Server-defined URL for the resource.\n          x-kubernetes-immutable: true\n        sharedSecret:\n          type: string\n          x-dcl-go-name: SharedSecret\n          description: Shared secret used to set the secure session between the Cloud\n            VPN gateway and the peer VPN gateway.\n          x-kubernetes-immutable: true\n          x-dcl-sensitive: true\n          x-dcl-mutable-unreadable: true\n        sharedSecretHash:\n          type: string\n          x-dcl-go-name: SharedSecretHash\n          readOnly: true\n          description: Hash of the shared secret.\n          x-kubernetes-immutable: true\n        status:\n          type: string\n          x-dcl-go-name: Status\n          x-dcl-go-type: VpnTunnelStatusEnum\n          readOnly: true\n          description: 'The status of the VPN tunnel, which can be one of the following:  *\n            PROVISIONING: Resource is being allocated for the VPN tunnel.  * WAITING_FOR_FULL_CONFIG:\n            Waiting to receive all VPN-related configs from   the user. Network, TargetVpnGateway,\n            VpnTunnel, ForwardingRule, and Route   resources are needed to setup the\n            VPN tunnel.  * FIRST_HANDSHAKE: Successful first handshake with the peer\n            VPN.  * ESTABLISHED: Secure session is successfully established with the\n            peer VPN.  * NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS  *\n            AUTHORIZATION_ERROR: Auth error (for example, bad shared secret).  * NEGOTIATION_FAILURE:\n            Handshake failed.  * DEPROVISIONING: Resources are being deallocated for\n            the VPN tunnel.  * FAILED: Tunnel creation has failed and the tunnel is\n            not ready to be used.  * NO_INCOMING_PACKETS: No incoming packets from\n            peer.  * REJECTED: Tunnel configuration was rejected, can be result of\n            being blocklisted.  * ALLOCATING_RESOURCES: Cloud VPN is in the process\n            of allocating all required resources.  * STOPPED: Tunnel is stopped due\n            to its Forwarding Rules being deleted for Classic VPN tunnels or the project\n            is in frozen state.  * PEER_IDENTITY_MISMATCH: Peer identity does not\n            match peer IP, probably behind NAT.  * TS_NARROWING_NOT_ALLOWED: Traffic\n            selector narrowing not allowed for an HA-VPN tunnel.'\n          x-kubernetes-immutable: true\n          enum:\n          - PROVISIONING\n          - WAITING_FOR_FULL_CONFIG\n          - FIRST_HANDSHAKE\n          - ESTABLISHED\n          - NO_INCOMING_PACKETS\n          - AUTHORIZATION_ERROR\n          - NEGOTIATION_FAILURE\n          - DEPROVISIONING\n          - FAILED\n          - REJECTED\n          - ALLOCATING_RESOURCES\n          - STOPPED\n          - PEER_IDENTITY_MISMATCH\n          - TS_NARROWING_NOT_ALLOWED\n        targetVpnGateway:\n          type: string\n          x-dcl-go-name: TargetVpnGateway\n          description: URL of the Target VPN gateway with which this VPN tunnel is\n            associated. Provided by the client when the VPN tunnel is created.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Compute/TargetVpnGateway\n            field: selfLink\n        vpnGateway:\n          type: string\n          x-dcl-go-name: VpnGateway\n          description: URL of the VPN gateway with which this VPN tunnel is associated.\n            Provided by the client when the VPN tunnel is created. This must be used\n            (instead of target_vpn_gateway) if a High Availability VPN gateway resource\n            is created.\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Compute/VpnGateway\n            field: selfLink\n        vpnGatewayInterface:\n          type: integer\n          format: int64\n          x-dcl-go-name: VpnGatewayInterface\n          description: The interface ID of the VPN gateway with which this VPN tunnel\n            is associated.\n          x-kubernetes-immutable: true\n          x-dcl-send-empty: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/compute/alpha/vpn_tunnel.yaml

Functions

func EncodeImageDeprecateRequest

func EncodeImageDeprecateRequest(m map[string]interface{}) map[string]interface{}

EncodeImageDeprecateRequest properly encodes the image deprecation request for an image.

func WrapTargetPoolHealthCheck

func WrapTargetPoolHealthCheck(m map[string]interface{}) map[string]interface{}

WrapTargetPoolHealthCheck wraps the instances provided by AddHC and RemoveHC in their required format.

func WrapTargetPoolInstance

func WrapTargetPoolInstance(m map[string]interface{}) map[string]interface{}

WrapTargetPoolInstance wraps the instances provided by AddInstance and RemoveInstance in their required format.

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) ApplyFirewallPolicy

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

func (*Client) ApplyFirewallPolicyAssociation

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

func (*Client) ApplyFirewallPolicyRule

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

func (*Client) ApplyForwardingRule

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

func (*Client) ApplyInstance

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

func (*Client) ApplyInstanceGroupManager

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

func (*Client) ApplyInterconnect

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

func (*Client) ApplyInterconnectAttachment

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

func (*Client) ApplyNetwork

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

func (*Client) ApplyPacketMirroring

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

func (*Client) ApplyRoute

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

func (*Client) ApplyServiceAttachment

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

func (*Client) ApplySubnetwork

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

func (*Client) ApplyVpnTunnel

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

func (*Client) DeleteAllFirewallPolicy

func (c *Client) DeleteAllFirewallPolicy(ctx context.Context, parent string, filter func(*FirewallPolicy) bool) error

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

func (*Client) DeleteAllFirewallPolicyAssociation

func (c *Client) DeleteAllFirewallPolicyAssociation(ctx context.Context, firewallPolicy string, filter func(*FirewallPolicyAssociation) bool) error

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

func (*Client) DeleteAllFirewallPolicyRule

func (c *Client) DeleteAllFirewallPolicyRule(ctx context.Context, firewallPolicy string, filter func(*FirewallPolicyRule) bool) error

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

func (*Client) DeleteAllForwardingRule

func (c *Client) DeleteAllForwardingRule(ctx context.Context, project, location string, filter func(*ForwardingRule) bool) error

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

func (*Client) DeleteAllInstance

func (c *Client) DeleteAllInstance(ctx context.Context, project, zone string, filter func(*Instance) bool) error

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

func (*Client) DeleteAllInstanceGroupManager

func (c *Client) DeleteAllInstanceGroupManager(ctx context.Context, project, location string, filter func(*InstanceGroupManager) bool) error

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

func (*Client) DeleteAllInterconnect

func (c *Client) DeleteAllInterconnect(ctx context.Context, project string, filter func(*Interconnect) bool) error

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

func (*Client) DeleteAllInterconnectAttachment

func (c *Client) DeleteAllInterconnectAttachment(ctx context.Context, project, region string, filter func(*InterconnectAttachment) bool) error

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

func (*Client) DeleteAllNetwork

func (c *Client) DeleteAllNetwork(ctx context.Context, project string, filter func(*Network) bool) error

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

func (*Client) DeleteAllPacketMirroring

func (c *Client) DeleteAllPacketMirroring(ctx context.Context, project, location string, filter func(*PacketMirroring) bool) error

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

func (*Client) DeleteAllRoute

func (c *Client) DeleteAllRoute(ctx context.Context, project string, filter func(*Route) bool) error

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

func (*Client) DeleteAllServiceAttachment

func (c *Client) DeleteAllServiceAttachment(ctx context.Context, project, location string, filter func(*ServiceAttachment) bool) error

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

func (*Client) DeleteAllSubnetwork

func (c *Client) DeleteAllSubnetwork(ctx context.Context, project, region string, filter func(*Subnetwork) bool) error

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

func (*Client) DeleteAllVpnTunnel

func (c *Client) DeleteAllVpnTunnel(ctx context.Context, project, region string, filter func(*VpnTunnel) bool) error

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

func (*Client) DeleteFirewallPolicy

func (c *Client) DeleteFirewallPolicy(ctx context.Context, r *FirewallPolicy) error

func (*Client) DeleteFirewallPolicyAssociation

func (c *Client) DeleteFirewallPolicyAssociation(ctx context.Context, r *FirewallPolicyAssociation) error

func (*Client) DeleteFirewallPolicyRule

func (c *Client) DeleteFirewallPolicyRule(ctx context.Context, r *FirewallPolicyRule) error

func (*Client) DeleteForwardingRule

func (c *Client) DeleteForwardingRule(ctx context.Context, r *ForwardingRule) error

func (*Client) DeleteInstance

func (c *Client) DeleteInstance(ctx context.Context, r *Instance) error

func (*Client) DeleteInstanceGroupManager

func (c *Client) DeleteInstanceGroupManager(ctx context.Context, r *InstanceGroupManager) error

func (*Client) DeleteInterconnect

func (c *Client) DeleteInterconnect(ctx context.Context, r *Interconnect) error

func (*Client) DeleteInterconnectAttachment

func (c *Client) DeleteInterconnectAttachment(ctx context.Context, r *InterconnectAttachment) error

func (*Client) DeleteNetwork

func (c *Client) DeleteNetwork(ctx context.Context, r *Network) error

func (*Client) DeletePacketMirroring

func (c *Client) DeletePacketMirroring(ctx context.Context, r *PacketMirroring) error

func (*Client) DeleteRoute

func (c *Client) DeleteRoute(ctx context.Context, r *Route) error

func (*Client) DeleteServiceAttachment

func (c *Client) DeleteServiceAttachment(ctx context.Context, r *ServiceAttachment) error

func (*Client) DeleteSubnetwork

func (c *Client) DeleteSubnetwork(ctx context.Context, r *Subnetwork) error

func (*Client) DeleteVpnTunnel

func (c *Client) DeleteVpnTunnel(ctx context.Context, r *VpnTunnel) error

func (*Client) GetFirewallPolicy

func (c *Client) GetFirewallPolicy(ctx context.Context, r *FirewallPolicy) (*FirewallPolicy, error)

func (*Client) GetFirewallPolicyAssociation

func (c *Client) GetFirewallPolicyAssociation(ctx context.Context, r *FirewallPolicyAssociation) (*FirewallPolicyAssociation, error)

func (*Client) GetFirewallPolicyRule

func (c *Client) GetFirewallPolicyRule(ctx context.Context, r *FirewallPolicyRule) (*FirewallPolicyRule, error)

func (*Client) GetForwardingRule

func (c *Client) GetForwardingRule(ctx context.Context, r *ForwardingRule) (*ForwardingRule, error)

func (*Client) GetInstance

func (c *Client) GetInstance(ctx context.Context, r *Instance) (*Instance, error)

func (*Client) GetInstanceGroupManager

func (c *Client) GetInstanceGroupManager(ctx context.Context, r *InstanceGroupManager) (*InstanceGroupManager, error)

func (*Client) GetInterconnect

func (c *Client) GetInterconnect(ctx context.Context, r *Interconnect) (*Interconnect, error)

func (*Client) GetInterconnectAttachment

func (c *Client) GetInterconnectAttachment(ctx context.Context, r *InterconnectAttachment) (*InterconnectAttachment, error)

func (*Client) GetNetwork

func (c *Client) GetNetwork(ctx context.Context, r *Network) (*Network, error)

func (*Client) GetPacketMirroring

func (c *Client) GetPacketMirroring(ctx context.Context, r *PacketMirroring) (*PacketMirroring, error)

func (*Client) GetRoute

func (c *Client) GetRoute(ctx context.Context, r *Route) (*Route, error)

func (*Client) GetServiceAttachment

func (c *Client) GetServiceAttachment(ctx context.Context, r *ServiceAttachment) (*ServiceAttachment, error)

func (*Client) GetSubnetwork

func (c *Client) GetSubnetwork(ctx context.Context, r *Subnetwork) (*Subnetwork, error)

func (*Client) GetVpnTunnel

func (c *Client) GetVpnTunnel(ctx context.Context, r *VpnTunnel) (*VpnTunnel, error)

func (*Client) ListFirewallPolicy

func (c *Client) ListFirewallPolicy(ctx context.Context, parent string) (*FirewallPolicyList, error)

func (*Client) ListFirewallPolicyAssociation

func (c *Client) ListFirewallPolicyAssociation(ctx context.Context, firewallPolicy string) (*FirewallPolicyAssociationList, error)

func (*Client) ListFirewallPolicyAssociationWithMaxResults

func (c *Client) ListFirewallPolicyAssociationWithMaxResults(ctx context.Context, firewallPolicy string, pageSize int32) (*FirewallPolicyAssociationList, error)

func (*Client) ListFirewallPolicyRule

func (c *Client) ListFirewallPolicyRule(ctx context.Context, firewallPolicy string) (*FirewallPolicyRuleList, error)

func (*Client) ListFirewallPolicyRuleWithMaxResults

func (c *Client) ListFirewallPolicyRuleWithMaxResults(ctx context.Context, firewallPolicy string, pageSize int32) (*FirewallPolicyRuleList, error)

func (*Client) ListFirewallPolicyWithMaxResults

func (c *Client) ListFirewallPolicyWithMaxResults(ctx context.Context, parent string, pageSize int32) (*FirewallPolicyList, error)

func (*Client) ListForwardingRule

func (c *Client) ListForwardingRule(ctx context.Context, project, location string) (*ForwardingRuleList, error)

func (*Client) ListForwardingRuleWithMaxResults

func (c *Client) ListForwardingRuleWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ForwardingRuleList, error)

func (*Client) ListInstance

func (c *Client) ListInstance(ctx context.Context, project, zone string) (*InstanceList, error)

func (*Client) ListInstanceGroupManager

func (c *Client) ListInstanceGroupManager(ctx context.Context, project, location string) (*InstanceGroupManagerList, error)

func (*Client) ListInstanceGroupManagerWithMaxResults

func (c *Client) ListInstanceGroupManagerWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*InstanceGroupManagerList, error)

func (*Client) ListInstanceWithMaxResults

func (c *Client) ListInstanceWithMaxResults(ctx context.Context, project, zone string, pageSize int32) (*InstanceList, error)

func (*Client) ListInterconnect

func (c *Client) ListInterconnect(ctx context.Context, project string) (*InterconnectList, error)

func (*Client) ListInterconnectAttachment

func (c *Client) ListInterconnectAttachment(ctx context.Context, project, region string) (*InterconnectAttachmentList, error)

func (*Client) ListInterconnectAttachmentWithMaxResults

func (c *Client) ListInterconnectAttachmentWithMaxResults(ctx context.Context, project, region string, pageSize int32) (*InterconnectAttachmentList, error)

func (*Client) ListInterconnectWithMaxResults

func (c *Client) ListInterconnectWithMaxResults(ctx context.Context, project string, pageSize int32) (*InterconnectList, error)

func (*Client) ListNetwork

func (c *Client) ListNetwork(ctx context.Context, project string) (*NetworkList, error)

func (*Client) ListNetworkWithMaxResults

func (c *Client) ListNetworkWithMaxResults(ctx context.Context, project string, pageSize int32) (*NetworkList, error)

func (*Client) ListPacketMirroring

func (c *Client) ListPacketMirroring(ctx context.Context, project, location string) (*PacketMirroringList, error)

func (*Client) ListPacketMirroringWithMaxResults

func (c *Client) ListPacketMirroringWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*PacketMirroringList, error)

func (*Client) ListRoute

func (c *Client) ListRoute(ctx context.Context, project string) (*RouteList, error)

func (*Client) ListRouteWithMaxResults

func (c *Client) ListRouteWithMaxResults(ctx context.Context, project string, pageSize int32) (*RouteList, error)

func (*Client) ListServiceAttachment

func (c *Client) ListServiceAttachment(ctx context.Context, project, location string) (*ServiceAttachmentList, error)

func (*Client) ListServiceAttachmentWithMaxResults

func (c *Client) ListServiceAttachmentWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ServiceAttachmentList, error)

func (*Client) ListSubnetwork

func (c *Client) ListSubnetwork(ctx context.Context, project, region string) (*SubnetworkList, error)

func (*Client) ListSubnetworkWithMaxResults

func (c *Client) ListSubnetworkWithMaxResults(ctx context.Context, project, region string, pageSize int32) (*SubnetworkList, error)

func (*Client) ListVpnTunnel

func (c *Client) ListVpnTunnel(ctx context.Context, project, region string) (*VpnTunnelList, error)

func (*Client) ListVpnTunnelWithMaxResults

func (c *Client) ListVpnTunnelWithMaxResults(ctx context.Context, project, region string, pageSize int32) (*VpnTunnelList, error)

type FirewallPolicy

type FirewallPolicy struct {
	Name              *string `json:"name"`
	Id                *string `json:"id"`
	CreationTimestamp *string `json:"creationTimestamp"`
	Description       *string `json:"description"`
	Fingerprint       *string `json:"fingerprint"`
	SelfLink          *string `json:"selfLink"`
	SelfLinkWithId    *string `json:"selfLinkWithId"`
	RuleTupleCount    *int64  `json:"ruleTupleCount"`
	ShortName         *string `json:"shortName"`
	Parent            *string `json:"parent"`
}

func (*FirewallPolicy) Describe

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

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

func (*FirewallPolicy) ID

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

func (*FirewallPolicy) String

func (r *FirewallPolicy) String() string

type FirewallPolicyAssociation

type FirewallPolicyAssociation struct {
	Name             *string `json:"name"`
	AttachmentTarget *string `json:"attachmentTarget"`
	FirewallPolicy   *string `json:"firewallPolicy"`
	ShortName        *string `json:"shortName"`
}

func (*FirewallPolicyAssociation) Describe

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

func (*FirewallPolicyAssociation) ID

func (*FirewallPolicyAssociation) String

func (r *FirewallPolicyAssociation) String() string

type FirewallPolicyAssociationList

type FirewallPolicyAssociationList struct {
	Items []*FirewallPolicyAssociation
	// contains filtered or unexported fields
}

func (*FirewallPolicyAssociationList) HasNext

func (l *FirewallPolicyAssociationList) HasNext() bool

func (*FirewallPolicyAssociationList) Next

type FirewallPolicyList

type FirewallPolicyList struct {
	Items []*FirewallPolicy
	// contains filtered or unexported fields
}

func (*FirewallPolicyList) HasNext

func (l *FirewallPolicyList) HasNext() bool

func (*FirewallPolicyList) Next

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

type FirewallPolicyRule

type FirewallPolicyRule struct {
	Description           *string                          `json:"description"`
	Priority              *int64                           `json:"priority"`
	Match                 *FirewallPolicyRuleMatch         `json:"match"`
	Action                *string                          `json:"action"`
	Direction             *FirewallPolicyRuleDirectionEnum `json:"direction"`
	TargetResources       []string                         `json:"targetResources"`
	EnableLogging         *bool                            `json:"enableLogging"`
	RuleTupleCount        *int64                           `json:"ruleTupleCount"`
	TargetServiceAccounts []string                         `json:"targetServiceAccounts"`
	Disabled              *bool                            `json:"disabled"`
	Kind                  *string                          `json:"kind"`
	FirewallPolicy        *string                          `json:"firewallPolicy"`
}

func (*FirewallPolicyRule) Describe

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

func (*FirewallPolicyRule) ID

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

func (*FirewallPolicyRule) String

func (r *FirewallPolicyRule) String() string

type FirewallPolicyRuleDirectionEnum

type FirewallPolicyRuleDirectionEnum string

The enum FirewallPolicyRuleDirectionEnum.

func FirewallPolicyRuleDirectionEnumRef

func FirewallPolicyRuleDirectionEnumRef(s string) *FirewallPolicyRuleDirectionEnum

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

func (FirewallPolicyRuleDirectionEnum) Validate

type FirewallPolicyRuleList

type FirewallPolicyRuleList struct {
	Items []*FirewallPolicyRule
	// contains filtered or unexported fields
}

func (*FirewallPolicyRuleList) HasNext

func (l *FirewallPolicyRuleList) HasNext() bool

func (*FirewallPolicyRuleList) Next

type FirewallPolicyRuleMatch

type FirewallPolicyRuleMatch struct {
	SrcIPRanges   []string                               `json:"srcIPRanges"`
	DestIPRanges  []string                               `json:"destIPRanges"`
	Layer4Configs []FirewallPolicyRuleMatchLayer4Configs `json:"layer4Configs"`
	// contains filtered or unexported fields
}
var EmptyFirewallPolicyRuleMatch *FirewallPolicyRuleMatch = &FirewallPolicyRuleMatch{empty: true}

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

func (*FirewallPolicyRuleMatch) Empty

func (r *FirewallPolicyRuleMatch) Empty() bool

func (*FirewallPolicyRuleMatch) HashCode

func (r *FirewallPolicyRuleMatch) HashCode() string

func (*FirewallPolicyRuleMatch) String

func (r *FirewallPolicyRuleMatch) String() string

func (*FirewallPolicyRuleMatch) UnmarshalJSON

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

type FirewallPolicyRuleMatchLayer4Configs

type FirewallPolicyRuleMatchLayer4Configs struct {
	IPProtocol *string  `json:"ipProtocol"`
	Ports      []string `json:"ports"`
	// contains filtered or unexported fields
}
var EmptyFirewallPolicyRuleMatchLayer4Configs *FirewallPolicyRuleMatchLayer4Configs = &FirewallPolicyRuleMatchLayer4Configs{empty: true}

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

func (*FirewallPolicyRuleMatchLayer4Configs) Empty

func (*FirewallPolicyRuleMatchLayer4Configs) HashCode

func (*FirewallPolicyRuleMatchLayer4Configs) String

func (*FirewallPolicyRuleMatchLayer4Configs) UnmarshalJSON

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

type ForwardingRule

type ForwardingRule struct {
	Labels                        map[string]string                             `json:"labels"`
	AllPorts                      *bool                                         `json:"allPorts"`
	AllowGlobalAccess             *bool                                         `json:"allowGlobalAccess"`
	LabelFingerprint              *string                                       `json:"labelFingerprint"`
	BackendService                *string                                       `json:"backendService"`
	CreationTimestamp             *string                                       `json:"creationTimestamp"`
	Description                   *string                                       `json:"description"`
	IPAddress                     *string                                       `json:"ipAddress"`
	IPProtocol                    *ForwardingRuleIPProtocolEnum                 `json:"ipProtocol"`
	IPVersion                     *ForwardingRuleIPVersionEnum                  `json:"ipVersion"`
	IsMirroringCollector          *bool                                         `json:"isMirroringCollector"`
	LoadBalancingScheme           *ForwardingRuleLoadBalancingSchemeEnum        `json:"loadBalancingScheme"`
	MetadataFilter                []ForwardingRuleMetadataFilter                `json:"metadataFilter"`
	Name                          *string                                       `json:"name"`
	Network                       *string                                       `json:"network"`
	NetworkTier                   *ForwardingRuleNetworkTierEnum                `json:"networkTier"`
	PortRange                     *string                                       `json:"portRange"`
	Ports                         []string                                      `json:"ports"`
	Region                        *string                                       `json:"region"`
	SelfLink                      *string                                       `json:"selfLink"`
	ServiceLabel                  *string                                       `json:"serviceLabel"`
	ServiceName                   *string                                       `json:"serviceName"`
	Subnetwork                    *string                                       `json:"subnetwork"`
	Target                        *string                                       `json:"target"`
	Project                       *string                                       `json:"project"`
	Location                      *string                                       `json:"location"`
	ServiceDirectoryRegistrations []ForwardingRuleServiceDirectoryRegistrations `json:"serviceDirectoryRegistrations"`
}

func (*ForwardingRule) Describe

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

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

func (*ForwardingRule) ID

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

func (*ForwardingRule) String

func (r *ForwardingRule) String() string

type ForwardingRuleIPProtocolEnum

type ForwardingRuleIPProtocolEnum string

The enum ForwardingRuleIPProtocolEnum.

func ForwardingRuleIPProtocolEnumRef

func ForwardingRuleIPProtocolEnumRef(s string) *ForwardingRuleIPProtocolEnum

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

func (ForwardingRuleIPProtocolEnum) Validate

func (v ForwardingRuleIPProtocolEnum) Validate() error

type ForwardingRuleIPVersionEnum

type ForwardingRuleIPVersionEnum string

The enum ForwardingRuleIPVersionEnum.

func ForwardingRuleIPVersionEnumRef

func ForwardingRuleIPVersionEnumRef(s string) *ForwardingRuleIPVersionEnum

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

func (ForwardingRuleIPVersionEnum) Validate

func (v ForwardingRuleIPVersionEnum) Validate() error

type ForwardingRuleList

type ForwardingRuleList struct {
	Items []*ForwardingRule
	// contains filtered or unexported fields
}

func (*ForwardingRuleList) HasNext

func (l *ForwardingRuleList) HasNext() bool

func (*ForwardingRuleList) Next

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

type ForwardingRuleLoadBalancingSchemeEnum

type ForwardingRuleLoadBalancingSchemeEnum string

The enum ForwardingRuleLoadBalancingSchemeEnum.

func ForwardingRuleLoadBalancingSchemeEnumRef

func ForwardingRuleLoadBalancingSchemeEnumRef(s string) *ForwardingRuleLoadBalancingSchemeEnum

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

func (ForwardingRuleLoadBalancingSchemeEnum) Validate

type ForwardingRuleMetadataFilter

type ForwardingRuleMetadataFilter struct {
	FilterMatchCriteria *ForwardingRuleMetadataFilterFilterMatchCriteriaEnum `json:"filterMatchCriteria"`
	FilterLabel         []ForwardingRuleMetadataFilterFilterLabel            `json:"filterLabel"`
	// contains filtered or unexported fields
}
var EmptyForwardingRuleMetadataFilter *ForwardingRuleMetadataFilter = &ForwardingRuleMetadataFilter{empty: true}

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

func (*ForwardingRuleMetadataFilter) Empty

func (*ForwardingRuleMetadataFilter) HashCode

func (r *ForwardingRuleMetadataFilter) HashCode() string

func (*ForwardingRuleMetadataFilter) String

func (*ForwardingRuleMetadataFilter) UnmarshalJSON

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

type ForwardingRuleMetadataFilterFilterLabel

type ForwardingRuleMetadataFilterFilterLabel struct {
	Name  *string `json:"name"`
	Value *string `json:"value"`
	// contains filtered or unexported fields
}
var EmptyForwardingRuleMetadataFilterFilterLabel *ForwardingRuleMetadataFilterFilterLabel = &ForwardingRuleMetadataFilterFilterLabel{empty: true}

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

func (*ForwardingRuleMetadataFilterFilterLabel) Empty

func (*ForwardingRuleMetadataFilterFilterLabel) HashCode

func (*ForwardingRuleMetadataFilterFilterLabel) String

func (*ForwardingRuleMetadataFilterFilterLabel) UnmarshalJSON

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

type ForwardingRuleMetadataFilterFilterMatchCriteriaEnum

type ForwardingRuleMetadataFilterFilterMatchCriteriaEnum string

The enum ForwardingRuleMetadataFilterFilterMatchCriteriaEnum.

func ForwardingRuleMetadataFilterFilterMatchCriteriaEnumRef

func ForwardingRuleMetadataFilterFilterMatchCriteriaEnumRef(s string) *ForwardingRuleMetadataFilterFilterMatchCriteriaEnum

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

func (ForwardingRuleMetadataFilterFilterMatchCriteriaEnum) Validate

type ForwardingRuleNetworkTierEnum

type ForwardingRuleNetworkTierEnum string

The enum ForwardingRuleNetworkTierEnum.

func ForwardingRuleNetworkTierEnumRef

func ForwardingRuleNetworkTierEnumRef(s string) *ForwardingRuleNetworkTierEnum

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

func (ForwardingRuleNetworkTierEnum) Validate

func (v ForwardingRuleNetworkTierEnum) Validate() error

type ForwardingRuleServiceDirectoryRegistrations added in v1.2.0

type ForwardingRuleServiceDirectoryRegistrations struct {
	Namespace *string `json:"namespace"`
	Service   *string `json:"service"`
	// contains filtered or unexported fields
}
var EmptyForwardingRuleServiceDirectoryRegistrations *ForwardingRuleServiceDirectoryRegistrations = &ForwardingRuleServiceDirectoryRegistrations{empty: true}

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

func (*ForwardingRuleServiceDirectoryRegistrations) Empty added in v1.2.0

func (*ForwardingRuleServiceDirectoryRegistrations) HashCode added in v1.2.0

func (*ForwardingRuleServiceDirectoryRegistrations) String added in v1.2.0

func (*ForwardingRuleServiceDirectoryRegistrations) UnmarshalJSON added in v1.2.0

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

type Instance

type Instance struct {
	CanIPForward           *bool                           `json:"canIPForward"`
	CpuPlatform            *string                         `json:"cpuPlatform"`
	CreationTimestamp      *string                         `json:"creationTimestamp"`
	DeletionProtection     *bool                           `json:"deletionProtection"`
	Description            *string                         `json:"description"`
	Disks                  []InstanceDisks                 `json:"disks"`
	GuestAccelerators      []InstanceGuestAccelerators     `json:"guestAccelerators"`
	Hostname               *string                         `json:"hostname"`
	Id                     *string                         `json:"id"`
	Labels                 map[string]string               `json:"labels"`
	Metadata               map[string]string               `json:"metadata"`
	MachineType            *string                         `json:"machineType"`
	MinCpuPlatform         *string                         `json:"minCpuPlatform"`
	Name                   *string                         `json:"name"`
	NetworkInterfaces      []InstanceNetworkInterfaces     `json:"networkInterfaces"`
	Scheduling             *InstanceScheduling             `json:"scheduling"`
	ServiceAccounts        []InstanceServiceAccounts       `json:"serviceAccounts"`
	ShieldedInstanceConfig *InstanceShieldedInstanceConfig `json:"shieldedInstanceConfig"`
	Status                 *InstanceStatusEnum             `json:"status"`
	StatusMessage          *string                         `json:"statusMessage"`
	Tags                   []string                        `json:"tags"`
	Zone                   *string                         `json:"zone"`
	Project                *string                         `json:"project"`
	SelfLink               *string                         `json:"selfLink"`
}

func (*Instance) Describe

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

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

func (*Instance) GetPolicy

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

func (*Instance) IAMPolicyVersion

func (r *Instance) IAMPolicyVersion() int

func (*Instance) ID

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

func (*Instance) SetPolicyURL

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

func (*Instance) SetPolicyVerb

func (r *Instance) SetPolicyVerb() string

func (*Instance) String

func (r *Instance) String() string

type InstanceDisks

type InstanceDisks struct {
	AutoDelete        *bool                           `json:"autoDelete"`
	Boot              *bool                           `json:"boot"`
	DeviceName        *string                         `json:"deviceName"`
	DiskEncryptionKey *InstanceDisksDiskEncryptionKey `json:"diskEncryptionKey"`
	Index             *int64                          `json:"index"`
	InitializeParams  *InstanceDisksInitializeParams  `json:"initializeParams"`
	Interface         *InstanceDisksInterfaceEnum     `json:"interface"`
	Mode              *InstanceDisksModeEnum          `json:"mode"`
	Source            *string                         `json:"source"`
	Type              *InstanceDisksTypeEnum          `json:"type"`
	// contains filtered or unexported fields
}
var EmptyInstanceDisks *InstanceDisks = &InstanceDisks{empty: true}

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

func (*InstanceDisks) Empty

func (r *InstanceDisks) Empty() bool

func (*InstanceDisks) HashCode

func (r *InstanceDisks) HashCode() string

func (*InstanceDisks) String

func (r *InstanceDisks) String() string

func (*InstanceDisks) UnmarshalJSON

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

type InstanceDisksDiskEncryptionKey

type InstanceDisksDiskEncryptionKey struct {
	RawKey          *string `json:"rawKey"`
	RsaEncryptedKey *string `json:"rsaEncryptedKey"`
	Sha256          *string `json:"sha256"`
	// contains filtered or unexported fields
}
var EmptyInstanceDisksDiskEncryptionKey *InstanceDisksDiskEncryptionKey = &InstanceDisksDiskEncryptionKey{empty: true}

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

func (*InstanceDisksDiskEncryptionKey) Empty

func (*InstanceDisksDiskEncryptionKey) HashCode

func (r *InstanceDisksDiskEncryptionKey) HashCode() string

func (*InstanceDisksDiskEncryptionKey) String

func (*InstanceDisksDiskEncryptionKey) UnmarshalJSON

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

type InstanceDisksInitializeParams

type InstanceDisksInitializeParams struct {
	DiskName                 *string                                                `json:"diskName"`
	DiskSizeGb               *int64                                                 `json:"diskSizeGb"`
	DiskType                 *string                                                `json:"diskType"`
	SourceImage              *string                                                `json:"sourceImage"`
	SourceImageEncryptionKey *InstanceDisksInitializeParamsSourceImageEncryptionKey `json:"sourceImageEncryptionKey"`
	// contains filtered or unexported fields
}
var EmptyInstanceDisksInitializeParams *InstanceDisksInitializeParams = &InstanceDisksInitializeParams{empty: true}

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

func (*InstanceDisksInitializeParams) Empty

func (*InstanceDisksInitializeParams) HashCode

func (r *InstanceDisksInitializeParams) HashCode() string

func (*InstanceDisksInitializeParams) String

func (*InstanceDisksInitializeParams) UnmarshalJSON

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

type InstanceDisksInitializeParamsSourceImageEncryptionKey

type InstanceDisksInitializeParamsSourceImageEncryptionKey struct {
	RawKey *string `json:"rawKey"`
	Sha256 *string `json:"sha256"`
	// contains filtered or unexported fields
}
var EmptyInstanceDisksInitializeParamsSourceImageEncryptionKey *InstanceDisksInitializeParamsSourceImageEncryptionKey = &InstanceDisksInitializeParamsSourceImageEncryptionKey{empty: true}

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

func (*InstanceDisksInitializeParamsSourceImageEncryptionKey) Empty

func (*InstanceDisksInitializeParamsSourceImageEncryptionKey) HashCode

func (*InstanceDisksInitializeParamsSourceImageEncryptionKey) String

func (*InstanceDisksInitializeParamsSourceImageEncryptionKey) UnmarshalJSON

type InstanceDisksInterfaceEnum

type InstanceDisksInterfaceEnum string

The enum InstanceDisksInterfaceEnum.

func InstanceDisksInterfaceEnumRef

func InstanceDisksInterfaceEnumRef(s string) *InstanceDisksInterfaceEnum

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

func (InstanceDisksInterfaceEnum) Validate

func (v InstanceDisksInterfaceEnum) Validate() error

type InstanceDisksModeEnum

type InstanceDisksModeEnum string

The enum InstanceDisksModeEnum.

func InstanceDisksModeEnumRef

func InstanceDisksModeEnumRef(s string) *InstanceDisksModeEnum

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

func (InstanceDisksModeEnum) Validate

func (v InstanceDisksModeEnum) Validate() error

type InstanceDisksTypeEnum

type InstanceDisksTypeEnum string

The enum InstanceDisksTypeEnum.

func InstanceDisksTypeEnumRef

func InstanceDisksTypeEnumRef(s string) *InstanceDisksTypeEnum

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

func (InstanceDisksTypeEnum) Validate

func (v InstanceDisksTypeEnum) Validate() error

type InstanceGroupManager

type InstanceGroupManager struct {
	Id                  *int64                                    `json:"id"`
	CreationTimestamp   *string                                   `json:"creationTimestamp"`
	Name                *string                                   `json:"name"`
	Description         *string                                   `json:"description"`
	Zone                *string                                   `json:"zone"`
	Region              *string                                   `json:"region"`
	DistributionPolicy  *InstanceGroupManagerDistributionPolicy   `json:"distributionPolicy"`
	InstanceTemplate    *string                                   `json:"instanceTemplate"`
	Versions            []InstanceGroupManagerVersions            `json:"versions"`
	InstanceGroup       *string                                   `json:"instanceGroup"`
	TargetPools         []string                                  `json:"targetPools"`
	BaseInstanceName    *string                                   `json:"baseInstanceName"`
	Fingerprint         *string                                   `json:"fingerprint"`
	CurrentActions      *InstanceGroupManagerCurrentActions       `json:"currentActions"`
	Status              *InstanceGroupManagerStatus               `json:"status"`
	TargetSize          *int64                                    `json:"targetSize"`
	SelfLink            *string                                   `json:"selfLink"`
	AutoHealingPolicies []InstanceGroupManagerAutoHealingPolicies `json:"autoHealingPolicies"`
	UpdatePolicy        *InstanceGroupManagerUpdatePolicy         `json:"updatePolicy"`
	NamedPorts          []InstanceGroupManagerNamedPorts          `json:"namedPorts"`
	StatefulPolicy      *InstanceGroupManagerStatefulPolicy       `json:"statefulPolicy"`
	ServiceAccount      *string                                   `json:"serviceAccount"`
	FailoverAction      *InstanceGroupManagerFailoverActionEnum   `json:"failoverAction"`
	Project             *string                                   `json:"project"`
	Location            *string                                   `json:"location"`
}

func (*InstanceGroupManager) Describe

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

func (*InstanceGroupManager) ID

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

func (*InstanceGroupManager) String

func (r *InstanceGroupManager) String() string

type InstanceGroupManagerAutoHealingPolicies

type InstanceGroupManagerAutoHealingPolicies struct {
	HealthCheck     *string `json:"healthCheck"`
	InitialDelaySec *int64  `json:"initialDelaySec"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerAutoHealingPolicies *InstanceGroupManagerAutoHealingPolicies = &InstanceGroupManagerAutoHealingPolicies{empty: true}

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

func (*InstanceGroupManagerAutoHealingPolicies) Empty

func (*InstanceGroupManagerAutoHealingPolicies) HashCode

func (*InstanceGroupManagerAutoHealingPolicies) String

func (*InstanceGroupManagerAutoHealingPolicies) UnmarshalJSON

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

type InstanceGroupManagerCurrentActions

type InstanceGroupManagerCurrentActions struct {
	None                   *int64 `json:"none"`
	Creating               *int64 `json:"creating"`
	CreatingWithoutRetries *int64 `json:"creatingWithoutRetries"`
	Verifying              *int64 `json:"verifying"`
	Recreating             *int64 `json:"recreating"`
	Deleting               *int64 `json:"deleting"`
	Abandoning             *int64 `json:"abandoning"`
	Restarting             *int64 `json:"restarting"`
	Refreshing             *int64 `json:"refreshing"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerCurrentActions *InstanceGroupManagerCurrentActions = &InstanceGroupManagerCurrentActions{empty: true}

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

func (*InstanceGroupManagerCurrentActions) Empty

func (*InstanceGroupManagerCurrentActions) HashCode

func (*InstanceGroupManagerCurrentActions) String

func (*InstanceGroupManagerCurrentActions) UnmarshalJSON

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

type InstanceGroupManagerDistributionPolicy

type InstanceGroupManagerDistributionPolicy struct {
	Zones       []InstanceGroupManagerDistributionPolicyZones          `json:"zones"`
	TargetShape *InstanceGroupManagerDistributionPolicyTargetShapeEnum `json:"targetShape"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerDistributionPolicy *InstanceGroupManagerDistributionPolicy = &InstanceGroupManagerDistributionPolicy{empty: true}

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

func (*InstanceGroupManagerDistributionPolicy) Empty

func (*InstanceGroupManagerDistributionPolicy) HashCode

func (*InstanceGroupManagerDistributionPolicy) String

func (*InstanceGroupManagerDistributionPolicy) UnmarshalJSON

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

type InstanceGroupManagerDistributionPolicyTargetShapeEnum

type InstanceGroupManagerDistributionPolicyTargetShapeEnum string

The enum InstanceGroupManagerDistributionPolicyTargetShapeEnum.

func InstanceGroupManagerDistributionPolicyTargetShapeEnumRef

func InstanceGroupManagerDistributionPolicyTargetShapeEnumRef(s string) *InstanceGroupManagerDistributionPolicyTargetShapeEnum

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

func (InstanceGroupManagerDistributionPolicyTargetShapeEnum) Validate

type InstanceGroupManagerDistributionPolicyZones

type InstanceGroupManagerDistributionPolicyZones struct {
	Zone *string `json:"zone"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerDistributionPolicyZones *InstanceGroupManagerDistributionPolicyZones = &InstanceGroupManagerDistributionPolicyZones{empty: true}

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

func (*InstanceGroupManagerDistributionPolicyZones) Empty

func (*InstanceGroupManagerDistributionPolicyZones) HashCode

func (*InstanceGroupManagerDistributionPolicyZones) String

func (*InstanceGroupManagerDistributionPolicyZones) UnmarshalJSON

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

type InstanceGroupManagerFailoverActionEnum

type InstanceGroupManagerFailoverActionEnum string

The enum InstanceGroupManagerFailoverActionEnum.

func InstanceGroupManagerFailoverActionEnumRef

func InstanceGroupManagerFailoverActionEnumRef(s string) *InstanceGroupManagerFailoverActionEnum

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

func (InstanceGroupManagerFailoverActionEnum) Validate

type InstanceGroupManagerList

type InstanceGroupManagerList struct {
	Items []*InstanceGroupManager
	// contains filtered or unexported fields
}

func (*InstanceGroupManagerList) HasNext

func (l *InstanceGroupManagerList) HasNext() bool

func (*InstanceGroupManagerList) Next

type InstanceGroupManagerNamedPorts

type InstanceGroupManagerNamedPorts struct {
	Name *string `json:"name"`
	Port *int64  `json:"port"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerNamedPorts *InstanceGroupManagerNamedPorts = &InstanceGroupManagerNamedPorts{empty: true}

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

func (*InstanceGroupManagerNamedPorts) Empty

func (*InstanceGroupManagerNamedPorts) HashCode

func (r *InstanceGroupManagerNamedPorts) HashCode() string

func (*InstanceGroupManagerNamedPorts) String

func (*InstanceGroupManagerNamedPorts) UnmarshalJSON

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

type InstanceGroupManagerStatefulPolicy

type InstanceGroupManagerStatefulPolicy struct {
	PreservedState *InstanceGroupManagerStatefulPolicyPreservedState `json:"preservedState"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerStatefulPolicy *InstanceGroupManagerStatefulPolicy = &InstanceGroupManagerStatefulPolicy{empty: true}

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

func (*InstanceGroupManagerStatefulPolicy) Empty

func (*InstanceGroupManagerStatefulPolicy) HashCode

func (*InstanceGroupManagerStatefulPolicy) String

func (*InstanceGroupManagerStatefulPolicy) UnmarshalJSON

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

type InstanceGroupManagerStatefulPolicyPreservedState

type InstanceGroupManagerStatefulPolicyPreservedState struct {
	Disks map[string]InstanceGroupManagerStatefulPolicyPreservedStateDisks `json:"disks"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerStatefulPolicyPreservedState *InstanceGroupManagerStatefulPolicyPreservedState = &InstanceGroupManagerStatefulPolicyPreservedState{empty: true}

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

func (*InstanceGroupManagerStatefulPolicyPreservedState) Empty

func (*InstanceGroupManagerStatefulPolicyPreservedState) HashCode

func (*InstanceGroupManagerStatefulPolicyPreservedState) String

func (*InstanceGroupManagerStatefulPolicyPreservedState) UnmarshalJSON

type InstanceGroupManagerStatefulPolicyPreservedStateDisks

type InstanceGroupManagerStatefulPolicyPreservedStateDisks struct {
	AutoDelete *InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum `json:"autoDelete"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerStatefulPolicyPreservedStateDisks *InstanceGroupManagerStatefulPolicyPreservedStateDisks = &InstanceGroupManagerStatefulPolicyPreservedStateDisks{empty: true}

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

func (*InstanceGroupManagerStatefulPolicyPreservedStateDisks) Empty

func (*InstanceGroupManagerStatefulPolicyPreservedStateDisks) HashCode

func (*InstanceGroupManagerStatefulPolicyPreservedStateDisks) String

func (*InstanceGroupManagerStatefulPolicyPreservedStateDisks) UnmarshalJSON

type InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum

type InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum string

The enum InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum.

func InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnumRef

func InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnumRef(s string) *InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum

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

func (InstanceGroupManagerStatefulPolicyPreservedStateDisksAutoDeleteEnum) Validate

type InstanceGroupManagerStatus

type InstanceGroupManagerStatus struct {
	IsStable      *bool                                    `json:"isStable"`
	VersionTarget *InstanceGroupManagerStatusVersionTarget `json:"versionTarget"`
	Stateful      *InstanceGroupManagerStatusStateful      `json:"stateful"`
	Autoscaler    *string                                  `json:"autoscaler"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerStatus *InstanceGroupManagerStatus = &InstanceGroupManagerStatus{empty: true}

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

func (*InstanceGroupManagerStatus) Empty

func (r *InstanceGroupManagerStatus) Empty() bool

func (*InstanceGroupManagerStatus) HashCode

func (r *InstanceGroupManagerStatus) HashCode() string

func (*InstanceGroupManagerStatus) String

func (r *InstanceGroupManagerStatus) String() string

func (*InstanceGroupManagerStatus) UnmarshalJSON

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

type InstanceGroupManagerStatusStateful

type InstanceGroupManagerStatusStateful struct {
	HasStatefulConfig  *bool                                                 `json:"hasStatefulConfig"`
	PerInstanceConfigs *InstanceGroupManagerStatusStatefulPerInstanceConfigs `json:"perInstanceConfigs"`
	IsStateful         *bool                                                 `json:"isStateful"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerStatusStateful *InstanceGroupManagerStatusStateful = &InstanceGroupManagerStatusStateful{empty: true}

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

func (*InstanceGroupManagerStatusStateful) Empty

func (*InstanceGroupManagerStatusStateful) HashCode

func (*InstanceGroupManagerStatusStateful) String

func (*InstanceGroupManagerStatusStateful) UnmarshalJSON

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

type InstanceGroupManagerStatusStatefulPerInstanceConfigs

type InstanceGroupManagerStatusStatefulPerInstanceConfigs struct {
	AllEffective *bool `json:"allEffective"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerStatusStatefulPerInstanceConfigs *InstanceGroupManagerStatusStatefulPerInstanceConfigs = &InstanceGroupManagerStatusStatefulPerInstanceConfigs{empty: true}

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

func (*InstanceGroupManagerStatusStatefulPerInstanceConfigs) Empty

func (*InstanceGroupManagerStatusStatefulPerInstanceConfigs) HashCode

func (*InstanceGroupManagerStatusStatefulPerInstanceConfigs) String

func (*InstanceGroupManagerStatusStatefulPerInstanceConfigs) UnmarshalJSON

type InstanceGroupManagerStatusVersionTarget

type InstanceGroupManagerStatusVersionTarget struct {
	IsReached *bool `json:"isReached"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerStatusVersionTarget *InstanceGroupManagerStatusVersionTarget = &InstanceGroupManagerStatusVersionTarget{empty: true}

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

func (*InstanceGroupManagerStatusVersionTarget) Empty

func (*InstanceGroupManagerStatusVersionTarget) HashCode

func (*InstanceGroupManagerStatusVersionTarget) String

func (*InstanceGroupManagerStatusVersionTarget) UnmarshalJSON

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

type InstanceGroupManagerUpdatePolicy

type InstanceGroupManagerUpdatePolicy struct {
	Type                        *InstanceGroupManagerUpdatePolicyTypeEnum                        `json:"type"`
	InstanceRedistributionType  *InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum  `json:"instanceRedistributionType"`
	MinimalAction               *InstanceGroupManagerUpdatePolicyMinimalActionEnum               `json:"minimalAction"`
	MaxSurge                    *InstanceGroupManagerUpdatePolicyMaxSurge                        `json:"maxSurge"`
	MaxUnavailable              *InstanceGroupManagerUpdatePolicyMaxUnavailable                  `json:"maxUnavailable"`
	ReplacementMethod           *InstanceGroupManagerUpdatePolicyReplacementMethodEnum           `json:"replacementMethod"`
	MostDisruptiveAllowedAction *InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnum `json:"mostDisruptiveAllowedAction"`
	MinReadySec                 *int64                                                           `json:"minReadySec"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerUpdatePolicy *InstanceGroupManagerUpdatePolicy = &InstanceGroupManagerUpdatePolicy{empty: true}

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

func (*InstanceGroupManagerUpdatePolicy) Empty

func (*InstanceGroupManagerUpdatePolicy) HashCode

func (*InstanceGroupManagerUpdatePolicy) String

func (*InstanceGroupManagerUpdatePolicy) UnmarshalJSON

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

type InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum

type InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum string

The enum InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum.

func InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnumRef

func InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnumRef(s string) *InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum

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

func (InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeEnum) Validate

type InstanceGroupManagerUpdatePolicyMaxSurge

type InstanceGroupManagerUpdatePolicyMaxSurge struct {
	Fixed      *int64 `json:"fixed"`
	Percent    *int64 `json:"percent"`
	Calculated *int64 `json:"calculated"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerUpdatePolicyMaxSurge *InstanceGroupManagerUpdatePolicyMaxSurge = &InstanceGroupManagerUpdatePolicyMaxSurge{empty: true}

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

func (*InstanceGroupManagerUpdatePolicyMaxSurge) Empty

func (*InstanceGroupManagerUpdatePolicyMaxSurge) HashCode

func (*InstanceGroupManagerUpdatePolicyMaxSurge) String

func (*InstanceGroupManagerUpdatePolicyMaxSurge) UnmarshalJSON

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

type InstanceGroupManagerUpdatePolicyMaxUnavailable

type InstanceGroupManagerUpdatePolicyMaxUnavailable struct {
	Fixed      *int64 `json:"fixed"`
	Percent    *int64 `json:"percent"`
	Calculated *int64 `json:"calculated"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerUpdatePolicyMaxUnavailable *InstanceGroupManagerUpdatePolicyMaxUnavailable = &InstanceGroupManagerUpdatePolicyMaxUnavailable{empty: true}

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

func (*InstanceGroupManagerUpdatePolicyMaxUnavailable) Empty

func (*InstanceGroupManagerUpdatePolicyMaxUnavailable) HashCode

func (*InstanceGroupManagerUpdatePolicyMaxUnavailable) String

func (*InstanceGroupManagerUpdatePolicyMaxUnavailable) UnmarshalJSON

type InstanceGroupManagerUpdatePolicyMinimalActionEnum

type InstanceGroupManagerUpdatePolicyMinimalActionEnum string

The enum InstanceGroupManagerUpdatePolicyMinimalActionEnum.

func InstanceGroupManagerUpdatePolicyMinimalActionEnumRef

func InstanceGroupManagerUpdatePolicyMinimalActionEnumRef(s string) *InstanceGroupManagerUpdatePolicyMinimalActionEnum

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

func (InstanceGroupManagerUpdatePolicyMinimalActionEnum) Validate

type InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnum

type InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnum string

The enum InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnum.

func InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnumRef

func InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnumRef(s string) *InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnum

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

func (InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionEnum) Validate

type InstanceGroupManagerUpdatePolicyReplacementMethodEnum

type InstanceGroupManagerUpdatePolicyReplacementMethodEnum string

The enum InstanceGroupManagerUpdatePolicyReplacementMethodEnum.

func InstanceGroupManagerUpdatePolicyReplacementMethodEnumRef

func InstanceGroupManagerUpdatePolicyReplacementMethodEnumRef(s string) *InstanceGroupManagerUpdatePolicyReplacementMethodEnum

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

func (InstanceGroupManagerUpdatePolicyReplacementMethodEnum) Validate

type InstanceGroupManagerUpdatePolicyTypeEnum

type InstanceGroupManagerUpdatePolicyTypeEnum string

The enum InstanceGroupManagerUpdatePolicyTypeEnum.

func InstanceGroupManagerUpdatePolicyTypeEnumRef

func InstanceGroupManagerUpdatePolicyTypeEnumRef(s string) *InstanceGroupManagerUpdatePolicyTypeEnum

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

func (InstanceGroupManagerUpdatePolicyTypeEnum) Validate

type InstanceGroupManagerVersions

type InstanceGroupManagerVersions struct {
	Name             *string                                 `json:"name"`
	InstanceTemplate *string                                 `json:"instanceTemplate"`
	TargetSize       *InstanceGroupManagerVersionsTargetSize `json:"targetSize"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerVersions *InstanceGroupManagerVersions = &InstanceGroupManagerVersions{empty: true}

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

func (*InstanceGroupManagerVersions) Empty

func (*InstanceGroupManagerVersions) HashCode

func (r *InstanceGroupManagerVersions) HashCode() string

func (*InstanceGroupManagerVersions) String

func (*InstanceGroupManagerVersions) UnmarshalJSON

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

type InstanceGroupManagerVersionsTargetSize

type InstanceGroupManagerVersionsTargetSize struct {
	Fixed      *int64 `json:"fixed"`
	Percent    *int64 `json:"percent"`
	Calculated *int64 `json:"calculated"`
	// contains filtered or unexported fields
}
var EmptyInstanceGroupManagerVersionsTargetSize *InstanceGroupManagerVersionsTargetSize = &InstanceGroupManagerVersionsTargetSize{empty: true}

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

func (*InstanceGroupManagerVersionsTargetSize) Empty

func (*InstanceGroupManagerVersionsTargetSize) HashCode

func (*InstanceGroupManagerVersionsTargetSize) String

func (*InstanceGroupManagerVersionsTargetSize) UnmarshalJSON

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

type InstanceGuestAccelerators

type InstanceGuestAccelerators struct {
	AcceleratorCount *int64  `json:"acceleratorCount"`
	AcceleratorType  *string `json:"acceleratorType"`
	// contains filtered or unexported fields
}
var EmptyInstanceGuestAccelerators *InstanceGuestAccelerators = &InstanceGuestAccelerators{empty: true}

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

func (*InstanceGuestAccelerators) Empty

func (r *InstanceGuestAccelerators) Empty() bool

func (*InstanceGuestAccelerators) HashCode

func (r *InstanceGuestAccelerators) HashCode() string

func (*InstanceGuestAccelerators) String

func (r *InstanceGuestAccelerators) String() string

func (*InstanceGuestAccelerators) UnmarshalJSON

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

type InstanceList

type InstanceList struct {
	Items []*Instance
	// contains filtered or unexported fields
}

func (*InstanceList) HasNext

func (l *InstanceList) HasNext() bool

func (*InstanceList) Next

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

type InstanceNetworkInterfaces

type InstanceNetworkInterfaces struct {
	AccessConfigs     []InstanceNetworkInterfacesAccessConfigs     `json:"accessConfigs"`
	IPv6AccessConfigs []InstanceNetworkInterfacesIPv6AccessConfigs `json:"ipv6AccessConfigs"`
	AliasIPRanges     []InstanceNetworkInterfacesAliasIPRanges     `json:"aliasIPRanges"`
	Name              *string                                      `json:"name"`
	Network           *string                                      `json:"network"`
	NetworkIP         *string                                      `json:"networkIP"`
	Subnetwork        *string                                      `json:"subnetwork"`
	// contains filtered or unexported fields
}
var EmptyInstanceNetworkInterfaces *InstanceNetworkInterfaces = &InstanceNetworkInterfaces{empty: true}

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

func (*InstanceNetworkInterfaces) Empty

func (r *InstanceNetworkInterfaces) Empty() bool

func (*InstanceNetworkInterfaces) HashCode

func (r *InstanceNetworkInterfaces) HashCode() string

func (*InstanceNetworkInterfaces) String

func (r *InstanceNetworkInterfaces) String() string

func (*InstanceNetworkInterfaces) UnmarshalJSON

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

type InstanceNetworkInterfacesAccessConfigs

type InstanceNetworkInterfacesAccessConfigs struct {
	Name                     *string                                                `json:"name"`
	NatIP                    *string                                                `json:"natIP"`
	ExternalIPv6             *string                                                `json:"externalIPv6"`
	ExternalIPv6PrefixLength *string                                                `json:"externalIPv6PrefixLength"`
	SetPublicPtr             *bool                                                  `json:"setPublicPtr"`
	PublicPtrDomainName      *string                                                `json:"publicPtrDomainName"`
	NetworkTier              *InstanceNetworkInterfacesAccessConfigsNetworkTierEnum `json:"networkTier"`
	Type                     *InstanceNetworkInterfacesAccessConfigsTypeEnum        `json:"type"`
	// contains filtered or unexported fields
}
var EmptyInstanceNetworkInterfacesAccessConfigs *InstanceNetworkInterfacesAccessConfigs = &InstanceNetworkInterfacesAccessConfigs{empty: true}

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

func (*InstanceNetworkInterfacesAccessConfigs) Empty

func (*InstanceNetworkInterfacesAccessConfigs) HashCode

func (*InstanceNetworkInterfacesAccessConfigs) String

func (*InstanceNetworkInterfacesAccessConfigs) UnmarshalJSON

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

type InstanceNetworkInterfacesAccessConfigsNetworkTierEnum

type InstanceNetworkInterfacesAccessConfigsNetworkTierEnum string

The enum InstanceNetworkInterfacesAccessConfigsNetworkTierEnum.

func InstanceNetworkInterfacesAccessConfigsNetworkTierEnumRef

func InstanceNetworkInterfacesAccessConfigsNetworkTierEnumRef(s string) *InstanceNetworkInterfacesAccessConfigsNetworkTierEnum

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

func (InstanceNetworkInterfacesAccessConfigsNetworkTierEnum) Validate

type InstanceNetworkInterfacesAccessConfigsTypeEnum

type InstanceNetworkInterfacesAccessConfigsTypeEnum string

The enum InstanceNetworkInterfacesAccessConfigsTypeEnum.

func InstanceNetworkInterfacesAccessConfigsTypeEnumRef

func InstanceNetworkInterfacesAccessConfigsTypeEnumRef(s string) *InstanceNetworkInterfacesAccessConfigsTypeEnum

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

func (InstanceNetworkInterfacesAccessConfigsTypeEnum) Validate

type InstanceNetworkInterfacesAliasIPRanges

type InstanceNetworkInterfacesAliasIPRanges struct {
	IPCidrRange         *string `json:"ipCidrRange"`
	SubnetworkRangeName *string `json:"subnetworkRangeName"`
	// contains filtered or unexported fields
}
var EmptyInstanceNetworkInterfacesAliasIPRanges *InstanceNetworkInterfacesAliasIPRanges = &InstanceNetworkInterfacesAliasIPRanges{empty: true}

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

func (*InstanceNetworkInterfacesAliasIPRanges) Empty

func (*InstanceNetworkInterfacesAliasIPRanges) HashCode

func (*InstanceNetworkInterfacesAliasIPRanges) String

func (*InstanceNetworkInterfacesAliasIPRanges) UnmarshalJSON

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

type InstanceNetworkInterfacesIPv6AccessConfigs

type InstanceNetworkInterfacesIPv6AccessConfigs struct {
	Name                     *string                                                    `json:"name"`
	NatIP                    *string                                                    `json:"natIP"`
	ExternalIPv6             *string                                                    `json:"externalIPv6"`
	ExternalIPv6PrefixLength *string                                                    `json:"externalIPv6PrefixLength"`
	SetPublicPtr             *bool                                                      `json:"setPublicPtr"`
	PublicPtrDomainName      *string                                                    `json:"publicPtrDomainName"`
	NetworkTier              *InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum `json:"networkTier"`
	Type                     *InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum        `json:"type"`
	// contains filtered or unexported fields
}
var EmptyInstanceNetworkInterfacesIPv6AccessConfigs *InstanceNetworkInterfacesIPv6AccessConfigs = &InstanceNetworkInterfacesIPv6AccessConfigs{empty: true}

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

func (*InstanceNetworkInterfacesIPv6AccessConfigs) Empty

func (*InstanceNetworkInterfacesIPv6AccessConfigs) HashCode

func (*InstanceNetworkInterfacesIPv6AccessConfigs) String

func (*InstanceNetworkInterfacesIPv6AccessConfigs) UnmarshalJSON

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

type InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum

type InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum string

The enum InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum.

func InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnumRef

func InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnumRef(s string) *InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum

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

func (InstanceNetworkInterfacesIPv6AccessConfigsNetworkTierEnum) Validate

type InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum

type InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum string

The enum InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum.

func InstanceNetworkInterfacesIPv6AccessConfigsTypeEnumRef

func InstanceNetworkInterfacesIPv6AccessConfigsTypeEnumRef(s string) *InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum

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

func (InstanceNetworkInterfacesIPv6AccessConfigsTypeEnum) Validate

type InstanceScheduling

type InstanceScheduling struct {
	AutomaticRestart  *bool   `json:"automaticRestart"`
	OnHostMaintenance *string `json:"onHostMaintenance"`
	Preemptible       *bool   `json:"preemptible"`
	// contains filtered or unexported fields
}
var EmptyInstanceScheduling *InstanceScheduling = &InstanceScheduling{empty: true}

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

func (*InstanceScheduling) Empty

func (r *InstanceScheduling) Empty() bool

func (*InstanceScheduling) HashCode

func (r *InstanceScheduling) HashCode() string

func (*InstanceScheduling) String

func (r *InstanceScheduling) String() string

func (*InstanceScheduling) UnmarshalJSON

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

type InstanceServiceAccounts

type InstanceServiceAccounts struct {
	Email  *string  `json:"email"`
	Scopes []string `json:"scopes"`
	// contains filtered or unexported fields
}
var EmptyInstanceServiceAccounts *InstanceServiceAccounts = &InstanceServiceAccounts{empty: true}

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

func (*InstanceServiceAccounts) Empty

func (r *InstanceServiceAccounts) Empty() bool

func (*InstanceServiceAccounts) HashCode

func (r *InstanceServiceAccounts) HashCode() string

func (*InstanceServiceAccounts) String

func (r *InstanceServiceAccounts) String() string

func (*InstanceServiceAccounts) UnmarshalJSON

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

type InstanceShieldedInstanceConfig

type InstanceShieldedInstanceConfig struct {
	EnableSecureBoot          *bool `json:"enableSecureBoot"`
	EnableVtpm                *bool `json:"enableVtpm"`
	EnableIntegrityMonitoring *bool `json:"enableIntegrityMonitoring"`
	// contains filtered or unexported fields
}
var EmptyInstanceShieldedInstanceConfig *InstanceShieldedInstanceConfig = &InstanceShieldedInstanceConfig{empty: true}

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

func (*InstanceShieldedInstanceConfig) Empty

func (*InstanceShieldedInstanceConfig) HashCode

func (r *InstanceShieldedInstanceConfig) HashCode() string

func (*InstanceShieldedInstanceConfig) String

func (*InstanceShieldedInstanceConfig) UnmarshalJSON

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

type InstanceStatusEnum

type InstanceStatusEnum string

The enum InstanceStatusEnum.

func InstanceStatusEnumRef

func InstanceStatusEnumRef(s string) *InstanceStatusEnum

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

func (InstanceStatusEnum) Validate

func (v InstanceStatusEnum) Validate() error

type Interconnect

type Interconnect struct {
	Description             *string                            `json:"description"`
	SelfLink                *string                            `json:"selfLink"`
	Id                      *int64                             `json:"id"`
	Name                    *string                            `json:"name"`
	Location                *string                            `json:"location"`
	LinkType                *InterconnectLinkTypeEnum          `json:"linkType"`
	RequestedLinkCount      *int64                             `json:"requestedLinkCount"`
	InterconnectType        *InterconnectInterconnectTypeEnum  `json:"interconnectType"`
	AdminEnabled            *bool                              `json:"adminEnabled"`
	NocContactEmail         *string                            `json:"nocContactEmail"`
	CustomerName            *string                            `json:"customerName"`
	OperationalStatus       *InterconnectOperationalStatusEnum `json:"operationalStatus"`
	ProvisionedLinkCount    *int64                             `json:"provisionedLinkCount"`
	InterconnectAttachments []string                           `json:"interconnectAttachments"`
	PeerIPAddress           *string                            `json:"peerIPAddress"`
	GoogleIPAddress         *string                            `json:"googleIPAddress"`
	GoogleReferenceId       *string                            `json:"googleReferenceId"`
	ExpectedOutages         []InterconnectExpectedOutages      `json:"expectedOutages"`
	CircuitInfos            []InterconnectCircuitInfos         `json:"circuitInfos"`
	State                   *InterconnectStateEnum             `json:"state"`
	Project                 *string                            `json:"project"`
}

func (*Interconnect) Describe

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

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

func (*Interconnect) ID

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

func (*Interconnect) String

func (r *Interconnect) String() string

type InterconnectAttachment

type InterconnectAttachment struct {
	Description             *string                                           `json:"description"`
	SelfLink                *string                                           `json:"selfLink"`
	Id                      *int64                                            `json:"id"`
	Name                    *string                                           `json:"name"`
	Interconnect            *string                                           `json:"interconnect"`
	Router                  *string                                           `json:"router"`
	Region                  *string                                           `json:"region"`
	Mtu                     *int64                                            `json:"mtu"`
	PrivateInterconnectInfo *InterconnectAttachmentPrivateInterconnectInfo    `json:"privateInterconnectInfo"`
	OperationalStatus       *InterconnectAttachmentOperationalStatusEnum      `json:"operationalStatus"`
	CloudRouterIPAddress    *string                                           `json:"cloudRouterIPAddress"`
	CustomerRouterIPAddress *string                                           `json:"customerRouterIPAddress"`
	Type                    *InterconnectAttachmentTypeEnum                   `json:"type"`
	PairingKey              *string                                           `json:"pairingKey"`
	AdminEnabled            *bool                                             `json:"adminEnabled"`
	VlanTag8021q            *int64                                            `json:"vlanTag8021q"`
	EdgeAvailabilityDomain  *InterconnectAttachmentEdgeAvailabilityDomainEnum `json:"edgeAvailabilityDomain"`
	CandidateSubnets        []string                                          `json:"candidateSubnets"`
	Bandwidth               *InterconnectAttachmentBandwidthEnum              `json:"bandwidth"`
	PartnerMetadata         *InterconnectAttachmentPartnerMetadata            `json:"partnerMetadata"`
	State                   *InterconnectAttachmentStateEnum                  `json:"state"`
	PartnerAsn              *int64                                            `json:"partnerAsn"`
	Encryption              *InterconnectAttachmentEncryptionEnum             `json:"encryption"`
	IpsecInternalAddresses  []string                                          `json:"ipsecInternalAddresses"`
	DataplaneVersion        *int64                                            `json:"dataplaneVersion"`
	SatisfiesPzs            *bool                                             `json:"satisfiesPzs"`
	Labels                  map[string]string                                 `json:"labels"`
	LabelFingerprint        *string                                           `json:"labelFingerprint"`
	Project                 *string                                           `json:"project"`
}

func (*InterconnectAttachment) Describe

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

func (*InterconnectAttachment) ID

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

func (*InterconnectAttachment) String

func (r *InterconnectAttachment) String() string

type InterconnectAttachmentBandwidthEnum

type InterconnectAttachmentBandwidthEnum string

The enum InterconnectAttachmentBandwidthEnum.

func InterconnectAttachmentBandwidthEnumRef

func InterconnectAttachmentBandwidthEnumRef(s string) *InterconnectAttachmentBandwidthEnum

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

func (InterconnectAttachmentBandwidthEnum) Validate

type InterconnectAttachmentEdgeAvailabilityDomainEnum

type InterconnectAttachmentEdgeAvailabilityDomainEnum string

The enum InterconnectAttachmentEdgeAvailabilityDomainEnum.

func InterconnectAttachmentEdgeAvailabilityDomainEnumRef

func InterconnectAttachmentEdgeAvailabilityDomainEnumRef(s string) *InterconnectAttachmentEdgeAvailabilityDomainEnum

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

func (InterconnectAttachmentEdgeAvailabilityDomainEnum) Validate

type InterconnectAttachmentEncryptionEnum

type InterconnectAttachmentEncryptionEnum string

The enum InterconnectAttachmentEncryptionEnum.

func InterconnectAttachmentEncryptionEnumRef

func InterconnectAttachmentEncryptionEnumRef(s string) *InterconnectAttachmentEncryptionEnum

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

func (InterconnectAttachmentEncryptionEnum) Validate

type InterconnectAttachmentList

type InterconnectAttachmentList struct {
	Items []*InterconnectAttachment
	// contains filtered or unexported fields
}

func (*InterconnectAttachmentList) HasNext

func (l *InterconnectAttachmentList) HasNext() bool

func (*InterconnectAttachmentList) Next

type InterconnectAttachmentOperationalStatusEnum

type InterconnectAttachmentOperationalStatusEnum string

The enum InterconnectAttachmentOperationalStatusEnum.

func InterconnectAttachmentOperationalStatusEnumRef

func InterconnectAttachmentOperationalStatusEnumRef(s string) *InterconnectAttachmentOperationalStatusEnum

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

func (InterconnectAttachmentOperationalStatusEnum) Validate

type InterconnectAttachmentPartnerMetadata

type InterconnectAttachmentPartnerMetadata struct {
	PartnerName      *string `json:"partnerName"`
	InterconnectName *string `json:"interconnectName"`
	PortalUrl        *string `json:"portalUrl"`
	// contains filtered or unexported fields
}
var EmptyInterconnectAttachmentPartnerMetadata *InterconnectAttachmentPartnerMetadata = &InterconnectAttachmentPartnerMetadata{empty: true}

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

func (*InterconnectAttachmentPartnerMetadata) Empty

func (*InterconnectAttachmentPartnerMetadata) HashCode

func (*InterconnectAttachmentPartnerMetadata) String

func (*InterconnectAttachmentPartnerMetadata) UnmarshalJSON

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

type InterconnectAttachmentPrivateInterconnectInfo

type InterconnectAttachmentPrivateInterconnectInfo struct {
	Tag8021q *int64 `json:"tag8021q"`
	// contains filtered or unexported fields
}
var EmptyInterconnectAttachmentPrivateInterconnectInfo *InterconnectAttachmentPrivateInterconnectInfo = &InterconnectAttachmentPrivateInterconnectInfo{empty: true}

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

func (*InterconnectAttachmentPrivateInterconnectInfo) Empty

func (*InterconnectAttachmentPrivateInterconnectInfo) HashCode

func (*InterconnectAttachmentPrivateInterconnectInfo) String

func (*InterconnectAttachmentPrivateInterconnectInfo) UnmarshalJSON

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

type InterconnectAttachmentStateEnum

type InterconnectAttachmentStateEnum string

The enum InterconnectAttachmentStateEnum.

func InterconnectAttachmentStateEnumRef

func InterconnectAttachmentStateEnumRef(s string) *InterconnectAttachmentStateEnum

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

func (InterconnectAttachmentStateEnum) Validate

type InterconnectAttachmentTypeEnum

type InterconnectAttachmentTypeEnum string

The enum InterconnectAttachmentTypeEnum.

func InterconnectAttachmentTypeEnumRef

func InterconnectAttachmentTypeEnumRef(s string) *InterconnectAttachmentTypeEnum

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

func (InterconnectAttachmentTypeEnum) Validate

type InterconnectCircuitInfos

type InterconnectCircuitInfos struct {
	GoogleCircuitId  *string `json:"googleCircuitId"`
	GoogleDemarcId   *string `json:"googleDemarcId"`
	CustomerDemarcId *string `json:"customerDemarcId"`
	// contains filtered or unexported fields
}
var EmptyInterconnectCircuitInfos *InterconnectCircuitInfos = &InterconnectCircuitInfos{empty: true}

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

func (*InterconnectCircuitInfos) Empty

func (r *InterconnectCircuitInfos) Empty() bool

func (*InterconnectCircuitInfos) HashCode

func (r *InterconnectCircuitInfos) HashCode() string

func (*InterconnectCircuitInfos) String

func (r *InterconnectCircuitInfos) String() string

func (*InterconnectCircuitInfos) UnmarshalJSON

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

type InterconnectExpectedOutages

type InterconnectExpectedOutages struct {
	Name             *string                                   `json:"name"`
	Description      *string                                   `json:"description"`
	Source           *InterconnectExpectedOutagesSourceEnum    `json:"source"`
	State            *InterconnectExpectedOutagesStateEnum     `json:"state"`
	IssueType        *InterconnectExpectedOutagesIssueTypeEnum `json:"issueType"`
	AffectedCircuits []string                                  `json:"affectedCircuits"`
	StartTime        *int64                                    `json:"startTime"`
	EndTime          *int64                                    `json:"endTime"`
	// contains filtered or unexported fields
}
var EmptyInterconnectExpectedOutages *InterconnectExpectedOutages = &InterconnectExpectedOutages{empty: true}

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

func (*InterconnectExpectedOutages) Empty

func (r *InterconnectExpectedOutages) Empty() bool

func (*InterconnectExpectedOutages) HashCode

func (r *InterconnectExpectedOutages) HashCode() string

func (*InterconnectExpectedOutages) String

func (r *InterconnectExpectedOutages) String() string

func (*InterconnectExpectedOutages) UnmarshalJSON

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

type InterconnectExpectedOutagesIssueTypeEnum

type InterconnectExpectedOutagesIssueTypeEnum string

The enum InterconnectExpectedOutagesIssueTypeEnum.

func InterconnectExpectedOutagesIssueTypeEnumRef

func InterconnectExpectedOutagesIssueTypeEnumRef(s string) *InterconnectExpectedOutagesIssueTypeEnum

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

func (InterconnectExpectedOutagesIssueTypeEnum) Validate

type InterconnectExpectedOutagesSourceEnum

type InterconnectExpectedOutagesSourceEnum string

The enum InterconnectExpectedOutagesSourceEnum.

func InterconnectExpectedOutagesSourceEnumRef

func InterconnectExpectedOutagesSourceEnumRef(s string) *InterconnectExpectedOutagesSourceEnum

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

func (InterconnectExpectedOutagesSourceEnum) Validate

type InterconnectExpectedOutagesStateEnum

type InterconnectExpectedOutagesStateEnum string

The enum InterconnectExpectedOutagesStateEnum.

func InterconnectExpectedOutagesStateEnumRef

func InterconnectExpectedOutagesStateEnumRef(s string) *InterconnectExpectedOutagesStateEnum

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

func (InterconnectExpectedOutagesStateEnum) Validate

type InterconnectInterconnectTypeEnum

type InterconnectInterconnectTypeEnum string

The enum InterconnectInterconnectTypeEnum.

func InterconnectInterconnectTypeEnumRef

func InterconnectInterconnectTypeEnumRef(s string) *InterconnectInterconnectTypeEnum

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

func (InterconnectInterconnectTypeEnum) Validate

type InterconnectLinkTypeEnum

type InterconnectLinkTypeEnum string

The enum InterconnectLinkTypeEnum.

func InterconnectLinkTypeEnumRef

func InterconnectLinkTypeEnumRef(s string) *InterconnectLinkTypeEnum

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

func (InterconnectLinkTypeEnum) Validate

func (v InterconnectLinkTypeEnum) Validate() error

type InterconnectList

type InterconnectList struct {
	Items []*Interconnect
	// contains filtered or unexported fields
}

func (*InterconnectList) HasNext

func (l *InterconnectList) HasNext() bool

func (*InterconnectList) Next

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

type InterconnectOperationalStatusEnum

type InterconnectOperationalStatusEnum string

The enum InterconnectOperationalStatusEnum.

func InterconnectOperationalStatusEnumRef

func InterconnectOperationalStatusEnumRef(s string) *InterconnectOperationalStatusEnum

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

func (InterconnectOperationalStatusEnum) Validate

type InterconnectStateEnum

type InterconnectStateEnum string

The enum InterconnectStateEnum.

func InterconnectStateEnumRef

func InterconnectStateEnumRef(s string) *InterconnectStateEnum

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

func (InterconnectStateEnum) Validate

func (v InterconnectStateEnum) Validate() error

type Network

type Network struct {
	Description           *string               `json:"description"`
	GatewayIPv4           *string               `json:"gatewayIPv4"`
	Name                  *string               `json:"name"`
	AutoCreateSubnetworks *bool                 `json:"autoCreateSubnetworks"`
	RoutingConfig         *NetworkRoutingConfig `json:"routingConfig"`
	Mtu                   *int64                `json:"mtu"`
	Project               *string               `json:"project"`
	SelfLink              *string               `json:"selfLink"`
	SelfLinkWithId        *string               `json:"selfLinkWithId"`
}

func (*Network) Describe

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

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

func (*Network) ID

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

func (*Network) String

func (r *Network) String() string

type NetworkList

type NetworkList struct {
	Items []*Network
	// contains filtered or unexported fields
}

func (*NetworkList) HasNext

func (l *NetworkList) HasNext() bool

func (*NetworkList) Next

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

type NetworkRoutingConfig

type NetworkRoutingConfig struct {
	RoutingMode *NetworkRoutingConfigRoutingModeEnum `json:"routingMode"`
	// contains filtered or unexported fields
}
var EmptyNetworkRoutingConfig *NetworkRoutingConfig = &NetworkRoutingConfig{empty: true}

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

func (*NetworkRoutingConfig) Empty

func (r *NetworkRoutingConfig) Empty() bool

func (*NetworkRoutingConfig) HashCode

func (r *NetworkRoutingConfig) HashCode() string

func (*NetworkRoutingConfig) String

func (r *NetworkRoutingConfig) String() string

func (*NetworkRoutingConfig) UnmarshalJSON

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

type NetworkRoutingConfigRoutingModeEnum

type NetworkRoutingConfigRoutingModeEnum string

The enum NetworkRoutingConfigRoutingModeEnum.

func NetworkRoutingConfigRoutingModeEnumRef

func NetworkRoutingConfigRoutingModeEnumRef(s string) *NetworkRoutingConfigRoutingModeEnum

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

func (NetworkRoutingConfigRoutingModeEnum) Validate

type PacketMirroring

type PacketMirroring struct {
	Id                *int64                            `json:"id"`
	SelfLink          *string                           `json:"selfLink"`
	Name              *string                           `json:"name"`
	Description       *string                           `json:"description"`
	Region            *string                           `json:"region"`
	Network           *PacketMirroringNetwork           `json:"network"`
	Priority          *int64                            `json:"priority"`
	CollectorIlb      *PacketMirroringCollectorIlb      `json:"collectorIlb"`
	MirroredResources *PacketMirroringMirroredResources `json:"mirroredResources"`
	Filter            *PacketMirroringFilter            `json:"filter"`
	Enable            *PacketMirroringEnableEnum        `json:"enable"`
	Project           *string                           `json:"project"`
	Location          *string                           `json:"location"`
}

func (*PacketMirroring) Describe

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

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

func (*PacketMirroring) ID

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

func (*PacketMirroring) String

func (r *PacketMirroring) String() string

type PacketMirroringCollectorIlb

type PacketMirroringCollectorIlb struct {
	Url          *string `json:"url"`
	CanonicalUrl *string `json:"canonicalUrl"`
	// contains filtered or unexported fields
}
var EmptyPacketMirroringCollectorIlb *PacketMirroringCollectorIlb = &PacketMirroringCollectorIlb{empty: true}

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

func (*PacketMirroringCollectorIlb) Empty

func (r *PacketMirroringCollectorIlb) Empty() bool

func (*PacketMirroringCollectorIlb) HashCode

func (r *PacketMirroringCollectorIlb) HashCode() string

func (*PacketMirroringCollectorIlb) String

func (r *PacketMirroringCollectorIlb) String() string

func (*PacketMirroringCollectorIlb) UnmarshalJSON

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

type PacketMirroringEnableEnum

type PacketMirroringEnableEnum string

The enum PacketMirroringEnableEnum.

func PacketMirroringEnableEnumRef

func PacketMirroringEnableEnumRef(s string) *PacketMirroringEnableEnum

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

func (PacketMirroringEnableEnum) Validate

func (v PacketMirroringEnableEnum) Validate() error

type PacketMirroringFilter

type PacketMirroringFilter struct {
	CidrRanges  []string                            `json:"cidrRanges"`
	IPProtocols []string                            `json:"ipProtocols"`
	Direction   *PacketMirroringFilterDirectionEnum `json:"direction"`
	// contains filtered or unexported fields
}
var EmptyPacketMirroringFilter *PacketMirroringFilter = &PacketMirroringFilter{empty: true}

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

func (*PacketMirroringFilter) Empty

func (r *PacketMirroringFilter) Empty() bool

func (*PacketMirroringFilter) HashCode

func (r *PacketMirroringFilter) HashCode() string

func (*PacketMirroringFilter) String

func (r *PacketMirroringFilter) String() string

func (*PacketMirroringFilter) UnmarshalJSON

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

type PacketMirroringFilterDirectionEnum

type PacketMirroringFilterDirectionEnum string

The enum PacketMirroringFilterDirectionEnum.

func PacketMirroringFilterDirectionEnumRef

func PacketMirroringFilterDirectionEnumRef(s string) *PacketMirroringFilterDirectionEnum

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

func (PacketMirroringFilterDirectionEnum) Validate

type PacketMirroringList

type PacketMirroringList struct {
	Items []*PacketMirroring
	// contains filtered or unexported fields
}

func (*PacketMirroringList) HasNext

func (l *PacketMirroringList) HasNext() bool

func (*PacketMirroringList) Next

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

type PacketMirroringMirroredResources

type PacketMirroringMirroredResources struct {
	Subnetworks []PacketMirroringMirroredResourcesSubnetworks `json:"subnetworks"`
	Instances   []PacketMirroringMirroredResourcesInstances   `json:"instances"`
	Tags        []string                                      `json:"tags"`
	// contains filtered or unexported fields
}
var EmptyPacketMirroringMirroredResources *PacketMirroringMirroredResources = &PacketMirroringMirroredResources{empty: true}

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

func (*PacketMirroringMirroredResources) Empty

func (*PacketMirroringMirroredResources) HashCode

func (*PacketMirroringMirroredResources) String

func (*PacketMirroringMirroredResources) UnmarshalJSON

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

type PacketMirroringMirroredResourcesInstances

type PacketMirroringMirroredResourcesInstances struct {
	Url          *string `json:"url"`
	CanonicalUrl *string `json:"canonicalUrl"`
	// contains filtered or unexported fields
}
var EmptyPacketMirroringMirroredResourcesInstances *PacketMirroringMirroredResourcesInstances = &PacketMirroringMirroredResourcesInstances{empty: true}

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

func (*PacketMirroringMirroredResourcesInstances) Empty

func (*PacketMirroringMirroredResourcesInstances) HashCode

func (*PacketMirroringMirroredResourcesInstances) String

func (*PacketMirroringMirroredResourcesInstances) UnmarshalJSON

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

type PacketMirroringMirroredResourcesSubnetworks

type PacketMirroringMirroredResourcesSubnetworks struct {
	Url          *string `json:"url"`
	CanonicalUrl *string `json:"canonicalUrl"`
	// contains filtered or unexported fields
}
var EmptyPacketMirroringMirroredResourcesSubnetworks *PacketMirroringMirroredResourcesSubnetworks = &PacketMirroringMirroredResourcesSubnetworks{empty: true}

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

func (*PacketMirroringMirroredResourcesSubnetworks) Empty

func (*PacketMirroringMirroredResourcesSubnetworks) HashCode

func (*PacketMirroringMirroredResourcesSubnetworks) String

func (*PacketMirroringMirroredResourcesSubnetworks) UnmarshalJSON

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

type PacketMirroringNetwork

type PacketMirroringNetwork struct {
	Url          *string `json:"url"`
	CanonicalUrl *string `json:"canonicalUrl"`
	// contains filtered or unexported fields
}
var EmptyPacketMirroringNetwork *PacketMirroringNetwork = &PacketMirroringNetwork{empty: true}

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

func (*PacketMirroringNetwork) Empty

func (r *PacketMirroringNetwork) Empty() bool

func (*PacketMirroringNetwork) HashCode

func (r *PacketMirroringNetwork) HashCode() string

func (*PacketMirroringNetwork) String

func (r *PacketMirroringNetwork) String() string

func (*PacketMirroringNetwork) UnmarshalJSON

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

type Route

type Route struct {
	Id               *int64         `json:"id"`
	Name             *string        `json:"name"`
	Description      *string        `json:"description"`
	Network          *string        `json:"network"`
	Tag              []string       `json:"tag"`
	DestRange        *string        `json:"destRange"`
	Priority         *int64         `json:"priority"`
	NextHopInstance  *string        `json:"nextHopInstance"`
	NextHopIP        *string        `json:"nextHopIP"`
	NextHopNetwork   *string        `json:"nextHopNetwork"`
	NextHopGateway   *string        `json:"nextHopGateway"`
	NextHopPeering   *string        `json:"nextHopPeering"`
	NextHopIlb       *string        `json:"nextHopIlb"`
	Warning          []RouteWarning `json:"warning"`
	NextHopVpnTunnel *string        `json:"nextHopVpnTunnel"`
	SelfLink         *string        `json:"selfLink"`
	Project          *string        `json:"project"`
}

func (*Route) Describe

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

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

func (*Route) ID

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

func (*Route) String

func (r *Route) String() string

type RouteList

type RouteList struct {
	Items []*Route
	// contains filtered or unexported fields
}

func (*RouteList) HasNext

func (l *RouteList) HasNext() bool

func (*RouteList) Next

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

type RouteWarning

type RouteWarning struct {
	Code    *RouteWarningCodeEnum `json:"code"`
	Message *string               `json:"message"`
	Data    map[string]string     `json:"data"`
	// contains filtered or unexported fields
}
var EmptyRouteWarning *RouteWarning = &RouteWarning{empty: true}

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

func (*RouteWarning) Empty

func (r *RouteWarning) Empty() bool

func (*RouteWarning) HashCode

func (r *RouteWarning) HashCode() string

func (*RouteWarning) String

func (r *RouteWarning) String() string

func (*RouteWarning) UnmarshalJSON

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

type RouteWarningCodeEnum

type RouteWarningCodeEnum string

The enum RouteWarningCodeEnum.

func RouteWarningCodeEnumRef

func RouteWarningCodeEnumRef(s string) *RouteWarningCodeEnum

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

func (RouteWarningCodeEnum) Validate

func (v RouteWarningCodeEnum) Validate() error

type ServiceAttachment

type ServiceAttachment struct {
	Id                     *int64                                     `json:"id"`
	Name                   *string                                    `json:"name"`
	Description            *string                                    `json:"description"`
	SelfLink               *string                                    `json:"selfLink"`
	Region                 *string                                    `json:"region"`
	TargetService          *string                                    `json:"targetService"`
	ConnectionPreference   *ServiceAttachmentConnectionPreferenceEnum `json:"connectionPreference"`
	ConnectedEndpoints     []ServiceAttachmentConnectedEndpoints      `json:"connectedEndpoints"`
	NatSubnets             []string                                   `json:"natSubnets"`
	EnableProxyProtocol    *bool                                      `json:"enableProxyProtocol"`
	ConsumerRejectLists    []string                                   `json:"consumerRejectLists"`
	ConsumerAcceptLists    []ServiceAttachmentConsumerAcceptLists     `json:"consumerAcceptLists"`
	PscServiceAttachmentId *ServiceAttachmentPscServiceAttachmentId   `json:"pscServiceAttachmentId"`
	Fingerprint            *string                                    `json:"fingerprint"`
	Project                *string                                    `json:"project"`
	Location               *string                                    `json:"location"`
}

func (*ServiceAttachment) Describe

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

func (*ServiceAttachment) ID

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

func (*ServiceAttachment) String

func (r *ServiceAttachment) String() string

type ServiceAttachmentConnectedEndpoints

type ServiceAttachmentConnectedEndpoints struct {
	Status          *ServiceAttachmentConnectedEndpointsStatusEnum `json:"status"`
	PscConnectionId *int64                                         `json:"pscConnectionId"`
	Endpoint        *string                                        `json:"endpoint"`
	// contains filtered or unexported fields
}
var EmptyServiceAttachmentConnectedEndpoints *ServiceAttachmentConnectedEndpoints = &ServiceAttachmentConnectedEndpoints{empty: true}

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

func (*ServiceAttachmentConnectedEndpoints) Empty

func (*ServiceAttachmentConnectedEndpoints) HashCode

func (*ServiceAttachmentConnectedEndpoints) String

func (*ServiceAttachmentConnectedEndpoints) UnmarshalJSON

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

type ServiceAttachmentConnectedEndpointsStatusEnum

type ServiceAttachmentConnectedEndpointsStatusEnum string

The enum ServiceAttachmentConnectedEndpointsStatusEnum.

func ServiceAttachmentConnectedEndpointsStatusEnumRef

func ServiceAttachmentConnectedEndpointsStatusEnumRef(s string) *ServiceAttachmentConnectedEndpointsStatusEnum

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

func (ServiceAttachmentConnectedEndpointsStatusEnum) Validate

type ServiceAttachmentConnectionPreferenceEnum

type ServiceAttachmentConnectionPreferenceEnum string

The enum ServiceAttachmentConnectionPreferenceEnum.

func ServiceAttachmentConnectionPreferenceEnumRef

func ServiceAttachmentConnectionPreferenceEnumRef(s string) *ServiceAttachmentConnectionPreferenceEnum

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

func (ServiceAttachmentConnectionPreferenceEnum) Validate

type ServiceAttachmentConsumerAcceptLists

type ServiceAttachmentConsumerAcceptLists struct {
	ProjectIdOrNum  *string `json:"projectIdOrNum"`
	ConnectionLimit *int64  `json:"connectionLimit"`
	// contains filtered or unexported fields
}
var EmptyServiceAttachmentConsumerAcceptLists *ServiceAttachmentConsumerAcceptLists = &ServiceAttachmentConsumerAcceptLists{empty: true}

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

func (*ServiceAttachmentConsumerAcceptLists) Empty

func (*ServiceAttachmentConsumerAcceptLists) HashCode

func (*ServiceAttachmentConsumerAcceptLists) String

func (*ServiceAttachmentConsumerAcceptLists) UnmarshalJSON

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

type ServiceAttachmentList

type ServiceAttachmentList struct {
	Items []*ServiceAttachment
	// contains filtered or unexported fields
}

func (*ServiceAttachmentList) HasNext

func (l *ServiceAttachmentList) HasNext() bool

func (*ServiceAttachmentList) Next

type ServiceAttachmentPscServiceAttachmentId

type ServiceAttachmentPscServiceAttachmentId struct {
	High *int64 `json:"high"`
	Low  *int64 `json:"low"`
	// contains filtered or unexported fields
}
var EmptyServiceAttachmentPscServiceAttachmentId *ServiceAttachmentPscServiceAttachmentId = &ServiceAttachmentPscServiceAttachmentId{empty: true}

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

func (*ServiceAttachmentPscServiceAttachmentId) Empty

func (*ServiceAttachmentPscServiceAttachmentId) HashCode

func (*ServiceAttachmentPscServiceAttachmentId) String

func (*ServiceAttachmentPscServiceAttachmentId) UnmarshalJSON

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

type Subnetwork

type Subnetwork struct {
	CreationTimestamp     *string                       `json:"creationTimestamp"`
	Description           *string                       `json:"description"`
	GatewayAddress        *string                       `json:"gatewayAddress"`
	IPCidrRange           *string                       `json:"ipCidrRange"`
	Name                  *string                       `json:"name"`
	Network               *string                       `json:"network"`
	Fingerprint           *string                       `json:"fingerprint"`
	Purpose               *SubnetworkPurposeEnum        `json:"purpose"`
	Role                  *SubnetworkRoleEnum           `json:"role"`
	SecondaryIPRanges     []SubnetworkSecondaryIPRanges `json:"secondaryIPRanges"`
	PrivateIPGoogleAccess *bool                         `json:"privateIPGoogleAccess"`
	Region                *string                       `json:"region"`
	LogConfig             *SubnetworkLogConfig          `json:"logConfig"`
	Project               *string                       `json:"project"`
	SelfLink              *string                       `json:"selfLink"`
	EnableFlowLogs        *bool                         `json:"enableFlowLogs"`
}

func (*Subnetwork) Describe

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

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

func (*Subnetwork) ID

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

func (*Subnetwork) String

func (r *Subnetwork) String() string

type SubnetworkList

type SubnetworkList struct {
	Items []*Subnetwork
	// contains filtered or unexported fields
}

func (*SubnetworkList) HasNext

func (l *SubnetworkList) HasNext() bool

func (*SubnetworkList) Next

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

type SubnetworkLogConfig

type SubnetworkLogConfig struct {
	AggregationInterval *SubnetworkLogConfigAggregationIntervalEnum `json:"aggregationInterval"`
	FlowSampling        *float64                                    `json:"flowSampling"`
	Metadata            *SubnetworkLogConfigMetadataEnum            `json:"metadata"`
	// contains filtered or unexported fields
}
var EmptySubnetworkLogConfig *SubnetworkLogConfig = &SubnetworkLogConfig{empty: true}

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

func (*SubnetworkLogConfig) Empty

func (r *SubnetworkLogConfig) Empty() bool

func (*SubnetworkLogConfig) HashCode

func (r *SubnetworkLogConfig) HashCode() string

func (*SubnetworkLogConfig) String

func (r *SubnetworkLogConfig) String() string

func (*SubnetworkLogConfig) UnmarshalJSON

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

type SubnetworkLogConfigAggregationIntervalEnum

type SubnetworkLogConfigAggregationIntervalEnum string

The enum SubnetworkLogConfigAggregationIntervalEnum.

func SubnetworkLogConfigAggregationIntervalEnumRef

func SubnetworkLogConfigAggregationIntervalEnumRef(s string) *SubnetworkLogConfigAggregationIntervalEnum

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

func (SubnetworkLogConfigAggregationIntervalEnum) Validate

type SubnetworkLogConfigMetadataEnum

type SubnetworkLogConfigMetadataEnum string

The enum SubnetworkLogConfigMetadataEnum.

func SubnetworkLogConfigMetadataEnumRef

func SubnetworkLogConfigMetadataEnumRef(s string) *SubnetworkLogConfigMetadataEnum

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

func (SubnetworkLogConfigMetadataEnum) Validate

type SubnetworkPurposeEnum

type SubnetworkPurposeEnum string

The enum SubnetworkPurposeEnum.

func SubnetworkPurposeEnumRef

func SubnetworkPurposeEnumRef(s string) *SubnetworkPurposeEnum

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

func (SubnetworkPurposeEnum) Validate

func (v SubnetworkPurposeEnum) Validate() error

type SubnetworkRoleEnum

type SubnetworkRoleEnum string

The enum SubnetworkRoleEnum.

func SubnetworkRoleEnumRef

func SubnetworkRoleEnumRef(s string) *SubnetworkRoleEnum

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

func (SubnetworkRoleEnum) Validate

func (v SubnetworkRoleEnum) Validate() error

type SubnetworkSecondaryIPRanges

type SubnetworkSecondaryIPRanges struct {
	RangeName   *string `json:"rangeName"`
	IPCidrRange *string `json:"ipCidrRange"`
	// contains filtered or unexported fields
}
var EmptySubnetworkSecondaryIPRanges *SubnetworkSecondaryIPRanges = &SubnetworkSecondaryIPRanges{empty: true}

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

func (*SubnetworkSecondaryIPRanges) Empty

func (r *SubnetworkSecondaryIPRanges) Empty() bool

func (*SubnetworkSecondaryIPRanges) HashCode

func (r *SubnetworkSecondaryIPRanges) HashCode() string

func (*SubnetworkSecondaryIPRanges) String

func (r *SubnetworkSecondaryIPRanges) String() string

func (*SubnetworkSecondaryIPRanges) UnmarshalJSON

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

type VpnTunnel

type VpnTunnel struct {
	Labels                       map[string]string    `json:"labels"`
	Id                           *int64               `json:"id"`
	Name                         *string              `json:"name"`
	Description                  *string              `json:"description"`
	Region                       *string              `json:"region"`
	TargetVpnGateway             *string              `json:"targetVpnGateway"`
	VpnGateway                   *string              `json:"vpnGateway"`
	VpnGatewayInterface          *int64               `json:"vpnGatewayInterface"`
	PeerExternalGateway          *string              `json:"peerExternalGateway"`
	PeerExternalGatewayInterface *int64               `json:"peerExternalGatewayInterface"`
	PeerGcpGateway               *string              `json:"peerGcpGateway"`
	Router                       *string              `json:"router"`
	PeerIP                       *string              `json:"peerIP"`
	SharedSecret                 *string              `json:"sharedSecret"`
	SharedSecretHash             *string              `json:"sharedSecretHash"`
	Status                       *VpnTunnelStatusEnum `json:"status"`
	SelfLink                     *string              `json:"selfLink"`
	IkeVersion                   *int64               `json:"ikeVersion"`
	DetailedStatus               *string              `json:"detailedStatus"`
	LocalTrafficSelector         []string             `json:"localTrafficSelector"`
	RemoteTrafficSelector        []string             `json:"remoteTrafficSelector"`
	Project                      *string              `json:"project"`
}

func (*VpnTunnel) Describe

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

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

func (*VpnTunnel) ID

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

func (*VpnTunnel) String

func (r *VpnTunnel) String() string

type VpnTunnelList

type VpnTunnelList struct {
	Items []*VpnTunnel
	// contains filtered or unexported fields
}

func (*VpnTunnelList) HasNext

func (l *VpnTunnelList) HasNext() bool

func (*VpnTunnelList) Next

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

type VpnTunnelStatusEnum

type VpnTunnelStatusEnum string

The enum VpnTunnelStatusEnum.

func VpnTunnelStatusEnumRef

func VpnTunnelStatusEnumRef(s string) *VpnTunnelStatusEnum

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

func (VpnTunnelStatusEnum) Validate

func (v VpnTunnelStatusEnum) Validate() error

Jump to

Keyboard shortcuts

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