alpha

package
v1.84.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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

View Source
const CryptoKeyMaxPage = -1
View Source
const EkmConnectionMaxPage = -1
View Source
const KeyRingMaxPage = -1

Variables

View Source
var YAML_crypto_key []byte
View Source
var YAML_ekm_connection []byte
View Source
var YAML_key_ring []byte

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

Jump to

Keyboard shortcuts

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