certificatemanager
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package certificatemanager provides access to the Certificate Manager API.
For product documentation, see:https://cloud.google.com/certificate-manager
Library status¶
These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany 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 forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options¶
To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.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 OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)certificatemanagerService, err := certificatemanager.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))Seegoogle.golang.org/api/option.ClientOption for details on options.
Index¶
- Constants
- type AllowlistedCertificate
- type AuthorizationAttemptInfo
- type CNAME
- type CancelOperationRequest
- type Certificate
- type CertificateAuthorityConfig
- type CertificateAuthorityServiceConfig
- type CertificateIssuanceConfig
- type CertificateMap
- type CertificateMapEntry
- type DnsAuthorization
- type DnsResourceRecord
- type Empty
- type GclbTarget
- type IPs
- type IntermediateCA
- type IpConfig
- type ListCertificateIssuanceConfigsResponse
- type ListCertificateMapEntriesResponse
- type ListCertificateMapsResponse
- type ListCertificatesResponse
- type ListDnsAuthorizationsResponse
- type ListLocationsResponse
- type ListOperationsResponse
- type ListTrustConfigsResponse
- type Location
- type ManagedCertificate
- type Operation
- type OperationMetadata
- 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 ProjectsLocationsCertificateIssuanceConfigsPatchCall
- func (c *ProjectsLocationsCertificateIssuanceConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsCertificateIssuanceConfigsPatchCall
- func (c *ProjectsLocationsCertificateIssuanceConfigsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsCertificateIssuanceConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsPatchCall
- func (c *ProjectsLocationsCertificateIssuanceConfigsPatchCall) Header() http.Header
- func (c *ProjectsLocationsCertificateIssuanceConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCertificateIssuanceConfigsPatchCall
- type 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
- func (r *ProjectsLocationsCertificateIssuanceConfigsService) Patch(name string, certificateissuanceconfig *CertificateIssuanceConfig) *ProjectsLocationsCertificateIssuanceConfigsPatchCall
- 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 (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 (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 (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 (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) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
- 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
- func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsOperationsListCall
- type 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
- 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 (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
- type ProvisioningIssue
- type SelfManagedCertificate
- type Service
- type Status
- type Troubleshooting
- type TrustAnchor
- type TrustConfig
- type TrustStore
- type UsedBy
Constants¶
const (// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform")
OAuth2 scopes used by this API.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeAllowlistedCertificate¶added inv0.172.0
type AllowlistedCertificate struct {// PemCertificate: Required. PEM certificate that is allowlisted. The// certificate can be up to 5k bytes, and must be a parseable X.509// certificate.PemCertificatestring `json:"pemCertificate,omitempty"`// ForceSendFields is a list of field names (e.g. "PemCertificate") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PemCertificate") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}AllowlistedCertificate: Defines an allowlisted certificate.
func (AllowlistedCertificate)MarshalJSON¶added inv0.172.0
func (sAllowlistedCertificate) MarshalJSON() ([]byte,error)
typeAuthorizationAttemptInfo¶
type AuthorizationAttemptInfo struct {// AttemptTime: Output only. The timestamp, when the authorization attempt was// made.AttemptTimestring `json:"attemptTime,omitempty"`// 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.Detailsstring `json:"details,omitempty"`// Domain: Output only. Domain name of the authorization attempt.Domainstring `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.FailureReasonstring `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.Statestring `json:"state,omitempty"`// Troubleshooting: Output only. Troubleshooting information for the// authorization attempt. This field is only populated if the authorization// attempt failed.Troubleshooting *Troubleshooting `json:"troubleshooting,omitempty"`// ForceSendFields is a list of field names (e.g. "AttemptTime") 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. "AttemptTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}AuthorizationAttemptInfo: State of the latest attempt to authorize a domainfor certificate issuance.
func (AuthorizationAttemptInfo)MarshalJSON¶
func (sAuthorizationAttemptInfo) MarshalJSON() ([]byte,error)
typeCNAME¶added inv0.251.0
type CNAME struct {// ExpectedData: Output only. The expected value of the CNAME record for the// domain, equals to `dns_resource_record.data` in the corresponding// `DnsAuthorization`.ExpectedDatastring `json:"expectedData,omitempty"`// Name: Output only. The name of the CNAME record for the domain, equals to// `dns_resource_record.name` in the corresponding `DnsAuthorization`.Namestring `json:"name,omitempty"`// ResolvedData: Output only. The resolved CNAME chain. Empty list if the CNAME// record for `CNAME.name` is not found. Otherwise the first item is the value// of the CNAME record for `CNAME.name`. If the CNAME chain is longer, the// second item is the value of the CNAME record for the first item, and so on.ResolvedData []string `json:"resolvedData,omitempty"`// ForceSendFields is a list of field names (e.g. "ExpectedData") 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. "ExpectedData") 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:"-"`}CNAME: CNAME troubleshooting information.
func (CNAME)MarshalJSON¶added inv0.251.0
typeCancelOperationRequest¶
type CancelOperationRequest struct {}CancelOperationRequest: The request message for Operations.CancelOperation.
typeCertificate¶
type Certificate struct {// CreateTime: Output only. The creation timestamp of a Certificate.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. One or more paragraphs of text description of a// certificate.Descriptionstring `json:"description,omitempty"`// ExpireTime: Output only. The expiry timestamp of a Certificate.ExpireTimestring `json:"expireTime,omitempty"`// Labels: Optional. Set of labels associated with a Certificate.Labels map[string]string `json:"labels,omitempty"`// Managed: If set, contains configuration and state of a managed certificate.Managed *ManagedCertificate `json:"managed,omitempty"`// Name: Identifier. A user-defined name of the certificate. Certificate names// must be unique globally and match pattern// `projects/*/locations/*/certificates/*`.Namestring `json:"name,omitempty"`// PemCertificate: Output only. The PEM-encoded certificate chain.PemCertificatestring `json:"pemCertificate,omitempty"`// SanDnsnames: Output only. The list of Subject Alternative Names of dnsName// type defined in the certificate (seeRFC 5280 4.2.1.6). Managed certificates// that haven't been provisioned yet have this field populated with a value of// the managed.domains field.SanDnsnames []string `json:"sanDnsnames,omitempty"`// Scope: Optional. Immutable. The scope of the certificate.//// Possible values:// "DEFAULT" - Use the DEFAULT scope if you plan to use the certificate with// global external Application Load Balancer, global external proxy Network// Load Balancer, or any of the regional Google Cloud services.// "EDGE_CACHE" - Use the EDGE_CACHE scope if you plan to use the certificate// with Media CDN. The certificates are served from Edge Points of Presence.// Seehttps://cloud.google.com/vpc/docs/edge-locations.// "ALL_REGIONS" - Use the ALL_REGIONS scope if you plan to use the// certificate with cross-region internal Application Load Balancer. The// certificates are served from all Google Cloud regions. See//https://cloud.google.com/compute/docs/regions-zones.// "CLIENT_AUTH" - Associated with certificates used as client certificates// in Backend mTLS.Scopestring `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.UpdateTimestring `json:"updateTime,omitempty"`// UsedBy: Output only. The list of resources that use this Certificate.UsedBy []*UsedBy `json:"usedBy,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Certificate: Defines TLS certificate.
func (Certificate)MarshalJSON¶
func (sCertificate) MarshalJSON() ([]byte,error)
typeCertificateAuthorityConfig¶added inv0.100.0
type CertificateAuthorityConfig struct {// CertificateAuthorityServiceConfig: Defines a// CertificateAuthorityServiceConfig.CertificateAuthorityServiceConfig *CertificateAuthorityServiceConfig `json:"certificateAuthorityServiceConfig,omitempty"`// ForceSendFields is a list of field names (e.g.// "CertificateAuthorityServiceConfig") to unconditionally include in API// requests. By default, fields with empty or default values are omitted from// API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "CertificateAuthorityServiceConfig") to include in API requests with the// JSON null value. By default, fields with empty values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-NullFields for// more details.NullFields []string `json:"-"`}CertificateAuthorityConfig: The CA that issues the workload certificate. Itincludes CA address, type, authentication to CA service, etc.
func (CertificateAuthorityConfig)MarshalJSON¶added inv0.100.0
func (sCertificateAuthorityConfig) MarshalJSON() ([]byte,error)
typeCertificateAuthorityServiceConfig¶added inv0.100.0
type CertificateAuthorityServiceConfig struct {// CaPool: Required. A CA pool resource used to issue a certificate. The CA// pool string has a relative resource path following the form// "projects/{project}/locations/{location}/caPools/{ca_pool}".CaPoolstring `json:"caPool,omitempty"`// ForceSendFields is a list of field names (e.g. "CaPool") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CaPool") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}CertificateAuthorityServiceConfig: Contains information required to contactCA service.
func (CertificateAuthorityServiceConfig)MarshalJSON¶added inv0.100.0
func (sCertificateAuthorityServiceConfig) MarshalJSON() ([]byte,error)
typeCertificateIssuanceConfig¶added inv0.100.0
type CertificateIssuanceConfig struct {// CertificateAuthorityConfig: Required. The CA that issues the workload// certificate. It includes the CA address, type, authentication to CA service,// etc.CertificateAuthorityConfig *CertificateAuthorityConfig `json:"certificateAuthorityConfig,omitempty"`// CreateTime: Output only. The creation timestamp of a// CertificateIssuanceConfig.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. One or more paragraphs of text description of a// CertificateIssuanceConfig.Descriptionstring `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.KeyAlgorithmstring `json:"keyAlgorithm,omitempty"`// Labels: Optional. Set of labels associated with a CertificateIssuanceConfig.Labels map[string]string `json:"labels,omitempty"`// Lifetime: Required. Workload certificate lifetime requested.Lifetimestring `json:"lifetime,omitempty"`// Name: Identifier. A user-defined name of the certificate issuance config.// CertificateIssuanceConfig names must be unique globally and match pattern// `projects/*/locations/*/certificateIssuanceConfigs/*`.Namestring `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.RotationWindowPercentageint64 `json:"rotationWindowPercentage,omitempty"`// UpdateTime: Output only. The last update timestamp of a// CertificateIssuanceConfig.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CertificateAuthorityConfig")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CertificateAuthorityConfig") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}CertificateIssuanceConfig: CertificateIssuanceConfig specifies how to issueand manage a certificate.
func (CertificateIssuanceConfig)MarshalJSON¶added inv0.100.0
func (sCertificateIssuanceConfig) MarshalJSON() ([]byte,error)
typeCertificateMap¶
type CertificateMap struct {// CreateTime: Output only. The creation timestamp of a Certificate Map.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. One or more paragraphs of text description of a// certificate map.Descriptionstring `json:"description,omitempty"`// GclbTargets: Output only. A list of GCLB targets that use this Certificate// Map. A Target Proxy is only present on this list if it's attached to a// Forwarding Rule.GclbTargets []*GclbTarget `json:"gclbTargets,omitempty"`// Labels: Optional. Set of labels associated with a Certificate Map.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. A user-defined name of the Certificate Map. Certificate// Map names must be unique globally and match pattern// `projects/*/locations/*/certificateMaps/*`.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The update timestamp of a Certificate Map.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}CertificateMap: Defines a collection of certificate configurations.
func (CertificateMap)MarshalJSON¶
func (sCertificateMap) MarshalJSON() ([]byte,error)
typeCertificateMapEntry¶
type CertificateMapEntry struct {// Certificates: Optional. A set of Certificates defines for the given// `hostname`. There can be defined up to four certificates in each Certificate// Map Entry. Each certificate must match pattern// `projects/*/locations/*/certificates/*`.Certificates []string `json:"certificates,omitempty"`// CreateTime: Output only. The creation timestamp of a Certificate Map Entry.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. One or more paragraphs of text description of a// certificate map entry.Descriptionstring `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.Hostnamestring `json:"hostname,omitempty"`// Labels: Optional. Set of labels associated with a Certificate Map Entry.Labels map[string]string `json:"labels,omitempty"`// Matcher: A predefined matcher for particular cases, other than SNI// selection.//// Possible values:// "MATCHER_UNSPECIFIED" - A matcher has't been recognized.// "PRIMARY" - A primary certificate that is served when SNI wasn't specified// in the request or SNI couldn't be found in the map.Matcherstring `json:"matcher,omitempty"`// Name: Identifier. A user-defined name of the Certificate Map Entry.// Certificate Map Entry names must be unique globally and match pattern// `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.Namestring `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.Statestring `json:"state,omitempty"`// UpdateTime: Output only. The update timestamp of a Certificate Map Entry.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Certificates") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Certificates") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}CertificateMapEntry: Defines a certificate map entry.
func (CertificateMapEntry)MarshalJSON¶
func (sCertificateMapEntry) MarshalJSON() ([]byte,error)
typeDnsAuthorization¶
type DnsAuthorization struct {// CreateTime: Output only. The creation timestamp of a DnsAuthorization.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. One or more paragraphs of text description of a// DnsAuthorization.Descriptionstring `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`.Domainstring `json:"domain,omitempty"`// Labels: Optional. Set of labels associated with a DnsAuthorization.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. A user-defined name of the dns authorization.// DnsAuthorization names must be unique globally and match pattern// `projects/*/locations/*/dnsAuthorizations/*`.Namestring `json:"name,omitempty"`// Type: Optional. Immutable. Type of DnsAuthorization. If unset during// resource creation the following default will be used: - in location// `global`: FIXED_RECORD, - in other locations: PER_PROJECT_RECORD.//// Possible values:// "TYPE_UNSPECIFIED" - Type is unspecified.// "FIXED_RECORD" - FIXED_RECORD DNS authorization uses DNS-01 validation// method.// "PER_PROJECT_RECORD" - PER_PROJECT_RECORD DNS authorization allows for// independent management of Google-managed certificates with DNS authorization// across multiple projects.Typestring `json:"type,omitempty"`// UpdateTime: Output only. The last update timestamp of a DnsAuthorization.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}DnsAuthorization: A DnsAuthorization resource describes a way to performdomain authorization for certificate issuance.
func (DnsAuthorization)MarshalJSON¶
func (sDnsAuthorization) MarshalJSON() ([]byte,error)
typeDnsResourceRecord¶
type DnsResourceRecord struct {// Data: Output only. Data of the DNS Resource Record.Datastring `json:"data,omitempty"`// Name: Output only. Fully qualified name of the DNS Resource Record. e.g.// `_acme-challenge.example.com`Namestring `json:"name,omitempty"`// Type: Output only. Type of the DNS Resource Record. Currently always set to// "CNAME".Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "Data") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Data") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}DnsResourceRecord: The structure describing the DNS Resource Record thatneeds to be added to DNS configuration for the authorization to be usable bycertificate.
func (DnsResourceRecord)MarshalJSON¶
func (sDnsResourceRecord) MarshalJSON() ([]byte,error)
typeEmpty¶
type Empty struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}Empty: A generic empty message that you can re-use to avoid definingduplicated empty messages in your APIs. A typical example is to use it asthe request or the response type of an API method. For instance: service Foo{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
typeGclbTarget¶
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/*`.TargetHttpsProxystring `json:"targetHttpsProxy,omitempty"`// TargetSslProxy: Output only. This field returns the resource name in the// following format:// `//compute.googleapis.com/projects/*/global/targetSslProxies/*`.TargetSslProxystring `json:"targetSslProxy,omitempty"`// ForceSendFields is a list of field names (e.g. "IpConfigs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IpConfigs") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GclbTarget: Describes a Target Proxy that uses this Certificate Map.
func (GclbTarget)MarshalJSON¶
func (sGclbTarget) MarshalJSON() ([]byte,error)
typeIPs¶added inv0.251.0
type IPs struct {// Resolved: Output only. The list of IP addresses resolved from the domain's// A/AAAA records. Can contain both ipv4 and ipv6 addresses.Resolved []string `json:"resolved,omitempty"`// Serving: Output only. The list of IP addresses, where the certificate is// attached and port 443 is open.Serving []string `json:"serving,omitempty"`// ServingOnAltPorts: Output only. The list of IP addresses, where the// certificate is attached, but port 443 is not open.ServingOnAltPorts []string `json:"servingOnAltPorts,omitempty"`// ForceSendFields is a list of field names (e.g. "Resolved") 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. "Resolved") 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:"-"`}IPs: IPs troubleshooting information.
func (IPs)MarshalJSON¶added inv0.251.0
typeIntermediateCA¶added inv0.118.0
type IntermediateCA struct {// PemCertificate: PEM intermediate certificate used for building up paths for// validation. Each certificate provided in PEM format may occupy up to 5kB.PemCertificatestring `json:"pemCertificate,omitempty"`// ForceSendFields is a list of field names (e.g. "PemCertificate") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PemCertificate") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}IntermediateCA: Defines an intermediate CA.
func (IntermediateCA)MarshalJSON¶added inv0.118.0
func (sIntermediateCA) MarshalJSON() ([]byte,error)
typeIpConfig¶
type IpConfig struct {// IpAddress: Output only. An external IP address.IpAddressstring `json:"ipAddress,omitempty"`// Ports: Output only. Ports.Ports []int64 `json:"ports,omitempty"`// ForceSendFields is a list of field names (e.g. "IpAddress") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IpAddress") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}IpConfig: Defines IP configuration where this Certificate Map is serving.
func (IpConfig)MarshalJSON¶
typeListCertificateIssuanceConfigsResponse¶added inv0.100.0
type ListCertificateIssuanceConfigsResponse struct {// CertificateIssuanceConfigs: A list of certificate configs for the parent// resource.CertificateIssuanceConfigs []*CertificateIssuanceConfig `json:"certificateIssuanceConfigs,omitempty"`// NextPageToken: If there might be more results than those appearing in this// response, then `next_page_token` is included. To get the next set of// results, call this method again using the value of `next_page_token` as// `page_token`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CertificateIssuanceConfigs")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CertificateIssuanceConfigs") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListCertificateIssuanceConfigsResponse: Response for the`ListCertificateIssuanceConfigs` method.
func (ListCertificateIssuanceConfigsResponse)MarshalJSON¶added inv0.100.0
func (sListCertificateIssuanceConfigsResponse) MarshalJSON() ([]byte,error)
typeListCertificateMapEntriesResponse¶
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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CertificateMapEntries") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CertificateMapEntries") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListCertificateMapEntriesResponse: Response for the`ListCertificateMapEntries` method.
func (ListCertificateMapEntriesResponse)MarshalJSON¶
func (sListCertificateMapEntriesResponse) MarshalJSON() ([]byte,error)
typeListCertificateMapsResponse¶
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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CertificateMaps") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CertificateMaps") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListCertificateMapsResponse: Response for the `ListCertificateMaps` method.
func (ListCertificateMapsResponse)MarshalJSON¶
func (sListCertificateMapsResponse) MarshalJSON() ([]byte,error)
typeListCertificatesResponse¶
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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: A list of locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Certificates") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Certificates") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListCertificatesResponse: Response for the `ListCertificates` method.
func (ListCertificatesResponse)MarshalJSON¶
func (sListCertificatesResponse) MarshalJSON() ([]byte,error)
typeListDnsAuthorizationsResponse¶
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`.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DnsAuthorizations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DnsAuthorizations") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListDnsAuthorizationsResponse: Response for the `ListDnsAuthorizations`method.
func (ListDnsAuthorizationsResponse)MarshalJSON¶
func (sListDnsAuthorizationsResponse) MarshalJSON() ([]byte,error)
typeListLocationsResponse¶
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.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Locations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Locations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLocationsResponse: The response message for Locations.ListLocations.
func (ListLocationsResponse)MarshalJSON¶
func (sListLocationsResponse) MarshalJSON() ([]byte,error)
typeListOperationsResponse¶
type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets `ListOperationsRequest.return_partial_success` and reads across// collections e.g. when attempting to list all resources across all supported// locations.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:"-"`}ListOperationsResponse: The response message for Operations.ListOperations.
func (ListOperationsResponse)MarshalJSON¶
func (sListOperationsResponse) MarshalJSON() ([]byte,error)
typeListTrustConfigsResponse¶added inv0.118.0
type ListTrustConfigsResponse struct {// NextPageToken: If there might be more results than those appearing in this// response, then `next_page_token` is included. To get the next set of// results, call this method again using the value of `next_page_token` as// `page_token`.NextPageTokenstring `json:"nextPageToken,omitempty"`// TrustConfigs: A list of TrustConfigs for the parent resource.TrustConfigs []*TrustConfig `json:"trustConfigs,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListTrustConfigsResponse: Response for the `ListTrustConfigs` method.
func (ListTrustConfigsResponse)MarshalJSON¶added inv0.118.0
func (sListTrustConfigsResponse) MarshalJSON() ([]byte,error)
typeLocation¶
type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `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".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example:// "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Location: A resource that represents a Google Cloud location.
func (Location)MarshalJSON¶
typeManagedCertificate¶
type ManagedCertificate struct {// AuthorizationAttemptInfo: Output only. Detailed state of the latest// authorization attempt for each domain specified for managed certificate// resource.AuthorizationAttemptInfo []*AuthorizationAttemptInfo `json:"authorizationAttemptInfo,omitempty"`// DnsAuthorizations: Optional. Immutable. Authorizations that will be used for// performing domain authorization.DnsAuthorizations []string `json:"dnsAuthorizations,omitempty"`// Domains: Optional. Immutable. The domains for which a managed SSL// certificate will be generated. Wildcard domains are only supported with DNS// challenge resolution.Domains []string `json:"domains,omitempty"`// IssuanceConfig: Optional. Immutable. The resource name for a// CertificateIssuanceConfig used to configure private PKI certificates in the// format `projects/*/locations/*/certificateIssuanceConfigs/*`. If this field// is not set, the certificates will instead be publicly signed as documented// at//https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.IssuanceConfigstring `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.Statestring `json:"state,omitempty"`// ForceSendFields is a list of field names (e.g. "AuthorizationAttemptInfo")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuthorizationAttemptInfo") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ManagedCertificate: Configuration and state of a Managed Certificate.Certificate Manager provisions and renews Managed Certificatesautomatically, for as long as it's authorized to do so.
func (ManagedCertificate)MarshalJSON¶
func (sManagedCertificate) MarshalJSON() ([]byte,error)
typeOperation¶
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.Donebool `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.Metadatagoogleapi.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}`.Namestring `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`.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Operation: This resource represents a long-running operation that is theresult of a network API call.
func (Operation)MarshalJSON¶
typeOperationMetadata¶
type OperationMetadata struct {// ApiVersion: API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Identifies whether the user has requested// cancellation of the operation. Operations that have successfully been// cancelled have google.longrunning.Operation.error value with a// google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Server-defined resource path for the target of the operation.Targetstring `json:"target,omitempty"`// Verb: Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}OperationMetadata: Represents the metadata of the long-running operation.Output only.
func (OperationMetadata)MarshalJSON¶
func (sOperationMetadata) MarshalJSON() ([]byte,error)
typeProjectsLocationsCertificateIssuanceConfigsCreateCall¶added inv0.100.0
type ProjectsLocationsCertificateIssuanceConfigsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall)CertificateIssuanceConfigId¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) CertificateIssuanceConfigId(certificateIssuanceConfigIdstring) *ProjectsLocationsCertificateIssuanceConfigsCreateCall
CertificateIssuanceConfigId sets the optional parameter"certificateIssuanceConfigId": Required. A user-provided name of thecertificate config.
func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall)Context¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsCertificateIssuanceConfigsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall)Do¶added inv0.100.0
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall)Fields¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateIssuanceConfigsCreateCall)Header¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsCertificateIssuanceConfigsDeleteCall¶added inv0.100.0
type ProjectsLocationsCertificateIssuanceConfigsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateIssuanceConfigsDeleteCall)Context¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsCertificateIssuanceConfigsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCertificateIssuanceConfigsDeleteCall)Do¶added inv0.100.0
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCertificateIssuanceConfigsDeleteCall)Fields¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateIssuanceConfigsDeleteCall)Header¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsCertificateIssuanceConfigsGetCall¶added inv0.100.0
type ProjectsLocationsCertificateIssuanceConfigsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateIssuanceConfigsGetCall)Context¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) Context(ctxcontext.Context) *ProjectsLocationsCertificateIssuanceConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCertificateIssuanceConfigsGetCall)Do¶added inv0.100.0
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 wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsCertificateIssuanceConfigsGetCall)Fields¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateIssuanceConfigsGetCall)Header¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsCertificateIssuanceConfigsGetCall)IfNoneMatch¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsCertificateIssuanceConfigsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsCertificateIssuanceConfigsListCall¶added inv0.100.0
type ProjectsLocationsCertificateIssuanceConfigsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateIssuanceConfigsListCall)Context¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Context(ctxcontext.Context) *ProjectsLocationsCertificateIssuanceConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCertificateIssuanceConfigsListCall)Do¶added inv0.100.0
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 aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsCertificateIssuanceConfigsListCall)Fields¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateIssuanceConfigsListCall)Filter¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Filter(filterstring) *ProjectsLocationsCertificateIssuanceConfigsListCall
Filter sets the optional parameter "filter": Filter expression to restrictthe Certificates Configs returned.
func (*ProjectsLocationsCertificateIssuanceConfigsListCall)Header¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsCertificateIssuanceConfigsListCall)IfNoneMatch¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsCertificateIssuanceConfigsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsCertificateIssuanceConfigsListCall)OrderBy¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) OrderBy(orderBystring) *ProjectsLocationsCertificateIssuanceConfigsListCall
OrderBy sets the optional parameter "orderBy": A list of Certificate Configfield names used to specify the order of the returned results. The defaultsorting order is ascending. To specify descending order for a field, add asuffix " desc".
func (*ProjectsLocationsCertificateIssuanceConfigsListCall)PageSize¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) PageSize(pageSizeint64) *ProjectsLocationsCertificateIssuanceConfigsListCall
PageSize sets the optional parameter "pageSize": Maximum number ofcertificate configs to return per call.
func (*ProjectsLocationsCertificateIssuanceConfigsListCall)PageToken¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) PageToken(pageTokenstring) *ProjectsLocationsCertificateIssuanceConfigsListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListCertificateIssuanceConfigsResponse`. Indicates that this is acontinuation of a prior `ListCertificateIssuanceConfigs` call, and that thesystem should return the next page of data.
func (*ProjectsLocationsCertificateIssuanceConfigsListCall)Pages¶added inv0.100.0
func (c *ProjectsLocationsCertificateIssuanceConfigsListCall) Pages(ctxcontext.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.
typeProjectsLocationsCertificateIssuanceConfigsPatchCall¶added inv0.191.0
type ProjectsLocationsCertificateIssuanceConfigsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateIssuanceConfigsPatchCall)Context¶added inv0.191.0
func (c *ProjectsLocationsCertificateIssuanceConfigsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsCertificateIssuanceConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCertificateIssuanceConfigsPatchCall)Do¶added inv0.191.0
func (c *ProjectsLocationsCertificateIssuanceConfigsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "certificatemanager.projects.locations.certificateIssuanceConfigs.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCertificateIssuanceConfigsPatchCall)Fields¶added inv0.191.0
func (c *ProjectsLocationsCertificateIssuanceConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateIssuanceConfigsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateIssuanceConfigsPatchCall)Header¶added inv0.191.0
func (c *ProjectsLocationsCertificateIssuanceConfigsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsCertificateIssuanceConfigsPatchCall)UpdateMask¶added inv0.191.0
func (c *ProjectsLocationsCertificateIssuanceConfigsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsCertificateIssuanceConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The updatemask applies to the resource. For the `FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
typeProjectsLocationsCertificateIssuanceConfigsService¶added inv0.100.0
type ProjectsLocationsCertificateIssuanceConfigsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsCertificateIssuanceConfigsService¶added inv0.100.0
func NewProjectsLocationsCertificateIssuanceConfigsService(s *Service) *ProjectsLocationsCertificateIssuanceConfigsService
func (*ProjectsLocationsCertificateIssuanceConfigsService)Create¶added inv0.100.0
func (r *ProjectsLocationsCertificateIssuanceConfigsService) Create(parentstring, certificateissuanceconfig *CertificateIssuanceConfig) *ProjectsLocationsCertificateIssuanceConfigsCreateCall
Create: Creates a new CertificateIssuanceConfig in a given project andlocation.
- parent: The parent resource of the certificate issuance config. Must be inthe format `projects/*/locations/*`.
func (*ProjectsLocationsCertificateIssuanceConfigsService)Delete¶added inv0.100.0
func (r *ProjectsLocationsCertificateIssuanceConfigsService) Delete(namestring) *ProjectsLocationsCertificateIssuanceConfigsDeleteCall
Delete: Deletes a single CertificateIssuanceConfig.
- name: A name of the certificate issuance config to delete. Must be in theformat `projects/*/locations/*/certificateIssuanceConfigs/*`.
func (*ProjectsLocationsCertificateIssuanceConfigsService)Get¶added inv0.100.0
func (r *ProjectsLocationsCertificateIssuanceConfigsService) Get(namestring) *ProjectsLocationsCertificateIssuanceConfigsGetCall
Get: Gets details of a single CertificateIssuanceConfig.
- name: A name of the certificate issuance config to describe. Must be inthe format `projects/*/locations/*/certificateIssuanceConfigs/*`.
func (*ProjectsLocationsCertificateIssuanceConfigsService)List¶added inv0.100.0
func (r *ProjectsLocationsCertificateIssuanceConfigsService) List(parentstring) *ProjectsLocationsCertificateIssuanceConfigsListCall
List: Lists CertificateIssuanceConfigs in a given project and location.
- parent: The project and location from which the certificate should belisted, specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsCertificateIssuanceConfigsService)Patch¶added inv0.191.0
func (r *ProjectsLocationsCertificateIssuanceConfigsService) Patch(namestring, certificateissuanceconfig *CertificateIssuanceConfig) *ProjectsLocationsCertificateIssuanceConfigsPatchCall
Patch: Updates a CertificateIssuanceConfig.
- name: Identifier. A user-defined name of the certificate issuance config.CertificateIssuanceConfig names must be unique globally and match pattern`projects/*/locations/*/certificateIssuanceConfigs/*`.
typeProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall¶
type ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall)CertificateMapEntryId¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) CertificateMapEntryId(certificateMapEntryIdstring) *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall
CertificateMapEntryId sets the optional parameter "certificateMapEntryId":Required. A user-provided name of the certificate map entry.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall)Context¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall)Header¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall¶
type ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall)Context¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall)Header¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsCertificateMapsCertificateMapEntriesGetCall¶
type ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall)Context¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Context(ctxcontext.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 atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall)Fields¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall)Header¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsCertificateMapsCertificateMapEntriesListCall¶
type ProjectsLocationsCertificateMapsCertificateMapEntriesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall)Context¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Context(ctxcontext.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 responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall)Fields¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall)Filter¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Filter(filterstring) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
Filter sets the optional parameter "filter": Filter expression to restrictthe 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 addheaders to the request.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall)IfNoneMatch¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall)OrderBy¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) OrderBy(orderBystring) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
OrderBy sets the optional parameter "orderBy": A list of Certificate MapEntry field names used to specify the order of the returned results. Thedefault sorting order is ascending. To specify descending order for a field,add a suffix " desc".
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall)PageSize¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) PageSize(pageSizeint64) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
PageSize sets the optional parameter "pageSize": Maximum number ofcertificate map entries to return. The service may return fewer than thisvalue. 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(pageTokenstring) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListCertificateMapEntriesResponse`. Indicates that this is acontinuation of a prior `ListCertificateMapEntries` call, and that thesystem should return the next page of data.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesListCall)Pages¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall) Pages(ctxcontext.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.
typeProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall¶
type ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall)Context¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall)Header¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall)UpdateMask¶
func (c *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The updatemask applies to the resource. For the `FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
typeProjectsLocationsCertificateMapsCertificateMapEntriesService¶
type ProjectsLocationsCertificateMapsCertificateMapEntriesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsCertificateMapsCertificateMapEntriesService¶
func NewProjectsLocationsCertificateMapsCertificateMapEntriesService(s *Service) *ProjectsLocationsCertificateMapsCertificateMapEntriesService
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService)Create¶
func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Create(parentstring, certificatemapentry *CertificateMapEntry) *ProjectsLocationsCertificateMapsCertificateMapEntriesCreateCall
Create: Creates a new CertificateMapEntry in a given project and location.
- parent: The parent resource of the certificate map entry. Must be in theformat `projects/*/locations/*/certificateMaps/*`.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService)Delete¶
func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Delete(namestring) *ProjectsLocationsCertificateMapsCertificateMapEntriesDeleteCall
Delete: Deletes a single CertificateMapEntry.
- name: A name of the certificate map entry to delete. Must be in the format`projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService)Get¶
func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Get(namestring) *ProjectsLocationsCertificateMapsCertificateMapEntriesGetCall
Get: Gets details of a single CertificateMapEntry.
- name: A name of the certificate map entry to describe. Must be in theformat `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService)List¶
func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) List(parentstring) *ProjectsLocationsCertificateMapsCertificateMapEntriesListCall
List: Lists CertificateMapEntries in a given project and location.
- parent: The project, location and certificate map from which thecertificate map entries should be listed, specified in the format`projects/*/locations/*/certificateMaps/*`.
func (*ProjectsLocationsCertificateMapsCertificateMapEntriesService)Patch¶
func (r *ProjectsLocationsCertificateMapsCertificateMapEntriesService) Patch(namestring, certificatemapentry *CertificateMapEntry) *ProjectsLocationsCertificateMapsCertificateMapEntriesPatchCall
Patch: Updates a CertificateMapEntry.
- name: Identifier. A user-defined name of the Certificate Map Entry.Certificate Map Entry names must be unique globally and match pattern`projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
typeProjectsLocationsCertificateMapsCreateCall¶
type ProjectsLocationsCertificateMapsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateMapsCreateCall)CertificateMapId¶
func (c *ProjectsLocationsCertificateMapsCreateCall) CertificateMapId(certificateMapIdstring) *ProjectsLocationsCertificateMapsCreateCall
CertificateMapId sets the optional parameter "certificateMapId": Required. Auser-provided name of the certificate map.
func (*ProjectsLocationsCertificateMapsCreateCall)Context¶
func (c *ProjectsLocationsCertificateMapsCreateCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateMapsCreateCall)Header¶
func (c *ProjectsLocationsCertificateMapsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsCertificateMapsDeleteCall¶
type ProjectsLocationsCertificateMapsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateMapsDeleteCall)Context¶
func (c *ProjectsLocationsCertificateMapsDeleteCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateMapsDeleteCall)Header¶
func (c *ProjectsLocationsCertificateMapsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsCertificateMapsGetCall¶
type ProjectsLocationsCertificateMapsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateMapsGetCall)Context¶
func (c *ProjectsLocationsCertificateMapsGetCall) Context(ctxcontext.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 checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateMapsGetCall)Header¶
func (c *ProjectsLocationsCertificateMapsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsCertificateMapsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsCertificateMapsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsCertificateMapsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsCertificateMapsListCall¶
type ProjectsLocationsCertificateMapsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateMapsListCall)Context¶
func (c *ProjectsLocationsCertificateMapsListCall) Context(ctxcontext.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 wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsCertificateMapsListCall)Fields¶
func (c *ProjectsLocationsCertificateMapsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificateMapsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateMapsListCall)Filter¶
func (c *ProjectsLocationsCertificateMapsListCall) Filter(filterstring) *ProjectsLocationsCertificateMapsListCall
Filter sets the optional parameter "filter": Filter expression to restrictthe 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 addheaders to the request.
func (*ProjectsLocationsCertificateMapsListCall)IfNoneMatch¶
func (c *ProjectsLocationsCertificateMapsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsCertificateMapsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsCertificateMapsListCall)OrderBy¶
func (c *ProjectsLocationsCertificateMapsListCall) OrderBy(orderBystring) *ProjectsLocationsCertificateMapsListCall
OrderBy sets the optional parameter "orderBy": A list of Certificate Mapfield names used to specify the order of the returned results. The defaultsorting order is ascending. To specify descending order for a field, add asuffix " desc".
func (*ProjectsLocationsCertificateMapsListCall)PageSize¶
func (c *ProjectsLocationsCertificateMapsListCall) PageSize(pageSizeint64) *ProjectsLocationsCertificateMapsListCall
PageSize sets the optional parameter "pageSize": Maximum number ofcertificate maps to return per call.
func (*ProjectsLocationsCertificateMapsListCall)PageToken¶
func (c *ProjectsLocationsCertificateMapsListCall) PageToken(pageTokenstring) *ProjectsLocationsCertificateMapsListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListCertificateMapsResponse`. Indicates that this is a continuation ofa prior `ListCertificateMaps` call, and that the system should return thenext page of data.
func (*ProjectsLocationsCertificateMapsListCall)Pages¶
func (c *ProjectsLocationsCertificateMapsListCall) Pages(ctxcontext.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.
typeProjectsLocationsCertificateMapsPatchCall¶
type ProjectsLocationsCertificateMapsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificateMapsPatchCall)Context¶
func (c *ProjectsLocationsCertificateMapsPatchCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificateMapsPatchCall)Header¶
func (c *ProjectsLocationsCertificateMapsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsCertificateMapsPatchCall)UpdateMask¶
func (c *ProjectsLocationsCertificateMapsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsCertificateMapsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The updatemask applies to the resource. For the `FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
typeProjectsLocationsCertificateMapsService¶
type ProjectsLocationsCertificateMapsService struct {CertificateMapEntries *ProjectsLocationsCertificateMapsCertificateMapEntriesService// contains filtered or unexported fields}funcNewProjectsLocationsCertificateMapsService¶
func NewProjectsLocationsCertificateMapsService(s *Service) *ProjectsLocationsCertificateMapsService
func (*ProjectsLocationsCertificateMapsService)Create¶
func (r *ProjectsLocationsCertificateMapsService) Create(parentstring, certificatemap *CertificateMap) *ProjectsLocationsCertificateMapsCreateCall
Create: Creates a new CertificateMap in a given project and location.
- parent: The parent resource of the certificate map. Must be in the format`projects/*/locations/*`.
func (*ProjectsLocationsCertificateMapsService)Delete¶
func (r *ProjectsLocationsCertificateMapsService) Delete(namestring) *ProjectsLocationsCertificateMapsDeleteCall
Delete: Deletes a single CertificateMap. A Certificate Map can't be deletedif it contains Certificate Map Entries. Remove all the entries from the mapbefore calling this method.
- name: A name of the certificate map to delete. Must be in the format`projects/*/locations/*/certificateMaps/*`.
func (*ProjectsLocationsCertificateMapsService)Get¶
func (r *ProjectsLocationsCertificateMapsService) Get(namestring) *ProjectsLocationsCertificateMapsGetCall
Get: Gets details of a single CertificateMap.
- name: A name of the certificate map to describe. Must be in the format`projects/*/locations/*/certificateMaps/*`.
func (*ProjectsLocationsCertificateMapsService)List¶
func (r *ProjectsLocationsCertificateMapsService) List(parentstring) *ProjectsLocationsCertificateMapsListCall
List: Lists CertificateMaps in a given project and location.
- parent: The project and location from which the certificate maps should belisted, specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsCertificateMapsService)Patch¶
func (r *ProjectsLocationsCertificateMapsService) Patch(namestring, certificatemap *CertificateMap) *ProjectsLocationsCertificateMapsPatchCall
Patch: Updates a CertificateMap.
- name: Identifier. A user-defined name of the Certificate Map. CertificateMap names must be unique globally and match pattern`projects/*/locations/*/certificateMaps/*`.
typeProjectsLocationsCertificatesCreateCall¶
type ProjectsLocationsCertificatesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificatesCreateCall)CertificateId¶
func (c *ProjectsLocationsCertificatesCreateCall) CertificateId(certificateIdstring) *ProjectsLocationsCertificatesCreateCall
CertificateId sets the optional parameter "certificateId": Required. Auser-provided name of the certificate.
func (*ProjectsLocationsCertificatesCreateCall)Context¶
func (c *ProjectsLocationsCertificatesCreateCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificatesCreateCall)Header¶
func (c *ProjectsLocationsCertificatesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsCertificatesDeleteCall¶
type ProjectsLocationsCertificatesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificatesDeleteCall)Context¶
func (c *ProjectsLocationsCertificatesDeleteCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificatesDeleteCall)Header¶
func (c *ProjectsLocationsCertificatesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsCertificatesGetCall¶
type ProjectsLocationsCertificatesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificatesGetCall)Context¶
func (c *ProjectsLocationsCertificatesGetCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificatesGetCall)Header¶
func (c *ProjectsLocationsCertificatesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsCertificatesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsCertificatesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsCertificatesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsCertificatesListCall¶
type ProjectsLocationsCertificatesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificatesListCall)Context¶
func (c *ProjectsLocationsCertificatesListCall) Context(ctxcontext.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 wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsCertificatesListCall)Fields¶
func (c *ProjectsLocationsCertificatesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCertificatesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificatesListCall)Filter¶
func (c *ProjectsLocationsCertificatesListCall) Filter(filterstring) *ProjectsLocationsCertificatesListCall
Filter sets the optional parameter "filter": Filter expression to restrictthe Certificates returned.
func (*ProjectsLocationsCertificatesListCall)Header¶
func (c *ProjectsLocationsCertificatesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsCertificatesListCall)IfNoneMatch¶
func (c *ProjectsLocationsCertificatesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsCertificatesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsCertificatesListCall)OrderBy¶
func (c *ProjectsLocationsCertificatesListCall) OrderBy(orderBystring) *ProjectsLocationsCertificatesListCall
OrderBy sets the optional parameter "orderBy": A list of Certificate fieldnames used to specify the order of the returned results. The default sortingorder is ascending. To specify descending order for a field, add a suffix "desc".
func (*ProjectsLocationsCertificatesListCall)PageSize¶
func (c *ProjectsLocationsCertificatesListCall) PageSize(pageSizeint64) *ProjectsLocationsCertificatesListCall
PageSize sets the optional parameter "pageSize": Maximum number ofcertificates to return per call.
func (*ProjectsLocationsCertificatesListCall)PageToken¶
func (c *ProjectsLocationsCertificatesListCall) PageToken(pageTokenstring) *ProjectsLocationsCertificatesListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListCertificatesResponse`. Indicates that this is a continuation of aprior `ListCertificates` call, and that the system should return the nextpage of data.
func (*ProjectsLocationsCertificatesListCall)Pages¶
func (c *ProjectsLocationsCertificatesListCall) Pages(ctxcontext.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.
typeProjectsLocationsCertificatesPatchCall¶
type ProjectsLocationsCertificatesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsCertificatesPatchCall)Context¶
func (c *ProjectsLocationsCertificatesPatchCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsCertificatesPatchCall)Header¶
func (c *ProjectsLocationsCertificatesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsCertificatesPatchCall)UpdateMask¶
func (c *ProjectsLocationsCertificatesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsCertificatesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The updatemask applies to the resource. For the `FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
typeProjectsLocationsCertificatesService¶
type ProjectsLocationsCertificatesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsCertificatesService¶
func NewProjectsLocationsCertificatesService(s *Service) *ProjectsLocationsCertificatesService
func (*ProjectsLocationsCertificatesService)Create¶
func (r *ProjectsLocationsCertificatesService) Create(parentstring, certificate *Certificate) *ProjectsLocationsCertificatesCreateCall
Create: Creates a new Certificate in a given project and location.
- parent: The parent resource of the certificate. Must be in the format`projects/*/locations/*`.
func (*ProjectsLocationsCertificatesService)Delete¶
func (r *ProjectsLocationsCertificatesService) Delete(namestring) *ProjectsLocationsCertificatesDeleteCall
Delete: Deletes a single Certificate.
- name: A name of the certificate to delete. Must be in the format`projects/*/locations/*/certificates/*`.
func (*ProjectsLocationsCertificatesService)Get¶
func (r *ProjectsLocationsCertificatesService) Get(namestring) *ProjectsLocationsCertificatesGetCall
Get: Gets details of a single Certificate.
- name: A name of the certificate to describe. Must be in the format`projects/*/locations/*/certificates/*`.
func (*ProjectsLocationsCertificatesService)List¶
func (r *ProjectsLocationsCertificatesService) List(parentstring) *ProjectsLocationsCertificatesListCall
List: Lists Certificates in a given project and location.
- parent: The project and location from which the certificate should belisted, specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsCertificatesService)Patch¶
func (r *ProjectsLocationsCertificatesService) Patch(namestring, certificate *Certificate) *ProjectsLocationsCertificatesPatchCall
Patch: Updates a Certificate.
- name: Identifier. A user-defined name of the certificate. Certificatenames must be unique globally and match pattern`projects/*/locations/*/certificates/*`.
typeProjectsLocationsDnsAuthorizationsCreateCall¶
type ProjectsLocationsDnsAuthorizationsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsDnsAuthorizationsCreateCall)Context¶
func (c *ProjectsLocationsDnsAuthorizationsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsDnsAuthorizationsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDnsAuthorizationsCreateCall)DnsAuthorizationId¶
func (c *ProjectsLocationsDnsAuthorizationsCreateCall) DnsAuthorizationId(dnsAuthorizationIdstring) *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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsDnsAuthorizationsCreateCall)Header¶
func (c *ProjectsLocationsDnsAuthorizationsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsDnsAuthorizationsDeleteCall¶
type ProjectsLocationsDnsAuthorizationsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsDnsAuthorizationsDeleteCall)Context¶
func (c *ProjectsLocationsDnsAuthorizationsDeleteCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsDnsAuthorizationsDeleteCall)Header¶
func (c *ProjectsLocationsDnsAuthorizationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsDnsAuthorizationsGetCall¶
type ProjectsLocationsDnsAuthorizationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsDnsAuthorizationsGetCall)Context¶
func (c *ProjectsLocationsDnsAuthorizationsGetCall) Context(ctxcontext.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 atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsDnsAuthorizationsGetCall)Fields¶
func (c *ProjectsLocationsDnsAuthorizationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsDnsAuthorizationsGetCall)Header¶
func (c *ProjectsLocationsDnsAuthorizationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsDnsAuthorizationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsDnsAuthorizationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsDnsAuthorizationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsDnsAuthorizationsListCall¶
type ProjectsLocationsDnsAuthorizationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsDnsAuthorizationsListCall)Context¶
func (c *ProjectsLocationsDnsAuthorizationsListCall) Context(ctxcontext.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 wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsDnsAuthorizationsListCall)Fields¶
func (c *ProjectsLocationsDnsAuthorizationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsAuthorizationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsDnsAuthorizationsListCall)Filter¶
func (c *ProjectsLocationsDnsAuthorizationsListCall) Filter(filterstring) *ProjectsLocationsDnsAuthorizationsListCall
Filter sets the optional parameter "filter": Filter expression to restrictthe 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 addheaders to the request.
func (*ProjectsLocationsDnsAuthorizationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsDnsAuthorizationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsDnsAuthorizationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsDnsAuthorizationsListCall)OrderBy¶
func (c *ProjectsLocationsDnsAuthorizationsListCall) OrderBy(orderBystring) *ProjectsLocationsDnsAuthorizationsListCall
OrderBy sets the optional parameter "orderBy": A list of Dns Authorizationfield names used to specify the order of the returned results. The defaultsorting order is ascending. To specify descending order for a field, add asuffix " desc".
func (*ProjectsLocationsDnsAuthorizationsListCall)PageSize¶
func (c *ProjectsLocationsDnsAuthorizationsListCall) PageSize(pageSizeint64) *ProjectsLocationsDnsAuthorizationsListCall
PageSize sets the optional parameter "pageSize": Maximum number of dnsauthorizations to return per call.
func (*ProjectsLocationsDnsAuthorizationsListCall)PageToken¶
func (c *ProjectsLocationsDnsAuthorizationsListCall) PageToken(pageTokenstring) *ProjectsLocationsDnsAuthorizationsListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListDnsAuthorizationsResponse`. Indicates that this is a continuationof a prior `ListDnsAuthorizations` call, and that the system should returnthe next page of data.
func (*ProjectsLocationsDnsAuthorizationsListCall)Pages¶
func (c *ProjectsLocationsDnsAuthorizationsListCall) Pages(ctxcontext.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.
typeProjectsLocationsDnsAuthorizationsPatchCall¶
type ProjectsLocationsDnsAuthorizationsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsDnsAuthorizationsPatchCall)Context¶
func (c *ProjectsLocationsDnsAuthorizationsPatchCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsDnsAuthorizationsPatchCall)Header¶
func (c *ProjectsLocationsDnsAuthorizationsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsDnsAuthorizationsPatchCall)UpdateMask¶
func (c *ProjectsLocationsDnsAuthorizationsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsDnsAuthorizationsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The updatemask applies to the resource. For the `FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
typeProjectsLocationsDnsAuthorizationsService¶
type ProjectsLocationsDnsAuthorizationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsDnsAuthorizationsService¶
func NewProjectsLocationsDnsAuthorizationsService(s *Service) *ProjectsLocationsDnsAuthorizationsService
func (*ProjectsLocationsDnsAuthorizationsService)Create¶
func (r *ProjectsLocationsDnsAuthorizationsService) Create(parentstring, dnsauthorization *DnsAuthorization) *ProjectsLocationsDnsAuthorizationsCreateCall
Create: Creates a new DnsAuthorization in a given project and location.
- parent: The parent resource of the dns authorization. Must be in theformat `projects/*/locations/*`.
func (*ProjectsLocationsDnsAuthorizationsService)Delete¶
func (r *ProjectsLocationsDnsAuthorizationsService) Delete(namestring) *ProjectsLocationsDnsAuthorizationsDeleteCall
Delete: Deletes a single DnsAuthorization.
- name: A name of the dns authorization to delete. Must be in the format`projects/*/locations/*/dnsAuthorizations/*`.
func (*ProjectsLocationsDnsAuthorizationsService)Get¶
func (r *ProjectsLocationsDnsAuthorizationsService) Get(namestring) *ProjectsLocationsDnsAuthorizationsGetCall
Get: Gets details of a single DnsAuthorization.
- name: A name of the dns authorization to describe. Must be in the format`projects/*/locations/*/dnsAuthorizations/*`.
func (*ProjectsLocationsDnsAuthorizationsService)List¶
func (r *ProjectsLocationsDnsAuthorizationsService) List(parentstring) *ProjectsLocationsDnsAuthorizationsListCall
List: Lists DnsAuthorizations in a given project and location.
- parent: The project and location from which the dns authorizations shouldbe listed, specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsDnsAuthorizationsService)Patch¶
func (r *ProjectsLocationsDnsAuthorizationsService) Patch(namestring, dnsauthorization *DnsAuthorization) *ProjectsLocationsDnsAuthorizationsPatchCall
Patch: Updates a DnsAuthorization.
- name: Identifier. A user-defined name of the dns authorization.DnsAuthorization names must be unique globally and match pattern`projects/*/locations/*/dnsAuthorizations/*`.
typeProjectsLocationsGetCall¶
type ProjectsLocationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGetCall)Context¶
func (c *ProjectsLocationsGetCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGetCall)Header¶
func (c *ProjectsLocationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsListCall¶
type ProjectsLocationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsListCall)Context¶
func (c *ProjectsLocationsListCall) Context(ctxcontext.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 returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsListCall)ExtraLocationTypes¶added inv0.232.0
func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.
func (*ProjectsLocationsListCall)Fields¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsListCall)Filter¶
func (c *ProjectsLocationsListCall) Filter(filterstring) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down resultsto 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 addheaders to the request.
func (*ProjectsLocationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsListCall)PageSize¶
func (c *ProjectsLocationsListCall) PageSize(pageSizeint64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall)PageToken¶
func (c *ProjectsLocationsListCall) PageToken(pageTokenstring) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token receivedfrom the `next_page_token` field in the response. Send that page token toreceive the subsequent page.
func (*ProjectsLocationsListCall)Pages¶
func (c *ProjectsLocationsListCall) Pages(ctxcontext.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.
typeProjectsLocationsOperationsCancelCall¶
type ProjectsLocationsOperationsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsCancelCall)Context¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsCancelCall)Header¶
func (c *ProjectsLocationsOperationsCancelCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsDeleteCall¶
type ProjectsLocationsOperationsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsDeleteCall)Context¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsDeleteCall)Header¶
func (c *ProjectsLocationsOperationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsGetCall¶
type ProjectsLocationsOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsGetCall)Context¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctxcontext.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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether 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. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsGetCall)Header¶
func (c *ProjectsLocationsOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsOperationsListCall¶
type ProjectsLocationsOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsListCall)Context¶
func (c *ProjectsLocationsOperationsListCall) Context(ctxcontext.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 returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsListCall)Fields¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsListCall)Filter¶
func (c *ProjectsLocationsOperationsListCall) Filter(filterstring) *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 addheaders to the request.
func (*ProjectsLocationsOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsOperationsListCall)PageSize¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsOperationsListCall)PageToken¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsOperationsListCall)Pages¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctxcontext.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.
func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccess¶added inv0.252.0
func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsOperationsService¶
type ProjectsLocationsOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsOperationsService¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService)Cancel¶
func (r *ProjectsLocationsOperationsService) Cancel(namestring, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.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(namestring) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe 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(namestring) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService)List¶
func (r *ProjectsLocationsOperationsService) List(namestring) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsService¶
type ProjectsLocationsService struct {CertificateIssuanceConfigs *ProjectsLocationsCertificateIssuanceConfigsServiceCertificateMaps *ProjectsLocationsCertificateMapsServiceCertificates *ProjectsLocationsCertificatesServiceDnsAuthorizations *ProjectsLocationsDnsAuthorizationsServiceOperations *ProjectsLocationsOperationsServiceTrustConfigs *ProjectsLocationsTrustConfigsService// contains filtered or unexported fields}funcNewProjectsLocationsService¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService)Get¶
func (r *ProjectsLocationsService) Get(namestring) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService)List¶
func (r *ProjectsLocationsService) List(namestring) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
typeProjectsLocationsTrustConfigsCreateCall¶added inv0.118.0
type ProjectsLocationsTrustConfigsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTrustConfigsCreateCall)Context¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsTrustConfigsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTrustConfigsCreateCall)Do¶added inv0.118.0
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTrustConfigsCreateCall)Fields¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTrustConfigsCreateCall)Header¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTrustConfigsCreateCall)TrustConfigId¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsCreateCall) TrustConfigId(trustConfigIdstring) *ProjectsLocationsTrustConfigsCreateCall
TrustConfigId sets the optional parameter "trustConfigId": Required. Auser-provided name of the TrustConfig. Must match the regexp`[a-z0-9-]{1,63}`.
typeProjectsLocationsTrustConfigsDeleteCall¶added inv0.118.0
type ProjectsLocationsTrustConfigsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTrustConfigsDeleteCall)Context¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsTrustConfigsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTrustConfigsDeleteCall)Do¶added inv0.118.0
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTrustConfigsDeleteCall)Etag¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsDeleteCall) Etag(etagstring) *ProjectsLocationsTrustConfigsDeleteCall
Etag sets the optional parameter "etag": The current etag of theTrustConfig. If an etag is provided and does not match the current etag ofthe resource, deletion will be blocked and an ABORTED error will bereturned.
func (*ProjectsLocationsTrustConfigsDeleteCall)Fields¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTrustConfigsDeleteCall)Header¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsTrustConfigsGetCall¶added inv0.118.0
type ProjectsLocationsTrustConfigsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTrustConfigsGetCall)Context¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsGetCall) Context(ctxcontext.Context) *ProjectsLocationsTrustConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTrustConfigsGetCall)Do¶added inv0.118.0
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTrustConfigsGetCall)Fields¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTrustConfigsGetCall)Header¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTrustConfigsGetCall)IfNoneMatch¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsTrustConfigsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsTrustConfigsListCall¶added inv0.118.0
type ProjectsLocationsTrustConfigsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTrustConfigsListCall)Context¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsListCall) Context(ctxcontext.Context) *ProjectsLocationsTrustConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTrustConfigsListCall)Do¶added inv0.118.0
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 wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsTrustConfigsListCall)Fields¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTrustConfigsListCall)Filter¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsListCall) Filter(filterstring) *ProjectsLocationsTrustConfigsListCall
Filter sets the optional parameter "filter": Filter expression to restrictthe TrustConfigs returned.
func (*ProjectsLocationsTrustConfigsListCall)Header¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTrustConfigsListCall)IfNoneMatch¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsTrustConfigsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsTrustConfigsListCall)OrderBy¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsListCall) OrderBy(orderBystring) *ProjectsLocationsTrustConfigsListCall
OrderBy sets the optional parameter "orderBy": A list of TrustConfig fieldnames used to specify the order of the returned results. The default sortingorder is ascending. To specify descending order for a field, add a suffix "desc".
func (*ProjectsLocationsTrustConfigsListCall)PageSize¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsListCall) PageSize(pageSizeint64) *ProjectsLocationsTrustConfigsListCall
PageSize sets the optional parameter "pageSize": Maximum number ofTrustConfigs to return per call.
func (*ProjectsLocationsTrustConfigsListCall)PageToken¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsListCall) PageToken(pageTokenstring) *ProjectsLocationsTrustConfigsListCall
PageToken sets the optional parameter "pageToken": The value returned by thelast `ListTrustConfigsResponse`. Indicates that this is a continuation of aprior `ListTrustConfigs` call, and that the system should return the nextpage of data.
func (*ProjectsLocationsTrustConfigsListCall)Pages¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsListCall) Pages(ctxcontext.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.
typeProjectsLocationsTrustConfigsPatchCall¶added inv0.118.0
type ProjectsLocationsTrustConfigsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsTrustConfigsPatchCall)Context¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsTrustConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsTrustConfigsPatchCall)Do¶added inv0.118.0
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) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTrustConfigsPatchCall)Fields¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTrustConfigsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsTrustConfigsPatchCall)Header¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsTrustConfigsPatchCall)UpdateMask¶added inv0.118.0
func (c *ProjectsLocationsTrustConfigsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsTrustConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The updatemask applies to the resource. For the `FieldMask` definition, seehttps://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
typeProjectsLocationsTrustConfigsService¶added inv0.118.0
type ProjectsLocationsTrustConfigsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsTrustConfigsService¶added inv0.118.0
func NewProjectsLocationsTrustConfigsService(s *Service) *ProjectsLocationsTrustConfigsService
func (*ProjectsLocationsTrustConfigsService)Create¶added inv0.118.0
func (r *ProjectsLocationsTrustConfigsService) Create(parentstring, trustconfig *TrustConfig) *ProjectsLocationsTrustConfigsCreateCall
Create: Creates a new TrustConfig in a given project and location.
- parent: The parent resource of the TrustConfig. Must be in the format`projects/*/locations/*`.
func (*ProjectsLocationsTrustConfigsService)Delete¶added inv0.118.0
func (r *ProjectsLocationsTrustConfigsService) Delete(namestring) *ProjectsLocationsTrustConfigsDeleteCall
Delete: Deletes a single TrustConfig.
- name: A name of the TrustConfig to delete. Must be in the format`projects/*/locations/*/trustConfigs/*`.
func (*ProjectsLocationsTrustConfigsService)Get¶added inv0.118.0
func (r *ProjectsLocationsTrustConfigsService) Get(namestring) *ProjectsLocationsTrustConfigsGetCall
Get: Gets details of a single TrustConfig.
- name: A name of the TrustConfig to describe. Must be in the format`projects/*/locations/*/trustConfigs/*`.
func (*ProjectsLocationsTrustConfigsService)List¶added inv0.118.0
func (r *ProjectsLocationsTrustConfigsService) List(parentstring) *ProjectsLocationsTrustConfigsListCall
List: Lists TrustConfigs in a given project and location.
- parent: The project and location from which the TrustConfigs should belisted, specified in the format `projects/*/locations/*`.
func (*ProjectsLocationsTrustConfigsService)Patch¶added inv0.118.0
func (r *ProjectsLocationsTrustConfigsService) Patch(namestring, trustconfig *TrustConfig) *ProjectsLocationsTrustConfigsPatchCall
Patch: Updates a TrustConfig.
- name: Identifier. A user-defined name of the trust config. TrustConfignames must be unique globally and match pattern`projects/*/locations/*/trustConfigs/*`.
typeProjectsService¶
type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}funcNewProjectsService¶
func NewProjectsService(s *Service) *ProjectsService
typeProvisioningIssue¶
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.Detailsstring `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.Reasonstring `json:"reason,omitempty"`// ForceSendFields is a list of field names (e.g. "Details") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Details") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ProvisioningIssue: Information about issues with provisioning a ManagedCertificate.
func (ProvisioningIssue)MarshalJSON¶
func (sProvisioningIssue) MarshalJSON() ([]byte,error)
typeSelfManagedCertificate¶
type SelfManagedCertificate struct {// PemCertificate: Optional. Input only. The PEM-encoded certificate chain.// Leaf certificate comes first, followed by intermediate ones if any.PemCertificatestring `json:"pemCertificate,omitempty"`// PemPrivateKey: Optional. Input only. The PEM-encoded private key of the leaf// certificate.PemPrivateKeystring `json:"pemPrivateKey,omitempty"`// ForceSendFields is a list of field names (e.g. "PemCertificate") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PemCertificate") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}SelfManagedCertificate: Certificate data for a SelfManaged Certificate.SelfManaged Certificates are uploaded by the user. Updating suchcertificates before they expire remains the user's responsibility.
func (SelfManagedCertificate)MarshalJSON¶
func (sSelfManagedCertificate) MarshalJSON() ([]byte,error)
typeService¶
type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields} funcNewdeprecated
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.
funcNewService¶
NewService creates a new Service.
typeStatus¶
type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `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.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Status: The `Status` type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each `Status` message contains threepieces of data: error code, error message, and error details. You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).
func (Status)MarshalJSON¶
typeTroubleshooting¶added inv0.251.0
type Troubleshooting struct {// Cname: Output only. CNAME troubleshooting information.Cname *CNAME `json:"cname,omitempty"`// Ips: Output only. IPs troubleshooting information.Ips *IPs `json:"ips,omitempty"`// Issues: Output only. The list of issues discovered during the authorization// attempt.//// Possible values:// "ISSUE_UNSPECIFIED" - Issue is unspecified.// "CNAME_MISMATCH" - The resolved CNAME value doesn't match the expected// CNAME.// "RESOLVED_TO_NOT_SERVING" - Domain has A/AAAA records that point to IPs,// where the certificate is not attached.// "RESOLVED_TO_SERVING_ON_ALT_PORTS" - Domain has A/AAAA records that point// to IPs, where the certificate is attached, but port 443 is not open.// "NO_RESOLVED_IPS" - Domain doesn't have any A/AAAA records.// "CERTIFICATE_NOT_ATTACHED" - Certificate is not configured to be served// from any IPs (e.g. Certificate is not attached to any load balancer).Issues []string `json:"issues,omitempty"`// ForceSendFields is a list of field names (e.g. "Cname") 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. "Cname") 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:"-"`}Troubleshooting: Troubleshooting information for the authorization attempt.
func (Troubleshooting)MarshalJSON¶added inv0.251.0
func (sTroubleshooting) MarshalJSON() ([]byte,error)
typeTrustAnchor¶added inv0.118.0
type TrustAnchor struct {// PemCertificate: PEM root certificate of the PKI used for validation. Each// certificate provided in PEM format may occupy up to 5kB.PemCertificatestring `json:"pemCertificate,omitempty"`// ForceSendFields is a list of field names (e.g. "PemCertificate") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PemCertificate") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TrustAnchor: Defines a trust anchor.
func (TrustAnchor)MarshalJSON¶added inv0.118.0
func (sTrustAnchor) MarshalJSON() ([]byte,error)
typeTrustConfig¶added inv0.118.0
type TrustConfig struct {// AllowlistedCertificates: Optional. A certificate matching an allowlisted// certificate is always considered valid as long as the certificate is// parseable, proof of private key possession is established, and constraints// on the certificate's SAN field are met.AllowlistedCertificates []*AllowlistedCertificate `json:"allowlistedCertificates,omitempty"`// CreateTime: Output only. The creation timestamp of a TrustConfig.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. One or more paragraphs of text description of a// TrustConfig.Descriptionstring `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.Etagstring `json:"etag,omitempty"`// Labels: Optional. Set of labels associated with a TrustConfig.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. A user-defined name of the trust config. TrustConfig names// must be unique globally and match pattern// `projects/*/locations/*/trustConfigs/*`.Namestring `json:"name,omitempty"`// TrustStores: Optional. Set of trust stores to perform validation against.// This field is supported when TrustConfig is configured with Load Balancers,// currently not supported for SPIFFE certificate validation. Only one// TrustStore specified is currently allowed.TrustStores []*TrustStore `json:"trustStores,omitempty"`// UpdateTime: Output only. The last update timestamp of a TrustConfig.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AllowlistedCertificates") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowlistedCertificates") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TrustConfig: Defines a trust config.
func (TrustConfig)MarshalJSON¶added inv0.118.0
func (sTrustConfig) MarshalJSON() ([]byte,error)
typeTrustStore¶added inv0.118.0
type TrustStore struct {// IntermediateCas: Optional. Set of intermediate CA certificates used for the// path building phase of chain validation. The field is currently not// supported if TrustConfig is used for the workload certificate feature.IntermediateCas []*IntermediateCA `json:"intermediateCas,omitempty"`// TrustAnchors: Optional. List of Trust Anchors to be used while performing// validation against a given TrustStore.TrustAnchors []*TrustAnchor `json:"trustAnchors,omitempty"`// ForceSendFields is a list of field names (e.g. "IntermediateCas") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IntermediateCas") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TrustStore: Defines a trust store.
func (TrustStore)MarshalJSON¶added inv0.118.0
func (sTrustStore) MarshalJSON() ([]byte,error)
typeUsedBy¶added inv0.221.0
type UsedBy struct {// Name: Output only. Full name of the resource//https://google.aip.dev/122#full-resource-names, e.g.// `//certificatemanager.googleapis.com/projects/*/locations/*/certificateMaps/*// /certificateMapEntries/*` or// `//compute.googleapis.com/projects/*/locations/*/targetHttpsProxies/*`.Namestring `json:"name,omitempty"`// ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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:"-"`}UsedBy: Defines a resource that uses the certificate.