certificatemanager

package
v0.197.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package certificatemanager provides access to the Certificate Manager API.

For product documentation, see: https://cloud.google.com/certificate-manager

Library status

These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.

When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.

Creating a client

Usage example:

import "google.golang.org/api/certificatemanager/v1"
...
ctx := context.Background()
certificatemanagerService, err := certificatemanager.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:

certificatemanagerService, err := certificatemanager.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
certificatemanagerService, err := certificatemanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See google.golang.org/api/option.ClientOption for details on options.

Index

Constants

View Source
const (
	// See, edit, configure, and delete your Google Cloud data and see the email
	// address for your Google Account.
	CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
)

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowlistedCertificate added in v0.172.0

type AllowlistedCertificate struct {
	// PemCertificate: Required. PEM certificate that is allowlisted. The
	// certificate can be up to 5k bytes, and must be a parseable X.509
	// certificate.
	PemCertificate string `json:"pemCertificate,omitempty"`
	// ForceSendFields is a list of field names (e.g. "PemCertificate") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "PemCertificate") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

AllowlistedCertificate: Defines an allowlisted certificate.

func (AllowlistedCertificate) MarshalJSON added in v0.172.0

func (s AllowlistedCertificate) MarshalJSON() ([]byte, error)

type AuthorizationAttemptInfo

type AuthorizationAttemptInfo struct {
	// Details: Output only. Human readable explanation for reaching the state.
	// Provided to help address the configuration issues. Not guaranteed to be
	// stable. For programmatic access use FailureReason enum.
	Details string `json:"details,omitempty"`
	// Domain: Output only. Domain name of the authorization attempt.
	Domain string `json:"domain,omitempty"`
	// FailureReason: Output only. Reason for failure of the authorization attempt
	// for the domain.
	//
	// Possible values:
	//   "FAILURE_REASON_UNSPECIFIED" - FailureReason is unspecified.
	//   "CONFIG" - There was a problem with the user's DNS or load balancer
	// configuration for this domain.
	//   "CAA" - Certificate issuance forbidden by an explicit CAA record for the
	// domain or a failure to check CAA records for the domain.
	//   "RATE_LIMITED" - Reached a CA or internal rate-limit for the domain, e.g.
	// for certificates per top-level private domain.
	FailureReason string `json:"failureReason,omitempty"`
	// State: Output only. State of the domain for managed certificate issuance.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - State is unspecified.
	//   "AUTHORIZING" - Certificate provisioning for this domain is under way.
	// Google Cloud will attempt to authorize the domain.
	//   "AUTHORIZED" - A managed certificate can be provisioned, no issues for
	// this domain.
	//   "FAILED" - Attempt to authorize the domain failed. This prevents the
	// Managed Certificate from being issued. See `failure_reason` and `details`
	// fields for more information.
	State string `json:"state,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Details") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Details") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

AuthorizationAttemptInfo: State of the latest attempt to authorize a domain for certificate issuance.

func (AuthorizationAttemptInfo) MarshalJSON

func (s AuthorizationAttemptInfo) MarshalJSON() ([]byte, error)

type CancelOperationRequest

type CancelOperationRequest struct {
}

CancelOperationRequest: The request message for Operations.CancelOperation.

type Certificate

type Certificate struct {
	// CreateTime: Output only. The creation timestamp of a Certificate.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. One or more paragraphs of text description of a
	// certificate.
	Description string `json:"description,omitempty"`
	// ExpireTime: Output only. The expiry timestamp of a Certificate.
	ExpireTime string `json:"expireTime,omitempty"`
	// Labels: Optional. Set of labels associated with a Certificate.
	Labels map[string]string `json:"labels,omitempty"`
	// Managed: If set, contains configuration and state of a managed certificate.
	Managed *ManagedCertificate `json:"managed,omitempty"`
	// Name: Identifier. A user-defined name of the certificate. Certificate names
	// must be unique globally and match pattern
	// `projects/*/locations/*/certificates/*`.
	Name string `json:"name,omitempty"`
	// PemCertificate: Output only. The PEM-encoded certificate chain.
	PemCertificate string `json:"pemCertificate,omitempty"`
	// SanDnsnames: Output only. The list of Subject Alternative Names of dnsName
	// type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates
	// that haven't been provisioned yet have this field populated with a value of
	// the managed.domains field.
	SanDnsnames []string `json:"sanDnsnames,omitempty"`
	// Scope: Optional. Immutable. The scope of the certificate.
	//
	// Possible values:
	//   "DEFAULT" - Certificates with default scope are served from core Google
	// data centers. If unsure, choose this option.
	//   "EDGE_CACHE" - Certificates with scope EDGE_CACHE are special-purposed
	// certificates, served from Edge Points of Presence. See
	// https://cloud.google.com/vpc/docs/edge-locations.
	//   "ALL_REGIONS" - Certificates with ALL_REGIONS scope are served from all
	// Google Cloud regions. See
	// https://cloud.google.com/compute/docs/regions-zones.
	Scope string `json:"scope,omitempty"`
	// SelfManaged: If set, defines data of a self-managed certificate.
	SelfManaged *SelfManagedCertificate `json:"selfManaged,omitempty"`
	// UpdateTime: Output only. The last update timestamp of a Certificate.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CreateTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Certificate: Defines TLS certificate.

func (Certificate) MarshalJSON

func (s Certificate) MarshalJSON() ([]byte, error)

type CertificateAuthorityConfig added in v0.100.0

type CertificateAuthorityConfig struct {
	// CertificateAuthorityServiceConfig: Defines a
	// CertificateAuthorityServiceConfig.
	CertificateAuthorityServiceConfig *CertificateAuthorityServiceConfig `json:"certificateAuthorityServiceConfig,omitempty"`
	// ForceSendFields is a list of field names (e.g.
	// "CertificateAuthorityServiceConfig") to unconditionally include in API
	// requests. By default, fields with empty or default values are omitted from
	// API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g.
	// "CertificateAuthorityServiceConfig") to include in API requests with the
	// JSON null value. By default, fields with empty values are omitted from API
	// requests. See https://pkg.go.dev/google.golang.org/api#hdr-NullFields for
	// more details.
	NullFields []string `json:"-"`
}

CertificateAuthorityConfig: The CA that issues the workload certificate. It includes CA address, type, authentication to CA service, etc.

func (CertificateAuthorityConfig) MarshalJSON added in v0.100.0

func (s CertificateAuthorityConfig) MarshalJSON() ([]byte, error)

type CertificateAuthorityServiceConfig added in v0.100.0

type CertificateAuthorityServiceConfig struct {
	// CaPool: Required. A CA pool resource used to issue a certificate. The CA
	// pool string has a relative resource path following the form
	// "projects/{project}/locations/{location}/caPools/{ca_pool}".
	CaPool string `json:"caPool,omitempty"`
	// ForceSendFields is a list of field names (e.g. "CaPool") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CaPool") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

CertificateAuthorityServiceConfig: Contains information required to contact CA service.

func (CertificateAuthorityServiceConfig) MarshalJSON added in v0.100.0

func (s CertificateAuthorityServiceConfig) MarshalJSON() ([]byte, error)

type CertificateIssuanceConfig added in v0.100.0

type CertificateIssuanceConfig struct {
	// CertificateAuthorityConfig: Required. The CA that issues the workload
	// certificate. It includes the CA address, type, authentication to CA service,
	// etc.
	CertificateAuthorityConfig *CertificateAuthorityConfig `json:"certificateAuthorityConfig,omitempty"`
	// CreateTime: Output only. The creation timestamp of a
	// CertificateIssuanceConfig.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. One or more paragraphs of text description of a
	// CertificateIssuanceConfig.
	Description string `json:"description,omitempty"`
	// KeyAlgorithm: Required. The key algorithm to use when generating the private
	// key.
	//
	// Possible values:
	//   "KEY_ALGORITHM_UNSPECIFIED" - Unspecified key algorithm.
	//   "RSA_2048" - Specifies RSA with a 2048-bit modulus.
	//   "ECDSA_P256" - Specifies ECDSA with curve P256.
	KeyAlgorithm string `json:"keyAlgorithm,omitempty"`
	// Labels: Optional. Set of labels associated with a CertificateIssuanceConfig.
	Labels map[string]string `json:"labels,omitempty"`
	// Lifetime: Required. Workload certificate lifetime requested.
	Lifetime string `json:"lifetime,omitempty"`
	// Name: Identifier. A user-defined name of the certificate issuance config.
	// CertificateIssuanceConfig names must be unique globally and match pattern
	// `projects/*/locations/*/certificateIssuanceConfigs/*`.
	Name string `json:"name,omitempty"`
	// RotationWindowPercentage: Required. Specifies the percentage of elapsed time
	// of the certificate lifetime to wait before renewing the certificate. Must be
	// a number between 1-99, inclusive.
	RotationWindowPercentage int64 `json:"rotationWindowPercentage,omitempty"`
	// UpdateTime: Output only. The last update timestamp of a
	// CertificateIssuanceConfig.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CertificateAuthorityConfig")
	// to unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CertificateAuthorityConfig") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

CertificateIssuanceConfig: CertificateIssuanceConfig specifies how to issue and manage a certificate.

func (CertificateIssuanceConfig) MarshalJSON added in v0.100.0

func (s CertificateIssuanceConfig) MarshalJSON() ([]byte, error)

type CertificateMap

type CertificateMap struct {
	// CreateTime: Output only. The creation timestamp of a Certificate Map.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. One or more paragraphs of text description of a
	// certificate map.
	Description string `json:"description,omitempty"`
	// GclbTargets: Output only. A list of GCLB targets that use this Certificate
	// Map. A Target Proxy is only present on this list if it's attached to a
	// Forwarding Rule.
	GclbTargets []*GclbTarget `json:"gclbTargets,omitempty"`
	// Labels: Optional. Set of labels associated with a Certificate Map.
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Identifier. A user-defined name of the Certificate Map. Certificate
	// Map names must be unique globally and match pattern
	// `projects/*/locations/*/certificateMaps/*`.
	Name string `json:"name,omitempty"`
	// UpdateTime: Output only. The update timestamp of a Certificate Map.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CreateTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

CertificateMap: Defines a collection of certificate configurations.

func (CertificateMap) MarshalJSON

func (s CertificateMap) MarshalJSON() ([]byte, error)

type CertificateMapEntry

type CertificateMapEntry struct {
	// Certificates: Optional. A set of Certificates defines for the given
	// `hostname`. There can be defined up to four certificates in each Certificate
	// Map Entry. Each certificate must match pattern
	// `projects/*/locations/*/certificates/*`.
	Certificates []string `json:"certificates,omitempty"`
	// CreateTime: Output only. The creation timestamp of a Certificate Map Entry.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. One or more paragraphs of text description of a
	// certificate map entry.
	Description string `json:"description,omitempty"`
	// Hostname: A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname
	// expression (`*.example.com`) for a set of hostnames with common suffix. Used
	// as Server Name Indication (SNI) for selecting a proper certificate.
	Hostname string `json:"hostname,omitempty"`
	// Labels: Optional. Set of labels associated with a Certificate Map Entry.
	Labels map[string]string `json:"labels,omitempty"`
	// Matcher: A predefined matcher for particular cases, other than SNI
	// selection.
	//
	// Possible values:
	//   "MATCHER_UNSPECIFIED" - A matcher has't been recognized.
	//   "PRIMARY" - A primary certificate that is served when SNI wasn't specified
	// in the request or SNI couldn't be found in the map.
	Matcher string `json:"matcher,omitempty"`
	// Name: Identifier. A user-defined name of the Certificate Map Entry.
	// Certificate Map Entry names must be unique globally and match pattern
	// `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
	Name string `json:"name,omitempty"`
	// State: Output only. A serving state of this Certificate Map Entry.
	//
	// Possible values:
	//   "SERVING_STATE_UNSPECIFIED" - The status is undefined.
	//   "ACTIVE" - The configuration is serving.
	//   "PENDING" - Update is in progress. Some frontends may serve this
	// configuration.
	State string `json:"state,omitempty"`
	// UpdateTime: Output only. The update timestamp of a Certificate Map Entry.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Certificates") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Certificates") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

CertificateMapEntry: Defines a certificate map entry.

func (CertificateMapEntry) MarshalJSON

func (s CertificateMapEntry) MarshalJSON() ([]byte, error)

type DnsAuthorization

type DnsAuthorization struct {
	// CreateTime: Output only. The creation timestamp of a DnsAuthorization.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. One or more paragraphs of text description of a
	// DnsAuthorization.
	Description string `json:"description,omitempty"`
	// DnsResourceRecord: Output only. DNS Resource Record that needs to be added
	// to DNS configuration.
	DnsResourceRecord *DnsResourceRecord `json:"dnsResourceRecord,omitempty"`
	// Domain: Required. Immutable. A domain that is being authorized. A
	// DnsAuthorization resource covers a single domain and its wildcard, e.g.
	// authorization for `example.com` can be used to issue certificates for
	// `example.com` and `*.example.com`.
	Domain string `json:"domain,omitempty"`
	// Labels: Optional. Set of labels associated with a DnsAuthorization.
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Identifier. A user-defined name of the dns authorization.
	// DnsAuthorization names must be unique globally and match pattern
	// `projects/*/locations/*/dnsAuthorizations/*`.
	Name string `json:"name,omitempty"`
	// Type: Optional. Immutable. Type of DnsAuthorization. If unset during
	// resource creation the following default will be used: - in location
	// `global`: FIXED_RECORD, - in other locations: PER_PROJECT_RECORD.
	//
	// Possible values:
	//   "TYPE_UNSPECIFIED" - Type is unspecified.
	//   "FIXED_RECORD" - FIXED_RECORD DNS authorization uses DNS-01 validation
	// method.
	//   "PER_PROJECT_RECORD" - PER_PROJECT_RECORD DNS authorization allows for
	// independent management of Google-managed certificates with DNS authorization
	// across multiple projects.
	Type string `json:"type,omitempty"`
	// UpdateTime: Output only. The last update timestamp of a DnsAuthorization.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CreateTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

DnsAuthorization: A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.

func (DnsAuthorization) MarshalJSON

func (s DnsAuthorization) MarshalJSON() ([]byte, error)

type DnsResourceRecord

type DnsResourceRecord struct {
	// Data: Output only. Data of the DNS Resource Record.
	Data string `json:"data,omitempty"`
	// Name: Output only. Fully qualified name of the DNS Resource Record. e.g.
	// `_acme-challenge.example.com`
	Name string `json:"name,omitempty"`
	// Type: Output only. Type of the DNS Resource Record. Currently always set to
	// "CNAME".
	Type string `json:"type,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Data") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Data") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

DnsResourceRecord: The structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate.

func (DnsResourceRecord) MarshalJSON

func (s DnsResourceRecord) MarshalJSON() ([]byte, error)

type Empty

type Empty struct {
	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
}

Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

type GclbTarget

type GclbTarget struct {
	// IpConfigs: Output only. IP configurations for this Target Proxy where the
	// Certificate Map is serving.
	IpConfigs []*IpConfig `json:"ipConfigs,omitempty"`
	// TargetHttpsProxy: Output only. This field returns the resource name in the
	// following format:
	// `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`.
	TargetHttpsProxy string `json:"targetHttpsProxy,omitempty"`
	// TargetSslProxy: Output only. This field returns the resource name in the
	// following format:
	// `//compute.googleapis.com/projects/*/global/targetSslProxies/*`.
	TargetSslProxy string `json:"targetSslProxy,omitempty"`
	// ForceSendFields is a list of field names (e.g. "IpConfigs") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "IpConfigs") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GclbTarget: Describes a Target Proxy that uses this Certificate Map.

func (GclbTarget) MarshalJSON

func (s GclbTarget) MarshalJSON() ([]byte, error)

type IntermediateCA added in v0.118.0

type IntermediateCA struct {
	// PemCertificate: PEM intermediate certificate used for building up paths for
	// validation. Each certificate provided in PEM format may occupy up to 5kB.
	PemCertificate string `json:"pemCertificate,omitempty"`
	// ForceSendFields is a list of field names (e.g. "PemCertificate") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "PemCertificate") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

IntermediateCA: Defines an intermediate CA.

func (IntermediateCA) MarshalJSON added in v0.118.0

func (s IntermediateCA) MarshalJSON() ([]byte, error)

type IpConfig

type IpConfig struct {
	// IpAddress: Output only. An external IP address.
	IpAddress string `json:"ipAddress,omitempty"`
	// Ports: Output only. Ports.
	Ports []int64 `json:"ports,omitempty"`
	// ForceSendFields is a list of field names (e.g. "IpAddress") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "IpAddress") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

IpConfig: Defines IP configuration where this Certificate Map is serving.

func (IpConfig) MarshalJSON

func (s IpConfig) MarshalJSON() ([]byte, error)

type ListCertificateIssuanceConfigsResponse added in v0.100.0

type ListCertificateIssuanceConfigsResponse struct {
	// CertificateIssuanceConfigs: A list of certificate configs for the parent
	// resource.
	CertificateIssuanceConfigs []*CertificateIssuanceConfig `json:"certificateIssuanceConfigs,omitempty"`
	// NextPageToken: If there might be more results than those appearing in this
	// response, then `next_page_token` is included. To get the next set of
	// results, call this method again using the value of `next_page_token` as
	// `page_token`.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CertificateIssuanceConfigs")
	// to unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CertificateIssuanceConfigs") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListCertificateIssuanceConfigsResponse: Response for the `ListCertificateIssuanceConfigs` method.

func (ListCertificateIssuanceConfigsResponse) MarshalJSON added in v0.100.0

func (s ListCertificateIssuanceConfigsResponse) MarshalJSON() ([]byte, error)

type ListCertificateMapEntriesResponse

type ListCertificateMapEntriesResponse struct {
	// CertificateMapEntries: A list of certificate map entries for the parent
	// resource.
	CertificateMapEntries []*CertificateMapEntry `json:"certificateMapEntries,omitempty"`
	// NextPageToken: If there might be more results than those appearing in this
	// response, then `next_page_token` is included. To get the next set of
	// results, call this method again using the value of `next_page_token` as
	// `page_token`.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CertificateMapEntries") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CertificateMapEntries") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListCertificateMapEntriesResponse: Response for the `ListCertificateMapEntries` method.

func (ListCertificateMapEntriesResponse) MarshalJSON

func (s ListCertificateMapEntriesResponse) MarshalJSON() ([]byte, error)

type ListCertificateMapsResponse

type ListCertificateMapsResponse struct {
	// CertificateMaps: A list of certificate maps for the parent resource.
	CertificateMaps []*CertificateMap `json:"certificateMaps,omitempty"`
	// NextPageToken: If there might be more results than those appearing in this
	// response, then `next_page_token` is included. To get the next set of
	// results, call this method again using the value of `next_page_token` as
	// `page_token`.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CertificateMaps") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CertificateMaps") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListCertificateMapsResponse: Response for the `ListCertificateMaps` method.

func (ListCertificateMapsResponse) MarshalJSON

func (s ListCertificateMapsResponse) MarshalJSON() ([]byte, error)

type ListCertificatesResponse

type ListCertificatesResponse struct {
	// Certificates: A list of certificates for the parent resource.
	Certificates []*Certificate `json:"certificates,omitempty"`
	// NextPageToken: If there might be more results than those appearing in this
	// response, then `next_page_token` is included. To get the next set of
	// results, call this method again using the value of `next_page_token` as
	// `page_token`.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Unreachable: A list of locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Certificates") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Certificates") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListCertificatesResponse: Response for the `ListCertificates` method.

func (ListCertificatesResponse) MarshalJSON

func (s ListCertificatesResponse) MarshalJSON() ([]byte, error)

type ListDnsAuthorizationsResponse

type ListDnsAuthorizationsResponse struct {
	// DnsAuthorizations: A list of dns authorizations for the parent resource.
	DnsAuthorizations []*DnsAuthorization `json:"dnsAuthorizations,omitempty"`
	// NextPageToken: If there might be more results than those appearing in this
	// response, then `next_page_token` is included. To get the next set of
	// results, call this method again using the value of `next_page_token` as
	// `page_token`.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "DnsAuthorizations") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DnsAuthorizations") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListDnsAuthorizationsResponse: Response for the `ListDnsAuthorizations` method.

func (ListDnsAuthorizationsResponse) MarshalJSON

func (s ListDnsAuthorizationsResponse) MarshalJSON() ([]byte, error)

type ListLocationsResponse

type ListLocationsResponse struct {
	// Locations: A list of locations that matches the specified filter in the
	// request.
	Locations []*Location `json:"locations,omitempty"`
	// NextPageToken: The standard List next-page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Locations") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Locations") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListLocationsResponse: The response message for Locations.ListLocations.

func (ListLocationsResponse) MarshalJSON

func (s ListLocationsResponse) MarshalJSON() ([]byte, error)

type ListOperationsResponse

type ListOperationsResponse struct {
	// NextPageToken: The standard List next-page token.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Operations: A list of operations that matches the specified filter in the
	// request.
	Operations []*Operation `json:"operations,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListOperationsResponse: The response message for Operations.ListOperations.

func (ListOperationsResponse) MarshalJSON

func (s ListOperationsResponse) MarshalJSON() ([]byte, error)

type ListTrustConfigsResponse added in v0.118.0

type ListTrustConfigsResponse struct {
	// NextPageToken: If there might be more results than those appearing in this
	// response, then `next_page_token` is included. To get the next set of
	// results, call this method again using the value of `next_page_token` as
	// `page_token`.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// TrustConfigs: A list of TrustConfigs for the parent resource.
	TrustConfigs []*TrustConfig `json:"trustConfigs,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListTrustConfigsResponse: Response for the `ListTrustConfigs` method.

func (ListTrustConfigsResponse) MarshalJSON added in v0.118.0

func (s ListTrustConfigsResponse) MarshalJSON() ([]byte, error)

type Location

type Location struct {
	// DisplayName: The friendly name for this location, typically a nearby city
	// name. For example, "Tokyo".
	DisplayName string `json:"displayName,omitempty"`
	// Labels: Cross-service attributes for the location. For example
	// {"cloud.googleapis.com/region": "us-east1"}
	Labels map[string]string `json:"labels,omitempty"`
	// LocationId: The canonical id for this location. For example: "us-east1".
	LocationId string `json:"locationId,omitempty"`
	// Metadata: Service-specific metadata. For example the available capacity at
	// the given location.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
	// Name: Resource name for the location, which may vary between
	// implementations. For example:
	// "projects/example-project/locations/us-east1"
	Name string `json:"name,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "DisplayName") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DisplayName") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Location: A resource that represents a Google Cloud location.

func (Location) MarshalJSON

func (s Location) MarshalJSON() ([]byte, error)

type ManagedCertificate

type ManagedCertificate struct {
	// AuthorizationAttemptInfo: Output only. Detailed state of the latest
	// authorization attempt for each domain specified for managed certificate
	// resource.
	AuthorizationAttemptInfo []*AuthorizationAttemptInfo `json:"authorizationAttemptInfo,omitempty"`
	// DnsAuthorizations: Optional. Immutable. Authorizations that will be used for
	// performing domain authorization.
	DnsAuthorizations []string `json:"dnsAuthorizations,omitempty"`
	// Domains: Optional. Immutable. The domains for which a managed SSL
	// certificate will be generated. Wildcard domains are only supported with DNS
	// challenge resolution.
	Domains []string `json:"domains,omitempty"`
	// IssuanceConfig: Optional. Immutable. The resource name for a
	// CertificateIssuanceConfig used to configure private PKI certificates in the
	// format `projects/*/locations/*/certificateIssuanceConfigs/*`. If this field
	// is not set, the certificates will instead be publicly signed as documented
	// at
	// https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
	IssuanceConfig string `json:"issuanceConfig,omitempty"`
	// ProvisioningIssue: Output only. Information about issues with provisioning a
	// Managed Certificate.
	ProvisioningIssue *ProvisioningIssue `json:"provisioningIssue,omitempty"`
	// State: Output only. State of the managed certificate resource.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - State is unspecified.
	//   "PROVISIONING" - Certificate Manager attempts to provision or renew the
	// certificate. If the process takes longer than expected, consult the
	// `provisioning_issue` field.
	//   "FAILED" - Multiple certificate provisioning attempts failed and
	// Certificate Manager gave up. To try again, delete and create a new managed
	// Certificate resource. For details see the `provisioning_issue` field.
	//   "ACTIVE" - The certificate management is working, and a certificate has
	// been provisioned.
	State string `json:"state,omitempty"`
	// ForceSendFields is a list of field names (e.g. "AuthorizationAttemptInfo")
	// to unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AuthorizationAttemptInfo") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ManagedCertificate: Configuration and state of a Managed Certificate. Certificate Manager provisions and renews Managed Certificates automatically, for as long as it's authorized to do so.

func (ManagedCertificate) MarshalJSON

func (s ManagedCertificate) MarshalJSON() ([]byte, error)

type Operation

type Operation struct {
	// Done: If the value is `false`, it means the operation is still in progress.
	// If `true`, the operation is completed, and either `error` or `response` is
	// available.
	Done bool `json:"done,omitempty"`
	// Error: The error result of the operation in case of failure or cancellation.
	Error *Status `json:"error,omitempty"`
	// Metadata: Service-specific metadata associated with the operation. It
	// typically contains progress information and common metadata such as create
	// time. Some services might not provide such metadata. Any method that returns
	// a long-running operation should document the metadata type, if any.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
	// Name: The server-assigned name, which is only unique within the same service
	// that originally returns it. If you use the default HTTP mapping, the `name`
	// should be a resource name ending with `operations/{unique_id}`.
	Name string `json:"name,omitempty"`
	// Response: The normal, successful response of the operation. If the original
	// method returns no data on success, such as `Delete`, the response is
	// `google.protobuf.Empty`. If the original method is standard
	// `Get`/`Create`/`Update`, the response should be the resource. For other
	// methods, the response should have the type `XxxResponse`, where `Xxx` is the
	// original method name. For example, if the original method name is
	// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
	Response googleapi.RawMessage `json:"response,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Done") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Done") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Operation: This resource represents a long-running operation that is the result of a network API call.

func (Operation) MarshalJSON

func (s Operation) MarshalJSON() ([]byte, error)

type OperationMetadata

type OperationMetadata struct {
	// ApiVersion: API version used to start the operation.
	ApiVersion string `json:"apiVersion,omitempty"`
	// CreateTime: The time the operation was created.
	CreateTime string `json:"createTime,omitempty"`
	// EndTime: The time the operation finished running.
	EndTime string `json:"endTime,omitempty"`
	// RequestedCancellation: Identifies whether the user has requested
	// cancellation of the operation. Operations that have successfully been
	// cancelled have Operation.error value with a google.rpc.Status.code of 1,
	// corresponding to `Code.CANCELLED`.
	RequestedCancellation bool `json:"requestedCancellation,omitempty"`
	// StatusMessage: Human-readable status of the operation, if any.
	StatusMessage string `json:"statusMessage,omitempty"`
	// Target: Server-defined resource path for the target of the operation.
	Target string `json:"target,omitempty"`
	// Verb: Name of the verb executed by the operation.
	Verb string `json:"verb,omitempty"`
	// ForceSendFields is a list of field names (e.g. "ApiVersion") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ApiVersion") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

OperationMetadata: Represents the metadata of the long-running operation. Output only.

func (OperationMetadata) MarshalJSON

func (s OperationMetadata) MarshalJSON() ([]byte, error)

type ProjectsLocationsCertificateIssuanceConfigsCreateCall added in v0.100.0

type ProjectsLocationsCertificateIssuanceConfigsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall) CertificateIssuanceConfigId added in v0.100.0

CertificateIssuanceConfigId sets the optional parameter "certificateIssuanceConfigId": Required. A user-provided name of the certificate config.

func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall) Do added in v0.100.0

Do executes the "certificatemanager.projects.locations.certificateIssuanceConfigs.create" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall) Fields added in v0.100.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall) Header added in v0.100.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsCertificateIssuanceConfigsDeleteCall added in v0.100.0

type ProjectsLocationsCertificateIssuanceConfigsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Do added in v0.100.0

Do executes the "certificatemanager.projects.locations.certificateIssuanceConfigs.delete" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Fields added in v0.100.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Header added in v0.100.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsCertificateIssuanceConfigsGetCall added in v0.100.0

type ProjectsLocationsCertificateIssuanceConfigsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateIssuanceConfigsGetCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateIssuanceConfigsGetCall) Do added in v0.100.0

Do executes the "certificatemanager.projects.locations.certificateIssuanceConfigs.get" call. Any non-2xx status code is an error. Response headers are in either *CertificateIssuanceConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateIssuanceConfigsGetCall) Fields added in v0.100.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateIssuanceConfigsGetCall) Header added in v0.100.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificateIssuanceConfigsGetCall) IfNoneMatch added in v0.100.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsCertificateIssuanceConfigsListCall added in v0.100.0

type ProjectsLocationsCertificateIssuanceConfigsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) Context added in v0.100.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) Do added in v0.100.0

Do executes the "certificatemanager.projects.locations.certificateIssuanceConfigs.list" call. Any non-2xx status code is an error. Response headers are in either *ListCertificateIssuanceConfigsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) Fields added in v0.100.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) Filter added in v0.100.0

Filter sets the optional parameter "filter": Filter expression to restrict the Certificates Configs returned.

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) Header added in v0.100.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) IfNoneMatch added in v0.100.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) OrderBy added in v0.100.0

OrderBy sets the optional parameter "orderBy": A list of Certificate Config field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix " desc".

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) PageSize added in v0.100.0

PageSize sets the optional parameter "pageSize": Maximum number of certificate configs to return per call.

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) PageToken added in v0.100.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListCertificateIssuanceConfigsResponse`. Indicates that this is a continuation of a prior `ListCertificateIssuanceConfigs` call, and that the system should return the next page of data.

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) Pages added in v0.100.0

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ProjectsLocationsCertificateIssuanceConfigsPatchCall added in v0.191.0

type ProjectsLocationsCertificateIssuanceConfigsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateIssuanceConfigsPatchCall) Context added in v0.191.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateIssuanceConfigsPatchCall) Do added in v0.191.0

Do executes the "certificatemanager.projects.locations.certificateIssuanceConfigs.patch" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateIssuanceConfigsPatchCall) Fields added in v0.191.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateIssuanceConfigsPatchCall) Header added in v0.191.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificateIssuanceConfigsPatchCall) UpdateMask added in v0.191.0

UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

type ProjectsLocationsCertificateIssuanceConfigsService added in v0.100.0

type ProjectsLocationsCertificateIssuanceConfigsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsCertificateIssuanceConfigsService added in v0.100.0

func NewProjectsLocationsCertificateIssuanceConfigsService(s *Service) *ProjectsLocationsCertificateIssuanceConfigsService

func (*ProjectsLocationsCertificateIssuanceConfigsService) Create added in v0.100.0

Create: Creates a new CertificateIssuanceConfig in a given project and location.

  • parent: The parent resource of the certificate issuance config. Must be in the format `projects/*/locations/*`.

func (*ProjectsLocationsCertificateIssuanceConfigsService) Delete added in v0.100.0

Delete: Deletes a single CertificateIssuanceConfig.

  • name: A name of the certificate issuance config to delete. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`.

func (*ProjectsLocationsCertificateIssuanceConfigsService) Get added in v0.100.0

Get: Gets details of a single CertificateIssuanceConfig.

  • name: A name of the certificate issuance config to describe. Must be in the format `projects/*/locations/*/certificateIssuanceConfigs/*`.

func (*ProjectsLocationsCertificateIssuanceConfigsService) List added in v0.100.0

List: Lists CertificateIssuanceConfigs in a given project and location.

  • parent: The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`.

func (*ProjectsLocationsCertificateIssuanceConfigsService) Patch added in v0.191.0

Patch: Updates a CertificateIssuanceConfig.

  • name: Identifier. A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.

type ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall

type ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) CertificateMapEntryId

CertificateMapEntryId sets the optional parameter "certificateMapEntryId": Required. A user-provided name of the certificate map entry.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Do

Do executes the "certificatemanager.projects.locations.certificateMaps.certificateMapEntries.create" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall

type ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Do

Do executes the "certificatemanager.projects.locations.certificateMaps.certificateMapEntries.delete" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall

type ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Do

Do executes the "certificatemanager.projects.locations.certificateMaps.certificateMapEntries.get" call. Any non-2xx status code is an error. Response headers are in either *CertificateMapEntry.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsCertificateMapsCertificateMapEntriesListCall

type ProjectsLocationsCertificateMapsCertificateMapEntriesListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Do

Do executes the "certificatemanager.projects.locations.certificateMaps.certificateMapEntries.list" call. Any non-2xx status code is an error. Response headers are in either *ListCertificateMapEntriesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Filter

Filter sets the optional parameter "filter": Filter expression to restrict the returned Certificate Map Entries.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) OrderBy

OrderBy sets the optional parameter "orderBy": A list of Certificate Map Entry field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix " desc".

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) PageSize

PageSize sets the optional parameter "pageSize": Maximum number of certificate map entries to return. The service may return fewer than this value. If unspecified, at most 50 certificate map entries will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) PageToken

PageToken sets the optional parameter "pageToken": The value returned by the last `ListCertificateMapEntriesResponse`. Indicates that this is a continuation of a prior `ListCertificateMapEntries` call, and that the system should return the next page of data.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall

type ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Do

Do executes the "certificatemanager.projects.locations.certificateMaps.certificateMapEntries.patch" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

type ProjectsLocationsCertificateMapsCertificateMapEntriesService

type ProjectsLocationsCertificateMapsCertificateMapEntriesService struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService) Create

Create: Creates a new CertificateMapEntry in a given project and location.

  • parent: The parent resource of the certificate map entry. Must be in the format `projects/*/locations/*/certificateMaps/*`.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService) Delete

Delete: Deletes a single CertificateMapEntry.

  • name: A name of the certificate map entry to delete. Must be in the format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService) Get

Get: Gets details of a single CertificateMapEntry.

  • name: A name of the certificate map entry to describe. Must be in the format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService) List

List: Lists CertificateMapEntries in a given project and location.

  • parent: The project, location and certificate map from which the certificate map entries should be listed, specified in the format `projects/*/locations/*/certificateMaps/*`.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService) Patch

Patch: Updates a CertificateMapEntry.

  • name: Identifier. A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.

type ProjectsLocationsCertificateMapsCreateCall

type ProjectsLocationsCertificateMapsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateMapsCreateCall) CertificateMapId

CertificateMapId sets the optional parameter "certificateMapId": Required. A user-provided name of the certificate map.

func (*ProjectsLocationsCertificateMapsCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateMapsCreateCall) Do

Do executes the "certificatemanager.projects.locations.certificateMaps.create" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateMapsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateMapsCreateCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsCertificateMapsDeleteCall

type ProjectsLocationsCertificateMapsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateMapsDeleteCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateMapsDeleteCall) Do

Do executes the "certificatemanager.projects.locations.certificateMaps.delete" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateMapsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateMapsDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsCertificateMapsGetCall

type ProjectsLocationsCertificateMapsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateMapsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateMapsGetCall) Do

Do executes the "certificatemanager.projects.locations.certificateMaps.get" call. Any non-2xx status code is an error. Response headers are in either *CertificateMap.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateMapsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateMapsGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificateMapsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsCertificateMapsListCall

type ProjectsLocationsCertificateMapsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateMapsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateMapsListCall) Do

Do executes the "certificatemanager.projects.locations.certificateMaps.list" call. Any non-2xx status code is an error. Response headers are in either *ListCertificateMapsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateMapsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateMapsListCall) Filter

Filter sets the optional parameter "filter": Filter expression to restrict the Certificates Maps returned.

func (*ProjectsLocationsCertificateMapsListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificateMapsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsCertificateMapsListCall) OrderBy

OrderBy sets the optional parameter "orderBy": A list of Certificate Map field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix " desc".

func (*ProjectsLocationsCertificateMapsListCall) PageSize

PageSize sets the optional parameter "pageSize": Maximum number of certificate maps to return per call.

func (*ProjectsLocationsCertificateMapsListCall) PageToken

PageToken sets the optional parameter "pageToken": The value returned by the last `ListCertificateMapsResponse`. Indicates that this is a continuation of a prior `ListCertificateMaps` call, and that the system should return the next page of data.

func (*ProjectsLocationsCertificateMapsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ProjectsLocationsCertificateMapsPatchCall

type ProjectsLocationsCertificateMapsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificateMapsPatchCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificateMapsPatchCall) Do

Do executes the "certificatemanager.projects.locations.certificateMaps.patch" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificateMapsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificateMapsPatchCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificateMapsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

type ProjectsLocationsCertificateMapsService

type ProjectsLocationsCertificateMapsService struct {
	CertificateMapEntries *ProjectsLocationsCertificateMapsCertificateMapEntriesService
	// contains filtered or unexported fields
}

func NewProjectsLocationsCertificateMapsService

func NewProjectsLocationsCertificateMapsService(s *Service) *ProjectsLocationsCertificateMapsService

func (*ProjectsLocationsCertificateMapsService) Create

Create: Creates a new CertificateMap in a given project and location.

  • parent: The parent resource of the certificate map. Must be in the format `projects/*/locations/*`.

func (*ProjectsLocationsCertificateMapsService) Delete

Delete: Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.

  • name: A name of the certificate map to delete. Must be in the format `projects/*/locations/*/certificateMaps/*`.

func (*ProjectsLocationsCertificateMapsService) Get

Get: Gets details of a single CertificateMap.

  • name: A name of the certificate map to describe. Must be in the format `projects/*/locations/*/certificateMaps/*`.

func (*ProjectsLocationsCertificateMapsService) List

List: Lists CertificateMaps in a given project and location.

  • parent: The project and location from which the certificate maps should be listed, specified in the format `projects/*/locations/*`.

func (*ProjectsLocationsCertificateMapsService) Patch

Patch: Updates a CertificateMap.

  • name: Identifier. A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*`.

type ProjectsLocationsCertificatesCreateCall

type ProjectsLocationsCertificatesCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificatesCreateCall) CertificateId

CertificateId sets the optional parameter "certificateId": Required. A user-provided name of the certificate.

func (*ProjectsLocationsCertificatesCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificatesCreateCall) Do

Do executes the "certificatemanager.projects.locations.certificates.create" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificatesCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificatesCreateCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsCertificatesDeleteCall

type ProjectsLocationsCertificatesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificatesDeleteCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificatesDeleteCall) Do

Do executes the "certificatemanager.projects.locations.certificates.delete" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificatesDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificatesDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsCertificatesGetCall

type ProjectsLocationsCertificatesGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificatesGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificatesGetCall) Do

Do executes the "certificatemanager.projects.locations.certificates.get" call. Any non-2xx status code is an error. Response headers are in either *Certificate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificatesGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificatesGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificatesGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsCertificatesListCall

type ProjectsLocationsCertificatesListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificatesListCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificatesListCall) Do

Do executes the "certificatemanager.projects.locations.certificates.list" call. Any non-2xx status code is an error. Response headers are in either *ListCertificatesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificatesListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificatesListCall) Filter

Filter sets the optional parameter "filter": Filter expression to restrict the Certificates returned.

func (*ProjectsLocationsCertificatesListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificatesListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsCertificatesListCall) OrderBy

OrderBy sets the optional parameter "orderBy": A list of Certificate field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix " desc".

func (*ProjectsLocationsCertificatesListCall) PageSize

PageSize sets the optional parameter "pageSize": Maximum number of certificates to return per call.

func (*ProjectsLocationsCertificatesListCall) PageToken

PageToken sets the optional parameter "pageToken": The value returned by the last `ListCertificatesResponse`. Indicates that this is a continuation of a prior `ListCertificates` call, and that the system should return the next page of data.

func (*ProjectsLocationsCertificatesListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ProjectsLocationsCertificatesPatchCall

type ProjectsLocationsCertificatesPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsCertificatesPatchCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCertificatesPatchCall) Do

Do executes the "certificatemanager.projects.locations.certificates.patch" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCertificatesPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsCertificatesPatchCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsCertificatesPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

type ProjectsLocationsCertificatesService

type ProjectsLocationsCertificatesService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsCertificatesService

func NewProjectsLocationsCertificatesService(s *Service) *ProjectsLocationsCertificatesService

func (*ProjectsLocationsCertificatesService) Create

Create: Creates a new Certificate in a given project and location.

  • parent: The parent resource of the certificate. Must be in the format `projects/*/locations/*`.

func (*ProjectsLocationsCertificatesService) Delete

Delete: Deletes a single Certificate.

  • name: A name of the certificate to delete. Must be in the format `projects/*/locations/*/certificates/*`.

func (*ProjectsLocationsCertificatesService) Get

Get: Gets details of a single Certificate.

  • name: A name of the certificate to describe. Must be in the format `projects/*/locations/*/certificates/*`.

func (*ProjectsLocationsCertificatesService) List

List: Lists Certificates in a given project and location.

  • parent: The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`.

func (*ProjectsLocationsCertificatesService) Patch

Patch: Updates a Certificate.

  • name: Identifier. A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`.

type ProjectsLocationsDnsAuthorizationsCreateCall

type ProjectsLocationsDnsAuthorizationsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsDnsAuthorizationsCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDnsAuthorizationsCreateCall) DnsAuthorizationId

DnsAuthorizationId sets the optional parameter "dnsAuthorizationId": Required. A user-provided name of the dns authorization.

func (*ProjectsLocationsDnsAuthorizationsCreateCall) Do

Do executes the "certificatemanager.projects.locations.dnsAuthorizations.create" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDnsAuthorizationsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsDnsAuthorizationsCreateCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsDnsAuthorizationsDeleteCall

type ProjectsLocationsDnsAuthorizationsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsDnsAuthorizationsDeleteCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDnsAuthorizationsDeleteCall) Do

Do executes the "certificatemanager.projects.locations.dnsAuthorizations.delete" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDnsAuthorizationsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsDnsAuthorizationsDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsDnsAuthorizationsGetCall

type ProjectsLocationsDnsAuthorizationsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsDnsAuthorizationsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDnsAuthorizationsGetCall) Do

Do executes the "certificatemanager.projects.locations.dnsAuthorizations.get" call. Any non-2xx status code is an error. Response headers are in either *DnsAuthorization.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDnsAuthorizationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsDnsAuthorizationsGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsDnsAuthorizationsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsDnsAuthorizationsListCall

type ProjectsLocationsDnsAuthorizationsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsDnsAuthorizationsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDnsAuthorizationsListCall) Do

Do executes the "certificatemanager.projects.locations.dnsAuthorizations.list" call. Any non-2xx status code is an error. Response headers are in either *ListDnsAuthorizationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDnsAuthorizationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsDnsAuthorizationsListCall) Filter

Filter sets the optional parameter "filter": Filter expression to restrict the Dns Authorizations returned.

func (*ProjectsLocationsDnsAuthorizationsListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsDnsAuthorizationsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsDnsAuthorizationsListCall) OrderBy

OrderBy sets the optional parameter "orderBy": A list of Dns Authorization field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix " desc".

func (*ProjectsLocationsDnsAuthorizationsListCall) PageSize

PageSize sets the optional parameter "pageSize": Maximum number of dns authorizations to return per call.

func (*ProjectsLocationsDnsAuthorizationsListCall) PageToken

PageToken sets the optional parameter "pageToken": The value returned by the last `ListDnsAuthorizationsResponse`. Indicates that this is a continuation of a prior `ListDnsAuthorizations` call, and that the system should return the next page of data.

func (*ProjectsLocationsDnsAuthorizationsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ProjectsLocationsDnsAuthorizationsPatchCall

type ProjectsLocationsDnsAuthorizationsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsDnsAuthorizationsPatchCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDnsAuthorizationsPatchCall) Do

Do executes the "certificatemanager.projects.locations.dnsAuthorizations.patch" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDnsAuthorizationsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsDnsAuthorizationsPatchCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsDnsAuthorizationsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

type ProjectsLocationsDnsAuthorizationsService

type ProjectsLocationsDnsAuthorizationsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsDnsAuthorizationsService

func NewProjectsLocationsDnsAuthorizationsService(s *Service) *ProjectsLocationsDnsAuthorizationsService

func (*ProjectsLocationsDnsAuthorizationsService) Create

Create: Creates a new DnsAuthorization in a given project and location.

  • parent: The parent resource of the dns authorization. Must be in the format `projects/*/locations/*`.

func (*ProjectsLocationsDnsAuthorizationsService) Delete

Delete: Deletes a single DnsAuthorization.

  • name: A name of the dns authorization to delete. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`.

func (*ProjectsLocationsDnsAuthorizationsService) Get

Get: Gets details of a single DnsAuthorization.

  • name: A name of the dns authorization to describe. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`.

func (*ProjectsLocationsDnsAuthorizationsService) List

List: Lists DnsAuthorizations in a given project and location.

  • parent: The project and location from which the dns authorizations should be listed, specified in the format `projects/*/locations/*`.

func (*ProjectsLocationsDnsAuthorizationsService) Patch

Patch: Updates a DnsAuthorization.

  • name: Identifier. A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.

type ProjectsLocationsGetCall

type ProjectsLocationsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGetCall) Do

Do executes the "certificatemanager.projects.locations.get" call. Any non-2xx status code is an error. Response headers are in either *Location.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGetCall) Header

func (c *ProjectsLocationsGetCall) Header() http.Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsGetCall) IfNoneMatch

func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsListCall

type ProjectsLocationsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsListCall) Do

Do executes the "certificatemanager.projects.locations.list" call. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsListCall) Filter

Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).

func (*ProjectsLocationsListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsListCall) IfNoneMatch

func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.

func (*ProjectsLocationsListCall) PageToken

PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

func (*ProjectsLocationsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ProjectsLocationsOperationsCancelCall

type ProjectsLocationsOperationsCancelCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsCancelCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsCancelCall) Do

Do executes the "certificatemanager.projects.locations.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsCancelCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsOperationsCancelCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsOperationsDeleteCall

type ProjectsLocationsOperationsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsDeleteCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsDeleteCall) Do

Do executes the "certificatemanager.projects.locations.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsOperationsDeleteCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsOperationsGetCall

type ProjectsLocationsOperationsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsGetCall) Do

Do executes the "certificatemanager.projects.locations.operations.get" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsOperationsGetCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsOperationsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsOperationsListCall

type ProjectsLocationsOperationsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsOperationsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsListCall) Do

Do executes the "certificatemanager.projects.locations.operations.list" call. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsOperationsListCall) Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsOperationsListCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsOperationsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsOperationsListCall) PageSize

PageSize sets the optional parameter "pageSize": The standard list page size.

func (*ProjectsLocationsOperationsListCall) PageToken

PageToken sets the optional parameter "pageToken": The standard list page token.

func (*ProjectsLocationsOperationsListCall) Pages

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ProjectsLocationsOperationsService

type ProjectsLocationsOperationsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsOperationsService

func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService

func (*ProjectsLocationsOperationsService) Cancel

Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.

- name: The name of the operation resource to be cancelled.

func (*ProjectsLocationsOperationsService) Delete

Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

- name: The name of the operation resource to be deleted.

func (*ProjectsLocationsOperationsService) Get

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*ProjectsLocationsOperationsService) List

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

type ProjectsLocationsService

type ProjectsLocationsService struct {
	CertificateIssuanceConfigs *ProjectsLocationsCertificateIssuanceConfigsService

	CertificateMaps *ProjectsLocationsCertificateMapsService

	Certificates *ProjectsLocationsCertificatesService

	DnsAuthorizations *ProjectsLocationsDnsAuthorizationsService

	Operations *ProjectsLocationsOperationsService

	TrustConfigs *ProjectsLocationsTrustConfigsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsService

func NewProjectsLocationsService(s *Service) *ProjectsLocationsService

func (*ProjectsLocationsService) Get

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService) List

List: Lists information about the supported locations for this service.

- name: The resource that owns the locations collection, if applicable.

type ProjectsLocationsTrustConfigsCreateCall added in v0.118.0

type ProjectsLocationsTrustConfigsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTrustConfigsCreateCall) Context added in v0.118.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTrustConfigsCreateCall) Do added in v0.118.0

Do executes the "certificatemanager.projects.locations.trustConfigs.create" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTrustConfigsCreateCall) Fields added in v0.118.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTrustConfigsCreateCall) Header added in v0.118.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTrustConfigsCreateCall) TrustConfigId added in v0.118.0

TrustConfigId sets the optional parameter "trustConfigId": Required. A user-provided name of the TrustConfig. Must match the regexp `[a-z0-9-]{1,63}`.

type ProjectsLocationsTrustConfigsDeleteCall added in v0.118.0

type ProjectsLocationsTrustConfigsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTrustConfigsDeleteCall) Context added in v0.118.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTrustConfigsDeleteCall) Do added in v0.118.0

Do executes the "certificatemanager.projects.locations.trustConfigs.delete" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTrustConfigsDeleteCall) Etag added in v0.118.0

Etag sets the optional parameter "etag": The current etag of the TrustConfig. If an etag is provided and does not match the current etag of the resource, deletion will be blocked and an ABORTED error will be returned.

func (*ProjectsLocationsTrustConfigsDeleteCall) Fields added in v0.118.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTrustConfigsDeleteCall) Header added in v0.118.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

type ProjectsLocationsTrustConfigsGetCall added in v0.118.0

type ProjectsLocationsTrustConfigsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTrustConfigsGetCall) Context added in v0.118.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTrustConfigsGetCall) Do added in v0.118.0

Do executes the "certificatemanager.projects.locations.trustConfigs.get" call. Any non-2xx status code is an error. Response headers are in either *TrustConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTrustConfigsGetCall) Fields added in v0.118.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTrustConfigsGetCall) Header added in v0.118.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTrustConfigsGetCall) IfNoneMatch added in v0.118.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsTrustConfigsListCall added in v0.118.0

type ProjectsLocationsTrustConfigsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTrustConfigsListCall) Context added in v0.118.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTrustConfigsListCall) Do added in v0.118.0

Do executes the "certificatemanager.projects.locations.trustConfigs.list" call. Any non-2xx status code is an error. Response headers are in either *ListTrustConfigsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTrustConfigsListCall) Fields added in v0.118.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTrustConfigsListCall) Filter added in v0.118.0

Filter sets the optional parameter "filter": Filter expression to restrict the TrustConfigs returned.

func (*ProjectsLocationsTrustConfigsListCall) Header added in v0.118.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTrustConfigsListCall) IfNoneMatch added in v0.118.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsTrustConfigsListCall) OrderBy added in v0.118.0

OrderBy sets the optional parameter "orderBy": A list of TrustConfig field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix " desc".

func (*ProjectsLocationsTrustConfigsListCall) PageSize added in v0.118.0

PageSize sets the optional parameter "pageSize": Maximum number of TrustConfigs to return per call.

func (*ProjectsLocationsTrustConfigsListCall) PageToken added in v0.118.0

PageToken sets the optional parameter "pageToken": The value returned by the last `ListTrustConfigsResponse`. Indicates that this is a continuation of a prior `ListTrustConfigs` call, and that the system should return the next page of data.

func (*ProjectsLocationsTrustConfigsListCall) Pages added in v0.118.0

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ProjectsLocationsTrustConfigsPatchCall added in v0.118.0

type ProjectsLocationsTrustConfigsPatchCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsLocationsTrustConfigsPatchCall) Context added in v0.118.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTrustConfigsPatchCall) Do added in v0.118.0

Do executes the "certificatemanager.projects.locations.trustConfigs.patch" call. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTrustConfigsPatchCall) Fields added in v0.118.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsTrustConfigsPatchCall) Header added in v0.118.0

Header returns a http.Header that can be modified by the caller to add headers to the request.

func (*ProjectsLocationsTrustConfigsPatchCall) UpdateMask added in v0.118.0

UpdateMask sets the optional parameter "updateMask": Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.

type ProjectsLocationsTrustConfigsService added in v0.118.0

type ProjectsLocationsTrustConfigsService struct {
	// contains filtered or unexported fields
}

func NewProjectsLocationsTrustConfigsService added in v0.118.0

func NewProjectsLocationsTrustConfigsService(s *Service) *ProjectsLocationsTrustConfigsService

func (*ProjectsLocationsTrustConfigsService) Create added in v0.118.0

Create: Creates a new TrustConfig in a given project and location.

  • parent: The parent resource of the TrustConfig. Must be in the format `projects/*/locations/*`.

func (*ProjectsLocationsTrustConfigsService) Delete added in v0.118.0

Delete: Deletes a single TrustConfig.

  • name: A name of the TrustConfig to delete. Must be in the format `projects/*/locations/*/trustConfigs/*`.

func (*ProjectsLocationsTrustConfigsService) Get added in v0.118.0

Get: Gets details of a single TrustConfig.

  • name: A name of the TrustConfig to describe. Must be in the format `projects/*/locations/*/trustConfigs/*`.

func (*ProjectsLocationsTrustConfigsService) List added in v0.118.0

List: Lists TrustConfigs in a given project and location.

  • parent: The project and location from which the TrustConfigs should be listed, specified in the format `projects/*/locations/*`.

func (*ProjectsLocationsTrustConfigsService) Patch added in v0.118.0

Patch: Updates a TrustConfig.

  • name: Identifier. A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`.

type ProjectsService

type ProjectsService struct {
	Locations *ProjectsLocationsService
	// contains filtered or unexported fields
}

func NewProjectsService

func NewProjectsService(s *Service) *ProjectsService

type ProvisioningIssue

type ProvisioningIssue struct {
	// Details: Output only. Human readable explanation about the issue. Provided
	// to help address the configuration issues. Not guaranteed to be stable. For
	// programmatic access use Reason enum.
	Details string `json:"details,omitempty"`
	// Reason: Output only. Reason for provisioning failures.
	//
	// Possible values:
	//   "REASON_UNSPECIFIED" - Reason is unspecified.
	//   "AUTHORIZATION_ISSUE" - Certificate provisioning failed due to an issue
	// with one or more of the domains on the certificate. For details of which
	// domains failed, consult the `authorization_attempt_info` field.
	//   "RATE_LIMITED" - Exceeded Certificate Authority quotas or internal rate
	// limits of the system. Provisioning may take longer to complete.
	Reason string `json:"reason,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Details") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Details") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ProvisioningIssue: Information about issues with provisioning a Managed Certificate.

func (ProvisioningIssue) MarshalJSON

func (s ProvisioningIssue) MarshalJSON() ([]byte, error)

type SelfManagedCertificate

type SelfManagedCertificate struct {
	// PemCertificate: Optional. Input only. The PEM-encoded certificate chain.
	// Leaf certificate comes first, followed by intermediate ones if any.
	PemCertificate string `json:"pemCertificate,omitempty"`
	// PemPrivateKey: Optional. Input only. The PEM-encoded private key of the leaf
	// certificate.
	PemPrivateKey string `json:"pemPrivateKey,omitempty"`
	// ForceSendFields is a list of field names (e.g. "PemCertificate") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "PemCertificate") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

SelfManagedCertificate: Certificate data for a SelfManaged Certificate. SelfManaged Certificates are uploaded by the user. Updating such certificates before they expire remains the user's responsibility.

func (SelfManagedCertificate) MarshalJSON

func (s SelfManagedCertificate) MarshalJSON() ([]byte, error)

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	Projects *ProjectsService
	// contains filtered or unexported fields
}

func New deprecated

func New(client *http.Client) (*Service, error)

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

func NewService

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type Status

type Status struct {
	// Code: The status code, which should be an enum value of google.rpc.Code.
	Code int64 `json:"code,omitempty"`
	// Details: A list of messages that carry the error details. There is a common
	// set of message types for APIs to use.
	Details []googleapi.RawMessage `json:"details,omitempty"`
	// Message: A developer-facing error message, which should be in English. Any
	// user-facing error message should be localized and sent in the
	// google.rpc.Status.details field, or localized by the client.
	Message string `json:"message,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Code") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Code") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).

func (Status) MarshalJSON

func (s Status) MarshalJSON() ([]byte, error)

type TrustAnchor added in v0.118.0

type TrustAnchor struct {
	// PemCertificate: PEM root certificate of the PKI used for validation. Each
	// certificate provided in PEM format may occupy up to 5kB.
	PemCertificate string `json:"pemCertificate,omitempty"`
	// ForceSendFields is a list of field names (e.g. "PemCertificate") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "PemCertificate") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

TrustAnchor: Defines a trust anchor.

func (TrustAnchor) MarshalJSON added in v0.118.0

func (s TrustAnchor) MarshalJSON() ([]byte, error)

type TrustConfig added in v0.118.0

type TrustConfig struct {
	// AllowlistedCertificates: Optional. A certificate matching an allowlisted
	// certificate is always considered valid as long as the certificate is
	// parseable, proof of private key possession is established, and constraints
	// on the certificate's SAN field are met.
	AllowlistedCertificates []*AllowlistedCertificate `json:"allowlistedCertificates,omitempty"`
	// CreateTime: Output only. The creation timestamp of a TrustConfig.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. One or more paragraphs of text description of a
	// TrustConfig.
	Description string `json:"description,omitempty"`
	// Etag: This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the client
	// has an up-to-date value before proceeding.
	Etag string `json:"etag,omitempty"`
	// Labels: Optional. Set of labels associated with a TrustConfig.
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Identifier. A user-defined name of the trust config. TrustConfig names
	// must be unique globally and match pattern
	// `projects/*/locations/*/trustConfigs/*`.
	Name string `json:"name,omitempty"`
	// TrustStores: Optional. Set of trust stores to perform validation against.
	// This field is supported when TrustConfig is configured with Load Balancers,
	// currently not supported for SPIFFE certificate validation. Only one
	// TrustStore specified is currently allowed.
	TrustStores []*TrustStore `json:"trustStores,omitempty"`
	// UpdateTime: Output only. The last update timestamp of a TrustConfig.
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AllowlistedCertificates") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AllowlistedCertificates") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

TrustConfig: Defines a trust config.

func (TrustConfig) MarshalJSON added in v0.118.0

func (s TrustConfig) MarshalJSON() ([]byte, error)

type TrustStore added in v0.118.0

type TrustStore struct {
	// IntermediateCas: Optional. Set of intermediate CA certificates used for the
	// path building phase of chain validation. The field is currently not
	// supported if TrustConfig is used for the workload certificate feature.
	IntermediateCas []*IntermediateCA `json:"intermediateCas,omitempty"`
	// TrustAnchors: Optional. List of Trust Anchors to be used while performing
	// validation against a given TrustStore.
	TrustAnchors []*TrustAnchor `json:"trustAnchors,omitempty"`
	// ForceSendFields is a list of field names (e.g. "IntermediateCas") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "IntermediateCas") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

TrustStore: Defines a trust store.

func (TrustStore) MarshalJSON added in v0.118.0

func (s TrustStore) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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