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.
----------------------------------------------------------------------------
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.
----------------------------------------------------------------------------
Index ¶
- Constants
- Variables
- func BatchRequestEnableServices(services map[string]struct{}, project string, d *schema.ResourceData, ...) 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 BigtableInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
- func BillingAccountIdParseFunc(d *schema.ResourceData, _ *Config) error
- func BinaryAuthorizationAttestorIdParseFunc(d *schema.ResourceData, config *Config) error
- func CloudFunctionsCloudFunctionIdParseFunc(d *schema.ResourceData, config *Config) error
- func CloudRunServiceIdParseFunc(d *schema.ResourceData, config *Config) error
- func CommonRefreshFunc(w Waiter) resource.StateRefreshFunc
- func ComputeInstanceIdParseFunc(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 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 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 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 Nprintf(format string, params map[string]interface{}) string
- func OperationDone(w Waiter) bool
- func OperationWait(w Waiter, activity string, timeoutMinutes int) error
- func OrgIdParseFunc(d *schema.ResourceData, _ *Config) error
- func ProjectIdParseFunc(d *schema.ResourceData, _ *Config) error
- func Provider() terraform.ResourceProvider
- 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 ResourceLoggingExclusion(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceMap() map[string]*schema.Resource
- func ResourceMapWithErrors() (map[string]*schema.Resource, error)
- func RuntimeConfigConfigIdParseFunc(d *schema.ResourceData, config *Config) error
- func ServiceAccountIdParseFunc(d *schema.ResourceData, _ *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 StorageBucketIdParseFunc(d *schema.ResourceData, config *Config) error
- func StoreResourceName(resourceLink interface{}) string
- func StringNotInSlice(invalid []string, ignoreCase bool) schema.SchemaValidateFunc
- type AccessContextManagerOperationWaiter
- type AppEngineOperationWaiter
- type BatchRequest
- 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 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 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 CloudRunPolling
- 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 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 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 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
- 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 DataFusionOperationWaiter
- 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 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 GlobalFieldValue
- func ParseHttpHealthCheckFieldValue(healthCheck string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
- func ParseInstanceTemplateFieldValue(instanceTemplate 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 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 NodePoolInformation
- 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 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) 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 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 ComputeInstanceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func ComputeSubnetworkIamUpdaterProducer(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 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 NewBigtableInstanceUpdater(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 NewIapTunnelInstanceIamUpdater(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 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 PubsubTopicIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func RuntimeConfigConfigIamUpdaterProducer(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 RoleEntity
- type RollableNodePoolInformation
- 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 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 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 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}$" )
const METADATA_FINGERPRINT_RETRIES = 10
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}$" )
var AccessContextManagerDefaultBasePath = "https://accesscontextmanager.googleapis.com/v1/"
Generated product base paths
var AppEngineDefaultBasePath = "https://appengine.googleapis.com/v1/"
var BigQueryDefaultBasePath = "https://www.googleapis.com/bigquery/v2/"
var BigqueryDataTransferDefaultBasePath = "https://bigquerydatatransfer.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/v1beta1/"
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/v1beta1/"
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 CloudIoTCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_CLOUD_IOT_CUSTOM_ENDPOINT", }, CloudIoTDefaultBasePath), }
var CloudIoTCustomEndpointEntryKey = "cloud_iot_custom_endpoint"
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://www.googleapis.com/compute/beta/"
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 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/v1beta1/"
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://www.googleapis.com/dns/v1beta2/"
var DataFusionDefaultBasePath = "https://datafusion.googleapis.com/v1beta1/"
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/v1beta2/"
var DefaultRequestTimeout = 5 * time.Minute
var DeploymentManagerDefaultBasePath = "https://www.googleapis.com/deploymentmanager/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."}
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 HealthcareDefaultBasePath = "https://healthcare.googleapis.com/v1beta1/"
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 IAPCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_IAP_CUSTOM_ENDPOINT", }, IAPDefaultBasePath), }
var IAPCustomEndpointEntryKey = "iap_custom_endpoint"
var IAPDefaultBasePath = "https://iap.googleapis.com/v1beta1/"
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 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 IamIapTunnelInstanceSchema = map[string]*schema.Schema{ "instance": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, "zone": { Type: schema.TypeString, Optional: true, Computed: 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, }, }
var IamPolicyBaseSchema = map[string]*schema.Schema{ "policy_data": { Type: schema.TypeString, Required: true, DiffSuppressFunc: jsonPolicyDiffSuppress, ValidateFunc: validateIamPolicy, }, "etag": { Type: schema.TypeString, Computed: true, }, }
var IamProjectSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
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 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, }, "name": { Type: schema.TypeString, Required: true, ForceNew: true, }, "description": { Type: schema.TypeString, Optional: true, }, "disabled": { Type: schema.TypeBool, Optional: true, }, }
var MLEngineDefaultBasePath = "https://ml.googleapis.com/v1/"
var MonitoringDefaultBasePath = "https://monitoring.googleapis.com/v3/"
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 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 RedisDefaultBasePath = "https://redis.googleapis.com/v1beta1/"
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://www.googleapis.com/sql/v1beta4/"
var SecurityCenterDefaultBasePath = "https://securitycenter.googleapis.com/v1/"
var SecurityScannerDefaultBasePath = "https://websecurityscanner.googleapis.com/v1beta/"
var ServiceManagementCustomEndpointEntry = &schema.Schema{ Type: schema.TypeString, Optional: true, ValidateFunc: validateCustomEndpoint, DefaultFunc: schema.MultiEnvDefaultFunc([]string{ "GOOGLE_SERVICE_MANAGEMENT_CUSTOM_ENDPOINT", }, ServiceManagementDefaultBasePath), }
var ServiceManagementCustomEndpointEntryKey = "service_management_custom_endpoint"
var ServiceManagementDefaultBasePath = "https://servicemanagement.googleapis.com/v1/"
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: compareSelfLinkOrResourceName, }, }
var StorageDefaultBasePath = "https://www.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/v1beta1/"
Functions ¶
func BatchRequestEnableServices ¶
func BatchRequestEnableServices(services map[string]struct{}, 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 BigtableInstanceIdParseFunc ¶
func BigtableInstanceIdParseFunc(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 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 ComputeInstanceIdParseFunc ¶
func ComputeInstanceIdParseFunc(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 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 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 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 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 OrgIdParseFunc ¶
func OrgIdParseFunc(d *schema.ResourceData, _ *Config) error
func ProjectIdParseFunc ¶
func ProjectIdParseFunc(d *schema.ResourceData, _ *Config) error
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
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 ResourceMap ¶
Generated resources: 112 Generated IAM resources: 45 Total generated resources: 157
func RuntimeConfigConfigIdParseFunc ¶
func RuntimeConfigConfigIdParseFunc(d *schema.ResourceData, config *Config) error
func ServiceAccountIdParseFunc ¶
func ServiceAccountIdParseFunc(d *schema.ResourceData, _ *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 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 CommonOperationWaiter }
func (*AccessContextManagerOperationWaiter) QueryOp ¶
func (w *AccessContextManagerOperationWaiter) 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 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 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 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 CloudRunPolling ¶
CloudRunPolling allows for polling against a cloud run resource that implements the Kubernetes style status schema.
func (*CloudRunPolling) ErrorStates ¶
func (p *CloudRunPolling) ErrorStates() []string
func (*CloudRunPolling) PendingStates ¶
func (p *CloudRunPolling) PendingStates() []string
func (*CloudRunPolling) TargetStates ¶
func (p *CloudRunPolling) TargetStates() []string
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 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 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 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 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 { Credentials string AccessToken string Project string Region string Zone string Scopes []string BatchingConfig *batchingConfig UserProjectOverride bool RequestTimeout time.Duration AccessContextManagerBasePath string AppEngineBasePath string BigQueryBasePath string BigqueryDataTransferBasePath string BigtableBasePath string BillingBasePath string BinaryAuthorizationBasePath string CloudBuildBasePath string CloudFunctionsBasePath string CloudRunBasePath string CloudSchedulerBasePath string CloudTasksBasePath string ComputeBasePath string ContainerAnalysisBasePath string DataFusionBasePath string DataprocBasePath string DeploymentManagerBasePath string DNSBasePath string FilestoreBasePath string FirestoreBasePath string HealthcareBasePath string IapBasePath string IdentityPlatformBasePath string KMSBasePath string LoggingBasePath string MLEngineBasePath string MonitoringBasePath string PubsubBasePath string RedisBasePath string ResourceManagerBasePath string RuntimeConfigBasePath string SecurityCenterBasePath string SecurityScannerBasePath 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 IAPBasePath string ServiceManagementBasePath string ServiceUsageBasePath 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.
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 DataFusionOperationWaiter ¶
type DataFusionOperationWaiter struct { Config *Config Project string CommonOperationWaiter }
func (*DataFusionOperationWaiter) QueryOp ¶
func (w *DataFusionOperationWaiter) QueryOp() (interface{}, 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 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 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 Project string CommonOperationWaiter }
func (*FilestoreOperationWaiter) QueryOp ¶
func (w *FilestoreOperationWaiter) QueryOp() (interface{}, error)
type FirestoreOperationWaiter ¶
type FirestoreOperationWaiter struct { Config *Config 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 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 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 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.
func (KnativeStatus) ConditionByType ¶
func (s KnativeStatus) ConditionByType(typ string) *Condition
ConditionByType is a helper method for extracting a given condition
func (KnativeStatus) LatestMessage ¶
func (s KnativeStatus) LatestMessage() string
LatestMessage will return a human consumable status of the resource. This can be used to determine the human actionable error the GET doesn't return an explicit error but the resource is in an error state.
func (KnativeStatus) State ¶
func (s KnativeStatus) State(res interface{}) string
State will return a string representing the status of the Ready condition. No other conditions are currently returned as part of the state.
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 Project string CommonOperationWaiter }
func (*MLEngineOperationWaiter) QueryOp ¶
func (w *MLEngineOperationWaiter) QueryOp() (interface{}, error)
type NodePoolInformation ¶
type NodePoolInformation struct {
// contains filtered or unexported fields
}
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 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 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 is a global batcher object that keeps track of existing batches. In general, a batcher should be created per service that requires batching in order to prevent blocking batching for one service due to another, and to 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 expected to be called per parallel call. It manages waiting on the result of a batch request.
Batch requests are grouped by the given batchKey. batchKey should be unique to the API request being sent, most likely 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) 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{} }
func (*ResourceDiffMock) Clear ¶
func (d *ResourceDiffMock) Clear(key string) error
func (*ResourceDiffMock) Get ¶
func (d *ResourceDiffMock) Get(key string) interface{}
func (*ResourceDiffMock) GetChange ¶
func (d *ResourceDiffMock) GetChange(key string) (interface{}, interface{})
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 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 ComputeInstanceIamUpdaterProducer ¶
func ComputeInstanceIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func ComputeSubnetworkIamUpdaterProducer ¶
func ComputeSubnetworkIamUpdaterProducer(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 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 NewBigtableInstanceUpdater ¶
func NewBigtableInstanceUpdater(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 NewIapTunnelInstanceIamUpdater ¶
func NewIapTunnelInstanceIamUpdater(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 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 PubsubTopicIamUpdaterProducer ¶
func PubsubTopicIamUpdaterProducer(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func RuntimeConfigConfigIamUpdaterProducer ¶
func RuntimeConfigConfigIamUpdaterProducer(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 CommonOperationWaiter }
func (*ResourceManagerOperationWaiter) QueryOp ¶
func (w *ResourceManagerOperationWaiter) QueryOp() (interface{}, error)
type RoleEntity ¶
type RollableNodePoolInformation ¶
type RollableNodePoolInformation struct {
// contains filtered or unexported fields
}
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 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 ServiceNetworkingOperationWaiter ¶
type ServiceNetworkingOperationWaiter struct { Service *servicenetworking.APIService CommonOperationWaiter }
func (*ServiceNetworkingOperationWaiter) QueryOp ¶
func (w *ServiceNetworkingOperationWaiter) QueryOp() (interface{}, error)
type ServiceUsageOperationWaiter ¶
type ServiceUsageOperationWaiter struct { Service *serviceusage.Service 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 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 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 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 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
- appengine_operation.go
- batcher.go
- bigtable_client_factory.go
- cloudfunctions_operation.go
- cloudrun_polling.go
- common_operation.go
- composer_operation.go
- compute_instance_helpers.go
- compute_operation.go
- compute_shared_operation.go
- config.go
- container_operation.go
- convert.go
- data_fusion_operation.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_managed_zone.go
- data_source_google_active_folder.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_image_versions.go
- data_source_google_compute_address.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_network.go
- data_source_google_compute_node_types.go
- data_source_google_compute_region_instance_group.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_folder.go
- data_source_google_folder_organization_policy.go
- data_source_google_iam_policy.go
- data_source_google_iam_role.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_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_service_account.go
- data_source_google_service_account_access_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_storage_object_signed_url.go
- data_source_tpu_tensorflow_versions.go
- dataproc_cluster_operation.go
- dataproc_job_operation.go
- datasource_helpers.go
- deployment_manager_operation.go
- disk_type.go
- dns_change.go
- error_retry_predicates.go
- field_helpers.go
- filestore_operation.go
- firestore_operation.go
- healthcare_utils.go
- iam.go
- iam_batching.go
- iam_bigtable_instance.go
- iam_billing_account.go
- iam_binary_authorization_attestor.go
- iam_cloud_functions_cloud_function.go
- iam_cloud_run_service.go
- iam_compute_instance.go
- iam_compute_subnetwork.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_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_organization.go
- iam_project.go
- iam_pubsub_subscription.go
- iam_pubsub_topic.go
- iam_runtime_config_config.go
- iam_service_account.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
- node_config.go
- provider.go
- provider_handwritten_endpoint.go
- pubsub_utils.go
- redis_operation.go
- regional_utils.go
- resource_access_context_manager_access_level.go
- resource_access_context_manager_access_policy.go
- resource_access_context_manager_service_perimeter.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_standard_app_version.go
- resource_big_query_dataset.go
- resource_bigquery_data_transfer_config.go
- resource_bigquery_table.go
- resource_bigtable_app_profile.go
- resource_bigtable_gc_policy.go
- resource_bigtable_instance.go
- resource_bigtable_table.go
- resource_billing_budget.go
- resource_binary_authorization_attestor.go
- resource_binary_authorization_policy.go
- resource_cloud_build_trigger.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_cloudiot_registry.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_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_template.go
- resource_compute_instance_group.go
- resource_compute_instance_group_manager.go
- resource_compute_instance_group_migrate.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_node_group.go
- resource_compute_node_template.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_health_check.go
- resource_compute_region_instance_group_manager.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_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_cluster.go
- resource_container_cluster_migrate.go
- resource_container_node_pool.go
- resource_container_node_pool_migrate.go
- resource_container_rollable_node_pool.go
- resource_data_fusion_instance.go
- resource_dataflow_job.go
- resource_dataproc_autoscaling_policy.go
- resource_dataproc_cluster.go
- resource_dataproc_job.go
- resource_deployment_manager_deployment.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_index.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_iam_custom_role.go
- resource_google_project_iam_policy.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_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_secret_ciphertext.go
- resource_logging_billing_account_sink.go
- resource_logging_exclusion.go
- resource_logging_folder_sink.go
- resource_logging_metric.go
- resource_logging_organization_sink.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_group.go
- resource_monitoring_notification_channel.go
- resource_monitoring_uptime_check_config.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_security_center_source.go
- resource_security_scanner_scan_config.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_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_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
- rollable_node_config.go
- self_link_helpers.go
- service_account_waiter.go
- service_networking_operation.go
- service_scope.go
- serviceman_operation.go
- serviceusage_batching.go
- serviceusage_operation.go
- spanner_operation.go
- sqladmin_operation.go
- test_utils.go
- tpu_operation.go
- transport.go
- utils.go
- validation.go
- vpc_access_operation.go