Documentation ¶
Overview ¶
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
Utils for modifying IAM policies for resources across GCP ¶
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
----------------------------------------------------------------------------
This file is automatically generated by Magic Modules and manual changes will be clobbered when the file is regenerated. Please read more about how to change this file in .github/CONTRIBUTING.md.
----------------------------------------------------------------------------
Index ¶
- Constants
- Variables
- func BatchRequestEnableService(service string, project string, d *schema.ResourceData, config *Config) error
- func BatchRequestModifyIamPolicy(updater ResourceIamUpdater, modify iamPolicyModifyFunc, config *Config, ...) error
- func BatchRequestReadServices(project string, d *schema.ResourceData, config *Config) (interface{}, error)
- func BetaMetadataUpdate(oldMDMap map[string]interface{}, newMDMap map[string]interface{}, ...)
- func BigQueryTableIdParseFunc(d *schema.ResourceData, config *Config) error
- func BigqueryDatasetIdParseFunc(d *schema.ResourceData, config *Config) error
- func BigtableInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
- func BigtableTableIdParseFunc(d *schema.ResourceData, config *Config) error
- func BillingAccountIdParseFunc(d *schema.ResourceData, _ *Config) error
- func BinaryAuthorizationAttestorIdParseFunc(d *schema.ResourceData, config *Config) error
- func ClientWithAdditionalRetries(baseClient *http.Client, predicates ...RetryErrorPredicateFunc) *http.Client
- func CloudFunctionsCloudFunctionIdParseFunc(d *schema.ResourceData, config *Config) error
- func CloudRunServiceIdParseFunc(d *schema.ResourceData, config *Config) error
- func CommonRefreshFunc(w Waiter) resource.StateRefreshFunc
- func ComputeDiskIdParseFunc(d *schema.ResourceData, config *Config) error
- func ComputeImageIdParseFunc(d *schema.ResourceData, config *Config) error
- func ComputeInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
- func ComputeRegionDiskIdParseFunc(d *schema.ResourceData, config *Config) error
- func ComputeSubnetworkIdParseFunc(d *schema.ResourceData, config *Config) error
- func ConfigureBasePaths(c *Config)
- func Convert(item, out interface{}) error
- func ConvertSelfLinkToV1(link string) string
- func ConvertToMap(item interface{}) (map[string]interface{}, error)
- func CryptoIdParseFunc(d *schema.ResourceData, config *Config) error
- func DataCatalogEntryGroupIdParseFunc(d *schema.ResourceData, config *Config) error
- func DataprocClusterIdParseFunc(d *schema.ResourceData, config *Config) error
- func DataprocJobIdParseFunc(d *schema.ResourceData, config *Config) error
- func DatasetIdParseFunc(d *schema.ResourceData, config *Config) error
- func DicomStoreIdParseFunc(d *schema.ResourceData, config *Config) error
- func FhirStoreIdParseFunc(d *schema.ResourceData, config *Config) error
- func FolderIdParseFunc(d *schema.ResourceData, _ *Config) error
- func GetCurrentUserEmail(config *Config, userAgent string) (string, error)
- func GetLocationalResourcePropertiesFromSelfLinkString(selfLink string) (string, string, string, error)
- func GetRegionFromRegionSelfLink(selfLink string) string
- func GetRegionalResourcePropertiesFromSelfLinkOrSchema(d *schema.ResourceData, config *Config) (string, string, string, error)
- func GetResourceNameFromSelfLink(link string) string
- func GetZonalResourcePropertiesFromSelfLinkOrSchema(d *schema.ResourceData, config *Config) (string, string, string, error)
- func Hl7V2StoreIdParseFunc(d *schema.ResourceData, config *Config) error
- func IapAppEngineServiceIdParseFunc(d *schema.ResourceData, config *Config) error
- func IapAppEngineVersionIdParseFunc(d *schema.ResourceData, config *Config) error
- func IapTunnelIdParseFunc(d *schema.ResourceData, config *Config) error
- func IapTunnelInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
- func IapWebBackendServiceIdParseFunc(d *schema.ResourceData, config *Config) error
- func IapWebIdParseFunc(d *schema.ResourceData, config *Config) error
- func IapWebTypeAppEngineDiffSuppress(_, old, new string, _ *schema.ResourceData) bool
- func IapWebTypeAppEngineIdParseFunc(d *schema.ResourceData, config *Config) error
- func IapWebTypeComputeIdParseFunc(d *schema.ResourceData, config *Config) error
- func KeyRingIdParseFunc(d *schema.ResourceData, config *Config) error
- func MetadataRetryWrapper(update func() error) error
- func MetadataUpdate(oldMDMap map[string]interface{}, newMDMap map[string]interface{}, ...)
- func NameFromSelfLinkStateFunc(v interface{}) string
- func NewTransportWithDefaultRetries(t http.RoundTripper) *retryTransport
- func NotebooksInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
- func Nprintf(format string, params map[string]interface{}) string
- func OperationDone(w Waiter) bool
- func OperationWait(w Waiter, activity string, timeout time.Duration, pollInterval time.Duration) error
- func OrgIdParseFunc(d *schema.ResourceData, _ *Config) error
- func PollingWaitTime(pollF PollReadFunc, checkResponse PollCheckResponseFunc, activity string, ...) error
- func ProjectIdParseFunc(d *schema.ResourceData, _ *Config) error
- func Provider() *schema.Provider
- func PubsubSubscriptionIdParseFunc(d *schema.ResourceData, _ *Config) error
- func PubsubTopicIdParseFunc(d *schema.ResourceData, config *Config) error
- func ResourceIamAuditConfig(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamAuditConfigWithBatching(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamBinding(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamBindingWithBatching(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamMember(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamMemberWithBatching(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamPolicy(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamPolicyCreate(newUpdaterFunc newResourceIamUpdaterFunc) schema.CreateFunc
- func ResourceIamPolicyDelete(newUpdaterFunc newResourceIamUpdaterFunc) schema.DeleteFunc
- func ResourceIamPolicyRead(newUpdaterFunc newResourceIamUpdaterFunc) schema.ReadFunc
- func ResourceIamPolicyUpdate(newUpdaterFunc newResourceIamUpdaterFunc) schema.UpdateFunc
- func ResourceLoggingBillingAccountBucketConfig() *schema.Resource
- func ResourceLoggingBucketConfig(parentType string, parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceLoggingExclusion(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceLoggingFolderBucketConfig() *schema.Resource
- func ResourceLoggingOrganizationBucketConfig() *schema.Resource
- func ResourceLoggingProjectBucketConfig() *schema.Resource
- func ResourceMap() map[string]*schema.Resource
- func ResourceMapWithErrors() (map[string]*schema.Resource, error)
- func RetryWithTargetOccurrences(timeout time.Duration, targetOccurrences int, f resource.RetryFunc) error
- func RuntimeConfigConfigIdParseFunc(d *schema.ResourceData, config *Config) error
- func SecretManagerSecretIdParseFunc(d *schema.ResourceData, config *Config) error
- func ServiceAccountIdParseFunc(d *schema.ResourceData, _ *Config) error
- func ServiceManagementServiceIdParseFunc(d *schema.ResourceData, config *Config) error
- func SignString(toSign []byte, cfg *jwt.Config) ([]byte, error)
- func SourceRepoRepositoryDiffSuppress(_, old, new string, _ *schema.ResourceData) bool
- func SourceRepoRepositoryIdParseFunc(d *schema.ResourceData, config *Config) error
- func SpannerDatabaseIdParseFunc(d *schema.ResourceData, config *Config) error
- func SpannerInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
- func StorageBucketDiffSuppress(_, old, new string, _ *schema.ResourceData) bool
- func StorageBucketIdParseFunc(d *schema.ResourceData, config *Config) error
- func StoreResourceName(resourceLink interface{}) string
- func StringNotInSlice(invalid []string, ignoreCase bool) schema.SchemaValidateFunc
- type AccessContextManagerOperationWaiter
- type ActiveDirectoryOperationWaiter
- type AppEngineOperationWaiter
- type BatchRequest
- type BatcherCombineFunc
- type BatcherSendFunc
- type BigQueryTableIamUpdater
- func (u *BigQueryTableIamUpdater) DescribeResource() string
- func (u *BigQueryTableIamUpdater) GetMutexKey() string
- func (u *BigQueryTableIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BigQueryTableIamUpdater) GetResourceId() string
- func (u *BigQueryTableIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type BigqueryDatasetIamUpdater
- func (u *BigqueryDatasetIamUpdater) DescribeResource() string
- func (u *BigqueryDatasetIamUpdater) GetMutexKey() string
- func (u *BigqueryDatasetIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BigqueryDatasetIamUpdater) GetResourceId() string
- func (u *BigqueryDatasetIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type BigtableClientFactory
- type BigtableInstanceIamUpdater
- func (u *BigtableInstanceIamUpdater) DescribeResource() string
- func (u *BigtableInstanceIamUpdater) GetMutexKey() string
- func (u *BigtableInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BigtableInstanceIamUpdater) GetResourceId() string
- func (u *BigtableInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type BigtableTableIamUpdater
- func (u *BigtableTableIamUpdater) DescribeResource() string
- func (u *BigtableTableIamUpdater) GetMutexKey() string
- func (u *BigtableTableIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BigtableTableIamUpdater) GetResourceId() string
- func (u *BigtableTableIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type BillingAccountIamUpdater
- func (u *BillingAccountIamUpdater) DescribeResource() string
- func (u *BillingAccountIamUpdater) GetMutexKey() string
- func (u *BillingAccountIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BillingAccountIamUpdater) GetResourceId() string
- func (u *BillingAccountIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type BillingAccountLoggingExclusionUpdater
- func (u *BillingAccountLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
- func (u *BillingAccountLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
- func (u *BillingAccountLoggingExclusionUpdater) DescribeResource() string
- func (u *BillingAccountLoggingExclusionUpdater) GetResourceId() string
- func (u *BillingAccountLoggingExclusionUpdater) GetResourceType() string
- func (u *BillingAccountLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
- func (u *BillingAccountLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
- type BinaryAuthorizationAttestorIamUpdater
- func (u *BinaryAuthorizationAttestorIamUpdater) DescribeResource() string
- func (u *BinaryAuthorizationAttestorIamUpdater) GetMutexKey() string
- func (u *BinaryAuthorizationAttestorIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BinaryAuthorizationAttestorIamUpdater) GetResourceId() string
- func (u *BinaryAuthorizationAttestorIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ByCreationTimestamp
- type CloudFunctionsCloudFunctionIamUpdater
- func (u *CloudFunctionsCloudFunctionIamUpdater) DescribeResource() string
- func (u *CloudFunctionsCloudFunctionIamUpdater) GetMutexKey() string
- func (u *CloudFunctionsCloudFunctionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *CloudFunctionsCloudFunctionIamUpdater) GetResourceId() string
- func (u *CloudFunctionsCloudFunctionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type CloudFunctionsOperationWaiter
- type CloudRunServiceIamUpdater
- func (u *CloudRunServiceIamUpdater) DescribeResource() string
- func (u *CloudRunServiceIamUpdater) GetMutexKey() string
- func (u *CloudRunServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *CloudRunServiceIamUpdater) GetResourceId() string
- func (u *CloudRunServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type CommonOpError
- type CommonOperation
- type CommonOperationWaiter
- func (w *CommonOperationWaiter) Error() error
- func (w *CommonOperationWaiter) IsRetryable(error) bool
- func (w *CommonOperationWaiter) OpName() string
- func (w *CommonOperationWaiter) PendingStates() []string
- func (w *CommonOperationWaiter) SetOp(op interface{}) error
- func (w *CommonOperationWaiter) State() string
- func (w *CommonOperationWaiter) TargetStates() []string
- type ComposerOperationWaiter
- type ComputeDiskIamUpdater
- func (u *ComputeDiskIamUpdater) DescribeResource() string
- func (u *ComputeDiskIamUpdater) GetMutexKey() string
- func (u *ComputeDiskIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *ComputeDiskIamUpdater) GetResourceId() string
- func (u *ComputeDiskIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ComputeImageIamUpdater
- func (u *ComputeImageIamUpdater) DescribeResource() string
- func (u *ComputeImageIamUpdater) GetMutexKey() string
- func (u *ComputeImageIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *ComputeImageIamUpdater) GetResourceId() string
- func (u *ComputeImageIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ComputeInstanceIamUpdater
- func (u *ComputeInstanceIamUpdater) DescribeResource() string
- func (u *ComputeInstanceIamUpdater) GetMutexKey() string
- func (u *ComputeInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *ComputeInstanceIamUpdater) GetResourceId() string
- func (u *ComputeInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ComputeOperationError
- type ComputeOperationWaiter
- func (w *ComputeOperationWaiter) Error() error
- func (w *ComputeOperationWaiter) IsRetryable(err error) bool
- func (w *ComputeOperationWaiter) OpName() string
- func (w *ComputeOperationWaiter) PendingStates() []string
- func (w *ComputeOperationWaiter) QueryOp() (interface{}, error)
- func (w *ComputeOperationWaiter) SetOp(op interface{}) error
- func (w *ComputeOperationWaiter) State() string
- func (w *ComputeOperationWaiter) TargetStates() []string
- type ComputeRegionDiskIamUpdater
- func (u *ComputeRegionDiskIamUpdater) DescribeResource() string
- func (u *ComputeRegionDiskIamUpdater) GetMutexKey() string
- func (u *ComputeRegionDiskIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *ComputeRegionDiskIamUpdater) GetResourceId() string
- func (u *ComputeRegionDiskIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ComputeSubnetworkIamUpdater
- func (u *ComputeSubnetworkIamUpdater) DescribeResource() string
- func (u *ComputeSubnetworkIamUpdater) GetMutexKey() string
- func (u *ComputeSubnetworkIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *ComputeSubnetworkIamUpdater) GetResourceId() string
- func (u *ComputeSubnetworkIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type Condition
- type Config
- func (c *Config) BigTableClientFactory(userAgent string) *BigtableClientFactory
- func (c *Config) GetCredentials(clientScopes []string) (googleoauth.Credentials, error)
- func (c *Config) LoadAndValidate(ctx context.Context) error
- func (c *Config) NewAppEngineClient(userAgent string) *appengine.APIService
- func (c *Config) NewBigQueryClient(userAgent string) *bigquery.Service
- func (c *Config) NewBigTableProjectsInstancesClient(userAgent string) *bigtableadmin.ProjectsInstancesService
- func (c *Config) NewBigTableProjectsInstancesTablesClient(userAgent string) *bigtableadmin.ProjectsInstancesTablesService
- func (c *Config) NewBillingClient(userAgent string) *cloudbilling.APIService
- func (c *Config) NewBuildClient(userAgent string) *cloudbuild.Service
- func (c *Config) NewCloudFunctionsClient(userAgent string) *cloudfunctions.Service
- func (c *Config) NewCloudIdentityClient(userAgent string) *cloudidentity.Service
- func (c *Config) NewCloudIoTClient(userAgent string) *cloudiot.Service
- func (c *Config) NewComposerClient(userAgent string) *composer.Service
- func (c *Config) NewComputeBetaClient(userAgent string) *computeBeta.Service
- func (c *Config) NewComputeClient(userAgent string) *compute.Service
- func (c *Config) NewContainerBetaClient(userAgent string) *containerBeta.Service
- func (c *Config) NewContainerClient(userAgent string) *container.Service
- func (c *Config) NewDataflowClient(userAgent string) *dataflow.Service
- func (c *Config) NewDataprocBetaClient(userAgent string) *dataprocBeta.Service
- func (c *Config) NewDataprocClient(userAgent string) *dataproc.Service
- func (c *Config) NewDnsBetaClient(userAgent string) *dnsBeta.Service
- func (c *Config) NewDnsClient(userAgent string) *dns.Service
- func (c *Config) NewFilestoreClient(userAgent string) *file.Service
- func (c *Config) NewHealthcareClient(userAgent string) *healthcare.Service
- func (c *Config) NewIamClient(userAgent string) *iam.Service
- func (c *Config) NewIamCredentialsClient(userAgent string) *iamcredentials.Service
- func (c *Config) NewKmsClient(userAgent string) *cloudkms.Service
- func (c *Config) NewLoggingClient(userAgent string) *cloudlogging.Service
- func (c *Config) NewPubsubClient(userAgent string) *pubsub.Service
- func (c *Config) NewResourceManagerClient(userAgent string) *cloudresourcemanager.Service
- func (c *Config) NewResourceManagerV2Beta1Client(userAgent string) *resourceManagerV2Beta1.Service
- func (c *Config) NewRuntimeconfigClient(userAgent string) *runtimeconfig.Service
- func (c *Config) NewServiceManClient(userAgent string) *servicemanagement.APIService
- func (c *Config) NewServiceNetworkingClient(userAgent string) *servicenetworking.APIService
- func (c *Config) NewServiceUsageClient(userAgent string) *serviceusage.Service
- func (c *Config) NewSourceRepoClient(userAgent string) *sourcerepo.Service
- func (c *Config) NewSpannerClient(userAgent string) *spanner.Service
- func (c *Config) NewSqlAdminClient(userAgent string) *sqladmin.Service
- func (c *Config) NewStorageClient(userAgent string) *storage.Service
- func (c *Config) NewStorageTransferClient(userAgent string) *storagetransfer.Service
- type ContainerOperationWaiter
- func (w *ContainerOperationWaiter) Error() error
- func (w *ContainerOperationWaiter) IsRetryable(error) bool
- func (w *ContainerOperationWaiter) OpName() string
- func (w *ContainerOperationWaiter) PendingStates() []string
- func (w *ContainerOperationWaiter) QueryOp() (interface{}, error)
- func (w *ContainerOperationWaiter) SetOp(op interface{}) error
- func (w *ContainerOperationWaiter) State() string
- func (w *ContainerOperationWaiter) TargetStates() []string
- type DataCatalogEntryGroupIamUpdater
- func (u *DataCatalogEntryGroupIamUpdater) DescribeResource() string
- func (u *DataCatalogEntryGroupIamUpdater) GetMutexKey() string
- func (u *DataCatalogEntryGroupIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *DataCatalogEntryGroupIamUpdater) GetResourceId() string
- func (u *DataCatalogEntryGroupIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type DataprocClusterIamUpdater
- func (u *DataprocClusterIamUpdater) DescribeResource() string
- func (u *DataprocClusterIamUpdater) GetMutexKey() string
- func (u *DataprocClusterIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *DataprocClusterIamUpdater) GetResourceId() string
- func (u *DataprocClusterIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type DataprocClusterOperationWaiter
- type DataprocDeleteJobOperationWaiter
- type DataprocJobIamUpdater
- func (u *DataprocJobIamUpdater) DescribeResource() string
- func (u *DataprocJobIamUpdater) GetMutexKey() string
- func (u *DataprocJobIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *DataprocJobIamUpdater) GetResourceId() string
- func (u *DataprocJobIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type DataprocJobOperationWaiter
- func (w *DataprocJobOperationWaiter) Error() error
- func (w *DataprocJobOperationWaiter) IsRetryable(error) bool
- func (w *DataprocJobOperationWaiter) OpName() string
- func (w *DataprocJobOperationWaiter) PendingStates() []string
- func (w *DataprocJobOperationWaiter) QueryOp() (interface{}, error)
- func (w *DataprocJobOperationWaiter) SetOp(job interface{}) error
- func (w *DataprocJobOperationWaiter) State() string
- func (w *DataprocJobOperationWaiter) TargetStates() []string
- type DatastoreOperationWaiter
- type DeploymentManagerOperationError
- type DeploymentManagerOperationWaiter
- type DnsChangeWaiter
- type FilestoreOperationWaiter
- type FirestoreOperationWaiter
- type FolderIamUpdater
- func (u *FolderIamUpdater) DescribeResource() string
- func (u *FolderIamUpdater) GetMutexKey() string
- func (u *FolderIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *FolderIamUpdater) GetResourceId() string
- func (u *FolderIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type FolderLoggingExclusionUpdater
- func (u *FolderLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
- func (u *FolderLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
- func (u *FolderLoggingExclusionUpdater) DescribeResource() string
- func (u *FolderLoggingExclusionUpdater) GetResourceId() string
- func (u *FolderLoggingExclusionUpdater) GetResourceType() string
- func (u *FolderLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
- func (u *FolderLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
- type GameServicesOperationWaiter
- type GlobalFieldValue
- func ParseHttpHealthCheckFieldValue(healthCheck string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
- func ParseInstanceTemplateFieldValue(instanceTemplate string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
- func ParseMachineImageFieldValue(machineImage string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
- func ParseNetworkFieldValue(network string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
- func ParseSecurityPolicyFieldValue(securityPolicy string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
- func ParseSslCertificateFieldValue(sslCertificate string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
- type HealthcareDatasetIamUpdater
- func (u *HealthcareDatasetIamUpdater) DescribeResource() string
- func (u *HealthcareDatasetIamUpdater) GetMutexKey() string
- func (u *HealthcareDatasetIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *HealthcareDatasetIamUpdater) GetResourceId() string
- func (u *HealthcareDatasetIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type HealthcareDicomStoreIamUpdater
- func (u *HealthcareDicomStoreIamUpdater) DescribeResource() string
- func (u *HealthcareDicomStoreIamUpdater) GetMutexKey() string
- func (u *HealthcareDicomStoreIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *HealthcareDicomStoreIamUpdater) GetResourceId() string
- func (u *HealthcareDicomStoreIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type HealthcareFhirStoreIamUpdater
- func (u *HealthcareFhirStoreIamUpdater) DescribeResource() string
- func (u *HealthcareFhirStoreIamUpdater) GetMutexKey() string
- func (u *HealthcareFhirStoreIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *HealthcareFhirStoreIamUpdater) GetResourceId() string
- func (u *HealthcareFhirStoreIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type HealthcareHl7V2StoreIamUpdater
- func (u *HealthcareHl7V2StoreIamUpdater) DescribeResource() string
- func (u *HealthcareHl7V2StoreIamUpdater) GetMutexKey() string
- func (u *HealthcareHl7V2StoreIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *HealthcareHl7V2StoreIamUpdater) GetResourceId() string
- func (u *HealthcareHl7V2StoreIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type IapAppEngineServiceIamUpdater
- func (u *IapAppEngineServiceIamUpdater) DescribeResource() string
- func (u *IapAppEngineServiceIamUpdater) GetMutexKey() string
- func (u *IapAppEngineServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *IapAppEngineServiceIamUpdater) GetResourceId() string
- func (u *IapAppEngineServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type IapAppEngineVersionIamUpdater
- func (u *IapAppEngineVersionIamUpdater) DescribeResource() string
- func (u *IapAppEngineVersionIamUpdater) GetMutexKey() string
- func (u *IapAppEngineVersionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *IapAppEngineVersionIamUpdater) GetResourceId() string
- func (u *IapAppEngineVersionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type IapTunnelIamUpdater
- func (u *IapTunnelIamUpdater) DescribeResource() string
- func (u *IapTunnelIamUpdater) GetMutexKey() string
- func (u *IapTunnelIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *IapTunnelIamUpdater) GetResourceId() string
- func (u *IapTunnelIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type IapTunnelInstanceIamUpdater
- func (u *IapTunnelInstanceIamUpdater) DescribeResource() string
- func (u *IapTunnelInstanceIamUpdater) GetMutexKey() string
- func (u *IapTunnelInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *IapTunnelInstanceIamUpdater) GetResourceId() string
- func (u *IapTunnelInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type IapWebBackendServiceIamUpdater
- func (u *IapWebBackendServiceIamUpdater) DescribeResource() string
- func (u *IapWebBackendServiceIamUpdater) GetMutexKey() string
- func (u *IapWebBackendServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *IapWebBackendServiceIamUpdater) GetResourceId() string
- func (u *IapWebBackendServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type IapWebIamUpdater
- func (u *IapWebIamUpdater) DescribeResource() string
- func (u *IapWebIamUpdater) GetMutexKey() string
- func (u *IapWebIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *IapWebIamUpdater) GetResourceId() string
- func (u *IapWebIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type IapWebTypeAppEngineIamUpdater
- func (u *IapWebTypeAppEngineIamUpdater) DescribeResource() string
- func (u *IapWebTypeAppEngineIamUpdater) GetMutexKey() string
- func (u *IapWebTypeAppEngineIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *IapWebTypeAppEngineIamUpdater) GetResourceId() string
- func (u *IapWebTypeAppEngineIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type IapWebTypeComputeIamUpdater
- func (u *IapWebTypeComputeIamUpdater) DescribeResource() string
- func (u *IapWebTypeComputeIamUpdater) GetMutexKey() string
- func (u *IapWebTypeComputeIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *IapWebTypeComputeIamUpdater) GetResourceId() string
- func (u *IapWebTypeComputeIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type KmsCryptoKeyIamUpdater
- func (u *KmsCryptoKeyIamUpdater) DescribeResource() string
- func (u *KmsCryptoKeyIamUpdater) GetMutexKey() string
- func (u *KmsCryptoKeyIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *KmsCryptoKeyIamUpdater) GetResourceId() string
- func (u *KmsCryptoKeyIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type KmsKeyRingIamUpdater
- func (u *KmsKeyRingIamUpdater) DescribeResource() string
- func (u *KmsKeyRingIamUpdater) GetMutexKey() string
- func (u *KmsKeyRingIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *KmsKeyRingIamUpdater) GetResourceId() string
- func (u *KmsKeyRingIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type KnativeStatus
- type LocationType
- type LoggingExclusionId
- type LoggingSinkId
- type MLEngineOperationWaiter
- type MutexKV
- type NetworkManagementOperationWaiter
- type NodePoolInformation
- type NotebooksInstanceIamUpdater
- func (u *NotebooksInstanceIamUpdater) DescribeResource() string
- func (u *NotebooksInstanceIamUpdater) GetMutexKey() string
- func (u *NotebooksInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *NotebooksInstanceIamUpdater) GetResourceId() string
- func (u *NotebooksInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type NotebooksOperationWaiter
- type OrganizationFieldValue
- type OrganizationIamUpdater
- func (u *OrganizationIamUpdater) DescribeResource() string
- func (u *OrganizationIamUpdater) GetMutexKey() string
- func (u *OrganizationIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *OrganizationIamUpdater) GetResourceId() string
- func (u *OrganizationIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type OrganizationLoggingExclusionUpdater
- func (u *OrganizationLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
- func (u *OrganizationLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
- func (u *OrganizationLoggingExclusionUpdater) DescribeResource() string
- func (u *OrganizationLoggingExclusionUpdater) GetResourceId() string
- func (u *OrganizationLoggingExclusionUpdater) GetResourceType() string
- func (u *OrganizationLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
- func (u *OrganizationLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
- type PollCheckResponseFunc
- type PollReadFunc
- type PollResult
- func ErrorPollResult(err error) PollResult
- func PendingStatusPollResult(status string) PollResult
- func PollCheckForAbsence(_ map[string]interface{}, respErr error) PollResult
- func PollCheckForExistence(_ map[string]interface{}, respErr error) PollResult
- func PollCheckInstanceConfigDeleted(resp map[string]interface{}, respErr error) PollResult
- func PollCheckKnativeStatus(resp map[string]interface{}, respErr error) PollResult
- func SuccessPollResult() PollResult
- type ProjectFieldValue
- type ProjectIamUpdater
- func (u *ProjectIamUpdater) DescribeResource() string
- func (u *ProjectIamUpdater) GetMutexKey() string
- func (u *ProjectIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *ProjectIamUpdater) GetResourceId() string
- func (u *ProjectIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ProjectLoggingExclusionUpdater
- func (u *ProjectLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
- func (u *ProjectLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
- func (u *ProjectLoggingExclusionUpdater) DescribeResource() string
- func (u *ProjectLoggingExclusionUpdater) GetResourceId() string
- func (u *ProjectLoggingExclusionUpdater) GetResourceType() string
- func (u *ProjectLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
- func (u *ProjectLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
- type PubsubSubscriptionIamUpdater
- func (u *PubsubSubscriptionIamUpdater) DescribeResource() string
- func (u *PubsubSubscriptionIamUpdater) GetMutexKey() string
- func (u *PubsubSubscriptionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *PubsubSubscriptionIamUpdater) GetResourceId() string
- func (u *PubsubSubscriptionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type PubsubTopicIamUpdater
- func (u *PubsubTopicIamUpdater) DescribeResource() string
- func (u *PubsubTopicIamUpdater) GetMutexKey() string
- func (u *PubsubTopicIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *PubsubTopicIamUpdater) GetResourceId() string
- func (u *PubsubTopicIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type RedisOperationWaiter
- type RegionalFieldValue
- func ParseRegionDiskFieldValue(disk string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)
- func ParseSubnetworkFieldValue(subnetwork string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)
- func ParseSubnetworkFieldValueWithProjectField(subnetwork, projectField string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)
- type RequestBatcher
- type ResourceDataMock
- func (d *ResourceDataMock) Get(key string) interface{}
- func (d *ResourceDataMock) GetOk(key string) (interface{}, bool)
- func (d *ResourceDataMock) GetOkExists(key string) (interface{}, bool)
- func (d *ResourceDataMock) GetProviderMeta(dst interface{}) error
- func (d *ResourceDataMock) HasChange(key string) bool
- func (d *ResourceDataMock) Id() string
- func (d *ResourceDataMock) Set(key string, value interface{}) error
- func (d *ResourceDataMock) SetId(v string)
- type ResourceDiffMock
- type ResourceIamUpdater
- func BigQueryTableIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func BinaryAuthorizationAttestorIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func CloudFunctionsCloudFunctionIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func CloudRunServiceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func ComputeDiskIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func ComputeImageIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func ComputeInstanceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func ComputeRegionDiskIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func ComputeSubnetworkIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func DataCatalogEntryGroupIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func IapAppEngineServiceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func IapAppEngineVersionIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func IapTunnelIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func IapTunnelInstanceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func IapWebBackendServiceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func IapWebIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func IapWebTypeAppEngineIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func IapWebTypeComputeIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewBigqueryDatasetIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewBigtableInstanceUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewBigtableTableUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewBillingAccountIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewDataprocClusterUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewDataprocJobUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewFolderIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewHealthcareDatasetIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewHealthcareDicomStoreIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewHealthcareFhirStoreIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewHealthcareHl7V2StoreIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewKmsCryptoKeyIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewKmsKeyRingIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewOrganizationIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewProjectIamPolicyUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewProjectIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewPubsubSubscriptionIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewServiceAccountIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewSpannerDatabaseIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewSpannerInstanceIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NotebooksInstanceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func PubsubTopicIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func RuntimeConfigConfigIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func SecretManagerSecretIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func ServiceManagementServiceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func SourceRepoRepositoryIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func StorageBucketIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- type ResourceLoggingExclusionUpdater
- func NewBillingAccountLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
- func NewFolderLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
- func NewOrganizationLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
- func NewProjectLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
- type ResourceManagerOperationWaiter
- type RestingStates
- type RetryErrorPredicateFunc
- type RoleEntity
- type RuntimeConfigConfigIamUpdater
- func (u *RuntimeConfigConfigIamUpdater) DescribeResource() string
- func (u *RuntimeConfigConfigIamUpdater) GetMutexKey() string
- func (u *RuntimeConfigConfigIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *RuntimeConfigConfigIamUpdater) GetResourceId() string
- func (u *RuntimeConfigConfigIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type SecretManagerSecretIamUpdater
- func (u *SecretManagerSecretIamUpdater) DescribeResource() string
- func (u *SecretManagerSecretIamUpdater) GetMutexKey() string
- func (u *SecretManagerSecretIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *SecretManagerSecretIamUpdater) GetResourceId() string
- func (u *SecretManagerSecretIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ServiceAccountIamUpdater
- func (u *ServiceAccountIamUpdater) DescribeResource() string
- func (u *ServiceAccountIamUpdater) GetMutexKey() string
- func (u *ServiceAccountIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *ServiceAccountIamUpdater) GetResourceId() string
- func (u *ServiceAccountIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ServiceAccountKeyWaiter
- type ServiceManagementOperationWaiter
- type ServiceManagementServiceIamUpdater
- func (u *ServiceManagementServiceIamUpdater) DescribeResource() string
- func (u *ServiceManagementServiceIamUpdater) GetMutexKey() string
- func (u *ServiceManagementServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *ServiceManagementServiceIamUpdater) GetResourceId() string
- func (u *ServiceManagementServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ServiceNetworkingOperationWaiter
- type ServiceUsageOperationWaiter
- type SourceRepoRepositoryIamUpdater
- func (u *SourceRepoRepositoryIamUpdater) DescribeResource() string
- func (u *SourceRepoRepositoryIamUpdater) GetMutexKey() string
- func (u *SourceRepoRepositoryIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *SourceRepoRepositoryIamUpdater) GetResourceId() string
- func (u *SourceRepoRepositoryIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type SpannerDatabaseIamUpdater
- func (u *SpannerDatabaseIamUpdater) DescribeResource() string
- func (u *SpannerDatabaseIamUpdater) GetMutexKey() string
- func (u *SpannerDatabaseIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *SpannerDatabaseIamUpdater) GetResourceId() string
- func (u *SpannerDatabaseIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type SpannerInstanceIamUpdater
- func (u *SpannerInstanceIamUpdater) DescribeResource() string
- func (u *SpannerInstanceIamUpdater) GetMutexKey() string
- func (u *SpannerInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *SpannerInstanceIamUpdater) GetResourceId() string
- func (u *SpannerInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type SpannerOperationWaiter
- type SqlAdminOperationError
- type SqlAdminOperationWaiter
- func (w *SqlAdminOperationWaiter) Error() error
- func (w *SqlAdminOperationWaiter) IsRetryable(error) bool
- func (w *SqlAdminOperationWaiter) OpName() string
- func (w *SqlAdminOperationWaiter) PendingStates() []string
- func (w *SqlAdminOperationWaiter) QueryOp() (interface{}, error)
- func (w *SqlAdminOperationWaiter) SetOp(op interface{}) error
- func (w *SqlAdminOperationWaiter) State() string
- func (w *SqlAdminOperationWaiter) TargetStates() []string
- type StateType
- type StorageBucketIamUpdater
- func (u *StorageBucketIamUpdater) DescribeResource() string
- func (u *StorageBucketIamUpdater) GetMutexKey() string
- func (u *StorageBucketIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *StorageBucketIamUpdater) GetResourceId() string
- func (u *StorageBucketIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type TPUOperationWaiter
- type TerraformResourceData
- type TerraformResourceDiff
- type UrlData
- type VPCAccessOperationWaiter
- type Waiter
- type ZonalFieldValue
- func ParseAcceleratorFieldValue(accelerator string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
- func ParseDiskFieldValue(disk string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
- func ParseInstanceFieldValue(instance string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
- func ParseInstanceGroupFieldValue(instanceGroup string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
- func ParseMachineTypesFieldValue(machineType string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
- func ParseNetworkEndpointGroupFieldValue(networkEndpointGroup string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
Constants ¶
const ( IamBatchingEnabled = true IamBatchingDisabled = false )
const ( GCPolicyModeIntersection = "INTERSECTION" GCPolicyModeUnion = "UNION" )
const ( // Copied from the official Google Cloud auto-generated client. ProjectRegex = "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" ProjectRegexWildCard = "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?)|-)" RegionRegex = "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" SubnetworkRegex = "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" SubnetworkLinkRegex = "projects/(" + ProjectRegex + ")/regions/(" + RegionRegex + ")/subnetworks/(" + SubnetworkRegex + ")$" RFC1035NameTemplate = "[a-z](?:[-a-z0-9]{%d,%d}[a-z0-9])" CloudIoTIdRegex = "^[a-zA-Z][-a-zA-Z0-9._+~%]{2,254}$" // Format of default Compute service accounts created by Google // ${PROJECT_ID}-compute@developer.gserviceaccount.com where PROJECT_ID is an int64 (max 20 digits) ComputeServiceAccountNameRegex = "[0-9]{1,20}-compute@developer.gserviceaccount.com" // https://cloud.google.com/iam/docs/understanding-custom-roles#naming_the_role IAMCustomRoleIDRegex = "^[a-zA-Z0-9_\\.]{3,64}$" // https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains/create#query-parameters ADDomainNameRegex = "^[a-z][a-z0-9-]{0,14}\\.[a-z0-9-\\.]*[a-z]+[a-z0-9]*$" )
const METADATA_FINGERPRINT_RETRIES = 10
const PubsubTopicRegex = "projects\\/.*\\/topics\\/.*"
const TestEnvVar = "TF_ACC"
Variables ¶
var ( // Service account name must have a length between 6 and 30. // The first and last characters have different restrictions, than // the middle characters. The middle characters length must be between // 4 and 28 since the first and last character are excluded. ServiceAccountNameRegex = fmt.Sprintf(RFC1035NameTemplate, 4, 28) ServiceAccountLinkRegexPrefix = "projects/" + ProjectRegexWildCard + "/serviceAccounts/" PossibleServiceAccountNames = []string{ ServiceDefaultAccountNameRegex, ComputeServiceAccountNameRegex, CreatedServiceAccountNameRegex, } ServiceAccountLinkRegex = ServiceAccountLinkRegexPrefix + "(" + strings.Join(PossibleServiceAccountNames, "|") + ")" ServiceAccountKeyNameRegex = ServiceAccountLinkRegexPrefix + "(.+)/keys/(.+)" // Format of service accounts created through the API CreatedServiceAccountNameRegex = fmt.Sprintf(RFC1035NameTemplate, 4, 28) + "@" + ProjectNameInDNSFormRegex + "\\.iam\\.gserviceaccount\\.com$" // Format of service-created service account // examples are: // $PROJECTID@cloudbuild.gserviceaccount.com // $PROJECTID@cloudservices.gserviceaccount.com // $PROJECTID@appspot.gserviceaccount.com ServiceDefaultAccountNameRegex = ProjectRegex + "@[a-z]+.gserviceaccount.com$" ProjectNameInDNSFormRegex = "[-a-z0-9\\.]{1,63}" ProjectNameRegex = "^[A-Za-z0-9-'\"\\s!]{4,30}$" // Valid range for Cloud Router ASN values as per RFC6996 // https://tools.ietf.org/html/rfc6996 // Must be explicitly int64 to avoid overflow when building Terraform for 32bit architectures Rfc6996Asn16BitMin = int64(64512) Rfc6996Asn16BitMax = int64(65534) Rfc6996Asn32BitMin = int64(4200000000) Rfc6996Asn32BitMax = int64(4294967294) GcpRouterPartnerAsn = int64(16550) )
var AccessApprovalDefaultBasePath = "https://accessapproval.googleapis.com/v1/"
Generated product base paths
var AccessContextManagerDefaultBasePath = "https://accesscontextmanager.googleapis.com/v1/"
var ActiveDirectoryDefaultBasePath = "https://managedidentities.googleapis.com/v1/"
var AppEngineDefaultBasePath = "https://appengine.googleapis.com/v1/"
var BigQueryDefaultBasePath = "https://bigquery.googleapis.com/bigquery/v2/"
var BigQueryTableIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "dataset_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, "table_id": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var BigqueryDataTransferDefaultBasePath = "https://bigquerydatatransfer.googleapis.com/v1/"
var BigqueryReservationDefaultBasePath = "https://bigqueryreservation.googleapis.com/v1/"
var BigtableAdminCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_BIGTABLE_CUSTOM_ENDPOINT", }, BigtableAdminDefaultBasePath), }
var BigtableAdminCustomEndpointEntryKey = "bigtable_custom_endpoint"
var BigtableAdminDefaultBasePath = "https://bigtableadmin.googleapis.com/v2/"
var BigtableDefaultBasePath = "https://bigtableadmin.googleapis.com/v2/"
var BillingAccountLoggingExclusionSchema = map[string]*schema.Schema{ "billing_account": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var BillingDefaultBasePath = "https://billingbudgets.googleapis.com/v1/"
var BinaryAuthorizationAttestorIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "attestor": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var BinaryAuthorizationDefaultBasePath = "https://binaryauthorization.googleapis.com/v1/"
var CloudAssetDefaultBasePath = "https://cloudasset.googleapis.com/v1/"
var CloudBillingCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_CLOUD_BILLING_CUSTOM_ENDPOINT", }, CloudBillingDefaultBasePath), }
var CloudBillingCustomEndpointEntryKey = "cloud_billing_custom_endpoint"
var CloudBillingDefaultBasePath = "https://cloudbilling.googleapis.com/v1/"
var CloudBuildDefaultBasePath = "https://cloudbuild.googleapis.com/v1/"
var CloudFunctionsCloudFunctionIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "region": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "cloud_function": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var CloudFunctionsDefaultBasePath = "https://cloudfunctions.googleapis.com/v1/"
var CloudIdentityDefaultBasePath = "https://cloudidentity.googleapis.com/v1/"
var CloudIotDefaultBasePath = "https://cloudiot.googleapis.com/v1/"
var CloudRunDefaultBasePath = "https://{{location}}-run.googleapis.com/"
var CloudRunServiceIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "location": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "service": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var CloudSchedulerDefaultBasePath = "https://cloudscheduler.googleapis.com/v1/"
var CloudTasksDefaultBasePath = "https://cloudtasks.googleapis.com/v2/"
var ComposerCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_COMPOSER_CUSTOM_ENDPOINT", }, ComposerDefaultBasePath), }
var ComposerCustomEndpointEntryKey = "composer_custom_endpoint"
var ComposerDefaultBasePath = "https://composer.googleapis.com/v1beta1/"
var ComputeBetaCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_COMPUTE_BETA_CUSTOM_ENDPOINT", }, ComputeBetaDefaultBasePath), }
var ComputeBetaCustomEndpointEntryKey = "compute_beta_custom_endpoint"
var ComputeBetaDefaultBasePath = "https://www.googleapis.com/compute/beta/"
var ComputeDefaultBasePath = "https://compute.googleapis.com/compute/v1/"
var ComputeDiskIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "zone": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "name": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var ComputeImageIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "image": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var ComputeInstanceIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "zone": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "instance_name": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var ComputeRegionDiskIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "region": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "name": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var ComputeSubnetworkIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "region": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "subnetwork": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var ContainerAnalysisDefaultBasePath = "https://containeranalysis.googleapis.com/v1/"
var ContainerBetaCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_CONTAINER_BETA_CUSTOM_ENDPOINT", }, ContainerBetaDefaultBasePath), }
var ContainerBetaCustomEndpointEntryKey = "container_beta_custom_endpoint"
var ContainerBetaDefaultBasePath = "https://container.googleapis.com/v1beta1/"
var ContainerCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_CONTAINER_CUSTOM_ENDPOINT", }, ContainerDefaultBasePath), }
var ContainerCustomEndpointEntryKey = "container_custom_endpoint"
var ContainerDefaultBasePath = "https://container.googleapis.com/v1/"
var DNSDefaultBasePath = "https://dns.googleapis.com/dns/v1/"
var DataCatalogDefaultBasePath = "https://datacatalog.googleapis.com/v1/"
var DataCatalogEntryGroupIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "region": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "entry_group": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var DataLossPreventionDefaultBasePath = "https://dlp.googleapis.com/v2/"
var DataflowCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_DATAFLOW_CUSTOM_ENDPOINT", }, DataflowDefaultBasePath), }
var DataflowCustomEndpointEntryKey = "dataflow_custom_endpoint"
var DataflowDefaultBasePath = "https://dataflow.googleapis.com/v1b3/"
var DataprocBetaCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_DATAPROC_BETA_CUSTOM_ENDPOINT", }, DataprocBetaDefaultBasePath), }
var DataprocBetaCustomEndpointEntryKey = "dataproc_beta_custom_endpoint"
var DataprocBetaDefaultBasePath = "https://dataproc.googleapis.com/v1beta2/"
var DataprocDefaultBasePath = "https://dataproc.googleapis.com/v1/"
var DatastoreDefaultBasePath = "https://datastore.googleapis.com/v1/"
var DefaultClientScopes = []string{
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-identity",
"https://www.googleapis.com/auth/ndev.clouddns.readwrite",
"https://www.googleapis.com/auth/devstorage.full_control",
"https://www.googleapis.com/auth/userinfo.email",
}
var DefaultRequestTimeout = 5 * time.Minute
var DeploymentManagerDefaultBasePath = "https://www.googleapis.com/deploymentmanager/v2/"
var DialogflowDefaultBasePath = "https://dialogflow.googleapis.com/v2/"
var DnsBetaCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_DNS_BETA_CUSTOM_ENDPOINT", }, DnsBetaDefaultBasePath), }
var DnsBetaCustomEndpointEntryKey = "dns_beta_custom_endpoint"
var DnsBetaDefaultBasePath = "https://www.googleapis.com/dns/v1beta2/"
var FINGERPRINT_FAIL_ERRORS = []string{"Invalid fingerprint.", "Supplied fingerprint does not match current metadata fingerprint."}
We've encountered a few common fingerprint-related strings; if this is one of them, we're confident this is an error due to fingerprints.
var FilestoreDefaultBasePath = "https://file.googleapis.com/v1/"
var FirestoreDefaultBasePath = "https://firestore.googleapis.com/v1/"
var FolderLoggingExclusionSchema = map[string]*schema.Schema{ "folder": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: optionalPrefixSuppress("folders/"), }, }
var GameServicesDefaultBasePath = "https://gameservices.googleapis.com/v1/"
var HealthcareDefaultBasePath = "https://healthcare.googleapis.com/v1/"
var IAMCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_IAM_CUSTOM_ENDPOINT", }, IAMDefaultBasePath), }
var IAMCustomEndpointEntryKey = "iam_custom_endpoint"
var IAMDefaultBasePath = "https://iam.googleapis.com/v1/"
var IamBigqueryDatasetSchema = map[string]*schema.Schema{ "dataset_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var IamBigtableInstanceSchema = map[string]*schema.Schema{ "instance": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var IamBigtableTableSchema = map[string]*schema.Schema{ "instance": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, "table": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamBillingAccountSchema = map[string]*schema.Schema{ "billing_account_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamCredentialsCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_IAM_CREDENTIALS_CUSTOM_ENDPOINT", }, IamCredentialsDefaultBasePath), }
var IamCredentialsCustomEndpointEntryKey = "iam_credentials_custom_endpoint"
var IamCredentialsDefaultBasePath = "https://iamcredentials.googleapis.com/v1/"
var IamDataprocClusterSchema = map[string]*schema.Schema{ "cluster": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, "region": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var IamDataprocJobSchema = map[string]*schema.Schema{ "job_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, "region": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var IamFolderSchema = map[string]*schema.Schema{ "folder": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamHealthcareDatasetSchema = map[string]*schema.Schema{ "dataset_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamHealthcareDicomStoreSchema = map[string]*schema.Schema{ "dicom_store_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamHealthcareFhirStoreSchema = map[string]*schema.Schema{ "fhir_store_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamHealthcareHl7V2StoreSchema = map[string]*schema.Schema{ "hl7_v2_store_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamKmsCryptoKeySchema = map[string]*schema.Schema{ "crypto_key_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamKmsKeyRingSchema = map[string]*schema.Schema{ "key_ring_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamMemberBaseSchema = map[string]*schema.Schema{ "role": { Type: schema.TypeString, Required: true, ForceNew: true, }, "member": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: caseDiffSuppress, ValidateFunc: validation.StringDoesNotMatch(regexp.MustCompile("^deleted:"), "Terraform does not support IAM members for deleted principals"), }, "condition": { Type: schema.TypeList, Optional: true, MaxItems: 1, ForceNew: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "expression": { Type: schema.TypeString, Required: true, ForceNew: true, }, "title": { Type: schema.TypeString, Required: true, ForceNew: true, }, "description": { Type: schema.TypeString, Optional: true, ForceNew: true, }, }, }, }, "etag": { Type: schema.TypeString, Computed: true, }, }
var IamOrganizationSchema = map[string]*schema.Schema{ "org_id": { Type: schema.TypeString, Required: true, ForceNew: true, Description: `The numeric ID of the organization in which you want to manage the audit logging config.`, }, }
var IamPolicyBaseSchema = map[string]*schema.Schema{ "policy_data": { Type: schema.TypeString, Required: true, DiffSuppressFunc: jsonPolicyDiffSuppress, ValidateFunc: validateIamPolicy, }, "etag": { Type: schema.TypeString, Computed: true, }, }
var IamPolicyProjectSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareProjectName, }, }
In google_project_iam_policy, project is required and not inferred by getProject.
var IamProjectSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, DiffSuppressFunc: compareProjectName, }, }
var IamPubsubSubscriptionSchema = map[string]*schema.Schema{ "subscription": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var IamServiceAccountSchema = map[string]*schema.Schema{ "service_account_id": { Type: schema.TypeString, Required: true, ForceNew: true, ValidateFunc: validateRegexp(ServiceAccountLinkRegex), }, }
var IamSpannerDatabaseSchema = map[string]*schema.Schema{ "instance": { Type: schema.TypeString, Required: true, ForceNew: true, }, "database": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var IamSpannerInstanceSchema = map[string]*schema.Schema{ "instance": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var IapAppEngineServiceIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "app_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, "service": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var IapAppEngineVersionIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "app_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, "service": { Type: schema.TypeString, Required: true, ForceNew: true, }, "version_id": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var IapDefaultBasePath = "https://iap.googleapis.com/v1/"
var IapTunnelIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var IapTunnelInstanceIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "zone": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "instance": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var IapWebBackendServiceIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "web_backend_service": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var IapWebIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var IapWebTypeAppEngineIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "app_id": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: IapWebTypeAppEngineDiffSuppress, }, }
var IapWebTypeComputeIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var IdentityPlatformDefaultBasePath = "https://identitytoolkit.googleapis.com/v2/"
var KMSDefaultBasePath = "https://cloudkms.googleapis.com/v1/"
var LoggingDefaultBasePath = "https://logging.googleapis.com/v2/"
var LoggingExclusionBaseSchema = map[string]*schema.Schema{ "filter": { Type: schema.TypeString, Required: true, Description: `The filter to apply when excluding logs. Only log entries that match the filter are excluded.`, }, "name": { Type: schema.TypeString, Required: true, ForceNew: true, Description: `The name of the logging exclusion.`, }, "description": { Type: schema.TypeString, Optional: true, Description: `A human-readable description.`, }, "disabled": { Type: schema.TypeBool, Optional: true, Description: `Whether this exclusion rule should be disabled or not. This defaults to false.`, }, }
var MLEngineDefaultBasePath = "https://ml.googleapis.com/v1/"
var MonitoringDefaultBasePath = "https://monitoring.googleapis.com/"
var NetworkManagementDefaultBasePath = "https://networkmanagement.googleapis.com/v1/"
var NotebooksDefaultBasePath = "https://notebooks.googleapis.com/v1/"
var NotebooksInstanceIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "location": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "instance_name": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var OSConfigDefaultBasePath = "https://osconfig.googleapis.com/v1/"
var OSLoginDefaultBasePath = "https://oslogin.googleapis.com/v1/"
var OrganizationLoggingExclusionSchema = map[string]*schema.Schema{ "org_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var ProjectLoggingExclusionSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var PubsubDefaultBasePath = "https://pubsub.googleapis.com/v1/"
var PubsubLiteDefaultBasePath = "https://{{region}}-pubsublite.googleapis.com/v1/admin/"
var PubsubTopicIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "topic": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var REQUIRED_SCRATCH_DISK_SIZE_GB = 375
var RedisDefaultBasePath = "https://redis.googleapis.com/v1/"
var ResourceManagerDefaultBasePath = "https://cloudresourcemanager.googleapis.com/v1/"
var ResourceManagerV2Beta1CustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_RESOURCE_MANAGER_V2BETA1_CUSTOM_ENDPOINT", }, ResourceManagerV2Beta1DefaultBasePath), }
var ResourceManagerV2Beta1CustomEndpointEntryKey = "resource_manager_v2beta1_custom_endpoint"
var ResourceManagerV2Beta1DefaultBasePath = "https://cloudresourcemanager.googleapis.com/v2beta1/"
var RuntimeConfigConfigIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "config": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var RuntimeConfigCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_RUNTIMECONFIG_CUSTOM_ENDPOINT", }, RuntimeConfigDefaultBasePath), }
var RuntimeConfigCustomEndpointEntryKey = "runtimeconfig_custom_endpoint"
var RuntimeConfigDefaultBasePath = "https://runtimeconfig.googleapis.com/v1beta1/"
var SQLDefaultBasePath = "https://sqladmin.googleapis.com/sql/v1beta4/"
var SecretManagerDefaultBasePath = "https://secretmanager.googleapis.com/v1/"
var SecretManagerSecretIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "secret_id": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var SecurityCenterDefaultBasePath = "https://securitycenter.googleapis.com/v1/"
var ServiceManagementDefaultBasePath = "https://servicemanagement.googleapis.com/v1/"
var ServiceManagementServiceIamSchema = map[string]*schema.Schema{ "service_name": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, }
var ServiceNetworkingCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_SERVICE_NETWORKING_CUSTOM_ENDPOINT", }, ServiceNetworkingDefaultBasePath), }
var ServiceNetworkingCustomEndpointEntryKey = "service_networking_custom_endpoint"
var ServiceNetworkingDefaultBasePath = "https://servicenetworking.googleapis.com/v1/"
var ServiceUsageCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_SERVICE_USAGE_CUSTOM_ENDPOINT", }, ServiceUsageDefaultBasePath), }
var ServiceUsageCustomEndpointEntryKey = "service_usage_custom_endpoint"
var ServiceUsageDefaultBasePath = "https://serviceusage.googleapis.com/v1/"
var SourceRepoDefaultBasePath = "https://sourcerepo.googleapis.com/v1/"
var SourceRepoRepositoryIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "repository": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: SourceRepoRepositoryDiffSuppress, }, }
var SpannerDefaultBasePath = "https://spanner.googleapis.com/v1/"
var StorageBucketIamSchema = map[string]*schema.Schema{ "bucket": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: StorageBucketDiffSuppress, }, }
var StorageDefaultBasePath = "https://storage.googleapis.com/storage/v1/"
var StorageTransferCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_STORAGE_TRANSFER_CUSTOM_ENDPOINT", }, StorageTransferDefaultBasePath), }
var StorageTransferCustomEndpointEntryKey = "storage_transfer_custom_endpoint"
var StorageTransferDefaultBasePath = "https://storagetransfer.googleapis.com/v1/"
var TPUDefaultBasePath = "https://tpu.googleapis.com/v1/"
var VPCAccessDefaultBasePath = "https://vpcaccess.googleapis.com/v1/"
Functions ¶
func BatchRequestEnableService ¶
func BatchRequestEnableService(service string, project string, d *schema.ResourceData, config *Config) error
BatchRequestEnableServices can be used to batch requests to enable services across resource nodes, i.e. to batch creation of several google_project_service(s) resources.
func BatchRequestModifyIamPolicy ¶
func BatchRequestModifyIamPolicy(updater ResourceIamUpdater, modify iamPolicyModifyFunc, config *Config, reqDesc string) error
func BatchRequestReadServices ¶
func BatchRequestReadServices(project string, d *schema.ResourceData, config *Config) (interface{}, error)
func BetaMetadataUpdate ¶
func BetaMetadataUpdate(oldMDMap map[string]interface{}, newMDMap map[string]interface{}, serverMD *computeBeta.Metadata)
Update the beta metadata (serverMD) according to the provided diff (oldMDMap v newMDMap).
func BigQueryTableIdParseFunc ¶
func BigQueryTableIdParseFunc(d *schema.ResourceData, config *Config) error
func BigqueryDatasetIdParseFunc ¶
func BigqueryDatasetIdParseFunc(d *schema.ResourceData, config *Config) error
func BigtableInstanceIdParseFunc ¶
func BigtableInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
func BigtableTableIdParseFunc ¶
func BigtableTableIdParseFunc(d *schema.ResourceData, config *Config) error
func BillingAccountIdParseFunc ¶
func BillingAccountIdParseFunc(d *schema.ResourceData, _ *Config) error
func BinaryAuthorizationAttestorIdParseFunc ¶
func BinaryAuthorizationAttestorIdParseFunc(d *schema.ResourceData, config *Config) error
func ClientWithAdditionalRetries ¶
func ClientWithAdditionalRetries(baseClient *http.Client, predicates ...RetryErrorPredicateFunc) *http.Client
Helper method to create a shallow copy of an HTTP client with a shallow-copied retryTransport s.t. the base HTTP transport is the same (i.e. client connection pools are shared, retryPredicates are different)
func CloudFunctionsCloudFunctionIdParseFunc ¶
func CloudFunctionsCloudFunctionIdParseFunc(d *schema.ResourceData, config *Config) error
func CloudRunServiceIdParseFunc ¶
func CloudRunServiceIdParseFunc(d *schema.ResourceData, config *Config) error
func CommonRefreshFunc ¶
func CommonRefreshFunc(w Waiter) resource.StateRefreshFunc
func ComputeDiskIdParseFunc ¶
func ComputeDiskIdParseFunc(d *schema.ResourceData, config *Config) error
func ComputeImageIdParseFunc ¶
func ComputeImageIdParseFunc(d *schema.ResourceData, config *Config) error
func ComputeInstanceIdParseFunc ¶
func ComputeInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
func ComputeRegionDiskIdParseFunc ¶
func ComputeRegionDiskIdParseFunc(d *schema.ResourceData, config *Config) error
func ComputeSubnetworkIdParseFunc ¶
func ComputeSubnetworkIdParseFunc(d *schema.ResourceData, config *Config) error
func ConfigureBasePaths ¶
func ConfigureBasePaths(c *Config)
For a consumer of config.go that isn't a full fledged provider and doesn't have its own endpoint mechanism such as sweepers, init {{service}}BasePath values to a default. After using this, you should call config.LoadAndValidate.
func Convert ¶
func Convert(item, out interface{}) error
Convert between two types by converting to/from JSON. Intended to switch between multiple API versions, as they are strict supersets of one another. item and out are pointers to structs
func ConvertSelfLinkToV1 ¶
func ConvertToMap ¶
When converting to a map, we can't use setOmittedFields because FieldByName fails. Luckily, we don't use the omitted fields anymore with generated resources, and this function is used to bridge from handwritten -> generated. Since this is a known type, we can create it inline instead of needing to pass an object in.
func CryptoIdParseFunc ¶
func CryptoIdParseFunc(d *schema.ResourceData, config *Config) error
func DataCatalogEntryGroupIdParseFunc ¶
func DataCatalogEntryGroupIdParseFunc(d *schema.ResourceData, config *Config) error
func DataprocClusterIdParseFunc ¶
func DataprocClusterIdParseFunc(d *schema.ResourceData, config *Config) error
func DataprocJobIdParseFunc ¶
func DataprocJobIdParseFunc(d *schema.ResourceData, config *Config) error
func DatasetIdParseFunc ¶
func DatasetIdParseFunc(d *schema.ResourceData, config *Config) error
func DicomStoreIdParseFunc ¶
func DicomStoreIdParseFunc(d *schema.ResourceData, config *Config) error
func FhirStoreIdParseFunc ¶
func FhirStoreIdParseFunc(d *schema.ResourceData, config *Config) error
func FolderIdParseFunc ¶
func FolderIdParseFunc(d *schema.ResourceData, _ *Config) error
func GetCurrentUserEmail ¶
func GetLocationalResourcePropertiesFromSelfLinkString ¶
func GetLocationalResourcePropertiesFromSelfLinkString(selfLink string) (string, string, string, error)
given a full locational (non-global) self link, returns the project + region/zone + name or an error
func GetRegionFromRegionSelfLink ¶
return the region a selfLink is referring to
func Hl7V2StoreIdParseFunc ¶
func Hl7V2StoreIdParseFunc(d *schema.ResourceData, config *Config) error
func IapAppEngineServiceIdParseFunc ¶
func IapAppEngineServiceIdParseFunc(d *schema.ResourceData, config *Config) error
func IapAppEngineVersionIdParseFunc ¶
func IapAppEngineVersionIdParseFunc(d *schema.ResourceData, config *Config) error
func IapTunnelIdParseFunc ¶
func IapTunnelIdParseFunc(d *schema.ResourceData, config *Config) error
func IapTunnelInstanceIdParseFunc ¶
func IapTunnelInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
func IapWebBackendServiceIdParseFunc ¶
func IapWebBackendServiceIdParseFunc(d *schema.ResourceData, config *Config) error
func IapWebIdParseFunc ¶
func IapWebIdParseFunc(d *schema.ResourceData, config *Config) error
func IapWebTypeAppEngineDiffSuppress ¶
func IapWebTypeAppEngineDiffSuppress(_, old, new string, _ *schema.ResourceData) bool
func IapWebTypeAppEngineIdParseFunc ¶
func IapWebTypeAppEngineIdParseFunc(d *schema.ResourceData, config *Config) error
func IapWebTypeComputeIdParseFunc ¶
func IapWebTypeComputeIdParseFunc(d *schema.ResourceData, config *Config) error
func KeyRingIdParseFunc ¶
func KeyRingIdParseFunc(d *schema.ResourceData, config *Config) error
func MetadataRetryWrapper ¶
Since the google compute API uses optimistic locking, there is a chance we need to resubmit our updated metadata. To do this, you need to provide an update function that attempts to submit your metadata
func MetadataUpdate ¶
func MetadataUpdate(oldMDMap map[string]interface{}, newMDMap map[string]interface{}, serverMD *compute.Metadata)
Update the metadata (serverMD) according to the provided diff (oldMDMap v newMDMap).
func NameFromSelfLinkStateFunc ¶
func NameFromSelfLinkStateFunc(v interface{}) string
func NewTransportWithDefaultRetries ¶
func NewTransportWithDefaultRetries(t http.RoundTripper) *retryTransport
NewTransportWithDefaultRetries constructs a default retryTransport that will retry common temporary errors
func NotebooksInstanceIdParseFunc ¶
func NotebooksInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
func Nprintf ¶
This is a Printf sibling (Nprintf; Named Printf), which handles strings like Nprintf("Hello %{target}!", map[string]interface{}{"target":"world"}) == "Hello world!". This is particularly useful for generated tests, where we don't want to use Printf, since that would require us to generate a very particular ordering of arguments.
func OperationDone ¶
func OperationWait ¶
func OrgIdParseFunc ¶
func OrgIdParseFunc(d *schema.ResourceData, _ *Config) error
func PollingWaitTime ¶
func PollingWaitTime(pollF PollReadFunc, checkResponse PollCheckResponseFunc, activity string, timeout time.Duration, targetOccurrences int) error
func ProjectIdParseFunc ¶
func ProjectIdParseFunc(d *schema.ResourceData, _ *Config) error
func PubsubSubscriptionIdParseFunc ¶
func PubsubSubscriptionIdParseFunc(d *schema.ResourceData, _ *Config) error
func PubsubTopicIdParseFunc ¶
func PubsubTopicIdParseFunc(d *schema.ResourceData, config *Config) error
func ResourceIamAuditConfig ¶
func ResourceIamBinding ¶
func ResourceIamBindingWithBatching ¶
func ResourceIamBindingWithBatching(parentSpecificSchema map[string]*schema.Schema, newUpdaterFunc newResourceIamUpdaterFunc, resourceIdParser resourceIdParserFunc, enableBatching bool) *schema.Resource
Resource that batches requests to the same IAM policy across multiple IAM fine-grained resources
func ResourceIamMember ¶
func ResourceIamPolicy ¶
func ResourceIamPolicyCreate ¶
func ResourceIamPolicyCreate(newUpdaterFunc newResourceIamUpdaterFunc) schema.CreateFunc
func ResourceIamPolicyDelete ¶
func ResourceIamPolicyDelete(newUpdaterFunc newResourceIamUpdaterFunc) schema.DeleteFunc
func ResourceIamPolicyRead ¶
func ResourceIamPolicyUpdate ¶
func ResourceIamPolicyUpdate(newUpdaterFunc newResourceIamUpdaterFunc) schema.UpdateFunc
func ResourceLoggingBillingAccountBucketConfig ¶
Create Logging Bucket config
func ResourceLoggingBucketConfig ¶
func ResourceLoggingBucketConfig(parentType string, parentSpecificSchema map[string]*schema.Schema, iDFunc loggingBucketConfigIDFunc) *schema.Resource
ResourceLoggingBucketConfig creates a resource definition by merging a unique field (eg: folder) to a generic logging bucket config resource. In practice the only difference between these resources is the url location.
func ResourceLoggingFolderBucketConfig ¶
Create Logging Bucket config
func ResourceLoggingOrganizationBucketConfig ¶
Create Logging Bucket config
func ResourceLoggingProjectBucketConfig ¶
Create Logging Bucket config
func ResourceMap ¶
Generated resources: 179 Generated IAM resources: 75 Total generated resources: 254
func RetryWithTargetOccurrences ¶
func RetryWithTargetOccurrences(timeout time.Duration, targetOccurrences int, f resource.RetryFunc) error
RetryWithTargetOccurrences is a basic wrapper around StateChangeConf that will retry a function until it returns the specified amount of target occurrences continuously. Adapted from the Retry function in the go SDK.
func RuntimeConfigConfigIdParseFunc ¶
func RuntimeConfigConfigIdParseFunc(d *schema.ResourceData, config *Config) error
func SecretManagerSecretIdParseFunc ¶
func SecretManagerSecretIdParseFunc(d *schema.ResourceData, config *Config) error
func ServiceAccountIdParseFunc ¶
func ServiceAccountIdParseFunc(d *schema.ResourceData, _ *Config) error
func ServiceManagementServiceIdParseFunc ¶
func ServiceManagementServiceIdParseFunc(d *schema.ResourceData, config *Config) error
func SignString ¶
SignString calculates the SHA256 signature of the input string
func SourceRepoRepositoryDiffSuppress ¶
func SourceRepoRepositoryDiffSuppress(_, old, new string, _ *schema.ResourceData) bool
func SourceRepoRepositoryIdParseFunc ¶
func SourceRepoRepositoryIdParseFunc(d *schema.ResourceData, config *Config) error
func SpannerDatabaseIdParseFunc ¶
func SpannerDatabaseIdParseFunc(d *schema.ResourceData, config *Config) error
func SpannerInstanceIdParseFunc ¶
func SpannerInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
func StorageBucketDiffSuppress ¶
func StorageBucketDiffSuppress(_, old, new string, _ *schema.ResourceData) bool
func StorageBucketIdParseFunc ¶
func StorageBucketIdParseFunc(d *schema.ResourceData, config *Config) error
func StoreResourceName ¶
func StoreResourceName(resourceLink interface{}) string
func StringNotInSlice ¶
func StringNotInSlice(invalid []string, ignoreCase bool) schema.SchemaValidateFunc
StringNotInSlice returns a SchemaValidateFunc which tests if the provided value is of type string and that it matches none of the element in the invalid slice. if ignorecase is true, case is ignored.
Types ¶
type AccessContextManagerOperationWaiter ¶
type AccessContextManagerOperationWaiter struct { Config *Config UserAgent string CommonOperationWaiter }
func (*AccessContextManagerOperationWaiter) QueryOp ¶
func (w *AccessContextManagerOperationWaiter) QueryOp() (interface{}, error)
type ActiveDirectoryOperationWaiter ¶
type ActiveDirectoryOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*ActiveDirectoryOperationWaiter) QueryOp ¶
func (w *ActiveDirectoryOperationWaiter) QueryOp() (interface{}, error)
type AppEngineOperationWaiter ¶
type AppEngineOperationWaiter struct { Service *appengine.APIService AppId string CommonOperationWaiter }
func (*AppEngineOperationWaiter) QueryOp ¶
func (w *AppEngineOperationWaiter) QueryOp() (interface{}, error)
type BatchRequest ¶
type BatchRequest struct { // ResourceName represents the underlying resource for which // a request is made. Its format is determined by what SendF expects, but // typically should be the name of the parent GCP resource being changed. ResourceName string // Body is this request's data to be passed to SendF, and may be combined // with other bodies using CombineF. Body interface{} // CombineF function determines how to combine bodies from two batches. CombineF BatcherCombineFunc // SendF function determines how to actually send a batched request to a // third party service. The arguments given to this function are // (ResourceName, Body) where Body may have been combined with other request // Bodies. SendF BatcherSendFunc // ID for debugging request. This should be specific to a single request // (i.e. per Terraform resource) DebugId string }
BatchRequest represents a single request to a global batcher.
type BatcherCombineFunc ¶
type BatcherCombineFunc func(body interface{}, toAdd interface{}) (interface{}, error)
BatcherCombineFunc is a function type for combine existing batches and additional batch data
type BatcherSendFunc ¶
BatcherSendFunc is a function type for sending a batch request
type BigQueryTableIamUpdater ¶
type BigQueryTableIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*BigQueryTableIamUpdater) DescribeResource ¶
func (u *BigQueryTableIamUpdater) DescribeResource() string
func (*BigQueryTableIamUpdater) GetMutexKey ¶
func (u *BigQueryTableIamUpdater) GetMutexKey() string
func (*BigQueryTableIamUpdater) GetResourceIamPolicy ¶
func (u *BigQueryTableIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*BigQueryTableIamUpdater) GetResourceId ¶
func (u *BigQueryTableIamUpdater) GetResourceId() string
func (*BigQueryTableIamUpdater) SetResourceIamPolicy ¶
func (u *BigQueryTableIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type BigqueryDatasetIamUpdater ¶
type BigqueryDatasetIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*BigqueryDatasetIamUpdater) DescribeResource ¶
func (u *BigqueryDatasetIamUpdater) DescribeResource() string
func (*BigqueryDatasetIamUpdater) GetMutexKey ¶
func (u *BigqueryDatasetIamUpdater) GetMutexKey() string
Matches the mutex of google_big_query_dataset_access
func (*BigqueryDatasetIamUpdater) GetResourceIamPolicy ¶
func (u *BigqueryDatasetIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*BigqueryDatasetIamUpdater) GetResourceId ¶
func (u *BigqueryDatasetIamUpdater) GetResourceId() string
func (*BigqueryDatasetIamUpdater) SetResourceIamPolicy ¶
func (u *BigqueryDatasetIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type BigtableClientFactory ¶
type BigtableClientFactory struct { UserAgent string TokenSource oauth2.TokenSource }
func (BigtableClientFactory) NewAdminClient ¶
func (s BigtableClientFactory) NewAdminClient(project, instance string) (*bigtable.AdminClient, error)
func (BigtableClientFactory) NewInstanceAdminClient ¶
func (s BigtableClientFactory) NewInstanceAdminClient(project string) (*bigtable.InstanceAdminClient, error)
type BigtableInstanceIamUpdater ¶
type BigtableInstanceIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*BigtableInstanceIamUpdater) DescribeResource ¶
func (u *BigtableInstanceIamUpdater) DescribeResource() string
func (*BigtableInstanceIamUpdater) GetMutexKey ¶
func (u *BigtableInstanceIamUpdater) GetMutexKey() string
func (*BigtableInstanceIamUpdater) GetResourceIamPolicy ¶
func (u *BigtableInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*BigtableInstanceIamUpdater) GetResourceId ¶
func (u *BigtableInstanceIamUpdater) GetResourceId() string
func (*BigtableInstanceIamUpdater) SetResourceIamPolicy ¶
func (u *BigtableInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type BigtableTableIamUpdater ¶
type BigtableTableIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*BigtableTableIamUpdater) DescribeResource ¶
func (u *BigtableTableIamUpdater) DescribeResource() string
func (*BigtableTableIamUpdater) GetMutexKey ¶
func (u *BigtableTableIamUpdater) GetMutexKey() string
func (*BigtableTableIamUpdater) GetResourceIamPolicy ¶
func (u *BigtableTableIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*BigtableTableIamUpdater) GetResourceId ¶
func (u *BigtableTableIamUpdater) GetResourceId() string
func (*BigtableTableIamUpdater) SetResourceIamPolicy ¶
func (u *BigtableTableIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type BillingAccountIamUpdater ¶
type BillingAccountIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*BillingAccountIamUpdater) DescribeResource ¶
func (u *BillingAccountIamUpdater) DescribeResource() string
func (*BillingAccountIamUpdater) GetMutexKey ¶
func (u *BillingAccountIamUpdater) GetMutexKey() string
func (*BillingAccountIamUpdater) GetResourceIamPolicy ¶
func (u *BillingAccountIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*BillingAccountIamUpdater) GetResourceId ¶
func (u *BillingAccountIamUpdater) GetResourceId() string
func (*BillingAccountIamUpdater) SetResourceIamPolicy ¶
func (u *BillingAccountIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type BillingAccountLoggingExclusionUpdater ¶
type BillingAccountLoggingExclusionUpdater struct { Config *Config // contains filtered or unexported fields }
func (*BillingAccountLoggingExclusionUpdater) CreateLoggingExclusion ¶
func (u *BillingAccountLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
func (*BillingAccountLoggingExclusionUpdater) DeleteLoggingExclusion ¶
func (u *BillingAccountLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
func (*BillingAccountLoggingExclusionUpdater) DescribeResource ¶
func (u *BillingAccountLoggingExclusionUpdater) DescribeResource() string
func (*BillingAccountLoggingExclusionUpdater) GetResourceId ¶
func (u *BillingAccountLoggingExclusionUpdater) GetResourceId() string
func (*BillingAccountLoggingExclusionUpdater) GetResourceType ¶
func (u *BillingAccountLoggingExclusionUpdater) GetResourceType() string
func (*BillingAccountLoggingExclusionUpdater) ReadLoggingExclusion ¶
func (u *BillingAccountLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
func (*BillingAccountLoggingExclusionUpdater) UpdateLoggingExclusion ¶
func (u *BillingAccountLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
type BinaryAuthorizationAttestorIamUpdater ¶
type BinaryAuthorizationAttestorIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*BinaryAuthorizationAttestorIamUpdater) DescribeResource ¶
func (u *BinaryAuthorizationAttestorIamUpdater) DescribeResource() string
func (*BinaryAuthorizationAttestorIamUpdater) GetMutexKey ¶
func (u *BinaryAuthorizationAttestorIamUpdater) GetMutexKey() string
func (*BinaryAuthorizationAttestorIamUpdater) GetResourceIamPolicy ¶
func (u *BinaryAuthorizationAttestorIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*BinaryAuthorizationAttestorIamUpdater) GetResourceId ¶
func (u *BinaryAuthorizationAttestorIamUpdater) GetResourceId() string
func (*BinaryAuthorizationAttestorIamUpdater) SetResourceIamPolicy ¶
func (u *BinaryAuthorizationAttestorIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ByCreationTimestamp ¶
type ByCreationTimestamp []*computeBeta.InstanceTemplate
ByCreationTimestamp implements sort.Interface for []*InstanceTemplate based on the CreationTimestamp field.
func (ByCreationTimestamp) Len ¶
func (a ByCreationTimestamp) Len() int
func (ByCreationTimestamp) Less ¶
func (a ByCreationTimestamp) Less(i, j int) bool
func (ByCreationTimestamp) Swap ¶
func (a ByCreationTimestamp) Swap(i, j int)
type CloudFunctionsCloudFunctionIamUpdater ¶
type CloudFunctionsCloudFunctionIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*CloudFunctionsCloudFunctionIamUpdater) DescribeResource ¶
func (u *CloudFunctionsCloudFunctionIamUpdater) DescribeResource() string
func (*CloudFunctionsCloudFunctionIamUpdater) GetMutexKey ¶
func (u *CloudFunctionsCloudFunctionIamUpdater) GetMutexKey() string
func (*CloudFunctionsCloudFunctionIamUpdater) GetResourceIamPolicy ¶
func (u *CloudFunctionsCloudFunctionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*CloudFunctionsCloudFunctionIamUpdater) GetResourceId ¶
func (u *CloudFunctionsCloudFunctionIamUpdater) GetResourceId() string
func (*CloudFunctionsCloudFunctionIamUpdater) SetResourceIamPolicy ¶
func (u *CloudFunctionsCloudFunctionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type CloudFunctionsOperationWaiter ¶
type CloudFunctionsOperationWaiter struct { Service *cloudfunctions.Service CommonOperationWaiter }
func (*CloudFunctionsOperationWaiter) QueryOp ¶
func (w *CloudFunctionsOperationWaiter) QueryOp() (interface{}, error)
type CloudRunServiceIamUpdater ¶
type CloudRunServiceIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*CloudRunServiceIamUpdater) DescribeResource ¶
func (u *CloudRunServiceIamUpdater) DescribeResource() string
func (*CloudRunServiceIamUpdater) GetMutexKey ¶
func (u *CloudRunServiceIamUpdater) GetMutexKey() string
func (*CloudRunServiceIamUpdater) GetResourceIamPolicy ¶
func (u *CloudRunServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*CloudRunServiceIamUpdater) GetResourceId ¶
func (u *CloudRunServiceIamUpdater) GetResourceId() string
func (*CloudRunServiceIamUpdater) SetResourceIamPolicy ¶
func (u *CloudRunServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type CommonOpError ¶
type CommonOpError struct {
*cloudresourcemanager.Status
}
Wraps Op.Error in an implementation of built-in Error
func (*CommonOpError) Error ¶
func (e *CommonOpError) Error() string
type CommonOperation ¶
type CommonOperation cloudresourcemanager.Operation
The cloud resource manager API operation is an example of one of many interchangeable API operations. Choose it somewhat arbitrarily to represent the "common" operation.
type CommonOperationWaiter ¶
type CommonOperationWaiter struct {
Op CommonOperation
}
func (*CommonOperationWaiter) Error ¶
func (w *CommonOperationWaiter) Error() error
func (*CommonOperationWaiter) IsRetryable ¶
func (w *CommonOperationWaiter) IsRetryable(error) bool
func (*CommonOperationWaiter) OpName ¶
func (w *CommonOperationWaiter) OpName() string
func (*CommonOperationWaiter) PendingStates ¶
func (w *CommonOperationWaiter) PendingStates() []string
func (*CommonOperationWaiter) SetOp ¶
func (w *CommonOperationWaiter) SetOp(op interface{}) error
func (*CommonOperationWaiter) State ¶
func (w *CommonOperationWaiter) State() string
func (*CommonOperationWaiter) TargetStates ¶
func (w *CommonOperationWaiter) TargetStates() []string
type ComposerOperationWaiter ¶
type ComposerOperationWaiter struct { Service *composer.ProjectsLocationsService CommonOperationWaiter }
func (*ComposerOperationWaiter) QueryOp ¶
func (w *ComposerOperationWaiter) QueryOp() (interface{}, error)
type ComputeDiskIamUpdater ¶
type ComputeDiskIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ComputeDiskIamUpdater) DescribeResource ¶
func (u *ComputeDiskIamUpdater) DescribeResource() string
func (*ComputeDiskIamUpdater) GetMutexKey ¶
func (u *ComputeDiskIamUpdater) GetMutexKey() string
func (*ComputeDiskIamUpdater) GetResourceIamPolicy ¶
func (u *ComputeDiskIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ComputeDiskIamUpdater) GetResourceId ¶
func (u *ComputeDiskIamUpdater) GetResourceId() string
func (*ComputeDiskIamUpdater) SetResourceIamPolicy ¶
func (u *ComputeDiskIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ComputeImageIamUpdater ¶
type ComputeImageIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ComputeImageIamUpdater) DescribeResource ¶
func (u *ComputeImageIamUpdater) DescribeResource() string
func (*ComputeImageIamUpdater) GetMutexKey ¶
func (u *ComputeImageIamUpdater) GetMutexKey() string
func (*ComputeImageIamUpdater) GetResourceIamPolicy ¶
func (u *ComputeImageIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ComputeImageIamUpdater) GetResourceId ¶
func (u *ComputeImageIamUpdater) GetResourceId() string
func (*ComputeImageIamUpdater) SetResourceIamPolicy ¶
func (u *ComputeImageIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ComputeInstanceIamUpdater ¶
type ComputeInstanceIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ComputeInstanceIamUpdater) DescribeResource ¶
func (u *ComputeInstanceIamUpdater) DescribeResource() string
func (*ComputeInstanceIamUpdater) GetMutexKey ¶
func (u *ComputeInstanceIamUpdater) GetMutexKey() string
func (*ComputeInstanceIamUpdater) GetResourceIamPolicy ¶
func (u *ComputeInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ComputeInstanceIamUpdater) GetResourceId ¶
func (u *ComputeInstanceIamUpdater) GetResourceId() string
func (*ComputeInstanceIamUpdater) SetResourceIamPolicy ¶
func (u *ComputeInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ComputeOperationError ¶
type ComputeOperationError compute.OperationError
ComputeOperationError wraps compute.OperationError and implements the error interface so it can be returned.
func (ComputeOperationError) Error ¶
func (e ComputeOperationError) Error() string
type ComputeOperationWaiter ¶
type ComputeOperationWaiter struct { Service *compute.Service Op *compute.Operation Context context.Context Project string }
func (*ComputeOperationWaiter) Error ¶
func (w *ComputeOperationWaiter) Error() error
func (*ComputeOperationWaiter) IsRetryable ¶
func (w *ComputeOperationWaiter) IsRetryable(err error) bool
func (*ComputeOperationWaiter) OpName ¶
func (w *ComputeOperationWaiter) OpName() string
func (*ComputeOperationWaiter) PendingStates ¶
func (w *ComputeOperationWaiter) PendingStates() []string
func (*ComputeOperationWaiter) QueryOp ¶
func (w *ComputeOperationWaiter) QueryOp() (interface{}, error)
func (*ComputeOperationWaiter) SetOp ¶
func (w *ComputeOperationWaiter) SetOp(op interface{}) error
func (*ComputeOperationWaiter) State ¶
func (w *ComputeOperationWaiter) State() string
func (*ComputeOperationWaiter) TargetStates ¶
func (w *ComputeOperationWaiter) TargetStates() []string
type ComputeRegionDiskIamUpdater ¶
type ComputeRegionDiskIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ComputeRegionDiskIamUpdater) DescribeResource ¶
func (u *ComputeRegionDiskIamUpdater) DescribeResource() string
func (*ComputeRegionDiskIamUpdater) GetMutexKey ¶
func (u *ComputeRegionDiskIamUpdater) GetMutexKey() string
func (*ComputeRegionDiskIamUpdater) GetResourceIamPolicy ¶
func (u *ComputeRegionDiskIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ComputeRegionDiskIamUpdater) GetResourceId ¶
func (u *ComputeRegionDiskIamUpdater) GetResourceId() string
func (*ComputeRegionDiskIamUpdater) SetResourceIamPolicy ¶
func (u *ComputeRegionDiskIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ComputeSubnetworkIamUpdater ¶
type ComputeSubnetworkIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ComputeSubnetworkIamUpdater) DescribeResource ¶
func (u *ComputeSubnetworkIamUpdater) DescribeResource() string
func (*ComputeSubnetworkIamUpdater) GetMutexKey ¶
func (u *ComputeSubnetworkIamUpdater) GetMutexKey() string
func (*ComputeSubnetworkIamUpdater) GetResourceIamPolicy ¶
func (u *ComputeSubnetworkIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ComputeSubnetworkIamUpdater) GetResourceId ¶
func (u *ComputeSubnetworkIamUpdater) GetResourceId() string
func (*ComputeSubnetworkIamUpdater) SetResourceIamPolicy ¶
func (u *ComputeSubnetworkIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type Config ¶
type Config struct { AccessToken string Credentials string ImpersonateServiceAccount string ImpersonateServiceAccountDelegates []string Project string Region string BillingProject string Zone string Scopes []string BatchingConfig *batchingConfig UserProjectOverride bool RequestTimeout time.Duration // PollInterval is passed to resource.StateChangeConf in common_operation.go // It controls the interval at which we poll for successful operations PollInterval time.Duration AccessApprovalBasePath string AccessContextManagerBasePath string ActiveDirectoryBasePath string AppEngineBasePath string BigQueryBasePath string BigqueryDataTransferBasePath string BigqueryReservationBasePath string BigtableBasePath string BillingBasePath string BinaryAuthorizationBasePath string CloudAssetBasePath string CloudBuildBasePath string CloudFunctionsBasePath string CloudIdentityBasePath string CloudIotBasePath string CloudRunBasePath string CloudSchedulerBasePath string CloudTasksBasePath string ComputeBasePath string ContainerAnalysisBasePath string DataCatalogBasePath string DataLossPreventionBasePath string DataprocBasePath string DatastoreBasePath string DeploymentManagerBasePath string DialogflowBasePath string DNSBasePath string FilestoreBasePath string FirestoreBasePath string GameServicesBasePath string HealthcareBasePath string IapBasePath string IdentityPlatformBasePath string KMSBasePath string LoggingBasePath string MLEngineBasePath string MonitoringBasePath string NetworkManagementBasePath string NotebooksBasePath string OSConfigBasePath string OSLoginBasePath string PubsubBasePath string PubsubLiteBasePath string RedisBasePath string ResourceManagerBasePath string RuntimeConfigBasePath string SecretManagerBasePath string SecurityCenterBasePath string ServiceManagementBasePath string ServiceUsageBasePath string SourceRepoBasePath string SpannerBasePath string SQLBasePath string StorageBasePath string TPUBasePath string VPCAccessBasePath string CloudBillingBasePath string ComposerBasePath string ComputeBetaBasePath string ContainerBasePath string ContainerBetaBasePath string DataprocBetaBasePath string DataflowBasePath string DnsBetaBasePath string IamCredentialsBasePath string ResourceManagerV2Beta1BasePath string IAMBasePath string CloudIoTBasePath string ServiceNetworkingBasePath string StorageTransferBasePath string BigtableAdminBasePath string // contains filtered or unexported fields }
Config is the configuration structure used to instantiate the Google provider.
func (*Config) BigTableClientFactory ¶
func (c *Config) BigTableClientFactory(userAgent string) *BigtableClientFactory
func (*Config) GetCredentials ¶
func (c *Config) GetCredentials(clientScopes []string) (googleoauth.Credentials, error)
func (*Config) NewAppEngineClient ¶
func (c *Config) NewAppEngineClient(userAgent string) *appengine.APIService
func (*Config) NewBigQueryClient ¶
func (*Config) NewBigTableProjectsInstancesClient ¶
func (c *Config) NewBigTableProjectsInstancesClient(userAgent string) *bigtableadmin.ProjectsInstancesService
Unlike other clients, the Bigtable Admin client doesn't use a single service. Instead, there are several distinct services created off the base service object. To imitate most other handwritten clients, we expose those directly instead of providing the `Service` object as a factory.
func (*Config) NewBigTableProjectsInstancesTablesClient ¶
func (*Config) NewBillingClient ¶
func (*Config) NewBuildClient ¶
func (*Config) NewCloudFunctionsClient ¶
func (*Config) NewCloudIdentityClient ¶
func (*Config) NewCloudIoTClient ¶
func (*Config) NewComposerClient ¶
func (*Config) NewComputeBetaClient ¶
func (c *Config) NewComputeBetaClient(userAgent string) *computeBeta.Service
func (*Config) NewComputeClient ¶
Methods to create new services from config Some base paths below need the version and possibly more of the path set on them. The client libraries are inconsistent about which values they need; while most only want the host URL, some older ones also want the version and some of those "projects" as well. You can find out if this is required by looking at the basePath value in the client library file.
func (*Config) NewContainerBetaClient ¶
func (c *Config) NewContainerBetaClient(userAgent string) *containerBeta.Service
func (*Config) NewContainerClient ¶
func (*Config) NewDataflowClient ¶
func (*Config) NewDataprocBetaClient ¶
func (c *Config) NewDataprocBetaClient(userAgent string) *dataprocBeta.Service
func (*Config) NewDataprocClient ¶
func (*Config) NewDnsBetaClient ¶
func (*Config) NewDnsClient ¶
func (*Config) NewFilestoreClient ¶
func (*Config) NewHealthcareClient ¶
func (c *Config) NewHealthcareClient(userAgent string) *healthcare.Service
func (*Config) NewIamClient ¶
func (*Config) NewIamCredentialsClient ¶
func (c *Config) NewIamCredentialsClient(userAgent string) *iamcredentials.Service
func (*Config) NewKmsClient ¶
func (*Config) NewLoggingClient ¶
func (c *Config) NewLoggingClient(userAgent string) *cloudlogging.Service
func (*Config) NewPubsubClient ¶
func (*Config) NewResourceManagerClient ¶
func (*Config) NewResourceManagerV2Beta1Client ¶
func (c *Config) NewResourceManagerV2Beta1Client(userAgent string) *resourceManagerV2Beta1.Service
func (*Config) NewRuntimeconfigClient ¶
func (c *Config) NewRuntimeconfigClient(userAgent string) *runtimeconfig.Service
func (*Config) NewServiceManClient ¶
func (*Config) NewServiceNetworkingClient ¶
func (*Config) NewServiceUsageClient ¶
func (*Config) NewSourceRepoClient ¶
func (*Config) NewSpannerClient ¶
func (*Config) NewSqlAdminClient ¶
func (*Config) NewStorageClient ¶
func (*Config) NewStorageTransferClient ¶
type ContainerOperationWaiter ¶
type ContainerOperationWaiter struct { Service *container.Service Context context.Context Op *container.Operation Project string Location string }
func (*ContainerOperationWaiter) Error ¶
func (w *ContainerOperationWaiter) Error() error
func (*ContainerOperationWaiter) IsRetryable ¶
func (w *ContainerOperationWaiter) IsRetryable(error) bool
func (*ContainerOperationWaiter) OpName ¶
func (w *ContainerOperationWaiter) OpName() string
func (*ContainerOperationWaiter) PendingStates ¶
func (w *ContainerOperationWaiter) PendingStates() []string
func (*ContainerOperationWaiter) QueryOp ¶
func (w *ContainerOperationWaiter) QueryOp() (interface{}, error)
func (*ContainerOperationWaiter) SetOp ¶
func (w *ContainerOperationWaiter) SetOp(op interface{}) error
func (*ContainerOperationWaiter) State ¶
func (w *ContainerOperationWaiter) State() string
func (*ContainerOperationWaiter) TargetStates ¶
func (w *ContainerOperationWaiter) TargetStates() []string
type DataCatalogEntryGroupIamUpdater ¶
type DataCatalogEntryGroupIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*DataCatalogEntryGroupIamUpdater) DescribeResource ¶
func (u *DataCatalogEntryGroupIamUpdater) DescribeResource() string
func (*DataCatalogEntryGroupIamUpdater) GetMutexKey ¶
func (u *DataCatalogEntryGroupIamUpdater) GetMutexKey() string
func (*DataCatalogEntryGroupIamUpdater) GetResourceIamPolicy ¶
func (u *DataCatalogEntryGroupIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*DataCatalogEntryGroupIamUpdater) GetResourceId ¶
func (u *DataCatalogEntryGroupIamUpdater) GetResourceId() string
func (*DataCatalogEntryGroupIamUpdater) SetResourceIamPolicy ¶
func (u *DataCatalogEntryGroupIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type DataprocClusterIamUpdater ¶
type DataprocClusterIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*DataprocClusterIamUpdater) DescribeResource ¶
func (u *DataprocClusterIamUpdater) DescribeResource() string
func (*DataprocClusterIamUpdater) GetMutexKey ¶
func (u *DataprocClusterIamUpdater) GetMutexKey() string
func (*DataprocClusterIamUpdater) GetResourceIamPolicy ¶
func (u *DataprocClusterIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*DataprocClusterIamUpdater) GetResourceId ¶
func (u *DataprocClusterIamUpdater) GetResourceId() string
func (*DataprocClusterIamUpdater) SetResourceIamPolicy ¶
func (u *DataprocClusterIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type DataprocClusterOperationWaiter ¶
type DataprocClusterOperationWaiter struct { Service *dataproc.Service CommonOperationWaiter }
func (*DataprocClusterOperationWaiter) QueryOp ¶
func (w *DataprocClusterOperationWaiter) QueryOp() (interface{}, error)
type DataprocDeleteJobOperationWaiter ¶
type DataprocDeleteJobOperationWaiter struct {
DataprocJobOperationWaiter
}
func (*DataprocDeleteJobOperationWaiter) PendingStates ¶
func (w *DataprocDeleteJobOperationWaiter) PendingStates() []string
func (*DataprocDeleteJobOperationWaiter) QueryOp ¶
func (w *DataprocDeleteJobOperationWaiter) QueryOp() (interface{}, error)
func (*DataprocDeleteJobOperationWaiter) TargetStates ¶
func (w *DataprocDeleteJobOperationWaiter) TargetStates() []string
type DataprocJobIamUpdater ¶
type DataprocJobIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*DataprocJobIamUpdater) DescribeResource ¶
func (u *DataprocJobIamUpdater) DescribeResource() string
func (*DataprocJobIamUpdater) GetMutexKey ¶
func (u *DataprocJobIamUpdater) GetMutexKey() string
func (*DataprocJobIamUpdater) GetResourceIamPolicy ¶
func (u *DataprocJobIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*DataprocJobIamUpdater) GetResourceId ¶
func (u *DataprocJobIamUpdater) GetResourceId() string
func (*DataprocJobIamUpdater) SetResourceIamPolicy ¶
func (u *DataprocJobIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type DataprocJobOperationWaiter ¶
type DataprocJobOperationWaiter struct { Service *dataproc.Service Region string ProjectId string JobId string Status string }
func (*DataprocJobOperationWaiter) Error ¶
func (w *DataprocJobOperationWaiter) Error() error
func (*DataprocJobOperationWaiter) IsRetryable ¶
func (w *DataprocJobOperationWaiter) IsRetryable(error) bool
func (*DataprocJobOperationWaiter) OpName ¶
func (w *DataprocJobOperationWaiter) OpName() string
func (*DataprocJobOperationWaiter) PendingStates ¶
func (w *DataprocJobOperationWaiter) PendingStates() []string
func (*DataprocJobOperationWaiter) QueryOp ¶
func (w *DataprocJobOperationWaiter) QueryOp() (interface{}, error)
func (*DataprocJobOperationWaiter) SetOp ¶
func (w *DataprocJobOperationWaiter) SetOp(job interface{}) error
func (*DataprocJobOperationWaiter) State ¶
func (w *DataprocJobOperationWaiter) State() string
func (*DataprocJobOperationWaiter) TargetStates ¶
func (w *DataprocJobOperationWaiter) TargetStates() []string
type DatastoreOperationWaiter ¶
type DatastoreOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*DatastoreOperationWaiter) QueryOp ¶
func (w *DatastoreOperationWaiter) QueryOp() (interface{}, error)
type DeploymentManagerOperationError ¶
type DeploymentManagerOperationError struct { HTTPStatusCode int64 HTTPMessage string compute.OperationError }
DeploymentManagerOperationError wraps information from the compute.Operation in an implementation of Error.
func (DeploymentManagerOperationError) Error ¶
func (e DeploymentManagerOperationError) Error() string
type DeploymentManagerOperationWaiter ¶
type DeploymentManagerOperationWaiter struct { Config *Config UserAgent string Project string OperationUrl string ComputeOperationWaiter }
func (*DeploymentManagerOperationWaiter) Error ¶
func (w *DeploymentManagerOperationWaiter) Error() error
func (*DeploymentManagerOperationWaiter) IsRetryable ¶
func (w *DeploymentManagerOperationWaiter) IsRetryable(error) bool
func (*DeploymentManagerOperationWaiter) QueryOp ¶
func (w *DeploymentManagerOperationWaiter) QueryOp() (interface{}, error)
type DnsChangeWaiter ¶
type DnsChangeWaiter struct { Service *dns.Service Change *dns.Change Project string ManagedZone string }
func (*DnsChangeWaiter) Conf ¶
func (w *DnsChangeWaiter) Conf() *resource.StateChangeConf
func (*DnsChangeWaiter) RefreshFunc ¶
func (w *DnsChangeWaiter) RefreshFunc() resource.StateRefreshFunc
type FilestoreOperationWaiter ¶
type FilestoreOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*FilestoreOperationWaiter) QueryOp ¶
func (w *FilestoreOperationWaiter) QueryOp() (interface{}, error)
type FirestoreOperationWaiter ¶
type FirestoreOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*FirestoreOperationWaiter) QueryOp ¶
func (w *FirestoreOperationWaiter) QueryOp() (interface{}, error)
type FolderIamUpdater ¶
type FolderIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*FolderIamUpdater) DescribeResource ¶
func (u *FolderIamUpdater) DescribeResource() string
func (*FolderIamUpdater) GetMutexKey ¶
func (u *FolderIamUpdater) GetMutexKey() string
func (*FolderIamUpdater) GetResourceIamPolicy ¶
func (u *FolderIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*FolderIamUpdater) GetResourceId ¶
func (u *FolderIamUpdater) GetResourceId() string
func (*FolderIamUpdater) SetResourceIamPolicy ¶
func (u *FolderIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type FolderLoggingExclusionUpdater ¶
type FolderLoggingExclusionUpdater struct { Config *Config // contains filtered or unexported fields }
func (*FolderLoggingExclusionUpdater) CreateLoggingExclusion ¶
func (u *FolderLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
func (*FolderLoggingExclusionUpdater) DeleteLoggingExclusion ¶
func (u *FolderLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
func (*FolderLoggingExclusionUpdater) DescribeResource ¶
func (u *FolderLoggingExclusionUpdater) DescribeResource() string
func (*FolderLoggingExclusionUpdater) GetResourceId ¶
func (u *FolderLoggingExclusionUpdater) GetResourceId() string
func (*FolderLoggingExclusionUpdater) GetResourceType ¶
func (u *FolderLoggingExclusionUpdater) GetResourceType() string
func (*FolderLoggingExclusionUpdater) ReadLoggingExclusion ¶
func (u *FolderLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
func (*FolderLoggingExclusionUpdater) UpdateLoggingExclusion ¶
func (u *FolderLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
type GameServicesOperationWaiter ¶
type GameServicesOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*GameServicesOperationWaiter) QueryOp ¶
func (w *GameServicesOperationWaiter) QueryOp() (interface{}, error)
type GlobalFieldValue ¶
type GlobalFieldValue struct { Project string Name string // contains filtered or unexported fields }
func ParseHttpHealthCheckFieldValue ¶
func ParseHttpHealthCheckFieldValue(healthCheck string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func ParseInstanceTemplateFieldValue ¶
func ParseInstanceTemplateFieldValue(instanceTemplate string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func ParseMachineImageFieldValue ¶
func ParseMachineImageFieldValue(machineImage string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func ParseNetworkFieldValue ¶
func ParseNetworkFieldValue(network string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func ParseSecurityPolicyFieldValue ¶
func ParseSecurityPolicyFieldValue(securityPolicy string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func ParseSslCertificateFieldValue ¶
func ParseSslCertificateFieldValue(sslCertificate string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func (GlobalFieldValue) RelativeLink ¶
func (f GlobalFieldValue) RelativeLink() string
type HealthcareDatasetIamUpdater ¶
type HealthcareDatasetIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*HealthcareDatasetIamUpdater) DescribeResource ¶
func (u *HealthcareDatasetIamUpdater) DescribeResource() string
func (*HealthcareDatasetIamUpdater) GetMutexKey ¶
func (u *HealthcareDatasetIamUpdater) GetMutexKey() string
func (*HealthcareDatasetIamUpdater) GetResourceIamPolicy ¶
func (u *HealthcareDatasetIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*HealthcareDatasetIamUpdater) GetResourceId ¶
func (u *HealthcareDatasetIamUpdater) GetResourceId() string
func (*HealthcareDatasetIamUpdater) SetResourceIamPolicy ¶
func (u *HealthcareDatasetIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type HealthcareDicomStoreIamUpdater ¶
type HealthcareDicomStoreIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*HealthcareDicomStoreIamUpdater) DescribeResource ¶
func (u *HealthcareDicomStoreIamUpdater) DescribeResource() string
func (*HealthcareDicomStoreIamUpdater) GetMutexKey ¶
func (u *HealthcareDicomStoreIamUpdater) GetMutexKey() string
func (*HealthcareDicomStoreIamUpdater) GetResourceIamPolicy ¶
func (u *HealthcareDicomStoreIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*HealthcareDicomStoreIamUpdater) GetResourceId ¶
func (u *HealthcareDicomStoreIamUpdater) GetResourceId() string
func (*HealthcareDicomStoreIamUpdater) SetResourceIamPolicy ¶
func (u *HealthcareDicomStoreIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type HealthcareFhirStoreIamUpdater ¶
type HealthcareFhirStoreIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*HealthcareFhirStoreIamUpdater) DescribeResource ¶
func (u *HealthcareFhirStoreIamUpdater) DescribeResource() string
func (*HealthcareFhirStoreIamUpdater) GetMutexKey ¶
func (u *HealthcareFhirStoreIamUpdater) GetMutexKey() string
func (*HealthcareFhirStoreIamUpdater) GetResourceIamPolicy ¶
func (u *HealthcareFhirStoreIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*HealthcareFhirStoreIamUpdater) GetResourceId ¶
func (u *HealthcareFhirStoreIamUpdater) GetResourceId() string
func (*HealthcareFhirStoreIamUpdater) SetResourceIamPolicy ¶
func (u *HealthcareFhirStoreIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type HealthcareHl7V2StoreIamUpdater ¶
type HealthcareHl7V2StoreIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*HealthcareHl7V2StoreIamUpdater) DescribeResource ¶
func (u *HealthcareHl7V2StoreIamUpdater) DescribeResource() string
func (*HealthcareHl7V2StoreIamUpdater) GetMutexKey ¶
func (u *HealthcareHl7V2StoreIamUpdater) GetMutexKey() string
func (*HealthcareHl7V2StoreIamUpdater) GetResourceIamPolicy ¶
func (u *HealthcareHl7V2StoreIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*HealthcareHl7V2StoreIamUpdater) GetResourceId ¶
func (u *HealthcareHl7V2StoreIamUpdater) GetResourceId() string
func (*HealthcareHl7V2StoreIamUpdater) SetResourceIamPolicy ¶
func (u *HealthcareHl7V2StoreIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type IapAppEngineServiceIamUpdater ¶
type IapAppEngineServiceIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*IapAppEngineServiceIamUpdater) DescribeResource ¶
func (u *IapAppEngineServiceIamUpdater) DescribeResource() string
func (*IapAppEngineServiceIamUpdater) GetMutexKey ¶
func (u *IapAppEngineServiceIamUpdater) GetMutexKey() string
func (*IapAppEngineServiceIamUpdater) GetResourceIamPolicy ¶
func (u *IapAppEngineServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*IapAppEngineServiceIamUpdater) GetResourceId ¶
func (u *IapAppEngineServiceIamUpdater) GetResourceId() string
func (*IapAppEngineServiceIamUpdater) SetResourceIamPolicy ¶
func (u *IapAppEngineServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type IapAppEngineVersionIamUpdater ¶
type IapAppEngineVersionIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*IapAppEngineVersionIamUpdater) DescribeResource ¶
func (u *IapAppEngineVersionIamUpdater) DescribeResource() string
func (*IapAppEngineVersionIamUpdater) GetMutexKey ¶
func (u *IapAppEngineVersionIamUpdater) GetMutexKey() string
func (*IapAppEngineVersionIamUpdater) GetResourceIamPolicy ¶
func (u *IapAppEngineVersionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*IapAppEngineVersionIamUpdater) GetResourceId ¶
func (u *IapAppEngineVersionIamUpdater) GetResourceId() string
func (*IapAppEngineVersionIamUpdater) SetResourceIamPolicy ¶
func (u *IapAppEngineVersionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type IapTunnelIamUpdater ¶
type IapTunnelIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*IapTunnelIamUpdater) DescribeResource ¶
func (u *IapTunnelIamUpdater) DescribeResource() string
func (*IapTunnelIamUpdater) GetMutexKey ¶
func (u *IapTunnelIamUpdater) GetMutexKey() string
func (*IapTunnelIamUpdater) GetResourceIamPolicy ¶
func (u *IapTunnelIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*IapTunnelIamUpdater) GetResourceId ¶
func (u *IapTunnelIamUpdater) GetResourceId() string
func (*IapTunnelIamUpdater) SetResourceIamPolicy ¶
func (u *IapTunnelIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type IapTunnelInstanceIamUpdater ¶
type IapTunnelInstanceIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*IapTunnelInstanceIamUpdater) DescribeResource ¶
func (u *IapTunnelInstanceIamUpdater) DescribeResource() string
func (*IapTunnelInstanceIamUpdater) GetMutexKey ¶
func (u *IapTunnelInstanceIamUpdater) GetMutexKey() string
func (*IapTunnelInstanceIamUpdater) GetResourceIamPolicy ¶
func (u *IapTunnelInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*IapTunnelInstanceIamUpdater) GetResourceId ¶
func (u *IapTunnelInstanceIamUpdater) GetResourceId() string
func (*IapTunnelInstanceIamUpdater) SetResourceIamPolicy ¶
func (u *IapTunnelInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type IapWebBackendServiceIamUpdater ¶
type IapWebBackendServiceIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*IapWebBackendServiceIamUpdater) DescribeResource ¶
func (u *IapWebBackendServiceIamUpdater) DescribeResource() string
func (*IapWebBackendServiceIamUpdater) GetMutexKey ¶
func (u *IapWebBackendServiceIamUpdater) GetMutexKey() string
func (*IapWebBackendServiceIamUpdater) GetResourceIamPolicy ¶
func (u *IapWebBackendServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*IapWebBackendServiceIamUpdater) GetResourceId ¶
func (u *IapWebBackendServiceIamUpdater) GetResourceId() string
func (*IapWebBackendServiceIamUpdater) SetResourceIamPolicy ¶
func (u *IapWebBackendServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type IapWebIamUpdater ¶
type IapWebIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*IapWebIamUpdater) DescribeResource ¶
func (u *IapWebIamUpdater) DescribeResource() string
func (*IapWebIamUpdater) GetMutexKey ¶
func (u *IapWebIamUpdater) GetMutexKey() string
func (*IapWebIamUpdater) GetResourceIamPolicy ¶
func (u *IapWebIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*IapWebIamUpdater) GetResourceId ¶
func (u *IapWebIamUpdater) GetResourceId() string
func (*IapWebIamUpdater) SetResourceIamPolicy ¶
func (u *IapWebIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type IapWebTypeAppEngineIamUpdater ¶
type IapWebTypeAppEngineIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*IapWebTypeAppEngineIamUpdater) DescribeResource ¶
func (u *IapWebTypeAppEngineIamUpdater) DescribeResource() string
func (*IapWebTypeAppEngineIamUpdater) GetMutexKey ¶
func (u *IapWebTypeAppEngineIamUpdater) GetMutexKey() string
func (*IapWebTypeAppEngineIamUpdater) GetResourceIamPolicy ¶
func (u *IapWebTypeAppEngineIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*IapWebTypeAppEngineIamUpdater) GetResourceId ¶
func (u *IapWebTypeAppEngineIamUpdater) GetResourceId() string
func (*IapWebTypeAppEngineIamUpdater) SetResourceIamPolicy ¶
func (u *IapWebTypeAppEngineIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type IapWebTypeComputeIamUpdater ¶
type IapWebTypeComputeIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*IapWebTypeComputeIamUpdater) DescribeResource ¶
func (u *IapWebTypeComputeIamUpdater) DescribeResource() string
func (*IapWebTypeComputeIamUpdater) GetMutexKey ¶
func (u *IapWebTypeComputeIamUpdater) GetMutexKey() string
func (*IapWebTypeComputeIamUpdater) GetResourceIamPolicy ¶
func (u *IapWebTypeComputeIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*IapWebTypeComputeIamUpdater) GetResourceId ¶
func (u *IapWebTypeComputeIamUpdater) GetResourceId() string
func (*IapWebTypeComputeIamUpdater) SetResourceIamPolicy ¶
func (u *IapWebTypeComputeIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type KmsCryptoKeyIamUpdater ¶
type KmsCryptoKeyIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*KmsCryptoKeyIamUpdater) DescribeResource ¶
func (u *KmsCryptoKeyIamUpdater) DescribeResource() string
func (*KmsCryptoKeyIamUpdater) GetMutexKey ¶
func (u *KmsCryptoKeyIamUpdater) GetMutexKey() string
func (*KmsCryptoKeyIamUpdater) GetResourceIamPolicy ¶
func (u *KmsCryptoKeyIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*KmsCryptoKeyIamUpdater) GetResourceId ¶
func (u *KmsCryptoKeyIamUpdater) GetResourceId() string
func (*KmsCryptoKeyIamUpdater) SetResourceIamPolicy ¶
func (u *KmsCryptoKeyIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type KmsKeyRingIamUpdater ¶
type KmsKeyRingIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*KmsKeyRingIamUpdater) DescribeResource ¶
func (u *KmsKeyRingIamUpdater) DescribeResource() string
func (*KmsKeyRingIamUpdater) GetMutexKey ¶
func (u *KmsKeyRingIamUpdater) GetMutexKey() string
func (*KmsKeyRingIamUpdater) GetResourceIamPolicy ¶
func (u *KmsKeyRingIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*KmsKeyRingIamUpdater) GetResourceId ¶
func (u *KmsKeyRingIamUpdater) GetResourceId() string
func (*KmsKeyRingIamUpdater) SetResourceIamPolicy ¶
func (u *KmsKeyRingIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type KnativeStatus ¶
type KnativeStatus struct { Metadata struct { Name string Namespace string SelfLink string } Status struct { Conditions []Condition } }
KnativeStatus is a struct that can contain a Knative style resource's Status block. It is not intended to be used for anything other than polling for the success of the given resource.
type LoggingExclusionId ¶
type LoggingExclusionId struct {
// contains filtered or unexported fields
}
LoggingExclusionId represents the parts that make up the canonical id used within terraform for a logging resource.
type LoggingSinkId ¶
type LoggingSinkId struct {
// contains filtered or unexported fields
}
LoggingSinkId represents the parts that make up the canonical id used within terraform for a logging resource.
type MLEngineOperationWaiter ¶
type MLEngineOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*MLEngineOperationWaiter) QueryOp ¶
func (w *MLEngineOperationWaiter) QueryOp() (interface{}, error)
type MutexKV ¶
type MutexKV struct {
// contains filtered or unexported fields
}
MutexKV is a simple key/value store for arbitrary mutexes. It can be used to serialize changes across arbitrary collaborators that share knowledge of the keys they must serialize on.
The initial use case is to let aws_security_group_rule resources serialize their access to individual security groups based on SG ID.
type NetworkManagementOperationWaiter ¶
type NetworkManagementOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*NetworkManagementOperationWaiter) QueryOp ¶
func (w *NetworkManagementOperationWaiter) QueryOp() (interface{}, error)
type NodePoolInformation ¶
type NodePoolInformation struct {
// contains filtered or unexported fields
}
type NotebooksInstanceIamUpdater ¶
type NotebooksInstanceIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*NotebooksInstanceIamUpdater) DescribeResource ¶
func (u *NotebooksInstanceIamUpdater) DescribeResource() string
func (*NotebooksInstanceIamUpdater) GetMutexKey ¶
func (u *NotebooksInstanceIamUpdater) GetMutexKey() string
func (*NotebooksInstanceIamUpdater) GetResourceIamPolicy ¶
func (u *NotebooksInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*NotebooksInstanceIamUpdater) GetResourceId ¶
func (u *NotebooksInstanceIamUpdater) GetResourceId() string
func (*NotebooksInstanceIamUpdater) SetResourceIamPolicy ¶
func (u *NotebooksInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type NotebooksOperationWaiter ¶
type NotebooksOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*NotebooksOperationWaiter) QueryOp ¶
func (w *NotebooksOperationWaiter) QueryOp() (interface{}, error)
type OrganizationFieldValue ¶
type OrganizationFieldValue struct { OrgId string Name string // contains filtered or unexported fields }
func ParseOrganizationCustomRoleName ¶
func ParseOrganizationCustomRoleName(role string) (*OrganizationFieldValue, error)
func (OrganizationFieldValue) RelativeLink ¶
func (f OrganizationFieldValue) RelativeLink() string
type OrganizationIamUpdater ¶
type OrganizationIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*OrganizationIamUpdater) DescribeResource ¶
func (u *OrganizationIamUpdater) DescribeResource() string
func (*OrganizationIamUpdater) GetMutexKey ¶
func (u *OrganizationIamUpdater) GetMutexKey() string
func (*OrganizationIamUpdater) GetResourceIamPolicy ¶
func (u *OrganizationIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*OrganizationIamUpdater) GetResourceId ¶
func (u *OrganizationIamUpdater) GetResourceId() string
func (*OrganizationIamUpdater) SetResourceIamPolicy ¶
func (u *OrganizationIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type OrganizationLoggingExclusionUpdater ¶
type OrganizationLoggingExclusionUpdater struct { Config *Config // contains filtered or unexported fields }
func (*OrganizationLoggingExclusionUpdater) CreateLoggingExclusion ¶
func (u *OrganizationLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
func (*OrganizationLoggingExclusionUpdater) DeleteLoggingExclusion ¶
func (u *OrganizationLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
func (*OrganizationLoggingExclusionUpdater) DescribeResource ¶
func (u *OrganizationLoggingExclusionUpdater) DescribeResource() string
func (*OrganizationLoggingExclusionUpdater) GetResourceId ¶
func (u *OrganizationLoggingExclusionUpdater) GetResourceId() string
func (*OrganizationLoggingExclusionUpdater) GetResourceType ¶
func (u *OrganizationLoggingExclusionUpdater) GetResourceType() string
func (*OrganizationLoggingExclusionUpdater) ReadLoggingExclusion ¶
func (u *OrganizationLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
func (*OrganizationLoggingExclusionUpdater) UpdateLoggingExclusion ¶
func (u *OrganizationLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
type PollCheckResponseFunc ¶
type PollCheckResponseFunc func(resp map[string]interface{}, respErr error) PollResult
Function to check the response from polling once
type PollReadFunc ¶
Function handling for polling for a resource
type PollResult ¶
type PollResult *resource.RetryError
func ErrorPollResult ¶
func ErrorPollResult(err error) PollResult
Helper functions to construct result of single pollRead as return result for a PollCheckResponseFunc
func PendingStatusPollResult ¶
func PendingStatusPollResult(status string) PollResult
func PollCheckForAbsence ¶
func PollCheckForAbsence(_ map[string]interface{}, respErr error) PollResult
PollCheckForAbsence waits for a 404 response, continues polling on a successful response, and returns any other error.
func PollCheckForExistence ¶
func PollCheckForExistence(_ map[string]interface{}, respErr error) PollResult
PollCheckForExistence waits for a successful response, continues polling on 404, and returns any other error.
func PollCheckInstanceConfigDeleted ¶
func PollCheckInstanceConfigDeleted(resp map[string]interface{}, respErr error) PollResult
func PollCheckKnativeStatus ¶
func PollCheckKnativeStatus(resp map[string]interface{}, respErr error) PollResult
func SuccessPollResult ¶
func SuccessPollResult() PollResult
type ProjectFieldValue ¶
type ProjectFieldValue struct { Project string Name string // contains filtered or unexported fields }
func (ProjectFieldValue) RelativeLink ¶
func (f ProjectFieldValue) RelativeLink() string
type ProjectIamUpdater ¶
type ProjectIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ProjectIamUpdater) DescribeResource ¶
func (u *ProjectIamUpdater) DescribeResource() string
func (*ProjectIamUpdater) GetMutexKey ¶
func (u *ProjectIamUpdater) GetMutexKey() string
func (*ProjectIamUpdater) GetResourceIamPolicy ¶
func (u *ProjectIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ProjectIamUpdater) GetResourceId ¶
func (u *ProjectIamUpdater) GetResourceId() string
func (*ProjectIamUpdater) SetResourceIamPolicy ¶
func (u *ProjectIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ProjectLoggingExclusionUpdater ¶
type ProjectLoggingExclusionUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ProjectLoggingExclusionUpdater) CreateLoggingExclusion ¶
func (u *ProjectLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
func (*ProjectLoggingExclusionUpdater) DeleteLoggingExclusion ¶
func (u *ProjectLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
func (*ProjectLoggingExclusionUpdater) DescribeResource ¶
func (u *ProjectLoggingExclusionUpdater) DescribeResource() string
func (*ProjectLoggingExclusionUpdater) GetResourceId ¶
func (u *ProjectLoggingExclusionUpdater) GetResourceId() string
func (*ProjectLoggingExclusionUpdater) GetResourceType ¶
func (u *ProjectLoggingExclusionUpdater) GetResourceType() string
func (*ProjectLoggingExclusionUpdater) ReadLoggingExclusion ¶
func (u *ProjectLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
func (*ProjectLoggingExclusionUpdater) UpdateLoggingExclusion ¶
func (u *ProjectLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
type PubsubSubscriptionIamUpdater ¶
type PubsubSubscriptionIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*PubsubSubscriptionIamUpdater) DescribeResource ¶
func (u *PubsubSubscriptionIamUpdater) DescribeResource() string
func (*PubsubSubscriptionIamUpdater) GetMutexKey ¶
func (u *PubsubSubscriptionIamUpdater) GetMutexKey() string
func (*PubsubSubscriptionIamUpdater) GetResourceIamPolicy ¶
func (u *PubsubSubscriptionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*PubsubSubscriptionIamUpdater) GetResourceId ¶
func (u *PubsubSubscriptionIamUpdater) GetResourceId() string
func (*PubsubSubscriptionIamUpdater) SetResourceIamPolicy ¶
func (u *PubsubSubscriptionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type PubsubTopicIamUpdater ¶
type PubsubTopicIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*PubsubTopicIamUpdater) DescribeResource ¶
func (u *PubsubTopicIamUpdater) DescribeResource() string
func (*PubsubTopicIamUpdater) GetMutexKey ¶
func (u *PubsubTopicIamUpdater) GetMutexKey() string
func (*PubsubTopicIamUpdater) GetResourceIamPolicy ¶
func (u *PubsubTopicIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*PubsubTopicIamUpdater) GetResourceId ¶
func (u *PubsubTopicIamUpdater) GetResourceId() string
func (*PubsubTopicIamUpdater) SetResourceIamPolicy ¶
func (u *PubsubTopicIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type RedisOperationWaiter ¶
type RedisOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*RedisOperationWaiter) QueryOp ¶
func (w *RedisOperationWaiter) QueryOp() (interface{}, error)
type RegionalFieldValue ¶
type RegionalFieldValue struct { Project string Region string Name string // contains filtered or unexported fields }
func ParseRegionDiskFieldValue ¶
func ParseRegionDiskFieldValue(disk string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)
func ParseSubnetworkFieldValue ¶
func ParseSubnetworkFieldValue(subnetwork string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)
func ParseSubnetworkFieldValueWithProjectField ¶
func ParseSubnetworkFieldValueWithProjectField(subnetwork, projectField string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)
func (RegionalFieldValue) RelativeLink ¶
func (f RegionalFieldValue) RelativeLink() string
type RequestBatcher ¶
RequestBatcher keeps track of batched requests globally. It should be created at a provider level. In general, one should be created per service that requires batching to:
- prevent blocking batching for one service due to another,
- minimize the possibility of overlap in batchKey formats (see SendRequestWithTimeout)
func NewRequestBatcher ¶
func NewRequestBatcher(debugId string, ctx context.Context, config *batchingConfig) *RequestBatcher
Initializes a new batcher.
func (*RequestBatcher) SendRequestWithTimeout ¶
func (b *RequestBatcher) SendRequestWithTimeout(batchKey string, request *BatchRequest, timeout time.Duration) (interface{}, error)
SendRequestWithTimeout is a blocking call for making a single request, run alone or as part of a batch. It manages registering the single request with the batcher and waiting on the result.
Params: batchKey: A string to group batchable requests. It should be unique to the API request being sent, similar to the HTTP request URL with GCP resource ID included in the URL (the caller may choose to use a key with method if needed to diff GET/read and POST/create)
As an example, for google_project_service, the batcher is called to batch services.batchEnable() calls for a project $PROJECT. The calling code uses the template "serviceusage:projects/$PROJECT/services:batchEnable", which mirrors the HTTP request: POST https://serviceusage.googleapis.com/v1/projects/$PROJECT/services:batchEnable
type ResourceDataMock ¶
type ResourceDataMock struct { FieldsInSchema map[string]interface{} FieldsWithHasChange []string // contains filtered or unexported fields }
func (*ResourceDataMock) Get ¶
func (d *ResourceDataMock) Get(key string) interface{}
func (*ResourceDataMock) GetOk ¶
func (d *ResourceDataMock) GetOk(key string) (interface{}, bool)
func (*ResourceDataMock) GetOkExists ¶
func (d *ResourceDataMock) GetOkExists(key string) (interface{}, bool)
func (*ResourceDataMock) GetProviderMeta ¶
func (d *ResourceDataMock) GetProviderMeta(dst interface{}) error
func (*ResourceDataMock) HasChange ¶
func (d *ResourceDataMock) HasChange(key string) bool
func (*ResourceDataMock) Id ¶
func (d *ResourceDataMock) Id() string
func (*ResourceDataMock) Set ¶
func (d *ResourceDataMock) Set(key string, value interface{}) error
func (*ResourceDataMock) SetId ¶
func (d *ResourceDataMock) SetId(v string)
type ResourceDiffMock ¶
type ResourceDiffMock struct { Before map[string]interface{} After map[string]interface{} Cleared map[string]struct{} IsForceNew bool }
func (*ResourceDiffMock) Clear ¶
func (d *ResourceDiffMock) Clear(key string) error
func (*ResourceDiffMock) ForceNew ¶
func (d *ResourceDiffMock) ForceNew(key string) error
func (*ResourceDiffMock) Get ¶
func (d *ResourceDiffMock) Get(key string) interface{}
func (*ResourceDiffMock) GetChange ¶
func (d *ResourceDiffMock) GetChange(key string) (interface{}, interface{})
func (*ResourceDiffMock) HasChange ¶
func (d *ResourceDiffMock) HasChange(key string) bool
type ResourceIamUpdater ¶
type ResourceIamUpdater interface { // Fetch the existing IAM policy attached to a resource. GetResourceIamPolicy() (*cloudresourcemanager.Policy, error) // Replaces the existing IAM Policy attached to a resource. SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error // A mutex guards against concurrent to call to the SetResourceIamPolicy method. // The mutex key should be made of the resource type and resource id. // For example: `iam-project-{id}`. GetMutexKey() string // Returns the unique resource identifier. GetResourceId() string // Textual description of this resource to be used in error message. // The description should include the unique resource identifier. DescribeResource() string }
The ResourceIamUpdater interface is implemented for each GCP resource supporting IAM policy. Implementations should be created per resource and should keep track of the resource identifier.
func BigQueryTableIamUpdaterProducer ¶
func BigQueryTableIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func BinaryAuthorizationAttestorIamUpdaterProducer ¶
func BinaryAuthorizationAttestorIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func CloudFunctionsCloudFunctionIamUpdaterProducer ¶
func CloudFunctionsCloudFunctionIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func CloudRunServiceIamUpdaterProducer ¶
func CloudRunServiceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func ComputeDiskIamUpdaterProducer ¶
func ComputeDiskIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func ComputeImageIamUpdaterProducer ¶
func ComputeImageIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func ComputeInstanceIamUpdaterProducer ¶
func ComputeInstanceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func ComputeRegionDiskIamUpdaterProducer ¶
func ComputeRegionDiskIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func ComputeSubnetworkIamUpdaterProducer ¶
func ComputeSubnetworkIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func DataCatalogEntryGroupIamUpdaterProducer ¶
func DataCatalogEntryGroupIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func IapAppEngineServiceIamUpdaterProducer ¶
func IapAppEngineServiceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func IapAppEngineVersionIamUpdaterProducer ¶
func IapAppEngineVersionIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func IapTunnelIamUpdaterProducer ¶
func IapTunnelIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func IapTunnelInstanceIamUpdaterProducer ¶
func IapTunnelInstanceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func IapWebBackendServiceIamUpdaterProducer ¶
func IapWebBackendServiceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func IapWebIamUpdaterProducer ¶
func IapWebIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func IapWebTypeAppEngineIamUpdaterProducer ¶
func IapWebTypeAppEngineIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func IapWebTypeComputeIamUpdaterProducer ¶
func IapWebTypeComputeIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewBigqueryDatasetIamUpdater ¶
func NewBigqueryDatasetIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewBigtableInstanceUpdater ¶
func NewBigtableInstanceUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewBigtableTableUpdater ¶
func NewBigtableTableUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewBillingAccountIamUpdater ¶
func NewBillingAccountIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewDataprocClusterUpdater ¶
func NewDataprocClusterUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewDataprocJobUpdater ¶
func NewDataprocJobUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewFolderIamUpdater ¶
func NewFolderIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewHealthcareDatasetIamUpdater ¶
func NewHealthcareDatasetIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewHealthcareDicomStoreIamUpdater ¶
func NewHealthcareDicomStoreIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewHealthcareFhirStoreIamUpdater ¶
func NewHealthcareFhirStoreIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewHealthcareHl7V2StoreIamUpdater ¶
func NewHealthcareHl7V2StoreIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewKmsCryptoKeyIamUpdater ¶
func NewKmsCryptoKeyIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewKmsKeyRingIamUpdater ¶
func NewKmsKeyRingIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewOrganizationIamUpdater ¶
func NewOrganizationIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewProjectIamPolicyUpdater ¶
func NewProjectIamPolicyUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
NewProjectIamPolicyUpdater is similar to NewProjectIamUpdater, except that it doesn't call getProject and only uses an explicitly set project.
func NewProjectIamUpdater ¶
func NewProjectIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewPubsubSubscriptionIamUpdater ¶
func NewPubsubSubscriptionIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewServiceAccountIamUpdater ¶
func NewServiceAccountIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewSpannerDatabaseIamUpdater ¶
func NewSpannerDatabaseIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewSpannerInstanceIamUpdater ¶
func NewSpannerInstanceIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NotebooksInstanceIamUpdaterProducer ¶
func NotebooksInstanceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func PubsubTopicIamUpdaterProducer ¶
func PubsubTopicIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func RuntimeConfigConfigIamUpdaterProducer ¶
func RuntimeConfigConfigIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func SecretManagerSecretIamUpdaterProducer ¶
func SecretManagerSecretIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func ServiceManagementServiceIamUpdaterProducer ¶
func ServiceManagementServiceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func SourceRepoRepositoryIamUpdaterProducer ¶
func SourceRepoRepositoryIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func StorageBucketIamUpdaterProducer ¶
func StorageBucketIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
type ResourceLoggingExclusionUpdater ¶
type ResourceLoggingExclusionUpdater interface { CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error ReadLoggingExclusion(id string) (*logging.LogExclusion, error) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error DeleteLoggingExclusion(id string) error GetResourceType() string // Returns the unique resource identifier. GetResourceId() string // Textual description of this resource to be used in error message. // The description should include the unique resource identifier. DescribeResource() string }
The ResourceLoggingExclusionUpdater interface is implemented for each GCP resource supporting log exclusions.
Implementations should keep track of the resource identifier.
func NewBillingAccountLoggingExclusionUpdater ¶
func NewBillingAccountLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
func NewFolderLoggingExclusionUpdater ¶
func NewFolderLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
func NewOrganizationLoggingExclusionUpdater ¶
func NewOrganizationLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
func NewProjectLoggingExclusionUpdater ¶
func NewProjectLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
type ResourceManagerOperationWaiter ¶
type ResourceManagerOperationWaiter struct { Config *Config UserAgent string CommonOperationWaiter }
func (*ResourceManagerOperationWaiter) QueryOp ¶
func (w *ResourceManagerOperationWaiter) QueryOp() (interface{}, error)
type RestingStates ¶
type RoleEntity ¶
type RuntimeConfigConfigIamUpdater ¶
type RuntimeConfigConfigIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*RuntimeConfigConfigIamUpdater) DescribeResource ¶
func (u *RuntimeConfigConfigIamUpdater) DescribeResource() string
func (*RuntimeConfigConfigIamUpdater) GetMutexKey ¶
func (u *RuntimeConfigConfigIamUpdater) GetMutexKey() string
func (*RuntimeConfigConfigIamUpdater) GetResourceIamPolicy ¶
func (u *RuntimeConfigConfigIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*RuntimeConfigConfigIamUpdater) GetResourceId ¶
func (u *RuntimeConfigConfigIamUpdater) GetResourceId() string
func (*RuntimeConfigConfigIamUpdater) SetResourceIamPolicy ¶
func (u *RuntimeConfigConfigIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type SecretManagerSecretIamUpdater ¶
type SecretManagerSecretIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*SecretManagerSecretIamUpdater) DescribeResource ¶
func (u *SecretManagerSecretIamUpdater) DescribeResource() string
func (*SecretManagerSecretIamUpdater) GetMutexKey ¶
func (u *SecretManagerSecretIamUpdater) GetMutexKey() string
func (*SecretManagerSecretIamUpdater) GetResourceIamPolicy ¶
func (u *SecretManagerSecretIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*SecretManagerSecretIamUpdater) GetResourceId ¶
func (u *SecretManagerSecretIamUpdater) GetResourceId() string
func (*SecretManagerSecretIamUpdater) SetResourceIamPolicy ¶
func (u *SecretManagerSecretIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ServiceAccountIamUpdater ¶
type ServiceAccountIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ServiceAccountIamUpdater) DescribeResource ¶
func (u *ServiceAccountIamUpdater) DescribeResource() string
func (*ServiceAccountIamUpdater) GetMutexKey ¶
func (u *ServiceAccountIamUpdater) GetMutexKey() string
func (*ServiceAccountIamUpdater) GetResourceIamPolicy ¶
func (u *ServiceAccountIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ServiceAccountIamUpdater) GetResourceId ¶
func (u *ServiceAccountIamUpdater) GetResourceId() string
func (*ServiceAccountIamUpdater) SetResourceIamPolicy ¶
func (u *ServiceAccountIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ServiceAccountKeyWaiter ¶
type ServiceAccountKeyWaiter struct { Service *iam.ProjectsServiceAccountsKeysService PublicKeyType string KeyName string }
func (*ServiceAccountKeyWaiter) RefreshFunc ¶
func (w *ServiceAccountKeyWaiter) RefreshFunc() resource.StateRefreshFunc
type ServiceManagementOperationWaiter ¶
type ServiceManagementOperationWaiter struct { Service *servicemanagement.APIService CommonOperationWaiter }
func (*ServiceManagementOperationWaiter) QueryOp ¶
func (w *ServiceManagementOperationWaiter) QueryOp() (interface{}, error)
type ServiceManagementServiceIamUpdater ¶
type ServiceManagementServiceIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ServiceManagementServiceIamUpdater) DescribeResource ¶
func (u *ServiceManagementServiceIamUpdater) DescribeResource() string
func (*ServiceManagementServiceIamUpdater) GetMutexKey ¶
func (u *ServiceManagementServiceIamUpdater) GetMutexKey() string
func (*ServiceManagementServiceIamUpdater) GetResourceIamPolicy ¶
func (u *ServiceManagementServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ServiceManagementServiceIamUpdater) GetResourceId ¶
func (u *ServiceManagementServiceIamUpdater) GetResourceId() string
func (*ServiceManagementServiceIamUpdater) SetResourceIamPolicy ¶
func (u *ServiceManagementServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ServiceNetworkingOperationWaiter ¶
type ServiceNetworkingOperationWaiter struct { Service *servicenetworking.APIService CommonOperationWaiter }
func (*ServiceNetworkingOperationWaiter) QueryOp ¶
func (w *ServiceNetworkingOperationWaiter) QueryOp() (interface{}, error)
type ServiceUsageOperationWaiter ¶
type ServiceUsageOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*ServiceUsageOperationWaiter) QueryOp ¶
func (w *ServiceUsageOperationWaiter) QueryOp() (interface{}, error)
type SourceRepoRepositoryIamUpdater ¶
type SourceRepoRepositoryIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*SourceRepoRepositoryIamUpdater) DescribeResource ¶
func (u *SourceRepoRepositoryIamUpdater) DescribeResource() string
func (*SourceRepoRepositoryIamUpdater) GetMutexKey ¶
func (u *SourceRepoRepositoryIamUpdater) GetMutexKey() string
func (*SourceRepoRepositoryIamUpdater) GetResourceIamPolicy ¶
func (u *SourceRepoRepositoryIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*SourceRepoRepositoryIamUpdater) GetResourceId ¶
func (u *SourceRepoRepositoryIamUpdater) GetResourceId() string
func (*SourceRepoRepositoryIamUpdater) SetResourceIamPolicy ¶
func (u *SourceRepoRepositoryIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type SpannerDatabaseIamUpdater ¶
type SpannerDatabaseIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*SpannerDatabaseIamUpdater) DescribeResource ¶
func (u *SpannerDatabaseIamUpdater) DescribeResource() string
func (*SpannerDatabaseIamUpdater) GetMutexKey ¶
func (u *SpannerDatabaseIamUpdater) GetMutexKey() string
func (*SpannerDatabaseIamUpdater) GetResourceIamPolicy ¶
func (u *SpannerDatabaseIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*SpannerDatabaseIamUpdater) GetResourceId ¶
func (u *SpannerDatabaseIamUpdater) GetResourceId() string
func (*SpannerDatabaseIamUpdater) SetResourceIamPolicy ¶
func (u *SpannerDatabaseIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type SpannerInstanceIamUpdater ¶
type SpannerInstanceIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*SpannerInstanceIamUpdater) DescribeResource ¶
func (u *SpannerInstanceIamUpdater) DescribeResource() string
func (*SpannerInstanceIamUpdater) GetMutexKey ¶
func (u *SpannerInstanceIamUpdater) GetMutexKey() string
func (*SpannerInstanceIamUpdater) GetResourceIamPolicy ¶
func (u *SpannerInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*SpannerInstanceIamUpdater) GetResourceId ¶
func (u *SpannerInstanceIamUpdater) GetResourceId() string
func (*SpannerInstanceIamUpdater) SetResourceIamPolicy ¶
func (u *SpannerInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type SpannerOperationWaiter ¶
type SpannerOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*SpannerOperationWaiter) QueryOp ¶
func (w *SpannerOperationWaiter) QueryOp() (interface{}, error)
type SqlAdminOperationError ¶
type SqlAdminOperationError sqladmin.OperationErrors
SqlAdminOperationError wraps sqladmin.OperationError and implements the error interface so it can be returned.
func (SqlAdminOperationError) Error ¶
func (e SqlAdminOperationError) Error() string
type SqlAdminOperationWaiter ¶
type SqlAdminOperationWaiter struct { Service *sqladmin.Service Op *sqladmin.Operation Project string }
func (*SqlAdminOperationWaiter) Error ¶
func (w *SqlAdminOperationWaiter) Error() error
func (*SqlAdminOperationWaiter) IsRetryable ¶
func (w *SqlAdminOperationWaiter) IsRetryable(error) bool
func (*SqlAdminOperationWaiter) OpName ¶
func (w *SqlAdminOperationWaiter) OpName() string
func (*SqlAdminOperationWaiter) PendingStates ¶
func (w *SqlAdminOperationWaiter) PendingStates() []string
func (*SqlAdminOperationWaiter) QueryOp ¶
func (w *SqlAdminOperationWaiter) QueryOp() (interface{}, error)
func (*SqlAdminOperationWaiter) SetOp ¶
func (w *SqlAdminOperationWaiter) SetOp(op interface{}) error
func (*SqlAdminOperationWaiter) State ¶
func (w *SqlAdminOperationWaiter) State() string
func (*SqlAdminOperationWaiter) TargetStates ¶
func (w *SqlAdminOperationWaiter) TargetStates() []string
type StateType ¶
type StateType int
A StateType represents the specific type of resting state that a state value is.
const ( UndefinedState StateType = iota // A special resting state, that generally requires special consideration // Interactive states like PENDING_PARTNER in interconnects are an example RestingState // An error state is a state that indicates that a resource is not working // correctly. If this is Create, it should be tainted by returning an error ErrorState // A ready resource is fully provisioned, and ready to accept traffic/work ReadyState )
type StorageBucketIamUpdater ¶
type StorageBucketIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*StorageBucketIamUpdater) DescribeResource ¶
func (u *StorageBucketIamUpdater) DescribeResource() string
func (*StorageBucketIamUpdater) GetMutexKey ¶
func (u *StorageBucketIamUpdater) GetMutexKey() string
func (*StorageBucketIamUpdater) GetResourceIamPolicy ¶
func (u *StorageBucketIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*StorageBucketIamUpdater) GetResourceId ¶
func (u *StorageBucketIamUpdater) GetResourceId() string
func (*StorageBucketIamUpdater) SetResourceIamPolicy ¶
func (u *StorageBucketIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type TPUOperationWaiter ¶
type TPUOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*TPUOperationWaiter) QueryOp ¶
func (w *TPUOperationWaiter) QueryOp() (interface{}, error)
type TerraformResourceData ¶
type TerraformResourceDiff ¶
type UrlData ¶
type UrlData struct { JwtConfig *jwt.Config ContentMd5 string ContentType string HttpMethod string Expires int HttpHeaders map[string]string Path string }
UrlData stores the values required to create a Signed Url
func (*UrlData) EncodedSignature ¶
EncodedSignature returns the Signature() after base64 encoding and url escaping
func (*UrlData) SignedUrl ¶
SignedUrl constructs the final signed URL a client can use to retrieve storage object
func (*UrlData) SigningString ¶
SigningString creates a string representation of the UrlData in a form ready for signing: see https://cloud.google.com/storage/docs/access-control/create-signed-urls-program Example output: ------------------- GET
1388534400 bucket/objectname -------------------
type VPCAccessOperationWaiter ¶
type VPCAccessOperationWaiter struct { Config *Config UserAgent string Project string CommonOperationWaiter }
func (*VPCAccessOperationWaiter) QueryOp ¶
func (w *VPCAccessOperationWaiter) QueryOp() (interface{}, error)
type Waiter ¶
type Waiter interface { // State returns the current status of the operation. State() string // Error returns an error embedded in the operation we're waiting on, or nil // if the operation has no current error. Error() error // IsRetryable returns whether a given error should be retried. IsRetryable(error) bool // SetOp sets the operation we're waiting on in a Waiter struct so that it // can be used in other methods. SetOp(interface{}) error // QueryOp sends a request to the server to get the current status of the // operation. It's expected that QueryOp will return exactly one of an // operation or an error as non-nil, and that requests will be retried by // specific implementations of the method. QueryOp() (interface{}, error) // OpName is the name of the operation and is used to log its status. OpName() string // PendingStates contains the values of State() that cause us to continue // refreshing the operation. PendingStates() []string // TargetStates contain the values of State() that cause us to finish // refreshing the operation. TargetStates() []string }
type ZonalFieldValue ¶
type ZonalFieldValue struct { Project string Zone string Name string // contains filtered or unexported fields }
func ParseAcceleratorFieldValue ¶
func ParseAcceleratorFieldValue(accelerator string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
func ParseDiskFieldValue ¶
func ParseDiskFieldValue(disk string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
func ParseInstanceFieldValue ¶
func ParseInstanceFieldValue(instance string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
func ParseInstanceGroupFieldValue ¶
func ParseInstanceGroupFieldValue(instanceGroup string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
func ParseMachineTypesFieldValue ¶
func ParseMachineTypesFieldValue(machineType string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
func ParseNetworkEndpointGroupFieldValue ¶
func ParseNetworkEndpointGroupFieldValue(networkEndpointGroup string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
func (ZonalFieldValue) RelativeLink ¶
func (f ZonalFieldValue) RelativeLink() string
Source Files ¶
- access_context_manager_operation.go
- active_directory_operation.go
- appengine_operation.go
- batcher.go
- bigtable_client_factory.go
- cloudfunctions_operation.go
- cloudrun_polling.go
- common_diff_suppress.go
- common_operation.go
- common_polling.go
- composer_operation.go
- compute_instance_helpers.go
- compute_instance_network_interface_helpers.go
- compute_operation.go
- compute_shared_operation.go
- config.go
- container_operation.go
- convert.go
- data_google_game_services_game_server_deployment_rollout.go
- data_source_cloud_identity_group_memberships.go
- data_source_cloud_identity_groups.go
- data_source_cloud_run_service.go
- data_source_compute_lb_ip_ranges.go
- data_source_compute_network_endpoint_group.go
- data_source_container_registry_image.go
- data_source_container_registry_repository.go
- data_source_dns_keys.go
- data_source_dns_managed_zone.go
- data_source_google_active_folder.go
- data_source_google_app_engine_default_service_account.go
- data_source_google_bigquery_default_service_account.go
- data_source_google_billing_account.go
- data_source_google_client_config.go
- data_source_google_client_openid_userinfo.go
- data_source_google_cloudfunctions_function.go
- data_source_google_composer_environment.go
- data_source_google_composer_image_versions.go
- data_source_google_compute_address.go
- data_source_google_compute_backend_bucket.go
- data_source_google_compute_backend_service.go
- data_source_google_compute_default_service_account.go
- data_source_google_compute_forwarding_rule.go
- data_source_google_compute_global_address.go
- data_source_google_compute_image.go
- data_source_google_compute_instance.go
- data_source_google_compute_instance_group.go
- data_source_google_compute_instance_serial_port.go
- data_source_google_compute_instance_template.go
- data_source_google_compute_network.go
- data_source_google_compute_node_types.go
- data_source_google_compute_region_instance_group.go
- data_source_google_compute_region_ssl_certificate.go
- data_source_google_compute_regions.go
- data_source_google_compute_resource_policy.go
- data_source_google_compute_router.go
- data_source_google_compute_ssl_certificate.go
- data_source_google_compute_ssl_policy.go
- data_source_google_compute_subnetwork.go
- data_source_google_compute_vpn_gateway.go
- data_source_google_compute_zones.go
- data_source_google_container_cluster.go
- data_source_google_container_engine_versions.go
- data_source_google_firebase_web_app.go
- data_source_google_firebase_web_app_config.go
- data_source_google_folder.go
- data_source_google_folder_organization_policy.go
- data_source_google_global_compute_forwarding_rule.go
- data_source_google_iam_policy.go
- data_source_google_iam_role.go
- data_source_google_iam_testable_permissions.go
- data_source_google_kms_crypto_key.go
- data_source_google_kms_crypto_key_version.go
- data_source_google_kms_key_ring.go
- data_source_google_kms_secret.go
- data_source_google_kms_secret_ciphertext.go
- data_source_google_monitoring_uptime_check_ips.go
- data_source_google_netblock_ip_ranges.go
- data_source_google_organization.go
- data_source_google_project.go
- data_source_google_project_organization_policy.go
- data_source_google_projects.go
- data_source_google_redis_instance.go
- data_source_google_service_account.go
- data_source_google_service_account_access_token.go
- data_source_google_service_account_id_token.go
- data_source_google_service_account_key.go
- data_source_google_sql_ca_certs.go
- data_source_google_storage_bucket_object.go
- data_source_google_storage_project_service_account.go
- data_source_google_storage_transfer_project_service_account.go
- data_source_iam_beta_workload_identity_pool.go
- data_source_iam_beta_workload_identity_pool_provider.go
- data_source_monitoring_notification_channel.go
- data_source_monitoring_service.go
- data_source_monitoring_service_app_engine.go
- data_source_monitoring_service_cluster_istio.go
- data_source_monitoring_service_mesh_istio.go
- data_source_pubsub_topic.go
- data_source_secret_manager_secret_version.go
- data_source_spanner_instance.go
- data_source_sql_backup_run.go
- data_source_sql_database_instance.go
- data_source_storage_bucket_object_content.go
- data_source_storage_object_signed_url.go
- data_source_tpu_tensorflow_versions.go
- dataproc_cluster_operation.go
- dataproc_job_operation.go
- datasource_helpers.go
- datastore_operation.go
- deployment_manager_operation.go
- disk_type.go
- dns_change.go
- error_retry_predicates.go
- field_helpers.go
- filestore_operation.go
- firestore_operation.go
- game_services_operation.go
- hashcode.go
- healthcare_utils.go
- iam.go
- iam_batching.go
- iam_big_query_table.go
- iam_bigquery_dataset.go
- iam_bigtable_instance.go
- iam_bigtable_table.go
- iam_billing_account.go
- iam_binary_authorization_attestor.go
- iam_cloud_functions_cloud_function.go
- iam_cloud_run_service.go
- iam_compute_disk.go
- iam_compute_image.go
- iam_compute_instance.go
- iam_compute_region_disk.go
- iam_compute_subnetwork.go
- iam_data_catalog_entry_group.go
- iam_dataproc_cluster.go
- iam_dataproc_job.go
- iam_folder.go
- iam_healthcare_dataset.go
- iam_healthcare_dicom_store.go
- iam_healthcare_fhir_store.go
- iam_healthcare_hl7_v2_store.go
- iam_iap_app_engine_service.go
- iam_iap_app_engine_version.go
- iam_iap_tunnel.go
- iam_iap_tunnel_instance.go
- iam_iap_web.go
- iam_iap_web_backend_service.go
- iam_iap_web_type_app_engine.go
- iam_iap_web_type_compute.go
- iam_kms_crypto_key.go
- iam_kms_key_ring.go
- iam_notebooks_instance.go
- iam_organization.go
- iam_project.go
- iam_pubsub_subscription.go
- iam_pubsub_topic.go
- iam_runtime_config_config.go
- iam_secret_manager_secret.go
- iam_service_account.go
- iam_service_management_service.go
- iam_source_repo_repository.go
- iam_spanner_database.go
- iam_spanner_instance.go
- iam_storage_bucket.go
- image.go
- import.go
- kms_utils.go
- logging_exclusion_billing_account.go
- logging_exclusion_folder.go
- logging_exclusion_organization.go
- logging_exclusion_project.go
- logging_utils.go
- metadata.go
- ml_engine_operation.go
- mutexkv.go
- network_management_operation.go
- node_config.go
- notebooks_operation.go
- path_or_contents.go
- provider.go
- provider_handwritten_endpoint.go
- pubsub_utils.go
- redis_operation.go
- regional_utils.go
- resource_access_approval_folder_settings.go
- resource_access_approval_organization_settings.go
- resource_access_approval_project_settings.go
- resource_access_context_manager_access_level.go
- resource_access_context_manager_access_level_condition.go
- resource_access_context_manager_access_levels.go
- resource_access_context_manager_access_policy.go
- resource_access_context_manager_service_perimeter.go
- resource_access_context_manager_service_perimeter_resource.go
- resource_access_context_manager_service_perimeters.go
- resource_active_directory_domain.go
- resource_active_directory_domain_trust.go
- resource_app_engine_application.go
- resource_app_engine_application_url_dispatch_rules.go
- resource_app_engine_domain_mapping.go
- resource_app_engine_firewall_rule.go
- resource_app_engine_flexible_app_version.go
- resource_app_engine_service_split_traffic.go
- resource_app_engine_standard_app_version.go
- resource_big_query_dataset.go
- resource_big_query_dataset_access.go
- resource_big_query_job.go
- resource_big_query_routine.go
- resource_bigquery_data_transfer_config.go
- resource_bigquery_reservation_reservation.go
- resource_bigquery_table.go
- resource_bigtable_app_profile.go
- resource_bigtable_gc_policy.go
- resource_bigtable_instance.go
- resource_bigtable_instance_migrate.go
- resource_bigtable_table.go
- resource_billing_budget.go
- resource_binary_authorization_attestor.go
- resource_binary_authorization_policy.go
- resource_cloud_asset_folder_feed.go
- resource_cloud_asset_organization_feed.go
- resource_cloud_asset_project_feed.go
- resource_cloud_build_trigger.go
- resource_cloud_identity_group.go
- resource_cloud_identity_group_membership.go
- resource_cloud_iot_device.go
- resource_cloud_iot_device_registry.go
- resource_cloud_run_domain_mapping.go
- resource_cloud_run_service.go
- resource_cloud_scheduler_job.go
- resource_cloud_tasks_queue.go
- resource_cloudfunctions_function.go
- resource_composer_environment.go
- resource_compute_address.go
- resource_compute_attached_disk.go
- resource_compute_autoscaler.go
- resource_compute_backend_bucket.go
- resource_compute_backend_bucket_signed_url_key.go
- resource_compute_backend_service.go
- resource_compute_backend_service_signed_url_key.go
- resource_compute_disk.go
- resource_compute_disk_resource_policy_attachment.go
- resource_compute_external_vpn_gateway.go
- resource_compute_firewall.go
- resource_compute_firewall_migrate.go
- resource_compute_forwarding_rule.go
- resource_compute_global_address.go
- resource_compute_global_forwarding_rule.go
- resource_compute_global_network_endpoint.go
- resource_compute_global_network_endpoint_group.go
- resource_compute_ha_vpn_gateway.go
- resource_compute_health_check.go
- resource_compute_http_health_check.go
- resource_compute_https_health_check.go
- resource_compute_image.go
- resource_compute_instance.go
- resource_compute_instance_from_machine_image.go
- resource_compute_instance_from_template.go
- resource_compute_instance_group.go
- resource_compute_instance_group_manager.go
- resource_compute_instance_group_migrate.go
- resource_compute_instance_group_named_port.go
- resource_compute_instance_migrate.go
- resource_compute_instance_template.go
- resource_compute_instance_template_migrate.go
- resource_compute_interconnect_attachment.go
- resource_compute_managed_ssl_certificate.go
- resource_compute_network.go
- resource_compute_network_endpoint.go
- resource_compute_network_endpoint_group.go
- resource_compute_network_peering.go
- resource_compute_network_peering_routes_config.go
- resource_compute_node_group.go
- resource_compute_node_template.go
- resource_compute_packet_mirroring.go
- resource_compute_per_instance_config.go
- resource_compute_project_default_network_tier.go
- resource_compute_project_metadata.go
- resource_compute_project_metadata_item.go
- resource_compute_region_autoscaler.go
- resource_compute_region_backend_service.go
- resource_compute_region_disk.go
- resource_compute_region_disk_resource_policy_attachment.go
- resource_compute_region_health_check.go
- resource_compute_region_instance_group_manager.go
- resource_compute_region_network_endpoint_group.go
- resource_compute_region_per_instance_config.go
- resource_compute_region_ssl_certificate.go
- resource_compute_region_target_http_proxy.go
- resource_compute_region_target_https_proxy.go
- resource_compute_region_url_map.go
- resource_compute_reservation.go
- resource_compute_resource_policy.go
- resource_compute_route.go
- resource_compute_router.go
- resource_compute_router_bgp_peer.go
- resource_compute_router_interface.go
- resource_compute_router_nat.go
- resource_compute_security_policy.go
- resource_compute_shared_vpc_host_project.go
- resource_compute_shared_vpc_service_project.go
- resource_compute_snapshot.go
- resource_compute_ssl_certificate.go
- resource_compute_ssl_policy.go
- resource_compute_subnetwork.go
- resource_compute_target_grpc_proxy.go
- resource_compute_target_http_proxy.go
- resource_compute_target_https_proxy.go
- resource_compute_target_instance.go
- resource_compute_target_pool.go
- resource_compute_target_ssl_proxy.go
- resource_compute_target_tcp_proxy.go
- resource_compute_url_map.go
- resource_compute_vpn_gateway.go
- resource_compute_vpn_tunnel.go
- resource_container_analysis_note.go
- resource_container_analysis_occurrence.go
- resource_container_cluster.go
- resource_container_cluster_migrate.go
- resource_container_node_pool.go
- resource_container_node_pool_migrate.go
- resource_container_registry.go
- resource_data_catalog_entry.go
- resource_data_catalog_entry_group.go
- resource_data_catalog_tag.go
- resource_data_catalog_tag_template.go
- resource_data_loss_prevention_deidentify_template.go
- resource_data_loss_prevention_inspect_template.go
- resource_data_loss_prevention_job_trigger.go
- resource_data_loss_prevention_stored_info_type.go
- resource_dataflow_flex_template_job.go
- resource_dataflow_job.go
- resource_dataproc_autoscaling_policy.go
- resource_dataproc_cluster.go
- resource_dataproc_job.go
- resource_datastore_index.go
- resource_deployment_manager_deployment.go
- resource_dialogflow_agent.go
- resource_dialogflow_entity_type.go
- resource_dialogflow_intent.go
- resource_dns_managed_zone.go
- resource_dns_policy.go
- resource_dns_record_set.go
- resource_endpoints_service.go
- resource_endpoints_service_migration.go
- resource_filestore_instance.go
- resource_firestore_document.go
- resource_firestore_index.go
- resource_game_services_game_server_cluster.go
- resource_game_services_game_server_config.go
- resource_game_services_game_server_deployment.go
- resource_game_services_game_server_deployment_rollout.go
- resource_game_services_realm.go
- resource_google_billing_subaccount.go
- resource_google_folder.go
- resource_google_folder_organization_policy.go
- resource_google_organization_iam_custom_role.go
- resource_google_organization_policy.go
- resource_google_project.go
- resource_google_project_default_service_accounts.go
- resource_google_project_iam_custom_role.go
- resource_google_project_migrate.go
- resource_google_project_organization_policy.go
- resource_google_project_service.go
- resource_google_service_account.go
- resource_google_service_account_key.go
- resource_healthcare_dataset.go
- resource_healthcare_dicom_store.go
- resource_healthcare_fhir_store.go
- resource_healthcare_hl7_v2_store.go
- resource_iam_audit_config.go
- resource_iam_binding.go
- resource_iam_member.go
- resource_iam_policy.go
- resource_iap_brand.go
- resource_iap_client.go
- resource_identity_platform_default_supported_idp_config.go
- resource_identity_platform_inbound_saml_config.go
- resource_identity_platform_oauth_idp_config.go
- resource_identity_platform_tenant.go
- resource_identity_platform_tenant_default_supported_idp_config.go
- resource_identity_platform_tenant_inbound_saml_config.go
- resource_identity_platform_tenant_oauth_idp_config.go
- resource_kms_crypto_key.go
- resource_kms_key_ring.go
- resource_kms_key_ring_import_job.go
- resource_kms_secret_ciphertext.go
- resource_logging_billing_account_bucket_config.go
- resource_logging_billing_account_sink.go
- resource_logging_bucket_config.go
- resource_logging_exclusion.go
- resource_logging_folder_bucket_config.go
- resource_logging_folder_sink.go
- resource_logging_metric.go
- resource_logging_organization_bucket_config.go
- resource_logging_organization_sink.go
- resource_logging_project_bucket_config.go
- resource_logging_project_sink.go
- resource_logging_sink.go
- resource_manager_operation.go
- resource_ml_engine_model.go
- resource_monitoring_alert_policy.go
- resource_monitoring_dashboard.go
- resource_monitoring_group.go
- resource_monitoring_metric_descriptor.go
- resource_monitoring_notification_channel.go
- resource_monitoring_service.go
- resource_monitoring_slo.go
- resource_monitoring_uptime_check_config.go
- resource_network_management_connectivity_test_resource.go
- resource_notebooks_environment.go
- resource_notebooks_instance.go
- resource_notebooks_location.go
- resource_os_config_patch_deployment.go
- resource_os_login_ssh_public_key.go
- resource_project_service_identity.go
- resource_pubsub_lite_subscription.go
- resource_pubsub_lite_topic.go
- resource_pubsub_subscription.go
- resource_pubsub_topic.go
- resource_redis_instance.go
- resource_resource_manager_lien.go
- resource_runtimeconfig_config.go
- resource_runtimeconfig_variable.go
- resource_secret_manager_secret.go
- resource_secret_manager_secret_version.go
- resource_security_center_source.go
- resource_service_networking_connection.go
- resource_source_repo_repository.go
- resource_spanner_database.go
- resource_spanner_instance.go
- resource_sql_database.go
- resource_sql_database_instance.go
- resource_sql_source_representation_instance.go
- resource_sql_ssl_cert.go
- resource_sql_user.go
- resource_sql_user_migrate.go
- resource_storage_bucket.go
- resource_storage_bucket_access_control.go
- resource_storage_bucket_acl.go
- resource_storage_bucket_object.go
- resource_storage_default_object_access_control.go
- resource_storage_default_object_acl.go
- resource_storage_hmac_key.go
- resource_storage_notification.go
- resource_storage_object_access_control.go
- resource_storage_object_acl.go
- resource_storage_transfer_job.go
- resource_tpu_node.go
- resource_usage_export_bucket.go
- resource_vpc_access_connector.go
- retry_transport.go
- retry_utils.go
- self_link_helpers.go
- service_account_waiter.go
- service_networking_operation.go
- service_scope.go
- service_usage_operation.go
- serviceman_operation.go
- serviceusage_batching.go
- serviceusage_operation.go
- source_repo_utils.go
- spanner_operation.go
- sql_utils.go
- sqladmin_operation.go
- state_util.go
- stateful_mig_polling.go
- test_utils.go
- tpu_operation.go
- transport.go
- userinfo.go
- utils.go
- validation.go
- vpc_access_operation.go