Documentation ¶
Overview ¶
Package google - implement CRUD operations for Container Registry Build Triggers https://cloud.google.com/container-builder/docs/api/reference/rest/v1/projects.triggers#BuildTrigger
Index ¶
- Constants
- Variables
- func BetaMetadataUpdate(oldMDMap map[string]interface{}, newMDMap map[string]interface{}, ...)
- func BillingAccountIdParseFunc(d *schema.ResourceData, _ *Config) error
- func ComputeSubnetworkIdParseFunc(d *schema.ResourceData, config *Config) error
- func Convert(item, out interface{}) error
- func ConvertSelfLinkToV1(link string) string
- func CryptoIdParseFunc(d *schema.ResourceData, config *Config) error
- func FolderIdParseFunc(d *schema.ResourceData, _ *Config) error
- 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 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 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) error
- func ResourceIamBinding(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamBindingWithImport(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamMember(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceIamMemberWithImport(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 ResourceIamPolicyWithImport(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ResourceLoggingExclusion(parentSpecificSchema map[string]*schema.Schema, ...) *schema.Resource
- func ServiceAccountIdParseFunc(d *schema.ResourceData, _ *Config) error
- func SignString(toSign []byte, cfg *jwt.Config) ([]byte, error)
- func SpannerDatabaseIdParseFunc(d *schema.ResourceData, config *Config) error
- func SpannerInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
- func StoreResourceName(resourceLink interface{}) string
- type AppEngineOperationError
- type AppEngineOperationWaiter
- type BigtableClientFactory
- 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 CloudFunctionsOperationWaiter
- type ComposerOperationWaiter
- type ComputeOperationError
- type ComputeOperationWaiter
- 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 Config
- type ContainerBetaOperationWaiter
- type ContainerOperationWaiter
- type DataprocClusterOperationWaiter
- type DataprocJobOperationWaiter
- func (w *DataprocJobOperationWaiter) Conf() *resource.StateChangeConf
- func (w *DataprocJobOperationWaiter) ConfForDelete() *resource.StateChangeConf
- func (w *DataprocJobOperationWaiter) RefreshFunc() resource.StateRefreshFunc
- func (w *DataprocJobOperationWaiter) RefreshFuncForDelete() resource.StateRefreshFunc
- type DnsChangeWaiter
- type DnsOperationWaiter
- type FilestoreOperationWaiter
- 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 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 LocationType
- type LoggingExclusionId
- type LoggingSinkId
- 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 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 ResourceDataMock
- type ResourceIamUpdater
- func NewBillingAccountIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewComputeSubnetworkIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
- func NewFolderIamUpdater(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 NewPubsubTopicIamUpdater(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 NewStorageBucketIamUpdater(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 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 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 SpannerDatabaseOperationWaiter
- 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 SpannerInstanceOperationWaiter
- type SqlAdminOperationError
- type SqlAdminOperationWaiter
- 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 TerraformResourceData
- type UrlData
- type ZonalFieldValue
- func ParseAcceleratorFieldValue(accelerator string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
- func ParseDiskFieldValue(disk 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)
Constants ¶
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])?))" 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" )
const 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/" + ProjectRegex + "/serviceAccounts/" PossibleServiceAccountNames = []string{ AppEngineServiceAccountNameRegex, 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$" ProjectNameInDNSFormRegex = "[-a-z0-9\\.]{1,63}" // Format of default App Engine service accounts created by Google AppEngineServiceAccountNameRegex = ProjectRegex + "@appspot.gserviceaccount.com" ProjectNameRegex = "^[A-Za-z0-9-'\"\\s!]{4,30}$" )
var BillingAccountLoggingExclusionSchema = map[string]*schema.Schema{ "billing_account": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var FINGERPRINT_FAIL_ERRORS = []string{"Invalid fingerprint.", "Supplied fingerprint does not match current metadata fingerprint."}
var FolderLoggingExclusionSchema = map[string]*schema.Schema{ "folder": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: optionalPrefixSuppress("folders/"), }, }
var GeneratedBinaryAuthorizationResourcesMap = map[string]*schema.Resource{
"google_binary_authorization_attestor": resourceBinaryAuthorizationAttestor(),
"google_binary_authorization_policy": resourceBinaryAuthorizationPolicy(),
}
var GeneratedComputeResourcesMap = map[string]*schema.Resource{
"google_compute_address": resourceComputeAddress(),
"google_compute_autoscaler": resourceComputeAutoscaler(),
"google_compute_backend_bucket": resourceComputeBackendBucket(),
"google_compute_disk": resourceComputeDisk(),
"google_compute_firewall": resourceComputeFirewall(),
"google_compute_forwarding_rule": resourceComputeForwardingRule(),
"google_compute_global_address": resourceComputeGlobalAddress(),
"google_compute_http_health_check": resourceComputeHttpHealthCheck(),
"google_compute_https_health_check": resourceComputeHttpsHealthCheck(),
"google_compute_health_check": resourceComputeHealthCheck(),
"google_compute_interconnect_attachment": resourceComputeInterconnectAttachment(),
"google_compute_region_autoscaler": resourceComputeRegionAutoscaler(),
"google_compute_region_disk": resourceComputeRegionDisk(),
"google_compute_route": resourceComputeRoute(),
"google_compute_router": resourceComputeRouter(),
"google_compute_snapshot": resourceComputeSnapshot(),
"google_compute_ssl_certificate": resourceComputeSslCertificate(),
"google_compute_ssl_policy": resourceComputeSslPolicy(),
"google_compute_subnetwork": resourceComputeSubnetwork(),
"google_compute_target_http_proxy": resourceComputeTargetHttpProxy(),
"google_compute_target_https_proxy": resourceComputeTargetHttpsProxy(),
"google_compute_target_ssl_proxy": resourceComputeTargetSslProxy(),
"google_compute_target_tcp_proxy": resourceComputeTargetTcpProxy(),
"google_compute_vpn_gateway": resourceComputeVpnGateway(),
"google_compute_vpn_tunnel": resourceComputeVpnTunnel(),
}
var GeneratedContainerAnalysisResourcesMap = map[string]*schema.Resource{
"google_container_analysis_note": resourceContainerAnalysisNote(),
}
var GeneratedFilestoreResourcesMap = map[string]*schema.Resource{
"google_filestore_instance": resourceFilestoreInstance(),
}
var GeneratedMonitoringResourcesMap = map[string]*schema.Resource{
"google_monitoring_alert_policy": resourceMonitoringAlertPolicy(),
"google_monitoring_group": resourceMonitoringGroup(),
"google_monitoring_notification_channel": resourceMonitoringNotificationChannel(),
"google_monitoring_uptime_check_config": resourceMonitoringUptimeCheckConfig(),
}
var GeneratedRedisResourcesMap = map[string]*schema.Resource{
"google_redis_instance": resourceRedisInstance(),
}
var GeneratedResourceManagerResourcesMap = map[string]*schema.Resource{
"google_resource_manager_lien": resourceResourceManagerLien(),
}
var GeneratedStorageResourcesMap = map[string]*schema.Resource{
"google_storage_object_access_control": resourceStorageObjectAccessControl(),
"google_storage_default_object_access_control": resourceStorageDefaultObjectAccessControl(),
}
var IamBillingAccountSchema = map[string]*schema.Schema{ "billing_account_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamComputeSubnetworkSchema = map[string]*schema.Schema{ "subnetwork": { Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider_versions.html for more details.", Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider_versions.html for more details.", Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, "region": { Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider_versions.html for more details.", Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var IamFolderSchema = map[string]*schema.Schema{ "folder": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamKmsCryptoKeySchema = map[string]*schema.Schema{ "crypto_key_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamKmsKeyRingSchema = map[string]*schema.Schema{ "key_ring_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamMemberBaseSchema = map[string]*schema.Schema{ "role": { Type: schema.TypeString, Required: true, ForceNew: true, }, "member": { Type: schema.TypeString, Required: true, ForceNew: true, }, "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, ForceNew: true, }, }
var IamPubsubSubscriptionSchema = map[string]*schema.Schema{ "subscription": &schema.Schema{ Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, "project": &schema.Schema{ Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var IamPubsubTopicSchema = map[string]*schema.Schema{ "topic": &schema.Schema{ Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, }, "project": &schema.Schema{ Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var IamServiceAccountSchema = map[string]*schema.Schema{ "service_account_id": &schema.Schema{ 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 IamStorageBucketSchema = map[string]*schema.Schema{ "bucket": &schema.Schema{ Type: schema.TypeString, Required: true, ForceNew: true, }, }
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 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, }, }
Functions ¶
func BetaMetadataUpdate ¶ added in v1.0.0
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 BillingAccountIdParseFunc ¶ added in v1.20.0
func BillingAccountIdParseFunc(d *schema.ResourceData, _ *Config) error
func ComputeSubnetworkIdParseFunc ¶ added in v1.10.0
func ComputeSubnetworkIdParseFunc(d *schema.ResourceData, config *Config) error
func Convert ¶ added in v0.1.3
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 ¶ added in v0.1.3
func CryptoIdParseFunc ¶ added in v1.5.0
func CryptoIdParseFunc(d *schema.ResourceData, config *Config) error
func FolderIdParseFunc ¶ added in v1.5.0
func FolderIdParseFunc(d *schema.ResourceData, _ *Config) error
func GetRegionalResourcePropertiesFromSelfLinkOrSchema ¶ added in v1.19.0
func GetResourceNameFromSelfLink ¶ added in v1.0.0
func GetZonalResourcePropertiesFromSelfLinkOrSchema ¶ added in v1.19.0
func KeyRingIdParseFunc ¶ added in v1.5.0
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 ¶ added in v1.12.0
func NameFromSelfLinkStateFunc(v interface{}) string
func OrgIdParseFunc ¶ added in v1.5.0
func OrgIdParseFunc(d *schema.ResourceData, _ *Config) error
func ProjectIdParseFunc ¶ added in v1.5.0
func ProjectIdParseFunc(d *schema.ResourceData, _ *Config) error
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
func PubsubSubscriptionIdParseFunc ¶ added in v1.7.0
func PubsubSubscriptionIdParseFunc(d *schema.ResourceData, _ *Config) error
func PubsubTopicIdParseFunc ¶ added in v1.5.0
func PubsubTopicIdParseFunc(d *schema.ResourceData, _ *Config) error
func ResourceIamBinding ¶ added in v1.3.0
func ResourceIamBindingWithImport ¶ added in v1.5.0
func ResourceIamMember ¶ added in v1.3.0
func ResourceIamMemberWithImport ¶ added in v1.5.0
func ResourceIamPolicy ¶ added in v1.3.0
func ResourceIamPolicyCreate ¶ added in v1.3.0
func ResourceIamPolicyCreate(newUpdaterFunc newResourceIamUpdaterFunc) schema.CreateFunc
func ResourceIamPolicyDelete ¶ added in v1.3.0
func ResourceIamPolicyDelete(newUpdaterFunc newResourceIamUpdaterFunc) schema.DeleteFunc
func ResourceIamPolicyRead ¶ added in v1.3.0
func ResourceIamPolicyUpdate ¶ added in v1.3.0
func ResourceIamPolicyUpdate(newUpdaterFunc newResourceIamUpdaterFunc) schema.UpdateFunc
func ResourceIamPolicyWithImport ¶ added in v1.5.0
func ResourceLoggingExclusion ¶ added in v1.14.0
func ServiceAccountIdParseFunc ¶ added in v1.5.0
func ServiceAccountIdParseFunc(d *schema.ResourceData, _ *Config) error
func SignString ¶
SignString calculates the SHA256 signature of the input string
func SpannerDatabaseIdParseFunc ¶ added in v1.12.0
func SpannerDatabaseIdParseFunc(d *schema.ResourceData, config *Config) error
func SpannerInstanceIdParseFunc ¶ added in v1.12.0
func SpannerInstanceIdParseFunc(d *schema.ResourceData, config *Config) error
func StoreResourceName ¶ added in v1.0.0
func StoreResourceName(resourceLink interface{}) string
Types ¶
type AppEngineOperationError ¶ added in v1.14.0
type AppEngineOperationError appengine.Status
AppEngineOperationError wraps appengine.Status and implements the error interface so it can be returned.
func (AppEngineOperationError) Error ¶ added in v1.14.0
func (e AppEngineOperationError) Error() string
type AppEngineOperationWaiter ¶ added in v1.14.0
type AppEngineOperationWaiter struct { Service *appengine.APIService Op *appengine.Operation AppId string }
func (*AppEngineOperationWaiter) Conf ¶ added in v1.14.0
func (w *AppEngineOperationWaiter) Conf() *resource.StateChangeConf
func (*AppEngineOperationWaiter) RefreshFunc ¶ added in v1.14.0
func (w *AppEngineOperationWaiter) RefreshFunc() resource.StateRefreshFunc
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 BillingAccountIamUpdater ¶ added in v1.20.0
type BillingAccountIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*BillingAccountIamUpdater) DescribeResource ¶ added in v1.20.0
func (u *BillingAccountIamUpdater) DescribeResource() string
func (*BillingAccountIamUpdater) GetMutexKey ¶ added in v1.20.0
func (u *BillingAccountIamUpdater) GetMutexKey() string
func (*BillingAccountIamUpdater) GetResourceIamPolicy ¶ added in v1.20.0
func (u *BillingAccountIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*BillingAccountIamUpdater) GetResourceId ¶ added in v1.20.0
func (u *BillingAccountIamUpdater) GetResourceId() string
func (*BillingAccountIamUpdater) SetResourceIamPolicy ¶ added in v1.20.0
func (u *BillingAccountIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type BillingAccountLoggingExclusionUpdater ¶ added in v1.14.0
type BillingAccountLoggingExclusionUpdater struct { Config *Config // contains filtered or unexported fields }
func (*BillingAccountLoggingExclusionUpdater) CreateLoggingExclusion ¶ added in v1.14.0
func (u *BillingAccountLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
func (*BillingAccountLoggingExclusionUpdater) DeleteLoggingExclusion ¶ added in v1.14.0
func (u *BillingAccountLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
func (*BillingAccountLoggingExclusionUpdater) DescribeResource ¶ added in v1.14.0
func (u *BillingAccountLoggingExclusionUpdater) DescribeResource() string
func (*BillingAccountLoggingExclusionUpdater) GetResourceId ¶ added in v1.14.0
func (u *BillingAccountLoggingExclusionUpdater) GetResourceId() string
func (*BillingAccountLoggingExclusionUpdater) GetResourceType ¶ added in v1.14.0
func (u *BillingAccountLoggingExclusionUpdater) GetResourceType() string
func (*BillingAccountLoggingExclusionUpdater) ReadLoggingExclusion ¶ added in v1.14.0
func (u *BillingAccountLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
func (*BillingAccountLoggingExclusionUpdater) UpdateLoggingExclusion ¶ added in v1.14.0
func (u *BillingAccountLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
type CloudFunctionsOperationWaiter ¶ added in v1.5.0
type CloudFunctionsOperationWaiter struct { Service *cloudfunctions.Service Op *cloudfunctions.Operation }
func (*CloudFunctionsOperationWaiter) Conf ¶ added in v1.5.0
func (w *CloudFunctionsOperationWaiter) Conf() *resource.StateChangeConf
func (*CloudFunctionsOperationWaiter) RefreshFunc ¶ added in v1.5.0
func (w *CloudFunctionsOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type ComposerOperationWaiter ¶ added in v1.18.0
type ComposerOperationWaiter struct { Service *composer.ProjectsLocationsService Op *composer.Operation }
func (*ComposerOperationWaiter) Conf ¶ added in v1.18.0
func (w *ComposerOperationWaiter) Conf() *resource.StateChangeConf
func (*ComposerOperationWaiter) RefreshFunc ¶ added in v1.18.0
func (w *ComposerOperationWaiter) RefreshFunc() resource.StateRefreshFunc
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) Conf ¶
func (w *ComputeOperationWaiter) Conf() *resource.StateChangeConf
func (*ComputeOperationWaiter) RefreshFunc ¶
func (w *ComputeOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type ComputeSubnetworkIamUpdater ¶ added in v1.10.0
type ComputeSubnetworkIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ComputeSubnetworkIamUpdater) DescribeResource ¶ added in v1.10.0
func (u *ComputeSubnetworkIamUpdater) DescribeResource() string
func (*ComputeSubnetworkIamUpdater) GetMutexKey ¶ added in v1.10.0
func (u *ComputeSubnetworkIamUpdater) GetMutexKey() string
func (*ComputeSubnetworkIamUpdater) GetResourceIamPolicy ¶ added in v1.10.0
func (u *ComputeSubnetworkIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ComputeSubnetworkIamUpdater) GetResourceId ¶ added in v1.10.0
func (u *ComputeSubnetworkIamUpdater) GetResourceId() string
func (*ComputeSubnetworkIamUpdater) SetResourceIamPolicy ¶ added in v1.10.0
func (u *ComputeSubnetworkIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type Config ¶
type Config struct { Credentials string Project string Region string Zone string // contains filtered or unexported fields }
Config is the configuration structure used to instantiate the Google provider.
type ContainerBetaOperationWaiter ¶ added in v1.9.0
type ContainerBetaOperationWaiter struct { Service *containerBeta.Service Op *containerBeta.Operation Project string Location string }
func (*ContainerBetaOperationWaiter) Conf ¶ added in v1.9.0
func (w *ContainerBetaOperationWaiter) Conf() *resource.StateChangeConf
func (*ContainerBetaOperationWaiter) RefreshFunc ¶ added in v1.9.0
func (w *ContainerBetaOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type ContainerOperationWaiter ¶
type ContainerOperationWaiter struct { Service *container.Service Op *container.Operation Project string Zone string }
func (*ContainerOperationWaiter) Conf ¶
func (w *ContainerOperationWaiter) Conf() *resource.StateChangeConf
func (*ContainerOperationWaiter) RefreshFunc ¶
func (w *ContainerOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type DataprocClusterOperationWaiter ¶ added in v1.3.0
type DataprocClusterOperationWaiter struct { Service *dataproc.Service Op *dataproc.Operation }
func (*DataprocClusterOperationWaiter) Conf ¶ added in v1.3.0
func (w *DataprocClusterOperationWaiter) Conf() *resource.StateChangeConf
func (*DataprocClusterOperationWaiter) RefreshFunc ¶ added in v1.3.0
func (w *DataprocClusterOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type DataprocJobOperationWaiter ¶ added in v1.3.0
type DataprocJobOperationWaiter struct { Service *dataproc.Service Region string ProjectId string JobId string }
func (*DataprocJobOperationWaiter) Conf ¶ added in v1.3.0
func (w *DataprocJobOperationWaiter) Conf() *resource.StateChangeConf
func (*DataprocJobOperationWaiter) ConfForDelete ¶ added in v1.3.0
func (w *DataprocJobOperationWaiter) ConfForDelete() *resource.StateChangeConf
func (*DataprocJobOperationWaiter) RefreshFunc ¶ added in v1.3.0
func (w *DataprocJobOperationWaiter) RefreshFunc() resource.StateRefreshFunc
func (*DataprocJobOperationWaiter) RefreshFuncForDelete ¶ added in v1.3.0
func (w *DataprocJobOperationWaiter) RefreshFuncForDelete() resource.StateRefreshFunc
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 DnsOperationWaiter ¶ added in v1.16.1
type DnsOperationWaiter struct { Service *dns.ManagedZoneOperationsService Op *dns.Operation Project string }
func (*DnsOperationWaiter) Conf ¶ added in v1.16.1
func (w *DnsOperationWaiter) Conf() *resource.StateChangeConf
func (*DnsOperationWaiter) RefreshFunc ¶ added in v1.16.1
func (w *DnsOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type FilestoreOperationWaiter ¶ added in v1.19.0
type FilestoreOperationWaiter struct { Service *file.ProjectsLocationsService Op *file.Operation }
func (*FilestoreOperationWaiter) Conf ¶ added in v1.19.0
func (w *FilestoreOperationWaiter) Conf() *resource.StateChangeConf
func (*FilestoreOperationWaiter) RefreshFunc ¶ added in v1.19.0
func (w *FilestoreOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type FolderIamUpdater ¶ added in v1.3.0
type FolderIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*FolderIamUpdater) DescribeResource ¶ added in v1.3.0
func (u *FolderIamUpdater) DescribeResource() string
func (*FolderIamUpdater) GetMutexKey ¶ added in v1.3.0
func (u *FolderIamUpdater) GetMutexKey() string
func (*FolderIamUpdater) GetResourceIamPolicy ¶ added in v1.3.0
func (u *FolderIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*FolderIamUpdater) GetResourceId ¶ added in v1.3.0
func (u *FolderIamUpdater) GetResourceId() string
func (*FolderIamUpdater) SetResourceIamPolicy ¶ added in v1.3.0
func (u *FolderIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type FolderLoggingExclusionUpdater ¶ added in v1.14.0
type FolderLoggingExclusionUpdater struct { Config *Config // contains filtered or unexported fields }
func (*FolderLoggingExclusionUpdater) CreateLoggingExclusion ¶ added in v1.14.0
func (u *FolderLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
func (*FolderLoggingExclusionUpdater) DeleteLoggingExclusion ¶ added in v1.14.0
func (u *FolderLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
func (*FolderLoggingExclusionUpdater) DescribeResource ¶ added in v1.14.0
func (u *FolderLoggingExclusionUpdater) DescribeResource() string
func (*FolderLoggingExclusionUpdater) GetResourceId ¶ added in v1.14.0
func (u *FolderLoggingExclusionUpdater) GetResourceId() string
func (*FolderLoggingExclusionUpdater) GetResourceType ¶ added in v1.14.0
func (u *FolderLoggingExclusionUpdater) GetResourceType() string
func (*FolderLoggingExclusionUpdater) ReadLoggingExclusion ¶ added in v1.14.0
func (u *FolderLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
func (*FolderLoggingExclusionUpdater) UpdateLoggingExclusion ¶ added in v1.14.0
func (u *FolderLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
type GlobalFieldValue ¶ added in v1.1.1
type GlobalFieldValue struct { Project string Name string // contains filtered or unexported fields }
func ParseHttpHealthCheckFieldValue ¶ added in v1.3.0
func ParseHttpHealthCheckFieldValue(healthCheck string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func ParseInstanceTemplateFieldValue ¶ added in v1.16.1
func ParseInstanceTemplateFieldValue(instanceTemplate string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func ParseNetworkFieldValue ¶ added in v1.0.0
func ParseNetworkFieldValue(network string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func ParseSecurityPolicyFieldValue ¶ added in v1.9.0
func ParseSecurityPolicyFieldValue(securityPolicy string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func ParseSslCertificateFieldValue ¶ added in v1.1.1
func ParseSslCertificateFieldValue(sslCertificate string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func (GlobalFieldValue) RelativeLink ¶ added in v1.1.1
func (f GlobalFieldValue) RelativeLink() string
type KmsCryptoKeyIamUpdater ¶ added in v1.3.0
type KmsCryptoKeyIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*KmsCryptoKeyIamUpdater) DescribeResource ¶ added in v1.3.0
func (u *KmsCryptoKeyIamUpdater) DescribeResource() string
func (*KmsCryptoKeyIamUpdater) GetMutexKey ¶ added in v1.3.0
func (u *KmsCryptoKeyIamUpdater) GetMutexKey() string
func (*KmsCryptoKeyIamUpdater) GetResourceIamPolicy ¶ added in v1.3.0
func (u *KmsCryptoKeyIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*KmsCryptoKeyIamUpdater) GetResourceId ¶ added in v1.3.0
func (u *KmsCryptoKeyIamUpdater) GetResourceId() string
func (*KmsCryptoKeyIamUpdater) SetResourceIamPolicy ¶ added in v1.3.0
func (u *KmsCryptoKeyIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type KmsKeyRingIamUpdater ¶ added in v1.3.0
type KmsKeyRingIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*KmsKeyRingIamUpdater) DescribeResource ¶ added in v1.3.0
func (u *KmsKeyRingIamUpdater) DescribeResource() string
func (*KmsKeyRingIamUpdater) GetMutexKey ¶ added in v1.3.0
func (u *KmsKeyRingIamUpdater) GetMutexKey() string
func (*KmsKeyRingIamUpdater) GetResourceIamPolicy ¶ added in v1.3.0
func (u *KmsKeyRingIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*KmsKeyRingIamUpdater) GetResourceId ¶ added in v1.3.0
func (u *KmsKeyRingIamUpdater) GetResourceId() string
func (*KmsKeyRingIamUpdater) SetResourceIamPolicy ¶ added in v1.3.0
func (u *KmsKeyRingIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type LocationType ¶ added in v1.19.0
type LocationType int
const ( Zonal LocationType = iota Regional Global )
type LoggingExclusionId ¶ added in v1.14.0
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 ¶ added in v1.0.0
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 NodePoolInformation ¶ added in v1.12.0
type NodePoolInformation struct {
// contains filtered or unexported fields
}
type OrganizationFieldValue ¶ added in v1.3.0
type OrganizationFieldValue struct { OrgId string Name string // contains filtered or unexported fields }
func ParseOrganizationCustomRoleName ¶ added in v1.3.0
func ParseOrganizationCustomRoleName(role string) (*OrganizationFieldValue, error)
func (OrganizationFieldValue) RelativeLink ¶ added in v1.3.0
func (f OrganizationFieldValue) RelativeLink() string
type OrganizationIamUpdater ¶ added in v1.3.0
type OrganizationIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*OrganizationIamUpdater) DescribeResource ¶ added in v1.3.0
func (u *OrganizationIamUpdater) DescribeResource() string
func (*OrganizationIamUpdater) GetMutexKey ¶ added in v1.3.0
func (u *OrganizationIamUpdater) GetMutexKey() string
func (*OrganizationIamUpdater) GetResourceIamPolicy ¶ added in v1.3.0
func (u *OrganizationIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*OrganizationIamUpdater) GetResourceId ¶ added in v1.3.0
func (u *OrganizationIamUpdater) GetResourceId() string
func (*OrganizationIamUpdater) SetResourceIamPolicy ¶ added in v1.3.0
func (u *OrganizationIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type OrganizationLoggingExclusionUpdater ¶ added in v1.14.0
type OrganizationLoggingExclusionUpdater struct { Config *Config // contains filtered or unexported fields }
func (*OrganizationLoggingExclusionUpdater) CreateLoggingExclusion ¶ added in v1.14.0
func (u *OrganizationLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
func (*OrganizationLoggingExclusionUpdater) DeleteLoggingExclusion ¶ added in v1.14.0
func (u *OrganizationLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
func (*OrganizationLoggingExclusionUpdater) DescribeResource ¶ added in v1.14.0
func (u *OrganizationLoggingExclusionUpdater) DescribeResource() string
func (*OrganizationLoggingExclusionUpdater) GetResourceId ¶ added in v1.14.0
func (u *OrganizationLoggingExclusionUpdater) GetResourceId() string
func (*OrganizationLoggingExclusionUpdater) GetResourceType ¶ added in v1.14.0
func (u *OrganizationLoggingExclusionUpdater) GetResourceType() string
func (*OrganizationLoggingExclusionUpdater) ReadLoggingExclusion ¶ added in v1.14.0
func (u *OrganizationLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
func (*OrganizationLoggingExclusionUpdater) UpdateLoggingExclusion ¶ added in v1.14.0
func (u *OrganizationLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
type ProjectIamUpdater ¶ added in v1.3.0
type ProjectIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ProjectIamUpdater) DescribeResource ¶ added in v1.3.0
func (u *ProjectIamUpdater) DescribeResource() string
func (*ProjectIamUpdater) GetMutexKey ¶ added in v1.3.0
func (u *ProjectIamUpdater) GetMutexKey() string
func (*ProjectIamUpdater) GetResourceIamPolicy ¶ added in v1.3.0
func (u *ProjectIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ProjectIamUpdater) GetResourceId ¶ added in v1.3.0
func (u *ProjectIamUpdater) GetResourceId() string
func (*ProjectIamUpdater) SetResourceIamPolicy ¶ added in v1.3.0
func (u *ProjectIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ProjectLoggingExclusionUpdater ¶ added in v1.14.0
type ProjectLoggingExclusionUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ProjectLoggingExclusionUpdater) CreateLoggingExclusion ¶ added in v1.14.0
func (u *ProjectLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
func (*ProjectLoggingExclusionUpdater) DeleteLoggingExclusion ¶ added in v1.14.0
func (u *ProjectLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error
func (*ProjectLoggingExclusionUpdater) DescribeResource ¶ added in v1.14.0
func (u *ProjectLoggingExclusionUpdater) DescribeResource() string
func (*ProjectLoggingExclusionUpdater) GetResourceId ¶ added in v1.14.0
func (u *ProjectLoggingExclusionUpdater) GetResourceId() string
func (*ProjectLoggingExclusionUpdater) GetResourceType ¶ added in v1.14.0
func (u *ProjectLoggingExclusionUpdater) GetResourceType() string
func (*ProjectLoggingExclusionUpdater) ReadLoggingExclusion ¶ added in v1.14.0
func (u *ProjectLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
func (*ProjectLoggingExclusionUpdater) UpdateLoggingExclusion ¶ added in v1.14.0
func (u *ProjectLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
type PubsubSubscriptionIamUpdater ¶ added in v1.7.0
type PubsubSubscriptionIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*PubsubSubscriptionIamUpdater) DescribeResource ¶ added in v1.7.0
func (u *PubsubSubscriptionIamUpdater) DescribeResource() string
func (*PubsubSubscriptionIamUpdater) GetMutexKey ¶ added in v1.7.0
func (u *PubsubSubscriptionIamUpdater) GetMutexKey() string
func (*PubsubSubscriptionIamUpdater) GetResourceIamPolicy ¶ added in v1.7.0
func (u *PubsubSubscriptionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*PubsubSubscriptionIamUpdater) GetResourceId ¶ added in v1.7.0
func (u *PubsubSubscriptionIamUpdater) GetResourceId() string
func (*PubsubSubscriptionIamUpdater) SetResourceIamPolicy ¶ added in v1.7.0
func (u *PubsubSubscriptionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type PubsubTopicIamUpdater ¶ added in v1.5.0
type PubsubTopicIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*PubsubTopicIamUpdater) DescribeResource ¶ added in v1.5.0
func (u *PubsubTopicIamUpdater) DescribeResource() string
func (*PubsubTopicIamUpdater) GetMutexKey ¶ added in v1.5.0
func (u *PubsubTopicIamUpdater) GetMutexKey() string
func (*PubsubTopicIamUpdater) GetResourceIamPolicy ¶ added in v1.5.0
func (u *PubsubTopicIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*PubsubTopicIamUpdater) GetResourceId ¶ added in v1.5.0
func (u *PubsubTopicIamUpdater) GetResourceId() string
func (*PubsubTopicIamUpdater) SetResourceIamPolicy ¶ added in v1.5.0
func (u *PubsubTopicIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type RedisOperationWaiter ¶ added in v1.14.0
type RedisOperationWaiter struct { Service *redis.ProjectsLocationsService Op *redis.Operation }
func (*RedisOperationWaiter) Conf ¶ added in v1.14.0
func (w *RedisOperationWaiter) Conf() *resource.StateChangeConf
func (*RedisOperationWaiter) RefreshFunc ¶ added in v1.14.0
func (w *RedisOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type RegionalFieldValue ¶ added in v1.3.0
type RegionalFieldValue struct { Project string Region string Name string // contains filtered or unexported fields }
func ParseRegionDiskFieldValue ¶ added in v1.16.1
func ParseRegionDiskFieldValue(disk string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)
func ParseSubnetworkFieldValue ¶ added in v1.3.0
func ParseSubnetworkFieldValue(subnetwork string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)
func ParseSubnetworkFieldValueWithProjectField ¶ added in v1.3.0
func ParseSubnetworkFieldValueWithProjectField(subnetwork, projectField string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)
func (RegionalFieldValue) RelativeLink ¶ added in v1.3.0
func (f RegionalFieldValue) RelativeLink() string
type ResourceDataMock ¶ added in v1.14.0
type ResourceDataMock struct { FieldsInSchema map[string]interface{} FieldsWithHasChange []string // contains filtered or unexported fields }
func (*ResourceDataMock) GetOk ¶ added in v1.14.0
func (d *ResourceDataMock) GetOk(key string) (interface{}, bool)
func (*ResourceDataMock) HasChange ¶ added in v1.14.0
func (d *ResourceDataMock) HasChange(key string) bool
func (*ResourceDataMock) Id ¶ added in v1.14.0
func (d *ResourceDataMock) Id() string
func (*ResourceDataMock) Set ¶ added in v1.14.0
func (d *ResourceDataMock) Set(key string, value interface{}) error
func (*ResourceDataMock) SetId ¶ added in v1.14.0
func (d *ResourceDataMock) SetId(v string)
type ResourceIamUpdater ¶ added in v1.3.0
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 keep track of the resource identifier.
func NewBillingAccountIamUpdater ¶ added in v1.20.0
func NewBillingAccountIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewComputeSubnetworkIamUpdater ¶ added in v1.10.0
func NewComputeSubnetworkIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewFolderIamUpdater ¶ added in v1.3.0
func NewFolderIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewKmsCryptoKeyIamUpdater ¶ added in v1.3.0
func NewKmsCryptoKeyIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewKmsKeyRingIamUpdater ¶ added in v1.3.0
func NewKmsKeyRingIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewOrganizationIamUpdater ¶ added in v1.3.0
func NewOrganizationIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewProjectIamUpdater ¶ added in v1.3.0
func NewProjectIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewPubsubSubscriptionIamUpdater ¶ added in v1.7.0
func NewPubsubSubscriptionIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewPubsubTopicIamUpdater ¶ added in v1.5.0
func NewPubsubTopicIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewServiceAccountIamUpdater ¶ added in v1.5.0
func NewServiceAccountIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewSpannerDatabaseIamUpdater ¶ added in v1.12.0
func NewSpannerDatabaseIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewSpannerInstanceIamUpdater ¶ added in v1.12.0
func NewSpannerInstanceIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
func NewStorageBucketIamUpdater ¶ added in v1.5.0
func NewStorageBucketIamUpdater(d *schema.ResourceData, config *Config) (ResourceIamUpdater, error)
type ResourceLoggingExclusionUpdater ¶ added in v1.14.0
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 ¶ added in v1.14.0
func NewBillingAccountLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
func NewFolderLoggingExclusionUpdater ¶ added in v1.14.0
func NewFolderLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
func NewOrganizationLoggingExclusionUpdater ¶ added in v1.14.0
func NewOrganizationLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
func NewProjectLoggingExclusionUpdater ¶ added in v1.14.0
func NewProjectLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)
type ResourceManagerOperationWaiter ¶
type ResourceManagerOperationWaiter struct { Service *cloudresourcemanager.Service Op *cloudresourcemanager.Operation }
func (*ResourceManagerOperationWaiter) Conf ¶
func (w *ResourceManagerOperationWaiter) Conf() *resource.StateChangeConf
func (*ResourceManagerOperationWaiter) RefreshFunc ¶
func (w *ResourceManagerOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type RoleEntity ¶
type ServiceAccountIamUpdater ¶ added in v1.5.0
type ServiceAccountIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ServiceAccountIamUpdater) DescribeResource ¶ added in v1.5.0
func (u *ServiceAccountIamUpdater) DescribeResource() string
func (*ServiceAccountIamUpdater) GetMutexKey ¶ added in v1.5.0
func (u *ServiceAccountIamUpdater) GetMutexKey() string
func (*ServiceAccountIamUpdater) GetResourceIamPolicy ¶ added in v1.5.0
func (u *ServiceAccountIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ServiceAccountIamUpdater) GetResourceId ¶ added in v1.5.0
func (u *ServiceAccountIamUpdater) GetResourceId() string
func (*ServiceAccountIamUpdater) SetResourceIamPolicy ¶ added in v1.5.0
func (u *ServiceAccountIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ServiceAccountKeyWaiter ¶ added in v1.3.0
type ServiceAccountKeyWaiter struct { Service *iam.ProjectsServiceAccountsKeysService PublicKeyType string KeyName string }
func (*ServiceAccountKeyWaiter) Conf ¶ added in v1.3.0
func (w *ServiceAccountKeyWaiter) Conf() *resource.StateChangeConf
func (*ServiceAccountKeyWaiter) RefreshFunc ¶ added in v1.3.0
func (w *ServiceAccountKeyWaiter) RefreshFunc() resource.StateRefreshFunc
type ServiceManagementOperationWaiter ¶
type ServiceManagementOperationWaiter struct { Service *servicemanagement.APIService Op *servicemanagement.Operation }
func (*ServiceManagementOperationWaiter) Conf ¶
func (w *ServiceManagementOperationWaiter) Conf() *resource.StateChangeConf
func (*ServiceManagementOperationWaiter) RefreshFunc ¶
func (w *ServiceManagementOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type SpannerDatabaseIamUpdater ¶ added in v1.12.0
type SpannerDatabaseIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*SpannerDatabaseIamUpdater) DescribeResource ¶ added in v1.12.0
func (u *SpannerDatabaseIamUpdater) DescribeResource() string
func (*SpannerDatabaseIamUpdater) GetMutexKey ¶ added in v1.12.0
func (u *SpannerDatabaseIamUpdater) GetMutexKey() string
func (*SpannerDatabaseIamUpdater) GetResourceIamPolicy ¶ added in v1.12.0
func (u *SpannerDatabaseIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*SpannerDatabaseIamUpdater) GetResourceId ¶ added in v1.12.0
func (u *SpannerDatabaseIamUpdater) GetResourceId() string
func (*SpannerDatabaseIamUpdater) SetResourceIamPolicy ¶ added in v1.12.0
func (u *SpannerDatabaseIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type SpannerDatabaseOperationWaiter ¶ added in v0.1.3
type SpannerDatabaseOperationWaiter struct { Service *spanner.Service Op *spanner.Operation }
func (*SpannerDatabaseOperationWaiter) Conf ¶ added in v0.1.3
func (w *SpannerDatabaseOperationWaiter) Conf() *resource.StateChangeConf
func (*SpannerDatabaseOperationWaiter) RefreshFunc ¶ added in v0.1.3
func (w *SpannerDatabaseOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type SpannerInstanceIamUpdater ¶ added in v1.12.0
type SpannerInstanceIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*SpannerInstanceIamUpdater) DescribeResource ¶ added in v1.12.0
func (u *SpannerInstanceIamUpdater) DescribeResource() string
func (*SpannerInstanceIamUpdater) GetMutexKey ¶ added in v1.12.0
func (u *SpannerInstanceIamUpdater) GetMutexKey() string
func (*SpannerInstanceIamUpdater) GetResourceIamPolicy ¶ added in v1.12.0
func (u *SpannerInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*SpannerInstanceIamUpdater) GetResourceId ¶ added in v1.12.0
func (u *SpannerInstanceIamUpdater) GetResourceId() string
func (*SpannerInstanceIamUpdater) SetResourceIamPolicy ¶ added in v1.12.0
func (u *SpannerInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type SpannerInstanceOperationWaiter ¶ added in v0.1.3
type SpannerInstanceOperationWaiter struct { Service *spanner.Service Op *spanner.Operation }
func (*SpannerInstanceOperationWaiter) Conf ¶ added in v0.1.3
func (w *SpannerInstanceOperationWaiter) Conf() *resource.StateChangeConf
func (*SpannerInstanceOperationWaiter) RefreshFunc ¶ added in v0.1.3
func (w *SpannerInstanceOperationWaiter) RefreshFunc() resource.StateRefreshFunc
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) Conf ¶
func (w *SqlAdminOperationWaiter) Conf() *resource.StateChangeConf
func (*SqlAdminOperationWaiter) RefreshFunc ¶
func (w *SqlAdminOperationWaiter) RefreshFunc() resource.StateRefreshFunc
type StorageBucketIamUpdater ¶ added in v1.5.0
type StorageBucketIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*StorageBucketIamUpdater) DescribeResource ¶ added in v1.5.0
func (u *StorageBucketIamUpdater) DescribeResource() string
func (*StorageBucketIamUpdater) GetMutexKey ¶ added in v1.5.0
func (u *StorageBucketIamUpdater) GetMutexKey() string
func (*StorageBucketIamUpdater) GetResourceIamPolicy ¶ added in v1.5.0
func (u *StorageBucketIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*StorageBucketIamUpdater) GetResourceId ¶ added in v1.5.0
func (u *StorageBucketIamUpdater) GetResourceId() string
func (*StorageBucketIamUpdater) SetResourceIamPolicy ¶ added in v1.5.0
func (u *StorageBucketIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type TerraformResourceData ¶ added in v0.1.3
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 ZonalFieldValue ¶ added in v1.1.1
type ZonalFieldValue struct { Project string Zone string Name string // contains filtered or unexported fields }
func ParseAcceleratorFieldValue ¶ added in v1.3.0
func ParseAcceleratorFieldValue(accelerator string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
func ParseDiskFieldValue ¶ added in v1.1.1
func ParseDiskFieldValue(disk string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
func ParseInstanceGroupFieldValue ¶ added in v1.9.0
func ParseInstanceGroupFieldValue(instanceGroup string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
func ParseMachineTypesFieldValue ¶ added in v1.6.0
func ParseMachineTypesFieldValue(machineType string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
func (ZonalFieldValue) RelativeLink ¶ added in v1.1.1
func (f ZonalFieldValue) RelativeLink() string
Source Files ¶
- appengine_operation.go
- bigtable_client_factory.go
- cloudfunctions_operation.go
- composer_operation.go
- compute_instance_helpers.go
- compute_operation.go
- compute_shared_operation.go
- config.go
- container_operation.go
- convert.go
- data_source_compute_lb_ip_ranges.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_billing_account.go
- data_source_google_client_config.go
- data_source_google_cloudfunctions_function.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_region_instance_group.go
- data_source_google_compute_regions.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_iam_policy.go
- data_source_google_iam_role.go
- data_source_google_kms_secret.go
- data_source_google_netblock_ip_ranges.go
- data_source_google_organization.go
- data_source_google_project.go
- data_source_google_project_services.go
- data_source_google_service_account.go
- data_source_google_service_account_key.go
- data_source_google_storage_project_service_account.go
- data_source_storage_object_signed_url.go
- dataproc_cluster_operation.go
- dataproc_job_operation.go
- datasource_helpers.go
- disk_type.go
- dns_change.go
- dns_operation.go
- field_helpers.go
- filestore_operation.go
- iam.go
- iam_billing_account.go
- iam_compute_subnetwork.go
- iam_folder.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_service_account.go
- iam_spanner_database.go
- iam_spanner_instance.go
- iam_storage_bucket.go
- image.go
- import.go
- logging_exclusion_billing_account.go
- logging_exclusion_folder.go
- logging_exclusion_organization.go
- logging_exclusion_project.go
- logging_utils.go
- metadata.go
- node_config.go
- provider.go
- provider_binaryauthorization_gen.go
- provider_compute_gen.go
- provider_containeranalysis_gen.go
- provider_filestore_gen.go
- provider_monitoring_gen.go
- provider_redis_gen.go
- provider_resourcemanager_gen.go
- provider_storage_gen.go
- redis_operation.go
- regional_utils.go
- resource_app_engine_application.go
- resource_bigquery_dataset.go
- resource_bigquery_table.go
- resource_bigtable_instance.go
- resource_bigtable_table.go
- resource_binaryauthorization_attestor.go
- resource_binaryauthorization_policy.go
- resource_cloudbuild_build_trigger.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_service.go
- resource_compute_backend_service_migrate.go
- resource_compute_disk.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_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_network.go
- resource_compute_network_peering.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_instance_group_manager.go
- resource_compute_route.go
- resource_compute_router.go
- resource_compute_router_interface.go
- resource_compute_router_nat.go
- resource_compute_router_peer.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_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_cluster.go
- resource_container_cluster_migrate.go
- resource_container_node_pool.go
- resource_container_node_pool_migrate.go
- resource_containeranalysis_note.go
- resource_dataflow_job.go
- resource_dataproc_cluster.go
- resource_dataproc_job.go
- resource_dns_managed_zone.go
- resource_dns_record_set.go
- resource_endpoints_service.go
- resource_endpoints_service_migration.go
- resource_filestore_instance.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_project_services.go
- resource_google_service_account.go
- resource_google_service_account_key.go
- resource_iam_binding.go
- resource_iam_member.go
- resource_iam_policy.go
- resource_kms_crypto_key.go
- resource_kms_key_ring.go
- resource_logging_billing_account_sink.go
- resource_logging_exclusion.go
- resource_logging_folder_sink.go
- resource_logging_organization_sink.go
- resource_logging_project_sink.go
- resource_logging_sink.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_resourcemanager_lien.go
- resource_runtimeconfig_config.go
- resource_runtimeconfig_variable.go
- resource_source_repos_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_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_usage_export_bucket.go
- resourcemanager_operation.go
- self_link_helpers.go
- service_account_waiter.go
- service_scope.go
- serviceman_operation.go
- serviceusage_operation.go
- spanner_database_operation.go
- spanner_instance_operation.go
- sqladmin_operation.go
- test_utils.go
- transport.go
- utils.go
- validation.go