cloudkms

package
v1.59.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Copyright 2023 Google LLC. All Rights Reserved.

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

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

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

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 CryptoKeyMaxPage = -1
View Source
const EkmConnectionMaxPage = -1
View Source
const KeyRingMaxPage = -1

Variables

View Source
var YAML_crypto_key = []byte("info:\n  title: Cloudkms/CryptoKey\n  description: The Cloudkms CryptoKey resource\n  x-dcl-struct-name: CryptoKey\n  x-dcl-has-iam: true\npaths:\n  get:\n    description: The function used to get information about a CryptoKey\n    parameters:\n    - name: cryptoKey\n      required: true\n      description: A full instance of a CryptoKey\n  apply:\n    description: The function used to apply information about a CryptoKey\n    parameters:\n    - name: cryptoKey\n      required: true\n      description: A full instance of a CryptoKey\n  list:\n    description: The function used to list information about many CryptoKey\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    - name: keyRing\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    CryptoKey:\n      title: CryptoKey\n      x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{key_ring}}/cryptoKeys/{{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      - purpose\n      - project\n      - location\n      - keyRing\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The time at which this CryptoKey was created.\n          x-kubernetes-immutable: true\n        destroyScheduledDuration:\n          type: string\n          x-dcl-go-name: DestroyScheduledDuration\n          description: Immutable. The period of time that versions of this key spend\n            in the DESTROY_SCHEDULED state before transitioning to DESTROYED. If not\n            specified at creation time, the default duration is 24 hours.\n          x-kubernetes-immutable: true\n          x-dcl-server-default: true\n        importOnly:\n          type: boolean\n          x-dcl-go-name: ImportOnly\n          description: Immutable. Whether this key may contain imported versions only.\n          x-kubernetes-immutable: true\n        keyRing:\n          type: string\n          x-dcl-go-name: KeyRing\n          description: The key ring for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudkms/KeyRing\n            field: name\n            parent: true\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Labels with user-defined metadata. For more information, see\n            [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys).\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: The resource name for this CryptoKey in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n          x-kubernetes-immutable: true\n        nextRotationTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: NextRotationTime\n          description: 'At next_rotation_time, the Key Management Service will automatically:\n            1. Create a new version of this CryptoKey. 2. Mark the new version as\n            primary. Key rotations performed manually via CreateCryptoKeyVersion and\n            UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with\n            purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this\n            field must be omitted.'\n        primary:\n          type: object\n          x-dcl-go-name: Primary\n          x-dcl-go-type: CryptoKeyPrimary\n          readOnly: true\n          description: Output only. A copy of the \"primary\" CryptoKeyVersion that\n            will be used by Encrypt when this CryptoKey is given in EncryptRequest.name.\n            The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion.\n            Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys,\n            this field will be omitted.\n          properties:\n            algorithm:\n              type: string\n              x-dcl-go-name: Algorithm\n              x-dcl-go-type: CryptoKeyPrimaryAlgorithmEnum\n              readOnly: true\n              description: 'Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion\n                supports. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n                GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n                RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n                RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n                RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n                RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n                EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n              x-kubernetes-immutable: true\n              enum:\n              - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n              - GOOGLE_SYMMETRIC_ENCRYPTION\n              - RSA_SIGN_PSS_2048_SHA256\n              - RSA_SIGN_PSS_3072_SHA256\n              - RSA_SIGN_PSS_4096_SHA256\n              - RSA_SIGN_PSS_4096_SHA512\n              - RSA_SIGN_PKCS1_2048_SHA256\n              - RSA_SIGN_PKCS1_3072_SHA256\n              - RSA_SIGN_PKCS1_4096_SHA256\n              - RSA_SIGN_PKCS1_4096_SHA512\n              - RSA_DECRYPT_OAEP_2048_SHA256\n              - RSA_DECRYPT_OAEP_3072_SHA256\n              - RSA_DECRYPT_OAEP_4096_SHA256\n              - RSA_DECRYPT_OAEP_4096_SHA512\n              - EC_SIGN_P256_SHA256\n              - EC_SIGN_P384_SHA384\n              - EC_SIGN_SECP256K1_SHA256\n              - HMAC_SHA256\n              - EXTERNAL_SYMMETRIC_ENCRYPTION\n            attestation:\n              type: object\n              x-dcl-go-name: Attestation\n              x-dcl-go-type: CryptoKeyPrimaryAttestation\n              readOnly: true\n              description: Output only. Statement that was generated and signed by\n                the HSM at key creation time. Use this statement to verify attributes\n                of the key as stored on the HSM, independently of Google. Only provided\n                for key versions with protection_level HSM.\n              properties:\n                certChains:\n                  type: object\n                  x-dcl-go-name: CertChains\n                  x-dcl-go-type: CryptoKeyPrimaryAttestationCertChains\n                  readOnly: true\n                  description: Output only. The certificate chains needed to validate\n                    the attestation\n                  properties:\n                    caviumCerts:\n                      type: array\n                      x-dcl-go-name: CaviumCerts\n                      description: Cavium certificate chain corresponding to the attestation.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: string\n                    googleCardCerts:\n                      type: array\n                      x-dcl-go-name: GoogleCardCerts\n                      description: Google card certificate chain corresponding to\n                        the attestation.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: string\n                    googlePartitionCerts:\n                      type: array\n                      x-dcl-go-name: GooglePartitionCerts\n                      description: Google partition certificate chain corresponding\n                        to the attestation.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: string\n                content:\n                  type: string\n                  x-dcl-go-name: Content\n                  readOnly: true\n                  description: Output only. The attestation data provided by the HSM\n                    when the key operation was performed.\n                  x-kubernetes-immutable: true\n                format:\n                  type: string\n                  x-dcl-go-name: Format\n                  x-dcl-go-type: CryptoKeyPrimaryAttestationFormatEnum\n                  readOnly: true\n                  description: 'Output only. The format of the attestation data. Possible\n                    values: ATTESTATION_FORMAT_UNSPECIFIED, CAVIUM_V1_COMPRESSED,\n                    CAVIUM_V2_COMPRESSED'\n                  x-kubernetes-immutable: true\n                  enum:\n                  - ATTESTATION_FORMAT_UNSPECIFIED\n                  - CAVIUM_V1_COMPRESSED\n                  - CAVIUM_V2_COMPRESSED\n            createTime:\n              type: string\n              format: date-time\n              x-dcl-go-name: CreateTime\n              readOnly: true\n              description: Output only. The time at which this CryptoKeyVersion was\n                created.\n              x-kubernetes-immutable: true\n            destroyEventTime:\n              type: string\n              format: date-time\n              x-dcl-go-name: DestroyEventTime\n              readOnly: true\n              description: Output only. The time this CryptoKeyVersion's key material\n                was destroyed. Only present if state is DESTROYED.\n              x-kubernetes-immutable: true\n            destroyTime:\n              type: string\n              format: date-time\n              x-dcl-go-name: DestroyTime\n              readOnly: true\n              description: Output only. The time this CryptoKeyVersion's key material\n                is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.\n              x-kubernetes-immutable: true\n            externalProtectionLevelOptions:\n              type: object\n              x-dcl-go-name: ExternalProtectionLevelOptions\n              x-dcl-go-type: CryptoKeyPrimaryExternalProtectionLevelOptions\n              description: ExternalProtectionLevelOptions stores a group of additional\n                fields for configuring a CryptoKeyVersion that are specific to the\n                EXTERNAL protection level.\n              properties:\n                externalKeyUri:\n                  type: string\n                  x-dcl-go-name: ExternalKeyUri\n                  description: The URI for an external resource that this CryptoKeyVersion\n                    represents.\n            generateTime:\n              type: string\n              format: date-time\n              x-dcl-go-name: GenerateTime\n              readOnly: true\n              description: Output only. The time this CryptoKeyVersion's key material\n                was generated.\n              x-kubernetes-immutable: true\n            importFailureReason:\n              type: string\n              x-dcl-go-name: ImportFailureReason\n              readOnly: true\n              description: Output only. The root cause of the most recent import failure.\n                Only present if state is IMPORT_FAILED.\n              x-kubernetes-immutable: true\n            importJob:\n              type: string\n              x-dcl-go-name: ImportJob\n              readOnly: true\n              description: Output only. The name of the ImportJob used in the most\n                recent import of this CryptoKeyVersion. Only present if the underlying\n                key material was imported.\n              x-kubernetes-immutable: true\n            importTime:\n              type: string\n              format: date-time\n              x-dcl-go-name: ImportTime\n              readOnly: true\n              description: Output only. The time at which this CryptoKeyVersion's\n                key material was most recently imported.\n              x-kubernetes-immutable: true\n            name:\n              type: string\n              x-dcl-go-name: Name\n              description: Output only. The resource name for this CryptoKeyVersion\n                in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.\n              x-kubernetes-immutable: true\n              x-dcl-server-generated-parameter: true\n            protectionLevel:\n              type: string\n              x-dcl-go-name: ProtectionLevel\n              x-dcl-go-type: CryptoKeyPrimaryProtectionLevelEnum\n              readOnly: true\n              description: 'Output only. The ProtectionLevel describing how crypto\n                operations are performed with this CryptoKeyVersion. Possible values:\n                PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n              x-kubernetes-immutable: true\n              enum:\n              - PROTECTION_LEVEL_UNSPECIFIED\n              - SOFTWARE\n              - HSM\n              - EXTERNAL\n              - EXTERNAL_VPC\n            reimportEligible:\n              type: boolean\n              x-dcl-go-name: ReimportEligible\n              readOnly: true\n              description: Output only. Whether or not this key version is eligible\n                for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version.\n              x-kubernetes-immutable: true\n            state:\n              type: string\n              x-dcl-go-name: State\n              x-dcl-go-type: CryptoKeyPrimaryStateEnum\n              description: 'The current state of the CryptoKeyVersion. Possible values:\n                CRYPTO_KEY_VERSION_STATE_UNSPECIFIED, PENDING_GENERATION, ENABLED,\n                DISABLED, DESTROYED, DESTROY_SCHEDULED, PENDING_IMPORT, IMPORT_FAILED'\n              enum:\n              - CRYPTO_KEY_VERSION_STATE_UNSPECIFIED\n              - PENDING_GENERATION\n              - ENABLED\n              - DISABLED\n              - DESTROYED\n              - DESTROY_SCHEDULED\n              - PENDING_IMPORT\n              - IMPORT_FAILED\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        purpose:\n          type: string\n          x-dcl-go-name: Purpose\n          x-dcl-go-type: CryptoKeyPurposeEnum\n          description: 'Immutable. The immutable purpose of this CryptoKey. Possible\n            values: CRYPTO_KEY_PURPOSE_UNSPECIFIED, ENCRYPT_DECRYPT, ASYMMETRIC_SIGN,\n            ASYMMETRIC_DECRYPT, MAC'\n          x-kubernetes-immutable: true\n          enum:\n          - CRYPTO_KEY_PURPOSE_UNSPECIFIED\n          - ENCRYPT_DECRYPT\n          - ASYMMETRIC_SIGN\n          - ASYMMETRIC_DECRYPT\n          - MAC\n        rotationPeriod:\n          type: string\n          x-dcl-go-name: RotationPeriod\n          description: next_rotation_time will be advanced by this period when the\n            service automatically rotates a key. Must be at least 24 hours and at\n            most 876,000 hours. If rotation_period is set, next_rotation_time must\n            also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation.\n            For other keys, this field must be omitted.\n        versionTemplate:\n          type: object\n          x-dcl-go-name: VersionTemplate\n          x-dcl-go-type: CryptoKeyVersionTemplate\n          description: A template describing settings for new CryptoKeyVersion instances.\n            The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion\n            or auto-rotation are controlled by this template.\n          x-dcl-server-default: true\n          required:\n          - algorithm\n          properties:\n            algorithm:\n              type: string\n              x-dcl-go-name: Algorithm\n              x-dcl-go-type: CryptoKeyVersionTemplateAlgorithmEnum\n              description: 'Required. Algorithm to use when creating a CryptoKeyVersion\n                based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION\n                is implied if both this field is omitted and CryptoKey.purpose is\n                ENCRYPT_DECRYPT. Possible values: CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED,\n                GOOGLE_SYMMETRIC_ENCRYPTION, RSA_SIGN_PSS_2048_SHA256, RSA_SIGN_PSS_3072_SHA256,\n                RSA_SIGN_PSS_4096_SHA256, RSA_SIGN_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256,\n                RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512,\n                RSA_DECRYPT_OAEP_2048_SHA256, RSA_DECRYPT_OAEP_3072_SHA256, RSA_DECRYPT_OAEP_4096_SHA256,\n                RSA_DECRYPT_OAEP_4096_SHA512, EC_SIGN_P256_SHA256, EC_SIGN_P384_SHA384,\n                EC_SIGN_SECP256K1_SHA256, HMAC_SHA256, EXTERNAL_SYMMETRIC_ENCRYPTION'\n              enum:\n              - CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED\n              - GOOGLE_SYMMETRIC_ENCRYPTION\n              - RSA_SIGN_PSS_2048_SHA256\n              - RSA_SIGN_PSS_3072_SHA256\n              - RSA_SIGN_PSS_4096_SHA256\n              - RSA_SIGN_PSS_4096_SHA512\n              - RSA_SIGN_PKCS1_2048_SHA256\n              - RSA_SIGN_PKCS1_3072_SHA256\n              - RSA_SIGN_PKCS1_4096_SHA256\n              - RSA_SIGN_PKCS1_4096_SHA512\n              - RSA_DECRYPT_OAEP_2048_SHA256\n              - RSA_DECRYPT_OAEP_3072_SHA256\n              - RSA_DECRYPT_OAEP_4096_SHA256\n              - RSA_DECRYPT_OAEP_4096_SHA512\n              - EC_SIGN_P256_SHA256\n              - EC_SIGN_P384_SHA384\n              - EC_SIGN_SECP256K1_SHA256\n              - HMAC_SHA256\n              - EXTERNAL_SYMMETRIC_ENCRYPTION\n            protectionLevel:\n              type: string\n              x-dcl-go-name: ProtectionLevel\n              x-dcl-go-type: CryptoKeyVersionTemplateProtectionLevelEnum\n              description: 'ProtectionLevel to use when creating a CryptoKeyVersion\n                based on this template. Immutable. Defaults to SOFTWARE. Possible\n                values: PROTECTION_LEVEL_UNSPECIFIED, SOFTWARE, HSM, EXTERNAL, EXTERNAL_VPC'\n              x-kubernetes-immutable: true\n              x-dcl-server-default: true\n              enum:\n              - PROTECTION_LEVEL_UNSPECIFIED\n              - SOFTWARE\n              - HSM\n              - EXTERNAL\n              - EXTERNAL_VPC\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/crypto_key.yaml

View Source
var YAML_ekm_connection = []byte("info:\n  title: Cloudkms/EkmConnection\n  description: The Cloudkms EkmConnection resource\n  x-dcl-struct-name: EkmConnection\n  x-dcl-has-iam: true\npaths:\n  get:\n    description: The function used to get information about a EkmConnection\n    parameters:\n    - name: ekmConnection\n      required: true\n      description: A full instance of a EkmConnection\n  apply:\n    description: The function used to apply information about a EkmConnection\n    parameters:\n    - name: ekmConnection\n      required: true\n      description: A full instance of a EkmConnection\n  list:\n    description: The function used to list information about many EkmConnection\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    EkmConnection:\n      title: EkmConnection\n      x-dcl-id: projects/{{project}}/locations/{{location}}/ekmConnections/{{name}}\n      x-dcl-parent-container: project\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      - serviceResolvers\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The time at which the EkmConnection was created.\n          x-kubernetes-immutable: true\n        etag:\n          type: string\n          x-dcl-go-name: Etag\n          readOnly: true\n          description: Optional. This checksum is computed by the server based on\n            the value of other fields, and may be sent on update requests to ensure\n            the client has an up-to-date value before proceeding.\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: The resource name for the EkmConnection in the format `projects/*/locations/*/ekmConnections/*`.\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        serviceResolvers:\n          type: array\n          x-dcl-go-name: ServiceResolvers\n          description: A list of ServiceResolvers where the EKM can be reached. There\n            should be one ServiceResolver per EKM replica. Currently, only a single\n            ServiceResolver is supported.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: EkmConnectionServiceResolvers\n            required:\n            - serviceDirectoryService\n            - hostname\n            - serverCertificates\n            properties:\n              endpointFilter:\n                type: string\n                x-dcl-go-name: EndpointFilter\n                description: Optional. The filter applied to the endpoints of the\n                  resolved service. If no filter is specified, all endpoints will\n                  be considered. An endpoint will be chosen arbitrarily from the filtered\n                  list for each request. For endpoint filter syntax and examples,\n                  see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.\n              hostname:\n                type: string\n                x-dcl-go-name: Hostname\n                description: Required. The hostname of the EKM replica used at TLS\n                  and HTTP layers.\n              serverCertificates:\n                type: array\n                x-dcl-go-name: ServerCertificates\n                description: Required. A list of leaf server certificates used to\n                  authenticate HTTPS connections to the EKM replica. Currently, a\n                  maximum of 10 Certificate is supported.\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: EkmConnectionServiceResolversServerCertificates\n                  required:\n                  - rawDer\n                  properties:\n                    issuer:\n                      type: string\n                      x-dcl-go-name: Issuer\n                      readOnly: true\n                      description: Output only. The issuer distinguished name in RFC\n                        2253 format. Only present if parsed is true.\n                    notAfterTime:\n                      type: string\n                      format: date-time\n                      x-dcl-go-name: NotAfterTime\n                      readOnly: true\n                      description: Output only. The certificate is not valid after\n                        this time. Only present if parsed is true.\n                    notBeforeTime:\n                      type: string\n                      format: date-time\n                      x-dcl-go-name: NotBeforeTime\n                      readOnly: true\n                      description: Output only. The certificate is not valid before\n                        this time. Only present if parsed is true.\n                    parsed:\n                      type: boolean\n                      x-dcl-go-name: Parsed\n                      readOnly: true\n                      description: Output only. True if the certificate was parsed\n                        successfully.\n                    rawDer:\n                      type: string\n                      x-dcl-go-name: RawDer\n                      description: Required. The raw certificate bytes in DER format.\n                    serialNumber:\n                      type: string\n                      x-dcl-go-name: SerialNumber\n                      readOnly: true\n                      description: Output only. The certificate serial number as a\n                        hex string. Only present if parsed is true.\n                    sha256Fingerprint:\n                      type: string\n                      x-dcl-go-name: Sha256Fingerprint\n                      readOnly: true\n                      description: Output only. The SHA-256 certificate fingerprint\n                        as a hex string. Only present if parsed is true.\n                    subject:\n                      type: string\n                      x-dcl-go-name: Subject\n                      readOnly: true\n                      description: Output only. The subject distinguished name in\n                        RFC 2253 format. Only present if parsed is true.\n                    subjectAlternativeDnsNames:\n                      type: array\n                      x-dcl-go-name: SubjectAlternativeDnsNames\n                      readOnly: true\n                      description: Output only. The subject Alternative DNS names.\n                        Only present if parsed is true.\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: string\n              serviceDirectoryService:\n                type: string\n                x-dcl-go-name: ServiceDirectoryService\n                description: Required. The resource name of the Service Directory\n                  service pointing to an EKM replica, in the format `projects/*/locations/*/namespaces/*/services/*`.\n                x-dcl-references:\n                - resource: Servicedirectory/Service\n                  field: name\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/ekm_connection.yaml

View Source
var YAML_key_ring = []byte("info:\n  title: Cloudkms/KeyRing\n  description: The Cloudkms KeyRing resource\n  x-dcl-struct-name: KeyRing\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a KeyRing\n    parameters:\n    - name: keyRing\n      required: true\n      description: A full instance of a KeyRing\n  apply:\n    description: The function used to apply information about a KeyRing\n    parameters:\n    - name: keyRing\n      required: true\n      description: A full instance of a KeyRing\n  list:\n    description: The function used to list information about many KeyRing\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    KeyRing:\n      title: KeyRing\n      x-dcl-id: projects/{{project}}/locations/{{location}}/keyRings/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The time at which this KeyRing was created.\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: The resource name for the KeyRing in the format `projects/*/locations/*/keyRings/*`.\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")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/cloudkms/key_ring.yaml

Functions

func DCLCryptoKeySchema added in v1.10.3

func DCLCryptoKeySchema() *dcl.Schema

func DCLEkmConnectionSchema added in v1.10.3

func DCLEkmConnectionSchema() *dcl.Schema

func DCLKeyRingSchema added in v1.10.3

func DCLKeyRingSchema() *dcl.Schema

Types

type Client

type Client struct {
	Config *dcl.Config
}

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

func NewClient

func NewClient(c *dcl.Config) *Client

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

func (*Client) ApplyCryptoKey

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

func (*Client) ApplyEkmConnection added in v1.9.0

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

func (*Client) ApplyKeyRing

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

func (*Client) GetCryptoKey

func (c *Client) GetCryptoKey(ctx context.Context, r *CryptoKey) (*CryptoKey, error)

func (*Client) GetEkmConnection added in v1.9.0

func (c *Client) GetEkmConnection(ctx context.Context, r *EkmConnection) (*EkmConnection, error)

func (*Client) GetKeyRing

func (c *Client) GetKeyRing(ctx context.Context, r *KeyRing) (*KeyRing, error)

func (*Client) ListCryptoKey

func (c *Client) ListCryptoKey(ctx context.Context, project, location, keyRing string) (*CryptoKeyList, error)

func (*Client) ListCryptoKeyWithMaxResults

func (c *Client) ListCryptoKeyWithMaxResults(ctx context.Context, project, location, keyRing string, pageSize int32) (*CryptoKeyList, error)

func (*Client) ListEkmConnection added in v1.9.0

func (c *Client) ListEkmConnection(ctx context.Context, project, location string) (*EkmConnectionList, error)

func (*Client) ListEkmConnectionWithMaxResults added in v1.9.0

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

func (*Client) ListKeyRing

func (c *Client) ListKeyRing(ctx context.Context, project, location string) (*KeyRingList, error)

func (*Client) ListKeyRingWithMaxResults

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

type CryptoKey

type CryptoKey struct {
	Name                     *string                   `json:"name"`
	Primary                  *CryptoKeyPrimary         `json:"primary"`
	Purpose                  *CryptoKeyPurposeEnum     `json:"purpose"`
	CreateTime               *string                   `json:"createTime"`
	NextRotationTime         *string                   `json:"nextRotationTime"`
	RotationPeriod           *string                   `json:"rotationPeriod"`
	VersionTemplate          *CryptoKeyVersionTemplate `json:"versionTemplate"`
	Labels                   map[string]string         `json:"labels"`
	ImportOnly               *bool                     `json:"importOnly"`
	DestroyScheduledDuration *string                   `json:"destroyScheduledDuration"`
	Project                  *string                   `json:"project"`
	Location                 *string                   `json:"location"`
	KeyRing                  *string                   `json:"keyRing"`
}

func (*CryptoKey) Describe

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

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

func (*CryptoKey) GetPolicy added in v1.4.0

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

func (*CryptoKey) IAMPolicyVersion added in v1.4.0

func (r *CryptoKey) IAMPolicyVersion() int

func (*CryptoKey) ID

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

func (*CryptoKey) SetPolicyURL added in v1.4.0

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

func (*CryptoKey) SetPolicyVerb added in v1.4.0

func (r *CryptoKey) SetPolicyVerb() string

func (*CryptoKey) String

func (r *CryptoKey) String() string

type CryptoKeyList

type CryptoKeyList struct {
	Items []*CryptoKey
	// contains filtered or unexported fields
}

func (*CryptoKeyList) HasNext

func (l *CryptoKeyList) HasNext() bool

func (*CryptoKeyList) Next

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

type CryptoKeyPrimary

type CryptoKeyPrimary struct {
	Name                           *string                                         `json:"name"`
	State                          *CryptoKeyPrimaryStateEnum                      `json:"state"`
	ProtectionLevel                *CryptoKeyPrimaryProtectionLevelEnum            `json:"protectionLevel"`
	Algorithm                      *CryptoKeyPrimaryAlgorithmEnum                  `json:"algorithm"`
	Attestation                    *CryptoKeyPrimaryAttestation                    `json:"attestation"`
	CreateTime                     *string                                         `json:"createTime"`
	GenerateTime                   *string                                         `json:"generateTime"`
	DestroyTime                    *string                                         `json:"destroyTime"`
	DestroyEventTime               *string                                         `json:"destroyEventTime"`
	ImportJob                      *string                                         `json:"importJob"`
	ImportTime                     *string                                         `json:"importTime"`
	ImportFailureReason            *string                                         `json:"importFailureReason"`
	ExternalProtectionLevelOptions *CryptoKeyPrimaryExternalProtectionLevelOptions `json:"externalProtectionLevelOptions"`
	ReimportEligible               *bool                                           `json:"reimportEligible"`
	// contains filtered or unexported fields
}
var EmptyCryptoKeyPrimary *CryptoKeyPrimary = &CryptoKeyPrimary{empty: true}

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

func (*CryptoKeyPrimary) Empty

func (r *CryptoKeyPrimary) Empty() bool

func (*CryptoKeyPrimary) HashCode

func (r *CryptoKeyPrimary) HashCode() string

func (*CryptoKeyPrimary) String

func (r *CryptoKeyPrimary) String() string

func (*CryptoKeyPrimary) UnmarshalJSON

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

type CryptoKeyPrimaryAlgorithmEnum

type CryptoKeyPrimaryAlgorithmEnum string

The enum CryptoKeyPrimaryAlgorithmEnum.

func CryptoKeyPrimaryAlgorithmEnumRef

func CryptoKeyPrimaryAlgorithmEnumRef(s string) *CryptoKeyPrimaryAlgorithmEnum

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

func (CryptoKeyPrimaryAlgorithmEnum) Validate

func (v CryptoKeyPrimaryAlgorithmEnum) Validate() error

type CryptoKeyPrimaryAttestation

type CryptoKeyPrimaryAttestation struct {
	Format     *CryptoKeyPrimaryAttestationFormatEnum `json:"format"`
	Content    *string                                `json:"content"`
	CertChains *CryptoKeyPrimaryAttestationCertChains `json:"certChains"`
	// contains filtered or unexported fields
}
var EmptyCryptoKeyPrimaryAttestation *CryptoKeyPrimaryAttestation = &CryptoKeyPrimaryAttestation{empty: true}

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

func (*CryptoKeyPrimaryAttestation) Empty

func (r *CryptoKeyPrimaryAttestation) Empty() bool

func (*CryptoKeyPrimaryAttestation) HashCode

func (r *CryptoKeyPrimaryAttestation) HashCode() string

func (*CryptoKeyPrimaryAttestation) String

func (r *CryptoKeyPrimaryAttestation) String() string

func (*CryptoKeyPrimaryAttestation) UnmarshalJSON

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

type CryptoKeyPrimaryAttestationCertChains

type CryptoKeyPrimaryAttestationCertChains struct {
	CaviumCerts          []string `json:"caviumCerts"`
	GoogleCardCerts      []string `json:"googleCardCerts"`
	GooglePartitionCerts []string `json:"googlePartitionCerts"`
	// contains filtered or unexported fields
}
var EmptyCryptoKeyPrimaryAttestationCertChains *CryptoKeyPrimaryAttestationCertChains = &CryptoKeyPrimaryAttestationCertChains{empty: true}

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

func (*CryptoKeyPrimaryAttestationCertChains) Empty

func (*CryptoKeyPrimaryAttestationCertChains) HashCode

func (*CryptoKeyPrimaryAttestationCertChains) String

func (*CryptoKeyPrimaryAttestationCertChains) UnmarshalJSON

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

type CryptoKeyPrimaryAttestationFormatEnum

type CryptoKeyPrimaryAttestationFormatEnum string

The enum CryptoKeyPrimaryAttestationFormatEnum.

func CryptoKeyPrimaryAttestationFormatEnumRef

func CryptoKeyPrimaryAttestationFormatEnumRef(s string) *CryptoKeyPrimaryAttestationFormatEnum

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

func (CryptoKeyPrimaryAttestationFormatEnum) Validate

type CryptoKeyPrimaryExternalProtectionLevelOptions

type CryptoKeyPrimaryExternalProtectionLevelOptions struct {
	ExternalKeyUri *string `json:"externalKeyUri"`
	// contains filtered or unexported fields
}
var EmptyCryptoKeyPrimaryExternalProtectionLevelOptions *CryptoKeyPrimaryExternalProtectionLevelOptions = &CryptoKeyPrimaryExternalProtectionLevelOptions{empty: true}

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

func (*CryptoKeyPrimaryExternalProtectionLevelOptions) Empty

func (*CryptoKeyPrimaryExternalProtectionLevelOptions) HashCode

func (*CryptoKeyPrimaryExternalProtectionLevelOptions) String

func (*CryptoKeyPrimaryExternalProtectionLevelOptions) UnmarshalJSON

type CryptoKeyPrimaryProtectionLevelEnum

type CryptoKeyPrimaryProtectionLevelEnum string

The enum CryptoKeyPrimaryProtectionLevelEnum.

func CryptoKeyPrimaryProtectionLevelEnumRef

func CryptoKeyPrimaryProtectionLevelEnumRef(s string) *CryptoKeyPrimaryProtectionLevelEnum

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

func (CryptoKeyPrimaryProtectionLevelEnum) Validate

type CryptoKeyPrimaryStateEnum

type CryptoKeyPrimaryStateEnum string

The enum CryptoKeyPrimaryStateEnum.

func CryptoKeyPrimaryStateEnumRef

func CryptoKeyPrimaryStateEnumRef(s string) *CryptoKeyPrimaryStateEnum

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

func (CryptoKeyPrimaryStateEnum) Validate

func (v CryptoKeyPrimaryStateEnum) Validate() error

type CryptoKeyPurposeEnum

type CryptoKeyPurposeEnum string

The enum CryptoKeyPurposeEnum.

func CryptoKeyPurposeEnumRef

func CryptoKeyPurposeEnumRef(s string) *CryptoKeyPurposeEnum

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

func (CryptoKeyPurposeEnum) Validate

func (v CryptoKeyPurposeEnum) Validate() error

type CryptoKeyVersionTemplate

type CryptoKeyVersionTemplate struct {
	ProtectionLevel *CryptoKeyVersionTemplateProtectionLevelEnum `json:"protectionLevel"`
	Algorithm       *CryptoKeyVersionTemplateAlgorithmEnum       `json:"algorithm"`
	// contains filtered or unexported fields
}
var EmptyCryptoKeyVersionTemplate *CryptoKeyVersionTemplate = &CryptoKeyVersionTemplate{empty: true}

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

func (*CryptoKeyVersionTemplate) Empty

func (r *CryptoKeyVersionTemplate) Empty() bool

func (*CryptoKeyVersionTemplate) HashCode

func (r *CryptoKeyVersionTemplate) HashCode() string

func (*CryptoKeyVersionTemplate) String

func (r *CryptoKeyVersionTemplate) String() string

func (*CryptoKeyVersionTemplate) UnmarshalJSON

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

type CryptoKeyVersionTemplateAlgorithmEnum

type CryptoKeyVersionTemplateAlgorithmEnum string

The enum CryptoKeyVersionTemplateAlgorithmEnum.

func CryptoKeyVersionTemplateAlgorithmEnumRef

func CryptoKeyVersionTemplateAlgorithmEnumRef(s string) *CryptoKeyVersionTemplateAlgorithmEnum

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

func (CryptoKeyVersionTemplateAlgorithmEnum) Validate

type CryptoKeyVersionTemplateProtectionLevelEnum

type CryptoKeyVersionTemplateProtectionLevelEnum string

The enum CryptoKeyVersionTemplateProtectionLevelEnum.

func CryptoKeyVersionTemplateProtectionLevelEnumRef

func CryptoKeyVersionTemplateProtectionLevelEnumRef(s string) *CryptoKeyVersionTemplateProtectionLevelEnum

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

func (CryptoKeyVersionTemplateProtectionLevelEnum) Validate

type EkmConnection added in v1.9.0

type EkmConnection struct {
	Name             *string                         `json:"name"`
	CreateTime       *string                         `json:"createTime"`
	ServiceResolvers []EkmConnectionServiceResolvers `json:"serviceResolvers"`
	Etag             *string                         `json:"etag"`
	Project          *string                         `json:"project"`
	Location         *string                         `json:"location"`
}

func (*EkmConnection) Describe added in v1.9.0

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

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

func (*EkmConnection) GetPolicy added in v1.9.0

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

func (*EkmConnection) IAMPolicyVersion added in v1.9.0

func (r *EkmConnection) IAMPolicyVersion() int

func (*EkmConnection) ID added in v1.9.0

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

func (*EkmConnection) SetPolicyURL added in v1.9.0

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

func (*EkmConnection) SetPolicyVerb added in v1.9.0

func (r *EkmConnection) SetPolicyVerb() string

func (*EkmConnection) String added in v1.9.0

func (r *EkmConnection) String() string

type EkmConnectionList added in v1.9.0

type EkmConnectionList struct {
	Items []*EkmConnection
	// contains filtered or unexported fields
}

func (*EkmConnectionList) HasNext added in v1.9.0

func (l *EkmConnectionList) HasNext() bool

func (*EkmConnectionList) Next added in v1.9.0

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

type EkmConnectionServiceResolvers added in v1.9.0

type EkmConnectionServiceResolvers struct {
	ServiceDirectoryService *string                                           `json:"serviceDirectoryService"`
	EndpointFilter          *string                                           `json:"endpointFilter"`
	Hostname                *string                                           `json:"hostname"`
	ServerCertificates      []EkmConnectionServiceResolversServerCertificates `json:"serverCertificates"`
	// contains filtered or unexported fields
}
var EmptyEkmConnectionServiceResolvers *EkmConnectionServiceResolvers = &EkmConnectionServiceResolvers{empty: true}

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

func (*EkmConnectionServiceResolvers) Empty added in v1.9.0

func (*EkmConnectionServiceResolvers) HashCode added in v1.9.0

func (r *EkmConnectionServiceResolvers) HashCode() string

func (*EkmConnectionServiceResolvers) String added in v1.9.0

func (*EkmConnectionServiceResolvers) UnmarshalJSON added in v1.9.0

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

type EkmConnectionServiceResolversServerCertificates added in v1.9.0

type EkmConnectionServiceResolversServerCertificates struct {
	RawDer                     *string  `json:"rawDer"`
	Parsed                     *bool    `json:"parsed"`
	Issuer                     *string  `json:"issuer"`
	Subject                    *string  `json:"subject"`
	SubjectAlternativeDnsNames []string `json:"subjectAlternativeDnsNames"`
	NotBeforeTime              *string  `json:"notBeforeTime"`
	NotAfterTime               *string  `json:"notAfterTime"`
	SerialNumber               *string  `json:"serialNumber"`
	Sha256Fingerprint          *string  `json:"sha256Fingerprint"`
	// contains filtered or unexported fields
}
var EmptyEkmConnectionServiceResolversServerCertificates *EkmConnectionServiceResolversServerCertificates = &EkmConnectionServiceResolversServerCertificates{empty: true}

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

func (*EkmConnectionServiceResolversServerCertificates) Empty added in v1.9.0

func (*EkmConnectionServiceResolversServerCertificates) HashCode added in v1.9.0

func (*EkmConnectionServiceResolversServerCertificates) String added in v1.9.0

func (*EkmConnectionServiceResolversServerCertificates) UnmarshalJSON added in v1.9.0

type KeyRing

type KeyRing struct {
	Name       *string `json:"name"`
	CreateTime *string `json:"createTime"`
	Project    *string `json:"project"`
	Location   *string `json:"location"`
}

func (*KeyRing) Describe

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

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

func (*KeyRing) ID

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

func (*KeyRing) String

func (r *KeyRing) String() string

type KeyRingList

type KeyRingList struct {
	Items []*KeyRing
	// contains filtered or unexported fields
}

func (*KeyRingList) HasNext

func (l *KeyRingList) HasNext() bool

func (*KeyRingList) Next

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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