Documentation ¶
Index ¶
- Constants
- Variables
- func FetchNotebooksInstanceIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func FetchNotebooksRuntimeIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func GetNotebooksEnvironmentApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetNotebooksEnvironmentCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetNotebooksInstanceApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetNotebooksInstanceCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetNotebooksInstanceIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetNotebooksInstanceIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetNotebooksInstanceIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetNotebooksLocationApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetNotebooksLocationCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetNotebooksRuntimeApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetNotebooksRuntimeCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetNotebooksRuntimeIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetNotebooksRuntimeIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetNotebooksRuntimeIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func MergeNotebooksInstanceIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeNotebooksInstanceIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeNotebooksInstanceIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeNotebooksInstanceIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeNotebooksInstanceIamPolicy(existing, incoming cai.Asset) cai.Asset
- func MergeNotebooksRuntimeIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeNotebooksRuntimeIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeNotebooksRuntimeIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeNotebooksRuntimeIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeNotebooksRuntimeIamPolicy(existing, incoming cai.Asset) cai.Asset
- func NotReturnedByAPIDiffSuppress(k, old, new string, d *schema.ResourceData) bool
- func NotebooksInstanceIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func NotebooksInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func NotebooksRuntimeIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func NotebooksRuntimeIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func NotebooksRuntimeLabelDiffSuppress(k, old, new string, d *schema.ResourceData) bool
- func ResourceConverterNotebooksEnvironment() cai.ResourceConverter
- func ResourceConverterNotebooksInstance() cai.ResourceConverter
- func ResourceConverterNotebooksInstanceIamBinding() cai.ResourceConverter
- func ResourceConverterNotebooksInstanceIamMember() cai.ResourceConverter
- func ResourceConverterNotebooksInstanceIamPolicy() cai.ResourceConverter
- func ResourceConverterNotebooksLocation() cai.ResourceConverter
- func ResourceConverterNotebooksRuntime() cai.ResourceConverter
- func ResourceConverterNotebooksRuntimeIamBinding() cai.ResourceConverter
- func ResourceConverterNotebooksRuntimeIamMember() cai.ResourceConverter
- func ResourceConverterNotebooksRuntimeIamPolicy() cai.ResourceConverter
- type NotebooksInstanceIamUpdater
- func (u *NotebooksInstanceIamUpdater) DescribeResource() string
- func (u *NotebooksInstanceIamUpdater) GetMutexKey() string
- func (u *NotebooksInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *NotebooksInstanceIamUpdater) GetResourceId() string
- func (u *NotebooksInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type NotebooksRuntimeIamUpdater
- func (u *NotebooksRuntimeIamUpdater) DescribeResource() string
- func (u *NotebooksRuntimeIamUpdater) GetMutexKey() string
- func (u *NotebooksRuntimeIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *NotebooksRuntimeIamUpdater) GetResourceId() string
- func (u *NotebooksRuntimeIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Constants ¶
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 NotebooksRuntimeAssetType string = "notebooks.googleapis.com/Runtime"
View Source
const NotebooksRuntimeIAMAssetType string = "notebooks.googleapis.com/Runtime"
Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files
Variables ¶
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: tpgresource.CompareSelfLinkOrResourceName, }, }
View Source
var NotebooksRuntimeIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "location": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "runtime_name": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName, }, }
Functions ¶
func FetchNotebooksInstanceIamPolicy ¶
func FetchNotebooksInstanceIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
func FetchNotebooksRuntimeIamPolicy ¶
func FetchNotebooksRuntimeIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
func GetNotebooksEnvironmentApiObject ¶
func GetNotebooksEnvironmentApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetNotebooksEnvironmentCaiObject ¶
func GetNotebooksEnvironmentCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetNotebooksInstanceApiObject ¶
func GetNotebooksInstanceApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetNotebooksInstanceCaiObject ¶
func GetNotebooksInstanceCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetNotebooksInstanceIamBindingCaiObject ¶
func GetNotebooksInstanceIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetNotebooksInstanceIamMemberCaiObject ¶
func GetNotebooksInstanceIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetNotebooksInstanceIamPolicyCaiObject ¶
func GetNotebooksInstanceIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetNotebooksLocationApiObject ¶
func GetNotebooksLocationApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetNotebooksLocationCaiObject ¶
func GetNotebooksLocationCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetNotebooksRuntimeApiObject ¶
func GetNotebooksRuntimeApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetNotebooksRuntimeCaiObject ¶
func GetNotebooksRuntimeCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetNotebooksRuntimeIamBindingCaiObject ¶
func GetNotebooksRuntimeIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetNotebooksRuntimeIamMemberCaiObject ¶
func GetNotebooksRuntimeIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetNotebooksRuntimeIamPolicyCaiObject ¶
func GetNotebooksRuntimeIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func NotReturnedByAPIDiffSuppress ¶
func NotReturnedByAPIDiffSuppress(k, old, new string, d *schema.ResourceData) bool
NotReturnedByAPIDiffSuppress
func NotebooksInstanceIamUpdaterProducer ¶
func NotebooksInstanceIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func NotebooksInstanceIdParseFunc ¶
func NotebooksInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func NotebooksRuntimeIamUpdaterProducer ¶
func NotebooksRuntimeIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func NotebooksRuntimeIdParseFunc ¶
func NotebooksRuntimeIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func NotebooksRuntimeLabelDiffSuppress ¶
func NotebooksRuntimeLabelDiffSuppress(k, old, new string, d *schema.ResourceData) bool
func ResourceConverterNotebooksEnvironment ¶
func ResourceConverterNotebooksEnvironment() cai.ResourceConverter
func ResourceConverterNotebooksInstance ¶
func ResourceConverterNotebooksInstance() cai.ResourceConverter
func ResourceConverterNotebooksInstanceIamBinding ¶
func ResourceConverterNotebooksInstanceIamBinding() cai.ResourceConverter
func ResourceConverterNotebooksInstanceIamMember ¶
func ResourceConverterNotebooksInstanceIamMember() cai.ResourceConverter
func ResourceConverterNotebooksInstanceIamPolicy ¶
func ResourceConverterNotebooksInstanceIamPolicy() cai.ResourceConverter
func ResourceConverterNotebooksLocation ¶
func ResourceConverterNotebooksLocation() cai.ResourceConverter
func ResourceConverterNotebooksRuntime ¶
func ResourceConverterNotebooksRuntime() cai.ResourceConverter
func ResourceConverterNotebooksRuntimeIamBinding ¶
func ResourceConverterNotebooksRuntimeIamBinding() cai.ResourceConverter
func ResourceConverterNotebooksRuntimeIamMember ¶
func ResourceConverterNotebooksRuntimeIamMember() cai.ResourceConverter
func ResourceConverterNotebooksRuntimeIamPolicy ¶
func ResourceConverterNotebooksRuntimeIamPolicy() cai.ResourceConverter
Types ¶
type NotebooksInstanceIamUpdater ¶
type NotebooksInstanceIamUpdater struct { Config *transport_tpg.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 NotebooksRuntimeIamUpdater ¶
type NotebooksRuntimeIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*NotebooksRuntimeIamUpdater) DescribeResource ¶
func (u *NotebooksRuntimeIamUpdater) DescribeResource() string
func (*NotebooksRuntimeIamUpdater) GetMutexKey ¶
func (u *NotebooksRuntimeIamUpdater) GetMutexKey() string
func (*NotebooksRuntimeIamUpdater) GetResourceIamPolicy ¶
func (u *NotebooksRuntimeIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*NotebooksRuntimeIamUpdater) GetResourceId ¶
func (u *NotebooksRuntimeIamUpdater) GetResourceId() string
func (*NotebooksRuntimeIamUpdater) SetResourceIamPolicy ¶
func (u *NotebooksRuntimeIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Click to show internal directories.
Click to hide internal directories.