...

Package certificatemanager

import "google.golang.org/api/certificatemanager/v1"
Overview
Index

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
type AllowlistedCertificate
    func (s *AllowlistedCertificate) MarshalJSON() ([]byte, error)
type AuthorizationAttemptInfo
    func (s *AuthorizationAttemptInfo) MarshalJSON() ([]byte, error)
type CancelOperationRequest
type Certificate
    func (s *Certificate) MarshalJSON() ([]byte, error)
type CertificateAuthorityConfig
    func (s *CertificateAuthorityConfig) MarshalJSON() ([]byte, error)
type CertificateAuthorityServiceConfig
    func (s *CertificateAuthorityServiceConfig) MarshalJSON() ([]byte, error)
type CertificateIssuanceConfig
    func (s *CertificateIssuanceConfig) MarshalJSON() ([]byte, error)
type CertificateMap
    func (s *CertificateMap) MarshalJSON() ([]byte, error)
type CertificateMapEntry
    func (s *CertificateMapEntry) MarshalJSON() ([]byte, error)
type DnsAuthorization
    func (s *DnsAuthorization) MarshalJSON() ([]byte, error)
type DnsResourceRecord
    func (s *DnsResourceRecord) MarshalJSON() ([]byte, error)
type Empty
type GclbTarget
    func (s *GclbTarget) MarshalJSON() ([]byte, error)
type IntermediateCA
    func (s *IntermediateCA) MarshalJSON() ([]byte, error)
type IpConfig
    func (s *IpConfig) MarshalJSON() ([]byte, error)
type ListCertificateIssuanceConfigsResponse
    func (s *ListCertificateIssuanceConfigsResponse) MarshalJSON() ([]byte, error)
type ListCertificateMapEntriesResponse
    func (s *ListCertificateMapEntriesResponse) MarshalJSON() ([]byte, error)
type ListCertificateMapsResponse
    func (s *ListCertificateMapsResponse) MarshalJSON() ([]byte, error)
type ListCertificatesResponse
    func (s *ListCertificatesResponse) MarshalJSON() ([]byte, error)
type ListDnsAuthorizationsResponse
    func (s *ListDnsAuthorizationsResponse) MarshalJSON() ([]byte, error)
type ListLocationsResponse
    func (s *ListLocationsResponse) MarshalJSON() ([]byte, error)
type ListOperationsResponse
    func (s *ListOperationsResponse) MarshalJSON() ([]byte, error)
type ListTrustConfigsResponse
    func (s *ListTrustConfigsResponse) MarshalJSON() ([]byte, error)
type Location
    func (s *Location) MarshalJSON() ([]byte, error)
type ManagedCertificate
    func (s *ManagedCertificate) MarshalJSON() ([]byte, error)
type Operation
    func (s *Operation) MarshalJSON() ([]byte, error)
type OperationMetadata
    func (s *OperationMetadata) MarshalJSON() ([]byte, error)
type ProjectsLocationsCertificateIssuanceConfigsCreateCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) CertificateIssuanceConfigId(certificateIssuanceConfigId string) *ProjectsLocationsCertificateIssuanceConfigsCreateCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsCertificateIssuanceConfigsCreateCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsCreateCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) Header() http.Header
type ProjectsLocationsCertificateIssuanceConfigsDeleteCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCertificateIssuanceConfigsDeleteCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsDeleteCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Header() http.Header
type ProjectsLocationsCertificateIssuanceConfigsGetCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsCertificateIssuanceConfigsGetCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) Do(opts ...googleapi.CallOption) (*CertificateIssuanceConfig, error)
    func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsGetCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) Header() http.Header
    func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCertificateIssuanceConfigsGetCall
type ProjectsLocationsCertificateIssuanceConfigsListCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Context(ctx context.Context) *ProjectsLocationsCertificateIssuanceConfigsListCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Do(opts ...googleapi.CallOption) (*ListCertificateIssuanceConfigsResponse, error)
    func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsListCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Filter(filter string) *ProjectsLocationsCertificateIssuanceConfigsListCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Header() http.Header
    func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCertificateIssuanceConfigsListCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) OrderBy(orderBy string) *ProjectsLocationsCertificateIssuanceConfigsListCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsCertificateIssuanceConfigsListCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) PageToken(pageToken string) *ProjectsLocationsCertificateIssuanceConfigsListCall
    func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Pages(ctx context.Context, f func(*ListCertificateIssuanceConfigsResponse) error) error
type ProjectsLocationsCertificateIssuanceConfigsService
    func NewProjectsLocationsCertificateIssuanceConfigsService(s *Service) *ProjectsLocationsCertificateIssuanceConfigsService
    func (r *ProjectsLocationsCertificateIssuanceConfigsService) Create(parent string, certificateissuanceconfig *CertificateIssuanceConfig) *ProjectsLocationsCertificateIssuanceConfigsCreateCall
    func (r *ProjectsLocationsCertificateIssuanceConfigsService) Delete(name string) *ProjectsLocationsCertificateIssuanceConfigsDeleteCall
    func (r *ProjectsLocationsCertificateIssuanceConfigsService) Get(name string) *ProjectsLocationsCertificateIssuanceConfigsGetCall
    func (r *ProjectsLocationsCertificateIssuanceConfigsService) List(parent string) *ProjectsLocationsCertificateIssuanceConfigsListCall
type ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) CertificateMapEntryId(certificateMapEntryId string) *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Header() http.Header
type ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Header() http.Header
type ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Do(opts ...googleapi.CallOption) (*CertificateMapEntry, error)
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Header() http.Header
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall
type ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Do(opts ...googleapi.CallOption) (*ListCertificateMapEntriesResponse, error)
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Filter(filter string) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Header() http.Header
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) OrderBy(orderBy string) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) PageSize(pageSize int64) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) PageToken(pageToken string) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Pages(ctx context.Context, f func(*ListCertificateMapEntriesResponse) error) error
type ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Header() http.Header
    func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall
type ProjectsLocationsCertificateMapsCertificateMapEntriesService
    func NewProjectsLocationsCertificateMapsCertificateMapEntriesService(s *Service) *ProjectsLocationsCertificateMapsCertificateMapEntriesService
    func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Create(parent string, certificatemapentry *CertificateMapEntry) *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall
    func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Delete(name string) *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall
    func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Get(name string) *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall
    func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) List(parent string) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
    func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Patch(name string, certificatemapentry *CertificateMapEntry) *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall
type ProjectsLocationsCertificateMapsCreateCall
    func (c *ProjectsLocationsCertificateMapsCreateCall) CertificateMapId(certificateMapId string) *ProjectsLocationsCertificateMapsCreateCall
    func (c *ProjectsLocationsCertificateMapsCreateCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCreateCall
    func (c *ProjectsLocationsCertificateMapsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsCertificateMapsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCreateCall
    func (c *ProjectsLocationsCertificateMapsCreateCall) Header() http.Header
type ProjectsLocationsCertificateMapsDeleteCall
    func (c *ProjectsLocationsCertificateMapsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsDeleteCall
    func (c *ProjectsLocationsCertificateMapsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsCertificateMapsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsDeleteCall
    func (c *ProjectsLocationsCertificateMapsDeleteCall) Header() http.Header
type ProjectsLocationsCertificateMapsGetCall
    func (c *ProjectsLocationsCertificateMapsGetCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsGetCall
    func (c *ProjectsLocationsCertificateMapsGetCall) Do(opts ...googleapi.CallOption) (*CertificateMap, error)
    func (c *ProjectsLocationsCertificateMapsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsGetCall
    func (c *ProjectsLocationsCertificateMapsGetCall) Header() http.Header
    func (c *ProjectsLocationsCertificateMapsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCertificateMapsGetCall
type ProjectsLocationsCertificateMapsListCall
    func (c *ProjectsLocationsCertificateMapsListCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsListCall
    func (c *ProjectsLocationsCertificateMapsListCall) Do(opts ...googleapi.CallOption) (*ListCertificateMapsResponse, error)
    func (c *ProjectsLocationsCertificateMapsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsListCall
    func (c *ProjectsLocationsCertificateMapsListCall) Filter(filter string) *ProjectsLocationsCertificateMapsListCall
    func (c *ProjectsLocationsCertificateMapsListCall) Header() http.Header
    func (c *ProjectsLocationsCertificateMapsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCertificateMapsListCall
    func (c *ProjectsLocationsCertificateMapsListCall) OrderBy(orderBy string) *ProjectsLocationsCertificateMapsListCall
    func (c *ProjectsLocationsCertificateMapsListCall) PageSize(pageSize int64) *ProjectsLocationsCertificateMapsListCall
    func (c *ProjectsLocationsCertificateMapsListCall) PageToken(pageToken string) *ProjectsLocationsCertificateMapsListCall
    func (c *ProjectsLocationsCertificateMapsListCall) Pages(ctx context.Context, f func(*ListCertificateMapsResponse) error) error
type ProjectsLocationsCertificateMapsPatchCall
    func (c *ProjectsLocationsCertificateMapsPatchCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsPatchCall
    func (c *ProjectsLocationsCertificateMapsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsCertificateMapsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsPatchCall
    func (c *ProjectsLocationsCertificateMapsPatchCall) Header() http.Header
    func (c *ProjectsLocationsCertificateMapsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCertificateMapsPatchCall
type ProjectsLocationsCertificateMapsService
    func NewProjectsLocationsCertificateMapsService(s *Service) *ProjectsLocationsCertificateMapsService
    func (r *ProjectsLocationsCertificateMapsService) Create(parent string, certificatemap *CertificateMap) *ProjectsLocationsCertificateMapsCreateCall
    func (r *ProjectsLocationsCertificateMapsService) Delete(name string) *ProjectsLocationsCertificateMapsDeleteCall
    func (r *ProjectsLocationsCertificateMapsService) Get(name string) *ProjectsLocationsCertificateMapsGetCall
    func (r *ProjectsLocationsCertificateMapsService) List(parent string) *ProjectsLocationsCertificateMapsListCall
    func (r *ProjectsLocationsCertificateMapsService) Patch(name string, certificatemap *CertificateMap) *ProjectsLocationsCertificateMapsPatchCall
type ProjectsLocationsCertificatesCreateCall
    func (c *ProjectsLocationsCertificatesCreateCall) CertificateId(certificateId string) *ProjectsLocationsCertificatesCreateCall
    func (c *ProjectsLocationsCertificatesCreateCall) Context(ctx context.Context) *ProjectsLocationsCertificatesCreateCall
    func (c *ProjectsLocationsCertificatesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsCertificatesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesCreateCall
    func (c *ProjectsLocationsCertificatesCreateCall) Header() http.Header
type ProjectsLocationsCertificatesDeleteCall
    func (c *ProjectsLocationsCertificatesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCertificatesDeleteCall
    func (c *ProjectsLocationsCertificatesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsCertificatesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesDeleteCall
    func (c *ProjectsLocationsCertificatesDeleteCall) Header() http.Header
type ProjectsLocationsCertificatesGetCall
    func (c *ProjectsLocationsCertificatesGetCall) Context(ctx context.Context) *ProjectsLocationsCertificatesGetCall
    func (c *ProjectsLocationsCertificatesGetCall) Do(opts ...googleapi.CallOption) (*Certificate, error)
    func (c *ProjectsLocationsCertificatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesGetCall
    func (c *ProjectsLocationsCertificatesGetCall) Header() http.Header
    func (c *ProjectsLocationsCertificatesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCertificatesGetCall
type ProjectsLocationsCertificatesListCall
    func (c *ProjectsLocationsCertificatesListCall) Context(ctx context.Context) *ProjectsLocationsCertificatesListCall
    func (c *ProjectsLocationsCertificatesListCall) Do(opts ...googleapi.CallOption) (*ListCertificatesResponse, error)
    func (c *ProjectsLocationsCertificatesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesListCall
    func (c *ProjectsLocationsCertificatesListCall) Filter(filter string) *ProjectsLocationsCertificatesListCall
    func (c *ProjectsLocationsCertificatesListCall) Header() http.Header
    func (c *ProjectsLocationsCertificatesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCertificatesListCall
    func (c *ProjectsLocationsCertificatesListCall) OrderBy(orderBy string) *ProjectsLocationsCertificatesListCall
    func (c *ProjectsLocationsCertificatesListCall) PageSize(pageSize int64) *ProjectsLocationsCertificatesListCall
    func (c *ProjectsLocationsCertificatesListCall) PageToken(pageToken string) *ProjectsLocationsCertificatesListCall
    func (c *ProjectsLocationsCertificatesListCall) Pages(ctx context.Context, f func(*ListCertificatesResponse) error) error
type ProjectsLocationsCertificatesPatchCall
    func (c *ProjectsLocationsCertificatesPatchCall) Context(ctx context.Context) *ProjectsLocationsCertificatesPatchCall
    func (c *ProjectsLocationsCertificatesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsCertificatesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesPatchCall
    func (c *ProjectsLocationsCertificatesPatchCall) Header() http.Header
    func (c *ProjectsLocationsCertificatesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCertificatesPatchCall
type ProjectsLocationsCertificatesService
    func NewProjectsLocationsCertificatesService(s *Service) *ProjectsLocationsCertificatesService
    func (r *ProjectsLocationsCertificatesService) Create(parent string, certificate *Certificate) *ProjectsLocationsCertificatesCreateCall
    func (r *ProjectsLocationsCertificatesService) Delete(name string) *ProjectsLocationsCertificatesDeleteCall
    func (r *ProjectsLocationsCertificatesService) Get(name string) *ProjectsLocationsCertificatesGetCall
    func (r *ProjectsLocationsCertificatesService) List(parent string) *ProjectsLocationsCertificatesListCall
    func (r *ProjectsLocationsCertificatesService) Patch(name string, certificate *Certificate) *ProjectsLocationsCertificatesPatchCall
type ProjectsLocationsDnsAuthorizationsCreateCall
    func (c *ProjectsLocationsDnsAuthorizationsCreateCall) Context(ctx context.Context) *ProjectsLocationsDnsAuthorizationsCreateCall
    func (c *ProjectsLocationsDnsAuthorizationsCreateCall) DnsAuthorizationId(dnsAuthorizationId string) *ProjectsLocationsDnsAuthorizationsCreateCall
    func (c *ProjectsLocationsDnsAuthorizationsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsDnsAuthorizationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsCreateCall
    func (c *ProjectsLocationsDnsAuthorizationsCreateCall) Header() http.Header
type ProjectsLocationsDnsAuthorizationsDeleteCall
    func (c *ProjectsLocationsDnsAuthorizationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDnsAuthorizationsDeleteCall
    func (c *ProjectsLocationsDnsAuthorizationsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsDnsAuthorizationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsDeleteCall
    func (c *ProjectsLocationsDnsAuthorizationsDeleteCall) Header() http.Header
type ProjectsLocationsDnsAuthorizationsGetCall
    func (c *ProjectsLocationsDnsAuthorizationsGetCall) Context(ctx context.Context) *ProjectsLocationsDnsAuthorizationsGetCall
    func (c *ProjectsLocationsDnsAuthorizationsGetCall) Do(opts ...googleapi.CallOption) (*DnsAuthorization, error)
    func (c *ProjectsLocationsDnsAuthorizationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsGetCall
    func (c *ProjectsLocationsDnsAuthorizationsGetCall) Header() http.Header
    func (c *ProjectsLocationsDnsAuthorizationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDnsAuthorizationsGetCall
type ProjectsLocationsDnsAuthorizationsListCall
    func (c *ProjectsLocationsDnsAuthorizationsListCall) Context(ctx context.Context) *ProjectsLocationsDnsAuthorizationsListCall
    func (c *ProjectsLocationsDnsAuthorizationsListCall) Do(opts ...googleapi.CallOption) (*ListDnsAuthorizationsResponse, error)
    func (c *ProjectsLocationsDnsAuthorizationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsListCall
    func (c *ProjectsLocationsDnsAuthorizationsListCall) Filter(filter string) *ProjectsLocationsDnsAuthorizationsListCall
    func (c *ProjectsLocationsDnsAuthorizationsListCall) Header() http.Header
    func (c *ProjectsLocationsDnsAuthorizationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDnsAuthorizationsListCall
    func (c *ProjectsLocationsDnsAuthorizationsListCall) OrderBy(orderBy string) *ProjectsLocationsDnsAuthorizationsListCall
    func (c *ProjectsLocationsDnsAuthorizationsListCall) PageSize(pageSize int64) *ProjectsLocationsDnsAuthorizationsListCall
    func (c *ProjectsLocationsDnsAuthorizationsListCall) PageToken(pageToken string) *ProjectsLocationsDnsAuthorizationsListCall
    func (c *ProjectsLocationsDnsAuthorizationsListCall) Pages(ctx context.Context, f func(*ListDnsAuthorizationsResponse) error) error
type ProjectsLocationsDnsAuthorizationsPatchCall
    func (c *ProjectsLocationsDnsAuthorizationsPatchCall) Context(ctx context.Context) *ProjectsLocationsDnsAuthorizationsPatchCall
    func (c *ProjectsLocationsDnsAuthorizationsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsDnsAuthorizationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsPatchCall
    func (c *ProjectsLocationsDnsAuthorizationsPatchCall) Header() http.Header
    func (c *ProjectsLocationsDnsAuthorizationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDnsAuthorizationsPatchCall
type ProjectsLocationsDnsAuthorizationsService
    func NewProjectsLocationsDnsAuthorizationsService(s *Service) *ProjectsLocationsDnsAuthorizationsService
    func (r *ProjectsLocationsDnsAuthorizationsService) Create(parent string, dnsauthorization *DnsAuthorization) *ProjectsLocationsDnsAuthorizationsCreateCall
    func (r *ProjectsLocationsDnsAuthorizationsService) Delete(name string) *ProjectsLocationsDnsAuthorizationsDeleteCall
    func (r *ProjectsLocationsDnsAuthorizationsService) Get(name string) *ProjectsLocationsDnsAuthorizationsGetCall
    func (r *ProjectsLocationsDnsAuthorizationsService) List(parent string) *ProjectsLocationsDnsAuthorizationsListCall
    func (r *ProjectsLocationsDnsAuthorizationsService) Patch(name string, dnsauthorization *DnsAuthorization) *ProjectsLocationsDnsAuthorizationsPatchCall
type ProjectsLocationsGetCall
    func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
    func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
    func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
    func (c *ProjectsLocationsGetCall) Header() http.Header
    func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
type ProjectsLocationsListCall
    func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
    func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
    func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
    func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
    func (c *ProjectsLocationsListCall) Header() http.Header
    func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
    func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
    func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
    func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
type ProjectsLocationsOperationsCancelCall
    func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
    func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
    func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
    func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
type ProjectsLocationsOperationsDeleteCall
    func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
    func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
    func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
    func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
type ProjectsLocationsOperationsGetCall
    func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
    func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
    func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
    func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
type ProjectsLocationsOperationsListCall
    func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
    func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
    func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
    func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
    func (c *ProjectsLocationsOperationsListCall) Header() http.Header
    func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
    func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
    func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
    func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
type ProjectsLocationsOperationsService
    func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
    func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
    func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
    func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
    func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
type ProjectsLocationsService
    func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
    func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall
    func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
type ProjectsLocationsTrustConfigsCreateCall
    func (c *ProjectsLocationsTrustConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsTrustConfigsCreateCall
    func (c *ProjectsLocationsTrustConfigsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsTrustConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsCreateCall
    func (c *ProjectsLocationsTrustConfigsCreateCall) Header() http.Header
    func (c *ProjectsLocationsTrustConfigsCreateCall) TrustConfigId(trustConfigId string) *ProjectsLocationsTrustConfigsCreateCall
type ProjectsLocationsTrustConfigsDeleteCall
    func (c *ProjectsLocationsTrustConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTrustConfigsDeleteCall
    func (c *ProjectsLocationsTrustConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsTrustConfigsDeleteCall) Etag(etag string) *ProjectsLocationsTrustConfigsDeleteCall
    func (c *ProjectsLocationsTrustConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsDeleteCall
    func (c *ProjectsLocationsTrustConfigsDeleteCall) Header() http.Header
type ProjectsLocationsTrustConfigsGetCall
    func (c *ProjectsLocationsTrustConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsTrustConfigsGetCall
    func (c *ProjectsLocationsTrustConfigsGetCall) Do(opts ...googleapi.CallOption) (*TrustConfig, error)
    func (c *ProjectsLocationsTrustConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsGetCall
    func (c *ProjectsLocationsTrustConfigsGetCall) Header() http.Header
    func (c *ProjectsLocationsTrustConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTrustConfigsGetCall
type ProjectsLocationsTrustConfigsListCall
    func (c *ProjectsLocationsTrustConfigsListCall) Context(ctx context.Context) *ProjectsLocationsTrustConfigsListCall
    func (c *ProjectsLocationsTrustConfigsListCall) Do(opts ...googleapi.CallOption) (*ListTrustConfigsResponse, error)
    func (c *ProjectsLocationsTrustConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsListCall
    func (c *ProjectsLocationsTrustConfigsListCall) Filter(filter string) *ProjectsLocationsTrustConfigsListCall
    func (c *ProjectsLocationsTrustConfigsListCall) Header() http.Header
    func (c *ProjectsLocationsTrustConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTrustConfigsListCall
    func (c *ProjectsLocationsTrustConfigsListCall) OrderBy(orderBy string) *ProjectsLocationsTrustConfigsListCall
    func (c *ProjectsLocationsTrustConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsTrustConfigsListCall
    func (c *ProjectsLocationsTrustConfigsListCall) PageToken(pageToken string) *ProjectsLocationsTrustConfigsListCall
    func (c *ProjectsLocationsTrustConfigsListCall) Pages(ctx context.Context, f func(*ListTrustConfigsResponse) error) error
type ProjectsLocationsTrustConfigsPatchCall
    func (c *ProjectsLocationsTrustConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsTrustConfigsPatchCall
    func (c *ProjectsLocationsTrustConfigsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsLocationsTrustConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsPatchCall
    func (c *ProjectsLocationsTrustConfigsPatchCall) Header() http.Header
    func (c *ProjectsLocationsTrustConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTrustConfigsPatchCall
type ProjectsLocationsTrustConfigsService
    func NewProjectsLocationsTrustConfigsService(s *Service) *ProjectsLocationsTrustConfigsService
    func (r *ProjectsLocationsTrustConfigsService) Create(parent string, trustconfig *TrustConfig) *ProjectsLocationsTrustConfigsCreateCall
    func (r *ProjectsLocationsTrustConfigsService) Delete(name string) *ProjectsLocationsTrustConfigsDeleteCall
    func (r *ProjectsLocationsTrustConfigsService) Get(name string) *ProjectsLocationsTrustConfigsGetCall
    func (r *ProjectsLocationsTrustConfigsService) List(parent string) *ProjectsLocationsTrustConfigsListCall
    func (r *ProjectsLocationsTrustConfigsService) Patch(name string, trustconfig *TrustConfig) *ProjectsLocationsTrustConfigsPatchCall
type ProjectsService
    func NewProjectsService(s *Service) *ProjectsService
type ProvisioningIssue
    func (s *ProvisioningIssue) MarshalJSON() ([]byte, error)
type SelfManagedCertificate
    func (s *SelfManagedCertificate) MarshalJSON() ([]byte, error)
type Service
    func New(client *http.Client) (*Service, error)
    func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)
type Status
    func (s *Status) MarshalJSON() ([]byte, error)
type TrustAnchor
    func (s *TrustAnchor) MarshalJSON() ([]byte, error)
type TrustConfig
    func (s *TrustConfig) MarshalJSON() ([]byte, error)
type TrustStore
    func (s *TrustStore) MarshalJSON() ([]byte, error)

Package files

certificatemanager-gen.go

Constants

OAuth2 scopes used by this API.

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"
)

type AllowlistedCertificate

AllowlistedCertificate: Defines an allowlisted certificate.

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:"-"`
}

func (*AllowlistedCertificate) MarshalJSON

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

type AuthorizationAttemptInfo

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

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: 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:"-"`
}

func (*AuthorizationAttemptInfo) MarshalJSON

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

type CancelOperationRequest

CancelOperationRequest: The request message for Operations.CancelOperation.

type CancelOperationRequest struct {
}

type Certificate

Certificate: Defines TLS certificate.

type Certificate struct {
    // CreateTime: Output only. The creation timestamp of a Certificate.
    CreateTime string `json:"createTime,omitempty"`
    // Description: 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: 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: 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: 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:"-"`
}

func (*Certificate) MarshalJSON

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

type CertificateAuthorityConfig

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

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:"-"`
}

func (*CertificateAuthorityConfig) MarshalJSON

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

type CertificateAuthorityServiceConfig

CertificateAuthorityServiceConfig: Contains information required to contact CA service.

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:"-"`
}

func (*CertificateAuthorityServiceConfig) MarshalJSON

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

type CertificateIssuanceConfig

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

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: 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: 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: 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:"-"`
}

func (*CertificateIssuanceConfig) MarshalJSON

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

type CertificateMap

CertificateMap: Defines a collection of certificate configurations.

type CertificateMap struct {
    // CreateTime: Output only. The creation timestamp of a Certificate Map.
    CreateTime string `json:"createTime,omitempty"`
    // Description: 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: Set of labels associated with a Certificate Map.
    Labels map[string]string `json:"labels,omitempty"`
    // Name: 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:"-"`
}

func (*CertificateMap) MarshalJSON

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

type CertificateMapEntry

CertificateMapEntry: Defines a certificate map entry.

type CertificateMapEntry struct {
    // Certificates: 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: 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: 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: 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:"-"`
}

func (*CertificateMapEntry) MarshalJSON

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

type DnsAuthorization

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

type DnsAuthorization struct {
    // CreateTime: Output only. The creation timestamp of a DnsAuthorization.
    CreateTime string `json:"createTime,omitempty"`
    // Description: 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: Set of labels associated with a DnsAuthorization.
    Labels map[string]string `json:"labels,omitempty"`
    // Name: 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: Immutable. Type of DnsAuthorization. If unset during resource creation
    // the following default will be used: - in location global: FIXED_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:"-"`
}

func (*DnsAuthorization) MarshalJSON

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

type DnsResourceRecord

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

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:"-"`
}

func (*DnsResourceRecord) MarshalJSON

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

type Empty

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 Empty struct {
    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
}

type GclbTarget

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

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:"-"`
}

func (*GclbTarget) MarshalJSON

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

type IntermediateCA

IntermediateCA: Defines an intermediate CA.

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:"-"`
}

func (*IntermediateCA) MarshalJSON

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

type IpConfig

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

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:"-"`
}

func (*IpConfig) MarshalJSON

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

type ListCertificateIssuanceConfigsResponse

ListCertificateIssuanceConfigsResponse: Response for the `ListCertificateIssuanceConfigs` method.

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:"-"`
}

func (*ListCertificateIssuanceConfigsResponse) MarshalJSON

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

type ListCertificateMapEntriesResponse

ListCertificateMapEntriesResponse: Response for the `ListCertificateMapEntries` method.

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:"-"`
}

func (*ListCertificateMapEntriesResponse) MarshalJSON

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

type ListCertificateMapsResponse

ListCertificateMapsResponse: Response for the `ListCertificateMaps` method.

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:"-"`
}

func (*ListCertificateMapsResponse) MarshalJSON

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

type ListCertificatesResponse

ListCertificatesResponse: Response for the `ListCertificates` method.

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:"-"`
}

func (*ListCertificatesResponse) MarshalJSON

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

type ListDnsAuthorizationsResponse

ListDnsAuthorizationsResponse: Response for the `ListDnsAuthorizations` method.

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:"-"`
}

func (*ListDnsAuthorizationsResponse) MarshalJSON

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

type ListLocationsResponse

ListLocationsResponse: The response message for Locations.ListLocations.

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:"-"`
}

func (*ListLocationsResponse) MarshalJSON

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

type ListOperationsResponse

ListOperationsResponse: The response message for Operations.ListOperations.

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:"-"`
}

func (*ListOperationsResponse) MarshalJSON

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

type ListTrustConfigsResponse

ListTrustConfigsResponse: Response for the `ListTrustConfigs` method.

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:"-"`
}

func (*ListTrustConfigsResponse) MarshalJSON

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

type Location

Location: A resource that represents a Google Cloud 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:"-"`
}

func (*Location) MarshalJSON

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

type ManagedCertificate

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.

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: Immutable. Authorizations that will be used for
    // performing domain authorization.
    DnsAuthorizations []string `json:"dnsAuthorizations,omitempty"`
    // Domains: 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: 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:"-"`
}

func (*ManagedCertificate) MarshalJSON

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

type Operation

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

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:"-"`
}

func (*Operation) MarshalJSON

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

type OperationMetadata

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

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:"-"`
}

func (*OperationMetadata) MarshalJSON

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

type ProjectsLocationsCertificateIssuanceConfigsCreateCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall) CertificateIssuanceConfigId

func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) CertificateIssuanceConfigId(certificateIssuanceConfigId string) *ProjectsLocationsCertificateIssuanceConfigsCreateCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall) Context

func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsCertificateIssuanceConfigsCreateCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall) Do

func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsCreateCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall) Header

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

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

type ProjectsLocationsCertificateIssuanceConfigsDeleteCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Context

func (c *ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCertificateIssuanceConfigsDeleteCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Do

func (c *ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsDeleteCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Header

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

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

type ProjectsLocationsCertificateIssuanceConfigsGetCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsGetCall) Context

func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsCertificateIssuanceConfigsGetCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsGetCall) Do

func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) Do(opts ...googleapi.CallOption) (*CertificateIssuanceConfig, error)

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

func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsGetCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsGetCall) Header

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

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

func (*ProjectsLocationsCertificateIssuanceConfigsGetCall) IfNoneMatch

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

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

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

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) Context

func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Context(ctx context.Context) *ProjectsLocationsCertificateIssuanceConfigsListCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) Do

func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Do(opts ...googleapi.CallOption) (*ListCertificateIssuanceConfigsResponse, error)

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

func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsListCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) Filter

func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Filter(filter string) *ProjectsLocationsCertificateIssuanceConfigsListCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) Header

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

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

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) IfNoneMatch

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

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

func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) OrderBy(orderBy string) *ProjectsLocationsCertificateIssuanceConfigsListCall

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

func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsCertificateIssuanceConfigsListCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsListCall) PageToken

func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) PageToken(pageToken string) *ProjectsLocationsCertificateIssuanceConfigsListCall

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

func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Pages(ctx context.Context, f func(*ListCertificateIssuanceConfigsResponse) error) error

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 ProjectsLocationsCertificateIssuanceConfigsService

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

func NewProjectsLocationsCertificateIssuanceConfigsService

func NewProjectsLocationsCertificateIssuanceConfigsService(s *Service) *ProjectsLocationsCertificateIssuanceConfigsService

func (*ProjectsLocationsCertificateIssuanceConfigsService) Create

func (r *ProjectsLocationsCertificateIssuanceConfigsService) Create(parent string, certificateissuanceconfig *CertificateIssuanceConfig) *ProjectsLocationsCertificateIssuanceConfigsCreateCall

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

func (*ProjectsLocationsCertificateIssuanceConfigsService) Delete

func (r *ProjectsLocationsCertificateIssuanceConfigsService) Delete(name string) *ProjectsLocationsCertificateIssuanceConfigsDeleteCall

Delete: Deletes a single CertificateIssuanceConfig.

func (*ProjectsLocationsCertificateIssuanceConfigsService) Get

func (r *ProjectsLocationsCertificateIssuanceConfigsService) Get(name string) *ProjectsLocationsCertificateIssuanceConfigsGetCall

Get: Gets details of a single CertificateIssuanceConfig.

func (*ProjectsLocationsCertificateIssuanceConfigsService) List

func (r *ProjectsLocationsCertificateIssuanceConfigsService) List(parent string) *ProjectsLocationsCertificateIssuanceConfigsListCall

List: Lists CertificateIssuanceConfigs in a given project and location.

type ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) CertificateMapEntryId

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) CertificateMapEntryId(certificateMapEntryId string) *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Context

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Do

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Header

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Header() http.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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Do

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Header

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Header() http.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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Do

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Do(opts ...googleapi.CallOption) (*CertificateMapEntry, error)

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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Header

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

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) IfNoneMatch

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

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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Do

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Do(opts ...googleapi.CallOption) (*ListCertificateMapEntriesResponse, error)

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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Filter

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Filter(filter string) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Header

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

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) IfNoneMatch

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

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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) OrderBy(orderBy string) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall

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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) PageSize(pageSize int64) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall

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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) PageToken(pageToken string) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall

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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Pages(ctx context.Context, f func(*ListCertificateMapEntriesResponse) error) error

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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Do

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Header

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

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) UpdateMask

func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall

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 NewProjectsLocationsCertificateMapsCertificateMapEntriesService

func NewProjectsLocationsCertificateMapsCertificateMapEntriesService(s *Service) *ProjectsLocationsCertificateMapsCertificateMapEntriesService

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService) Create

func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Create(parent string, certificatemapentry *CertificateMapEntry) *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall

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

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService) Delete

func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Delete(name string) *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall

Delete: Deletes a single CertificateMapEntry.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService) Get

func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Get(name string) *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall

Get: Gets details of a single CertificateMapEntry.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService) List

func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) List(parent string) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall

List: Lists CertificateMapEntries in a given project and location.

func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService) Patch

func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Patch(name string, certificatemapentry *CertificateMapEntry) *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall

Patch: Updates a CertificateMapEntry.

type ProjectsLocationsCertificateMapsCreateCall

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

func (*ProjectsLocationsCertificateMapsCreateCall) CertificateMapId

func (c *ProjectsLocationsCertificateMapsCreateCall) CertificateMapId(certificateMapId string) *ProjectsLocationsCertificateMapsCreateCall

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

func (*ProjectsLocationsCertificateMapsCreateCall) Context

func (c *ProjectsLocationsCertificateMapsCreateCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsCreateCall

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

func (*ProjectsLocationsCertificateMapsCreateCall) Do

func (c *ProjectsLocationsCertificateMapsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsCertificateMapsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCreateCall

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

func (*ProjectsLocationsCertificateMapsCreateCall) Header

func (c *ProjectsLocationsCertificateMapsCreateCall) Header() http.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

func (c *ProjectsLocationsCertificateMapsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsDeleteCall

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

func (*ProjectsLocationsCertificateMapsDeleteCall) Do

func (c *ProjectsLocationsCertificateMapsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsCertificateMapsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsDeleteCall

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

func (*ProjectsLocationsCertificateMapsDeleteCall) Header

func (c *ProjectsLocationsCertificateMapsDeleteCall) Header() http.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

func (c *ProjectsLocationsCertificateMapsGetCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsGetCall

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

func (*ProjectsLocationsCertificateMapsGetCall) Do

func (c *ProjectsLocationsCertificateMapsGetCall) Do(opts ...googleapi.CallOption) (*CertificateMap, error)

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

func (c *ProjectsLocationsCertificateMapsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsGetCall

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

func (*ProjectsLocationsCertificateMapsGetCall) Header

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

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

func (*ProjectsLocationsCertificateMapsGetCall) IfNoneMatch

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

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

func (c *ProjectsLocationsCertificateMapsListCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsListCall

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

func (*ProjectsLocationsCertificateMapsListCall) Do

func (c *ProjectsLocationsCertificateMapsListCall) Do(opts ...googleapi.CallOption) (*ListCertificateMapsResponse, error)

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

func (c *ProjectsLocationsCertificateMapsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsListCall

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

func (*ProjectsLocationsCertificateMapsListCall) Filter

func (c *ProjectsLocationsCertificateMapsListCall) Filter(filter string) *ProjectsLocationsCertificateMapsListCall

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

func (*ProjectsLocationsCertificateMapsListCall) Header

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

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

func (*ProjectsLocationsCertificateMapsListCall) IfNoneMatch

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

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

func (c *ProjectsLocationsCertificateMapsListCall) OrderBy(orderBy string) *ProjectsLocationsCertificateMapsListCall

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

func (c *ProjectsLocationsCertificateMapsListCall) PageSize(pageSize int64) *ProjectsLocationsCertificateMapsListCall

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

func (*ProjectsLocationsCertificateMapsListCall) PageToken

func (c *ProjectsLocationsCertificateMapsListCall) PageToken(pageToken string) *ProjectsLocationsCertificateMapsListCall

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

func (c *ProjectsLocationsCertificateMapsListCall) Pages(ctx context.Context, f func(*ListCertificateMapsResponse) error) error

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

func (c *ProjectsLocationsCertificateMapsPatchCall) Context(ctx context.Context) *ProjectsLocationsCertificateMapsPatchCall

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

func (*ProjectsLocationsCertificateMapsPatchCall) Do

func (c *ProjectsLocationsCertificateMapsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsCertificateMapsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsPatchCall

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

func (*ProjectsLocationsCertificateMapsPatchCall) Header

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

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

func (*ProjectsLocationsCertificateMapsPatchCall) UpdateMask

func (c *ProjectsLocationsCertificateMapsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCertificateMapsPatchCall

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

func (r *ProjectsLocationsCertificateMapsService) Create(parent string, certificatemap *CertificateMap) *ProjectsLocationsCertificateMapsCreateCall

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

func (*ProjectsLocationsCertificateMapsService) Delete

func (r *ProjectsLocationsCertificateMapsService) Delete(name string) *ProjectsLocationsCertificateMapsDeleteCall

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.

func (*ProjectsLocationsCertificateMapsService) Get

func (r *ProjectsLocationsCertificateMapsService) Get(name string) *ProjectsLocationsCertificateMapsGetCall

Get: Gets details of a single CertificateMap.

func (*ProjectsLocationsCertificateMapsService) List

func (r *ProjectsLocationsCertificateMapsService) List(parent string) *ProjectsLocationsCertificateMapsListCall

List: Lists CertificateMaps in a given project and location.

func (*ProjectsLocationsCertificateMapsService) Patch

func (r *ProjectsLocationsCertificateMapsService) Patch(name string, certificatemap *CertificateMap) *ProjectsLocationsCertificateMapsPatchCall

Patch: Updates a CertificateMap.

type ProjectsLocationsCertificatesCreateCall

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

func (*ProjectsLocationsCertificatesCreateCall) CertificateId

func (c *ProjectsLocationsCertificatesCreateCall) CertificateId(certificateId string) *ProjectsLocationsCertificatesCreateCall

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

func (*ProjectsLocationsCertificatesCreateCall) Context

func (c *ProjectsLocationsCertificatesCreateCall) Context(ctx context.Context) *ProjectsLocationsCertificatesCreateCall

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

func (*ProjectsLocationsCertificatesCreateCall) Do

func (c *ProjectsLocationsCertificatesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsCertificatesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesCreateCall

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

func (*ProjectsLocationsCertificatesCreateCall) Header

func (c *ProjectsLocationsCertificatesCreateCall) Header() http.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

func (c *ProjectsLocationsCertificatesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCertificatesDeleteCall

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

func (*ProjectsLocationsCertificatesDeleteCall) Do

func (c *ProjectsLocationsCertificatesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsCertificatesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesDeleteCall

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

func (*ProjectsLocationsCertificatesDeleteCall) Header

func (c *ProjectsLocationsCertificatesDeleteCall) Header() http.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

func (c *ProjectsLocationsCertificatesGetCall) Context(ctx context.Context) *ProjectsLocationsCertificatesGetCall

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

func (*ProjectsLocationsCertificatesGetCall) Do

func (c *ProjectsLocationsCertificatesGetCall) Do(opts ...googleapi.CallOption) (*Certificate, error)

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

func (c *ProjectsLocationsCertificatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesGetCall

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

func (*ProjectsLocationsCertificatesGetCall) Header

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

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

func (*ProjectsLocationsCertificatesGetCall) IfNoneMatch

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

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

func (c *ProjectsLocationsCertificatesListCall) Context(ctx context.Context) *ProjectsLocationsCertificatesListCall

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

func (*ProjectsLocationsCertificatesListCall) Do

func (c *ProjectsLocationsCertificatesListCall) Do(opts ...googleapi.CallOption) (*ListCertificatesResponse, error)

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

func (c *ProjectsLocationsCertificatesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesListCall

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

func (*ProjectsLocationsCertificatesListCall) Filter

func (c *ProjectsLocationsCertificatesListCall) Filter(filter string) *ProjectsLocationsCertificatesListCall

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

func (*ProjectsLocationsCertificatesListCall) Header

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

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

func (*ProjectsLocationsCertificatesListCall) IfNoneMatch

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

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

func (c *ProjectsLocationsCertificatesListCall) OrderBy(orderBy string) *ProjectsLocationsCertificatesListCall

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

func (c *ProjectsLocationsCertificatesListCall) PageSize(pageSize int64) *ProjectsLocationsCertificatesListCall

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

func (*ProjectsLocationsCertificatesListCall) PageToken

func (c *ProjectsLocationsCertificatesListCall) PageToken(pageToken string) *ProjectsLocationsCertificatesListCall

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

func (c *ProjectsLocationsCertificatesListCall) Pages(ctx context.Context, f func(*ListCertificatesResponse) error) error

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

func (c *ProjectsLocationsCertificatesPatchCall) Context(ctx context.Context) *ProjectsLocationsCertificatesPatchCall

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

func (*ProjectsLocationsCertificatesPatchCall) Do

func (c *ProjectsLocationsCertificatesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsCertificatesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesPatchCall

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

func (*ProjectsLocationsCertificatesPatchCall) Header

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

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

func (*ProjectsLocationsCertificatesPatchCall) UpdateMask

func (c *ProjectsLocationsCertificatesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCertificatesPatchCall

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

func (r *ProjectsLocationsCertificatesService) Create(parent string, certificate *Certificate) *ProjectsLocationsCertificatesCreateCall

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

func (*ProjectsLocationsCertificatesService) Delete

func (r *ProjectsLocationsCertificatesService) Delete(name string) *ProjectsLocationsCertificatesDeleteCall

Delete: Deletes a single Certificate.

func (*ProjectsLocationsCertificatesService) Get

func (r *ProjectsLocationsCertificatesService) Get(name string) *ProjectsLocationsCertificatesGetCall

Get: Gets details of a single Certificate.

func (*ProjectsLocationsCertificatesService) List

func (r *ProjectsLocationsCertificatesService) List(parent string) *ProjectsLocationsCertificatesListCall

List: Lists Certificates in a given project and location.

func (*ProjectsLocationsCertificatesService) Patch

func (r *ProjectsLocationsCertificatesService) Patch(name string, certificate *Certificate) *ProjectsLocationsCertificatesPatchCall

Patch: Updates a Certificate.

type ProjectsLocationsDnsAuthorizationsCreateCall

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

func (*ProjectsLocationsDnsAuthorizationsCreateCall) Context

func (c *ProjectsLocationsDnsAuthorizationsCreateCall) Context(ctx context.Context) *ProjectsLocationsDnsAuthorizationsCreateCall

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

func (*ProjectsLocationsDnsAuthorizationsCreateCall) DnsAuthorizationId

func (c *ProjectsLocationsDnsAuthorizationsCreateCall) DnsAuthorizationId(dnsAuthorizationId string) *ProjectsLocationsDnsAuthorizationsCreateCall

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

func (*ProjectsLocationsDnsAuthorizationsCreateCall) Do

func (c *ProjectsLocationsDnsAuthorizationsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsDnsAuthorizationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsCreateCall

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

func (*ProjectsLocationsDnsAuthorizationsCreateCall) Header

func (c *ProjectsLocationsDnsAuthorizationsCreateCall) Header() http.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

func (c *ProjectsLocationsDnsAuthorizationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDnsAuthorizationsDeleteCall

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

func (*ProjectsLocationsDnsAuthorizationsDeleteCall) Do

func (c *ProjectsLocationsDnsAuthorizationsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsDnsAuthorizationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsDeleteCall

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

func (*ProjectsLocationsDnsAuthorizationsDeleteCall) Header

func (c *ProjectsLocationsDnsAuthorizationsDeleteCall) Header() http.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

func (c *ProjectsLocationsDnsAuthorizationsGetCall) Context(ctx context.Context) *ProjectsLocationsDnsAuthorizationsGetCall

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

func (*ProjectsLocationsDnsAuthorizationsGetCall) Do

func (c *ProjectsLocationsDnsAuthorizationsGetCall) Do(opts ...googleapi.CallOption) (*DnsAuthorization, error)

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

func (c *ProjectsLocationsDnsAuthorizationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsGetCall

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

func (*ProjectsLocationsDnsAuthorizationsGetCall) Header

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

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

func (*ProjectsLocationsDnsAuthorizationsGetCall) IfNoneMatch

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

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

func (c *ProjectsLocationsDnsAuthorizationsListCall) Context(ctx context.Context) *ProjectsLocationsDnsAuthorizationsListCall

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

func (*ProjectsLocationsDnsAuthorizationsListCall) Do

func (c *ProjectsLocationsDnsAuthorizationsListCall) Do(opts ...googleapi.CallOption) (*ListDnsAuthorizationsResponse, error)

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

func (c *ProjectsLocationsDnsAuthorizationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsListCall

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

func (*ProjectsLocationsDnsAuthorizationsListCall) Filter

func (c *ProjectsLocationsDnsAuthorizationsListCall) Filter(filter string) *ProjectsLocationsDnsAuthorizationsListCall

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

func (*ProjectsLocationsDnsAuthorizationsListCall) Header

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

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

func (*ProjectsLocationsDnsAuthorizationsListCall) IfNoneMatch

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

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

func (c *ProjectsLocationsDnsAuthorizationsListCall) OrderBy(orderBy string) *ProjectsLocationsDnsAuthorizationsListCall

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

func (c *ProjectsLocationsDnsAuthorizationsListCall) PageSize(pageSize int64) *ProjectsLocationsDnsAuthorizationsListCall

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

func (*ProjectsLocationsDnsAuthorizationsListCall) PageToken

func (c *ProjectsLocationsDnsAuthorizationsListCall) PageToken(pageToken string) *ProjectsLocationsDnsAuthorizationsListCall

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

func (c *ProjectsLocationsDnsAuthorizationsListCall) Pages(ctx context.Context, f func(*ListDnsAuthorizationsResponse) error) error

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

func (c *ProjectsLocationsDnsAuthorizationsPatchCall) Context(ctx context.Context) *ProjectsLocationsDnsAuthorizationsPatchCall

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

func (*ProjectsLocationsDnsAuthorizationsPatchCall) Do

func (c *ProjectsLocationsDnsAuthorizationsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsDnsAuthorizationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsPatchCall

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

func (*ProjectsLocationsDnsAuthorizationsPatchCall) Header

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

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

func (*ProjectsLocationsDnsAuthorizationsPatchCall) UpdateMask

func (c *ProjectsLocationsDnsAuthorizationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDnsAuthorizationsPatchCall

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

func (r *ProjectsLocationsDnsAuthorizationsService) Create(parent string, dnsauthorization *DnsAuthorization) *ProjectsLocationsDnsAuthorizationsCreateCall

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

func (*ProjectsLocationsDnsAuthorizationsService) Delete

func (r *ProjectsLocationsDnsAuthorizationsService) Delete(name string) *ProjectsLocationsDnsAuthorizationsDeleteCall

Delete: Deletes a single DnsAuthorization.

func (*ProjectsLocationsDnsAuthorizationsService) Get

func (r *ProjectsLocationsDnsAuthorizationsService) Get(name string) *ProjectsLocationsDnsAuthorizationsGetCall

Get: Gets details of a single DnsAuthorization.

func (*ProjectsLocationsDnsAuthorizationsService) List

func (r *ProjectsLocationsDnsAuthorizationsService) List(parent string) *ProjectsLocationsDnsAuthorizationsListCall

List: Lists DnsAuthorizations in a given project and location.

func (*ProjectsLocationsDnsAuthorizationsService) Patch

func (r *ProjectsLocationsDnsAuthorizationsService) Patch(name string, dnsauthorization *DnsAuthorization) *ProjectsLocationsDnsAuthorizationsPatchCall

Patch: Updates a DnsAuthorization.

type ProjectsLocationsGetCall

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

func (*ProjectsLocationsGetCall) Context

func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall

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

func (*ProjectsLocationsGetCall) Do

func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)

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

func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall

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

func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall

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

func (*ProjectsLocationsListCall) Do

func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)

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

func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall

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

func (*ProjectsLocationsListCall) Filter

func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall

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

func (c *ProjectsLocationsListCall) Header() http.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

func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall

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

func (*ProjectsLocationsListCall) PageToken

func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall

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

func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error

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

func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall

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

func (*ProjectsLocationsOperationsCancelCall) Do

func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)

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

func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall

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

func (*ProjectsLocationsOperationsCancelCall) Header

func (c *ProjectsLocationsOperationsCancelCall) Header() http.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

func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall

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

func (*ProjectsLocationsOperationsDeleteCall) Do

func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

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

func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall

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

func (*ProjectsLocationsOperationsDeleteCall) Header

func (c *ProjectsLocationsOperationsDeleteCall) Header() http.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

func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall

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

func (*ProjectsLocationsOperationsGetCall) Do

func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall

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

func (*ProjectsLocationsOperationsGetCall) Header

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

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

func (*ProjectsLocationsOperationsGetCall) IfNoneMatch

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

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

func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall

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

func (*ProjectsLocationsOperationsListCall) Do

func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)

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

func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall

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

func (*ProjectsLocationsOperationsListCall) Filter

func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall

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

func (*ProjectsLocationsOperationsListCall) Header

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

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

func (*ProjectsLocationsOperationsListCall) IfNoneMatch

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

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

func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall

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

func (*ProjectsLocationsOperationsListCall) PageToken

func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall

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

func (*ProjectsLocationsOperationsListCall) Pages

func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error

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

func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall

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

func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall

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

func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall

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

func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall

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

func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService) List

func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall

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

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

type ProjectsLocationsTrustConfigsCreateCall

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

func (*ProjectsLocationsTrustConfigsCreateCall) Context

func (c *ProjectsLocationsTrustConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsTrustConfigsCreateCall

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

func (*ProjectsLocationsTrustConfigsCreateCall) Do

func (c *ProjectsLocationsTrustConfigsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsTrustConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsCreateCall

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

func (*ProjectsLocationsTrustConfigsCreateCall) Header

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

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

func (*ProjectsLocationsTrustConfigsCreateCall) TrustConfigId

func (c *ProjectsLocationsTrustConfigsCreateCall) TrustConfigId(trustConfigId string) *ProjectsLocationsTrustConfigsCreateCall

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

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

func (*ProjectsLocationsTrustConfigsDeleteCall) Context

func (c *ProjectsLocationsTrustConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTrustConfigsDeleteCall

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

func (*ProjectsLocationsTrustConfigsDeleteCall) Do

func (c *ProjectsLocationsTrustConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsTrustConfigsDeleteCall) Etag(etag string) *ProjectsLocationsTrustConfigsDeleteCall

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

func (c *ProjectsLocationsTrustConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsDeleteCall

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

func (*ProjectsLocationsTrustConfigsDeleteCall) Header

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

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

type ProjectsLocationsTrustConfigsGetCall

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

func (*ProjectsLocationsTrustConfigsGetCall) Context

func (c *ProjectsLocationsTrustConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsTrustConfigsGetCall

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

func (*ProjectsLocationsTrustConfigsGetCall) Do

func (c *ProjectsLocationsTrustConfigsGetCall) Do(opts ...googleapi.CallOption) (*TrustConfig, error)

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

func (c *ProjectsLocationsTrustConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsGetCall

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

func (*ProjectsLocationsTrustConfigsGetCall) Header

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

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

func (*ProjectsLocationsTrustConfigsGetCall) IfNoneMatch

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

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

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

func (*ProjectsLocationsTrustConfigsListCall) Context

func (c *ProjectsLocationsTrustConfigsListCall) Context(ctx context.Context) *ProjectsLocationsTrustConfigsListCall

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

func (*ProjectsLocationsTrustConfigsListCall) Do

func (c *ProjectsLocationsTrustConfigsListCall) Do(opts ...googleapi.CallOption) (*ListTrustConfigsResponse, error)

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

func (c *ProjectsLocationsTrustConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsListCall

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

func (*ProjectsLocationsTrustConfigsListCall) Filter

func (c *ProjectsLocationsTrustConfigsListCall) Filter(filter string) *ProjectsLocationsTrustConfigsListCall

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

func (*ProjectsLocationsTrustConfigsListCall) Header

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

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

func (*ProjectsLocationsTrustConfigsListCall) IfNoneMatch

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

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

func (c *ProjectsLocationsTrustConfigsListCall) OrderBy(orderBy string) *ProjectsLocationsTrustConfigsListCall

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

func (c *ProjectsLocationsTrustConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsTrustConfigsListCall

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

func (*ProjectsLocationsTrustConfigsListCall) PageToken

func (c *ProjectsLocationsTrustConfigsListCall) PageToken(pageToken string) *ProjectsLocationsTrustConfigsListCall

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

func (c *ProjectsLocationsTrustConfigsListCall) Pages(ctx context.Context, f func(*ListTrustConfigsResponse) error) error

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

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

func (*ProjectsLocationsTrustConfigsPatchCall) Context

func (c *ProjectsLocationsTrustConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsTrustConfigsPatchCall

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

func (*ProjectsLocationsTrustConfigsPatchCall) Do

func (c *ProjectsLocationsTrustConfigsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)

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

func (c *ProjectsLocationsTrustConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsPatchCall

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

func (*ProjectsLocationsTrustConfigsPatchCall) Header

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

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

func (*ProjectsLocationsTrustConfigsPatchCall) UpdateMask

func (c *ProjectsLocationsTrustConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTrustConfigsPatchCall

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

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

func NewProjectsLocationsTrustConfigsService

func NewProjectsLocationsTrustConfigsService(s *Service) *ProjectsLocationsTrustConfigsService

func (*ProjectsLocationsTrustConfigsService) Create

func (r *ProjectsLocationsTrustConfigsService) Create(parent string, trustconfig *TrustConfig) *ProjectsLocationsTrustConfigsCreateCall

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

func (*ProjectsLocationsTrustConfigsService) Delete

func (r *ProjectsLocationsTrustConfigsService) Delete(name string) *ProjectsLocationsTrustConfigsDeleteCall

Delete: Deletes a single TrustConfig.

func (*ProjectsLocationsTrustConfigsService) Get

func (r *ProjectsLocationsTrustConfigsService) Get(name string) *ProjectsLocationsTrustConfigsGetCall

Get: Gets details of a single TrustConfig.

func (*ProjectsLocationsTrustConfigsService) List

func (r *ProjectsLocationsTrustConfigsService) List(parent string) *ProjectsLocationsTrustConfigsListCall

List: Lists TrustConfigs in a given project and location.

func (*ProjectsLocationsTrustConfigsService) Patch

func (r *ProjectsLocationsTrustConfigsService) Patch(name string, trustconfig *TrustConfig) *ProjectsLocationsTrustConfigsPatchCall

Patch: Updates a TrustConfig.

type ProjectsService

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

func NewProjectsService

func NewProjectsService(s *Service) *ProjectsService

type ProvisioningIssue

ProvisioningIssue: Information about issues with provisioning a Managed Certificate.

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:"-"`
}

func (*ProvisioningIssue) MarshalJSON

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

type SelfManagedCertificate

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.

type SelfManagedCertificate struct {
    // PemCertificate: Input only. The PEM-encoded certificate chain. Leaf
    // certificate comes first, followed by intermediate ones if any.
    PemCertificate string `json:"pemCertificate,omitempty"`
    // PemPrivateKey: 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:"-"`
}

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

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

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

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:"-"`
}

func (*Status) MarshalJSON

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

type TrustAnchor

TrustAnchor: Defines a trust anchor.

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:"-"`
}

func (*TrustAnchor) MarshalJSON

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

type TrustConfig

TrustConfig: Defines a trust config.

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: 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: Set of labels associated with a TrustConfig.
    Labels map[string]string `json:"labels,omitempty"`
    // Name: 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: 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:"-"`
}

func (*TrustConfig) MarshalJSON

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

type TrustStore

TrustStore: Defines a trust store.

type TrustStore struct {
    // IntermediateCas: 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: 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:"-"`
}

func (*TrustStore) MarshalJSON

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