google

package
v0.0.0-...-3ce63fc Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 73 Imported by: 4

Documentation ¶

Overview ¶

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

This file is copied here by Magic Modules. The code for building up a
compute instance object is copied from the manually implemented
provider file:
third_party/terraform/resources/resource_compute_instance.go

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

Utils for modifying IAM policies for resources across GCP ¶

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

***     AUTO GENERATED CODE    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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    ***    Type: MMv1     ***

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

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.

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

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

This file is copied here by Magic Modules. The code for building up a
sql database instance object is copied from the manually implemented
provider file:
third_party/terraform/resources/resource_sql_database_instance.go.erb.go

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

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

This file is copied here by Magic Modules. The code for building up a
storage bucket object is copied from the manually implemented
provider file:
third_party/terraform/resources/resource_storage_bucket.go

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

Index ¶

Constants ¶

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 AccessApprovalBasePathKey = "AccessApproval"
View Source
const AccessApprovalFolderSettingsAssetType string = "accessapproval.googleapis.com/FolderSettings"
View Source
const AccessApprovalOrganizationSettingsAssetType string = "accessapproval.googleapis.com/OrganizationSettings"
View Source
const AccessApprovalProjectSettingsAssetType string = "accessapproval.googleapis.com/ProjectSettings"
View Source
const AccessContextManagerAccessLevelAssetType string = "accesscontextmanager.googleapis.com/AccessLevel"
View Source
const AccessContextManagerAccessLevelsAssetType string = "accesscontextmanager.googleapis.com/AccessLevels"
View Source
const AccessContextManagerAccessPolicyAssetType string = "accesscontextmanager.googleapis.com/AccessPolicy"
View Source
const AccessContextManagerBasePathKey = "AccessContextManager"
View Source
const AccessContextManagerServicePerimeterAssetType string = "accesscontextmanager.googleapis.com/ServicePerimeter"
View Source
const AccessContextManagerServicePerimetersAssetType string = "accesscontextmanager.googleapis.com/ServicePerimeters"
View Source
const ActiveDirectoryBasePathKey = "ActiveDirectory"
View Source
const ActiveDirectoryDomainAssetType string = "managedidentities.googleapis.com/Domain"
View Source
const ActiveDirectoryDomainTrustAssetType string = "managedidentities.googleapis.com/DomainTrust"
View Source
const ApigeeBasePathKey = "Apigee"
View Source
const ApigeeEnvgroupAssetType string = "apigee.googleapis.com/Envgroup"
View Source
const ApigeeEnvgroupAttachmentAssetType string = "apigee.googleapis.com/EnvgroupAttachment"
View Source
const ApigeeEnvironmentAssetType string = "apigee.googleapis.com/Environment"
View Source
const ApigeeInstanceAssetType string = "apigee.googleapis.com/Instance"
View Source
const ApigeeInstanceAttachmentAssetType string = "apigee.googleapis.com/InstanceAttachment"
View Source
const ApigeeOrganizationAssetType string = "apigee.googleapis.com/Organization"
View Source
const AppEngineApplicationUrlDispatchRulesAssetType string = "appengine.googleapis.com/ApplicationUrlDispatchRules"
View Source
const AppEngineBasePathKey = "AppEngine"
View Source
const AppEngineDomainMappingAssetType string = "appengine.googleapis.com/DomainMapping"
View Source
const AppEngineFirewallRuleAssetType string = "appengine.googleapis.com/FirewallRule"
View Source
const AppEngineFlexibleAppVersionAssetType string = "appengine.googleapis.com/FlexibleAppVersion"
View Source
const AppEngineServiceNetworkSettingsAssetType string = "appengine.googleapis.com/ServiceNetworkSettings"
View Source
const AppEngineServiceSplitTrafficAssetType string = "appengine.googleapis.com/ServiceSplitTraffic"
View Source
const AppEngineStandardAppVersionAssetType string = "appengine.googleapis.com/StandardAppVersion"
View Source
const BigQueryBasePathKey = "BigQuery"
View Source
const BigQueryDatasetAssetType string = "bigquery.googleapis.com/Dataset"
View Source
const BigQueryJobAssetType string = "bigquery.googleapis.com/Job"
View Source
const BigQueryRoutineAssetType string = "bigquery.googleapis.com/Routine"
View Source
const BigQueryTableIAMAssetType string = "bigquery.googleapis.com/Table"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const BigqueryDataTransferBasePathKey = "BigqueryDataTransfer"
View Source
const BigqueryDataTransferConfigAssetType string = "bigquerydatatransfer.googleapis.com/Config"
View Source
const BigqueryReservationBasePathKey = "BigqueryReservation"
View Source
const BigqueryReservationReservationAssetType string = "bigqueryreservation.googleapis.com/Reservation"
View Source
const BigtableAdminBasePathKey = "BigtableAdmin"
View Source
const BigtableAppProfileAssetType string = "bigtableadmin.googleapis.com/AppProfile"
View Source
const BigtableBasePathKey = "Bigtable"
View Source
const BillingBasePathKey = "Billing"
View Source
const BillingBudgetAssetType string = "billingbudgets.googleapis.com/Budget"
View Source
const BinaryAuthorizationAttestorAssetType string = "binaryauthorization.googleapis.com/Attestor"
View Source
const BinaryAuthorizationAttestorIAMAssetType string = "binaryauthorization.googleapis.com/Attestor"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const BinaryAuthorizationBasePathKey = "BinaryAuthorization"
View Source
const BinaryAuthorizationPolicyAssetType string = "binaryauthorization.googleapis.com/Policy"
View Source
const CloudAssetBasePathKey = "CloudAsset"
View Source
const CloudAssetFolderFeedAssetType string = "cloudasset.googleapis.com/FolderFeed"
View Source
const CloudAssetOrganizationFeedAssetType string = "cloudasset.googleapis.com/OrganizationFeed"
View Source
const CloudAssetProjectFeedAssetType string = "cloudasset.googleapis.com/ProjectFeed"
View Source
const CloudBillingBasePathKey = "CloudBilling"
View Source
const CloudBuildBasePathKey = "CloudBuild"
View Source
const CloudBuildTriggerAssetType string = "cloudbuild.googleapis.com/Trigger"
View Source
const CloudFunctionsBasePathKey = "CloudFunctions"
View Source
const CloudFunctionsCloudFunctionIAMAssetType string = "cloudfunctions.googleapis.com/CloudFunction"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const CloudIdentityBasePathKey = "CloudIdentity"
View Source
const CloudIdentityGroupAssetType string = "cloudidentity.googleapis.com/Group"
View Source
const CloudIdentityGroupMembershipAssetType string = "cloudidentity.googleapis.com/GroupMembership"
View Source
const CloudIotBasePathKey = "CloudIot"
View Source
const CloudIotDeviceAssetType string = "cloudiot.googleapis.com/Device"
View Source
const CloudIotDeviceRegistryAssetType string = "cloudiot.googleapis.com/DeviceRegistry"
View Source
const CloudRunBasePathKey = "CloudRun"
View Source
const CloudRunDomainMappingAssetType string = "{{location}}-run.googleapis.com/DomainMapping"
View Source
const CloudSchedulerBasePathKey = "CloudScheduler"
View Source
const CloudSchedulerJobAssetType string = "cloudscheduler.googleapis.com/Job"
View Source
const CloudTasksBasePathKey = "CloudTasks"
View Source
const CloudTasksQueueAssetType string = "cloudtasks.googleapis.com/Queue"
View Source
const ComposerBasePathKey = "Composer"
View Source
const ComputeAddressAssetType string = "compute.googleapis.com/Address"
View Source
const ComputeAutoscalerAssetType string = "compute.googleapis.com/Autoscaler"
View Source
const ComputeBackendBucketAssetType string = "compute.googleapis.com/BackendBucket"
View Source
const ComputeBackendServiceAssetType string = "compute.googleapis.com/BackendService"
View Source
const ComputeBasePathKey = "Compute"
View Source
const ComputeBetaBasePathKey = "ComputeBeta"
View Source
const ComputeDiskAssetType string = "compute.googleapis.com/Disk"
View Source
const ComputeDiskIAMAssetType string = "compute.googleapis.com/Disk"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const ComputeDiskResourcePolicyAttachmentAssetType string = "compute.googleapis.com/DiskResourcePolicyAttachment"
View Source
const ComputeExternalVpnGatewayAssetType string = "compute.googleapis.com/ExternalVpnGateway"
View Source
const ComputeFirewallAssetType string = "compute.googleapis.com/Firewall"
View Source
const ComputeForwardingRuleAssetType string = "compute.googleapis.com/ForwardingRule"
View Source
const ComputeGlobalAddressAssetType string = "compute.googleapis.com/GlobalAddress"
View Source
const ComputeGlobalForwardingRuleAssetType string = "compute.googleapis.com/GlobalForwardingRule"
View Source
const ComputeGlobalNetworkEndpointGroupAssetType string = "compute.googleapis.com/GlobalNetworkEndpointGroup"
View Source
const ComputeHaVpnGatewayAssetType string = "compute.googleapis.com/HaVpnGateway"
View Source
const ComputeHealthCheckAssetType string = "compute.googleapis.com/HealthCheck"
View Source
const ComputeHttpHealthCheckAssetType string = "compute.googleapis.com/HttpHealthCheck"
View Source
const ComputeHttpsHealthCheckAssetType string = "compute.googleapis.com/HttpsHealthCheck"
View Source
const ComputeImageAssetType string = "compute.googleapis.com/Image"
View Source
const ComputeImageIAMAssetType string = "compute.googleapis.com/Image"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const ComputeInstanceAssetType string = "compute.googleapis.com/Instance"
View Source
const ComputeInstanceGroupNamedPortAssetType string = "compute.googleapis.com/InstanceGroupNamedPort"
View Source
const ComputeInstanceIAMAssetType string = "compute.googleapis.com/Instance"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const ComputeInterconnectAttachmentAssetType string = "compute.googleapis.com/InterconnectAttachment"
View Source
const ComputeManagedSslCertificateAssetType string = "compute.googleapis.com/ManagedSslCertificate"
View Source
const ComputeNetworkAssetType string = "compute.googleapis.com/Network"
View Source
const ComputeNetworkEndpointGroupAssetType string = "compute.googleapis.com/NetworkEndpointGroup"
View Source
const ComputeNetworkPeeringRoutesConfigAssetType string = "compute.googleapis.com/NetworkPeeringRoutesConfig"
View Source
const ComputeNodeGroupAssetType string = "compute.googleapis.com/NodeGroup"
View Source
const ComputeNodeTemplateAssetType string = "compute.googleapis.com/NodeTemplate"
View Source
const ComputePacketMirroringAssetType string = "compute.googleapis.com/PacketMirroring"
View Source
const ComputeRegionAutoscalerAssetType string = "compute.googleapis.com/RegionAutoscaler"
View Source
const ComputeRegionBackendServiceAssetType string = "compute.googleapis.com/RegionBackendService"
View Source
const ComputeRegionDiskAssetType string = "compute.googleapis.com/RegionDisk"
View Source
const ComputeRegionDiskIAMAssetType string = "compute.googleapis.com/RegionDisk"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const ComputeRegionDiskResourcePolicyAttachmentAssetType string = "compute.googleapis.com/RegionDiskResourcePolicyAttachment"
View Source
const ComputeRegionHealthCheckAssetType string = "compute.googleapis.com/RegionHealthCheck"
View Source
const ComputeRegionNetworkEndpointGroupAssetType string = "compute.googleapis.com/RegionNetworkEndpointGroup"
View Source
const ComputeRegionSslCertificateAssetType string = "compute.googleapis.com/RegionSslCertificate"
View Source
const ComputeRegionTargetHttpProxyAssetType string = "compute.googleapis.com/RegionTargetHttpProxy"
View Source
const ComputeRegionTargetHttpsProxyAssetType string = "compute.googleapis.com/RegionTargetHttpsProxy"
View Source
const ComputeRegionUrlMapAssetType string = "compute.googleapis.com/RegionUrlMap"
View Source
const ComputeReservationAssetType string = "compute.googleapis.com/Reservation"
View Source
const ComputeResourcePolicyAssetType string = "compute.googleapis.com/ResourcePolicy"
View Source
const ComputeRouteAssetType string = "compute.googleapis.com/Route"
View Source
const ComputeRouterAssetType string = "compute.googleapis.com/Router"
View Source
const ComputeServiceAttachmentAssetType string = "compute.googleapis.com/ServiceAttachment"
View Source
const ComputeSnapshotAssetType string = "compute.googleapis.com/Snapshot"
View Source
const ComputeSslCertificateAssetType string = "compute.googleapis.com/SslCertificate"
View Source
const ComputeSslPolicyAssetType string = "compute.googleapis.com/SslPolicy"
View Source
const ComputeSubnetworkAssetType string = "compute.googleapis.com/Subnetwork"
View Source
const ComputeSubnetworkIAMAssetType string = "compute.googleapis.com/Subnetwork"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const ComputeTargetGrpcProxyAssetType string = "compute.googleapis.com/TargetGrpcProxy"
View Source
const ComputeTargetHttpProxyAssetType string = "compute.googleapis.com/TargetHttpProxy"
View Source
const ComputeTargetHttpsProxyAssetType string = "compute.googleapis.com/TargetHttpsProxy"
View Source
const ComputeTargetInstanceAssetType string = "compute.googleapis.com/TargetInstance"
View Source
const ComputeTargetSslProxyAssetType string = "compute.googleapis.com/TargetSslProxy"
View Source
const ComputeTargetTcpProxyAssetType string = "compute.googleapis.com/TargetTcpProxy"
View Source
const ComputeUrlMapAssetType string = "compute.googleapis.com/UrlMap"
View Source
const ComputeVpnGatewayAssetType string = "compute.googleapis.com/VpnGateway"
View Source
const ComputeVpnTunnelAssetType string = "compute.googleapis.com/VpnTunnel"
View Source
const ContainerAnalysisBasePathKey = "ContainerAnalysis"
View Source
const ContainerAnalysisNoteAssetType string = "containeranalysis.googleapis.com/Note"
View Source
const ContainerAnalysisOccurrenceAssetType string = "containeranalysis.googleapis.com/Occurrence"
View Source
const ContainerBasePathKey = "Container"
View Source
const ContainerBetaBasePathKey = "ContainerBeta"
View Source
const ContainerClusterAssetType string = "container.googleapis.com/Cluster"
View Source
const ContainerNodePoolAssetType string = "container.googleapis.com/NodePool"
View Source
const DNSBasePathKey = "DNS"
View Source
const DNSManagedZoneAssetType string = "dns.googleapis.com/ManagedZone"
View Source
const DNSPolicyAssetType string = "dns.googleapis.com/Policy"
View Source
const DataCatalogBasePathKey = "DataCatalog"
View Source
const DataCatalogEntryAssetType string = "datacatalog.googleapis.com/Entry"
View Source
const DataCatalogEntryGroupAssetType string = "datacatalog.googleapis.com/EntryGroup"
View Source
const DataCatalogEntryGroupIAMAssetType string = "datacatalog.googleapis.com/EntryGroup"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const DataCatalogTagAssetType string = "datacatalog.googleapis.com/Tag"
View Source
const DataCatalogTagTemplateAssetType string = "datacatalog.googleapis.com/TagTemplate"
View Source
const DataCatalogTagTemplateIAMAssetType string = "datacatalog.googleapis.com/TagTemplate"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const DataLossPreventionBasePathKey = "DataLossPrevention"
View Source
const DataLossPreventionDeidentifyTemplateAssetType string = "dlp.googleapis.com/DeidentifyTemplate"
View Source
const DataLossPreventionInspectTemplateAssetType string = "dlp.googleapis.com/InspectTemplate"
View Source
const DataLossPreventionJobTriggerAssetType string = "dlp.googleapis.com/JobTrigger"
View Source
const DataLossPreventionStoredInfoTypeAssetType string = "dlp.googleapis.com/StoredInfoType"
View Source
const DataflowBasePathKey = "Dataflow"
View Source
const DataprocAutoscalingPolicyAssetType string = "dataproc.googleapis.com/AutoscalingPolicy"
View Source
const DataprocBasePathKey = "Dataproc"
View Source
const DataprocBetaBasePathKey = "DataprocBeta"
View Source
const DatastoreBasePathKey = "Datastore"
View Source
const DatastoreIndexAssetType string = "datastore.googleapis.com/Index"
View Source
const DeploymentManagerBasePathKey = "DeploymentManager"
View Source
const DeploymentManagerDeploymentAssetType string = "www.googleapis.com/Deployment"
View Source
const DialogflowAgentAssetType string = "dialogflow.googleapis.com/Agent"
View Source
const DialogflowBasePathKey = "Dialogflow"
View Source
const DialogflowCXAgentAssetType string = "dialogflow.googleapis.com/Agent"
View Source
const DialogflowCXBasePathKey = "DialogflowCX"
View Source
const DialogflowCXEntityTypeAssetType string = "dialogflow.googleapis.com/EntityType"
View Source
const DialogflowCXEnvironmentAssetType string = "dialogflow.googleapis.com/Environment"
View Source
const DialogflowCXFlowAssetType string = "dialogflow.googleapis.com/Flow"
View Source
const DialogflowCXIntentAssetType string = "dialogflow.googleapis.com/Intent"
View Source
const DialogflowCXPageAssetType string = "dialogflow.googleapis.com/Page"
View Source
const DialogflowCXVersionAssetType string = "dialogflow.googleapis.com/Version"
View Source
const DialogflowEntityTypeAssetType string = "dialogflow.googleapis.com/EntityType"
View Source
const DialogflowFulfillmentAssetType string = "dialogflow.googleapis.com/Fulfillment"
View Source
const DialogflowIntentAssetType string = "dialogflow.googleapis.com/Intent"
View Source
const EssentialContactsBasePathKey = "EssentialContacts"
View Source
const EssentialContactsContactAssetType string = "essentialcontacts.googleapis.com/Contact"
View Source
const FilestoreBasePathKey = "Filestore"
View Source
const FilestoreInstanceAssetType string = "file.googleapis.com/Instance"
View Source
const FirestoreBasePathKey = "Firestore"
View Source
const FirestoreDocumentAssetType string = "firestore.googleapis.com/Document"
View Source
const FirestoreIndexAssetType string = "firestore.googleapis.com/Index"
View Source
const GKEHubBasePathKey = "GKEHub"
View Source
const GKEHubMembershipAssetType string = "gkehub.googleapis.com/Membership"
View Source
const GameServicesBasePathKey = "GameServices"
View Source
const GameServicesGameServerClusterAssetType string = "gameservices.googleapis.com/GameServerCluster"
View Source
const GameServicesGameServerConfigAssetType string = "gameservices.googleapis.com/GameServerConfig"
View Source
const GameServicesGameServerDeploymentAssetType string = "gameservices.googleapis.com/GameServerDeployment"
View Source
const GameServicesGameServerDeploymentRolloutAssetType string = "gameservices.googleapis.com/GameServerDeploymentRollout"
View Source
const GameServicesRealmAssetType string = "gameservices.googleapis.com/Realm"
View Source
const GkeHubFeatureBasePathKey = "GkeHubFeatureBasePathKey"
View Source
const HealthcareBasePathKey = "Healthcare"
View Source
const HealthcareConsentStoreAssetType string = "healthcare.googleapis.com/ConsentStore"
View Source
const HealthcareConsentStoreIAMAssetType string = "healthcare.googleapis.com/ConsentStore"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const HealthcareDatasetAssetType string = "healthcare.googleapis.com/Dataset"
View Source
const HealthcareDicomStoreAssetType string = "healthcare.googleapis.com/DicomStore"
View Source
const HealthcareFhirStoreAssetType string = "healthcare.googleapis.com/FhirStore"
View Source
const HealthcareHl7V2StoreAssetType string = "healthcare.googleapis.com/Hl7V2Store"
View Source
const IAMBasePathKey = "IAM"
View Source
const IamCredentialsBasePathKey = "IamCredentials"
View Source
const IapBasePathKey = "Iap"
View Source
const IapBrandAssetType string = "iap.googleapis.com/Brand"
View Source
const IapClientAssetType string = "iap.googleapis.com/Client"
View Source
const IapTunnelIAMAssetType string = "iap.googleapis.com/Tunnel"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const IapTunnelInstanceIAMAssetType string = "iap.googleapis.com/TunnelInstance"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const IapWebIAMAssetType string = "iap.googleapis.com/Web"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const IdentityPlatformBasePathKey = "IdentityPlatform"
View Source
const IdentityPlatformDefaultSupportedIdpConfigAssetType string = "identitytoolkit.googleapis.com/DefaultSupportedIdpConfig"
View Source
const IdentityPlatformInboundSamlConfigAssetType string = "identitytoolkit.googleapis.com/InboundSamlConfig"
View Source
const IdentityPlatformOauthIdpConfigAssetType string = "identitytoolkit.googleapis.com/OauthIdpConfig"
View Source
const IdentityPlatformTenantAssetType string = "identitytoolkit.googleapis.com/Tenant"
View Source
const IdentityPlatformTenantDefaultSupportedIdpConfigAssetType string = "identitytoolkit.googleapis.com/TenantDefaultSupportedIdpConfig"
View Source
const IdentityPlatformTenantInboundSamlConfigAssetType string = "identitytoolkit.googleapis.com/TenantInboundSamlConfig"
View Source
const IdentityPlatformTenantOauthIdpConfigAssetType string = "identitytoolkit.googleapis.com/TenantOauthIdpConfig"
View Source
const KMSBasePathKey = "KMS"
View Source
const KMSCryptoKeyAssetType string = "cloudkms.googleapis.com/CryptoKey"
View Source
const KMSKeyRingAssetType string = "cloudkms.googleapis.com/KeyRing"
View Source
const KMSKeyRingImportJobAssetType string = "cloudkms.googleapis.com/KeyRingImportJob"
View Source
const LoggingBasePathKey = "Logging"
View Source
const LoggingMetricAssetType string = "logging.googleapis.com/Metric"
View Source
const METADATA_FINGERPRINT_RETRIES = 10
View Source
const MLEngineBasePathKey = "MLEngine"
View Source
const MLEngineModelAssetType string = "ml.googleapis.com/Model"
View Source
const MemcacheBasePathKey = "Memcache"
View Source
const MemcacheInstanceAssetType string = "memcache.googleapis.com/Instance"
View Source
const MonitoringAlertPolicyAssetType string = "monitoring.googleapis.com/AlertPolicy"
View Source
const MonitoringBasePathKey = "Monitoring"
View Source
const MonitoringGroupAssetType string = "monitoring.googleapis.com/Group"
View Source
const MonitoringMetricDescriptorAssetType string = "monitoring.googleapis.com/MetricDescriptor"
View Source
const MonitoringNotificationChannelAssetType string = "monitoring.googleapis.com/NotificationChannel"
View Source
const MonitoringServiceAssetType string = "monitoring.googleapis.com/Service"
View Source
const MonitoringSloAssetType string = "monitoring.googleapis.com/Slo"
View Source
const MonitoringUptimeCheckConfigAssetType string = "monitoring.googleapis.com/UptimeCheckConfig"
View Source
const NetworkManagementBasePathKey = "NetworkManagement"
View Source
const NetworkServicesBasePathKey = "NetworkServices"
View Source
const NetworkServicesEdgeCacheKeysetAssetType string = "networkservices.googleapis.com/EdgeCacheKeyset"
View Source
const NetworkServicesEdgeCacheOriginAssetType string = "networkservices.googleapis.com/EdgeCacheOrigin"
View Source
const NetworkServicesEdgeCacheServiceAssetType string = "networkservices.googleapis.com/EdgeCacheService"
View Source
const NotebooksBasePathKey = "Notebooks"
View Source
const NotebooksEnvironmentAssetType string = "notebooks.googleapis.com/Environment"
View Source
const NotebooksInstanceAssetType string = "notebooks.googleapis.com/Instance"
View Source
const NotebooksInstanceIAMAssetType string = "notebooks.googleapis.com/Instance"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const NotebooksLocationAssetType string = "notebooks.googleapis.com/Location"
View Source
const OSConfigBasePathKey = "OSConfig"
View Source
const OSConfigPatchDeploymentAssetType string = "osconfig.googleapis.com/PatchDeployment"
View Source
const OSLoginBasePathKey = "OSLogin"
View Source
const OSLoginSSHPublicKeyAssetType string = "oslogin.googleapis.com/SSHPublicKey"
View Source
const PrivatecaBasePathKey = "Privateca"
View Source
const PrivatecaCaPoolAssetType string = "privateca.googleapis.com/CaPool"
View Source
const PrivatecaCaPoolIAMAssetType string = "privateca.googleapis.com/CaPool"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const PrivatecaCertificateAssetType string = "privateca.googleapis.com/Certificate"
View Source
const PrivatecaCertificateAuthorityAssetType string = "privateca.googleapis.com/CertificateAuthority"
View Source
const PubsubBasePathKey = "Pubsub"
View Source
const PubsubLiteBasePathKey = "PubsubLite"
View Source
const PubsubLiteReservationAssetType string = "{{region}}-pubsublite.googleapis.com/Reservation"
View Source
const PubsubLiteSubscriptionAssetType string = "{{region}}-pubsublite.googleapis.com/Subscription"
View Source
const PubsubLiteTopicAssetType string = "{{region}}-pubsublite.googleapis.com/Topic"
View Source
const PubsubSchemaAssetType string = "pubsub.googleapis.com/Schema"
View Source
const PubsubSubscriptionAssetType string = "pubsub.googleapis.com/Subscription"
View Source
const PubsubTopicAssetType string = "pubsub.googleapis.com/Topic"
View Source
const PubsubTopicIAMAssetType string = "pubsub.googleapis.com/Topic"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const PubsubTopicRegex = "projects\\/.*\\/topics\\/.*"
View Source
const RedisBasePathKey = "Redis"
View Source
const RedisInstanceAssetType string = "redis.googleapis.com/Instance"
View Source
const ResourceManagerBasePathKey = "ResourceManager"
View Source
const ResourceManagerLienAssetType string = "cloudresourcemanager.googleapis.com/Lien"
View Source
const ResourceManagerV2BasePathKey = "ResourceManagerV2"
View Source
const RuntimeConfigBasePathKey = "RuntimeConfig"
View Source
const SQLBasePathKey = "SQL"
View Source
const SQLDatabaseAssetType string = "sqladmin.googleapis.com/Database"
View Source
const SQLDatabaseInstanceAssetType string = "sqladmin.googleapis.com/Instance"
View Source
const SQLSourceRepresentationInstanceAssetType string = "sqladmin.googleapis.com/SourceRepresentationInstance"
View Source
const SecretManagerBasePathKey = "SecretManager"
View Source
const SecretManagerSecretAssetType string = "secretmanager.googleapis.com/Secret"
View Source
const SecretManagerSecretIAMAssetType string = "secretmanager.googleapis.com/Secret"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const SecretManagerSecretVersionAssetType string = "secretmanager.googleapis.com/SecretVersion"
View Source
const SecurityCenterBasePathKey = "SecurityCenter"
View Source
const SecurityCenterNotificationConfigAssetType string = "securitycenter.googleapis.com/NotificationConfig"
View Source
const SecurityCenterSourceAssetType string = "securitycenter.googleapis.com/Source"
View Source
const ServiceManagementBasePathKey = "ServiceManagement"
View Source
const ServiceManagementServiceIAMAssetType string = "servicemanagement.googleapis.com/Service"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const ServiceNetworkingBasePathKey = "ServiceNetworking"
View Source
const ServiceUsageAssetType string = "serviceusage.googleapis.com/Service"
View Source
const ServiceUsageBasePathKey = "ServiceUsage"
View Source
const SourceRepoBasePathKey = "SourceRepo"
View Source
const SpannerBasePathKey = "Spanner"
View Source
const SpannerDatabaseAssetType string = "spanner.googleapis.com/Database"
View Source
const SpannerInstanceAssetType string = "spanner.googleapis.com/Instance"
View Source
const StorageBasePathKey = "Storage"
View Source
const StorageBucketAccessControlAssetType string = "storage.googleapis.com/BucketAccessControl"
View Source
const StorageBucketAssetType string = "storage.googleapis.com/Bucket"
View Source
const StorageBucketIAMAssetType string = "storage.googleapis.com/Bucket"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const StorageDefaultObjectAccessControlAssetType string = "storage.googleapis.com/DefaultObjectAccessControl"
View Source
const StorageHmacKeyAssetType string = "storage.googleapis.com/HmacKey"
View Source
const StorageObjectAccessControlAssetType string = "storage.googleapis.com/ObjectAccessControl"
View Source
const StorageTransferBasePathKey = "StorageTransfer"
View Source
const TPUBasePathKey = "TPU"
View Source
const TPUNodeAssetType string = "tpu.googleapis.com/Node"
View Source
const TagsBasePathKey = "Tags"
View Source
const TagsTagBindingAssetType string = "cloudresourcemanager.googleapis.com/TagBinding"
View Source
const VPCAccessBasePathKey = "VPCAccess"
View Source
const VPCAccessConnectorAssetType string = "vpcaccess.googleapis.com/Connector"
View Source
const VertexAIBasePathKey = "VertexAI"
View Source
const VertexAIDatasetAssetType string = "{{region}}-aiplatform.googleapis.com/Dataset"
View Source
const WorkflowsBasePathKey = "Workflows"
View Source
const WorkflowsWorkflowAssetType string = "workflows.googleapis.com/Workflow"

Variables ¶

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 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 BigtableAdminCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_BIGTABLE_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[BigtableAdminBasePathKey]),
}
View Source
var BigtableAdminCustomEndpointEntryKey = "bigtable_custom_endpoint"
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 CloudBillingCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_CLOUD_BILLING_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[CloudBillingBasePathKey]),
}
View Source
var CloudBillingCustomEndpointEntryKey = "cloud_billing_custom_endpoint"
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 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 ComposerCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_COMPOSER_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[ComposerBasePathKey]),
}
View Source
var ComposerCustomEndpointEntryKey = "composer_custom_endpoint"
View Source
var ComputeBetaCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_COMPUTE_BETA_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[ComputeBetaBasePathKey]),
}
View Source
var ComputeBetaCustomEndpointEntryKey = "compute_beta_custom_endpoint"
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 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 ContainerBetaCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_CONTAINER_BETA_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[ContainerBetaBasePathKey]),
}
View Source
var ContainerBetaCustomEndpointEntryKey = "container_beta_custom_endpoint"
View Source
var ContainerCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_CONTAINER_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[ContainerBasePathKey]),
}
View Source
var ContainerCustomEndpointEntryKey = "container_custom_endpoint"
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 DataCatalogTagTemplateIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"region": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"tag_template": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var DataflowCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_DATAFLOW_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[DataflowBasePathKey]),
}
View Source
var DataflowCustomEndpointEntryKey = "dataflow_custom_endpoint"
View Source
var DataprocBetaCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_DATAPROC_BETA_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[DataprocBetaBasePathKey]),
}
View Source
var DataprocBetaCustomEndpointEntryKey = "dataproc_beta_custom_endpoint"
View Source
var DefaultBasePaths = map[string]string{
	AccessApprovalBasePathKey:       "https://accessapproval.googleapis.com/v1/",
	AccessContextManagerBasePathKey: "https://accesscontextmanager.googleapis.com/v1/",
	ActiveDirectoryBasePathKey:      "https://managedidentities.googleapis.com/v1/",
	ApigeeBasePathKey:               "https://apigee.googleapis.com/v1/",
	AppEngineBasePathKey:            "https://appengine.googleapis.com/v1/",
	BigQueryBasePathKey:             "https://bigquery.googleapis.com/bigquery/v2/",
	BigqueryDataTransferBasePathKey: "https://bigquerydatatransfer.googleapis.com/v1/",
	BigqueryReservationBasePathKey:  "https://bigqueryreservation.googleapis.com/v1/",
	BigtableBasePathKey:             "https://bigtableadmin.googleapis.com/v2/",
	BillingBasePathKey:              "https://billingbudgets.googleapis.com/v1/",
	BinaryAuthorizationBasePathKey:  "https://binaryauthorization.googleapis.com/v1/",
	CloudAssetBasePathKey:           "https://cloudasset.googleapis.com/v1/",
	CloudBuildBasePathKey:           "https://cloudbuild.googleapis.com/v1/",
	CloudFunctionsBasePathKey:       "https://cloudfunctions.googleapis.com/v1/",
	CloudIdentityBasePathKey:        "https://cloudidentity.googleapis.com/v1/",
	CloudIotBasePathKey:             "https://cloudiot.googleapis.com/v1/",
	CloudRunBasePathKey:             "https://{{location}}-run.googleapis.com/",
	CloudSchedulerBasePathKey:       "https://cloudscheduler.googleapis.com/v1/",
	CloudTasksBasePathKey:           "https://cloudtasks.googleapis.com/v2/",
	ComputeBasePathKey:              "https://compute.googleapis.com/compute/v1/",
	ContainerAnalysisBasePathKey:    "https://containeranalysis.googleapis.com/v1/",
	DataCatalogBasePathKey:          "https://datacatalog.googleapis.com/v1/",
	DataLossPreventionBasePathKey:   "https://dlp.googleapis.com/v2/",
	DataprocBasePathKey:             "https://dataproc.googleapis.com/v1/",
	DatastoreBasePathKey:            "https://datastore.googleapis.com/v1/",
	DeploymentManagerBasePathKey:    "https://www.googleapis.com/deploymentmanager/v2/",
	DialogflowBasePathKey:           "https://dialogflow.googleapis.com/v2/",
	DialogflowCXBasePathKey:         "https://dialogflow.googleapis.com/v3/",
	DNSBasePathKey:                  "https://dns.googleapis.com/dns/v1/",
	EssentialContactsBasePathKey:    "https://essentialcontacts.googleapis.com/v1/",
	FilestoreBasePathKey:            "https://file.googleapis.com/v1/",
	FirestoreBasePathKey:            "https://firestore.googleapis.com/v1/",
	GameServicesBasePathKey:         "https://gameservices.googleapis.com/v1/",
	GKEHubBasePathKey:               "https://gkehub.googleapis.com/v1/",
	HealthcareBasePathKey:           "https://healthcare.googleapis.com/v1/",
	IapBasePathKey:                  "https://iap.googleapis.com/v1/",
	IdentityPlatformBasePathKey:     "https://identitytoolkit.googleapis.com/v2/",
	KMSBasePathKey:                  "https://cloudkms.googleapis.com/v1/",
	LoggingBasePathKey:              "https://logging.googleapis.com/v2/",
	MemcacheBasePathKey:             "https://memcache.googleapis.com/v1/",
	MLEngineBasePathKey:             "https://ml.googleapis.com/v1/",
	MonitoringBasePathKey:           "https://monitoring.googleapis.com/",
	NetworkManagementBasePathKey:    "https://networkmanagement.googleapis.com/v1/",
	NetworkServicesBasePathKey:      "https://networkservices.googleapis.com/v1/",
	NotebooksBasePathKey:            "https://notebooks.googleapis.com/v1/",
	OSConfigBasePathKey:             "https://osconfig.googleapis.com/v1/",
	OSLoginBasePathKey:              "https://oslogin.googleapis.com/v1/",
	PrivatecaBasePathKey:            "https://privateca.googleapis.com/v1/",
	PubsubBasePathKey:               "https://pubsub.googleapis.com/v1/",
	PubsubLiteBasePathKey:           "https://{{region}}-pubsublite.googleapis.com/v1/admin/",
	RedisBasePathKey:                "https://redis.googleapis.com/v1/",
	ResourceManagerBasePathKey:      "https://cloudresourcemanager.googleapis.com/v1/",
	RuntimeConfigBasePathKey:        "https://runtimeconfig.googleapis.com/v1beta1/",
	SecretManagerBasePathKey:        "https://secretmanager.googleapis.com/v1/",
	SecurityCenterBasePathKey:       "https://securitycenter.googleapis.com/v1/",
	ServiceManagementBasePathKey:    "https://servicemanagement.googleapis.com/v1/",
	ServiceUsageBasePathKey:         "https://serviceusage.googleapis.com/v1/",
	SourceRepoBasePathKey:           "https://sourcerepo.googleapis.com/v1/",
	SpannerBasePathKey:              "https://spanner.googleapis.com/v1/",
	SQLBasePathKey:                  "https://sqladmin.googleapis.com/sql/v1beta4/",
	StorageBasePathKey:              "https://storage.googleapis.com/storage/v1/",
	TagsBasePathKey:                 "https://cloudresourcemanager.googleapis.com/v3/",
	TPUBasePathKey:                  "https://tpu.googleapis.com/v1/",
	VertexAIBasePathKey:             "https://{{region}}-aiplatform.googleapis.com/v1/",
	VPCAccessBasePathKey:            "https://vpcaccess.googleapis.com/v1/",
	WorkflowsBasePathKey:            "https://workflows.googleapis.com/v1/",
	CloudBillingBasePathKey:         "https://cloudbilling.googleapis.com/v1/",
	ComposerBasePathKey:             "https://composer.googleapis.com/v1/",
	ComputeBetaBasePathKey:          "https://www.googleapis.com/compute/beta/",
	ContainerBasePathKey:            "https://container.googleapis.com/v1/",
	ContainerBetaBasePathKey:        "https://container.googleapis.com/v1beta1/",
	DataprocBetaBasePathKey:         "https://dataproc.googleapis.com/v1beta2/",
	DataflowBasePathKey:             "https://dataflow.googleapis.com/v1b3/",
	IAMBasePathKey:                  "https://iam.googleapis.com/v1/",
	IamCredentialsBasePathKey:       "https://iamcredentials.googleapis.com/v1/",
	ResourceManagerV2BasePathKey:    "https://cloudresourcemanager.googleapis.com/v2/",
	ServiceNetworkingBasePathKey:    "https://servicenetworking.googleapis.com/v1/",
	StorageTransferBasePathKey:      "https://storagetransfer.googleapis.com/v1/",
	BigtableAdminBasePathKey:        "https://bigtableadmin.googleapis.com/v2/",
	GkeHubFeatureBasePathKey:        "https://gkehub.googleapis.com/v1beta/",
}

Generated product base paths

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 ErrEmptyIdentityField = errors.New("empty identity field")

ErrEmptyIdentityField can be returned when fetching a resource is not possible due to the identity field of that resource returning empty.

View Source
var ErrLackingReadPermission = errors.New("lacking read permissions")

ErrLackingReadPermissions can be returned when fetching a resource is not possible due to the user not having read permissions.

View Source
var ErrNoConversion = errors.New("no conversion")

ErrNoConversion can be returned if a conversion is unable to be returned because of the current state of the system. Example: The conversion requires that the resource has already been created and is now being updated).

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 GkeHubFeatureCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_GKEHUB_FEATURE_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[GkeHubFeatureBasePathKey]),
}
View Source
var GkeHubFeatureCustomEndpointEntryKey = "gkehub_feature_custom_endpoint"

GkeHubFeature uses a different base path "v1beta" than GkeHubMembership "v1beta1"

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 IAMCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_IAM_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[IAMBasePathKey]),
}
View Source
var IAMCustomEndpointEntryKey = "iam_custom_endpoint"
View Source
var IamCredentialsCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_IAM_CREDENTIALS_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[IamCredentialsBasePathKey]),
}
View Source
var IamCredentialsCustomEndpointEntryKey = "iam_credentials_custom_endpoint"
View Source
var IamFolderSchema = map[string]*schema.Schema{
	"folder": {
		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 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 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 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 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 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 PrivatecaCaPoolIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"location": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"ca_pool": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var PrivatecaCertificateTemplateCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_PRIVATECA_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[PrivatecaBasePathKey]),
}
View Source
var PrivatecaCertificateTemplateEndpointEntryKey = "privateca_custom_endpoint"
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 ResourceManagerV2CustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_RESOURCE_MANAGER_V2_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[ResourceManagerV2BasePathKey]),
}
View Source
var ResourceManagerV2CustomEndpointEntryKey = "resource_manager_v2_custom_endpoint"
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",
	}, DefaultBasePaths[RuntimeConfigBasePathKey]),
}
View Source
var RuntimeConfigCustomEndpointEntryKey = "runtimeconfig_custom_endpoint"
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 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",
	}, DefaultBasePaths[ServiceNetworkingBasePathKey]),
}
View Source
var ServiceNetworkingCustomEndpointEntryKey = "service_networking_custom_endpoint"
View Source
var ServiceUsageCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_SERVICE_USAGE_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[ServiceUsageBasePathKey]),
}
View Source
var ServiceUsageCustomEndpointEntryKey = "service_usage_custom_endpoint"
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 StorageBucketIamSchema = map[string]*schema.Schema{
	"bucket": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: StorageBucketDiffSuppress,
	},
}
View Source
var StorageTransferCustomEndpointEntry = &schema.Schema{
	Type:         schema.TypeString,
	Optional:     true,
	ValidateFunc: validateCustomEndpoint,
	DefaultFunc: schema.MultiEnvDefaultFunc([]string{
		"GOOGLE_STORAGE_TRANSFER_CUSTOM_ENDPOINT",
	}, DefaultBasePaths[StorageTransferBasePathKey]),
}
View Source
var StorageTransferCustomEndpointEntryKey = "storage_transfer_custom_endpoint"
View Source
var TagsTagKeyIamSchema = map[string]*schema.Schema{
	"tag_key": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}
View Source
var TagsTagValueIamSchema = map[string]*schema.Schema{
	"tag_value": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: compareSelfLinkOrResourceName,
	},
}

Functions ¶

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

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

func ClientWithAdditionalRetries ¶

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

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

func CloudFunctionsCloudFunctionIdParseFunc ¶

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

func CloudRunServiceIdParseFunc ¶

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

func CommonRefreshFunc ¶

func CommonRefreshFunc(w Waiter) resource.StateRefreshFunc

func ComputeDiskIdParseFunc ¶

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

func ComputeImageIdParseFunc ¶

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

func ComputeInstanceIdParseFunc ¶

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

func ComputeRegionDiskIdParseFunc ¶

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

func ComputeSubnetworkIdParseFunc ¶

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

func ConfigureBasePaths ¶

func ConfigureBasePaths(c *Config)

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

func Convert ¶

func Convert(item, out interface{}) error

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

func ConvertSelfLinkToV1 ¶

func 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 DataCatalogTagTemplateIdParseFunc ¶

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

func FolderIdParseFunc ¶

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

func GetAccessApprovalFolderSettingsApiObject ¶

func GetAccessApprovalFolderSettingsApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAccessApprovalOrganizationSettingsApiObject ¶

func GetAccessApprovalOrganizationSettingsApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAccessApprovalProjectSettingsApiObject ¶

func GetAccessApprovalProjectSettingsApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAccessContextManagerAccessLevelApiObject ¶

func GetAccessContextManagerAccessLevelApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAccessContextManagerAccessLevelsApiObject ¶

func GetAccessContextManagerAccessLevelsApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAccessContextManagerAccessPolicyApiObject ¶

func GetAccessContextManagerAccessPolicyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAccessContextManagerServicePerimeterApiObject ¶

func GetAccessContextManagerServicePerimeterApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAccessContextManagerServicePerimetersApiObject ¶

func GetAccessContextManagerServicePerimetersApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetActiveDirectoryDomainApiObject ¶

func GetActiveDirectoryDomainApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetActiveDirectoryDomainTrustApiObject ¶

func GetActiveDirectoryDomainTrustApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetApigeeEnvgroupApiObject ¶

func GetApigeeEnvgroupApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetApigeeEnvgroupAttachmentApiObject ¶

func GetApigeeEnvgroupAttachmentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetApigeeEnvironmentApiObject ¶

func GetApigeeEnvironmentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetApigeeInstanceApiObject ¶

func GetApigeeInstanceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetApigeeInstanceAttachmentApiObject ¶

func GetApigeeInstanceAttachmentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetApigeeOrganizationApiObject ¶

func GetApigeeOrganizationApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAppEngineApplicationUrlDispatchRulesApiObject ¶

func GetAppEngineApplicationUrlDispatchRulesApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAppEngineDomainMappingApiObject ¶

func GetAppEngineDomainMappingApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAppEngineFirewallRuleApiObject ¶

func GetAppEngineFirewallRuleApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAppEngineFlexibleAppVersionApiObject ¶

func GetAppEngineFlexibleAppVersionApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAppEngineServiceNetworkSettingsApiObject ¶

func GetAppEngineServiceNetworkSettingsApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAppEngineServiceSplitTrafficApiObject ¶

func GetAppEngineServiceSplitTrafficApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetAppEngineStandardAppVersionApiObject ¶

func GetAppEngineStandardAppVersionApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetBigQueryDatasetApiObject ¶

func GetBigQueryDatasetApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetBigQueryJobApiObject ¶

func GetBigQueryJobApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetBigQueryRoutineApiObject ¶

func GetBigQueryRoutineApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetBigQueryTableApiObject ¶

func GetBigQueryTableApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetBigqueryDataTransferConfigApiObject ¶

func GetBigqueryDataTransferConfigApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetBigqueryReservationReservationApiObject ¶

func GetBigqueryReservationReservationApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetBigtableAppProfileApiObject ¶

func GetBigtableAppProfileApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetBigtableClusterApiObjects ¶

func GetBigtableClusterApiObjects(d TerraformResourceData, config *Config) ([]map[string]interface{}, error)

func GetBigtableInstanceApiObject ¶

func GetBigtableInstanceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetBillingBudgetApiObject ¶

func GetBillingBudgetApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetBinaryAuthorizationAttestorApiObject ¶

func GetBinaryAuthorizationAttestorApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetBinaryAuthorizationPolicyApiObject ¶

func GetBinaryAuthorizationPolicyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCertificateManagerCertificateApiObject ¶

func GetCertificateManagerCertificateApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCertificateManagerDnsAuthorizationApiObject ¶

func GetCertificateManagerDnsAuthorizationApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudAssetFolderFeedApiObject ¶

func GetCloudAssetFolderFeedApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudAssetOrganizationFeedApiObject ¶

func GetCloudAssetOrganizationFeedApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudAssetProjectFeedApiObject ¶

func GetCloudAssetProjectFeedApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudBuildTriggerApiObject ¶

func GetCloudBuildTriggerApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudFunctionsFunctionApiObject ¶

func GetCloudFunctionsFunctionApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudIdentityGroupApiObject ¶

func GetCloudIdentityGroupApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudIdentityGroupMembershipApiObject ¶

func GetCloudIdentityGroupMembershipApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudIotDeviceApiObject ¶

func GetCloudIotDeviceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudIotDeviceRegistryApiObject ¶

func GetCloudIotDeviceRegistryApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudRunDomainMappingApiObject ¶

func GetCloudRunDomainMappingApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudRunServiceApiObject ¶

func GetCloudRunServiceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudSchedulerJobApiObject ¶

func GetCloudSchedulerJobApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCloudTasksQueueApiObject ¶

func GetCloudTasksQueueApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeAddressApiObject ¶

func GetComputeAddressApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeAutoscalerApiObject ¶

func GetComputeAutoscalerApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeBackendBucketApiObject ¶

func GetComputeBackendBucketApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeBackendServiceApiObject ¶

func GetComputeBackendServiceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeDiskApiObject ¶

func GetComputeDiskApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeDiskResourcePolicyAttachmentApiObject ¶

func GetComputeDiskResourcePolicyAttachmentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeExternalVpnGatewayApiObject ¶

func GetComputeExternalVpnGatewayApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeFirewallApiObject ¶

func GetComputeFirewallApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeForwardingRuleApiObject ¶

func GetComputeForwardingRuleApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeGlobalAddressApiObject ¶

func GetComputeGlobalAddressApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeGlobalForwardingRuleApiObject ¶

func GetComputeGlobalForwardingRuleApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeGlobalNetworkEndpointGroupApiObject ¶

func GetComputeGlobalNetworkEndpointGroupApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeHaVpnGatewayApiObject ¶

func GetComputeHaVpnGatewayApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeHealthCheckApiObject ¶

func GetComputeHealthCheckApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeHttpHealthCheckApiObject ¶

func GetComputeHttpHealthCheckApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeHttpsHealthCheckApiObject ¶

func GetComputeHttpsHealthCheckApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeImageApiObject ¶

func GetComputeImageApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeInstanceApiObject ¶

func GetComputeInstanceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeInstanceGroupNamedPortApiObject ¶

func GetComputeInstanceGroupNamedPortApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeInterconnectAttachmentApiObject ¶

func GetComputeInterconnectAttachmentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeManagedSslCertificateApiObject ¶

func GetComputeManagedSslCertificateApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeNetworkApiObject ¶

func GetComputeNetworkApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeNetworkEndpointGroupApiObject ¶

func GetComputeNetworkEndpointGroupApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeNetworkPeeringRoutesConfigApiObject ¶

func GetComputeNetworkPeeringRoutesConfigApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeNodeGroupApiObject ¶

func GetComputeNodeGroupApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeNodeTemplateApiObject ¶

func GetComputeNodeTemplateApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputePacketMirroringApiObject ¶

func GetComputePacketMirroringApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRegionAutoscalerApiObject ¶

func GetComputeRegionAutoscalerApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRegionBackendServiceApiObject ¶

func GetComputeRegionBackendServiceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRegionDiskApiObject ¶

func GetComputeRegionDiskApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRegionDiskResourcePolicyAttachmentApiObject ¶

func GetComputeRegionDiskResourcePolicyAttachmentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRegionHealthCheckApiObject ¶

func GetComputeRegionHealthCheckApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRegionNetworkEndpointGroupApiObject ¶

func GetComputeRegionNetworkEndpointGroupApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRegionSslCertificateApiObject ¶

func GetComputeRegionSslCertificateApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRegionTargetHttpProxyApiObject ¶

func GetComputeRegionTargetHttpProxyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRegionTargetHttpsProxyApiObject ¶

func GetComputeRegionTargetHttpsProxyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRegionUrlMapApiObject ¶

func GetComputeRegionUrlMapApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeReservationApiObject ¶

func GetComputeReservationApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeResourcePolicyApiObject ¶

func GetComputeResourcePolicyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRouteApiObject ¶

func GetComputeRouteApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeRouterApiObject ¶

func GetComputeRouterApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeServiceAttachmentApiObject ¶

func GetComputeServiceAttachmentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeSnapshotApiObject ¶

func GetComputeSnapshotApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeSslCertificateApiObject ¶

func GetComputeSslCertificateApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeSslPolicyApiObject ¶

func GetComputeSslPolicyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeSubnetworkApiObject ¶

func GetComputeSubnetworkApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeTargetGrpcProxyApiObject ¶

func GetComputeTargetGrpcProxyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeTargetHttpProxyApiObject ¶

func GetComputeTargetHttpProxyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeTargetHttpsProxyApiObject ¶

func GetComputeTargetHttpsProxyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeTargetInstanceApiObject ¶

func GetComputeTargetInstanceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeTargetSslProxyApiObject ¶

func GetComputeTargetSslProxyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeTargetTcpProxyApiObject ¶

func GetComputeTargetTcpProxyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeUrlMapApiObject ¶

func GetComputeUrlMapApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeVpnGatewayApiObject ¶

func GetComputeVpnGatewayApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetComputeVpnTunnelApiObject ¶

func GetComputeVpnTunnelApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetContainerAnalysisNoteApiObject ¶

func GetContainerAnalysisNoteApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetContainerAnalysisOccurrenceApiObject ¶

func GetContainerAnalysisOccurrenceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetContainerClusterApiObject ¶

func GetContainerClusterApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetContainerNodePoolApiObject ¶

func GetContainerNodePoolApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetCurrentUserEmail ¶

func GetCurrentUserEmail(config *Config, userAgent string) (string, error)

func GetDNSManagedZoneApiObject ¶

func GetDNSManagedZoneApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDNSPolicyApiObject ¶

func GetDNSPolicyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDNSResourceDnsRecordSetApiObject ¶

func GetDNSResourceDnsRecordSetApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDataCatalogEntryApiObject ¶

func GetDataCatalogEntryApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDataCatalogEntryGroupApiObject ¶

func GetDataCatalogEntryGroupApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDataCatalogTagApiObject ¶

func GetDataCatalogTagApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDataCatalogTagTemplateApiObject ¶

func GetDataCatalogTagTemplateApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDataLossPreventionDeidentifyTemplateApiObject ¶

func GetDataLossPreventionDeidentifyTemplateApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDataLossPreventionInspectTemplateApiObject ¶

func GetDataLossPreventionInspectTemplateApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDataLossPreventionJobTriggerApiObject ¶

func GetDataLossPreventionJobTriggerApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDataLossPreventionStoredInfoTypeApiObject ¶

func GetDataLossPreventionStoredInfoTypeApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDataprocAutoscalingPolicyApiObject ¶

func GetDataprocAutoscalingPolicyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDatastoreIndexApiObject ¶

func GetDatastoreIndexApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDeploymentManagerDeploymentApiObject ¶

func GetDeploymentManagerDeploymentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDialogflowAgentApiObject ¶

func GetDialogflowAgentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDialogflowCXAgentApiObject ¶

func GetDialogflowCXAgentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDialogflowCXEntityTypeApiObject ¶

func GetDialogflowCXEntityTypeApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDialogflowCXEnvironmentApiObject ¶

func GetDialogflowCXEnvironmentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDialogflowCXFlowApiObject ¶

func GetDialogflowCXFlowApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDialogflowCXIntentApiObject ¶

func GetDialogflowCXIntentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDialogflowCXPageApiObject ¶

func GetDialogflowCXPageApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDialogflowCXVersionApiObject ¶

func GetDialogflowCXVersionApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDialogflowEntityTypeApiObject ¶

func GetDialogflowEntityTypeApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDialogflowFulfillmentApiObject ¶

func GetDialogflowFulfillmentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetDialogflowIntentApiObject ¶

func GetDialogflowIntentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetEssentialContactsContactApiObject ¶

func GetEssentialContactsContactApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetFilestoreInstanceApiObject ¶

func GetFilestoreInstanceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetFirestoreDocumentApiObject ¶

func GetFirestoreDocumentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetFirestoreIndexApiObject ¶

func GetFirestoreIndexApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetGKEHubMembershipApiObject ¶

func GetGKEHubMembershipApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetGameServicesGameServerClusterApiObject ¶

func GetGameServicesGameServerClusterApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetGameServicesGameServerConfigApiObject ¶

func GetGameServicesGameServerConfigApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetGameServicesGameServerDeploymentApiObject ¶

func GetGameServicesGameServerDeploymentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetGameServicesGameServerDeploymentRolloutApiObject ¶

func GetGameServicesGameServerDeploymentRolloutApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetGameServicesRealmApiObject ¶

func GetGameServicesRealmApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetHealthcareConsentStoreApiObject ¶

func GetHealthcareConsentStoreApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetHealthcareDatasetApiObject ¶

func GetHealthcareDatasetApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetHealthcareDicomStoreApiObject ¶

func GetHealthcareDicomStoreApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetHealthcareFhirStoreApiObject ¶

func GetHealthcareFhirStoreApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetHealthcareHl7V2StoreApiObject ¶

func GetHealthcareHl7V2StoreApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetIapBrandApiObject ¶

func GetIapBrandApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetIapClientApiObject ¶

func GetIapClientApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetIdentityPlatformDefaultSupportedIdpConfigApiObject ¶

func GetIdentityPlatformDefaultSupportedIdpConfigApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetIdentityPlatformInboundSamlConfigApiObject ¶

func GetIdentityPlatformInboundSamlConfigApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetIdentityPlatformOauthIdpConfigApiObject ¶

func GetIdentityPlatformOauthIdpConfigApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetIdentityPlatformTenantApiObject ¶

func GetIdentityPlatformTenantApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetIdentityPlatformTenantDefaultSupportedIdpConfigApiObject ¶

func GetIdentityPlatformTenantDefaultSupportedIdpConfigApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetIdentityPlatformTenantInboundSamlConfigApiObject ¶

func GetIdentityPlatformTenantInboundSamlConfigApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetIdentityPlatformTenantOauthIdpConfigApiObject ¶

func GetIdentityPlatformTenantOauthIdpConfigApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetKMSCryptoKeyApiObject ¶

func GetKMSCryptoKeyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetKMSKeyRingApiObject ¶

func GetKMSKeyRingApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetKMSKeyRingImportJobApiObject ¶

func GetKMSKeyRingImportJobApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, 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 GetLoggingMetricApiObject ¶

func GetLoggingMetricApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetMLEngineModelApiObject ¶

func GetMLEngineModelApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetMemcacheInstanceApiObject ¶

func GetMemcacheInstanceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetMonitoringAlertPolicyApiObject ¶

func GetMonitoringAlertPolicyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetMonitoringGroupApiObject ¶

func GetMonitoringGroupApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetMonitoringMetricDescriptorApiObject ¶

func GetMonitoringMetricDescriptorApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetMonitoringNotificationChannelApiObject ¶

func GetMonitoringNotificationChannelApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetMonitoringServiceApiObject ¶

func GetMonitoringServiceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetMonitoringSloApiObject ¶

func GetMonitoringSloApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetMonitoringUptimeCheckConfigApiObject ¶

func GetMonitoringUptimeCheckConfigApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetNetworkServicesEdgeCacheKeysetApiObject ¶

func GetNetworkServicesEdgeCacheKeysetApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetNetworkServicesEdgeCacheOriginApiObject ¶

func GetNetworkServicesEdgeCacheOriginApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetNetworkServicesEdgeCacheServiceApiObject ¶

func GetNetworkServicesEdgeCacheServiceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetNotebooksEnvironmentApiObject ¶

func GetNotebooksEnvironmentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetNotebooksInstanceApiObject ¶

func GetNotebooksInstanceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetNotebooksLocationApiObject ¶

func GetNotebooksLocationApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetOSConfigPatchDeploymentApiObject ¶

func GetOSConfigPatchDeploymentApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetOSLoginSSHPublicKeyApiObject ¶

func GetOSLoginSSHPublicKeyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetPrivatecaCaPoolApiObject ¶

func GetPrivatecaCaPoolApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetPrivatecaCertificateApiObject ¶

func GetPrivatecaCertificateApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetPrivatecaCertificateAuthorityApiObject ¶

func GetPrivatecaCertificateAuthorityApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetProjectApiObject ¶

func GetProjectApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetProjectBillingInfoApiObject ¶

func GetProjectBillingInfoApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetPubsubLiteReservationApiObject ¶

func GetPubsubLiteReservationApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetPubsubLiteSubscriptionApiObject ¶

func GetPubsubLiteSubscriptionApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetPubsubLiteTopicApiObject ¶

func GetPubsubLiteTopicApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetPubsubSchemaApiObject ¶

func GetPubsubSchemaApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetPubsubSubscriptionApiObject ¶

func GetPubsubSubscriptionApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetPubsubTopicApiObject ¶

func GetPubsubTopicApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetRedisInstanceApiObject ¶

func GetRedisInstanceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)
func GetRegionFromRegionSelfLink(selfLink string) string

return the region a selfLink is referring to

func GetRegionFromRegionalSelfLink(selfLink string) string

This function supports selflinks that have regions and locations in their paths

func GetRegionalResourcePropertiesFromSelfLinkOrSchema ¶

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

func GetResourceManagerLienApiObject ¶

func GetResourceManagerLienApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)
func GetResourceNameFromSelfLink(link string) string

func GetSQLDatabaseApiObject ¶

func GetSQLDatabaseApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetSQLDatabaseInstanceApiObject ¶

func GetSQLDatabaseInstanceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetSQLSourceRepresentationInstanceApiObject ¶

func GetSQLSourceRepresentationInstanceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetSecretManagerSecretApiObject ¶

func GetSecretManagerSecretApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetSecretManagerSecretVersionApiObject ¶

func GetSecretManagerSecretVersionApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetSecurityCenterNotificationConfigApiObject ¶

func GetSecurityCenterNotificationConfigApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetSecurityCenterSourceApiObject ¶

func GetSecurityCenterSourceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetServiceUsageApiObject ¶

func GetServiceUsageApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetSourceRepoRepositoryApiObject ¶

func GetSourceRepoRepositoryApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetSpannerDatabaseApiObject ¶

func GetSpannerDatabaseApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetSpannerInstanceApiObject ¶

func GetSpannerInstanceApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetStorageBucketAccessControlApiObject ¶

func GetStorageBucketAccessControlApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetStorageBucketApiObject ¶

func GetStorageBucketApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetStorageDefaultObjectAccessControlApiObject ¶

func GetStorageDefaultObjectAccessControlApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetStorageHmacKeyApiObject ¶

func GetStorageHmacKeyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetStorageObjectAccessControlApiObject ¶

func GetStorageObjectAccessControlApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetTPUNodeApiObject ¶

func GetTPUNodeApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetTagsTagBindingApiObject ¶

func GetTagsTagBindingApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetTagsTagKeyApiObject ¶

func GetTagsTagKeyApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetTagsTagValueApiObject ¶

func GetTagsTagValueApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetVPCAccessConnectorApiObject ¶

func GetVPCAccessConnectorApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetVertexAIDatasetApiObject ¶

func GetVertexAIDatasetApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetWorkflowsWorkflowApiObject ¶

func GetWorkflowsWorkflowApiObject(d TerraformResourceData, config *Config) (map[string]interface{}, error)

func GetZonalResourcePropertiesFromSelfLinkOrSchema ¶

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

func HealthcareConsentStoreIdParseFunc ¶

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

func IamWithDeprecationMessage ¶

func IamWithDeprecationMessage(message string) func(s *IamSettings)

func IamWithGAResourceDeprecation ¶

func IamWithGAResourceDeprecation() func(s *IamSettings)

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

func NotebooksInstanceLabelDiffSuppress(k, old, new string, d *schema.ResourceData) bool

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

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

func ProjectIdParseFunc ¶

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

func PubsubTopicIdParseFunc ¶

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

func ResourceConverters ¶

func ResourceConverters() map[string][]ResourceConverter

ResourceConverter returns a map of terraform resource types (i.e. `google_project`) to a slice of ResourceConverters.

Modelling of relationships: terraform resources to CAI assets as []ResourceConverter: 1:1 = [ResourceConverter{Convert: convertAbc}] (len=1) 1:N = [ResourceConverter{Convert: convertAbc}, ...] (len=N) N:1 = [ResourceConverter{Convert: convertAbc, merge: mergeAbc}] (len=1)

func RuntimeConfigConfigIdParseFunc ¶

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

func SecretManagerSecretIdParseFunc ¶

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

func ServiceManagementServiceIdParseFunc ¶

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

func SnakeToPascalCase ¶

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 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.

func TagsTagKeyIdParseFunc ¶

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

func TagsTagValueIdParseFunc ¶

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

Types ¶

type Asset ¶

type Asset struct {
	// The name, in a peculiar format: `\\<api>.googleapis.com/<self_link>`
	Name string `json:"name"`
	// The type name in `google.<api>.<resourcename>` format.
	Type      string         `json:"asset_type"`
	Resource  *AssetResource `json:"resource,omitempty"`
	IAMPolicy *IAMPolicy     `json:"iam_policy,omitempty"`
	OrgPolicy []*OrgPolicy   `json:"org_policy,omitempty"`
}

Asset is the CAI representation of a resource.

func FetchBigQueryTableIamPolicy ¶

func FetchBigQueryTableIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchBinaryAuthorizationAttestorIamPolicy ¶

func FetchBinaryAuthorizationAttestorIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchCloudFunctionsCloudFunctionIamPolicy ¶

func FetchCloudFunctionsCloudFunctionIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchCloudRunServiceIamPolicy ¶

func FetchCloudRunServiceIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchComputeDiskIamPolicy ¶

func FetchComputeDiskIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchComputeImageIamPolicy ¶

func FetchComputeImageIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchComputeInstanceIamPolicy ¶

func FetchComputeInstanceIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchComputeRegionDiskIamPolicy ¶

func FetchComputeRegionDiskIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchComputeSubnetworkIamPolicy ¶

func FetchComputeSubnetworkIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchDataCatalogEntryGroupIamPolicy ¶

func FetchDataCatalogEntryGroupIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchDataCatalogTagTemplateIamPolicy ¶

func FetchDataCatalogTagTemplateIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchFolderIamPolicy ¶

func FetchFolderIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchHealthcareConsentStoreIamPolicy ¶

func FetchHealthcareConsentStoreIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchIapAppEngineServiceIamPolicy ¶

func FetchIapAppEngineServiceIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchIapAppEngineVersionIamPolicy ¶

func FetchIapAppEngineVersionIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchIapTunnelIamPolicy ¶

func FetchIapTunnelIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchIapTunnelInstanceIamPolicy ¶

func FetchIapTunnelInstanceIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchIapWebBackendServiceIamPolicy ¶

func FetchIapWebBackendServiceIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchIapWebIamPolicy ¶

func FetchIapWebIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchIapWebTypeAppEngineIamPolicy ¶

func FetchIapWebTypeAppEngineIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchIapWebTypeComputeIamPolicy ¶

func FetchIapWebTypeComputeIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchKmsCryptoKeyIamPolicy ¶

func FetchKmsCryptoKeyIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchKmsKeyRingIamPolicy ¶

func FetchKmsKeyRingIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchNotebooksInstanceIamPolicy ¶

func FetchNotebooksInstanceIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchOrganizationIamPolicy ¶

func FetchOrganizationIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchPrivatecaCaPoolIamPolicy ¶

func FetchPrivatecaCaPoolIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchProjectIamPolicy ¶

func FetchProjectIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchPubsubTopicIamPolicy ¶

func FetchPubsubTopicIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchRuntimeConfigConfigIamPolicy ¶

func FetchRuntimeConfigConfigIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchSecretManagerSecretIamPolicy ¶

func FetchSecretManagerSecretIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchServiceManagementServiceIamPolicy ¶

func FetchServiceManagementServiceIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchSourceRepoRepositoryIamPolicy ¶

func FetchSourceRepoRepositoryIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchStorageBucketIamPolicy ¶

func FetchStorageBucketIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchTagsTagKeyIamPolicy ¶

func FetchTagsTagKeyIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func FetchTagsTagValueIamPolicy ¶

func FetchTagsTagValueIamPolicy(d TerraformResourceData, config *Config) (Asset, error)

func GetAccessApprovalFolderSettingsCaiObject ¶

func GetAccessApprovalFolderSettingsCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAccessApprovalOrganizationSettingsCaiObject ¶

func GetAccessApprovalOrganizationSettingsCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAccessApprovalProjectSettingsCaiObject ¶

func GetAccessApprovalProjectSettingsCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAccessContextManagerAccessLevelCaiObject ¶

func GetAccessContextManagerAccessLevelCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAccessContextManagerAccessLevelsCaiObject ¶

func GetAccessContextManagerAccessLevelsCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAccessContextManagerAccessPolicyCaiObject ¶

func GetAccessContextManagerAccessPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAccessContextManagerServicePerimeterCaiObject ¶

func GetAccessContextManagerServicePerimeterCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAccessContextManagerServicePerimetersCaiObject ¶

func GetAccessContextManagerServicePerimetersCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetActiveDirectoryDomainCaiObject ¶

func GetActiveDirectoryDomainCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetActiveDirectoryDomainTrustCaiObject ¶

func GetActiveDirectoryDomainTrustCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetApigeeEnvgroupAttachmentCaiObject ¶

func GetApigeeEnvgroupAttachmentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetApigeeEnvgroupCaiObject ¶

func GetApigeeEnvgroupCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetApigeeEnvironmentCaiObject ¶

func GetApigeeEnvironmentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetApigeeInstanceAttachmentCaiObject ¶

func GetApigeeInstanceAttachmentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetApigeeInstanceCaiObject ¶

func GetApigeeInstanceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetApigeeOrganizationCaiObject ¶

func GetApigeeOrganizationCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAppEngineApplicationUrlDispatchRulesCaiObject ¶

func GetAppEngineApplicationUrlDispatchRulesCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAppEngineDomainMappingCaiObject ¶

func GetAppEngineDomainMappingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAppEngineFirewallRuleCaiObject ¶

func GetAppEngineFirewallRuleCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAppEngineFlexibleAppVersionCaiObject ¶

func GetAppEngineFlexibleAppVersionCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAppEngineServiceNetworkSettingsCaiObject ¶

func GetAppEngineServiceNetworkSettingsCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAppEngineServiceSplitTrafficCaiObject ¶

func GetAppEngineServiceSplitTrafficCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetAppEngineStandardAppVersionCaiObject ¶

func GetAppEngineStandardAppVersionCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBigQueryDatasetCaiObject ¶

func GetBigQueryDatasetCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBigQueryJobCaiObject ¶

func GetBigQueryJobCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBigQueryRoutineCaiObject ¶

func GetBigQueryRoutineCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBigQueryTableCaiObject ¶

func GetBigQueryTableCaiObject(d TerraformResourceData, config *Config) (Asset, error)

func GetBigQueryTableIamBindingCaiObject ¶

func GetBigQueryTableIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBigQueryTableIamMemberCaiObject ¶

func GetBigQueryTableIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBigQueryTableIamPolicyCaiObject ¶

func GetBigQueryTableIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBigqueryDataTransferConfigCaiObject ¶

func GetBigqueryDataTransferConfigCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBigqueryReservationReservationCaiObject ¶

func GetBigqueryReservationReservationCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBigtableAppProfileCaiObject ¶

func GetBigtableAppProfileCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBigtableClusterCaiObject ¶

func GetBigtableClusterCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBigtableInstanceCaiObject ¶

func GetBigtableInstanceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBillingBudgetCaiObject ¶

func GetBillingBudgetCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBinaryAuthorizationAttestorCaiObject ¶

func GetBinaryAuthorizationAttestorCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBinaryAuthorizationAttestorIamBindingCaiObject ¶

func GetBinaryAuthorizationAttestorIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBinaryAuthorizationAttestorIamMemberCaiObject ¶

func GetBinaryAuthorizationAttestorIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBinaryAuthorizationAttestorIamPolicyCaiObject ¶

func GetBinaryAuthorizationAttestorIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetBinaryAuthorizationPolicyCaiObject ¶

func GetBinaryAuthorizationPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCertificateManagerCertificateCaiObject ¶

func GetCertificateManagerCertificateCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCertificateManagerDnsAuthorizationCaiObject ¶

func GetCertificateManagerDnsAuthorizationCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudAssetFolderFeedCaiObject ¶

func GetCloudAssetFolderFeedCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudAssetOrganizationFeedCaiObject ¶

func GetCloudAssetOrganizationFeedCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudAssetProjectFeedCaiObject ¶

func GetCloudAssetProjectFeedCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudBuildTriggerCaiObject ¶

func GetCloudBuildTriggerCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudFunctionsCloudFunctionIamBindingCaiObject ¶

func GetCloudFunctionsCloudFunctionIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudFunctionsCloudFunctionIamMemberCaiObject ¶

func GetCloudFunctionsCloudFunctionIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudFunctionsCloudFunctionIamPolicyCaiObject ¶

func GetCloudFunctionsCloudFunctionIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudFunctionsFunctionCaiObject ¶

func GetCloudFunctionsFunctionCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudIdentityGroupCaiObject ¶

func GetCloudIdentityGroupCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudIdentityGroupMembershipCaiObject ¶

func GetCloudIdentityGroupMembershipCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudIotDeviceCaiObject ¶

func GetCloudIotDeviceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudIotDeviceRegistryCaiObject ¶

func GetCloudIotDeviceRegistryCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudRunDomainMappingCaiObject ¶

func GetCloudRunDomainMappingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudRunServiceCaiObject ¶

func GetCloudRunServiceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudRunServiceIamBindingCaiObject ¶

func GetCloudRunServiceIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudRunServiceIamMemberCaiObject ¶

func GetCloudRunServiceIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudRunServiceIamPolicyCaiObject ¶

func GetCloudRunServiceIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudSchedulerJobCaiObject ¶

func GetCloudSchedulerJobCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetCloudTasksQueueCaiObject ¶

func GetCloudTasksQueueCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeAddressCaiObject ¶

func GetComputeAddressCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeAutoscalerCaiObject ¶

func GetComputeAutoscalerCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeBackendBucketCaiObject ¶

func GetComputeBackendBucketCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeBackendServiceCaiObject ¶

func GetComputeBackendServiceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeDiskCaiObject ¶

func GetComputeDiskCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeDiskIamBindingCaiObject ¶

func GetComputeDiskIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeDiskIamMemberCaiObject ¶

func GetComputeDiskIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeDiskIamPolicyCaiObject ¶

func GetComputeDiskIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeDiskResourcePolicyAttachmentCaiObject ¶

func GetComputeDiskResourcePolicyAttachmentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeExternalVpnGatewayCaiObject ¶

func GetComputeExternalVpnGatewayCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeFirewallCaiObject ¶

func GetComputeFirewallCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeForwardingRuleCaiObject ¶

func GetComputeForwardingRuleCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeGlobalAddressCaiObject ¶

func GetComputeGlobalAddressCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeGlobalForwardingRuleCaiObject ¶

func GetComputeGlobalForwardingRuleCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeGlobalNetworkEndpointGroupCaiObject ¶

func GetComputeGlobalNetworkEndpointGroupCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeHaVpnGatewayCaiObject ¶

func GetComputeHaVpnGatewayCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeHealthCheckCaiObject ¶

func GetComputeHealthCheckCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeHttpHealthCheckCaiObject ¶

func GetComputeHttpHealthCheckCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeHttpsHealthCheckCaiObject ¶

func GetComputeHttpsHealthCheckCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeImageCaiObject ¶

func GetComputeImageCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeImageIamBindingCaiObject ¶

func GetComputeImageIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeImageIamMemberCaiObject ¶

func GetComputeImageIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeImageIamPolicyCaiObject ¶

func GetComputeImageIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeInstanceCaiObject ¶

func GetComputeInstanceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeInstanceGroupNamedPortCaiObject ¶

func GetComputeInstanceGroupNamedPortCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeInstanceIamBindingCaiObject ¶

func GetComputeInstanceIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeInstanceIamMemberCaiObject ¶

func GetComputeInstanceIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeInstanceIamPolicyCaiObject ¶

func GetComputeInstanceIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeInterconnectAttachmentCaiObject ¶

func GetComputeInterconnectAttachmentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeManagedSslCertificateCaiObject ¶

func GetComputeManagedSslCertificateCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeNetworkCaiObject ¶

func GetComputeNetworkCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeNetworkEndpointGroupCaiObject ¶

func GetComputeNetworkEndpointGroupCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeNetworkPeeringRoutesConfigCaiObject ¶

func GetComputeNetworkPeeringRoutesConfigCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeNodeGroupCaiObject ¶

func GetComputeNodeGroupCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeNodeTemplateCaiObject ¶

func GetComputeNodeTemplateCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputePacketMirroringCaiObject ¶

func GetComputePacketMirroringCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionAutoscalerCaiObject ¶

func GetComputeRegionAutoscalerCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionBackendServiceCaiObject ¶

func GetComputeRegionBackendServiceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionDiskCaiObject ¶

func GetComputeRegionDiskCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionDiskIamBindingCaiObject ¶

func GetComputeRegionDiskIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionDiskIamMemberCaiObject ¶

func GetComputeRegionDiskIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionDiskIamPolicyCaiObject ¶

func GetComputeRegionDiskIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionDiskResourcePolicyAttachmentCaiObject ¶

func GetComputeRegionDiskResourcePolicyAttachmentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionHealthCheckCaiObject ¶

func GetComputeRegionHealthCheckCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionNetworkEndpointGroupCaiObject ¶

func GetComputeRegionNetworkEndpointGroupCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionSslCertificateCaiObject ¶

func GetComputeRegionSslCertificateCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionTargetHttpProxyCaiObject ¶

func GetComputeRegionTargetHttpProxyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionTargetHttpsProxyCaiObject ¶

func GetComputeRegionTargetHttpsProxyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRegionUrlMapCaiObject ¶

func GetComputeRegionUrlMapCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeReservationCaiObject ¶

func GetComputeReservationCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeResourcePolicyCaiObject ¶

func GetComputeResourcePolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRouteCaiObject ¶

func GetComputeRouteCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeRouterCaiObject ¶

func GetComputeRouterCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeServiceAttachmentCaiObject ¶

func GetComputeServiceAttachmentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeSnapshotCaiObject ¶

func GetComputeSnapshotCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeSslCertificateCaiObject ¶

func GetComputeSslCertificateCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeSslPolicyCaiObject ¶

func GetComputeSslPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeSubnetworkCaiObject ¶

func GetComputeSubnetworkCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeSubnetworkIamBindingCaiObject ¶

func GetComputeSubnetworkIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeSubnetworkIamMemberCaiObject ¶

func GetComputeSubnetworkIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeSubnetworkIamPolicyCaiObject ¶

func GetComputeSubnetworkIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeTargetGrpcProxyCaiObject ¶

func GetComputeTargetGrpcProxyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeTargetHttpProxyCaiObject ¶

func GetComputeTargetHttpProxyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeTargetHttpsProxyCaiObject ¶

func GetComputeTargetHttpsProxyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeTargetInstanceCaiObject ¶

func GetComputeTargetInstanceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeTargetSslProxyCaiObject ¶

func GetComputeTargetSslProxyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeTargetTcpProxyCaiObject ¶

func GetComputeTargetTcpProxyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeUrlMapCaiObject ¶

func GetComputeUrlMapCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeVpnGatewayCaiObject ¶

func GetComputeVpnGatewayCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetComputeVpnTunnelCaiObject ¶

func GetComputeVpnTunnelCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetContainerAnalysisNoteCaiObject ¶

func GetContainerAnalysisNoteCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetContainerAnalysisOccurrenceCaiObject ¶

func GetContainerAnalysisOccurrenceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetContainerClusterCaiObject ¶

func GetContainerClusterCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetContainerNodePoolCaiObject ¶

func GetContainerNodePoolCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDNSManagedZoneCaiObject ¶

func GetDNSManagedZoneCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDNSPolicyCaiObject ¶

func GetDNSPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDNSResourceDnsRecordSetCaiObject ¶

func GetDNSResourceDnsRecordSetCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataCatalogEntryCaiObject ¶

func GetDataCatalogEntryCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataCatalogEntryGroupCaiObject ¶

func GetDataCatalogEntryGroupCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataCatalogEntryGroupIamBindingCaiObject ¶

func GetDataCatalogEntryGroupIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataCatalogEntryGroupIamMemberCaiObject ¶

func GetDataCatalogEntryGroupIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataCatalogEntryGroupIamPolicyCaiObject ¶

func GetDataCatalogEntryGroupIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataCatalogTagCaiObject ¶

func GetDataCatalogTagCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataCatalogTagTemplateCaiObject ¶

func GetDataCatalogTagTemplateCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataCatalogTagTemplateIamBindingCaiObject ¶

func GetDataCatalogTagTemplateIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataCatalogTagTemplateIamMemberCaiObject ¶

func GetDataCatalogTagTemplateIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataCatalogTagTemplateIamPolicyCaiObject ¶

func GetDataCatalogTagTemplateIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataLossPreventionDeidentifyTemplateCaiObject ¶

func GetDataLossPreventionDeidentifyTemplateCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataLossPreventionInspectTemplateCaiObject ¶

func GetDataLossPreventionInspectTemplateCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataLossPreventionJobTriggerCaiObject ¶

func GetDataLossPreventionJobTriggerCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataLossPreventionStoredInfoTypeCaiObject ¶

func GetDataLossPreventionStoredInfoTypeCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDataprocAutoscalingPolicyCaiObject ¶

func GetDataprocAutoscalingPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDatastoreIndexCaiObject ¶

func GetDatastoreIndexCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDeploymentManagerDeploymentCaiObject ¶

func GetDeploymentManagerDeploymentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDialogflowAgentCaiObject ¶

func GetDialogflowAgentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDialogflowCXAgentCaiObject ¶

func GetDialogflowCXAgentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDialogflowCXEntityTypeCaiObject ¶

func GetDialogflowCXEntityTypeCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDialogflowCXEnvironmentCaiObject ¶

func GetDialogflowCXEnvironmentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDialogflowCXFlowCaiObject ¶

func GetDialogflowCXFlowCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDialogflowCXIntentCaiObject ¶

func GetDialogflowCXIntentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDialogflowCXPageCaiObject ¶

func GetDialogflowCXPageCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDialogflowCXVersionCaiObject ¶

func GetDialogflowCXVersionCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDialogflowEntityTypeCaiObject ¶

func GetDialogflowEntityTypeCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDialogflowFulfillmentCaiObject ¶

func GetDialogflowFulfillmentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetDialogflowIntentCaiObject ¶

func GetDialogflowIntentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetEssentialContactsContactCaiObject ¶

func GetEssentialContactsContactCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetFilestoreInstanceCaiObject ¶

func GetFilestoreInstanceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetFirestoreDocumentCaiObject ¶

func GetFirestoreDocumentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetFirestoreIndexCaiObject ¶

func GetFirestoreIndexCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetFolderIamBindingCaiObject ¶

func GetFolderIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetFolderIamMemberCaiObject ¶

func GetFolderIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetFolderIamPolicyCaiObject ¶

func GetFolderIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetGKEHubMembershipCaiObject ¶

func GetGKEHubMembershipCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetGameServicesGameServerClusterCaiObject ¶

func GetGameServicesGameServerClusterCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetGameServicesGameServerConfigCaiObject ¶

func GetGameServicesGameServerConfigCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetGameServicesGameServerDeploymentCaiObject ¶

func GetGameServicesGameServerDeploymentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetGameServicesGameServerDeploymentRolloutCaiObject ¶

func GetGameServicesGameServerDeploymentRolloutCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetGameServicesRealmCaiObject ¶

func GetGameServicesRealmCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetHealthcareConsentStoreCaiObject ¶

func GetHealthcareConsentStoreCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetHealthcareConsentStoreIamBindingCaiObject ¶

func GetHealthcareConsentStoreIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetHealthcareConsentStoreIamMemberCaiObject ¶

func GetHealthcareConsentStoreIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetHealthcareConsentStoreIamPolicyCaiObject ¶

func GetHealthcareConsentStoreIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetHealthcareDatasetCaiObject ¶

func GetHealthcareDatasetCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetHealthcareDicomStoreCaiObject ¶

func GetHealthcareDicomStoreCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetHealthcareFhirStoreCaiObject ¶

func GetHealthcareFhirStoreCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetHealthcareHl7V2StoreCaiObject ¶

func GetHealthcareHl7V2StoreCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapAppEngineServiceIamBindingCaiObject ¶

func GetIapAppEngineServiceIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapAppEngineServiceIamMemberCaiObject ¶

func GetIapAppEngineServiceIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapAppEngineServiceIamPolicyCaiObject ¶

func GetIapAppEngineServiceIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapAppEngineVersionIamBindingCaiObject ¶

func GetIapAppEngineVersionIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapAppEngineVersionIamMemberCaiObject ¶

func GetIapAppEngineVersionIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapAppEngineVersionIamPolicyCaiObject ¶

func GetIapAppEngineVersionIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapBrandCaiObject ¶

func GetIapBrandCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapClientCaiObject ¶

func GetIapClientCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapTunnelIamBindingCaiObject ¶

func GetIapTunnelIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapTunnelIamMemberCaiObject ¶

func GetIapTunnelIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapTunnelIamPolicyCaiObject ¶

func GetIapTunnelIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapTunnelInstanceIamBindingCaiObject ¶

func GetIapTunnelInstanceIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapTunnelInstanceIamMemberCaiObject ¶

func GetIapTunnelInstanceIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapTunnelInstanceIamPolicyCaiObject ¶

func GetIapTunnelInstanceIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebBackendServiceIamBindingCaiObject ¶

func GetIapWebBackendServiceIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebBackendServiceIamMemberCaiObject ¶

func GetIapWebBackendServiceIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebBackendServiceIamPolicyCaiObject ¶

func GetIapWebBackendServiceIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebIamBindingCaiObject ¶

func GetIapWebIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebIamMemberCaiObject ¶

func GetIapWebIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebIamPolicyCaiObject ¶

func GetIapWebIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebTypeAppEngineIamBindingCaiObject ¶

func GetIapWebTypeAppEngineIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebTypeAppEngineIamMemberCaiObject ¶

func GetIapWebTypeAppEngineIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebTypeAppEngineIamPolicyCaiObject ¶

func GetIapWebTypeAppEngineIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebTypeComputeIamBindingCaiObject ¶

func GetIapWebTypeComputeIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebTypeComputeIamMemberCaiObject ¶

func GetIapWebTypeComputeIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIapWebTypeComputeIamPolicyCaiObject ¶

func GetIapWebTypeComputeIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIdentityPlatformDefaultSupportedIdpConfigCaiObject ¶

func GetIdentityPlatformDefaultSupportedIdpConfigCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIdentityPlatformInboundSamlConfigCaiObject ¶

func GetIdentityPlatformInboundSamlConfigCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIdentityPlatformOauthIdpConfigCaiObject ¶

func GetIdentityPlatformOauthIdpConfigCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIdentityPlatformTenantCaiObject ¶

func GetIdentityPlatformTenantCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIdentityPlatformTenantDefaultSupportedIdpConfigCaiObject ¶

func GetIdentityPlatformTenantDefaultSupportedIdpConfigCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIdentityPlatformTenantInboundSamlConfigCaiObject ¶

func GetIdentityPlatformTenantInboundSamlConfigCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetIdentityPlatformTenantOauthIdpConfigCaiObject ¶

func GetIdentityPlatformTenantOauthIdpConfigCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetKMSCryptoKeyCaiObject ¶

func GetKMSCryptoKeyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetKMSKeyRingCaiObject ¶

func GetKMSKeyRingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetKMSKeyRingImportJobCaiObject ¶

func GetKMSKeyRingImportJobCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetKmsCryptoKeyIamBindingCaiObject ¶

func GetKmsCryptoKeyIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetKmsCryptoKeyIamMemberCaiObject ¶

func GetKmsCryptoKeyIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetKmsCryptoKeyIamPolicyCaiObject ¶

func GetKmsCryptoKeyIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetKmsKeyRingIamBindingCaiObject ¶

func GetKmsKeyRingIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetKmsKeyRingIamMemberCaiObject ¶

func GetKmsKeyRingIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetKmsKeyRingIamPolicyCaiObject ¶

func GetKmsKeyRingIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetLoggingMetricCaiObject ¶

func GetLoggingMetricCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetMLEngineModelCaiObject ¶

func GetMLEngineModelCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetMemcacheInstanceCaiObject ¶

func GetMemcacheInstanceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetMonitoringAlertPolicyCaiObject ¶

func GetMonitoringAlertPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetMonitoringGroupCaiObject ¶

func GetMonitoringGroupCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetMonitoringMetricDescriptorCaiObject ¶

func GetMonitoringMetricDescriptorCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetMonitoringNotificationChannelCaiObject ¶

func GetMonitoringNotificationChannelCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetMonitoringServiceCaiObject ¶

func GetMonitoringServiceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetMonitoringSloCaiObject ¶

func GetMonitoringSloCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetMonitoringUptimeCheckConfigCaiObject ¶

func GetMonitoringUptimeCheckConfigCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetNetworkServicesEdgeCacheKeysetCaiObject ¶

func GetNetworkServicesEdgeCacheKeysetCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetNetworkServicesEdgeCacheOriginCaiObject ¶

func GetNetworkServicesEdgeCacheOriginCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetNetworkServicesEdgeCacheServiceCaiObject ¶

func GetNetworkServicesEdgeCacheServiceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetNotebooksEnvironmentCaiObject ¶

func GetNotebooksEnvironmentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetNotebooksInstanceCaiObject ¶

func GetNotebooksInstanceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetNotebooksInstanceIamBindingCaiObject ¶

func GetNotebooksInstanceIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetNotebooksInstanceIamMemberCaiObject ¶

func GetNotebooksInstanceIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetNotebooksInstanceIamPolicyCaiObject ¶

func GetNotebooksInstanceIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetNotebooksLocationCaiObject ¶

func GetNotebooksLocationCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetOSConfigPatchDeploymentCaiObject ¶

func GetOSConfigPatchDeploymentCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetOSLoginSSHPublicKeyCaiObject ¶

func GetOSLoginSSHPublicKeyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetOrganizationIamBindingCaiObject ¶

func GetOrganizationIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetOrganizationIamMemberCaiObject ¶

func GetOrganizationIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetOrganizationIamPolicyCaiObject ¶

func GetOrganizationIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPrivatecaCaPoolCaiObject ¶

func GetPrivatecaCaPoolCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPrivatecaCaPoolIamBindingCaiObject ¶

func GetPrivatecaCaPoolIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPrivatecaCaPoolIamMemberCaiObject ¶

func GetPrivatecaCaPoolIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPrivatecaCaPoolIamPolicyCaiObject ¶

func GetPrivatecaCaPoolIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPrivatecaCertificateAuthorityCaiObject ¶

func GetPrivatecaCertificateAuthorityCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPrivatecaCertificateCaiObject ¶

func GetPrivatecaCertificateCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetProjectBillingInfoCaiObject ¶

func GetProjectBillingInfoCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetProjectCaiObject ¶

func GetProjectCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetProjectIamBindingCaiObject ¶

func GetProjectIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetProjectIamMemberCaiObject ¶

func GetProjectIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetProjectIamPolicyCaiObject ¶

func GetProjectIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetProjectOrgPolicyCaiObject ¶

func GetProjectOrgPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPubsubLiteReservationCaiObject ¶

func GetPubsubLiteReservationCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPubsubLiteSubscriptionCaiObject ¶

func GetPubsubLiteSubscriptionCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPubsubLiteTopicCaiObject ¶

func GetPubsubLiteTopicCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPubsubSchemaCaiObject ¶

func GetPubsubSchemaCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPubsubSubscriptionCaiObject ¶

func GetPubsubSubscriptionCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPubsubTopicCaiObject ¶

func GetPubsubTopicCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPubsubTopicIamBindingCaiObject ¶

func GetPubsubTopicIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPubsubTopicIamMemberCaiObject ¶

func GetPubsubTopicIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetPubsubTopicIamPolicyCaiObject ¶

func GetPubsubTopicIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetRedisInstanceCaiObject ¶

func GetRedisInstanceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetResourceManagerLienCaiObject ¶

func GetResourceManagerLienCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetRuntimeConfigConfigIamBindingCaiObject ¶

func GetRuntimeConfigConfigIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetRuntimeConfigConfigIamMemberCaiObject ¶

func GetRuntimeConfigConfigIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetRuntimeConfigConfigIamPolicyCaiObject ¶

func GetRuntimeConfigConfigIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSQLDatabaseCaiObject ¶

func GetSQLDatabaseCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSQLDatabaseInstanceCaiObject ¶

func GetSQLDatabaseInstanceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSQLSourceRepresentationInstanceCaiObject ¶

func GetSQLSourceRepresentationInstanceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSecretManagerSecretCaiObject ¶

func GetSecretManagerSecretCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSecretManagerSecretIamBindingCaiObject ¶

func GetSecretManagerSecretIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSecretManagerSecretIamMemberCaiObject ¶

func GetSecretManagerSecretIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSecretManagerSecretIamPolicyCaiObject ¶

func GetSecretManagerSecretIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSecretManagerSecretVersionCaiObject ¶

func GetSecretManagerSecretVersionCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSecurityCenterNotificationConfigCaiObject ¶

func GetSecurityCenterNotificationConfigCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSecurityCenterSourceCaiObject ¶

func GetSecurityCenterSourceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetServiceManagementServiceIamBindingCaiObject ¶

func GetServiceManagementServiceIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetServiceManagementServiceIamMemberCaiObject ¶

func GetServiceManagementServiceIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetServiceManagementServiceIamPolicyCaiObject ¶

func GetServiceManagementServiceIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetServiceUsageCaiObject ¶

func GetServiceUsageCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSourceRepoRepositoryCaiObject ¶

func GetSourceRepoRepositoryCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSourceRepoRepositoryIamBindingCaiObject ¶

func GetSourceRepoRepositoryIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSourceRepoRepositoryIamMemberCaiObject ¶

func GetSourceRepoRepositoryIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSourceRepoRepositoryIamPolicyCaiObject ¶

func GetSourceRepoRepositoryIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSpannerDatabaseCaiObject ¶

func GetSpannerDatabaseCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetSpannerInstanceCaiObject ¶

func GetSpannerInstanceCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetStorageBucketAccessControlCaiObject ¶

func GetStorageBucketAccessControlCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetStorageBucketCaiObject ¶

func GetStorageBucketCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetStorageBucketIamBindingCaiObject ¶

func GetStorageBucketIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetStorageBucketIamMemberCaiObject ¶

func GetStorageBucketIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetStorageBucketIamPolicyCaiObject ¶

func GetStorageBucketIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetStorageDefaultObjectAccessControlCaiObject ¶

func GetStorageDefaultObjectAccessControlCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetStorageHmacKeyCaiObject ¶

func GetStorageHmacKeyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetStorageObjectAccessControlCaiObject ¶

func GetStorageObjectAccessControlCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetTPUNodeCaiObject ¶

func GetTPUNodeCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetTagsTagBindingCaiObject ¶

func GetTagsTagBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetTagsTagKeyCaiObject ¶

func GetTagsTagKeyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetTagsTagKeyIamBindingCaiObject ¶

func GetTagsTagKeyIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetTagsTagKeyIamMemberCaiObject ¶

func GetTagsTagKeyIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetTagsTagKeyIamPolicyCaiObject ¶

func GetTagsTagKeyIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetTagsTagValueCaiObject ¶

func GetTagsTagValueCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetTagsTagValueIamBindingCaiObject ¶

func GetTagsTagValueIamBindingCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetTagsTagValueIamMemberCaiObject ¶

func GetTagsTagValueIamMemberCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetTagsTagValueIamPolicyCaiObject ¶

func GetTagsTagValueIamPolicyCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetVPCAccessConnectorCaiObject ¶

func GetVPCAccessConnectorCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetVertexAIDatasetCaiObject ¶

func GetVertexAIDatasetCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func GetWorkflowsWorkflowCaiObject ¶

func GetWorkflowsWorkflowCaiObject(d TerraformResourceData, config *Config) ([]Asset, error)

func MergeBigQueryTableIamBinding ¶

func MergeBigQueryTableIamBinding(existing, incoming Asset) Asset

func MergeBigQueryTableIamBindingDelete ¶

func MergeBigQueryTableIamBindingDelete(existing, incoming Asset) Asset

func MergeBigQueryTableIamMember ¶

func MergeBigQueryTableIamMember(existing, incoming Asset) Asset

func MergeBigQueryTableIamMemberDelete ¶

func MergeBigQueryTableIamMemberDelete(existing, incoming Asset) Asset

func MergeBigQueryTableIamPolicy ¶

func MergeBigQueryTableIamPolicy(existing, incoming Asset) Asset

func MergeBinaryAuthorizationAttestorIamBinding ¶

func MergeBinaryAuthorizationAttestorIamBinding(existing, incoming Asset) Asset

func MergeBinaryAuthorizationAttestorIamBindingDelete ¶

func MergeBinaryAuthorizationAttestorIamBindingDelete(existing, incoming Asset) Asset

func MergeBinaryAuthorizationAttestorIamMember ¶

func MergeBinaryAuthorizationAttestorIamMember(existing, incoming Asset) Asset

func MergeBinaryAuthorizationAttestorIamMemberDelete ¶

func MergeBinaryAuthorizationAttestorIamMemberDelete(existing, incoming Asset) Asset

func MergeBinaryAuthorizationAttestorIamPolicy ¶

func MergeBinaryAuthorizationAttestorIamPolicy(existing, incoming Asset) Asset

func MergeCloudFunctionsCloudFunctionIamBinding ¶

func MergeCloudFunctionsCloudFunctionIamBinding(existing, incoming Asset) Asset

func MergeCloudFunctionsCloudFunctionIamBindingDelete ¶

func MergeCloudFunctionsCloudFunctionIamBindingDelete(existing, incoming Asset) Asset

func MergeCloudFunctionsCloudFunctionIamMember ¶

func MergeCloudFunctionsCloudFunctionIamMember(existing, incoming Asset) Asset

func MergeCloudFunctionsCloudFunctionIamMemberDelete ¶

func MergeCloudFunctionsCloudFunctionIamMemberDelete(existing, incoming Asset) Asset

func MergeCloudFunctionsCloudFunctionIamPolicy ¶

func MergeCloudFunctionsCloudFunctionIamPolicy(existing, incoming Asset) Asset

func MergeCloudRunServiceIamBinding ¶

func MergeCloudRunServiceIamBinding(existing, incoming Asset) Asset

func MergeCloudRunServiceIamBindingDelete ¶

func MergeCloudRunServiceIamBindingDelete(existing, incoming Asset) Asset

func MergeCloudRunServiceIamMember ¶

func MergeCloudRunServiceIamMember(existing, incoming Asset) Asset

func MergeCloudRunServiceIamMemberDelete ¶

func MergeCloudRunServiceIamMemberDelete(existing, incoming Asset) Asset

func MergeCloudRunServiceIamPolicy ¶

func MergeCloudRunServiceIamPolicy(existing, incoming Asset) Asset

func MergeComputeDiskIamBinding ¶

func MergeComputeDiskIamBinding(existing, incoming Asset) Asset

func MergeComputeDiskIamBindingDelete ¶

func MergeComputeDiskIamBindingDelete(existing, incoming Asset) Asset

func MergeComputeDiskIamMember ¶

func MergeComputeDiskIamMember(existing, incoming Asset) Asset

func MergeComputeDiskIamMemberDelete ¶

func MergeComputeDiskIamMemberDelete(existing, incoming Asset) Asset

func MergeComputeDiskIamPolicy ¶

func MergeComputeDiskIamPolicy(existing, incoming Asset) Asset

func MergeComputeImageIamBinding ¶

func MergeComputeImageIamBinding(existing, incoming Asset) Asset

func MergeComputeImageIamBindingDelete ¶

func MergeComputeImageIamBindingDelete(existing, incoming Asset) Asset

func MergeComputeImageIamMember ¶

func MergeComputeImageIamMember(existing, incoming Asset) Asset

func MergeComputeImageIamMemberDelete ¶

func MergeComputeImageIamMemberDelete(existing, incoming Asset) Asset

func MergeComputeImageIamPolicy ¶

func MergeComputeImageIamPolicy(existing, incoming Asset) Asset

func MergeComputeInstanceIamBinding ¶

func MergeComputeInstanceIamBinding(existing, incoming Asset) Asset

func MergeComputeInstanceIamBindingDelete ¶

func MergeComputeInstanceIamBindingDelete(existing, incoming Asset) Asset

func MergeComputeInstanceIamMember ¶

func MergeComputeInstanceIamMember(existing, incoming Asset) Asset

func MergeComputeInstanceIamMemberDelete ¶

func MergeComputeInstanceIamMemberDelete(existing, incoming Asset) Asset

func MergeComputeInstanceIamPolicy ¶

func MergeComputeInstanceIamPolicy(existing, incoming Asset) Asset

func MergeComputeRegionDiskIamBinding ¶

func MergeComputeRegionDiskIamBinding(existing, incoming Asset) Asset

func MergeComputeRegionDiskIamBindingDelete ¶

func MergeComputeRegionDiskIamBindingDelete(existing, incoming Asset) Asset

func MergeComputeRegionDiskIamMember ¶

func MergeComputeRegionDiskIamMember(existing, incoming Asset) Asset

func MergeComputeRegionDiskIamMemberDelete ¶

func MergeComputeRegionDiskIamMemberDelete(existing, incoming Asset) Asset

func MergeComputeRegionDiskIamPolicy ¶

func MergeComputeRegionDiskIamPolicy(existing, incoming Asset) Asset

func MergeComputeSubnetworkIamBinding ¶

func MergeComputeSubnetworkIamBinding(existing, incoming Asset) Asset

func MergeComputeSubnetworkIamBindingDelete ¶

func MergeComputeSubnetworkIamBindingDelete(existing, incoming Asset) Asset

func MergeComputeSubnetworkIamMember ¶

func MergeComputeSubnetworkIamMember(existing, incoming Asset) Asset

func MergeComputeSubnetworkIamMemberDelete ¶

func MergeComputeSubnetworkIamMemberDelete(existing, incoming Asset) Asset

func MergeComputeSubnetworkIamPolicy ¶

func MergeComputeSubnetworkIamPolicy(existing, incoming Asset) Asset

func MergeDataCatalogEntryGroupIamBinding ¶

func MergeDataCatalogEntryGroupIamBinding(existing, incoming Asset) Asset

func MergeDataCatalogEntryGroupIamBindingDelete ¶

func MergeDataCatalogEntryGroupIamBindingDelete(existing, incoming Asset) Asset

func MergeDataCatalogEntryGroupIamMember ¶

func MergeDataCatalogEntryGroupIamMember(existing, incoming Asset) Asset

func MergeDataCatalogEntryGroupIamMemberDelete ¶

func MergeDataCatalogEntryGroupIamMemberDelete(existing, incoming Asset) Asset

func MergeDataCatalogEntryGroupIamPolicy ¶

func MergeDataCatalogEntryGroupIamPolicy(existing, incoming Asset) Asset

func MergeDataCatalogTagTemplateIamBinding ¶

func MergeDataCatalogTagTemplateIamBinding(existing, incoming Asset) Asset

func MergeDataCatalogTagTemplateIamBindingDelete ¶

func MergeDataCatalogTagTemplateIamBindingDelete(existing, incoming Asset) Asset

func MergeDataCatalogTagTemplateIamMember ¶

func MergeDataCatalogTagTemplateIamMember(existing, incoming Asset) Asset

func MergeDataCatalogTagTemplateIamMemberDelete ¶

func MergeDataCatalogTagTemplateIamMemberDelete(existing, incoming Asset) Asset

func MergeDataCatalogTagTemplateIamPolicy ¶

func MergeDataCatalogTagTemplateIamPolicy(existing, incoming Asset) Asset

func MergeFolderIamBinding ¶

func MergeFolderIamBinding(existing, incoming Asset) Asset

func MergeFolderIamBindingDelete ¶

func MergeFolderIamBindingDelete(existing, incoming Asset) Asset

func MergeFolderIamMember ¶

func MergeFolderIamMember(existing, incoming Asset) Asset

func MergeFolderIamMemberDelete ¶

func MergeFolderIamMemberDelete(existing, incoming Asset) Asset

func MergeFolderIamPolicy ¶

func MergeFolderIamPolicy(existing, incoming Asset) Asset

func MergeHealthcareConsentStoreIamBinding ¶

func MergeHealthcareConsentStoreIamBinding(existing, incoming Asset) Asset

func MergeHealthcareConsentStoreIamBindingDelete ¶

func MergeHealthcareConsentStoreIamBindingDelete(existing, incoming Asset) Asset

func MergeHealthcareConsentStoreIamMember ¶

func MergeHealthcareConsentStoreIamMember(existing, incoming Asset) Asset

func MergeHealthcareConsentStoreIamMemberDelete ¶

func MergeHealthcareConsentStoreIamMemberDelete(existing, incoming Asset) Asset

func MergeHealthcareConsentStoreIamPolicy ¶

func MergeHealthcareConsentStoreIamPolicy(existing, incoming Asset) Asset

func MergeIapAppEngineServiceIamBinding ¶

func MergeIapAppEngineServiceIamBinding(existing, incoming Asset) Asset

func MergeIapAppEngineServiceIamBindingDelete ¶

func MergeIapAppEngineServiceIamBindingDelete(existing, incoming Asset) Asset

func MergeIapAppEngineServiceIamMember ¶

func MergeIapAppEngineServiceIamMember(existing, incoming Asset) Asset

func MergeIapAppEngineServiceIamMemberDelete ¶

func MergeIapAppEngineServiceIamMemberDelete(existing, incoming Asset) Asset

func MergeIapAppEngineServiceIamPolicy ¶

func MergeIapAppEngineServiceIamPolicy(existing, incoming Asset) Asset

func MergeIapAppEngineVersionIamBinding ¶

func MergeIapAppEngineVersionIamBinding(existing, incoming Asset) Asset

func MergeIapAppEngineVersionIamBindingDelete ¶

func MergeIapAppEngineVersionIamBindingDelete(existing, incoming Asset) Asset

func MergeIapAppEngineVersionIamMember ¶

func MergeIapAppEngineVersionIamMember(existing, incoming Asset) Asset

func MergeIapAppEngineVersionIamMemberDelete ¶

func MergeIapAppEngineVersionIamMemberDelete(existing, incoming Asset) Asset

func MergeIapAppEngineVersionIamPolicy ¶

func MergeIapAppEngineVersionIamPolicy(existing, incoming Asset) Asset

func MergeIapTunnelIamBinding ¶

func MergeIapTunnelIamBinding(existing, incoming Asset) Asset

func MergeIapTunnelIamBindingDelete ¶

func MergeIapTunnelIamBindingDelete(existing, incoming Asset) Asset

func MergeIapTunnelIamMember ¶

func MergeIapTunnelIamMember(existing, incoming Asset) Asset

func MergeIapTunnelIamMemberDelete ¶

func MergeIapTunnelIamMemberDelete(existing, incoming Asset) Asset

func MergeIapTunnelIamPolicy ¶

func MergeIapTunnelIamPolicy(existing, incoming Asset) Asset

func MergeIapTunnelInstanceIamBinding ¶

func MergeIapTunnelInstanceIamBinding(existing, incoming Asset) Asset

func MergeIapTunnelInstanceIamBindingDelete ¶

func MergeIapTunnelInstanceIamBindingDelete(existing, incoming Asset) Asset

func MergeIapTunnelInstanceIamMember ¶

func MergeIapTunnelInstanceIamMember(existing, incoming Asset) Asset

func MergeIapTunnelInstanceIamMemberDelete ¶

func MergeIapTunnelInstanceIamMemberDelete(existing, incoming Asset) Asset

func MergeIapTunnelInstanceIamPolicy ¶

func MergeIapTunnelInstanceIamPolicy(existing, incoming Asset) Asset

func MergeIapWebBackendServiceIamBinding ¶

func MergeIapWebBackendServiceIamBinding(existing, incoming Asset) Asset

func MergeIapWebBackendServiceIamBindingDelete ¶

func MergeIapWebBackendServiceIamBindingDelete(existing, incoming Asset) Asset

func MergeIapWebBackendServiceIamMember ¶

func MergeIapWebBackendServiceIamMember(existing, incoming Asset) Asset

func MergeIapWebBackendServiceIamMemberDelete ¶

func MergeIapWebBackendServiceIamMemberDelete(existing, incoming Asset) Asset

func MergeIapWebBackendServiceIamPolicy ¶

func MergeIapWebBackendServiceIamPolicy(existing, incoming Asset) Asset

func MergeIapWebIamBinding ¶

func MergeIapWebIamBinding(existing, incoming Asset) Asset

func MergeIapWebIamBindingDelete ¶

func MergeIapWebIamBindingDelete(existing, incoming Asset) Asset

func MergeIapWebIamMember ¶

func MergeIapWebIamMember(existing, incoming Asset) Asset

func MergeIapWebIamMemberDelete ¶

func MergeIapWebIamMemberDelete(existing, incoming Asset) Asset

func MergeIapWebIamPolicy ¶

func MergeIapWebIamPolicy(existing, incoming Asset) Asset

func MergeIapWebTypeAppEngineIamBinding ¶

func MergeIapWebTypeAppEngineIamBinding(existing, incoming Asset) Asset

func MergeIapWebTypeAppEngineIamBindingDelete ¶

func MergeIapWebTypeAppEngineIamBindingDelete(existing, incoming Asset) Asset

func MergeIapWebTypeAppEngineIamMember ¶

func MergeIapWebTypeAppEngineIamMember(existing, incoming Asset) Asset

func MergeIapWebTypeAppEngineIamMemberDelete ¶

func MergeIapWebTypeAppEngineIamMemberDelete(existing, incoming Asset) Asset

func MergeIapWebTypeAppEngineIamPolicy ¶

func MergeIapWebTypeAppEngineIamPolicy(existing, incoming Asset) Asset

func MergeIapWebTypeComputeIamBinding ¶

func MergeIapWebTypeComputeIamBinding(existing, incoming Asset) Asset

func MergeIapWebTypeComputeIamBindingDelete ¶

func MergeIapWebTypeComputeIamBindingDelete(existing, incoming Asset) Asset

func MergeIapWebTypeComputeIamMember ¶

func MergeIapWebTypeComputeIamMember(existing, incoming Asset) Asset

func MergeIapWebTypeComputeIamMemberDelete ¶

func MergeIapWebTypeComputeIamMemberDelete(existing, incoming Asset) Asset

func MergeIapWebTypeComputeIamPolicy ¶

func MergeIapWebTypeComputeIamPolicy(existing, incoming Asset) Asset

func MergeKmsCryptoKeyIamBinding ¶

func MergeKmsCryptoKeyIamBinding(existing, incoming Asset) Asset

func MergeKmsCryptoKeyIamBindingDelete ¶

func MergeKmsCryptoKeyIamBindingDelete(existing, incoming Asset) Asset

func MergeKmsCryptoKeyIamMember ¶

func MergeKmsCryptoKeyIamMember(existing, incoming Asset) Asset

func MergeKmsCryptoKeyIamMemberDelete ¶

func MergeKmsCryptoKeyIamMemberDelete(existing, incoming Asset) Asset

func MergeKmsCryptoKeyIamPolicy ¶

func MergeKmsCryptoKeyIamPolicy(existing, incoming Asset) Asset

func MergeKmsKeyRingIamBinding ¶

func MergeKmsKeyRingIamBinding(existing, incoming Asset) Asset

func MergeKmsKeyRingIamBindingDelete ¶

func MergeKmsKeyRingIamBindingDelete(existing, incoming Asset) Asset

func MergeKmsKeyRingIamMember ¶

func MergeKmsKeyRingIamMember(existing, incoming Asset) Asset

func MergeKmsKeyRingIamMemberDelete ¶

func MergeKmsKeyRingIamMemberDelete(existing, incoming Asset) Asset

func MergeKmsKeyRingIamPolicy ¶

func MergeKmsKeyRingIamPolicy(existing, incoming Asset) Asset

func MergeNotebooksInstanceIamBinding ¶

func MergeNotebooksInstanceIamBinding(existing, incoming Asset) Asset

func MergeNotebooksInstanceIamBindingDelete ¶

func MergeNotebooksInstanceIamBindingDelete(existing, incoming Asset) Asset

func MergeNotebooksInstanceIamMember ¶

func MergeNotebooksInstanceIamMember(existing, incoming Asset) Asset

func MergeNotebooksInstanceIamMemberDelete ¶

func MergeNotebooksInstanceIamMemberDelete(existing, incoming Asset) Asset

func MergeNotebooksInstanceIamPolicy ¶

func MergeNotebooksInstanceIamPolicy(existing, incoming Asset) Asset

func MergeOrganizationIamBinding ¶

func MergeOrganizationIamBinding(existing, incoming Asset) Asset

func MergeOrganizationIamBindingDelete ¶

func MergeOrganizationIamBindingDelete(existing, incoming Asset) Asset

func MergeOrganizationIamMember ¶

func MergeOrganizationIamMember(existing, incoming Asset) Asset

func MergeOrganizationIamMemberDelete ¶

func MergeOrganizationIamMemberDelete(existing, incoming Asset) Asset

func MergeOrganizationIamPolicy ¶

func MergeOrganizationIamPolicy(existing, incoming Asset) Asset

func MergePrivatecaCaPoolIamBinding ¶

func MergePrivatecaCaPoolIamBinding(existing, incoming Asset) Asset

func MergePrivatecaCaPoolIamBindingDelete ¶

func MergePrivatecaCaPoolIamBindingDelete(existing, incoming Asset) Asset

func MergePrivatecaCaPoolIamMember ¶

func MergePrivatecaCaPoolIamMember(existing, incoming Asset) Asset

func MergePrivatecaCaPoolIamMemberDelete ¶

func MergePrivatecaCaPoolIamMemberDelete(existing, incoming Asset) Asset

func MergePrivatecaCaPoolIamPolicy ¶

func MergePrivatecaCaPoolIamPolicy(existing, incoming Asset) Asset

func MergeProject ¶

func MergeProject(existing, incoming Asset) Asset

func MergeProjectIamBinding ¶

func MergeProjectIamBinding(existing, incoming Asset) Asset

func MergeProjectIamBindingDelete ¶

func MergeProjectIamBindingDelete(existing, incoming Asset) Asset

func MergeProjectIamMember ¶

func MergeProjectIamMember(existing, incoming Asset) Asset

func MergeProjectIamMemberDelete ¶

func MergeProjectIamMemberDelete(existing, incoming Asset) Asset

func MergeProjectIamPolicy ¶

func MergeProjectIamPolicy(existing, incoming Asset) Asset

func MergeProjectOrgPolicy ¶

func MergeProjectOrgPolicy(existing, incoming Asset) Asset

func MergePubsubTopicIamBinding ¶

func MergePubsubTopicIamBinding(existing, incoming Asset) Asset

func MergePubsubTopicIamBindingDelete ¶

func MergePubsubTopicIamBindingDelete(existing, incoming Asset) Asset

func MergePubsubTopicIamMember ¶

func MergePubsubTopicIamMember(existing, incoming Asset) Asset

func MergePubsubTopicIamMemberDelete ¶

func MergePubsubTopicIamMemberDelete(existing, incoming Asset) Asset

func MergePubsubTopicIamPolicy ¶

func MergePubsubTopicIamPolicy(existing, incoming Asset) Asset

func MergeRuntimeConfigConfigIamBinding ¶

func MergeRuntimeConfigConfigIamBinding(existing, incoming Asset) Asset

func MergeRuntimeConfigConfigIamBindingDelete ¶

func MergeRuntimeConfigConfigIamBindingDelete(existing, incoming Asset) Asset

func MergeRuntimeConfigConfigIamMember ¶

func MergeRuntimeConfigConfigIamMember(existing, incoming Asset) Asset

func MergeRuntimeConfigConfigIamMemberDelete ¶

func MergeRuntimeConfigConfigIamMemberDelete(existing, incoming Asset) Asset

func MergeRuntimeConfigConfigIamPolicy ¶

func MergeRuntimeConfigConfigIamPolicy(existing, incoming Asset) Asset

func MergeSecretManagerSecretIamBinding ¶

func MergeSecretManagerSecretIamBinding(existing, incoming Asset) Asset

func MergeSecretManagerSecretIamBindingDelete ¶

func MergeSecretManagerSecretIamBindingDelete(existing, incoming Asset) Asset

func MergeSecretManagerSecretIamMember ¶

func MergeSecretManagerSecretIamMember(existing, incoming Asset) Asset

func MergeSecretManagerSecretIamMemberDelete ¶

func MergeSecretManagerSecretIamMemberDelete(existing, incoming Asset) Asset

func MergeSecretManagerSecretIamPolicy ¶

func MergeSecretManagerSecretIamPolicy(existing, incoming Asset) Asset

func MergeServiceManagementServiceIamBinding ¶

func MergeServiceManagementServiceIamBinding(existing, incoming Asset) Asset

func MergeServiceManagementServiceIamBindingDelete ¶

func MergeServiceManagementServiceIamBindingDelete(existing, incoming Asset) Asset

func MergeServiceManagementServiceIamMember ¶

func MergeServiceManagementServiceIamMember(existing, incoming Asset) Asset

func MergeServiceManagementServiceIamMemberDelete ¶

func MergeServiceManagementServiceIamMemberDelete(existing, incoming Asset) Asset

func MergeServiceManagementServiceIamPolicy ¶

func MergeServiceManagementServiceIamPolicy(existing, incoming Asset) Asset

func MergeSourceRepoRepositoryIamBinding ¶

func MergeSourceRepoRepositoryIamBinding(existing, incoming Asset) Asset

func MergeSourceRepoRepositoryIamBindingDelete ¶

func MergeSourceRepoRepositoryIamBindingDelete(existing, incoming Asset) Asset

func MergeSourceRepoRepositoryIamMember ¶

func MergeSourceRepoRepositoryIamMember(existing, incoming Asset) Asset

func MergeSourceRepoRepositoryIamMemberDelete ¶

func MergeSourceRepoRepositoryIamMemberDelete(existing, incoming Asset) Asset

func MergeSourceRepoRepositoryIamPolicy ¶

func MergeSourceRepoRepositoryIamPolicy(existing, incoming Asset) Asset

func MergeStorageBucketIamBinding ¶

func MergeStorageBucketIamBinding(existing, incoming Asset) Asset

func MergeStorageBucketIamBindingDelete ¶

func MergeStorageBucketIamBindingDelete(existing, incoming Asset) Asset

func MergeStorageBucketIamMember ¶

func MergeStorageBucketIamMember(existing, incoming Asset) Asset

func MergeStorageBucketIamMemberDelete ¶

func MergeStorageBucketIamMemberDelete(existing, incoming Asset) Asset

func MergeStorageBucketIamPolicy ¶

func MergeStorageBucketIamPolicy(existing, incoming Asset) Asset

func MergeTagsTagKeyIamBinding ¶

func MergeTagsTagKeyIamBinding(existing, incoming Asset) Asset

func MergeTagsTagKeyIamBindingDelete ¶

func MergeTagsTagKeyIamBindingDelete(existing, incoming Asset) Asset

func MergeTagsTagKeyIamMember ¶

func MergeTagsTagKeyIamMember(existing, incoming Asset) Asset

func MergeTagsTagKeyIamMemberDelete ¶

func MergeTagsTagKeyIamMemberDelete(existing, incoming Asset) Asset

func MergeTagsTagKeyIamPolicy ¶

func MergeTagsTagKeyIamPolicy(existing, incoming Asset) Asset

func MergeTagsTagValueIamBinding ¶

func MergeTagsTagValueIamBinding(existing, incoming Asset) Asset

func MergeTagsTagValueIamBindingDelete ¶

func MergeTagsTagValueIamBindingDelete(existing, incoming Asset) Asset

func MergeTagsTagValueIamMember ¶

func MergeTagsTagValueIamMember(existing, incoming Asset) Asset

func MergeTagsTagValueIamMemberDelete ¶

func MergeTagsTagValueIamMemberDelete(existing, incoming Asset) Asset

func MergeTagsTagValueIamPolicy ¶

func MergeTagsTagValueIamPolicy(existing, incoming Asset) Asset

type AssetResource ¶

type AssetResource struct {
	// Api version
	Version string `json:"version"`
	// URI including scheme for the discovery doc - assembled from
	// product name and version.
	DiscoveryDocumentURI string `json:"discovery_document_uri"`
	// Resource name.
	DiscoveryName string `json:"discovery_name"`
	// Actual resource state as per Terraform.  Note that this does
	// not necessarily correspond perfectly with the CAI representation
	// as there are occasional deviations between CAI and API responses.
	// This returns the API response values instead.
	Data map[string]interface{} `json:"data,omitempty"`
}

AssetResource is the Asset's Resource field.

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

type BigtableClientFactory struct {
	UserAgent           string
	TokenSource         oauth2.TokenSource
	BillingProject      string
	UserProjectOverride bool
}

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

type BooleanPolicy struct {
	Enforced bool `json:"enforced,omitempty"`
}

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

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

func (*ComputeDiskIamUpdater) DescribeResource ¶

func (u *ComputeDiskIamUpdater) DescribeResource() string

func (*ComputeDiskIamUpdater) GetMutexKey ¶

func (u *ComputeDiskIamUpdater) GetMutexKey() string

func (*ComputeDiskIamUpdater) GetResourceIamPolicy ¶

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

func (*ComputeDiskIamUpdater) GetResourceId ¶

func (u *ComputeDiskIamUpdater) GetResourceId() string

func (*ComputeDiskIamUpdater) SetResourceIamPolicy ¶

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

type ComputeImageIamUpdater ¶

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

func (*ComputeImageIamUpdater) DescribeResource ¶

func (u *ComputeImageIamUpdater) DescribeResource() string

func (*ComputeImageIamUpdater) GetMutexKey ¶

func (u *ComputeImageIamUpdater) GetMutexKey() string

func (*ComputeImageIamUpdater) GetResourceIamPolicy ¶

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

func (*ComputeImageIamUpdater) GetResourceId ¶

func (u *ComputeImageIamUpdater) GetResourceId() string

func (*ComputeImageIamUpdater) SetResourceIamPolicy ¶

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

type ComputeInstanceIamUpdater ¶

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

func (*ComputeInstanceIamUpdater) DescribeResource ¶

func (u *ComputeInstanceIamUpdater) DescribeResource() string

func (*ComputeInstanceIamUpdater) GetMutexKey ¶

func (u *ComputeInstanceIamUpdater) GetMutexKey() string

func (*ComputeInstanceIamUpdater) GetResourceIamPolicy ¶

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

func (*ComputeInstanceIamUpdater) GetResourceId ¶

func (u *ComputeInstanceIamUpdater) GetResourceId() string

func (*ComputeInstanceIamUpdater) SetResourceIamPolicy ¶

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

type ComputeOperationError ¶

type ComputeOperationError compute.OperationError

ComputeOperationError wraps compute.OperationError and implements the error interface so it can be returned.

func (ComputeOperationError) Error ¶

func (e ComputeOperationError) Error() string

type ComputeOperationWaiter ¶

type ComputeOperationWaiter struct {
	Service *compute.Service
	Op      *compute.Operation
	Context context.Context
	Project string
}

func (*ComputeOperationWaiter) Error ¶

func (w *ComputeOperationWaiter) Error() error

func (*ComputeOperationWaiter) IsRetryable ¶

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

func (*ComputeOperationWaiter) OpName ¶

func (w *ComputeOperationWaiter) OpName() string

func (*ComputeOperationWaiter) PendingStates ¶

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

func (*ComputeOperationWaiter) QueryOp ¶

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

func (*ComputeOperationWaiter) SetOp ¶

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

func (*ComputeOperationWaiter) State ¶

func (w *ComputeOperationWaiter) State() string

func (*ComputeOperationWaiter) TargetStates ¶

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

type ComputeRegionDiskIamUpdater ¶

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

func (*ComputeRegionDiskIamUpdater) DescribeResource ¶

func (u *ComputeRegionDiskIamUpdater) DescribeResource() string

func (*ComputeRegionDiskIamUpdater) GetMutexKey ¶

func (u *ComputeRegionDiskIamUpdater) GetMutexKey() string

func (*ComputeRegionDiskIamUpdater) GetResourceIamPolicy ¶

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

func (*ComputeRegionDiskIamUpdater) GetResourceId ¶

func (u *ComputeRegionDiskIamUpdater) GetResourceId() string

func (*ComputeRegionDiskIamUpdater) SetResourceIamPolicy ¶

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

type ComputeSubnetworkIamUpdater ¶

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

func (*ComputeSubnetworkIamUpdater) DescribeResource ¶

func (u *ComputeSubnetworkIamUpdater) DescribeResource() string

func (*ComputeSubnetworkIamUpdater) GetMutexKey ¶

func (u *ComputeSubnetworkIamUpdater) GetMutexKey() string

func (*ComputeSubnetworkIamUpdater) GetResourceIamPolicy ¶

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

func (*ComputeSubnetworkIamUpdater) GetResourceId ¶

func (u *ComputeSubnetworkIamUpdater) GetResourceId() string

func (*ComputeSubnetworkIamUpdater) SetResourceIamPolicy ¶

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

type Config ¶

type Config struct {
	AccessToken                        string
	Credentials                        string
	ImpersonateServiceAccount          string
	ImpersonateServiceAccountDelegates []string
	Project                            string
	Region                             string
	BillingProject                     string
	Zone                               string
	Scopes                             []string
	BatchingConfig                     *batchingConfig
	UserProjectOverride                bool
	RequestReason                      string
	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
	ApigeeBasePath               string
	AppEngineBasePath            string
	BigQueryBasePath             string
	BigqueryDataTransferBasePath string
	BigqueryReservationBasePath  string
	BigtableBasePath             string
	BillingBasePath              string
	BinaryAuthorizationBasePath  string
	CloudAssetBasePath           string
	CloudBuildBasePath           string
	CloudFunctionsBasePath       string
	CloudIdentityBasePath        string
	CloudIotBasePath             string
	CloudRunBasePath             string
	CloudSchedulerBasePath       string
	CloudTasksBasePath           string
	ComputeBasePath              string
	ContainerAnalysisBasePath    string
	DataCatalogBasePath          string
	DataLossPreventionBasePath   string
	DataprocBasePath             string
	DatastoreBasePath            string
	DeploymentManagerBasePath    string
	DialogflowBasePath           string
	DialogflowCXBasePath         string
	DNSBasePath                  string
	EssentialContactsBasePath    string
	FilestoreBasePath            string
	FirestoreBasePath            string
	GameServicesBasePath         string
	GKEHubBasePath               string
	HealthcareBasePath           string
	IapBasePath                  string
	IdentityPlatformBasePath     string
	KMSBasePath                  string
	LoggingBasePath              string
	MemcacheBasePath             string
	MLEngineBasePath             string
	MonitoringBasePath           string
	NetworkManagementBasePath    string
	NetworkServicesBasePath      string
	NotebooksBasePath            string
	OSConfigBasePath             string
	OSLoginBasePath              string
	PrivatecaBasePath            string
	PubsubBasePath               string
	PubsubLiteBasePath           string
	RedisBasePath                string
	ResourceManagerBasePath      string
	RuntimeConfigBasePath        string
	SecretManagerBasePath        string
	SecurityCenterBasePath       string
	ServiceManagementBasePath    string
	ServiceUsageBasePath         string
	SourceRepoBasePath           string
	SpannerBasePath              string
	SQLBasePath                  string
	StorageBasePath              string
	TagsBasePath                 string
	TPUBasePath                  string
	VertexAIBasePath             string
	VPCAccessBasePath            string
	WorkflowsBasePath            string

	CloudBillingBasePath      string
	ComposerBasePath          string
	ComputeBetaBasePath       string
	ContainerBasePath         string
	ContainerBetaBasePath     string
	DataprocBetaBasePath      string
	DataflowBasePath          string
	IamCredentialsBasePath    string
	ResourceManagerV2BasePath string
	IAMBasePath               string
	CloudIoTBasePath          string
	ServiceNetworkingBasePath string
	StorageTransferBasePath   string
	BigtableAdminBasePath     string

	// start DCLBasePaths
	// dataprocBasePath is implemented in mm
	AssuredWorkloadsBasePath     string
	CloudResourceManagerBasePath string
	EventarcBasePath             string
	GkeHubBasePath               string
	OrgPolicyBasePath            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, initialCredentialsOnly bool) (googleoauth.Credentials, error)

Get a set of credentials with a given scope (clientScopes) based on the Config object. If initialCredentialsOnly is true, don't follow the impersonation settings and return the initial set of creds instead.

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) NewDataprocClient ¶

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

func (*Config) NewDnsClient ¶

func (c *Config) NewDnsClient(userAgent string) *dns.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) NewKmsClientWithCtx ¶

func (c *Config) NewKmsClientWithCtx(ctx context.Context, 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) NewResourceManagerV2Client ¶

func (c *Config) NewResourceManagerV2Client(userAgent string) *resourceManagerV2.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) NewStorageClientWithTimeoutOverride ¶

func (c *Config) NewStorageClientWithTimeoutOverride(userAgent string, timeout time.Duration) *storage.Service

For object uploads, we need to override the specific timeout because they are long, synchronous operations.

func (*Config) NewStorageTransferClient ¶

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

type ConvertFunc ¶

type ConvertFunc func(d TerraformResourceData, config *Config) ([]Asset, error)

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

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

func (*DataCatalogTagTemplateIamUpdater) DescribeResource ¶

func (u *DataCatalogTagTemplateIamUpdater) DescribeResource() string

func (*DataCatalogTagTemplateIamUpdater) GetMutexKey ¶

func (u *DataCatalogTagTemplateIamUpdater) GetMutexKey() string

func (*DataCatalogTagTemplateIamUpdater) GetResourceIamPolicy ¶

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

func (*DataCatalogTagTemplateIamUpdater) GetResourceId ¶

func (u *DataCatalogTagTemplateIamUpdater) GetResourceId() string

func (*DataCatalogTagTemplateIamUpdater) SetResourceIamPolicy ¶

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

type FetchFullResourceFunc ¶

type FetchFullResourceFunc func(d TerraformResourceData, config *Config) (Asset, error)

FetchFullResourceFunc allows initial data for a resource to be fetched from the API and merged with the planned changes. This is useful for resources that are only partially managed by Terraform, like IAM policies managed with member/binding resources.

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

type GetApiObjectFunc func(d TerraformResourceData, config *Config) (map[string]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 IAMBinding ¶

type IAMBinding struct {
	Role    string   `json:"role"`
	Members []string `json:"members"`
}

type IAMPolicy ¶

type IAMPolicy struct {
	Bindings []IAMBinding `json:"bindings"`
}

type IamSettings ¶

type IamSettings struct {
	DeprecationMessage string
}

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

type ListPolicy struct {
	AllowedValues     []string            `json:"allowed_values,omitempty"`
	DeniedValues      []string            `json:"denied_values,omitempty"`
	AllValues         ListPolicyAllValues `json:"all_values,omitempty"`
	SuggestedValue    string              `json:"suggested_value,omitempty"`
	InheritFromParent bool                `json:"inherit_from_parent,omitempty"`
}

type ListPolicyAllValues ¶

type ListPolicyAllValues int32

type LocationType ¶

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

type MergeFunc ¶

type MergeFunc func(existing, incoming Asset) Asset

MergeFunc combines multiple terraform resources into a single CAI asset. The incoming asset will either be an asset that was created/updated or deleted.

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

type OrgPolicy struct {
	Constraint     string          `json:"constraint,omitempty"`
	ListPolicy     *ListPolicy     `json:"listPolicy"`
	BooleanPolicy  *BooleanPolicy  `json:"booleanPolicy"`
	RestoreDefault *RestoreDefault `json:"restoreDefault"`
	UpdateTime     *Timestamp      `json:"update_time,omitempty"`
}

func GetProjectOrgPolicyApiObject ¶

func GetProjectOrgPolicyApiObject(d TerraformResourceData, config *Config) (OrgPolicy, 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 PrivatecaCaPoolIamUpdater ¶

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

func (*PrivatecaCaPoolIamUpdater) DescribeResource ¶

func (u *PrivatecaCaPoolIamUpdater) DescribeResource() string

func (*PrivatecaCaPoolIamUpdater) GetMutexKey ¶

func (u *PrivatecaCaPoolIamUpdater) GetMutexKey() string

func (*PrivatecaCaPoolIamUpdater) GetResourceIamPolicy ¶

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

func (*PrivatecaCaPoolIamUpdater) GetResourceId ¶

func (u *PrivatecaCaPoolIamUpdater) GetResourceId() string

func (*PrivatecaCaPoolIamUpdater) SetResourceIamPolicy ¶

func (u *PrivatecaCaPoolIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) 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 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 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 ResourceConverter ¶

type ResourceConverter struct {
	AssetType         string
	Convert           ConvertFunc
	FetchFullResource FetchFullResourceFunc
	MergeCreateUpdate MergeFunc
	MergeDelete       MergeFunc
}

type ResourceIamUpdater ¶

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

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

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

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

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

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

func BigQueryTableIamUpdaterProducer ¶

func BigQueryTableIamUpdaterProducer(d 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 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 DataCatalogTagTemplateIamUpdaterProducer ¶

func DataCatalogTagTemplateIamUpdaterProducer(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 NewFolderIamUpdater ¶

func NewFolderIamUpdater(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 NotebooksInstanceIamUpdaterProducer ¶

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

func PrivatecaCaPoolIamUpdaterProducer ¶

func PrivatecaCaPoolIamUpdaterProducer(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 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)

func TagsTagKeyIamUpdaterProducer ¶

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

func TagsTagValueIamUpdaterProducer ¶

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

type RestoreDefault ¶

type RestoreDefault struct {
}

type RetryErrorPredicateFunc ¶

type RetryErrorPredicateFunc func(error) (bool, 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 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 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 SqlAdminOperationError ¶

type SqlAdminOperationError sqladmin.OperationErrors

SqlAdminOperationError wraps sqladmin.OperationError and implements the error interface so it can be returned.

func (SqlAdminOperationError) Error ¶

func (e SqlAdminOperationError) Error() string

type SqlAdminOperationWaiter ¶

type SqlAdminOperationWaiter struct {
	Service *sqladmin.Service
	Op      *sqladmin.Operation
	Project string
}

func (*SqlAdminOperationWaiter) Error ¶

func (w *SqlAdminOperationWaiter) Error() error

func (*SqlAdminOperationWaiter) IsRetryable ¶

func (w *SqlAdminOperationWaiter) IsRetryable(error) bool

func (*SqlAdminOperationWaiter) OpName ¶

func (w *SqlAdminOperationWaiter) OpName() string

func (*SqlAdminOperationWaiter) PendingStates ¶

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

func (*SqlAdminOperationWaiter) QueryOp ¶

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

func (*SqlAdminOperationWaiter) SetOp ¶

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

func (*SqlAdminOperationWaiter) State ¶

func (w *SqlAdminOperationWaiter) State() string

func (*SqlAdminOperationWaiter) TargetStates ¶

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

type StorageBucketIamUpdater ¶

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

func (*StorageBucketIamUpdater) DescribeResource ¶

func (u *StorageBucketIamUpdater) DescribeResource() string

func (*StorageBucketIamUpdater) GetMutexKey ¶

func (u *StorageBucketIamUpdater) GetMutexKey() string

func (*StorageBucketIamUpdater) GetResourceIamPolicy ¶

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

func (*StorageBucketIamUpdater) GetResourceId ¶

func (u *StorageBucketIamUpdater) GetResourceId() string

func (*StorageBucketIamUpdater) SetResourceIamPolicy ¶

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

type TagsTagKeyIamUpdater ¶

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

func (*TagsTagKeyIamUpdater) DescribeResource ¶

func (u *TagsTagKeyIamUpdater) DescribeResource() string

func (*TagsTagKeyIamUpdater) GetMutexKey ¶

func (u *TagsTagKeyIamUpdater) GetMutexKey() string

func (*TagsTagKeyIamUpdater) GetResourceIamPolicy ¶

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

func (*TagsTagKeyIamUpdater) GetResourceId ¶

func (u *TagsTagKeyIamUpdater) GetResourceId() string

func (*TagsTagKeyIamUpdater) SetResourceIamPolicy ¶

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

type TagsTagValueIamUpdater ¶

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

func (*TagsTagValueIamUpdater) DescribeResource ¶

func (u *TagsTagValueIamUpdater) DescribeResource() string

func (*TagsTagValueIamUpdater) GetMutexKey ¶

func (u *TagsTagValueIamUpdater) GetMutexKey() string

func (*TagsTagValueIamUpdater) GetResourceIamPolicy ¶

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

func (*TagsTagValueIamUpdater) GetResourceId ¶

func (u *TagsTagValueIamUpdater) GetResourceId() string

func (*TagsTagValueIamUpdater) SetResourceIamPolicy ¶

func (u *TagsTagValueIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) 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 TerraformResourceDataChange ¶

type TerraformResourceDataChange interface {
	GetChange(string) (interface{}, interface{})
}

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

type Timestamp struct {
	Seconds int64 `json:"seconds,omitempty"`
	Nanos   int64 `json:"nanos,omitempty"`
}

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