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: 12 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.

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. 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.

Index

Constants

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

Variables

View Source
var YAML_address_group []byte
View Source
var YAML_authorization_policy []byte
View Source
var YAML_client_tls_policy []byte
View Source
var YAML_server_tls_policy []byte

Functions

func DCLAddressGroupSchema added in v1.39.0

func DCLAddressGroupSchema() *dcl.Schema

func DCLAuthorizationPolicySchema added in v1.10.3

func DCLAuthorizationPolicySchema() *dcl.Schema

func DCLClientTlsPolicySchema added in v1.10.3

func DCLClientTlsPolicySchema() *dcl.Schema

func DCLServerTlsPolicySchema added in v1.10.3

func DCLServerTlsPolicySchema() *dcl.Schema

Types

type AddressGroup added in v1.39.0

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

func (*AddressGroup) Describe added in v1.39.0

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

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

func (*AddressGroup) ID added in v1.39.0

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

func (*AddressGroup) String added in v1.39.0

func (r *AddressGroup) String() string

type AddressGroupList added in v1.39.0

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

func (*AddressGroupList) HasNext added in v1.39.0

func (l *AddressGroupList) HasNext() bool

func (*AddressGroupList) Next added in v1.39.0

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

type AddressGroupTypeEnum added in v1.39.0

type AddressGroupTypeEnum string

The enum AddressGroupTypeEnum.

func AddressGroupTypeEnumRef added in v1.39.0

func AddressGroupTypeEnumRef(s string) *AddressGroupTypeEnum

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

func (AddressGroupTypeEnum) Validate added in v1.39.0

func (v AddressGroupTypeEnum) Validate() error

type AuthorizationPolicy

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

func (*AuthorizationPolicy) Describe

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

func (*AuthorizationPolicy) GetPolicy

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

func (*AuthorizationPolicy) IAMPolicyVersion

func (r *AuthorizationPolicy) IAMPolicyVersion() int

func (*AuthorizationPolicy) ID

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

func (*AuthorizationPolicy) SetPolicyURL

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

func (*AuthorizationPolicy) SetPolicyVerb

func (r *AuthorizationPolicy) SetPolicyVerb() string

func (*AuthorizationPolicy) String

func (r *AuthorizationPolicy) String() string

type AuthorizationPolicyActionEnum

type AuthorizationPolicyActionEnum string

The enum AuthorizationPolicyActionEnum.

func AuthorizationPolicyActionEnumRef

func AuthorizationPolicyActionEnumRef(s string) *AuthorizationPolicyActionEnum

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

func (AuthorizationPolicyActionEnum) Validate

func (v AuthorizationPolicyActionEnum) Validate() error

type AuthorizationPolicyList

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

func (*AuthorizationPolicyList) HasNext

func (l *AuthorizationPolicyList) HasNext() bool

func (*AuthorizationPolicyList) Next

type AuthorizationPolicyRules

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

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

func (*AuthorizationPolicyRules) Empty

func (r *AuthorizationPolicyRules) Empty() bool

func (*AuthorizationPolicyRules) HashCode

func (r *AuthorizationPolicyRules) HashCode() string

func (*AuthorizationPolicyRules) String

func (r *AuthorizationPolicyRules) String() string

func (*AuthorizationPolicyRules) UnmarshalJSON

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

type AuthorizationPolicyRulesDestinations

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

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

func (*AuthorizationPolicyRulesDestinations) Empty

func (*AuthorizationPolicyRulesDestinations) HashCode

func (*AuthorizationPolicyRulesDestinations) String

func (*AuthorizationPolicyRulesDestinations) UnmarshalJSON

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

type AuthorizationPolicyRulesDestinationsHttpHeaderMatch

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

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

func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) Empty

func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) HashCode

func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) String

func (*AuthorizationPolicyRulesDestinationsHttpHeaderMatch) UnmarshalJSON

type AuthorizationPolicyRulesSources

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

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

func (*AuthorizationPolicyRulesSources) Empty

func (*AuthorizationPolicyRulesSources) HashCode

func (*AuthorizationPolicyRulesSources) String

func (*AuthorizationPolicyRulesSources) UnmarshalJSON

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

type Client

type Client struct {
	Config *dcl.Config
}

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

func NewClient

func NewClient(c *dcl.Config) *Client

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

func (*Client) ApplyAddressGroup added in v1.39.0

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

func (*Client) ApplyAuthorizationPolicy

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

func (*Client) ApplyClientTlsPolicy

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

func (*Client) ApplyServerTlsPolicy

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

func (*Client) DeleteAddressGroup added in v1.39.0

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

func (*Client) DeleteAllAddressGroup added in v1.39.0

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

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

func (*Client) DeleteAllAuthorizationPolicy

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

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

func (*Client) DeleteAllClientTlsPolicy

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

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

func (*Client) DeleteAllServerTlsPolicy

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

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

func (*Client) DeleteAuthorizationPolicy

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

func (*Client) DeleteClientTlsPolicy

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

func (*Client) DeleteServerTlsPolicy

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

func (*Client) GetAddressGroup added in v1.39.0

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

func (*Client) GetAuthorizationPolicy

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

func (*Client) GetClientTlsPolicy

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

func (*Client) GetServerTlsPolicy

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

func (*Client) ListAddressGroup added in v1.39.0

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

func (*Client) ListAddressGroupWithMaxResults added in v1.39.0

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

func (*Client) ListAuthorizationPolicy

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

func (*Client) ListAuthorizationPolicyWithMaxResults

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

func (*Client) ListClientTlsPolicy

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

func (*Client) ListClientTlsPolicyWithMaxResults

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

func (*Client) ListServerTlsPolicy

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

func (*Client) ListServerTlsPolicyWithMaxResults

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

type ClientTlsPolicy

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

func (*ClientTlsPolicy) Describe

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

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

func (*ClientTlsPolicy) GetPolicy

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

func (*ClientTlsPolicy) IAMPolicyVersion

func (r *ClientTlsPolicy) IAMPolicyVersion() int

func (*ClientTlsPolicy) ID

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

func (*ClientTlsPolicy) SetPolicyURL

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

func (*ClientTlsPolicy) SetPolicyVerb

func (r *ClientTlsPolicy) SetPolicyVerb() string

func (*ClientTlsPolicy) String

func (r *ClientTlsPolicy) String() string

type ClientTlsPolicyClientCertificate

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

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

func (*ClientTlsPolicyClientCertificate) Empty

func (*ClientTlsPolicyClientCertificate) HashCode

func (*ClientTlsPolicyClientCertificate) String

func (*ClientTlsPolicyClientCertificate) UnmarshalJSON

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

type ClientTlsPolicyClientCertificateCertificateProviderInstance

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

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

func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) Empty

func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) HashCode

func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) String

func (*ClientTlsPolicyClientCertificateCertificateProviderInstance) UnmarshalJSON

type ClientTlsPolicyClientCertificateGrpcEndpoint

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

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

func (*ClientTlsPolicyClientCertificateGrpcEndpoint) Empty

func (*ClientTlsPolicyClientCertificateGrpcEndpoint) HashCode

func (*ClientTlsPolicyClientCertificateGrpcEndpoint) String

func (*ClientTlsPolicyClientCertificateGrpcEndpoint) UnmarshalJSON

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

type ClientTlsPolicyClientCertificateLocalFilepath

type ClientTlsPolicyClientCertificateLocalFilepath struct {
	CertificatePath *string `json:"certificatePath"`
	PrivateKeyPath  *string `json:"privateKeyPath"`
	// contains filtered or unexported fields
}
var EmptyClientTlsPolicyClientCertificateLocalFilepath *ClientTlsPolicyClientCertificateLocalFilepath = &ClientTlsPolicyClientCertificateLocalFilepath{empty: true}

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

func (*ClientTlsPolicyClientCertificateLocalFilepath) Empty

func (*ClientTlsPolicyClientCertificateLocalFilepath) HashCode

func (*ClientTlsPolicyClientCertificateLocalFilepath) String

func (*ClientTlsPolicyClientCertificateLocalFilepath) UnmarshalJSON

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

type ClientTlsPolicyList

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

func (*ClientTlsPolicyList) HasNext

func (l *ClientTlsPolicyList) HasNext() bool

func (*ClientTlsPolicyList) Next

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

type ClientTlsPolicyServerValidationCa

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

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

func (*ClientTlsPolicyServerValidationCa) Empty

func (*ClientTlsPolicyServerValidationCa) HashCode

func (*ClientTlsPolicyServerValidationCa) String

func (*ClientTlsPolicyServerValidationCa) UnmarshalJSON

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

type ClientTlsPolicyServerValidationCaCertificateProviderInstance

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

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

func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) Empty

func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) HashCode

func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) String

func (*ClientTlsPolicyServerValidationCaCertificateProviderInstance) UnmarshalJSON

type ClientTlsPolicyServerValidationCaGrpcEndpoint

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

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

func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) Empty

func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) HashCode

func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) String

func (*ClientTlsPolicyServerValidationCaGrpcEndpoint) UnmarshalJSON

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

type ServerTlsPolicy

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

func (*ServerTlsPolicy) Describe

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

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

func (*ServerTlsPolicy) GetPolicy

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

func (*ServerTlsPolicy) IAMPolicyVersion

func (r *ServerTlsPolicy) IAMPolicyVersion() int

func (*ServerTlsPolicy) ID

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

func (*ServerTlsPolicy) SetPolicyURL

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

func (*ServerTlsPolicy) SetPolicyVerb

func (r *ServerTlsPolicy) SetPolicyVerb() string

func (*ServerTlsPolicy) String

func (r *ServerTlsPolicy) String() string

type ServerTlsPolicyList

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

func (*ServerTlsPolicyList) HasNext

func (l *ServerTlsPolicyList) HasNext() bool

func (*ServerTlsPolicyList) Next

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

type ServerTlsPolicyMtlsPolicy

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

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

func (*ServerTlsPolicyMtlsPolicy) Empty

func (r *ServerTlsPolicyMtlsPolicy) Empty() bool

func (*ServerTlsPolicyMtlsPolicy) HashCode

func (r *ServerTlsPolicyMtlsPolicy) HashCode() string

func (*ServerTlsPolicyMtlsPolicy) String

func (r *ServerTlsPolicyMtlsPolicy) String() string

func (*ServerTlsPolicyMtlsPolicy) UnmarshalJSON

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

type ServerTlsPolicyMtlsPolicyClientValidationCa

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

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

func (*ServerTlsPolicyMtlsPolicyClientValidationCa) Empty

func (*ServerTlsPolicyMtlsPolicyClientValidationCa) HashCode

func (*ServerTlsPolicyMtlsPolicyClientValidationCa) String

func (*ServerTlsPolicyMtlsPolicyClientValidationCa) UnmarshalJSON

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

type ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance

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

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

func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) Empty

func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) HashCode

func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) String

func (*ServerTlsPolicyMtlsPolicyClientValidationCaCertificateProviderInstance) UnmarshalJSON

type ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint

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

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

func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) Empty

func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) HashCode

func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) String

func (*ServerTlsPolicyMtlsPolicyClientValidationCaGrpcEndpoint) UnmarshalJSON

type ServerTlsPolicyServerCertificate

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

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

func (*ServerTlsPolicyServerCertificate) Empty

func (*ServerTlsPolicyServerCertificate) HashCode

func (*ServerTlsPolicyServerCertificate) String

func (*ServerTlsPolicyServerCertificate) UnmarshalJSON

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

type ServerTlsPolicyServerCertificateCertificateProviderInstance

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

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

func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) Empty

func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) HashCode

func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) String

func (*ServerTlsPolicyServerCertificateCertificateProviderInstance) UnmarshalJSON

type ServerTlsPolicyServerCertificateGrpcEndpoint

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

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

func (*ServerTlsPolicyServerCertificateGrpcEndpoint) Empty

func (*ServerTlsPolicyServerCertificateGrpcEndpoint) HashCode

func (*ServerTlsPolicyServerCertificateGrpcEndpoint) String

func (*ServerTlsPolicyServerCertificateGrpcEndpoint) UnmarshalJSON

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

type ServerTlsPolicyServerCertificateLocalFilepath

type ServerTlsPolicyServerCertificateLocalFilepath struct {
	CertificatePath *string `json:"certificatePath"`
	PrivateKeyPath  *string `json:"privateKeyPath"`
	// contains filtered or unexported fields
}
var EmptyServerTlsPolicyServerCertificateLocalFilepath *ServerTlsPolicyServerCertificateLocalFilepath = &ServerTlsPolicyServerCertificateLocalFilepath{empty: true}

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

func (*ServerTlsPolicyServerCertificateLocalFilepath) Empty

func (*ServerTlsPolicyServerCertificateLocalFilepath) HashCode

func (*ServerTlsPolicyServerCertificateLocalFilepath) String

func (*ServerTlsPolicyServerCertificateLocalFilepath) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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