Documentation
¶
Overview ¶
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0
Index ¶
- Constants
- Variables
- func BatchRequestEnableService(service string, project string, d *schema.ResourceData, ...) error
- func BatchRequestReadServices(project string, d *schema.ResourceData, config *transport_tpg.Config) (interface{}, error)
- func CanonicalFolderId(folder string) string
- func CanonicalOrgPolicyConstraint(constraint string) string
- func CompareProjectName(_, old, new string, _ *schema.ResourceData) bool
- func DataSourceGoogleActiveFolder() *schema.Resource
- func DataSourceGoogleFolder() *schema.Resource
- func DataSourceGoogleFolderOrganizationPolicy() *schema.Resource
- func DataSourceGoogleFolders() *schema.Resource
- func DataSourceGoogleIamPolicy() *schema.Resource
- func DataSourceGoogleIamRole() *schema.Resource
- func DataSourceGoogleIamTestablePermissions() *schema.Resource
- func DataSourceGoogleNetblockIpRanges() *schema.Resource
- func DataSourceGoogleOrganization() *schema.Resource
- func DataSourceGoogleOrganizations() *schema.Resource
- func DataSourceGoogleProject() *schema.Resource
- func DataSourceGoogleProjectAncestry() *schema.Resource
- func DataSourceGoogleProjectOrganizationPolicy() *schema.Resource
- func DataSourceGoogleProjectService() *schema.Resource
- func DataSourceGoogleProjects() *schema.Resource
- func DataSourceGoogleServiceAccount() *schema.Resource
- func DataSourceGoogleServiceAccountAccessToken() *schema.Resource
- func DataSourceGoogleServiceAccountIdToken() *schema.Resource
- func DataSourceGoogleServiceAccountJwt() *schema.Resource
- func DataSourceGoogleServiceAccountKey() *schema.Resource
- func DataSourceGoogleServiceAccounts() *schema.Resource
- func EnableServiceUsageProjectServices(services []string, project, billingProject, userAgent string, ...) error
- func FolderIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
- func GetFolderIamPolicyByFolderName(folderName, userAgent string, config *transport_tpg.Config) (*cloudresourcemanager.Policy, error)
- func GetProjectIamPolicy(project string, config *transport_tpg.Config) (*cloudresourcemanager.Policy, error)
- func GoogleEphemeralServiceAccountAccessToken() ephemeral.EphemeralResource
- func GoogleEphemeralServiceAccountIdToken() ephemeral.EphemeralResource
- func GoogleEphemeralServiceAccountJwt() ephemeral.EphemeralResource
- func GoogleEphemeralServiceAccountKey() ephemeral.EphemeralResource
- func ListCurrentlyEnabledServices(project, billingProject, userAgent string, config *transport_tpg.Config, ...) (map[string]struct{}, error)
- func NewFolderIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func NewGoogleClientConfigDataSource() datasource.DataSource
- func NewGoogleClientOpenIDUserinfoDataSource() datasource.DataSource
- func NewOrganizationIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func NewProjectIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func NewServiceAccountIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func OrgIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
- func ParseFolderId(v interface{}) string
- func PrefixedProject(pid string) string
- func ProjectIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
- func ResourceBillingSubaccount() *schema.Resource
- func ResourceGoogleFolder() *schema.Resource
- func ResourceGoogleFolderOrganizationPolicy() *schema.Resource
- func ResourceGoogleOrganizationIamCustomRole() *schema.Resource
- func ResourceGoogleOrganizationPolicy() *schema.Resource
- func ResourceGoogleProject() *schema.Resource
- func ResourceGoogleProjectDefaultServiceAccounts() *schema.Resource
- func ResourceGoogleProjectIamCustomRole() *schema.Resource
- func ResourceGoogleProjectIamMemberRemove() *schema.Resource
- func ResourceGoogleProjectOrganizationPolicy() *schema.Resource
- func ResourceGoogleProjectService() *schema.Resource
- func ResourceGoogleServiceAccount() *schema.Resource
- func ResourceGoogleServiceAccountKey() *schema.Resource
- func ResourceManagerOperationWaitTime(config *transport_tpg.Config, op map[string]interface{}, ...) error
- func ResourceManagerOperationWaitTimeWithResponse(config *transport_tpg.Config, op map[string]interface{}, ...) error
- func ResourceProjectServiceIdentity() *schema.Resource
- func ResourceResourceManagerLien() *schema.Resource
- func ResourceServiceAccountCustomDiffFunc(diff tpgresource.TerraformResourceDiff) error
- func ServiceAccountIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
- func ServiceAccountKeyWaitTime(client *iam.ProjectsServiceAccountsKeysService, ...) error
- type FolderIamUpdater
- func (u *FolderIamUpdater) DescribeResource() string
- func (u *FolderIamUpdater) GetMutexKey() string
- func (u *FolderIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *FolderIamUpdater) GetResourceId() string
- func (u *FolderIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type GoogleClientConfigDataSource
- func (d *GoogleClientConfigDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *GoogleClientConfigDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *GoogleClientConfigDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *GoogleClientConfigDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type GoogleClientConfigModel
- type GoogleClientOpenIDUserinfoDataSource
- func (d *GoogleClientOpenIDUserinfoDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *GoogleClientOpenIDUserinfoDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *GoogleClientOpenIDUserinfoDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *GoogleClientOpenIDUserinfoDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type GoogleClientOpenIDUserinfoModel
- type OrganizationIamUpdater
- func (u *OrganizationIamUpdater) DescribeResource() string
- func (u *OrganizationIamUpdater) GetMutexKey() string
- func (u *OrganizationIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *OrganizationIamUpdater) GetResourceId() string
- func (u *OrganizationIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ProjectIamUpdater
- func (u *ProjectIamUpdater) DescribeResource() string
- func (u *ProjectIamUpdater) GetMutexKey() string
- func (u *ProjectIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *ProjectIamUpdater) GetResourceId() string
- func (u *ProjectIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ResourceManagerOperationWaiter
- type ServiceAccountIamUpdater
- func (u *ServiceAccountIamUpdater) DescribeResource() string
- func (u *ServiceAccountIamUpdater) GetMutexKey() string
- func (u *ServiceAccountIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *ServiceAccountIamUpdater) GetResourceId() string
- func (u *ServiceAccountIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type ServiceAccountKeyWaiter
- type ServicesCall
Constants ¶
const ( CLOUD_NETBLOCK_URL = "https://www.gstatic.com/ipranges/cloud.json" GOOGLE_NETBLOCK_URL = "https://www.gstatic.com/ipranges/goog.json" )
Variables ¶
var (
DataSourceGoogleServiceAccountJwtNow = time.Now
)
var IamFolderSchema = map[string]*schema.Schema{ "folder": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamOrganizationSchema = map[string]*schema.Schema{ "org_id": { Type: schema.TypeString, Required: true, ForceNew: true, Description: `The numeric ID of the organization in which you want to manage the audit logging config.`, }, }
var IamProjectSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: CompareProjectName, }, }
var IamServiceAccountSchema = map[string]*schema.Schema{ "service_account_id": { Type: schema.TypeString, Required: true, ForceNew: true, ValidateFunc: verify.ValidateRegexp(verify.ServiceAccountLinkRegex), }, }
var RenamedServices = map[string]string{}
map from old -> new names of services that have been renamed these should be removed during major provider versions. comment here with "DEPRECATED FOR {{version}} next to entries slated for removal in {{version}} upon removal, we should disallow the old name from being used even if it's not gone from the underlying API yet
var (
TestPrefix = "tf-test"
)
Functions ¶
func BatchRequestEnableService ¶
func BatchRequestEnableService(service string, project string, d *schema.ResourceData, config *transport_tpg.Config) error
BatchRequestEnableServices can be used to batch requests to enable services across resource nodes, i.e. to batch creation of several google_project_service(s) resources.
func BatchRequestReadServices ¶
func BatchRequestReadServices(project string, d *schema.ResourceData, config *transport_tpg.Config) (interface{}, error)
func CanonicalFolderId ¶
func CompareProjectName ¶
func CompareProjectName(_, old, new string, _ *schema.ResourceData) bool
func DataSourceGoogleFolder ¶
func DataSourceGoogleFolders ¶
func DataSourceGoogleIamPolicy ¶
DataSourceGoogleIamPolicy returns a *schema.Resource that allows a customer to express a Google Cloud IAM policy in a data resource. This is an example of how the schema would be used in a config:
data "google_iam_policy" "admin" { binding { role = "roles/storage.objectViewer" members = [ "user:evanbrown@google.com", ] } }
func DataSourceGoogleIamRole ¶
func DataSourceGoogleProject ¶
func EnableServiceUsageProjectServices ¶
func EnableServiceUsageProjectServices(services []string, project, billingProject, userAgent string, config *transport_tpg.Config, timeout time.Duration) error
Enables services. WARNING: Use BatchRequestEnableServices for better batching if possible.
func FolderIdParseFunc ¶
func FolderIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
func GetFolderIamPolicyByFolderName ¶
func GetFolderIamPolicyByFolderName(folderName, userAgent string, config *transport_tpg.Config) (*cloudresourcemanager.Policy, error)
Retrieve the existing IAM Policy for a folder
func GetProjectIamPolicy ¶
func GetProjectIamPolicy(project string, config *transport_tpg.Config) (*cloudresourcemanager.Policy, error)
Retrieve the existing IAM Policy for a Project
func GoogleEphemeralServiceAccountAccessToken ¶
func GoogleEphemeralServiceAccountAccessToken() ephemeral.EphemeralResource
func GoogleEphemeralServiceAccountIdToken ¶
func GoogleEphemeralServiceAccountIdToken() ephemeral.EphemeralResource
func GoogleEphemeralServiceAccountJwt ¶
func GoogleEphemeralServiceAccountJwt() ephemeral.EphemeralResource
func GoogleEphemeralServiceAccountKey ¶
func GoogleEphemeralServiceAccountKey() ephemeral.EphemeralResource
func ListCurrentlyEnabledServices ¶
func ListCurrentlyEnabledServices(project, billingProject, userAgent string, config *transport_tpg.Config, timeout time.Duration) (map[string]struct{}, error)
Retrieve a project's services from the API if a service has been renamed, this function will list both the old and new forms of the service. LIST responses are expected to return only the old or new form, but we'll always return both.
func NewFolderIamUpdater ¶
func NewFolderIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func NewGoogleClientConfigDataSource ¶
func NewGoogleClientConfigDataSource() datasource.DataSource
func NewGoogleClientOpenIDUserinfoDataSource ¶
func NewGoogleClientOpenIDUserinfoDataSource() datasource.DataSource
func NewOrganizationIamUpdater ¶
func NewOrganizationIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func NewProjectIamUpdater ¶
func NewProjectIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func NewServiceAccountIamUpdater ¶
func NewServiceAccountIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func OrgIdParseFunc ¶
func OrgIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
func ParseFolderId ¶
func ParseFolderId(v interface{}) string
func PrefixedProject ¶
func ProjectIdParseFunc ¶
func ProjectIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
func ResourceGoogleFolder ¶
func ResourceGoogleProject ¶
ResourceGoogleProject returns a *schema.Resource that allows a customer to declare a Google Cloud Project resource.
func ResourceGoogleProjectDefaultServiceAccounts ¶
ResourceGoogleProjectDefaultServiceAccounts returns a *schema.Resource that allows a customer to manage all the default serviceAccounts. It does mean that terraform tried to perform the action in the SA at some point but does not ensure that all defaults serviceAccounts where managed. Eg.: API was activated after project creation.
func ResourceManagerOperationWaitTimeWithResponse ¶
func ResourceManagerOperationWaitTimeWithResponse(config *transport_tpg.Config, op map[string]interface{}, response *map[string]interface{}, activity, userAgent string, timeout time.Duration) error
nolint: deadcode,unused
func ResourceServiceAccountCustomDiffFunc ¶
func ResourceServiceAccountCustomDiffFunc(diff tpgresource.TerraformResourceDiff) error
func ServiceAccountIdParseFunc ¶
func ServiceAccountIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
Types ¶
type FolderIamUpdater ¶
type FolderIamUpdater struct { Config *transport_tpg.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 GoogleClientConfigDataSource ¶
type GoogleClientConfigDataSource struct {
// contains filtered or unexported fields
}
func (*GoogleClientConfigDataSource) Configure ¶
func (d *GoogleClientConfigDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*GoogleClientConfigDataSource) Metadata ¶
func (d *GoogleClientConfigDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*GoogleClientConfigDataSource) Read ¶
func (d *GoogleClientConfigDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*GoogleClientConfigDataSource) Schema ¶
func (d *GoogleClientConfigDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type GoogleClientConfigModel ¶
type GoogleClientConfigModel struct { // Id could/should be removed in future as it's not necessary in the plugin framework // https://github.com/hashicorp/terraform-plugin-testing/issues/84 Id types.String `tfsdk:"id"` Project types.String `tfsdk:"project"` Region types.String `tfsdk:"region"` Zone types.String `tfsdk:"zone"` AccessToken types.String `tfsdk:"access_token"` DefaultLabels types.Map `tfsdk:"default_labels"` }
type GoogleClientOpenIDUserinfoDataSource ¶
type GoogleClientOpenIDUserinfoDataSource struct {
// contains filtered or unexported fields
}
func (*GoogleClientOpenIDUserinfoDataSource) Configure ¶
func (d *GoogleClientOpenIDUserinfoDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*GoogleClientOpenIDUserinfoDataSource) Metadata ¶
func (d *GoogleClientOpenIDUserinfoDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*GoogleClientOpenIDUserinfoDataSource) Read ¶
func (d *GoogleClientOpenIDUserinfoDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*GoogleClientOpenIDUserinfoDataSource) Schema ¶
func (d *GoogleClientOpenIDUserinfoDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type GoogleClientOpenIDUserinfoModel ¶
type GoogleClientOpenIDUserinfoModel struct { // Id could/should be removed in future as it's not necessary in the plugin framework // https://github.com/hashicorp/terraform-plugin-testing/issues/84 Id types.String `tfsdk:"id"` Email types.String `tfsdk:"email"` }
type OrganizationIamUpdater ¶
type OrganizationIamUpdater struct { Config *transport_tpg.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 ProjectIamUpdater ¶
type ProjectIamUpdater struct { Config *transport_tpg.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 ResourceManagerOperationWaiter ¶
type ResourceManagerOperationWaiter struct { Config *transport_tpg.Config UserAgent string tpgresource.CommonOperationWaiter }
func (*ResourceManagerOperationWaiter) QueryOp ¶
func (w *ResourceManagerOperationWaiter) QueryOp() (interface{}, error)
type ServiceAccountIamUpdater ¶
type ServiceAccountIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*ServiceAccountIamUpdater) DescribeResource ¶
func (u *ServiceAccountIamUpdater) DescribeResource() string
func (*ServiceAccountIamUpdater) GetMutexKey ¶
func (u *ServiceAccountIamUpdater) GetMutexKey() string
func (*ServiceAccountIamUpdater) GetResourceIamPolicy ¶
func (u *ServiceAccountIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*ServiceAccountIamUpdater) GetResourceId ¶
func (u *ServiceAccountIamUpdater) GetResourceId() string
func (*ServiceAccountIamUpdater) SetResourceIamPolicy ¶
func (u *ServiceAccountIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type ServiceAccountKeyWaiter ¶
type ServiceAccountKeyWaiter struct { Service *iam.ProjectsServiceAccountsKeysService PublicKeyType string KeyName string }
func (*ServiceAccountKeyWaiter) RefreshFunc ¶
func (w *ServiceAccountKeyWaiter) RefreshFunc() retry.StateRefreshFunc
type ServicesCall ¶
type ServicesCall interface { Header() http.Header Do(opts ...googleapi.CallOption) (*serviceusage.Operation, error) }
Source Files
¶
- data_source_google_active_folder.go
- data_source_google_client_config.go
- data_source_google_client_openid_userinfo.go
- data_source_google_folder.go
- data_source_google_folder_organization_policy.go
- data_source_google_folders.go
- data_source_google_iam_policy.go
- data_source_google_iam_role.go
- data_source_google_iam_testable_permissions.go
- data_source_google_netblock_ip_ranges.go
- data_source_google_organization.go
- data_source_google_organizations.go
- data_source_google_project.go
- data_source_google_project_ancestry.go
- data_source_google_project_organization_policy.go
- data_source_google_project_service.go
- data_source_google_projects.go
- data_source_google_service_account.go
- data_source_google_service_account_access_token.go
- data_source_google_service_account_id_token.go
- data_source_google_service_account_jwt.go
- data_source_google_service_account_key.go
- data_source_google_service_accounts.go
- ephemeral_google_service_account_access_token.go
- ephemeral_google_service_account_id_token.go
- ephemeral_google_service_account_jwt.go
- ephemeral_google_service_account_key.go
- iam_folder.go
- iam_organization.go
- iam_project.go
- iam_service_account.go
- resource_google_billing_subaccount.go
- resource_google_folder.go
- resource_google_folder_organization_policy.go
- resource_google_organization_iam_custom_role.go
- resource_google_organization_policy.go
- resource_google_project.go
- resource_google_project_default_service_accounts.go
- resource_google_project_iam_custom_role.go
- resource_google_project_iam_member_remove.go
- resource_google_project_migrate.go
- resource_google_project_organization_policy.go
- resource_google_project_service.go
- resource_google_project_sweeper.go
- resource_google_service_account.go
- resource_google_service_account_key.go
- resource_google_service_account_sweeper.go
- resource_manager_operation.go
- resource_project_service_identity.go
- resource_resource_manager_lien.go
- service_account_waiter.go
- serviceusage_batching.go