Documentation ¶
Index ¶
- Constants
- Variables
- func CanonicalFolderId(folder string) string
- func CompareProjectName(_, old, new string, _ *schema.ResourceData) bool
- func FetchFolderIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func FetchOrganizationIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func FetchProjectIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func FolderIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
- func GetFolderIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetFolderIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetFolderIamPolicyByFolderName(folderName, userAgent string, config *transport_tpg.Config) (*cloudresourcemanager.Policy, error)
- func GetFolderIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetOrganizationIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetOrganizationIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetOrganizationIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetProjectIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetProjectIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetProjectIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetResourceManagerLienApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetResourceManagerLienCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func MergeFolderIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeFolderIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeFolderIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeFolderIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeFolderIamPolicy(existing, incoming cai.Asset) cai.Asset
- func MergeOrganizationIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeOrganizationIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeOrganizationIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeOrganizationIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeOrganizationIamPolicy(existing, incoming cai.Asset) cai.Asset
- func MergeProjectIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeProjectIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeProjectIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeProjectIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeProjectIamPolicy(existing, incoming cai.Asset) cai.Asset
- func NewFolderIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- 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 OrgIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
- func ProjectIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
- func ResourceConverterFolderIamBinding() cai.ResourceConverter
- func ResourceConverterFolderIamMember() cai.ResourceConverter
- func ResourceConverterFolderIamPolicy() cai.ResourceConverter
- func ResourceConverterOrganizationIamBinding() cai.ResourceConverter
- func ResourceConverterOrganizationIamMember() cai.ResourceConverter
- func ResourceConverterOrganizationIamPolicy() cai.ResourceConverter
- func ResourceConverterProjectIamBinding() cai.ResourceConverter
- func ResourceConverterProjectIamMember() cai.ResourceConverter
- func ResourceConverterProjectIamPolicy() cai.ResourceConverter
- func ResourceConverterResourceManagerLien() cai.ResourceConverter
- 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 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
Constants ¶
View Source
const ResourceManagerLienAssetType string = "cloudresourcemanager.googleapis.com/Lien"
Variables ¶
View Source
var IamFolderSchema = map[string]*schema.Schema{ "folder": { 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 IamProjectSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: CompareProjectName, }, }
Functions ¶
func CanonicalFolderId ¶
func CompareProjectName ¶
func CompareProjectName(_, old, new string, _ *schema.ResourceData) bool
func FetchFolderIamPolicy ¶
func FetchFolderIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
func FetchOrganizationIamPolicy ¶
func FetchOrganizationIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
func FetchProjectIamPolicy ¶
func FetchProjectIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
func FolderIdParseFunc ¶
func FolderIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
func GetFolderIamBindingCaiObject ¶
func GetFolderIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetFolderIamMemberCaiObject ¶
func GetFolderIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetFolderIamPolicyByFolderName ¶
func GetFolderIamPolicyByFolderName(folderName, userAgent string, config *transport_tpg.Config) (*cloudresourcemanager.Policy, error)
Retrieve the existing IAM Policy for a folder
func GetFolderIamPolicyCaiObject ¶
func GetFolderIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetOrganizationIamBindingCaiObject ¶
func GetOrganizationIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetOrganizationIamMemberCaiObject ¶
func GetOrganizationIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetOrganizationIamPolicyCaiObject ¶
func GetOrganizationIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetProjectIamBindingCaiObject ¶
func GetProjectIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetProjectIamMemberCaiObject ¶
func GetProjectIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetProjectIamPolicyCaiObject ¶
func GetProjectIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetResourceManagerLienApiObject ¶
func GetResourceManagerLienApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetResourceManagerLienCaiObject ¶
func GetResourceManagerLienCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func NewFolderIamUpdater ¶
func NewFolderIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
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 OrgIdParseFunc ¶
func OrgIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
func ProjectIdParseFunc ¶
func ProjectIdParseFunc(d *schema.ResourceData, _ *transport_tpg.Config) error
func ResourceConverterFolderIamBinding ¶
func ResourceConverterFolderIamBinding() cai.ResourceConverter
func ResourceConverterFolderIamMember ¶
func ResourceConverterFolderIamMember() cai.ResourceConverter
func ResourceConverterFolderIamPolicy ¶
func ResourceConverterFolderIamPolicy() cai.ResourceConverter
func ResourceConverterOrganizationIamBinding ¶
func ResourceConverterOrganizationIamBinding() cai.ResourceConverter
func ResourceConverterOrganizationIamMember ¶
func ResourceConverterOrganizationIamMember() cai.ResourceConverter
func ResourceConverterOrganizationIamPolicy ¶
func ResourceConverterOrganizationIamPolicy() cai.ResourceConverter
func ResourceConverterProjectIamBinding ¶
func ResourceConverterProjectIamBinding() cai.ResourceConverter
func ResourceConverterProjectIamMember ¶
func ResourceConverterProjectIamMember() cai.ResourceConverter
func ResourceConverterProjectIamPolicy ¶
func ResourceConverterProjectIamPolicy() cai.ResourceConverter
func ResourceConverterResourceManagerLien ¶
func ResourceConverterResourceManagerLien() cai.ResourceConverter
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 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
Click to show internal directories.
Click to hide internal directories.