beta

package
v1.41.0 Latest Latest
Warning

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

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

Documentation

Overview

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

Index

Constants

View Source
const AddressGroupMaxPage = -1
View Source
const AuthorizationPolicyMaxPage = -1
View Source
const ClientTlsPolicyMaxPage = -1
View Source
const ServerTlsPolicyMaxPage = -1

Variables

View Source
var YAML_address_group = []byte("info:\n  title: NetworkSecurity/AddressGroup\n  description: The NetworkSecurity AddressGroup resource\n  x-dcl-struct-name: AddressGroup\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a AddressGroup\n    parameters:\n    - name: addressGroup\n      required: true\n      description: A full instance of a AddressGroup\n  apply:\n    description: The function used to apply information about a AddressGroup\n    parameters:\n    - name: addressGroup\n      required: true\n      description: A full instance of a AddressGroup\n  delete:\n    description: The function used to delete a AddressGroup\n    parameters:\n    - name: addressGroup\n      required: true\n      description: A full instance of a AddressGroup\n  deleteAll:\n    description: The function used to delete all AddressGroup\n    parameters:\n    - name: location\n      required: true\n      schema:\n        type: string\n    - name: parent\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many AddressGroup\n    parameters:\n    - name: location\n      required: true\n      schema:\n        type: string\n    - name: parent\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    AddressGroup:\n      title: AddressGroup\n      x-dcl-id: '{{parent}}/locations/{{location}}/addressGroups/{{name}}'\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - type\n      - capacity\n      - parent\n      - location\n      properties:\n        capacity:\n          type: integer\n          format: int64\n          x-dcl-go-name: Capacity\n          description: Required. Capacity of the Address Group.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. Free-text description of the resource.\n        items:\n          type: array\n          x-dcl-go-name: Items\n          description: Optional. List of items.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\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: Required. Name of the AddressGroup resource.\n          x-kubernetes-immutable: true\n        parent:\n          type: string\n          x-dcl-go-name: Parent\n          description: The parent of the resource.\n          x-kubernetes-immutable: true\n          x-dcl-forward-slash-allowed: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Organization\n            field: name\n            parent: true\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        type:\n          type: string\n          x-dcl-go-name: Type\n          x-dcl-go-type: AddressGroupTypeEnum\n          description: 'Required. The type of the Address Group. Possible values are\n            \"IPv4\" or \"IPV6\". Possible values: TYPE_UNSPECIFIED, IPV4, IPV6'\n          x-kubernetes-immutable: true\n          enum:\n          - TYPE_UNSPECIFIED\n          - IPV4\n          - IPV6\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/beta/address_group.yaml

View Source
var YAML_authorization_policy = []byte("info:\n  title: NetworkSecurity/AuthorizationPolicy\n  description: The NetworkSecurity AuthorizationPolicy resource\n  x-dcl-struct-name: AuthorizationPolicy\n  x-dcl-has-iam: true\npaths:\n  get:\n    description: The function used to get information about a AuthorizationPolicy\n    parameters:\n    - name: authorizationPolicy\n      required: true\n      description: A full instance of a AuthorizationPolicy\n  apply:\n    description: The function used to apply information about a AuthorizationPolicy\n    parameters:\n    - name: authorizationPolicy\n      required: true\n      description: A full instance of a AuthorizationPolicy\n  delete:\n    description: The function used to delete a AuthorizationPolicy\n    parameters:\n    - name: authorizationPolicy\n      required: true\n      description: A full instance of a AuthorizationPolicy\n  deleteAll:\n    description: The function used to delete all AuthorizationPolicy\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 AuthorizationPolicy\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    AuthorizationPolicy:\n      title: AuthorizationPolicy\n      x-dcl-id: projects/{{project}}/locations/{{location}}/authorizationPolicies/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: true\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - action\n      - project\n      - location\n      properties:\n        action:\n          type: string\n          x-dcl-go-name: Action\n          x-dcl-go-type: AuthorizationPolicyActionEnum\n          description: 'Required. The action to take when a rule match is found. Possible\n            values are \"ALLOW\" or \"DENY\". Possible values: ACTION_UNSPECIFIED, ALLOW,\n            DENY'\n          enum:\n          - ACTION_UNSPECIFIED\n          - ALLOW\n          - DENY\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. Free-text description of the resource.\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Optional. Set of label tags associated with the AuthorizationPolicy\n            resource.\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: Required. Name of the AuthorizationPolicy resource.\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        rules:\n          type: array\n          x-dcl-go-name: Rules\n          description: Optional. List of rules to match. If not set, the action specified\n            in the ‘action’ field will be applied without any additional rule checks.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: AuthorizationPolicyRules\n            properties:\n              destinations:\n                type: array\n                x-dcl-go-name: Destinations\n                description: Optional. List of attributes for the traffic destination.\n                  If not set, the action specified in the ‘action’ field will be applied\n                  without any rule checks for the destination.\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: AuthorizationPolicyRulesDestinations\n                  required:\n                  - hosts\n                  - ports\n                  properties:\n                    hosts:\n                      type: array\n                      x-dcl-go-name: Hosts\n                      description: Required. List of host names to match. Matched\n                        against HOST header in http requests. Each host can be an\n                        exact match, or a prefix match (example, “mydomain.*”) or\n                        a suffix match (example, *.myorg.com”) or a presence(any)\n                        match “*”.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: string\n                    httpHeaderMatch:\n                      type: object\n                      x-dcl-go-name: HttpHeaderMatch\n                      x-dcl-go-type: AuthorizationPolicyRulesDestinationsHttpHeaderMatch\n                      description: Optional. Match against key:value pair in http\n                        header. Provides a flexible match based on HTTP headers, for\n                        potentially advanced use cases.\n                      required:\n                      - headerName\n                      - regexMatch\n                      properties:\n                        headerName:\n                          type: string\n                          x-dcl-go-name: HeaderName\n                          description: Required. The name of the HTTP header to match.\n                            For matching against the HTTP request's authority, use\n                            a headerMatch with the header name \":authority\". For matching\n                            a request's method, use the headerName \":method\".\n                        regexMatch:\n                          type: string\n                          x-dcl-go-name: RegexMatch\n                          description: 'Required. The value of the header must match\n                            the regular expression specified in regexMatch. For regular\n                            expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript\n                            For matching against a port specified in the HTTP request,\n                            use a headerMatch with headerName set to Host and a regular\n                            expression that satisfies the RFC2616 Host header''s port\n                            specifier.'\n                    methods:\n                      type: array\n                      x-dcl-go-name: Methods\n                      description: Optional. A list of HTTP methods to match. Should\n                        not be set for gRPC services.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: string\n                    ports:\n                      type: array\n                      x-dcl-go-name: Ports\n                      description: Required. List of destination ports to match.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: integer\n                        format: int64\n                        x-dcl-go-type: int64\n              sources:\n                type: array\n                x-dcl-go-name: Sources\n                description: Optional. List of attributes for the traffic source.\n                  If not set, the action specified in the ‘action’ field will be applied\n                  without any rule checks for the source.\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: AuthorizationPolicyRulesSources\n                  properties:\n                    ipBlocks:\n                      type: array\n                      x-dcl-go-name: IPBlocks\n                      description: Optional. List of CIDR ranges to match based on\n                        source IP address. Single IP (e.g., \"1.2.3.4\") and CIDR (e.g.,\n                        \"1.2.3.0/24\") are supported.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: string\n                    principals:\n                      type: array\n                      x-dcl-go-name: Principals\n                      description: Optional. List of peer identities to match for\n                        authorization. Each peer can be an exact match, or a prefix\n                        match (example, “namespace/*”) or a suffix match (example,\n                        */service-account”) or a presence match “*”.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: string\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/beta/authorization_policy.yaml

View Source
var YAML_client_tls_policy = []byte("info:\n  title: NetworkSecurity/ClientTlsPolicy\n  description: The NetworkSecurity ClientTlsPolicy resource\n  x-dcl-struct-name: ClientTlsPolicy\n  x-dcl-has-iam: true\npaths:\n  get:\n    description: The function used to get information about a ClientTlsPolicy\n    parameters:\n    - name: clientTlsPolicy\n      required: true\n      description: A full instance of a ClientTlsPolicy\n  apply:\n    description: The function used to apply information about a ClientTlsPolicy\n    parameters:\n    - name: clientTlsPolicy\n      required: true\n      description: A full instance of a ClientTlsPolicy\n  delete:\n    description: The function used to delete a ClientTlsPolicy\n    parameters:\n    - name: clientTlsPolicy\n      required: true\n      description: A full instance of a ClientTlsPolicy\n  deleteAll:\n    description: The function used to delete all ClientTlsPolicy\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 ClientTlsPolicy\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    ClientTlsPolicy:\n      title: ClientTlsPolicy\n      x-dcl-id: projects/{{project}}/locations/{{location}}/clientTlsPolicies/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: true\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - project\n      - location\n      properties:\n        clientCertificate:\n          type: object\n          x-dcl-go-name: ClientCertificate\n          x-dcl-go-type: ClientTlsPolicyClientCertificate\n          description: Optional. Defines a mechanism to provision client identity\n            (public and private keys) for peer to peer authentication. The presence\n            of this dictates mTLS.\n          properties:\n            certificateProviderInstance:\n              type: object\n              x-dcl-go-name: CertificateProviderInstance\n              x-dcl-go-type: ClientTlsPolicyClientCertificateCertificateProviderInstance\n              description: The certificate provider instance specification that will\n                be passed to the data plane, which will be used to load necessary\n                credential information.\n              x-dcl-conflicts:\n              - grpcEndpoint\n              required:\n              - pluginInstance\n              properties:\n                pluginInstance:\n                  type: string\n                  x-dcl-go-name: PluginInstance\n                  description: Required. Plugin instance name, used to locate and\n                    load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n                    to use Certificate Authority Service certificate provider instance.\n            grpcEndpoint:\n              type: object\n              x-dcl-go-name: GrpcEndpoint\n              x-dcl-go-type: ClientTlsPolicyClientCertificateGrpcEndpoint\n              description: gRPC specific configuration to access the gRPC server to\n                obtain the cert and private key.\n              x-dcl-conflicts:\n              - certificateProviderInstance\n              required:\n              - targetUri\n              properties:\n                targetUri:\n                  type: string\n                  x-dcl-go-name: TargetUri\n                  description: Required. The target URI of the gRPC endpoint. Only\n                    UDS path is supported, and should start with “unix:”.\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. Free-text description of the resource.\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Optional. Set of label tags associated with the resource.\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: Required. Name of the ClientTlsPolicy resource.\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        serverValidationCa:\n          type: array\n          x-dcl-go-name: ServerValidationCa\n          description: Required. Defines the mechanism to obtain the Certificate Authority\n            certificate to validate the server certificate.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: ClientTlsPolicyServerValidationCa\n            properties:\n              certificateProviderInstance:\n                type: object\n                x-dcl-go-name: CertificateProviderInstance\n                x-dcl-go-type: ClientTlsPolicyServerValidationCaCertificateProviderInstance\n                description: The certificate provider instance specification that\n                  will be passed to the data plane, which will be used to load necessary\n                  credential information.\n                x-dcl-conflicts:\n                - grpcEndpoint\n                required:\n                - pluginInstance\n                properties:\n                  pluginInstance:\n                    type: string\n                    x-dcl-go-name: PluginInstance\n                    description: Required. Plugin instance name, used to locate and\n                      load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n                      to use Certificate Authority Service certificate provider instance.\n              grpcEndpoint:\n                type: object\n                x-dcl-go-name: GrpcEndpoint\n                x-dcl-go-type: ClientTlsPolicyServerValidationCaGrpcEndpoint\n                description: gRPC specific configuration to access the gRPC server\n                  to obtain the CA certificate.\n                x-dcl-conflicts:\n                - certificateProviderInstance\n                required:\n                - targetUri\n                properties:\n                  targetUri:\n                    type: string\n                    x-dcl-go-name: TargetUri\n                    description: Required. The target URI of the gRPC endpoint. Only\n                      UDS path is supported, and should start with “unix:”.\n        sni:\n          type: string\n          x-dcl-go-name: Sni\n          description: 'Optional. Server Name Indication string to present to the\n            server during TLS handshake. E.g: \"secure.example.com\".'\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/beta/client_tls_policy.yaml

View Source
var YAML_server_tls_policy = []byte("info:\n  title: NetworkSecurity/ServerTlsPolicy\n  description: The NetworkSecurity ServerTlsPolicy resource\n  x-dcl-struct-name: ServerTlsPolicy\n  x-dcl-has-iam: true\npaths:\n  get:\n    description: The function used to get information about a ServerTlsPolicy\n    parameters:\n    - name: serverTlsPolicy\n      required: true\n      description: A full instance of a ServerTlsPolicy\n  apply:\n    description: The function used to apply information about a ServerTlsPolicy\n    parameters:\n    - name: serverTlsPolicy\n      required: true\n      description: A full instance of a ServerTlsPolicy\n  delete:\n    description: The function used to delete a ServerTlsPolicy\n    parameters:\n    - name: serverTlsPolicy\n      required: true\n      description: A full instance of a ServerTlsPolicy\n  deleteAll:\n    description: The function used to delete all ServerTlsPolicy\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 ServerTlsPolicy\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    ServerTlsPolicy:\n      title: ServerTlsPolicy\n      x-dcl-id: projects/{{project}}/locations/{{location}}/serverTlsPolicies/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: true\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - project\n      - location\n      properties:\n        allowOpen:\n          type: boolean\n          x-dcl-go-name: AllowOpen\n          description: Optional. Determines if server allows plaintext connections.\n            If set to true, server allows plain text connections. By default, it is\n            set to false. This setting is not exclusive of other encryption modes.\n            For example, if allow_open and mtls_policy are set, server allows both\n            plain text and mTLS connections. See documentation of other encryption\n            modes to confirm compatibility.\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. Free-text description of the resource.\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Optional. Set of label tags associated with the resource.\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        mtlsPolicy:\n          type: object\n          x-dcl-go-name: MtlsPolicy\n          x-dcl-go-type: ServerTlsPolicyMtlsPolicy\n          description: Optional. Defines a mechanism to provision peer validation\n            certificates for peer to peer authentication (Mutual TLS - mTLS). If not\n            specified, client certificate will not be requested. The connection is\n            treated as TLS and not mTLS. If allow_open and mtls_policy are set, server\n            allows both plain text and mTLS connections.\n          required:\n          - clientValidationCa\n          properties:\n            clientValidationCa:\n              type: array\n              x-dcl-go-name: ClientValidationCa\n              description: Required. Defines the mechanism to obtain the Certificate\n                Authority certificate to validate the client certificate.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCa\n                properties:\n                  certificateProviderInstance:\n                    type: object\n                    x-dcl-go-name: CertificateProviderInstance\n                    x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance\n                    description: The certificate provider instance specification that\n                      will be passed to the data plane, which will be used to load\n                      necessary credential information.\n                    x-dcl-conflicts:\n                    - grpcEndpoint\n                    required:\n                    - pluginInstance\n                    properties:\n                      pluginInstance:\n                        type: string\n                        x-dcl-go-name: PluginInstance\n                        description: Required. Plugin instance name, used to locate\n                          and load CertificateProvider instance configuration. Set\n                          to \"google_cloud_private_spiffe\" to use Certificate Authority\n                          Service certificate provider instance.\n                  grpcEndpoint:\n                    type: object\n                    x-dcl-go-name: GrpcEndpoint\n                    x-dcl-go-type: ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint\n                    description: gRPC specific configuration to access the gRPC server\n                      to obtain the CA certificate.\n                    x-dcl-conflicts:\n                    - certificateProviderInstance\n                    required:\n                    - targetUri\n                    properties:\n                      targetUri:\n                        type: string\n                        x-dcl-go-name: TargetUri\n                        description: Required. The target URI of the gRPC endpoint.\n                          Only UDS path is supported, and should start with “unix:”.\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Required. Name of the ServerTlsPolicy resource.\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        serverCertificate:\n          type: object\n          x-dcl-go-name: ServerCertificate\n          x-dcl-go-type: ServerTlsPolicyServerCertificate\n          description: Optional. Defines a mechanism to provision server identity\n            (public and private keys). Cannot be combined with allow_open as a permissive\n            mode that allows both plain text and TLS is not supported.\n          properties:\n            certificateProviderInstance:\n              type: object\n              x-dcl-go-name: CertificateProviderInstance\n              x-dcl-go-type: ServerTlsPolicyServerCertificateCertificateProviderInstance\n              description: The certificate provider instance specification that will\n                be passed to the data plane, which will be used to load necessary\n                credential information.\n              x-dcl-conflicts:\n              - grpcEndpoint\n              required:\n              - pluginInstance\n              properties:\n                pluginInstance:\n                  type: string\n                  x-dcl-go-name: PluginInstance\n                  description: Required. Plugin instance name, used to locate and\n                    load CertificateProvider instance configuration. Set to \"google_cloud_private_spiffe\"\n                    to use Certificate Authority Service certificate provider instance.\n            grpcEndpoint:\n              type: object\n              x-dcl-go-name: GrpcEndpoint\n              x-dcl-go-type: ServerTlsPolicyServerCertificateGrpcEndpoint\n              description: gRPC specific configuration to access the gRPC server to\n                obtain the cert and private key.\n              x-dcl-conflicts:\n              - certificateProviderInstance\n              required:\n              - targetUri\n              properties:\n                targetUri:\n                  type: string\n                  x-dcl-go-name: TargetUri\n                  description: Required. The target URI of the gRPC endpoint. Only\n                    UDS path is supported, and should start with “unix:”.\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networksecurity/beta/server_tls_policy.yaml

Functions

func DCLAddressGroupSchema added in v1.39.0

func DCLAddressGroupSchema() *dcl.Schema

func DCLAuthorizationPolicySchema added in v1.10.3

func DCLAuthorizationPolicySchema() *dcl.Schema

func DCLClientTlsPolicySchema added in v1.10.3

func DCLClientTlsPolicySchema() *dcl.Schema

func DCLServerTlsPolicySchema added in v1.10.3

func DCLServerTlsPolicySchema() *dcl.Schema

Types

type AddressGroup added in v1.39.0

type AddressGroup struct {
	Name        *string               `json:"name"`
	Description *string               `json:"description"`
	Type        *AddressGroupTypeEnum `json:"type"`
	Items       []string              `json:"items"`
	Capacity    *int64                `json:"capacity"`
	Parent      *string               `json:"parent"`
	Location    *string               `json:"location"`
}

func (*AddressGroup) Describe added in v1.39.0

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

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

func (*AddressGroup) ID added in v1.39.0

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

func (*AddressGroup) String added in v1.39.0

func (r *AddressGroup) String() string

type AddressGroupList added in v1.39.0

type AddressGroupList struct {
	Items []*AddressGroup
	// contains filtered or unexported fields
}

func (*AddressGroupList) HasNext added in v1.39.0

func (l *AddressGroupList) HasNext() bool

func (*AddressGroupList) Next added in v1.39.0

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

type AddressGroupTypeEnum added in v1.39.0

type AddressGroupTypeEnum string

The enum AddressGroupTypeEnum.

func AddressGroupTypeEnumRef added in v1.39.0

func AddressGroupTypeEnumRef(s string) *AddressGroupTypeEnum

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

func (AddressGroupTypeEnum) Validate added in v1.39.0

func (v AddressGroupTypeEnum) Validate() error

type AuthorizationPolicy

type AuthorizationPolicy struct {
	Name        *string                        `json:"name"`
	Description *string                        `json:"description"`
	CreateTime  *string                        `json:"createTime"`
	UpdateTime  *string                        `json:"updateTime"`
	Labels      map[string]string              `json:"labels"`
	Action      *AuthorizationPolicyActionEnum `json:"action"`
	Rules       []AuthorizationPolicyRules     `json:"rules"`
	Project     *string                        `json:"project"`
	Location    *string                        `json:"location"`
}

func (*AuthorizationPolicy) Describe

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

func (*AuthorizationPolicy) GetPolicy

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

func (*AuthorizationPolicy) IAMPolicyVersion

func (r *AuthorizationPolicy) IAMPolicyVersion() int

func (*AuthorizationPolicy) ID

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

func (*AuthorizationPolicy) SetPolicyURL

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

func (*AuthorizationPolicy) SetPolicyVerb

func (r *AuthorizationPolicy) SetPolicyVerb() string

func (*AuthorizationPolicy) String

func (r *AuthorizationPolicy) String() string

type AuthorizationPolicyActionEnum

type AuthorizationPolicyActionEnum string

The enum AuthorizationPolicyActionEnum.

func AuthorizationPolicyActionEnumRef

func AuthorizationPolicyActionEnumRef(s string) *AuthorizationPolicyActionEnum

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

func (AuthorizationPolicyActionEnum) Validate

func (v AuthorizationPolicyActionEnum) Validate() error

type AuthorizationPolicyList

type AuthorizationPolicyList struct {
	Items []*AuthorizationPolicy
	// contains filtered or unexported fields
}

func (*AuthorizationPolicyList) HasNext

func (l *AuthorizationPolicyList) HasNext() bool

func (*AuthorizationPolicyList) Next

type AuthorizationPolicyRules

type AuthorizationPolicyRules struct {
	Sources      []AuthorizationPolicyRulesSources      `json:"sources"`
	Destinations []AuthorizationPolicyRulesDestinations `json:"destinations"`
	// contains filtered or unexported fields
}
var EmptyAuthorizationPolicyRules *AuthorizationPolicyRules = &AuthorizationPolicyRules{empty: true}

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

func (*AuthorizationPolicyRules) Empty

func (r *AuthorizationPolicyRules) Empty() bool

func (*AuthorizationPolicyRules) HashCode

func (r *AuthorizationPolicyRules) HashCode() string

func (*AuthorizationPolicyRules) String

func (r *AuthorizationPolicyRules) String() string

func (*AuthorizationPolicyRules) UnmarshalJSON

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

type AuthorizationPolicyRulesDestinations

type AuthorizationPolicyRulesDestinations struct {
	Hosts           []string                                             `json:"hosts"`
	Ports           []int64                                              `json:"ports"`
	Methods         []string                                             `json:"methods"`
	HttpHeaderMatch *AuthorizationPolicyRulesDestinationsHttpHeaderMatch `json:"httpHeaderMatch"`
	// contains filtered or unexported fields
}
var EmptyAuthorizationPolicyRulesDestinations *AuthorizationPolicyRulesDestinations = &AuthorizationPolicyRulesDestinations{empty: true}

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

func (*AuthorizationPolicyRulesDestinations) Empty

func (*AuthorizationPolicyRulesDestinations) HashCode

func (*AuthorizationPolicyRulesDestinations) String

func (*AuthorizationPolicyRulesDestinations) UnmarshalJSON

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

type AuthorizationPolicyRulesDestinationsHttpHeaderMatch

type AuthorizationPolicyRulesDestinationsHttpHeaderMatch struct {
	HeaderName *string `json:"headerName"`
	RegexMatch *string `json:"regexMatch"`
	// contains filtered or unexported fields
}
var EmptyAuthorizationPolicyRulesDestinationsHttpHeaderMatch *AuthorizationPolicyRulesDestinationsHttpHeaderMatch = &AuthorizationPolicyRulesDestinationsHttpHeaderMatch{empty: true}

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

func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) Empty

func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) HashCode

func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) String

func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) UnmarshalJSON

type AuthorizationPolicyRulesSources

type AuthorizationPolicyRulesSources struct {
	Principals []string `json:"principals"`
	IPBlocks   []string `json:"ipBlocks"`
	// contains filtered or unexported fields
}
var EmptyAuthorizationPolicyRulesSources *AuthorizationPolicyRulesSources = &AuthorizationPolicyRulesSources{empty: true}

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

func (*AuthorizationPolicyRulesSources) Empty

func (*AuthorizationPolicyRulesSources) HashCode

func (*AuthorizationPolicyRulesSources) String

func (*AuthorizationPolicyRulesSources) UnmarshalJSON

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

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) ApplyAddressGroup added in v1.39.0

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

func (*Client) ApplyAuthorizationPolicy

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

func (*Client) ApplyClientTlsPolicy

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

func (*Client) ApplyServerTlsPolicy

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

func (*Client) DeleteAddressGroup added in v1.39.0

func (c *Client) DeleteAddressGroup(ctx context.Context, r *AddressGroup) error

func (*Client) DeleteAllAddressGroup added in v1.39.0

func (c *Client) DeleteAllAddressGroup(ctx context.Context, location, parent string, filter func(*AddressGroup) bool) error

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

func (*Client) DeleteAllAuthorizationPolicy

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

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

func (*Client) DeleteAllClientTlsPolicy

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

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

func (*Client) DeleteAllServerTlsPolicy

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

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

func (*Client) DeleteAuthorizationPolicy

func (c *Client) DeleteAuthorizationPolicy(ctx context.Context, r *AuthorizationPolicy) error

func (*Client) DeleteClientTlsPolicy

func (c *Client) DeleteClientTlsPolicy(ctx context.Context, r *ClientTlsPolicy) error

func (*Client) DeleteServerTlsPolicy

func (c *Client) DeleteServerTlsPolicy(ctx context.Context, r *ServerTlsPolicy) error

func (*Client) GetAddressGroup added in v1.39.0

func (c *Client) GetAddressGroup(ctx context.Context, r *AddressGroup) (*AddressGroup, error)

func (*Client) GetAuthorizationPolicy

func (c *Client) GetAuthorizationPolicy(ctx context.Context, r *AuthorizationPolicy) (*AuthorizationPolicy, error)

func (*Client) GetClientTlsPolicy

func (c *Client) GetClientTlsPolicy(ctx context.Context, r *ClientTlsPolicy) (*ClientTlsPolicy, error)

func (*Client) GetServerTlsPolicy

func (c *Client) GetServerTlsPolicy(ctx context.Context, r *ServerTlsPolicy) (*ServerTlsPolicy, error)

func (*Client) ListAddressGroup added in v1.39.0

func (c *Client) ListAddressGroup(ctx context.Context, location, parent string) (*AddressGroupList, error)

func (*Client) ListAddressGroupWithMaxResults added in v1.39.0

func (c *Client) ListAddressGroupWithMaxResults(ctx context.Context, location, parent string, pageSize int32) (*AddressGroupList, error)

func (*Client) ListAuthorizationPolicy

func (c *Client) ListAuthorizationPolicy(ctx context.Context, project, location string) (*AuthorizationPolicyList, error)

func (*Client) ListAuthorizationPolicyWithMaxResults

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

func (*Client) ListClientTlsPolicy

func (c *Client) ListClientTlsPolicy(ctx context.Context, project, location string) (*ClientTlsPolicyList, error)

func (*Client) ListClientTlsPolicyWithMaxResults

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

func (*Client) ListServerTlsPolicy

func (c *Client) ListServerTlsPolicy(ctx context.Context, project, location string) (*ServerTlsPolicyList, error)

func (*Client) ListServerTlsPolicyWithMaxResults

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

type ClientTlsPolicy

type ClientTlsPolicy struct {
	Name               *string                             `json:"name"`
	Description        *string                             `json:"description"`
	CreateTime         *string                             `json:"createTime"`
	UpdateTime         *string                             `json:"updateTime"`
	Labels             map[string]string                   `json:"labels"`
	Sni                *string                             `json:"sni"`
	ClientCertificate  *ClientTlsPolicyClientCertificate   `json:"clientCertificate"`
	ServerValidationCa []ClientTlsPolicyServerValidationCa `json:"serverValidationCa"`
	Project            *string                             `json:"project"`
	Location           *string                             `json:"location"`
}

func (*ClientTlsPolicy) Describe

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

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

func (*ClientTlsPolicy) GetPolicy

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

func (*ClientTlsPolicy) IAMPolicyVersion

func (r *ClientTlsPolicy) IAMPolicyVersion() int

func (*ClientTlsPolicy) ID

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

func (*ClientTlsPolicy) SetPolicyURL

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

func (*ClientTlsPolicy) SetPolicyVerb

func (r *ClientTlsPolicy) SetPolicyVerb() string

func (*ClientTlsPolicy) String

func (r *ClientTlsPolicy) String() string

type ClientTlsPolicyClientCertificate

type ClientTlsPolicyClientCertificate struct {
	GrpcEndpoint                *ClientTlsPolicyClientCertificateGrpcEndpoint                `json:"grpcEndpoint"`
	CertificateProviderInstance *ClientTlsPolicyClientCertificateCertificateProviderInstance `json:"certificateProviderInstance"`
	// contains filtered or unexported fields
}
var EmptyClientTlsPolicyClientCertificate *ClientTlsPolicyClientCertificate = &ClientTlsPolicyClientCertificate{empty: true}

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

func (*ClientTlsPolicyClientCertificate) Empty

func (*ClientTlsPolicyClientCertificate) HashCode

func (*ClientTlsPolicyClientCertificate) String

func (*ClientTlsPolicyClientCertificate) UnmarshalJSON

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

type ClientTlsPolicyClientCertificateCertificateProviderInstance

type ClientTlsPolicyClientCertificateCertificateProviderInstance struct {
	PluginInstance *string `json:"pluginInstance"`
	// contains filtered or unexported fields
}
var EmptyClientTlsPolicyClientCertificateCertificateProviderInstance *ClientTlsPolicyClientCertificateCertificateProviderInstance = &ClientTlsPolicyClientCertificateCertificateProviderInstance{empty: true}

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

func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) Empty

func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) HashCode

func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) String

func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) UnmarshalJSON

type ClientTlsPolicyClientCertificateGrpcEndpoint

type ClientTlsPolicyClientCertificateGrpcEndpoint struct {
	TargetUri *string `json:"targetUri"`
	// contains filtered or unexported fields
}
var EmptyClientTlsPolicyClientCertificateGrpcEndpoint *ClientTlsPolicyClientCertificateGrpcEndpoint = &ClientTlsPolicyClientCertificateGrpcEndpoint{empty: true}

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

func (*ClientTlsPolicyClientCertificateGrpcEndpoint) Empty

func (*ClientTlsPolicyClientCertificateGrpcEndpoint) HashCode

func (*ClientTlsPolicyClientCertificateGrpcEndpoint) String

func (*ClientTlsPolicyClientCertificateGrpcEndpoint) UnmarshalJSON

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

type ClientTlsPolicyList

type ClientTlsPolicyList struct {
	Items []*ClientTlsPolicy
	// contains filtered or unexported fields
}

func (*ClientTlsPolicyList) HasNext

func (l *ClientTlsPolicyList) HasNext() bool

func (*ClientTlsPolicyList) Next

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

type ClientTlsPolicyServerValidationCa

type ClientTlsPolicyServerValidationCa struct {
	GrpcEndpoint                *ClientTlsPolicyServerValidationCaGrpcEndpoint                `json:"grpcEndpoint"`
	CertificateProviderInstance *ClientTlsPolicyServerValidationCaCertificateProviderInstance `json:"certificateProviderInstance"`
	// contains filtered or unexported fields
}
var EmptyClientTlsPolicyServerValidationCa *ClientTlsPolicyServerValidationCa = &ClientTlsPolicyServerValidationCa{empty: true}

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

func (*ClientTlsPolicyServerValidationCa) Empty

func (*ClientTlsPolicyServerValidationCa) HashCode

func (*ClientTlsPolicyServerValidationCa) String

func (*ClientTlsPolicyServerValidationCa) UnmarshalJSON

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

type ClientTlsPolicyServerValidationCaCertificateProviderInstance

type ClientTlsPolicyServerValidationCaCertificateProviderInstance struct {
	PluginInstance *string `json:"pluginInstance"`
	// contains filtered or unexported fields
}
var EmptyClientTlsPolicyServerValidationCaCertificateProviderInstance *ClientTlsPolicyServerValidationCaCertificateProviderInstance = &ClientTlsPolicyServerValidationCaCertificateProviderInstance{empty: true}

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

func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) Empty

func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) HashCode

func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) String

func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) UnmarshalJSON

type ClientTlsPolicyServerValidationCaGrpcEndpoint

type ClientTlsPolicyServerValidationCaGrpcEndpoint struct {
	TargetUri *string `json:"targetUri"`
	// contains filtered or unexported fields
}
var EmptyClientTlsPolicyServerValidationCaGrpcEndpoint *ClientTlsPolicyServerValidationCaGrpcEndpoint = &ClientTlsPolicyServerValidationCaGrpcEndpoint{empty: true}

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

func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) Empty

func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) HashCode

func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) String

func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) UnmarshalJSON

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

type ServerTlsPolicy

type ServerTlsPolicy struct {
	Name              *string                           `json:"name"`
	Description       *string                           `json:"description"`
	CreateTime        *string                           `json:"createTime"`
	UpdateTime        *string                           `json:"updateTime"`
	Labels            map[string]string                 `json:"labels"`
	AllowOpen         *bool                             `json:"allowOpen"`
	ServerCertificate *ServerTlsPolicyServerCertificate `json:"serverCertificate"`
	MtlsPolicy        *ServerTlsPolicyMtlsPolicy        `json:"mtlsPolicy"`
	Project           *string                           `json:"project"`
	Location          *string                           `json:"location"`
}

func (*ServerTlsPolicy) Describe

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

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

func (*ServerTlsPolicy) GetPolicy

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

func (*ServerTlsPolicy) IAMPolicyVersion

func (r *ServerTlsPolicy) IAMPolicyVersion() int

func (*ServerTlsPolicy) ID

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

func (*ServerTlsPolicy) SetPolicyURL

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

func (*ServerTlsPolicy) SetPolicyVerb

func (r *ServerTlsPolicy) SetPolicyVerb() string

func (*ServerTlsPolicy) String

func (r *ServerTlsPolicy) String() string

type ServerTlsPolicyList

type ServerTlsPolicyList struct {
	Items []*ServerTlsPolicy
	// contains filtered or unexported fields
}

func (*ServerTlsPolicyList) HasNext

func (l *ServerTlsPolicyList) HasNext() bool

func (*ServerTlsPolicyList) Next

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

type ServerTlsPolicyMtlsPolicy

type ServerTlsPolicyMtlsPolicy struct {
	ClientValidationCa []ServerTlsPolicyMtlsPolicyClientValidationCa `json:"clientValidationCa"`
	// contains filtered or unexported fields
}
var EmptyServerTlsPolicyMtlsPolicy *ServerTlsPolicyMtlsPolicy = &ServerTlsPolicyMtlsPolicy{empty: true}

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

func (*ServerTlsPolicyMtlsPolicy) Empty

func (r *ServerTlsPolicyMtlsPolicy) Empty() bool

func (*ServerTlsPolicyMtlsPolicy) HashCode

func (r *ServerTlsPolicyMtlsPolicy) HashCode() string

func (*ServerTlsPolicyMtlsPolicy) String

func (r *ServerTlsPolicyMtlsPolicy) String() string

func (*ServerTlsPolicyMtlsPolicy) UnmarshalJSON

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

type ServerTlsPolicyMtlsPolicyClientValidationCa

type ServerTlsPolicyMtlsPolicyClientValidationCa struct {
	GrpcEndpoint                *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint                `json:"grpcEndpoint"`
	CertificateProviderInstance *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance `json:"certificateProviderInstance"`
	// contains filtered or unexported fields
}
var EmptyServerTlsPolicyMtlsPolicyClientValidationCa *ServerTlsPolicyMtlsPolicyClientValidationCa = &ServerTlsPolicyMtlsPolicyClientValidationCa{empty: true}

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

func (*ServerTlsPolicyMtlsPolicyClientValidationCa) Empty

func (*ServerTlsPolicyMtlsPolicyClientValidationCa) HashCode

func (*ServerTlsPolicyMtlsPolicyClientValidationCa) String

func (*ServerTlsPolicyMtlsPolicyClientValidationCa) UnmarshalJSON

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

type ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance

type ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance struct {
	PluginInstance *string `json:"pluginInstance"`
	// contains filtered or unexported fields
}
var EmptyServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance *ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance = &ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance{empty: true}

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

func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) Empty

func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) HashCode

func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) String

func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) UnmarshalJSON

type ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint

type ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint struct {
	TargetUri *string `json:"targetUri"`
	// contains filtered or unexported fields
}
var EmptyServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint *ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint = &ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint{empty: true}

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

func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) Empty

func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) HashCode

func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) String

func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) UnmarshalJSON

type ServerTlsPolicyServerCertificate

type ServerTlsPolicyServerCertificate struct {
	GrpcEndpoint                *ServerTlsPolicyServerCertificateGrpcEndpoint                `json:"grpcEndpoint"`
	CertificateProviderInstance *ServerTlsPolicyServerCertificateCertificateProviderInstance `json:"certificateProviderInstance"`
	// contains filtered or unexported fields
}
var EmptyServerTlsPolicyServerCertificate *ServerTlsPolicyServerCertificate = &ServerTlsPolicyServerCertificate{empty: true}

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

func (*ServerTlsPolicyServerCertificate) Empty

func (*ServerTlsPolicyServerCertificate) HashCode

func (*ServerTlsPolicyServerCertificate) String

func (*ServerTlsPolicyServerCertificate) UnmarshalJSON

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

type ServerTlsPolicyServerCertificateCertificateProviderInstance

type ServerTlsPolicyServerCertificateCertificateProviderInstance struct {
	PluginInstance *string `json:"pluginInstance"`
	// contains filtered or unexported fields
}
var EmptyServerTlsPolicyServerCertificateCertificateProviderInstance *ServerTlsPolicyServerCertificateCertificateProviderInstance = &ServerTlsPolicyServerCertificateCertificateProviderInstance{empty: true}

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

func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) Empty

func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) HashCode

func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) String

func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) UnmarshalJSON

type ServerTlsPolicyServerCertificateGrpcEndpoint

type ServerTlsPolicyServerCertificateGrpcEndpoint struct {
	TargetUri *string `json:"targetUri"`
	// contains filtered or unexported fields
}
var EmptyServerTlsPolicyServerCertificateGrpcEndpoint *ServerTlsPolicyServerCertificateGrpcEndpoint = &ServerTlsPolicyServerCertificateGrpcEndpoint{empty: true}

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

func (*ServerTlsPolicyServerCertificateGrpcEndpoint) Empty

func (*ServerTlsPolicyServerCertificateGrpcEndpoint) HashCode

func (*ServerTlsPolicyServerCertificateGrpcEndpoint) String

func (*ServerTlsPolicyServerCertificateGrpcEndpoint) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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