google

package
v3.59.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2021 License: MPL-2.0 Imports: 95 Imported by: 1

Documentation ¶

Overview ¶

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

Utils for modifying IAM policies for resources across GCP ¶

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     AUTO GENERATED CODE    ***    AUTO GENERATED CODE     ***

----------------------------------------------------------------------------

This file is automatically generated by Magic Modules and manual
changes will be clobbered when the file is regenerated.

Please read more about how to change this file in
.github/CONTRIBUTING.md.

----------------------------------------------------------------------------

----------------------------------------------------------------------------

***     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 ¶

View Source
const (
	IamBatchingEnabled  = true
	IamBatchingDisabled = false
)
View Source
const (
	GCPolicyModeIntersection = "INTERSECTION"
	GCPolicyModeUnion        = "UNION"
)
View Source
const (
	// Copied from the official Google Cloud auto-generated client.
	ProjectRegex         = "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))"
	ProjectRegexWildCard = "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?)|-)"
	RegionRegex          = "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
	SubnetworkRegex      = "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"

	SubnetworkLinkRegex = "projects/(" + ProjectRegex + ")/regions/(" + RegionRegex + ")/subnetworks/(" + SubnetworkRegex + ")$"

	RFC1035NameTemplate = "[a-z](?:[-a-z0-9]{%d,%d}[a-z0-9])"
	CloudIoTIdRegex     = "^[a-zA-Z][-a-zA-Z0-9._+~%]{2,254}$"

	// Format of default Compute service accounts created by Google
	// ${PROJECT_ID}-compute@developer.gserviceaccount.com where PROJECT_ID is an int64 (max 20 digits)
	ComputeServiceAccountNameRegex = "[0-9]{1,20}-compute@developer.gserviceaccount.com"

	// https://cloud.google.com/iam/docs/understanding-custom-roles#naming_the_role
	IAMCustomRoleIDRegex = "^[a-zA-Z0-9_\\.]{3,64}$"

	// https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains/create#query-parameters
	ADDomainNameRegex = "^[a-z][a-z0-9-]{0,14}\\.[a-z0-9-\\.]*[a-z]+[a-z0-9]*$"
)
View Source
const METADATA_FINGERPRINT_RETRIES = 10
View Source
const PubsubTopicRegex = "projects\\/.*\\/topics\\/.*"
View Source
const TestEnvVar = "TF_ACC"

Variables ¶

View Source
var (
	// CreateDirective restricts Apply to creating resources for Create
	CreateDirective = []dcl.ApplyOption{
		dcl.WithLifecycleParam(dcl.BlockAcquire),
		dcl.WithLifecycleParam(dcl.BlockDestruction),
		dcl.WithLifecycleParam(dcl.BlockModification),
	}

	// UpdateDirective restricts Apply to modifying resources for Update
	UpdateDirective = []dcl.ApplyOption{
		dcl.WithLifecycleParam(dcl.BlockCreation),
		dcl.WithLifecycleParam(dcl.BlockDestruction),
	}
)
View Source
var (
	// Service account name must have a length between 6 and 30.
	// The first and last characters have different restrictions, than
	// the middle characters. The middle characters length must be between
	// 4 and 28 since the first and last character are excluded.
	ServiceAccountNameRegex = fmt.Sprintf(RFC1035NameTemplate, 4, 28)

	ServiceAccountLinkRegexPrefix = "projects/" + ProjectRegexWildCard + "/serviceAccounts/"
	PossibleServiceAccountNames   = []string{
		ServiceDefaultAccountNameRegex,
		ComputeServiceAccountNameRegex,
		CreatedServiceAccountNameRegex,
	}
	ServiceAccountLinkRegex = ServiceAccountLinkRegexPrefix + "(" + strings.Join(PossibleServiceAccountNames, "|") + ")"

	ServiceAccountKeyNameRegex = ServiceAccountLinkRegexPrefix + "(.+)/keys/(.+)"

	// Format of service accounts created through the API
	CreatedServiceAccountNameRegex = fmt.Sprintf(RFC1035NameTemplate, 4, 28) + "@" + ProjectNameInDNSFormRegex + "\\.iam\\.gserviceaccount\\.com$"

	// Format of service-created service account
	// examples are:
	// 		$PROJECTID@cloudbuild.gserviceaccount.com
	// 		$PROJECTID@cloudservices.gserviceaccount.com
	// 		$PROJECTID@appspot.gserviceaccount.com
	ServiceDefaultAccountNameRegex = ProjectRegex + "@[a-z]+.gserviceaccount.com$"

	ProjectNameInDNSFormRegex = "[-a-z0-9\\.]{1,63}"
	ProjectNameRegex          = "^[A-Za-z0-9-'\"\\s!]{4,30}$"

	// Valid range for Cloud Router ASN values as per RFC6996
	// https://tools.ietf.org/html/rfc6996
	// Must be explicitly int64 to avoid overflow when building Terraform for 32bit architectures
	Rfc6996Asn16BitMin  = int64(64512)
	Rfc6996Asn16BitMax  = int64(65534)
	Rfc6996Asn32BitMin  = int64(4200000000)
	Rfc6996Asn32BitMax  = int64(4294967294)
	GcpRouterPartnerAsn = int64(16550)
)
View Source
var AccessApprovalDefaultBasePath = "https://accessapproval.googleapis.com/v1/"

Generated product base paths

View Source
var AccessContextManagerDefaultBasePath = "https://accesscontextmanager.googleapis.com/v1/"
View Source
var ActiveDirectoryDefaultBasePath = "https://managedidentities.googleapis.com/v1/"
View Source
var ApiGatewayApiConfigIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"api": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
	"api_config": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var ApiGatewayApiIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"api": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var ApiGatewayDefaultBasePath = "https://apigateway.googleapis.com/v1beta/"
View Source
var ApiGatewayGatewayIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"region": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"gateway": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var ApigeeDefaultBasePath = "https://apigee.googleapis.com/v1/"
View Source
var AppEngineDefaultBasePath = "https://appengine.googleapis.com/v1/"
View Source
var ArtifactRegistryDefaultBasePath = "https://artifactregistry.googleapis.com/v1beta1/"
View Source
var ArtifactRegistryRepositoryIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"location": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"repository": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var BigQueryDefaultBasePath = "https://bigquery.googleapis.com/bigquery/v2/"
View Source
var BigQueryTableIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"dataset_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
	"table_id": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var BigqueryConnectionDefaultBasePath = "https://bigqueryconnection.googleapis.com/v1beta1/"
View Source
var BigqueryDataTransferDefaultBasePath = "https://bigquerydatatransfer.googleapis.com/v1/"
View Source
var BigqueryReservationDefaultBasePath = "https://bigqueryreservation.googleapis.com/v1beta1/"
View Source
var BigtableAdminCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_BIGTABLE_CUSTOM_ENDPOINT",
	}, BigtableAdminDefaultBasePath),
}
View Source
var BigtableAdminCustomEndpointEntryKey = "bigtable_custom_endpoint"
View Source
var BigtableAdminDefaultBasePath = "https://bigtableadmin.googleapis.com/v2/"
View Source
var BigtableDefaultBasePath = "https://bigtableadmin.googleapis.com/v2/"
View Source
var BillingAccountLoggingExclusionSchema = map[string]*schema.Schema{
	"billing_account": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
var BillingDefaultBasePath = "https://billingbudgets.googleapis.com/v1/"
View Source
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,
	},
}
View Source
var BinaryAuthorizationDefaultBasePath = "https://binaryauthorization.googleapis.com/v1/"
View Source
var CloudAssetDefaultBasePath = "https://cloudasset.googleapis.com/v1/"
View Source
var CloudBillingCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_CLOUD_BILLING_CUSTOM_ENDPOINT",
	}, CloudBillingDefaultBasePath),
}
View Source
var CloudBillingCustomEndpointEntryKey = "cloud_billing_custom_endpoint"
View Source
var CloudBillingDefaultBasePath = "https://cloudbilling.googleapis.com/v1/"
View Source
var CloudBuildDefaultBasePath = "https://cloudbuild.googleapis.com/v1/"
View Source
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,
	},
}
View Source
var CloudFunctionsDefaultBasePath = "https://cloudfunctions.googleapis.com/v1/"
View Source
var CloudIdentityDefaultBasePath = "https://cloudidentity.googleapis.com/v1beta1/"
View Source
var CloudIotDefaultBasePath = "https://cloudiot.googleapis.com/v1/"
View Source
var CloudRunDefaultBasePath = "https://{{location}}-run.googleapis.com/"
View Source
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,
	},
}
View Source
var CloudSchedulerDefaultBasePath = "https://cloudscheduler.googleapis.com/v1/"
View Source
var CloudTasksDefaultBasePath = "https://cloudtasks.googleapis.com/v2/"
View Source
var ComposerCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_COMPOSER_CUSTOM_ENDPOINT",
	}, ComposerDefaultBasePath),
}
View Source
var ComposerCustomEndpointEntryKey = "composer_custom_endpoint"
View Source
var ComposerDefaultBasePath = "https://composer.googleapis.com/v1beta1/"
View Source
var ComputeBetaCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_COMPUTE_BETA_CUSTOM_ENDPOINT",
	}, ComputeBetaDefaultBasePath),
}
View Source
var ComputeBetaCustomEndpointEntryKey = "compute_beta_custom_endpoint"
View Source
var ComputeBetaDefaultBasePath = "https://www.googleapis.com/compute/beta/"
View Source
var ComputeDefaultBasePath = "https://compute.googleapis.com/compute/beta/"
View Source
var ComputeDiskIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"zone": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"name": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var ComputeImageIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"image": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
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,
	},
}
View Source
var ComputeMachineImageIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"machine_image": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var ComputeRegionDiskIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"region": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"name": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
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,
	},
}
View Source
var ContainerAnalysisDefaultBasePath = "https://containeranalysis.googleapis.com/v1beta1/"
View Source
var ContainerBetaCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_CONTAINER_BETA_CUSTOM_ENDPOINT",
	}, ContainerBetaDefaultBasePath),
}
View Source
var ContainerBetaCustomEndpointEntryKey = "container_beta_custom_endpoint"
View Source
var ContainerBetaDefaultBasePath = "https://container.googleapis.com/v1beta1/"
View Source
var ContainerCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_CONTAINER_CUSTOM_ENDPOINT",
	}, ContainerDefaultBasePath),
}
View Source
var ContainerCustomEndpointEntryKey = "container_custom_endpoint"
View Source
var ContainerDefaultBasePath = "https://container.googleapis.com/v1/"
View Source
var DNSDefaultBasePath = "https://dns.googleapis.com/dns/v1beta2/"
View Source
var DataCatalogDefaultBasePath = "https://datacatalog.googleapis.com/v1beta1/"
View Source
var DataCatalogEntryGroupIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"region": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"entry_group": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var DataCatalogPolicyTagIamSchema = map[string]*schema.Schema{
	"policy_tag": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var DataCatalogTaxonomyIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"region": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"taxonomy": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var DataFusionDefaultBasePath = "https://datafusion.googleapis.com/v1beta1/"
View Source
var DataLossPreventionDefaultBasePath = "https://dlp.googleapis.com/v2/"
View Source
var DataflowCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_DATAFLOW_CUSTOM_ENDPOINT",
	}, DataflowDefaultBasePath),
}
View Source
var DataflowCustomEndpointEntryKey = "dataflow_custom_endpoint"
View Source
var DataflowDefaultBasePath = "https://dataflow.googleapis.com/v1b3/"
View Source
var DataprocBetaCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_DATAPROC_BETA_CUSTOM_ENDPOINT",
	}, DataprocBetaDefaultBasePath),
}
View Source
var DataprocBetaCustomEndpointEntryKey = "dataproc_beta_custom_endpoint"
View Source
var DataprocBetaDefaultBasePath = "https://dataproc.googleapis.com/v1beta2/"
View Source
var DataprocDefaultBasePath = "https://dataproc.googleapis.com/v1beta2/"
View Source
var DataprocMetastoreDefaultBasePath = "https://metastore.googleapis.com/v1beta/"
View Source
var DatastoreDefaultBasePath = "https://datastore.googleapis.com/v1/"
View Source
var DefaultClientScopes = []string{
	"https://www.googleapis.com/auth/compute",
	"https://www.googleapis.com/auth/cloud-platform",
	"https://www.googleapis.com/auth/cloud-identity",
	"https://www.googleapis.com/auth/ndev.clouddns.readwrite",
	"https://www.googleapis.com/auth/devstorage.full_control",
	"https://www.googleapis.com/auth/userinfo.email",
}
View Source
var DefaultRequestTimeout = 5 * time.Minute
View Source
var DeploymentManagerDefaultBasePath = "https://www.googleapis.com/deploymentmanager/v2/"
View Source
var DialogflowDefaultBasePath = "https://dialogflow.googleapis.com/v2/"
View Source
var DnsBetaCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_DNS_BETA_CUSTOM_ENDPOINT",
	}, DnsBetaDefaultBasePath),
}
View Source
var DnsBetaCustomEndpointEntryKey = "dns_beta_custom_endpoint"
View Source
var DnsBetaDefaultBasePath = "https://www.googleapis.com/dns/v1beta2/"
View Source
var EssentialContactsDefaultBasePath = "https://essentialcontacts.googleapis.com/v1beta1/"
View Source
var EventarcCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_EVENTARC_CUSTOM_ENDPOINT",
	}, EventarcDefaultBasePath),
}
View Source
var EventarcCustomEndpointEntryKey = "eventarc_custom_endpoint"
View Source
var EventarcDefaultBasePath = "https://eventarc.googleapis.com/v1beta1/"
View Source
var FINGERPRINT_FAIL_ERRORS = []string{"Invalid fingerprint.", "Supplied fingerprint does not match current metadata fingerprint."}

We've encountered a few common fingerprint-related strings; if this is one of them, we're confident this is an error due to fingerprints.

View Source
var FilestoreDefaultBasePath = "https://file.googleapis.com/v1beta1/"
View Source
var FirebaseDefaultBasePath = "https://firebase.googleapis.com/v1beta1/"
View Source
var FirestoreDefaultBasePath = "https://firestore.googleapis.com/v1/"
View Source
var FolderLoggingExclusionSchema = map[string]*schema.Schema{
	"folder": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: optionalPrefixSuppress("folders/"),
	},
}
View Source
var GameServicesDefaultBasePath = "https://gameservices.googleapis.com/v1beta/"
View Source
var HealthcareConsentStoreIamSchema = map[string]*schema.Schema{
	"dataset": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
	"consent_store_id": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var HealthcareDefaultBasePath = "https://healthcare.googleapis.com/v1beta1/"
View Source
var IAMBetaDefaultBasePath = "https://iam.googleapis.com/v1beta/"
View Source
var IAMCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_IAM_CUSTOM_ENDPOINT",
	}, IAMDefaultBasePath),
}
View Source
var IAMCustomEndpointEntryKey = "iam_custom_endpoint"
View Source
var IAMDefaultBasePath = "https://iam.googleapis.com/v1/"
View Source
var IamBigqueryDatasetSchema = map[string]*schema.Schema{
	"dataset_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
	"project": {
		Type:     schema.TypeString,
		Optional: true,
		Computed: true,
		ForceNew: true,
	},
}
View Source
var IamBigtableInstanceSchema = map[string]*schema.Schema{
	"instance": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
	"project": {
		Type:     schema.TypeString,
		Optional: true,
		Computed: true,
		ForceNew: true,
	},
}
View Source
var IamBigtableTableSchema = map[string]*schema.Schema{
	"instance": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
	"project": {
		Type:     schema.TypeString,
		Optional: true,
		Computed: true,
		ForceNew: true,
	},
	"table": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
var IamBillingAccountSchema = map[string]*schema.Schema{
	"billing_account_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
var IamCredentialsCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_IAM_CREDENTIALS_CUSTOM_ENDPOINT",
	}, IamCredentialsDefaultBasePath),
}
View Source
var IamCredentialsCustomEndpointEntryKey = "iam_credentials_custom_endpoint"
View Source
var IamCredentialsDefaultBasePath = "https://iamcredentials.googleapis.com/v1/"
View Source
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,
	},
}
View Source
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,
	},
}
View Source
var IamFolderSchema = map[string]*schema.Schema{
	"folder": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
var IamHealthcareDatasetSchema = map[string]*schema.Schema{
	"dataset_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
var IamHealthcareDicomStoreSchema = map[string]*schema.Schema{
	"dicom_store_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
var IamHealthcareFhirStoreSchema = map[string]*schema.Schema{
	"fhir_store_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
var IamHealthcareHl7V2StoreSchema = map[string]*schema.Schema{
	"hl7_v2_store_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
var IamKmsCryptoKeySchema = map[string]*schema.Schema{
	"crypto_key_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
var IamKmsKeyRingSchema = map[string]*schema.Schema{
	"key_ring_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
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,
	},
}
View Source
var IamOrganizationSchema = map[string]*schema.Schema{
	"org_id": {
		Type:        schema.TypeString,
		Required:    true,
		ForceNew:    true,
		Description: `The numeric ID of the organization in which you want to manage the audit logging config.`,
	},
}
View Source
var IamPolicyBaseSchema = map[string]*schema.Schema{
	"policy_data": {
		Type:             schema.TypeString,
		Required:         true,
		DiffSuppressFunc: jsonPolicyDiffSuppress,
		ValidateFunc:     validateIamPolicy,
	},
	"etag": {
		Type:     schema.TypeString,
		Computed: true,
	},
}
View Source
var IamPolicyProjectSchema = map[string]*schema.Schema{
	"project": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareProjectName,
	},
}

In google_project_iam_policy, project is required and not inferred by getProject.

View Source
var IamProjectSchema = map[string]*schema.Schema{
	"project": {
		Type:             schema.TypeString,
		Optional:         true,
		Computed:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareProjectName,
	},
}
View Source
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,
	},
}
View Source
var IamServiceAccountSchema = map[string]*schema.Schema{
	"service_account_id": {
		Type:         schema.TypeString,
		Required:     true,
		ForceNew:     true,
		ValidateFunc: validateRegexp(ServiceAccountLinkRegex),
	},
}
View Source
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,
	},
}
View Source
var IamSpannerInstanceSchema = map[string]*schema.Schema{
	"instance": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},

	"project": {
		Type:     schema.TypeString,
		Optional: true,
		Computed: true,
		ForceNew: true,
	},
}
View Source
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,
	},
}
View Source
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,
	},
}
View Source
var IapDefaultBasePath = "https://iap.googleapis.com/v1/"
View Source
var IapTunnelIamSchema = map[string]*schema.Schema{
	"project": {
		Type:             schema.TypeString,
		Computed:         true,
		Optional:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var IapTunnelInstanceIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"zone": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"instance": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
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,
	},
}
View Source
var IapWebIamSchema = map[string]*schema.Schema{
	"project": {
		Type:             schema.TypeString,
		Computed:         true,
		Optional:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
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,
	},
}
View Source
var IapWebTypeComputeIamSchema = map[string]*schema.Schema{
	"project": {
		Type:             schema.TypeString,
		Computed:         true,
		Optional:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var IdentityPlatformDefaultBasePath = "https://identitytoolkit.googleapis.com/v2/"
View Source
var KMSDefaultBasePath = "https://cloudkms.googleapis.com/v1/"
View Source
var LoggingDefaultBasePath = "https://logging.googleapis.com/v2/"
View Source
var LoggingExclusionBaseSchema = map[string]*schema.Schema{
	"filter": {
		Type:        schema.TypeString,
		Required:    true,
		Description: `The filter to apply when excluding logs. Only log entries that match the filter are excluded.`,
	},
	"name": {
		Type:        schema.TypeString,
		Required:    true,
		ForceNew:    true,
		Description: `The name of the logging exclusion.`,
	},
	"description": {
		Type:        schema.TypeString,
		Optional:    true,
		Description: `A human-readable description.`,
	},
	"disabled": {
		Type:        schema.TypeBool,
		Optional:    true,
		Description: `Whether this exclusion rule should be disabled or not. This defaults to false.`,
	},
}
View Source
var MLEngineDefaultBasePath = "https://ml.googleapis.com/v1/"
View Source
var MemcacheDefaultBasePath = "https://memcache.googleapis.com/v1beta2/"
View Source
var MonitoringDefaultBasePath = "https://monitoring.googleapis.com/"
View Source
var NetworkManagementDefaultBasePath = "https://networkmanagement.googleapis.com/v1/"
View Source
var NotebooksDefaultBasePath = "https://notebooks.googleapis.com/v1beta1/"
View Source
var NotebooksInstanceIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"location": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"instance_name": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var OSConfigDefaultBasePath = "https://osconfig.googleapis.com/v1beta/"
View Source
var OSLoginDefaultBasePath = "https://oslogin.googleapis.com/v1/"
View Source
var OrganizationLoggingExclusionSchema = map[string]*schema.Schema{
	"org_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
}
View Source
var PrivatecaCertificateAuthorityIamSchema = map[string]*schema.Schema{
	"certificate_authority": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var PrivatecaDefaultBasePath = "https://privateca.googleapis.com/v1beta1/"
View Source
var ProjectLoggingExclusionSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Optional: true,
		Computed: true,
		ForceNew: true,
	},
}
View Source
var PubsubDefaultBasePath = "https://pubsub.googleapis.com/v1/"
View Source
var PubsubLiteDefaultBasePath = "https://{{region}}-pubsublite.googleapis.com/v1/admin/"
View Source
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,
	},
}
View Source
var REQUIRED_SCRATCH_DISK_SIZE_GB = 375
View Source
var RedisDefaultBasePath = "https://redis.googleapis.com/v1beta1/"
View Source
var ResourceManagerDefaultBasePath = "https://cloudresourcemanager.googleapis.com/v1/"
View Source
var ResourceManagerV2Beta1CustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_RESOURCE_MANAGER_V2BETA1_CUSTOM_ENDPOINT",
	}, ResourceManagerV2Beta1DefaultBasePath),
}
View Source
var ResourceManagerV2Beta1CustomEndpointEntryKey = "resource_manager_v2beta1_custom_endpoint"
View Source
var ResourceManagerV2Beta1DefaultBasePath = "https://cloudresourcemanager.googleapis.com/v2beta1/"
View Source
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,
	},
}
View Source
var RuntimeConfigCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_RUNTIMECONFIG_CUSTOM_ENDPOINT",
	}, RuntimeConfigDefaultBasePath),
}
View Source
var RuntimeConfigCustomEndpointEntryKey = "runtimeconfig_custom_endpoint"
View Source
var RuntimeConfigDefaultBasePath = "https://runtimeconfig.googleapis.com/v1beta1/"
View Source
var SQLDefaultBasePath = "https://sqladmin.googleapis.com/sql/v1beta4/"
View Source
var SecretManagerDefaultBasePath = "https://secretmanager.googleapis.com/v1/"
View Source
var SecretManagerSecretIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"secret_id": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var SecurityCenterDefaultBasePath = "https://securitycenter.googleapis.com/v1/"
View Source
var SecurityScannerDefaultBasePath = "https://websecurityscanner.googleapis.com/v1beta/"
View Source
var ServiceDirectoryDefaultBasePath = "https://servicedirectory.googleapis.com/v1beta1/"
View Source
var ServiceDirectoryNamespaceIamSchema = map[string]*schema.Schema{
	"name": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var ServiceDirectoryServiceIamSchema = map[string]*schema.Schema{
	"name": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var ServiceManagementDefaultBasePath = "https://servicemanagement.googleapis.com/v1/"
View Source
var ServiceManagementServiceIamSchema = map[string]*schema.Schema{
	"service_name": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var ServiceNetworkingCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_SERVICE_NETWORKING_CUSTOM_ENDPOINT",
	}, ServiceNetworkingDefaultBasePath),
}
View Source
var ServiceNetworkingCustomEndpointEntryKey = "service_networking_custom_endpoint"
View Source
var ServiceNetworkingDefaultBasePath = "https://servicenetworking.googleapis.com/v1/"
View Source
var ServiceUsageCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_SERVICE_USAGE_CUSTOM_ENDPOINT",
	}, ServiceUsageDefaultBasePath),
}
View Source
var ServiceUsageCustomEndpointEntryKey = "service_usage_custom_endpoint"
View Source
var ServiceUsageDefaultBasePath = "https://serviceusage.googleapis.com/v1beta1/"
View Source
var SourceRepoDefaultBasePath = "https://sourcerepo.googleapis.com/v1/"
View Source
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,
	},
}
View Source
var SpannerDefaultBasePath = "https://spanner.googleapis.com/v1/"
View Source
var StorageBucketIamSchema = map[string]*schema.Schema{
	"bucket": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: StorageBucketDiffSuppress,
	},
}
View Source
var StorageDefaultBasePath = "https://storage.googleapis.com/storage/v1/"
View Source
var StorageTransferCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_STORAGE_TRANSFER_CUSTOM_ENDPOINT",
	}, StorageTransferDefaultBasePath),
}
View Source
var StorageTransferCustomEndpointEntryKey = "storage_transfer_custom_endpoint"
View Source
var StorageTransferDefaultBasePath = "https://storagetransfer.googleapis.com/v1/"
View Source
var TPUDefaultBasePath = "https://tpu.googleapis.com/v1/"
View Source
var VPCAccessDefaultBasePath = "https://vpcaccess.googleapis.com/v1/"

Functions ¶

func ApiGatewayApiConfigIdParseFunc ¶

func ApiGatewayApiConfigIdParseFunc(d *schema.ResourceData, config *Config) error

func ApiGatewayApiIdParseFunc ¶

func ApiGatewayApiIdParseFunc(d *schema.ResourceData, config *Config) error

func ApiGatewayGatewayIdParseFunc ¶

func ApiGatewayGatewayIdParseFunc(d *schema.ResourceData, config *Config) error

func ArtifactRegistryRepositoryIdParseFunc ¶

func ArtifactRegistryRepositoryIdParseFunc(d *schema.ResourceData, config *Config) error

func BatchRequestEnableService ¶

func BatchRequestEnableService(service string, project string, d *schema.ResourceData, config *Config) error

BatchRequestEnableServices can be used to batch requests to enable services across resource nodes, i.e. to batch creation of several google_project_service(s) resources.

func BatchRequestModifyIamPolicy ¶

func BatchRequestModifyIamPolicy(updater ResourceIamUpdater, modify iamPolicyModifyFunc, config *Config, reqDesc string) error

func BatchRequestReadServices ¶

func BatchRequestReadServices(project string, d *schema.ResourceData, config *Config) (interface{}, error)

func BetaMetadataUpdate ¶

func BetaMetadataUpdate(oldMDMap map[string]interface{}, newMDMap map[string]interface{}, serverMD *computeBeta.Metadata)

Update the beta metadata (serverMD) according to the provided diff (oldMDMap v newMDMap).

func BigQueryTableIdParseFunc ¶

func BigQueryTableIdParseFunc(d *schema.ResourceData, config *Config) error

func BigqueryDatasetIdParseFunc ¶

func BigqueryDatasetIdParseFunc(d *schema.ResourceData, config *Config) error

func BigtableInstanceIdParseFunc ¶

func BigtableInstanceIdParseFunc(d *schema.ResourceData, config *Config) error

func BigtableTableIdParseFunc ¶

func BigtableTableIdParseFunc(d *schema.ResourceData, config *Config) error

func BillingAccountIdParseFunc ¶

func BillingAccountIdParseFunc(d *schema.ResourceData, _ *Config) error

func BinaryAuthorizationAttestorIdParseFunc ¶

func BinaryAuthorizationAttestorIdParseFunc(d *schema.ResourceData, config *Config) error

func ClientWithAdditionalRetries ¶

func ClientWithAdditionalRetries(baseClient *http.Client, predicates ...RetryErrorPredicateFunc) *http.Client

Helper method to create a shallow copy of an HTTP client with a shallow-copied retryTransport s.t. the base HTTP transport is the same (i.e. client connection pools are shared, retryPredicates are different)

func CloudFunctionsCloudFunctionIdParseFunc ¶

func CloudFunctionsCloudFunctionIdParseFunc(d *schema.ResourceData, config *Config) error

func CloudRunServiceIdParseFunc ¶

func CloudRunServiceIdParseFunc(d *schema.ResourceData, config *Config) error

func CommonRefreshFunc ¶

func CommonRefreshFunc(w Waiter) resource.StateRefreshFunc

func ComputeDiskIdParseFunc ¶

func ComputeDiskIdParseFunc(d *schema.ResourceData, config *Config) error

func ComputeImageIdParseFunc ¶

func ComputeImageIdParseFunc(d *schema.ResourceData, config *Config) error

func ComputeInstanceIdParseFunc ¶

func ComputeInstanceIdParseFunc(d *schema.ResourceData, config *Config) error

func ComputeMachineImageIdParseFunc ¶

func ComputeMachineImageIdParseFunc(d *schema.ResourceData, config *Config) error

func ComputeRegionDiskIdParseFunc ¶

func ComputeRegionDiskIdParseFunc(d *schema.ResourceData, config *Config) error

func ComputeSubnetworkIdParseFunc ¶

func ComputeSubnetworkIdParseFunc(d *schema.ResourceData, config *Config) error

func ConfigureBasePaths ¶

func ConfigureBasePaths(c *Config)

For a consumer of config.go that isn't a full fledged provider and doesn't have its own endpoint mechanism such as sweepers, init {{service}}BasePath values to a default. After using this, you should call config.LoadAndValidate.

func Convert ¶

func Convert(item, out interface{}) error

Convert between two types by converting to/from JSON. Intended to switch between multiple API versions, as they are strict supersets of one another. item and out are pointers to structs

func ConvertSelfLinkToV1 ¶

func ConvertSelfLinkToV1(link string) string

func ConvertToMap ¶

func ConvertToMap(item interface{}) (map[string]interface{}, error)

When converting to a map, we can't use setOmittedFields because FieldByName fails. Luckily, we don't use the omitted fields anymore with generated resources, and this function is used to bridge from handwritten -> generated. Since this is a known type, we can create it inline instead of needing to pass an object in.

func CryptoIdParseFunc ¶

func CryptoIdParseFunc(d *schema.ResourceData, config *Config) error

func DataCatalogEntryGroupIdParseFunc ¶

func DataCatalogEntryGroupIdParseFunc(d *schema.ResourceData, config *Config) error

func DataCatalogPolicyTagIdParseFunc ¶

func DataCatalogPolicyTagIdParseFunc(d *schema.ResourceData, config *Config) error

func DataCatalogTaxonomyIdParseFunc ¶

func DataCatalogTaxonomyIdParseFunc(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 EventarcTriggerDestinationCloudRunServiceSchema ¶ added in v3.59.0

func EventarcTriggerDestinationCloudRunServiceSchema() *schema.Resource

func EventarcTriggerDestinationSchema ¶ added in v3.59.0

func EventarcTriggerDestinationSchema() *schema.Resource

func EventarcTriggerMatchingCriteriaSchema ¶ added in v3.59.0

func EventarcTriggerMatchingCriteriaSchema() *schema.Resource

func EventarcTriggerTransportPubsubSchema ¶ added in v3.59.0

func EventarcTriggerTransportPubsubSchema() *schema.Resource

func EventarcTriggerTransportSchema ¶ added in v3.59.0

func EventarcTriggerTransportSchema() *schema.Resource

func FhirStoreIdParseFunc ¶

func FhirStoreIdParseFunc(d *schema.ResourceData, config *Config) error

func FolderIdParseFunc ¶

func FolderIdParseFunc(d *schema.ResourceData, _ *Config) error

func GetCurrentUserEmail ¶

func GetCurrentUserEmail(config *Config, userAgent string) (string, 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(selfLink string) string

return the region a selfLink is referring to

func GetRegionalResourcePropertiesFromSelfLinkOrSchema ¶

func GetRegionalResourcePropertiesFromSelfLinkOrSchema(d *schema.ResourceData, config *Config) (string, string, string, error)
func GetResourceNameFromSelfLink(link string) string

func GetZonalResourcePropertiesFromSelfLinkOrSchema ¶

func GetZonalResourcePropertiesFromSelfLinkOrSchema(d *schema.ResourceData, config *Config) (string, string, string, error)

func HealthcareConsentStoreIdParseFunc ¶

func HealthcareConsentStoreIdParseFunc(d *schema.ResourceData, config *Config) error

func Hl7V2StoreIdParseFunc ¶

func Hl7V2StoreIdParseFunc(d *schema.ResourceData, config *Config) error

func IapAppEngineServiceIdParseFunc ¶

func IapAppEngineServiceIdParseFunc(d *schema.ResourceData, config *Config) error

func IapAppEngineVersionIdParseFunc ¶

func IapAppEngineVersionIdParseFunc(d *schema.ResourceData, config *Config) error

func IapTunnelIdParseFunc ¶

func IapTunnelIdParseFunc(d *schema.ResourceData, config *Config) error

func IapTunnelInstanceIdParseFunc ¶

func IapTunnelInstanceIdParseFunc(d *schema.ResourceData, config *Config) error

func IapWebBackendServiceIdParseFunc ¶

func IapWebBackendServiceIdParseFunc(d *schema.ResourceData, config *Config) error

func IapWebIdParseFunc ¶

func IapWebIdParseFunc(d *schema.ResourceData, config *Config) error

func IapWebTypeAppEngineDiffSuppress ¶

func IapWebTypeAppEngineDiffSuppress(_, old, new string, _ *schema.ResourceData) bool

func IapWebTypeAppEngineIdParseFunc ¶

func IapWebTypeAppEngineIdParseFunc(d *schema.ResourceData, config *Config) error

func IapWebTypeComputeIdParseFunc ¶

func IapWebTypeComputeIdParseFunc(d *schema.ResourceData, config *Config) error

func KeyRingIdParseFunc ¶

func KeyRingIdParseFunc(d *schema.ResourceData, config *Config) error

func MetadataRetryWrapper ¶

func MetadataRetryWrapper(update func() error) error

Since the google compute API uses optimistic locking, there is a chance we need to resubmit our updated metadata. To do this, you need to provide an update function that attempts to submit your metadata

func MetadataUpdate ¶

func MetadataUpdate(oldMDMap map[string]interface{}, newMDMap map[string]interface{}, serverMD *compute.Metadata)

Update the metadata (serverMD) according to the provided diff (oldMDMap v newMDMap).

func NameFromSelfLinkStateFunc ¶

func NameFromSelfLinkStateFunc(v interface{}) string

func NewTransportWithDefaultRetries ¶

func NewTransportWithDefaultRetries(t http.RoundTripper) *retryTransport

NewTransportWithDefaultRetries constructs a default retryTransport that will retry common temporary errors

func NotebooksInstanceIdParseFunc ¶

func NotebooksInstanceIdParseFunc(d *schema.ResourceData, config *Config) error

func Nprintf ¶

func Nprintf(format string, params map[string]interface{}) string

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 OperationDone(w Waiter) bool

func OperationWait ¶

func OperationWait(w Waiter, activity string, timeout time.Duration, pollInterval time.Duration) error

func OrgIdParseFunc ¶

func OrgIdParseFunc(d *schema.ResourceData, _ *Config) error

func PollingWaitTime ¶

func PollingWaitTime(pollF PollReadFunc, checkResponse PollCheckResponseFunc, activity string,
	timeout time.Duration, targetOccurrences int) error

func PrivatecaCertificateAuthorityIdParseFunc ¶ added in v3.54.0

func PrivatecaCertificateAuthorityIdParseFunc(d *schema.ResourceData, config *Config) error

func ProjectIdParseFunc ¶

func ProjectIdParseFunc(d *schema.ResourceData, _ *Config) error

func Provider ¶

func Provider() *schema.Provider

Provider returns a *schema.Provider.

func PubsubSubscriptionIdParseFunc ¶

func PubsubSubscriptionIdParseFunc(d *schema.ResourceData, _ *Config) error

func PubsubTopicIdParseFunc ¶

func PubsubTopicIdParseFunc(d *schema.ResourceData, config *Config) error

func ResourceIamAuditConfig ¶

func ResourceIamAuditConfig(parentSpecificSchema map[string]*schema.Schema, newUpdaterFunc newResourceIamUpdaterFunc, resourceIdParser resourceIdParserFunc) *schema.Resource

func ResourceIamAuditConfigWithBatching ¶

func ResourceIamAuditConfigWithBatching(parentSpecificSchema map[string]*schema.Schema, newUpdaterFunc newResourceIamUpdaterFunc, resourceIdParser resourceIdParserFunc, enableBatching bool) *schema.Resource

func ResourceIamBinding ¶

func ResourceIamBinding(parentSpecificSchema map[string]*schema.Schema, newUpdaterFunc newResourceIamUpdaterFunc, resourceIdParser resourceIdParserFunc) *schema.Resource

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 ResourceIamMember(parentSpecificSchema map[string]*schema.Schema, newUpdaterFunc newResourceIamUpdaterFunc, resourceIdParser resourceIdParserFunc) *schema.Resource

func ResourceIamMemberWithBatching ¶

func ResourceIamMemberWithBatching(parentSpecificSchema map[string]*schema.Schema, newUpdaterFunc newResourceIamUpdaterFunc, resourceIdParser resourceIdParserFunc, enableBatching bool) *schema.Resource

func ResourceIamPolicy ¶

func ResourceIamPolicy(parentSpecificSchema map[string]*schema.Schema, newUpdaterFunc newResourceIamUpdaterFunc, resourceIdParser resourceIdParserFunc) *schema.Resource

func ResourceIamPolicyCreate ¶

func ResourceIamPolicyCreate(newUpdaterFunc newResourceIamUpdaterFunc) schema.CreateFunc

func ResourceIamPolicyDelete ¶

func ResourceIamPolicyDelete(newUpdaterFunc newResourceIamUpdaterFunc) schema.DeleteFunc

func ResourceIamPolicyRead ¶

func ResourceIamPolicyRead(newUpdaterFunc newResourceIamUpdaterFunc) schema.ReadFunc

func ResourceIamPolicyUpdate ¶

func ResourceIamPolicyUpdate(newUpdaterFunc newResourceIamUpdaterFunc) schema.UpdateFunc

func ResourceLoggingBillingAccountBucketConfig ¶

func ResourceLoggingBillingAccountBucketConfig() *schema.Resource

Create Logging Bucket config

func ResourceLoggingBucketConfig ¶

func ResourceLoggingBucketConfig(parentType string, parentSpecificSchema map[string]*schema.Schema, iDFunc loggingBucketConfigIDFunc) *schema.Resource

ResourceLoggingBucketConfig creates a resource definition by merging a unique field (eg: folder) to a generic logging bucket config resource. In practice the only difference between these resources is the url location.

func ResourceLoggingExclusion ¶

func ResourceLoggingExclusion(parentSpecificSchema map[string]*schema.Schema, newUpdaterFunc newResourceLoggingExclusionUpdaterFunc, resourceIdParser resourceIdParserFunc) *schema.Resource

func ResourceLoggingFolderBucketConfig ¶

func ResourceLoggingFolderBucketConfig() *schema.Resource

Create Logging Bucket config

func ResourceLoggingOrganizationBucketConfig ¶

func ResourceLoggingOrganizationBucketConfig() *schema.Resource

Create Logging Bucket config

func ResourceLoggingProjectBucketConfig ¶

func ResourceLoggingProjectBucketConfig() *schema.Resource

Create Logging Bucket config

func ResourceMap ¶

func ResourceMap() map[string]*schema.Resource

Generated resources: 210 Generated IAM resources: 108 Total generated resources: 318

func ResourceMapWithErrors ¶

func ResourceMapWithErrors() (map[string]*schema.Resource, error)

func RetryWithTargetOccurrences ¶

func RetryWithTargetOccurrences(timeout time.Duration, targetOccurrences int,
	f resource.RetryFunc) error

RetryWithTargetOccurrences is a basic wrapper around StateChangeConf that will retry a function until it returns the specified amount of target occurrences continuously. Adapted from the Retry function in the go SDK.

func RuntimeConfigConfigIdParseFunc ¶

func RuntimeConfigConfigIdParseFunc(d *schema.ResourceData, config *Config) error

func SecretManagerSecretIdParseFunc ¶

func SecretManagerSecretIdParseFunc(d *schema.ResourceData, config *Config) error

func ServiceAccountIdParseFunc ¶

func ServiceAccountIdParseFunc(d *schema.ResourceData, _ *Config) error

func ServiceDirectoryNamespaceIdParseFunc ¶

func ServiceDirectoryNamespaceIdParseFunc(d *schema.ResourceData, config *Config) error

func ServiceDirectoryServiceIdParseFunc ¶

func ServiceDirectoryServiceIdParseFunc(d *schema.ResourceData, config *Config) error

func ServiceManagementServiceIdParseFunc ¶

func ServiceManagementServiceIdParseFunc(d *schema.ResourceData, config *Config) error

func SignString ¶

func SignString(toSign []byte, cfg *jwt.Config) ([]byte, error)

SignString calculates the SHA256 signature of the input string

func SnakeToPascalCase ¶ added in v3.55.0

func SnakeToPascalCase(s string) string

func SourceRepoRepositoryDiffSuppress ¶

func SourceRepoRepositoryDiffSuppress(_, old, new string, _ *schema.ResourceData) bool

func SourceRepoRepositoryIdParseFunc ¶

func SourceRepoRepositoryIdParseFunc(d *schema.ResourceData, config *Config) error

func SpannerDatabaseIdParseFunc ¶

func SpannerDatabaseIdParseFunc(d *schema.ResourceData, config *Config) error

func SpannerInstanceIdParseFunc ¶

func SpannerInstanceIdParseFunc(d *schema.ResourceData, config *Config) error

func StorageBucketDiffSuppress ¶

func StorageBucketDiffSuppress(_, old, new string, _ *schema.ResourceData) bool

func StorageBucketIdParseFunc ¶

func StorageBucketIdParseFunc(d *schema.ResourceData, config *Config) error

func StoreResourceName ¶

func StoreResourceName(resourceLink interface{}) string

func StringNotInSlice ¶

func StringNotInSlice(invalid []string, ignoreCase bool) schema.SchemaValidateFunc

StringNotInSlice returns a SchemaValidateFunc which tests if the provided value is of type string and that it matches none of the element in the invalid slice. if ignorecase is true, case is ignored.

Types ¶

type AccessContextManagerOperationWaiter ¶

type AccessContextManagerOperationWaiter struct {
	Config    *Config
	UserAgent string
	CommonOperationWaiter
}

func (*AccessContextManagerOperationWaiter) QueryOp ¶

func (w *AccessContextManagerOperationWaiter) QueryOp() (interface{}, error)

type ActiveDirectoryOperationWaiter ¶

type ActiveDirectoryOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*ActiveDirectoryOperationWaiter) QueryOp ¶

func (w *ActiveDirectoryOperationWaiter) QueryOp() (interface{}, error)

type ApiGatewayApiConfigIamUpdater ¶

type ApiGatewayApiConfigIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ApiGatewayApiConfigIamUpdater) DescribeResource ¶

func (u *ApiGatewayApiConfigIamUpdater) DescribeResource() string

func (*ApiGatewayApiConfigIamUpdater) GetMutexKey ¶

func (u *ApiGatewayApiConfigIamUpdater) GetMutexKey() string

func (*ApiGatewayApiConfigIamUpdater) GetResourceIamPolicy ¶

func (u *ApiGatewayApiConfigIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ApiGatewayApiConfigIamUpdater) GetResourceId ¶

func (u *ApiGatewayApiConfigIamUpdater) GetResourceId() string

func (*ApiGatewayApiConfigIamUpdater) SetResourceIamPolicy ¶

func (u *ApiGatewayApiConfigIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ApiGatewayApiIamUpdater ¶

type ApiGatewayApiIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ApiGatewayApiIamUpdater) DescribeResource ¶

func (u *ApiGatewayApiIamUpdater) DescribeResource() string

func (*ApiGatewayApiIamUpdater) GetMutexKey ¶

func (u *ApiGatewayApiIamUpdater) GetMutexKey() string

func (*ApiGatewayApiIamUpdater) GetResourceIamPolicy ¶

func (u *ApiGatewayApiIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ApiGatewayApiIamUpdater) GetResourceId ¶

func (u *ApiGatewayApiIamUpdater) GetResourceId() string

func (*ApiGatewayApiIamUpdater) SetResourceIamPolicy ¶

func (u *ApiGatewayApiIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ApiGatewayGatewayIamUpdater ¶

type ApiGatewayGatewayIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ApiGatewayGatewayIamUpdater) DescribeResource ¶

func (u *ApiGatewayGatewayIamUpdater) DescribeResource() string

func (*ApiGatewayGatewayIamUpdater) GetMutexKey ¶

func (u *ApiGatewayGatewayIamUpdater) GetMutexKey() string

func (*ApiGatewayGatewayIamUpdater) GetResourceIamPolicy ¶

func (u *ApiGatewayGatewayIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ApiGatewayGatewayIamUpdater) GetResourceId ¶

func (u *ApiGatewayGatewayIamUpdater) GetResourceId() string

func (*ApiGatewayGatewayIamUpdater) SetResourceIamPolicy ¶

func (u *ApiGatewayGatewayIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ApiGatewayOperationWaiter ¶

type ApiGatewayOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*ApiGatewayOperationWaiter) QueryOp ¶

func (w *ApiGatewayOperationWaiter) QueryOp() (interface{}, error)

type ApigeeOperationWaiter ¶ added in v3.53.0

type ApigeeOperationWaiter struct {
	Config    *Config
	UserAgent string
	CommonOperationWaiter
}

func (*ApigeeOperationWaiter) QueryOp ¶ added in v3.53.0

func (w *ApigeeOperationWaiter) QueryOp() (interface{}, error)

type AppEngineOperationWaiter ¶

type AppEngineOperationWaiter struct {
	Service *appengine.APIService
	AppId   string
	CommonOperationWaiter
}

func (*AppEngineOperationWaiter) QueryOp ¶

func (w *AppEngineOperationWaiter) QueryOp() (interface{}, error)

type ArtifactRegistryOperationWaiter ¶

type ArtifactRegistryOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*ArtifactRegistryOperationWaiter) QueryOp ¶

func (w *ArtifactRegistryOperationWaiter) QueryOp() (interface{}, error)

type ArtifactRegistryRepositoryIamUpdater ¶

type ArtifactRegistryRepositoryIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ArtifactRegistryRepositoryIamUpdater) DescribeResource ¶

func (u *ArtifactRegistryRepositoryIamUpdater) DescribeResource() string

func (*ArtifactRegistryRepositoryIamUpdater) GetMutexKey ¶

func (*ArtifactRegistryRepositoryIamUpdater) GetResourceIamPolicy ¶

func (u *ArtifactRegistryRepositoryIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ArtifactRegistryRepositoryIamUpdater) GetResourceId ¶

func (u *ArtifactRegistryRepositoryIamUpdater) GetResourceId() string

func (*ArtifactRegistryRepositoryIamUpdater) SetResourceIamPolicy ¶

func (u *ArtifactRegistryRepositoryIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type BatchRequest ¶

type BatchRequest struct {
	// ResourceName represents the underlying resource for which
	// a request is made. Its format is determined by what SendF expects, but
	// typically should be the name of the parent GCP resource being changed.
	ResourceName string

	// Body is this request's data to be passed to SendF, and may be combined
	// with other bodies using CombineF.
	Body interface{}

	// CombineF function determines how to combine bodies from two batches.
	CombineF BatcherCombineFunc

	// SendF function determines how to actually send a batched request to a
	// third party service. The arguments given to this function are
	// (ResourceName, Body) where Body may have been combined with other request
	// Bodies.
	SendF BatcherSendFunc

	// ID for debugging request. This should be specific to a single request
	// (i.e. per Terraform resource)
	DebugId string
}

BatchRequest represents a single request to a global batcher.

type BatcherCombineFunc ¶

type BatcherCombineFunc func(body interface{}, toAdd interface{}) (interface{}, error)

BatcherCombineFunc is a function type for combine existing batches and additional batch data

type BatcherSendFunc ¶

type BatcherSendFunc func(resourceName string, body interface{}) (interface{}, error)

BatcherSendFunc is a function type for sending a batch request

type BigQueryTableIamUpdater ¶

type BigQueryTableIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*BigQueryTableIamUpdater) DescribeResource ¶

func (u *BigQueryTableIamUpdater) DescribeResource() string

func (*BigQueryTableIamUpdater) GetMutexKey ¶

func (u *BigQueryTableIamUpdater) GetMutexKey() string

func (*BigQueryTableIamUpdater) GetResourceIamPolicy ¶

func (u *BigQueryTableIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*BigQueryTableIamUpdater) GetResourceId ¶

func (u *BigQueryTableIamUpdater) GetResourceId() string

func (*BigQueryTableIamUpdater) SetResourceIamPolicy ¶

func (u *BigQueryTableIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type BigqueryDatasetIamUpdater ¶

type BigqueryDatasetIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*BigqueryDatasetIamUpdater) DescribeResource ¶

func (u *BigqueryDatasetIamUpdater) DescribeResource() string

func (*BigqueryDatasetIamUpdater) GetMutexKey ¶

func (u *BigqueryDatasetIamUpdater) GetMutexKey() string

Matches the mutex of google_big_query_dataset_access

func (*BigqueryDatasetIamUpdater) GetResourceIamPolicy ¶

func (u *BigqueryDatasetIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*BigqueryDatasetIamUpdater) GetResourceId ¶

func (u *BigqueryDatasetIamUpdater) GetResourceId() string

func (*BigqueryDatasetIamUpdater) SetResourceIamPolicy ¶

func (u *BigqueryDatasetIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type BigtableClientFactory ¶

type BigtableClientFactory struct {
	UserAgent   string
	TokenSource oauth2.TokenSource
}

func (BigtableClientFactory) NewAdminClient ¶

func (s BigtableClientFactory) NewAdminClient(project, instance string) (*bigtable.AdminClient, error)

func (BigtableClientFactory) NewInstanceAdminClient ¶

func (s BigtableClientFactory) NewInstanceAdminClient(project string) (*bigtable.InstanceAdminClient, error)

type BigtableInstanceIamUpdater ¶

type BigtableInstanceIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*BigtableInstanceIamUpdater) DescribeResource ¶

func (u *BigtableInstanceIamUpdater) DescribeResource() string

func (*BigtableInstanceIamUpdater) GetMutexKey ¶

func (u *BigtableInstanceIamUpdater) GetMutexKey() string

func (*BigtableInstanceIamUpdater) GetResourceIamPolicy ¶

func (u *BigtableInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*BigtableInstanceIamUpdater) GetResourceId ¶

func (u *BigtableInstanceIamUpdater) GetResourceId() string

func (*BigtableInstanceIamUpdater) SetResourceIamPolicy ¶

func (u *BigtableInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type BigtableTableIamUpdater ¶

type BigtableTableIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*BigtableTableIamUpdater) DescribeResource ¶

func (u *BigtableTableIamUpdater) DescribeResource() string

func (*BigtableTableIamUpdater) GetMutexKey ¶

func (u *BigtableTableIamUpdater) GetMutexKey() string

func (*BigtableTableIamUpdater) GetResourceIamPolicy ¶

func (u *BigtableTableIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*BigtableTableIamUpdater) GetResourceId ¶

func (u *BigtableTableIamUpdater) GetResourceId() string

func (*BigtableTableIamUpdater) SetResourceIamPolicy ¶

func (u *BigtableTableIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type BillingAccountIamUpdater ¶

type BillingAccountIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*BillingAccountIamUpdater) DescribeResource ¶

func (u *BillingAccountIamUpdater) DescribeResource() string

func (*BillingAccountIamUpdater) GetMutexKey ¶

func (u *BillingAccountIamUpdater) GetMutexKey() string

func (*BillingAccountIamUpdater) GetResourceIamPolicy ¶

func (u *BillingAccountIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*BillingAccountIamUpdater) GetResourceId ¶

func (u *BillingAccountIamUpdater) GetResourceId() string

func (*BillingAccountIamUpdater) SetResourceIamPolicy ¶

func (u *BillingAccountIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type BillingAccountLoggingExclusionUpdater ¶

type BillingAccountLoggingExclusionUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*BillingAccountLoggingExclusionUpdater) CreateLoggingExclusion ¶

func (u *BillingAccountLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error

func (*BillingAccountLoggingExclusionUpdater) DeleteLoggingExclusion ¶

func (u *BillingAccountLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error

func (*BillingAccountLoggingExclusionUpdater) DescribeResource ¶

func (u *BillingAccountLoggingExclusionUpdater) DescribeResource() string

func (*BillingAccountLoggingExclusionUpdater) GetResourceId ¶

func (u *BillingAccountLoggingExclusionUpdater) GetResourceId() string

func (*BillingAccountLoggingExclusionUpdater) GetResourceType ¶

func (u *BillingAccountLoggingExclusionUpdater) GetResourceType() string

func (*BillingAccountLoggingExclusionUpdater) ReadLoggingExclusion ¶

func (u *BillingAccountLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)

func (*BillingAccountLoggingExclusionUpdater) UpdateLoggingExclusion ¶

func (u *BillingAccountLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error

type BinaryAuthorizationAttestorIamUpdater ¶

type BinaryAuthorizationAttestorIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*BinaryAuthorizationAttestorIamUpdater) DescribeResource ¶

func (u *BinaryAuthorizationAttestorIamUpdater) DescribeResource() string

func (*BinaryAuthorizationAttestorIamUpdater) GetMutexKey ¶

func (*BinaryAuthorizationAttestorIamUpdater) GetResourceIamPolicy ¶

func (u *BinaryAuthorizationAttestorIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*BinaryAuthorizationAttestorIamUpdater) GetResourceId ¶

func (u *BinaryAuthorizationAttestorIamUpdater) GetResourceId() string

func (*BinaryAuthorizationAttestorIamUpdater) SetResourceIamPolicy ¶

func (u *BinaryAuthorizationAttestorIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ByCreationTimestamp ¶ added in v3.53.0

type ByCreationTimestamp []*computeBeta.InstanceTemplate

ByCreationTimestamp implements sort.Interface for []*InstanceTemplate based on the CreationTimestamp field.

func (ByCreationTimestamp) Len ¶ added in v3.53.0

func (a ByCreationTimestamp) Len() int

func (ByCreationTimestamp) Less ¶ added in v3.53.0

func (a ByCreationTimestamp) Less(i, j int) bool

func (ByCreationTimestamp) Swap ¶ added in v3.53.0

func (a ByCreationTimestamp) Swap(i, j int)

type CloudFunctionsCloudFunctionIamUpdater ¶

type CloudFunctionsCloudFunctionIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*CloudFunctionsCloudFunctionIamUpdater) DescribeResource ¶

func (u *CloudFunctionsCloudFunctionIamUpdater) DescribeResource() string

func (*CloudFunctionsCloudFunctionIamUpdater) GetMutexKey ¶

func (*CloudFunctionsCloudFunctionIamUpdater) GetResourceIamPolicy ¶

func (u *CloudFunctionsCloudFunctionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*CloudFunctionsCloudFunctionIamUpdater) GetResourceId ¶

func (u *CloudFunctionsCloudFunctionIamUpdater) GetResourceId() string

func (*CloudFunctionsCloudFunctionIamUpdater) SetResourceIamPolicy ¶

func (u *CloudFunctionsCloudFunctionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type CloudFunctionsOperationWaiter ¶

type CloudFunctionsOperationWaiter struct {
	Service *cloudfunctions.Service
	CommonOperationWaiter
}

func (*CloudFunctionsOperationWaiter) QueryOp ¶

func (w *CloudFunctionsOperationWaiter) QueryOp() (interface{}, error)

type CloudRunServiceIamUpdater ¶

type CloudRunServiceIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*CloudRunServiceIamUpdater) DescribeResource ¶

func (u *CloudRunServiceIamUpdater) DescribeResource() string

func (*CloudRunServiceIamUpdater) GetMutexKey ¶

func (u *CloudRunServiceIamUpdater) GetMutexKey() string

func (*CloudRunServiceIamUpdater) GetResourceIamPolicy ¶

func (u *CloudRunServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*CloudRunServiceIamUpdater) GetResourceId ¶

func (u *CloudRunServiceIamUpdater) GetResourceId() string

func (*CloudRunServiceIamUpdater) SetResourceIamPolicy ¶

func (u *CloudRunServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type CommonOpError ¶

type CommonOpError struct {
	*cloudresourcemanager.Status
}

Wraps Op.Error in an implementation of built-in Error

func (*CommonOpError) Error ¶

func (e *CommonOpError) Error() string

type CommonOperation ¶

type CommonOperation cloudresourcemanager.Operation

The cloud resource manager API operation is an example of one of many interchangeable API operations. Choose it somewhat arbitrarily to represent the "common" operation.

type CommonOperationWaiter ¶

type CommonOperationWaiter struct {
	Op CommonOperation
}

func (*CommonOperationWaiter) Error ¶

func (w *CommonOperationWaiter) Error() error

func (*CommonOperationWaiter) IsRetryable ¶

func (w *CommonOperationWaiter) IsRetryable(error) bool

func (*CommonOperationWaiter) OpName ¶

func (w *CommonOperationWaiter) OpName() string

func (*CommonOperationWaiter) PendingStates ¶

func (w *CommonOperationWaiter) PendingStates() []string

func (*CommonOperationWaiter) SetOp ¶

func (w *CommonOperationWaiter) SetOp(op interface{}) error

func (*CommonOperationWaiter) State ¶

func (w *CommonOperationWaiter) State() string

func (*CommonOperationWaiter) TargetStates ¶

func (w *CommonOperationWaiter) TargetStates() []string

type ComposerOperationWaiter ¶

type ComposerOperationWaiter struct {
	Service *composer.ProjectsLocationsService
	CommonOperationWaiter
}

func (*ComposerOperationWaiter) QueryOp ¶

func (w *ComposerOperationWaiter) QueryOp() (interface{}, error)

type ComputeDiskIamUpdater ¶

type ComputeDiskIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ComputeDiskIamUpdater) DescribeResource ¶

func (u *ComputeDiskIamUpdater) DescribeResource() string

func (*ComputeDiskIamUpdater) GetMutexKey ¶

func (u *ComputeDiskIamUpdater) GetMutexKey() string

func (*ComputeDiskIamUpdater) GetResourceIamPolicy ¶

func (u *ComputeDiskIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ComputeDiskIamUpdater) GetResourceId ¶

func (u *ComputeDiskIamUpdater) GetResourceId() string

func (*ComputeDiskIamUpdater) SetResourceIamPolicy ¶

func (u *ComputeDiskIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ComputeImageIamUpdater ¶

type ComputeImageIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ComputeImageIamUpdater) DescribeResource ¶

func (u *ComputeImageIamUpdater) DescribeResource() string

func (*ComputeImageIamUpdater) GetMutexKey ¶

func (u *ComputeImageIamUpdater) GetMutexKey() string

func (*ComputeImageIamUpdater) GetResourceIamPolicy ¶

func (u *ComputeImageIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ComputeImageIamUpdater) GetResourceId ¶

func (u *ComputeImageIamUpdater) GetResourceId() string

func (*ComputeImageIamUpdater) SetResourceIamPolicy ¶

func (u *ComputeImageIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ComputeInstanceIamUpdater ¶

type ComputeInstanceIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ComputeInstanceIamUpdater) DescribeResource ¶

func (u *ComputeInstanceIamUpdater) DescribeResource() string

func (*ComputeInstanceIamUpdater) GetMutexKey ¶

func (u *ComputeInstanceIamUpdater) GetMutexKey() string

func (*ComputeInstanceIamUpdater) GetResourceIamPolicy ¶

func (u *ComputeInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ComputeInstanceIamUpdater) GetResourceId ¶

func (u *ComputeInstanceIamUpdater) GetResourceId() string

func (*ComputeInstanceIamUpdater) SetResourceIamPolicy ¶

func (u *ComputeInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ComputeMachineImageIamUpdater ¶

type ComputeMachineImageIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ComputeMachineImageIamUpdater) DescribeResource ¶

func (u *ComputeMachineImageIamUpdater) DescribeResource() string

func (*ComputeMachineImageIamUpdater) GetMutexKey ¶

func (u *ComputeMachineImageIamUpdater) GetMutexKey() string

func (*ComputeMachineImageIamUpdater) GetResourceIamPolicy ¶

func (u *ComputeMachineImageIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ComputeMachineImageIamUpdater) GetResourceId ¶

func (u *ComputeMachineImageIamUpdater) GetResourceId() string

func (*ComputeMachineImageIamUpdater) SetResourceIamPolicy ¶

func (u *ComputeMachineImageIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ComputeOperationError ¶

type ComputeOperationError computeBeta.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 *computeBeta.Service
	Op      *computeBeta.Operation
	Context context.Context
	Project string
	Parent  string
}

func (*ComputeOperationWaiter) Error ¶

func (w *ComputeOperationWaiter) Error() error

func (*ComputeOperationWaiter) IsRetryable ¶

func (w *ComputeOperationWaiter) IsRetryable(err error) bool

func (*ComputeOperationWaiter) OpName ¶

func (w *ComputeOperationWaiter) OpName() string

func (*ComputeOperationWaiter) PendingStates ¶

func (w *ComputeOperationWaiter) PendingStates() []string

func (*ComputeOperationWaiter) QueryOp ¶

func (w *ComputeOperationWaiter) QueryOp() (interface{}, error)

func (*ComputeOperationWaiter) SetOp ¶

func (w *ComputeOperationWaiter) SetOp(op interface{}) error

func (*ComputeOperationWaiter) State ¶

func (w *ComputeOperationWaiter) State() string

func (*ComputeOperationWaiter) TargetStates ¶

func (w *ComputeOperationWaiter) TargetStates() []string

type ComputeRegionDiskIamUpdater ¶

type ComputeRegionDiskIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ComputeRegionDiskIamUpdater) DescribeResource ¶

func (u *ComputeRegionDiskIamUpdater) DescribeResource() string

func (*ComputeRegionDiskIamUpdater) GetMutexKey ¶

func (u *ComputeRegionDiskIamUpdater) GetMutexKey() string

func (*ComputeRegionDiskIamUpdater) GetResourceIamPolicy ¶

func (u *ComputeRegionDiskIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ComputeRegionDiskIamUpdater) GetResourceId ¶

func (u *ComputeRegionDiskIamUpdater) GetResourceId() string

func (*ComputeRegionDiskIamUpdater) SetResourceIamPolicy ¶

func (u *ComputeRegionDiskIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ComputeSubnetworkIamUpdater ¶

type ComputeSubnetworkIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ComputeSubnetworkIamUpdater) DescribeResource ¶

func (u *ComputeSubnetworkIamUpdater) DescribeResource() string

func (*ComputeSubnetworkIamUpdater) GetMutexKey ¶

func (u *ComputeSubnetworkIamUpdater) GetMutexKey() string

func (*ComputeSubnetworkIamUpdater) GetResourceIamPolicy ¶

func (u *ComputeSubnetworkIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ComputeSubnetworkIamUpdater) GetResourceId ¶

func (u *ComputeSubnetworkIamUpdater) GetResourceId() string

func (*ComputeSubnetworkIamUpdater) SetResourceIamPolicy ¶

func (u *ComputeSubnetworkIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type Condition ¶

type Condition struct {
	Type    string
	Status  string
	Reason  string
	Message string
}

type Config ¶

type Config struct {
	AccessToken                        string
	Credentials                        string
	ImpersonateServiceAccount          string
	ImpersonateServiceAccountDelegates []string
	Project                            string
	Region                             string
	BillingProject                     string
	Zone                               string
	Scopes                             []string
	BatchingConfig                     *batchingConfig
	UserProjectOverride                bool
	RequestTimeout                     time.Duration
	// PollInterval is passed to resource.StateChangeConf in common_operation.go
	// It controls the interval at which we poll for successful operations
	PollInterval time.Duration

	AccessApprovalBasePath       string
	AccessContextManagerBasePath string
	ActiveDirectoryBasePath      string
	ApiGatewayBasePath           string
	ApigeeBasePath               string
	AppEngineBasePath            string
	ArtifactRegistryBasePath     string
	BigQueryBasePath             string
	BigqueryConnectionBasePath   string
	BigqueryDataTransferBasePath string
	BigqueryReservationBasePath  string
	BigtableBasePath             string
	BillingBasePath              string
	BinaryAuthorizationBasePath  string
	CloudAssetBasePath           string
	CloudBuildBasePath           string
	CloudFunctionsBasePath       string
	CloudIdentityBasePath        string
	CloudIotBasePath             string
	CloudRunBasePath             string
	CloudSchedulerBasePath       string
	CloudTasksBasePath           string
	ComputeBasePath              string
	ContainerAnalysisBasePath    string
	DataCatalogBasePath          string
	DataFusionBasePath           string
	DataLossPreventionBasePath   string
	DataprocBasePath             string
	DataprocMetastoreBasePath    string
	DatastoreBasePath            string
	DeploymentManagerBasePath    string
	DialogflowBasePath           string
	DNSBasePath                  string
	EssentialContactsBasePath    string
	FilestoreBasePath            string
	FirebaseBasePath             string
	FirestoreBasePath            string
	GameServicesBasePath         string
	HealthcareBasePath           string
	IAMBetaBasePath              string
	IapBasePath                  string
	IdentityPlatformBasePath     string
	KMSBasePath                  string
	LoggingBasePath              string
	MemcacheBasePath             string
	MLEngineBasePath             string
	MonitoringBasePath           string
	NetworkManagementBasePath    string
	NotebooksBasePath            string
	OSConfigBasePath             string
	OSLoginBasePath              string
	PrivatecaBasePath            string
	PubsubBasePath               string
	PubsubLiteBasePath           string
	RedisBasePath                string
	ResourceManagerBasePath      string
	RuntimeConfigBasePath        string
	SecretManagerBasePath        string
	SecurityCenterBasePath       string
	SecurityScannerBasePath      string
	ServiceDirectoryBasePath     string
	ServiceManagementBasePath    string
	ServiceUsageBasePath         string
	SourceRepoBasePath           string
	SpannerBasePath              string
	SQLBasePath                  string
	StorageBasePath              string
	TPUBasePath                  string
	VPCAccessBasePath            string

	CloudBillingBasePath           string
	ComposerBasePath               string
	ComputeBetaBasePath            string
	ContainerBasePath              string
	ContainerBetaBasePath          string
	DataprocBetaBasePath           string
	DataflowBasePath               string
	DnsBetaBasePath                string
	IamCredentialsBasePath         string
	ResourceManagerV2Beta1BasePath string
	IAMBasePath                    string
	CloudIoTBasePath               string
	ServiceNetworkingBasePath      string
	StorageTransferBasePath        string
	BigtableAdminBasePath          string
	EventarcBasePath               string
	// contains filtered or unexported fields
}

Config is the configuration structure used to instantiate the Google provider.

func (*Config) BigTableClientFactory ¶

func (c *Config) BigTableClientFactory(userAgent string) *BigtableClientFactory

func (*Config) GetCredentials ¶

func (c *Config) GetCredentials(clientScopes []string) (googleoauth.Credentials, error)

func (*Config) LoadAndValidate ¶

func (c *Config) LoadAndValidate(ctx context.Context) error

func (*Config) NewAppEngineClient ¶

func (c *Config) NewAppEngineClient(userAgent string) *appengine.APIService

func (*Config) NewBigQueryClient ¶

func (c *Config) NewBigQueryClient(userAgent string) *bigquery.Service

func (*Config) NewBigTableProjectsInstancesClient ¶

func (c *Config) NewBigTableProjectsInstancesClient(userAgent string) *bigtableadmin.ProjectsInstancesService

Unlike other clients, the Bigtable Admin client doesn't use a single service. Instead, there are several distinct services created off the base service object. To imitate most other handwritten clients, we expose those directly instead of providing the `Service` object as a factory.

func (*Config) NewBigTableProjectsInstancesTablesClient ¶

func (c *Config) NewBigTableProjectsInstancesTablesClient(userAgent string) *bigtableadmin.ProjectsInstancesTablesService

func (*Config) NewBillingClient ¶

func (c *Config) NewBillingClient(userAgent string) *cloudbilling.APIService

func (*Config) NewBuildClient ¶

func (c *Config) NewBuildClient(userAgent string) *cloudbuild.Service

func (*Config) NewCloudFunctionsClient ¶

func (c *Config) NewCloudFunctionsClient(userAgent string) *cloudfunctions.Service

func (*Config) NewCloudIdentityClient ¶

func (c *Config) NewCloudIdentityClient(userAgent string) *cloudidentity.Service

func (*Config) NewCloudIoTClient ¶

func (c *Config) NewCloudIoTClient(userAgent string) *cloudiot.Service

func (*Config) NewComposerClient ¶

func (c *Config) NewComposerClient(userAgent string) *composer.Service

func (*Config) NewComputeBetaClient ¶

func (c *Config) NewComputeBetaClient(userAgent string) *computeBeta.Service

func (*Config) NewComputeClient ¶

func (c *Config) NewComputeClient(userAgent string) *compute.Service

Methods to create new services from config Some base paths below need the version and possibly more of the path set on them. The client libraries are inconsistent about which values they need; while most only want the host URL, some older ones also want the version and some of those "projects" as well. You can find out if this is required by looking at the basePath value in the client library file.

func (*Config) NewContainerBetaClient ¶

func (c *Config) NewContainerBetaClient(userAgent string) *containerBeta.Service

func (*Config) NewContainerClient ¶

func (c *Config) NewContainerClient(userAgent string) *container.Service

func (*Config) NewDataflowClient ¶

func (c *Config) NewDataflowClient(userAgent string) *dataflow.Service

func (*Config) NewDataprocBetaClient ¶

func (c *Config) NewDataprocBetaClient(userAgent string) *dataprocBeta.Service

func (*Config) NewDataprocClient ¶

func (c *Config) NewDataprocClient(userAgent string) *dataproc.Service

func (*Config) NewDnsBetaClient ¶

func (c *Config) NewDnsBetaClient(userAgent string) *dnsBeta.Service

func (*Config) NewDnsClient ¶

func (c *Config) NewDnsClient(userAgent string) *dns.Service

func (*Config) NewFilestoreClient ¶

func (c *Config) NewFilestoreClient(userAgent string) *file.Service

func (*Config) NewHealthcareClient ¶

func (c *Config) NewHealthcareClient(userAgent string) *healthcare.Service

func (*Config) NewIamClient ¶

func (c *Config) NewIamClient(userAgent string) *iam.Service

func (*Config) NewIamCredentialsClient ¶

func (c *Config) NewIamCredentialsClient(userAgent string) *iamcredentials.Service

func (*Config) NewKmsClient ¶

func (c *Config) NewKmsClient(userAgent string) *cloudkms.Service

func (*Config) NewLoggingClient ¶

func (c *Config) NewLoggingClient(userAgent string) *cloudlogging.Service

func (*Config) NewPubsubClient ¶

func (c *Config) NewPubsubClient(userAgent string) *pubsub.Service

func (*Config) NewResourceManagerClient ¶

func (c *Config) NewResourceManagerClient(userAgent string) *cloudresourcemanager.Service

func (*Config) NewResourceManagerV2Beta1Client ¶

func (c *Config) NewResourceManagerV2Beta1Client(userAgent string) *resourceManagerV2Beta1.Service

func (*Config) NewRuntimeconfigClient ¶

func (c *Config) NewRuntimeconfigClient(userAgent string) *runtimeconfig.Service

func (*Config) NewServiceManClient ¶

func (c *Config) NewServiceManClient(userAgent string) *servicemanagement.APIService

func (*Config) NewServiceNetworkingClient ¶

func (c *Config) NewServiceNetworkingClient(userAgent string) *servicenetworking.APIService

func (*Config) NewServiceUsageClient ¶

func (c *Config) NewServiceUsageClient(userAgent string) *serviceusage.Service

func (*Config) NewSourceRepoClient ¶

func (c *Config) NewSourceRepoClient(userAgent string) *sourcerepo.Service

func (*Config) NewSpannerClient ¶

func (c *Config) NewSpannerClient(userAgent string) *spanner.Service

func (*Config) NewSqlAdminClient ¶

func (c *Config) NewSqlAdminClient(userAgent string) *sqladmin.Service

func (*Config) NewStorageClient ¶

func (c *Config) NewStorageClient(userAgent string) *storage.Service

func (*Config) NewStorageTransferClient ¶

func (c *Config) NewStorageTransferClient(userAgent string) *storagetransfer.Service

type ContainerOperationWaiter ¶

type ContainerOperationWaiter struct {
	Service  *container.Service
	Context  context.Context
	Op       *container.Operation
	Project  string
	Location string
}

func (*ContainerOperationWaiter) Error ¶

func (w *ContainerOperationWaiter) Error() error

func (*ContainerOperationWaiter) IsRetryable ¶

func (w *ContainerOperationWaiter) IsRetryable(error) bool

func (*ContainerOperationWaiter) OpName ¶

func (w *ContainerOperationWaiter) OpName() string

func (*ContainerOperationWaiter) PendingStates ¶

func (w *ContainerOperationWaiter) PendingStates() []string

func (*ContainerOperationWaiter) QueryOp ¶

func (w *ContainerOperationWaiter) QueryOp() (interface{}, error)

func (*ContainerOperationWaiter) SetOp ¶

func (w *ContainerOperationWaiter) SetOp(op interface{}) error

func (*ContainerOperationWaiter) State ¶

func (w *ContainerOperationWaiter) State() string

func (*ContainerOperationWaiter) TargetStates ¶

func (w *ContainerOperationWaiter) TargetStates() []string

type DataCatalogEntryGroupIamUpdater ¶

type DataCatalogEntryGroupIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*DataCatalogEntryGroupIamUpdater) DescribeResource ¶

func (u *DataCatalogEntryGroupIamUpdater) DescribeResource() string

func (*DataCatalogEntryGroupIamUpdater) GetMutexKey ¶

func (u *DataCatalogEntryGroupIamUpdater) GetMutexKey() string

func (*DataCatalogEntryGroupIamUpdater) GetResourceIamPolicy ¶

func (u *DataCatalogEntryGroupIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*DataCatalogEntryGroupIamUpdater) GetResourceId ¶

func (u *DataCatalogEntryGroupIamUpdater) GetResourceId() string

func (*DataCatalogEntryGroupIamUpdater) SetResourceIamPolicy ¶

func (u *DataCatalogEntryGroupIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type DataCatalogPolicyTagIamUpdater ¶

type DataCatalogPolicyTagIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*DataCatalogPolicyTagIamUpdater) DescribeResource ¶

func (u *DataCatalogPolicyTagIamUpdater) DescribeResource() string

func (*DataCatalogPolicyTagIamUpdater) GetMutexKey ¶

func (u *DataCatalogPolicyTagIamUpdater) GetMutexKey() string

func (*DataCatalogPolicyTagIamUpdater) GetResourceIamPolicy ¶

func (u *DataCatalogPolicyTagIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*DataCatalogPolicyTagIamUpdater) GetResourceId ¶

func (u *DataCatalogPolicyTagIamUpdater) GetResourceId() string

func (*DataCatalogPolicyTagIamUpdater) SetResourceIamPolicy ¶

func (u *DataCatalogPolicyTagIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type DataCatalogTaxonomyIamUpdater ¶

type DataCatalogTaxonomyIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*DataCatalogTaxonomyIamUpdater) DescribeResource ¶

func (u *DataCatalogTaxonomyIamUpdater) DescribeResource() string

func (*DataCatalogTaxonomyIamUpdater) GetMutexKey ¶

func (u *DataCatalogTaxonomyIamUpdater) GetMutexKey() string

func (*DataCatalogTaxonomyIamUpdater) GetResourceIamPolicy ¶

func (u *DataCatalogTaxonomyIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*DataCatalogTaxonomyIamUpdater) GetResourceId ¶

func (u *DataCatalogTaxonomyIamUpdater) GetResourceId() string

func (*DataCatalogTaxonomyIamUpdater) SetResourceIamPolicy ¶

func (u *DataCatalogTaxonomyIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type DataFusionOperationWaiter ¶

type DataFusionOperationWaiter struct {
	Config    *Config
	UserAgent string
	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 (*DataprocJobOperationWaiter) TargetStates ¶

func (w *DataprocJobOperationWaiter) TargetStates() []string

type DataprocMetastoreOperationWaiter ¶ added in v3.59.0

type DataprocMetastoreOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*DataprocMetastoreOperationWaiter) QueryOp ¶ added in v3.59.0

func (w *DataprocMetastoreOperationWaiter) QueryOp() (interface{}, error)

type DatastoreOperationWaiter ¶

type DatastoreOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*DatastoreOperationWaiter) QueryOp ¶

func (w *DatastoreOperationWaiter) QueryOp() (interface{}, error)

type DeploymentManagerOperationError ¶

type DeploymentManagerOperationError struct {
	HTTPStatusCode int64
	HTTPMessage    string
	computeBeta.OperationError
}

DeploymentManagerOperationError wraps information from the compute.Operation in an implementation of Error.

func (DeploymentManagerOperationError) Error ¶

type DeploymentManagerOperationWaiter ¶

type DeploymentManagerOperationWaiter struct {
	Config       *Config
	UserAgent    string
	Project      string
	OperationUrl string
	ComputeOperationWaiter
}

func (*DeploymentManagerOperationWaiter) Error ¶

func (*DeploymentManagerOperationWaiter) IsRetryable ¶

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 (*DnsChangeWaiter) RefreshFunc ¶

func (w *DnsChangeWaiter) RefreshFunc() resource.StateRefreshFunc

type FilestoreOperationWaiter ¶

type FilestoreOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*FilestoreOperationWaiter) QueryOp ¶

func (w *FilestoreOperationWaiter) QueryOp() (interface{}, error)

type FirebaseOperationWaiter ¶

type FirebaseOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*FirebaseOperationWaiter) QueryOp ¶

func (w *FirebaseOperationWaiter) QueryOp() (interface{}, error)

type FirestoreOperationWaiter ¶

type FirestoreOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*FirestoreOperationWaiter) QueryOp ¶

func (w *FirestoreOperationWaiter) QueryOp() (interface{}, error)

type FolderIamUpdater ¶

type FolderIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*FolderIamUpdater) DescribeResource ¶

func (u *FolderIamUpdater) DescribeResource() string

func (*FolderIamUpdater) GetMutexKey ¶

func (u *FolderIamUpdater) GetMutexKey() string

func (*FolderIamUpdater) GetResourceIamPolicy ¶

func (u *FolderIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*FolderIamUpdater) GetResourceId ¶

func (u *FolderIamUpdater) GetResourceId() string

func (*FolderIamUpdater) SetResourceIamPolicy ¶

func (u *FolderIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type FolderLoggingExclusionUpdater ¶

type FolderLoggingExclusionUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*FolderLoggingExclusionUpdater) CreateLoggingExclusion ¶

func (u *FolderLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error

func (*FolderLoggingExclusionUpdater) DeleteLoggingExclusion ¶

func (u *FolderLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error

func (*FolderLoggingExclusionUpdater) DescribeResource ¶

func (u *FolderLoggingExclusionUpdater) DescribeResource() string

func (*FolderLoggingExclusionUpdater) GetResourceId ¶

func (u *FolderLoggingExclusionUpdater) GetResourceId() string

func (*FolderLoggingExclusionUpdater) GetResourceType ¶

func (u *FolderLoggingExclusionUpdater) GetResourceType() string

func (*FolderLoggingExclusionUpdater) ReadLoggingExclusion ¶

func (u *FolderLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)

func (*FolderLoggingExclusionUpdater) UpdateLoggingExclusion ¶

func (u *FolderLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error

type GameServicesOperationWaiter ¶

type GameServicesOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*GameServicesOperationWaiter) QueryOp ¶

func (w *GameServicesOperationWaiter) QueryOp() (interface{}, error)

type GlobalFieldValue ¶

type GlobalFieldValue struct {
	Project string
	Name    string
	// contains filtered or unexported fields
}

func ParseHttpHealthCheckFieldValue ¶

func ParseHttpHealthCheckFieldValue(healthCheck string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)

func ParseInstanceTemplateFieldValue ¶

func ParseInstanceTemplateFieldValue(instanceTemplate string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)

func ParseMachineImageFieldValue ¶

func ParseMachineImageFieldValue(machineImage string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)

func ParseNetworkFieldValue ¶

func ParseNetworkFieldValue(network string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)

func ParseSecurityPolicyFieldValue ¶

func ParseSecurityPolicyFieldValue(securityPolicy string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)

func ParseSslCertificateFieldValue ¶

func ParseSslCertificateFieldValue(sslCertificate string, d TerraformResourceData, config *Config) (*GlobalFieldValue, error)
func (f GlobalFieldValue) RelativeLink() string

type HealthcareConsentStoreIamUpdater ¶

type HealthcareConsentStoreIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*HealthcareConsentStoreIamUpdater) DescribeResource ¶

func (u *HealthcareConsentStoreIamUpdater) DescribeResource() string

func (*HealthcareConsentStoreIamUpdater) GetMutexKey ¶

func (u *HealthcareConsentStoreIamUpdater) GetMutexKey() string

func (*HealthcareConsentStoreIamUpdater) GetResourceIamPolicy ¶

func (u *HealthcareConsentStoreIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*HealthcareConsentStoreIamUpdater) GetResourceId ¶

func (u *HealthcareConsentStoreIamUpdater) GetResourceId() string

func (*HealthcareConsentStoreIamUpdater) SetResourceIamPolicy ¶

func (u *HealthcareConsentStoreIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

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 IAMBetaOperationWaiter ¶

type IAMBetaOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*IAMBetaOperationWaiter) QueryOp ¶

func (w *IAMBetaOperationWaiter) QueryOp() (interface{}, error)

type IapAppEngineServiceIamUpdater ¶

type IapAppEngineServiceIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*IapAppEngineServiceIamUpdater) DescribeResource ¶

func (u *IapAppEngineServiceIamUpdater) DescribeResource() string

func (*IapAppEngineServiceIamUpdater) GetMutexKey ¶

func (u *IapAppEngineServiceIamUpdater) GetMutexKey() string

func (*IapAppEngineServiceIamUpdater) GetResourceIamPolicy ¶

func (u *IapAppEngineServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*IapAppEngineServiceIamUpdater) GetResourceId ¶

func (u *IapAppEngineServiceIamUpdater) GetResourceId() string

func (*IapAppEngineServiceIamUpdater) SetResourceIamPolicy ¶

func (u *IapAppEngineServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type IapAppEngineVersionIamUpdater ¶

type IapAppEngineVersionIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*IapAppEngineVersionIamUpdater) DescribeResource ¶

func (u *IapAppEngineVersionIamUpdater) DescribeResource() string

func (*IapAppEngineVersionIamUpdater) GetMutexKey ¶

func (u *IapAppEngineVersionIamUpdater) GetMutexKey() string

func (*IapAppEngineVersionIamUpdater) GetResourceIamPolicy ¶

func (u *IapAppEngineVersionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*IapAppEngineVersionIamUpdater) GetResourceId ¶

func (u *IapAppEngineVersionIamUpdater) GetResourceId() string

func (*IapAppEngineVersionIamUpdater) SetResourceIamPolicy ¶

func (u *IapAppEngineVersionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type IapTunnelIamUpdater ¶

type IapTunnelIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*IapTunnelIamUpdater) DescribeResource ¶

func (u *IapTunnelIamUpdater) DescribeResource() string

func (*IapTunnelIamUpdater) GetMutexKey ¶

func (u *IapTunnelIamUpdater) GetMutexKey() string

func (*IapTunnelIamUpdater) GetResourceIamPolicy ¶

func (u *IapTunnelIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*IapTunnelIamUpdater) GetResourceId ¶

func (u *IapTunnelIamUpdater) GetResourceId() string

func (*IapTunnelIamUpdater) SetResourceIamPolicy ¶

func (u *IapTunnelIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type IapTunnelInstanceIamUpdater ¶

type IapTunnelInstanceIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*IapTunnelInstanceIamUpdater) DescribeResource ¶

func (u *IapTunnelInstanceIamUpdater) DescribeResource() string

func (*IapTunnelInstanceIamUpdater) GetMutexKey ¶

func (u *IapTunnelInstanceIamUpdater) GetMutexKey() string

func (*IapTunnelInstanceIamUpdater) GetResourceIamPolicy ¶

func (u *IapTunnelInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*IapTunnelInstanceIamUpdater) GetResourceId ¶

func (u *IapTunnelInstanceIamUpdater) GetResourceId() string

func (*IapTunnelInstanceIamUpdater) SetResourceIamPolicy ¶

func (u *IapTunnelInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type IapWebBackendServiceIamUpdater ¶

type IapWebBackendServiceIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*IapWebBackendServiceIamUpdater) DescribeResource ¶

func (u *IapWebBackendServiceIamUpdater) DescribeResource() string

func (*IapWebBackendServiceIamUpdater) GetMutexKey ¶

func (u *IapWebBackendServiceIamUpdater) GetMutexKey() string

func (*IapWebBackendServiceIamUpdater) GetResourceIamPolicy ¶

func (u *IapWebBackendServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*IapWebBackendServiceIamUpdater) GetResourceId ¶

func (u *IapWebBackendServiceIamUpdater) GetResourceId() string

func (*IapWebBackendServiceIamUpdater) SetResourceIamPolicy ¶

func (u *IapWebBackendServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type IapWebIamUpdater ¶

type IapWebIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*IapWebIamUpdater) DescribeResource ¶

func (u *IapWebIamUpdater) DescribeResource() string

func (*IapWebIamUpdater) GetMutexKey ¶

func (u *IapWebIamUpdater) GetMutexKey() string

func (*IapWebIamUpdater) GetResourceIamPolicy ¶

func (u *IapWebIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*IapWebIamUpdater) GetResourceId ¶

func (u *IapWebIamUpdater) GetResourceId() string

func (*IapWebIamUpdater) SetResourceIamPolicy ¶

func (u *IapWebIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type IapWebTypeAppEngineIamUpdater ¶

type IapWebTypeAppEngineIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*IapWebTypeAppEngineIamUpdater) DescribeResource ¶

func (u *IapWebTypeAppEngineIamUpdater) DescribeResource() string

func (*IapWebTypeAppEngineIamUpdater) GetMutexKey ¶

func (u *IapWebTypeAppEngineIamUpdater) GetMutexKey() string

func (*IapWebTypeAppEngineIamUpdater) GetResourceIamPolicy ¶

func (u *IapWebTypeAppEngineIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*IapWebTypeAppEngineIamUpdater) GetResourceId ¶

func (u *IapWebTypeAppEngineIamUpdater) GetResourceId() string

func (*IapWebTypeAppEngineIamUpdater) SetResourceIamPolicy ¶

func (u *IapWebTypeAppEngineIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type IapWebTypeComputeIamUpdater ¶

type IapWebTypeComputeIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*IapWebTypeComputeIamUpdater) DescribeResource ¶

func (u *IapWebTypeComputeIamUpdater) DescribeResource() string

func (*IapWebTypeComputeIamUpdater) GetMutexKey ¶

func (u *IapWebTypeComputeIamUpdater) GetMutexKey() string

func (*IapWebTypeComputeIamUpdater) GetResourceIamPolicy ¶

func (u *IapWebTypeComputeIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*IapWebTypeComputeIamUpdater) GetResourceId ¶

func (u *IapWebTypeComputeIamUpdater) GetResourceId() string

func (*IapWebTypeComputeIamUpdater) SetResourceIamPolicy ¶

func (u *IapWebTypeComputeIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type KmsCryptoKeyIamUpdater ¶

type KmsCryptoKeyIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*KmsCryptoKeyIamUpdater) DescribeResource ¶

func (u *KmsCryptoKeyIamUpdater) DescribeResource() string

func (*KmsCryptoKeyIamUpdater) GetMutexKey ¶

func (u *KmsCryptoKeyIamUpdater) GetMutexKey() string

func (*KmsCryptoKeyIamUpdater) GetResourceIamPolicy ¶

func (u *KmsCryptoKeyIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*KmsCryptoKeyIamUpdater) GetResourceId ¶

func (u *KmsCryptoKeyIamUpdater) GetResourceId() string

func (*KmsCryptoKeyIamUpdater) SetResourceIamPolicy ¶

func (u *KmsCryptoKeyIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type KmsKeyRingIamUpdater ¶

type KmsKeyRingIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*KmsKeyRingIamUpdater) DescribeResource ¶

func (u *KmsKeyRingIamUpdater) DescribeResource() string

func (*KmsKeyRingIamUpdater) GetMutexKey ¶

func (u *KmsKeyRingIamUpdater) GetMutexKey() string

func (*KmsKeyRingIamUpdater) GetResourceIamPolicy ¶

func (u *KmsKeyRingIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*KmsKeyRingIamUpdater) GetResourceId ¶

func (u *KmsKeyRingIamUpdater) GetResourceId() string

func (*KmsKeyRingIamUpdater) SetResourceIamPolicy ¶

func (u *KmsKeyRingIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type KnativeStatus ¶

type KnativeStatus struct {
	Metadata struct {
		Name      string
		Namespace string
		SelfLink  string
	}
	Status struct {
		Conditions []Condition
	}
}

KnativeStatus is a struct that can contain a Knative style resource's Status block. It is not intended to be used for anything other than polling for the success of the given resource.

type LocationType ¶

type LocationType int
const (
	Zonal LocationType = iota
	Regional
	Global
)

type LoggingExclusionId ¶

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

LoggingExclusionId represents the parts that make up the canonical id used within terraform for a logging resource.

type LoggingSinkId ¶

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

LoggingSinkId represents the parts that make up the canonical id used within terraform for a logging resource.

type MLEngineOperationWaiter ¶

type MLEngineOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*MLEngineOperationWaiter) QueryOp ¶

func (w *MLEngineOperationWaiter) QueryOp() (interface{}, error)

type MemcacheOperationWaiter ¶

type MemcacheOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*MemcacheOperationWaiter) QueryOp ¶

func (w *MemcacheOperationWaiter) QueryOp() (interface{}, error)

type MutexKV ¶

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

MutexKV is a simple key/value store for arbitrary mutexes. It can be used to serialize changes across arbitrary collaborators that share knowledge of the keys they must serialize on.

The initial use case is to let aws_security_group_rule resources serialize their access to individual security groups based on SG ID.

func NewMutexKV ¶

func NewMutexKV() *MutexKV

Returns a properly initialized MutexKV

func (*MutexKV) Lock ¶

func (m *MutexKV) Lock(key string)

Locks the mutex for the given key. Caller is responsible for calling Unlock for the same key

func (*MutexKV) Unlock ¶

func (m *MutexKV) Unlock(key string)

Unlock the mutex for the given key. Caller must have called Lock for the same key first

type NetworkManagementOperationWaiter ¶

type NetworkManagementOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*NetworkManagementOperationWaiter) QueryOp ¶

func (w *NetworkManagementOperationWaiter) QueryOp() (interface{}, error)

type NodePoolInformation ¶

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

type NotebooksInstanceIamUpdater ¶

type NotebooksInstanceIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*NotebooksInstanceIamUpdater) DescribeResource ¶

func (u *NotebooksInstanceIamUpdater) DescribeResource() string

func (*NotebooksInstanceIamUpdater) GetMutexKey ¶

func (u *NotebooksInstanceIamUpdater) GetMutexKey() string

func (*NotebooksInstanceIamUpdater) GetResourceIamPolicy ¶

func (u *NotebooksInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*NotebooksInstanceIamUpdater) GetResourceId ¶

func (u *NotebooksInstanceIamUpdater) GetResourceId() string

func (*NotebooksInstanceIamUpdater) SetResourceIamPolicy ¶

func (u *NotebooksInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type NotebooksOperationWaiter ¶

type NotebooksOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*NotebooksOperationWaiter) QueryOp ¶

func (w *NotebooksOperationWaiter) QueryOp() (interface{}, error)

type OrganizationFieldValue ¶

type OrganizationFieldValue struct {
	OrgId string
	Name  string
	// contains filtered or unexported fields
}

func ParseOrganizationCustomRoleName ¶

func ParseOrganizationCustomRoleName(role string) (*OrganizationFieldValue, error)
func (f OrganizationFieldValue) RelativeLink() string

type OrganizationIamUpdater ¶

type OrganizationIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*OrganizationIamUpdater) DescribeResource ¶

func (u *OrganizationIamUpdater) DescribeResource() string

func (*OrganizationIamUpdater) GetMutexKey ¶

func (u *OrganizationIamUpdater) GetMutexKey() string

func (*OrganizationIamUpdater) GetResourceIamPolicy ¶

func (u *OrganizationIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*OrganizationIamUpdater) GetResourceId ¶

func (u *OrganizationIamUpdater) GetResourceId() string

func (*OrganizationIamUpdater) SetResourceIamPolicy ¶

func (u *OrganizationIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type OrganizationLoggingExclusionUpdater ¶

type OrganizationLoggingExclusionUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*OrganizationLoggingExclusionUpdater) CreateLoggingExclusion ¶

func (u *OrganizationLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error

func (*OrganizationLoggingExclusionUpdater) DeleteLoggingExclusion ¶

func (u *OrganizationLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error

func (*OrganizationLoggingExclusionUpdater) DescribeResource ¶

func (u *OrganizationLoggingExclusionUpdater) DescribeResource() string

func (*OrganizationLoggingExclusionUpdater) GetResourceId ¶

func (u *OrganizationLoggingExclusionUpdater) GetResourceId() string

func (*OrganizationLoggingExclusionUpdater) GetResourceType ¶

func (u *OrganizationLoggingExclusionUpdater) GetResourceType() string

func (*OrganizationLoggingExclusionUpdater) ReadLoggingExclusion ¶

func (u *OrganizationLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)

func (*OrganizationLoggingExclusionUpdater) UpdateLoggingExclusion ¶

func (u *OrganizationLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error

type PollCheckResponseFunc ¶

type PollCheckResponseFunc func(resp map[string]interface{}, respErr error) PollResult

Function to check the response from polling once

type PollReadFunc ¶

type PollReadFunc func() (resp map[string]interface{}, respErr error)

Function handling for polling for a resource

type PollResult ¶

type PollResult *resource.RetryError

func ErrorPollResult ¶

func ErrorPollResult(err error) PollResult

Helper functions to construct result of single pollRead as return result for a PollCheckResponseFunc

func PendingStatusPollResult ¶

func PendingStatusPollResult(status string) PollResult

func PollCheckForAbsence ¶

func PollCheckForAbsence(_ map[string]interface{}, respErr error) PollResult

PollCheckForAbsence waits for a 404 response, continues polling on a successful response, and returns any other error.

func PollCheckForExistence ¶

func PollCheckForExistence(_ map[string]interface{}, respErr error) PollResult

PollCheckForExistence waits for a successful response, continues polling on 404, and returns any other error.

func PollCheckInstanceConfigDeleted ¶

func PollCheckInstanceConfigDeleted(resp map[string]interface{}, respErr error) PollResult

func PollCheckKnativeStatus ¶

func PollCheckKnativeStatus(resp map[string]interface{}, respErr error) PollResult

func SuccessPollResult ¶

func SuccessPollResult() PollResult

type PrivatecaCertificateAuthorityIamUpdater ¶ added in v3.54.0

type PrivatecaCertificateAuthorityIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*PrivatecaCertificateAuthorityIamUpdater) DescribeResource ¶ added in v3.54.0

func (u *PrivatecaCertificateAuthorityIamUpdater) DescribeResource() string

func (*PrivatecaCertificateAuthorityIamUpdater) GetMutexKey ¶ added in v3.54.0

func (*PrivatecaCertificateAuthorityIamUpdater) GetResourceIamPolicy ¶ added in v3.54.0

func (u *PrivatecaCertificateAuthorityIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*PrivatecaCertificateAuthorityIamUpdater) GetResourceId ¶ added in v3.54.0

func (*PrivatecaCertificateAuthorityIamUpdater) SetResourceIamPolicy ¶ added in v3.54.0

func (u *PrivatecaCertificateAuthorityIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type PrivatecaOperationWaiter ¶ added in v3.54.0

type PrivatecaOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*PrivatecaOperationWaiter) QueryOp ¶ added in v3.54.0

func (w *PrivatecaOperationWaiter) QueryOp() (interface{}, error)

type ProjectFieldValue ¶

type ProjectFieldValue struct {
	Project string
	Name    string
	// contains filtered or unexported fields
}
func (f ProjectFieldValue) RelativeLink() string

type ProjectIamUpdater ¶

type ProjectIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ProjectIamUpdater) DescribeResource ¶

func (u *ProjectIamUpdater) DescribeResource() string

func (*ProjectIamUpdater) GetMutexKey ¶

func (u *ProjectIamUpdater) GetMutexKey() string

func (*ProjectIamUpdater) GetResourceIamPolicy ¶

func (u *ProjectIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ProjectIamUpdater) GetResourceId ¶

func (u *ProjectIamUpdater) GetResourceId() string

func (*ProjectIamUpdater) SetResourceIamPolicy ¶

func (u *ProjectIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ProjectLoggingExclusionUpdater ¶

type ProjectLoggingExclusionUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ProjectLoggingExclusionUpdater) CreateLoggingExclusion ¶

func (u *ProjectLoggingExclusionUpdater) CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error

func (*ProjectLoggingExclusionUpdater) DeleteLoggingExclusion ¶

func (u *ProjectLoggingExclusionUpdater) DeleteLoggingExclusion(id string) error

func (*ProjectLoggingExclusionUpdater) DescribeResource ¶

func (u *ProjectLoggingExclusionUpdater) DescribeResource() string

func (*ProjectLoggingExclusionUpdater) GetResourceId ¶

func (u *ProjectLoggingExclusionUpdater) GetResourceId() string

func (*ProjectLoggingExclusionUpdater) GetResourceType ¶

func (u *ProjectLoggingExclusionUpdater) GetResourceType() string

func (*ProjectLoggingExclusionUpdater) ReadLoggingExclusion ¶

func (u *ProjectLoggingExclusionUpdater) ReadLoggingExclusion(id string) (*logging.LogExclusion, error)

func (*ProjectLoggingExclusionUpdater) UpdateLoggingExclusion ¶

func (u *ProjectLoggingExclusionUpdater) UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error

type PubsubSubscriptionIamUpdater ¶

type PubsubSubscriptionIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*PubsubSubscriptionIamUpdater) DescribeResource ¶

func (u *PubsubSubscriptionIamUpdater) DescribeResource() string

func (*PubsubSubscriptionIamUpdater) GetMutexKey ¶

func (u *PubsubSubscriptionIamUpdater) GetMutexKey() string

func (*PubsubSubscriptionIamUpdater) GetResourceIamPolicy ¶

func (u *PubsubSubscriptionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*PubsubSubscriptionIamUpdater) GetResourceId ¶

func (u *PubsubSubscriptionIamUpdater) GetResourceId() string

func (*PubsubSubscriptionIamUpdater) SetResourceIamPolicy ¶

func (u *PubsubSubscriptionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type PubsubTopicIamUpdater ¶

type PubsubTopicIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*PubsubTopicIamUpdater) DescribeResource ¶

func (u *PubsubTopicIamUpdater) DescribeResource() string

func (*PubsubTopicIamUpdater) GetMutexKey ¶

func (u *PubsubTopicIamUpdater) GetMutexKey() string

func (*PubsubTopicIamUpdater) GetResourceIamPolicy ¶

func (u *PubsubTopicIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*PubsubTopicIamUpdater) GetResourceId ¶

func (u *PubsubTopicIamUpdater) GetResourceId() string

func (*PubsubTopicIamUpdater) SetResourceIamPolicy ¶

func (u *PubsubTopicIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type RedisOperationWaiter ¶

type RedisOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*RedisOperationWaiter) QueryOp ¶

func (w *RedisOperationWaiter) QueryOp() (interface{}, error)

type RegionalFieldValue ¶

type RegionalFieldValue struct {
	Project string
	Region  string
	Name    string
	// contains filtered or unexported fields
}

func ParseRegionDiskFieldValue ¶

func ParseRegionDiskFieldValue(disk string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)

func ParseSubnetworkFieldValue ¶

func ParseSubnetworkFieldValue(subnetwork string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)

func ParseSubnetworkFieldValueWithProjectField ¶

func ParseSubnetworkFieldValueWithProjectField(subnetwork, projectField string, d TerraformResourceData, config *Config) (*RegionalFieldValue, error)
func (f RegionalFieldValue) RelativeLink() string

type RequestBatcher ¶

type RequestBatcher struct {
	sync.Mutex
	// contains filtered or unexported fields
}

RequestBatcher keeps track of batched requests globally. It should be created at a provider level. In general, one should be created per service that requires batching to:

  • prevent blocking batching for one service due to another,
  • minimize the possibility of overlap in batchKey formats (see SendRequestWithTimeout)

func NewRequestBatcher ¶

func NewRequestBatcher(debugId string, ctx context.Context, config *batchingConfig) *RequestBatcher

Initializes a new batcher.

func (*RequestBatcher) SendRequestWithTimeout ¶

func (b *RequestBatcher) SendRequestWithTimeout(batchKey string, request *BatchRequest, timeout time.Duration) (interface{}, error)

SendRequestWithTimeout is a blocking call for making a single request, run alone or as part of a batch. It manages registering the single request with the batcher and waiting on the result.

Params: batchKey: A string to group batchable requests. It should be unique to the API request being sent, similar to the HTTP request URL with GCP resource ID included in the URL (the caller may choose to use a key with method if needed to diff GET/read and POST/create)

As an example, for google_project_service, the batcher is called to batch services.batchEnable() calls for a project $PROJECT. The calling code uses the template "serviceusage:projects/$PROJECT/services:batchEnable", which mirrors the HTTP request: POST https://serviceusage.googleapis.com/v1/projects/$PROJECT/services:batchEnable

type ResourceDataMock ¶

type ResourceDataMock struct {
	FieldsInSchema      map[string]interface{}
	FieldsWithHasChange []string
	// contains filtered or unexported fields
}

func (*ResourceDataMock) Get ¶

func (d *ResourceDataMock) Get(key string) interface{}

func (*ResourceDataMock) GetOk ¶

func (d *ResourceDataMock) GetOk(key string) (interface{}, bool)

func (*ResourceDataMock) GetOkExists ¶

func (d *ResourceDataMock) GetOkExists(key string) (interface{}, bool)

func (*ResourceDataMock) GetProviderMeta ¶

func (d *ResourceDataMock) GetProviderMeta(dst interface{}) error

func (*ResourceDataMock) HasChange ¶

func (d *ResourceDataMock) HasChange(key string) bool

func (*ResourceDataMock) Id ¶

func (d *ResourceDataMock) Id() string

func (*ResourceDataMock) Set ¶

func (d *ResourceDataMock) Set(key string, value interface{}) error

func (*ResourceDataMock) SetId ¶

func (d *ResourceDataMock) SetId(v string)

func (*ResourceDataMock) Timeout ¶ added in v3.55.0

func (d *ResourceDataMock) Timeout(key string) time.Duration

type ResourceDiffMock ¶

type ResourceDiffMock struct {
	Before     map[string]interface{}
	After      map[string]interface{}
	Cleared    map[string]struct{}
	IsForceNew bool
}

func (*ResourceDiffMock) Clear ¶

func (d *ResourceDiffMock) Clear(key string) error

func (*ResourceDiffMock) ForceNew ¶

func (d *ResourceDiffMock) ForceNew(key string) error

func (*ResourceDiffMock) Get ¶

func (d *ResourceDiffMock) Get(key string) interface{}

func (*ResourceDiffMock) GetChange ¶

func (d *ResourceDiffMock) GetChange(key string) (interface{}, interface{})

func (*ResourceDiffMock) GetOk ¶ added in v3.54.0

func (d *ResourceDiffMock) GetOk(key string) (interface{}, bool)

func (*ResourceDiffMock) HasChange ¶

func (d *ResourceDiffMock) HasChange(key string) bool

type ResourceIamUpdater ¶

type ResourceIamUpdater interface {
	// Fetch the existing IAM policy attached to a resource.
	GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

	// Replaces the existing IAM Policy attached to a resource.
	SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

	// A mutex guards against concurrent to call to the SetResourceIamPolicy method.
	// The mutex key should be made of the resource type and resource id.
	// For example: `iam-project-{id}`.
	GetMutexKey() string

	// Returns the unique resource identifier.
	GetResourceId() string

	// Textual description of this resource to be used in error message.
	// The description should include the unique resource identifier.
	DescribeResource() string
}

The ResourceIamUpdater interface is implemented for each GCP resource supporting IAM policy. Implementations should be created per resource and should keep track of the resource identifier.

func ApiGatewayApiConfigIamUpdaterProducer ¶

func ApiGatewayApiConfigIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ApiGatewayApiIamUpdaterProducer ¶

func ApiGatewayApiIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ApiGatewayGatewayIamUpdaterProducer ¶

func ApiGatewayGatewayIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ArtifactRegistryRepositoryIamUpdaterProducer ¶

func ArtifactRegistryRepositoryIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func BigQueryTableIamUpdaterProducer ¶

func BigQueryTableIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func BinaryAuthorizationAttestorIamUpdaterProducer ¶

func BinaryAuthorizationAttestorIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func CloudFunctionsCloudFunctionIamUpdaterProducer ¶

func CloudFunctionsCloudFunctionIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func CloudRunServiceIamUpdaterProducer ¶

func CloudRunServiceIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ComputeDiskIamUpdaterProducer ¶

func ComputeDiskIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ComputeImageIamUpdaterProducer ¶

func ComputeImageIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ComputeInstanceIamUpdaterProducer ¶

func ComputeInstanceIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ComputeMachineImageIamUpdaterProducer ¶

func ComputeMachineImageIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ComputeRegionDiskIamUpdaterProducer ¶

func ComputeRegionDiskIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ComputeSubnetworkIamUpdaterProducer ¶

func ComputeSubnetworkIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func DataCatalogEntryGroupIamUpdaterProducer ¶

func DataCatalogEntryGroupIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func DataCatalogPolicyTagIamUpdaterProducer ¶

func DataCatalogPolicyTagIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func DataCatalogTaxonomyIamUpdaterProducer ¶

func DataCatalogTaxonomyIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func HealthcareConsentStoreIamUpdaterProducer ¶

func HealthcareConsentStoreIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func IapAppEngineServiceIamUpdaterProducer ¶

func IapAppEngineServiceIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func IapAppEngineVersionIamUpdaterProducer ¶

func IapAppEngineVersionIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func IapTunnelIamUpdaterProducer ¶

func IapTunnelIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func IapTunnelInstanceIamUpdaterProducer ¶

func IapTunnelInstanceIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func IapWebBackendServiceIamUpdaterProducer ¶

func IapWebBackendServiceIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func IapWebIamUpdaterProducer ¶

func IapWebIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func IapWebTypeAppEngineIamUpdaterProducer ¶

func IapWebTypeAppEngineIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func IapWebTypeComputeIamUpdaterProducer ¶

func IapWebTypeComputeIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewBigqueryDatasetIamUpdater ¶

func NewBigqueryDatasetIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewBigtableInstanceUpdater ¶

func NewBigtableInstanceUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewBigtableTableUpdater ¶

func NewBigtableTableUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewBillingAccountIamUpdater ¶

func NewBillingAccountIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewDataprocClusterUpdater ¶

func NewDataprocClusterUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewDataprocJobUpdater ¶

func NewDataprocJobUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewFolderIamUpdater ¶

func NewFolderIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewHealthcareDatasetIamUpdater ¶

func NewHealthcareDatasetIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewHealthcareDicomStoreIamUpdater ¶

func NewHealthcareDicomStoreIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewHealthcareFhirStoreIamUpdater ¶

func NewHealthcareFhirStoreIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewHealthcareHl7V2StoreIamUpdater ¶

func NewHealthcareHl7V2StoreIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewKmsCryptoKeyIamUpdater ¶

func NewKmsCryptoKeyIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewKmsKeyRingIamUpdater ¶

func NewKmsKeyRingIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewOrganizationIamUpdater ¶

func NewOrganizationIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewProjectIamPolicyUpdater ¶

func NewProjectIamPolicyUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

NewProjectIamPolicyUpdater is similar to NewProjectIamUpdater, except that it doesn't call getProject and only uses an explicitly set project.

func NewProjectIamUpdater ¶

func NewProjectIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewPubsubSubscriptionIamUpdater ¶

func NewPubsubSubscriptionIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewServiceAccountIamUpdater ¶

func NewServiceAccountIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewSpannerDatabaseIamUpdater ¶

func NewSpannerDatabaseIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NewSpannerInstanceIamUpdater ¶

func NewSpannerInstanceIamUpdater(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func NotebooksInstanceIamUpdaterProducer ¶

func NotebooksInstanceIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func PrivatecaCertificateAuthorityIamUpdaterProducer ¶ added in v3.54.0

func PrivatecaCertificateAuthorityIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func PubsubTopicIamUpdaterProducer ¶

func PubsubTopicIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func RuntimeConfigConfigIamUpdaterProducer ¶

func RuntimeConfigConfigIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func SecretManagerSecretIamUpdaterProducer ¶

func SecretManagerSecretIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ServiceDirectoryNamespaceIamUpdaterProducer ¶

func ServiceDirectoryNamespaceIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ServiceDirectoryServiceIamUpdaterProducer ¶

func ServiceDirectoryServiceIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func ServiceManagementServiceIamUpdaterProducer ¶

func ServiceManagementServiceIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func SourceRepoRepositoryIamUpdaterProducer ¶

func SourceRepoRepositoryIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

func StorageBucketIamUpdaterProducer ¶

func StorageBucketIamUpdaterProducer(d TerraformResourceData, config *Config) (ResourceIamUpdater, error)

type ResourceLoggingExclusionUpdater ¶

type ResourceLoggingExclusionUpdater interface {
	CreateLoggingExclusion(parent string, exclusion *logging.LogExclusion) error
	ReadLoggingExclusion(id string) (*logging.LogExclusion, error)
	UpdateLoggingExclusion(id string, exclusion *logging.LogExclusion, updateMask string) error
	DeleteLoggingExclusion(id string) error

	GetResourceType() string

	// Returns the unique resource identifier.
	GetResourceId() string

	// Textual description of this resource to be used in error message.
	// The description should include the unique resource identifier.
	DescribeResource() string
}

The ResourceLoggingExclusionUpdater interface is implemented for each GCP resource supporting log exclusions.

Implementations should keep track of the resource identifier.

func NewBillingAccountLoggingExclusionUpdater ¶

func NewBillingAccountLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)

func NewFolderLoggingExclusionUpdater ¶

func NewFolderLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)

func NewOrganizationLoggingExclusionUpdater ¶

func NewOrganizationLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)

func NewProjectLoggingExclusionUpdater ¶

func NewProjectLoggingExclusionUpdater(d *schema.ResourceData, config *Config) (ResourceLoggingExclusionUpdater, error)

type ResourceManagerOperationWaiter ¶

type ResourceManagerOperationWaiter struct {
	Config    *Config
	UserAgent string
	CommonOperationWaiter
}

func (*ResourceManagerOperationWaiter) QueryOp ¶

func (w *ResourceManagerOperationWaiter) QueryOp() (interface{}, error)

type RestingStates ¶

type RestingStates map[string]StateType

type RetryErrorPredicateFunc ¶

type RetryErrorPredicateFunc func(error) (bool, string)

type RoleEntity ¶

type RoleEntity struct {
	Role   string
	Entity string
}

type RuntimeConfigConfigIamUpdater ¶

type RuntimeConfigConfigIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*RuntimeConfigConfigIamUpdater) DescribeResource ¶

func (u *RuntimeConfigConfigIamUpdater) DescribeResource() string

func (*RuntimeConfigConfigIamUpdater) GetMutexKey ¶

func (u *RuntimeConfigConfigIamUpdater) GetMutexKey() string

func (*RuntimeConfigConfigIamUpdater) GetResourceIamPolicy ¶

func (u *RuntimeConfigConfigIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*RuntimeConfigConfigIamUpdater) GetResourceId ¶

func (u *RuntimeConfigConfigIamUpdater) GetResourceId() string

func (*RuntimeConfigConfigIamUpdater) SetResourceIamPolicy ¶

func (u *RuntimeConfigConfigIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type SecretManagerSecretIamUpdater ¶

type SecretManagerSecretIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*SecretManagerSecretIamUpdater) DescribeResource ¶

func (u *SecretManagerSecretIamUpdater) DescribeResource() string

func (*SecretManagerSecretIamUpdater) GetMutexKey ¶

func (u *SecretManagerSecretIamUpdater) GetMutexKey() string

func (*SecretManagerSecretIamUpdater) GetResourceIamPolicy ¶

func (u *SecretManagerSecretIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*SecretManagerSecretIamUpdater) GetResourceId ¶

func (u *SecretManagerSecretIamUpdater) GetResourceId() string

func (*SecretManagerSecretIamUpdater) SetResourceIamPolicy ¶

func (u *SecretManagerSecretIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ServiceAccountIamUpdater ¶

type ServiceAccountIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ServiceAccountIamUpdater) DescribeResource ¶

func (u *ServiceAccountIamUpdater) DescribeResource() string

func (*ServiceAccountIamUpdater) GetMutexKey ¶

func (u *ServiceAccountIamUpdater) GetMutexKey() string

func (*ServiceAccountIamUpdater) GetResourceIamPolicy ¶

func (u *ServiceAccountIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ServiceAccountIamUpdater) GetResourceId ¶

func (u *ServiceAccountIamUpdater) GetResourceId() string

func (*ServiceAccountIamUpdater) SetResourceIamPolicy ¶

func (u *ServiceAccountIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ServiceAccountKeyWaiter ¶

type ServiceAccountKeyWaiter struct {
	Service       *iam.ProjectsServiceAccountsKeysService
	PublicKeyType string
	KeyName       string
}

func (*ServiceAccountKeyWaiter) RefreshFunc ¶

type ServiceDirectoryNamespaceIamUpdater ¶

type ServiceDirectoryNamespaceIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ServiceDirectoryNamespaceIamUpdater) DescribeResource ¶

func (u *ServiceDirectoryNamespaceIamUpdater) DescribeResource() string

func (*ServiceDirectoryNamespaceIamUpdater) GetMutexKey ¶

func (*ServiceDirectoryNamespaceIamUpdater) GetResourceIamPolicy ¶

func (u *ServiceDirectoryNamespaceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ServiceDirectoryNamespaceIamUpdater) GetResourceId ¶

func (u *ServiceDirectoryNamespaceIamUpdater) GetResourceId() string

func (*ServiceDirectoryNamespaceIamUpdater) SetResourceIamPolicy ¶

func (u *ServiceDirectoryNamespaceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ServiceDirectoryServiceIamUpdater ¶

type ServiceDirectoryServiceIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ServiceDirectoryServiceIamUpdater) DescribeResource ¶

func (u *ServiceDirectoryServiceIamUpdater) DescribeResource() string

func (*ServiceDirectoryServiceIamUpdater) GetMutexKey ¶

func (u *ServiceDirectoryServiceIamUpdater) GetMutexKey() string

func (*ServiceDirectoryServiceIamUpdater) GetResourceIamPolicy ¶

func (u *ServiceDirectoryServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ServiceDirectoryServiceIamUpdater) GetResourceId ¶

func (u *ServiceDirectoryServiceIamUpdater) GetResourceId() string

func (*ServiceDirectoryServiceIamUpdater) SetResourceIamPolicy ¶

func (u *ServiceDirectoryServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ServiceManagementOperationWaiter ¶

type ServiceManagementOperationWaiter struct {
	Service *servicemanagement.APIService
	CommonOperationWaiter
}

func (*ServiceManagementOperationWaiter) QueryOp ¶

func (w *ServiceManagementOperationWaiter) QueryOp() (interface{}, error)

type ServiceManagementServiceIamUpdater ¶

type ServiceManagementServiceIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*ServiceManagementServiceIamUpdater) DescribeResource ¶

func (u *ServiceManagementServiceIamUpdater) DescribeResource() string

func (*ServiceManagementServiceIamUpdater) GetMutexKey ¶

func (u *ServiceManagementServiceIamUpdater) GetMutexKey() string

func (*ServiceManagementServiceIamUpdater) GetResourceIamPolicy ¶

func (u *ServiceManagementServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*ServiceManagementServiceIamUpdater) GetResourceId ¶

func (u *ServiceManagementServiceIamUpdater) GetResourceId() string

func (*ServiceManagementServiceIamUpdater) SetResourceIamPolicy ¶

func (u *ServiceManagementServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type ServiceNetworkingOperationWaiter ¶

type ServiceNetworkingOperationWaiter struct {
	Service *servicenetworking.APIService
	CommonOperationWaiter
}

func (*ServiceNetworkingOperationWaiter) QueryOp ¶

func (w *ServiceNetworkingOperationWaiter) QueryOp() (interface{}, error)

type ServiceUsageOperationWaiter ¶

type ServiceUsageOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*ServiceUsageOperationWaiter) QueryOp ¶

func (w *ServiceUsageOperationWaiter) QueryOp() (interface{}, error)

type SourceRepoRepositoryIamUpdater ¶

type SourceRepoRepositoryIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*SourceRepoRepositoryIamUpdater) DescribeResource ¶

func (u *SourceRepoRepositoryIamUpdater) DescribeResource() string

func (*SourceRepoRepositoryIamUpdater) GetMutexKey ¶

func (u *SourceRepoRepositoryIamUpdater) GetMutexKey() string

func (*SourceRepoRepositoryIamUpdater) GetResourceIamPolicy ¶

func (u *SourceRepoRepositoryIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*SourceRepoRepositoryIamUpdater) GetResourceId ¶

func (u *SourceRepoRepositoryIamUpdater) GetResourceId() string

func (*SourceRepoRepositoryIamUpdater) SetResourceIamPolicy ¶

func (u *SourceRepoRepositoryIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type SpannerDatabaseIamUpdater ¶

type SpannerDatabaseIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*SpannerDatabaseIamUpdater) DescribeResource ¶

func (u *SpannerDatabaseIamUpdater) DescribeResource() string

func (*SpannerDatabaseIamUpdater) GetMutexKey ¶

func (u *SpannerDatabaseIamUpdater) GetMutexKey() string

func (*SpannerDatabaseIamUpdater) GetResourceIamPolicy ¶

func (u *SpannerDatabaseIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*SpannerDatabaseIamUpdater) GetResourceId ¶

func (u *SpannerDatabaseIamUpdater) GetResourceId() string

func (*SpannerDatabaseIamUpdater) SetResourceIamPolicy ¶

func (u *SpannerDatabaseIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type SpannerInstanceIamUpdater ¶

type SpannerInstanceIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*SpannerInstanceIamUpdater) DescribeResource ¶

func (u *SpannerInstanceIamUpdater) DescribeResource() string

func (*SpannerInstanceIamUpdater) GetMutexKey ¶

func (u *SpannerInstanceIamUpdater) GetMutexKey() string

func (*SpannerInstanceIamUpdater) GetResourceIamPolicy ¶

func (u *SpannerInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*SpannerInstanceIamUpdater) GetResourceId ¶

func (u *SpannerInstanceIamUpdater) GetResourceId() string

func (*SpannerInstanceIamUpdater) SetResourceIamPolicy ¶

func (u *SpannerInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type SpannerOperationWaiter ¶

type SpannerOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*SpannerOperationWaiter) QueryOp ¶

func (w *SpannerOperationWaiter) QueryOp() (interface{}, error)

type SqlAdminOperationError ¶

type SqlAdminOperationError sqladmin.OperationErrors

SqlAdminOperationError wraps sqladmin.OperationError and implements the error interface so it can be returned.

func (SqlAdminOperationError) Error ¶

func (e SqlAdminOperationError) Error() string

type SqlAdminOperationWaiter ¶

type SqlAdminOperationWaiter struct {
	Service *sqladmin.Service
	Op      *sqladmin.Operation
	Project string
}

func (*SqlAdminOperationWaiter) Error ¶

func (w *SqlAdminOperationWaiter) Error() error

func (*SqlAdminOperationWaiter) IsRetryable ¶

func (w *SqlAdminOperationWaiter) IsRetryable(error) bool

func (*SqlAdminOperationWaiter) OpName ¶

func (w *SqlAdminOperationWaiter) OpName() string

func (*SqlAdminOperationWaiter) PendingStates ¶

func (w *SqlAdminOperationWaiter) PendingStates() []string

func (*SqlAdminOperationWaiter) QueryOp ¶

func (w *SqlAdminOperationWaiter) QueryOp() (interface{}, error)

func (*SqlAdminOperationWaiter) SetOp ¶

func (w *SqlAdminOperationWaiter) SetOp(op interface{}) error

func (*SqlAdminOperationWaiter) State ¶

func (w *SqlAdminOperationWaiter) State() string

func (*SqlAdminOperationWaiter) TargetStates ¶

func (w *SqlAdminOperationWaiter) TargetStates() []string

type StateType ¶

type StateType int

A StateType represents the specific type of resting state that a state value is.

const (
	UndefinedState StateType = iota
	// A special resting state, that generally requires special consideration
	// Interactive states like PENDING_PARTNER in interconnects are an example
	RestingState
	// An error state is a state that indicates that a resource is not working
	// correctly. If this is Create, it should be tainted by returning an error
	ErrorState
	// A ready resource is fully provisioned, and ready to accept traffic/work
	ReadyState
)

type StorageBucketIamUpdater ¶

type StorageBucketIamUpdater struct {
	Config *Config
	// contains filtered or unexported fields
}

func (*StorageBucketIamUpdater) DescribeResource ¶

func (u *StorageBucketIamUpdater) DescribeResource() string

func (*StorageBucketIamUpdater) GetMutexKey ¶

func (u *StorageBucketIamUpdater) GetMutexKey() string

func (*StorageBucketIamUpdater) GetResourceIamPolicy ¶

func (u *StorageBucketIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*StorageBucketIamUpdater) GetResourceId ¶

func (u *StorageBucketIamUpdater) GetResourceId() string

func (*StorageBucketIamUpdater) SetResourceIamPolicy ¶

func (u *StorageBucketIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type TPUOperationWaiter ¶

type TPUOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*TPUOperationWaiter) QueryOp ¶

func (w *TPUOperationWaiter) QueryOp() (interface{}, error)

type TerraformResourceData ¶

type TerraformResourceData interface {
	HasChange(string) bool
	GetOkExists(string) (interface{}, bool)
	GetOk(string) (interface{}, bool)
	Get(string) interface{}
	Set(string, interface{}) error
	SetId(string)
	Id() string
	GetProviderMeta(interface{}) error
	Timeout(key string) time.Duration
}

type TerraformResourceDiff ¶

type TerraformResourceDiff interface {
	HasChange(string) bool
	GetChange(string) (interface{}, interface{})
	Get(string) interface{}
	GetOk(string) (interface{}, bool)
	Clear(string) error
	ForceNew(string) error
}

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 ¶

func (u *UrlData) EncodedSignature() (string, error)

EncodedSignature returns the Signature() after base64 encoding and url escaping

func (*UrlData) Signature ¶

func (u *UrlData) Signature() ([]byte, error)

func (*UrlData) SignedUrl ¶

func (u *UrlData) SignedUrl() (string, error)

SignedUrl constructs the final signed URL a client can use to retrieve storage object

func (*UrlData) SigningString ¶

func (u *UrlData) SigningString() []byte

SigningString creates a string representation of the UrlData in a form ready for signing: see https://cloud.google.com/storage/docs/access-control/create-signed-urls-program Example output: ------------------- GET

1388534400 bucket/objectname -------------------

type VPCAccessOperationWaiter ¶

type VPCAccessOperationWaiter struct {
	Config    *Config
	UserAgent string
	Project   string
	CommonOperationWaiter
}

func (*VPCAccessOperationWaiter) QueryOp ¶

func (w *VPCAccessOperationWaiter) QueryOp() (interface{}, error)

type Waiter ¶

type Waiter interface {
	// State returns the current status of the operation.
	State() string

	// Error returns an error embedded in the operation we're waiting on, or nil
	// if the operation has no current error.
	Error() error

	// IsRetryable returns whether a given error should be retried.
	IsRetryable(error) bool

	// SetOp sets the operation we're waiting on in a Waiter struct so that it
	// can be used in other methods.
	SetOp(interface{}) error

	// QueryOp sends a request to the server to get the current status of the
	// operation. It's expected that QueryOp will return exactly one of an
	// operation or an error as non-nil, and that requests will be retried by
	// specific implementations of the method.
	QueryOp() (interface{}, error)

	// OpName is the name of the operation and is used to log its status.
	OpName() string

	// PendingStates contains the values of State() that cause us to continue
	// refreshing the operation.
	PendingStates() []string

	// TargetStates contain the values of State() that cause us to finish
	// refreshing the operation.
	TargetStates() []string
}

type ZonalFieldValue ¶

type ZonalFieldValue struct {
	Project string
	Zone    string
	Name    string
	// contains filtered or unexported fields
}

func ParseAcceleratorFieldValue ¶

func ParseAcceleratorFieldValue(accelerator string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)

func ParseDiskFieldValue ¶

func ParseDiskFieldValue(disk string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)

func ParseInstanceFieldValue ¶

func ParseInstanceFieldValue(instance string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)

func ParseInstanceGroupFieldValue ¶

func ParseInstanceGroupFieldValue(instanceGroup string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)

func ParseMachineTypesFieldValue ¶

func ParseMachineTypesFieldValue(machineType string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)

func ParseNetworkEndpointGroupFieldValue ¶

func ParseNetworkEndpointGroupFieldValue(networkEndpointGroup string, d TerraformResourceData, config *Config) (*ZonalFieldValue, error)
func (f ZonalFieldValue) RelativeLink() string

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL