Documentation
¶
Overview ¶
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package alpha defines operations in the declarative SDK.
Copyright 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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
- Variables
- func DCLCryptoKeySchema() *dcl.Schema
- func DCLEkmConnectionSchema() *dcl.Schema
- func DCLKeyRingSchema() *dcl.Schema
- type Client
- func (c *Client) ApplyCryptoKey(ctx context.Context, rawDesired *CryptoKey, opts ...dcl.ApplyOption) (*CryptoKey, error)
- func (c *Client) ApplyEkmConnection(ctx context.Context, rawDesired *EkmConnection, opts ...dcl.ApplyOption) (*EkmConnection, error)
- func (c *Client) ApplyKeyRing(ctx context.Context, rawDesired *KeyRing, opts ...dcl.ApplyOption) (*KeyRing, error)
- func (c *Client) GetCryptoKey(ctx context.Context, r *CryptoKey) (*CryptoKey, error)
- func (c *Client) GetEkmConnection(ctx context.Context, r *EkmConnection) (*EkmConnection, error)
- func (c *Client) GetKeyRing(ctx context.Context, r *KeyRing) (*KeyRing, error)
- func (c *Client) ListCryptoKey(ctx context.Context, project, location, keyRing string) (*CryptoKeyList, error)
- func (c *Client) ListCryptoKeyWithMaxResults(ctx context.Context, project, location, keyRing string, pageSize int32) (*CryptoKeyList, error)
- func (c *Client) ListEkmConnection(ctx context.Context, project, location string) (*EkmConnectionList, error)
- func (c *Client) ListEkmConnectionWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*EkmConnectionList, error)
- func (c *Client) ListKeyRing(ctx context.Context, project, location string) (*KeyRingList, error)
- func (c *Client) ListKeyRingWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*KeyRingList, error)
- type CryptoKey
- func (r *CryptoKey) Describe() dcl.ServiceTypeVersion
- func (r *CryptoKey) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *CryptoKey) IAMPolicyVersion() int
- func (r *CryptoKey) ID() (string, error)
- func (r *CryptoKey) SetPolicyURL(userBasePath string) string
- func (r *CryptoKey) SetPolicyVerb() string
- func (r *CryptoKey) String() string
- type CryptoKeyList
- type CryptoKeyPrimary
- type CryptoKeyPrimaryAlgorithmEnum
- type CryptoKeyPrimaryAttestation
- type CryptoKeyPrimaryAttestationCertChains
- type CryptoKeyPrimaryAttestationFormatEnum
- type CryptoKeyPrimaryExternalProtectionLevelOptions
- func (r *CryptoKeyPrimaryExternalProtectionLevelOptions) Empty() bool
- func (r *CryptoKeyPrimaryExternalProtectionLevelOptions) HashCode() string
- func (r *CryptoKeyPrimaryExternalProtectionLevelOptions) String() string
- func (r *CryptoKeyPrimaryExternalProtectionLevelOptions) UnmarshalJSON(data []byte) error
- type CryptoKeyPrimaryProtectionLevelEnum
- type CryptoKeyPrimaryStateEnum
- type CryptoKeyPurposeEnum
- type CryptoKeyVersionTemplate
- type CryptoKeyVersionTemplateAlgorithmEnum
- type CryptoKeyVersionTemplateProtectionLevelEnum
- type EkmConnection
- func (r *EkmConnection) Describe() dcl.ServiceTypeVersion
- func (r *EkmConnection) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *EkmConnection) IAMPolicyVersion() int
- func (r *EkmConnection) ID() (string, error)
- func (r *EkmConnection) SetPolicyURL(userBasePath string) string
- func (r *EkmConnection) SetPolicyVerb() string
- func (r *EkmConnection) String() string
- type EkmConnectionList
- type EkmConnectionServiceResolvers
- type EkmConnectionServiceResolversServerCertificates
- func (r *EkmConnectionServiceResolversServerCertificates) Empty() bool
- func (r *EkmConnectionServiceResolversServerCertificates) HashCode() string
- func (r *EkmConnectionServiceResolversServerCertificates) String() string
- func (r *EkmConnectionServiceResolversServerCertificates) UnmarshalJSON(data []byte) error
- type KeyRing
- type KeyRingList
Constants ¶
const CryptoKeyMaxPage = -1
const EkmConnectionMaxPage = -1
const KeyRingMaxPage = -1
Variables ¶
var YAML_crypto_key []byte
var YAML_ekm_connection []byte
var YAML_key_ring []byte
Functions ¶
func DCLCryptoKeySchema ¶ added in v1.10.3
func DCLEkmConnectionSchema ¶ added in v1.10.3
func DCLKeyRingSchema ¶ added in v1.10.3
Types ¶
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) ApplyCryptoKey ¶
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 (*Client) GetCryptoKey ¶
func (*Client) GetEkmConnection ¶ added in v1.9.0
func (c *Client) GetEkmConnection(ctx context.Context, r *EkmConnection) (*EkmConnection, error)
func (*Client) GetKeyRing ¶
func (*Client) ListCryptoKey ¶
func (*Client) ListCryptoKeyWithMaxResults ¶
func (*Client) ListEkmConnection ¶ added in v1.9.0
func (*Client) ListEkmConnectionWithMaxResults ¶ added in v1.9.0
func (*Client) ListKeyRing ¶
func (*Client) ListKeyRingWithMaxResults ¶
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) IAMPolicyVersion ¶ added in v1.4.0
func (*CryptoKey) SetPolicyURL ¶ added in v1.4.0
func (*CryptoKey) SetPolicyVerb ¶ added in v1.4.0
type CryptoKeyList ¶
type CryptoKeyList struct {
Items []*CryptoKey
// contains filtered or unexported fields
}
func (*CryptoKeyList) HasNext ¶
func (l *CryptoKeyList) HasNext() bool
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 (r *CryptoKeyPrimaryAttestationCertChains) Empty() bool
func (*CryptoKeyPrimaryAttestationCertChains) HashCode ¶
func (r *CryptoKeyPrimaryAttestationCertChains) HashCode() string
func (*CryptoKeyPrimaryAttestationCertChains) String ¶
func (r *CryptoKeyPrimaryAttestationCertChains) String() 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 ¶
func (v CryptoKeyPrimaryAttestationFormatEnum) Validate() error
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 (r *CryptoKeyPrimaryExternalProtectionLevelOptions) Empty() bool
func (*CryptoKeyPrimaryExternalProtectionLevelOptions) HashCode ¶
func (r *CryptoKeyPrimaryExternalProtectionLevelOptions) HashCode() string
func (*CryptoKeyPrimaryExternalProtectionLevelOptions) String ¶
func (r *CryptoKeyPrimaryExternalProtectionLevelOptions) String() string
func (*CryptoKeyPrimaryExternalProtectionLevelOptions) UnmarshalJSON ¶
func (r *CryptoKeyPrimaryExternalProtectionLevelOptions) UnmarshalJSON(data []byte) error
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 ¶
func (v CryptoKeyPrimaryProtectionLevelEnum) Validate() error
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 ¶
func (v CryptoKeyVersionTemplateAlgorithmEnum) Validate() error
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 ¶
func (v CryptoKeyVersionTemplateProtectionLevelEnum) Validate() error
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) 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
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 (r *EkmConnectionServiceResolvers) Empty() bool
func (*EkmConnectionServiceResolvers) HashCode ¶ added in v1.9.0
func (r *EkmConnectionServiceResolvers) HashCode() string
func (*EkmConnectionServiceResolvers) String ¶ added in v1.9.0
func (r *EkmConnectionServiceResolvers) String() string
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 (r *EkmConnectionServiceResolversServerCertificates) Empty() bool
func (*EkmConnectionServiceResolversServerCertificates) HashCode ¶ added in v1.9.0
func (r *EkmConnectionServiceResolversServerCertificates) HashCode() string
func (*EkmConnectionServiceResolversServerCertificates) String ¶ added in v1.9.0
func (r *EkmConnectionServiceResolversServerCertificates) String() string
func (*EkmConnectionServiceResolversServerCertificates) UnmarshalJSON ¶ added in v1.9.0
func (r *EkmConnectionServiceResolversServerCertificates) UnmarshalJSON(data []byte) error
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.
type KeyRingList ¶
type KeyRingList struct {
Items []*KeyRing
// contains filtered or unexported fields
}
func (*KeyRingList) HasNext ¶
func (l *KeyRingList) HasNext() bool