Documentation ¶
Index ¶
- type Function
- type FunctionArgs
- type FunctionArray
- type FunctionArrayInput
- type FunctionArrayOutput
- type FunctionBuildConfig
- type FunctionBuildConfigArgs
- func (FunctionBuildConfigArgs) ElementType() reflect.Type
- func (i FunctionBuildConfigArgs) ToFunctionBuildConfigOutput() FunctionBuildConfigOutput
- func (i FunctionBuildConfigArgs) ToFunctionBuildConfigOutputWithContext(ctx context.Context) FunctionBuildConfigOutput
- func (i FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
- func (i FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
- type FunctionBuildConfigInput
- type FunctionBuildConfigOutput
- func (o FunctionBuildConfigOutput) Build() pulumi.StringPtrOutput
- func (o FunctionBuildConfigOutput) DockerRepository() pulumi.StringPtrOutput
- func (FunctionBuildConfigOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigOutput) EntryPoint() pulumi.StringPtrOutput
- func (o FunctionBuildConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
- func (o FunctionBuildConfigOutput) Runtime() pulumi.StringPtrOutput
- func (o FunctionBuildConfigOutput) Source() FunctionBuildConfigSourcePtrOutput
- func (o FunctionBuildConfigOutput) ToFunctionBuildConfigOutput() FunctionBuildConfigOutput
- func (o FunctionBuildConfigOutput) ToFunctionBuildConfigOutputWithContext(ctx context.Context) FunctionBuildConfigOutput
- func (o FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
- func (o FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
- func (o FunctionBuildConfigOutput) WorkerPool() pulumi.StringPtrOutput
- type FunctionBuildConfigPtrInput
- type FunctionBuildConfigPtrOutput
- func (o FunctionBuildConfigPtrOutput) Build() pulumi.StringPtrOutput
- func (o FunctionBuildConfigPtrOutput) DockerRepository() pulumi.StringPtrOutput
- func (o FunctionBuildConfigPtrOutput) Elem() FunctionBuildConfigOutput
- func (FunctionBuildConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigPtrOutput) EntryPoint() pulumi.StringPtrOutput
- func (o FunctionBuildConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput
- func (o FunctionBuildConfigPtrOutput) Runtime() pulumi.StringPtrOutput
- func (o FunctionBuildConfigPtrOutput) Source() FunctionBuildConfigSourcePtrOutput
- func (o FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
- func (o FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
- func (o FunctionBuildConfigPtrOutput) WorkerPool() pulumi.StringPtrOutput
- type FunctionBuildConfigSource
- type FunctionBuildConfigSourceArgs
- func (FunctionBuildConfigSourceArgs) ElementType() reflect.Type
- func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutput() FunctionBuildConfigSourceOutput
- func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceOutput
- func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
- func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
- type FunctionBuildConfigSourceInput
- type FunctionBuildConfigSourceOutput
- func (FunctionBuildConfigSourceOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourceOutput) RepoSource() FunctionBuildConfigSourceRepoSourcePtrOutput
- func (o FunctionBuildConfigSourceOutput) StorageSource() FunctionBuildConfigSourceStorageSourcePtrOutput
- func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutput() FunctionBuildConfigSourceOutput
- func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceOutput
- func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
- func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
- type FunctionBuildConfigSourcePtrInput
- type FunctionBuildConfigSourcePtrOutput
- func (o FunctionBuildConfigSourcePtrOutput) Elem() FunctionBuildConfigSourceOutput
- func (FunctionBuildConfigSourcePtrOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourcePtrOutput) RepoSource() FunctionBuildConfigSourceRepoSourcePtrOutput
- func (o FunctionBuildConfigSourcePtrOutput) StorageSource() FunctionBuildConfigSourceStorageSourcePtrOutput
- func (o FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
- func (o FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
- type FunctionBuildConfigSourceRepoSource
- type FunctionBuildConfigSourceRepoSourceArgs
- func (FunctionBuildConfigSourceRepoSourceArgs) ElementType() reflect.Type
- func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutput() FunctionBuildConfigSourceRepoSourceOutput
- func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourceOutput
- func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
- func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
- type FunctionBuildConfigSourceRepoSourceInput
- type FunctionBuildConfigSourceRepoSourceOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) BranchName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) CommitSha() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) Dir() pulumi.StringPtrOutput
- func (FunctionBuildConfigSourceRepoSourceOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourceRepoSourceOutput) InvertRegex() pulumi.BoolPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) ProjectId() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) RepoName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) TagName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutput() FunctionBuildConfigSourceRepoSourceOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourceOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
- func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
- type FunctionBuildConfigSourceRepoSourcePtrInput
- type FunctionBuildConfigSourceRepoSourcePtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) BranchName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) CommitSha() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) Dir() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) Elem() FunctionBuildConfigSourceRepoSourceOutput
- func (FunctionBuildConfigSourceRepoSourcePtrOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) InvertRegex() pulumi.BoolPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ProjectId() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) RepoName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) TagName() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
- func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
- type FunctionBuildConfigSourceStorageSource
- type FunctionBuildConfigSourceStorageSourceArgs
- func (FunctionBuildConfigSourceStorageSourceArgs) ElementType() reflect.Type
- func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutput() FunctionBuildConfigSourceStorageSourceOutput
- func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourceOutput
- func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
- func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
- type FunctionBuildConfigSourceStorageSourceInput
- type FunctionBuildConfigSourceStorageSourceOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) Bucket() pulumi.StringPtrOutput
- func (FunctionBuildConfigSourceStorageSourceOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourceStorageSourceOutput) Generation() pulumi.IntPtrOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) Object() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutput() FunctionBuildConfigSourceStorageSourceOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourceOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
- func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
- type FunctionBuildConfigSourceStorageSourcePtrInput
- type FunctionBuildConfigSourceStorageSourcePtrOutput
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Bucket() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Elem() FunctionBuildConfigSourceStorageSourceOutput
- func (FunctionBuildConfigSourceStorageSourcePtrOutput) ElementType() reflect.Type
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Generation() pulumi.IntPtrOutput
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Object() pulumi.StringPtrOutput
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
- func (o FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
- type FunctionEventTrigger
- type FunctionEventTriggerArgs
- func (FunctionEventTriggerArgs) ElementType() reflect.Type
- func (i FunctionEventTriggerArgs) ToFunctionEventTriggerOutput() FunctionEventTriggerOutput
- func (i FunctionEventTriggerArgs) ToFunctionEventTriggerOutputWithContext(ctx context.Context) FunctionEventTriggerOutput
- func (i FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
- func (i FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
- type FunctionEventTriggerInput
- type FunctionEventTriggerOutput
- func (FunctionEventTriggerOutput) ElementType() reflect.Type
- func (o FunctionEventTriggerOutput) EventType() pulumi.StringPtrOutput
- func (o FunctionEventTriggerOutput) PubsubTopic() pulumi.StringPtrOutput
- func (o FunctionEventTriggerOutput) RetryPolicy() pulumi.StringPtrOutput
- func (o FunctionEventTriggerOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o FunctionEventTriggerOutput) ToFunctionEventTriggerOutput() FunctionEventTriggerOutput
- func (o FunctionEventTriggerOutput) ToFunctionEventTriggerOutputWithContext(ctx context.Context) FunctionEventTriggerOutput
- func (o FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerOutput) Trigger() pulumi.StringPtrOutput
- func (o FunctionEventTriggerOutput) TriggerRegion() pulumi.StringPtrOutput
- type FunctionEventTriggerPtrInput
- type FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerPtrOutput) Elem() FunctionEventTriggerOutput
- func (FunctionEventTriggerPtrOutput) ElementType() reflect.Type
- func (o FunctionEventTriggerPtrOutput) EventType() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) PubsubTopic() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) RetryPolicy() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
- func (o FunctionEventTriggerPtrOutput) Trigger() pulumi.StringPtrOutput
- func (o FunctionEventTriggerPtrOutput) TriggerRegion() pulumi.StringPtrOutput
- type FunctionIamBinding
- type FunctionIamBindingArgs
- type FunctionIamBindingArray
- type FunctionIamBindingArrayInput
- type FunctionIamBindingArrayOutput
- func (FunctionIamBindingArrayOutput) ElementType() reflect.Type
- func (o FunctionIamBindingArrayOutput) Index(i pulumi.IntInput) FunctionIamBindingOutput
- func (o FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutput() FunctionIamBindingArrayOutput
- func (o FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutputWithContext(ctx context.Context) FunctionIamBindingArrayOutput
- type FunctionIamBindingCondition
- type FunctionIamBindingConditionArgs
- func (FunctionIamBindingConditionArgs) ElementType() reflect.Type
- func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutput() FunctionIamBindingConditionOutput
- func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutputWithContext(ctx context.Context) FunctionIamBindingConditionOutput
- func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
- func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
- type FunctionIamBindingConditionInput
- type FunctionIamBindingConditionOutput
- func (o FunctionIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (FunctionIamBindingConditionOutput) ElementType() reflect.Type
- func (o FunctionIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o FunctionIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutput() FunctionIamBindingConditionOutput
- func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutputWithContext(ctx context.Context) FunctionIamBindingConditionOutput
- func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
- func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
- type FunctionIamBindingConditionPtrInput
- type FunctionIamBindingConditionPtrOutput
- func (o FunctionIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o FunctionIamBindingConditionPtrOutput) Elem() FunctionIamBindingConditionOutput
- func (FunctionIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o FunctionIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o FunctionIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
- func (o FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
- type FunctionIamBindingInput
- type FunctionIamBindingMap
- type FunctionIamBindingMapInput
- type FunctionIamBindingMapOutput
- func (FunctionIamBindingMapOutput) ElementType() reflect.Type
- func (o FunctionIamBindingMapOutput) MapIndex(k pulumi.StringInput) FunctionIamBindingOutput
- func (o FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutput() FunctionIamBindingMapOutput
- func (o FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutputWithContext(ctx context.Context) FunctionIamBindingMapOutput
- type FunctionIamBindingOutput
- func (o FunctionIamBindingOutput) CloudFunction() pulumi.StringOutput
- func (o FunctionIamBindingOutput) Condition() FunctionIamBindingConditionPtrOutput
- func (FunctionIamBindingOutput) ElementType() reflect.Type
- func (o FunctionIamBindingOutput) Etag() pulumi.StringOutput
- func (o FunctionIamBindingOutput) Location() pulumi.StringOutput
- func (o FunctionIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o FunctionIamBindingOutput) Project() pulumi.StringOutput
- func (o FunctionIamBindingOutput) Role() pulumi.StringOutput
- func (o FunctionIamBindingOutput) ToFunctionIamBindingOutput() FunctionIamBindingOutput
- func (o FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput
- type FunctionIamBindingState
- type FunctionIamMember
- type FunctionIamMemberArgs
- type FunctionIamMemberArray
- type FunctionIamMemberArrayInput
- type FunctionIamMemberArrayOutput
- func (FunctionIamMemberArrayOutput) ElementType() reflect.Type
- func (o FunctionIamMemberArrayOutput) Index(i pulumi.IntInput) FunctionIamMemberOutput
- func (o FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutput() FunctionIamMemberArrayOutput
- func (o FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutputWithContext(ctx context.Context) FunctionIamMemberArrayOutput
- type FunctionIamMemberCondition
- type FunctionIamMemberConditionArgs
- func (FunctionIamMemberConditionArgs) ElementType() reflect.Type
- func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutput() FunctionIamMemberConditionOutput
- func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutputWithContext(ctx context.Context) FunctionIamMemberConditionOutput
- func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
- func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
- type FunctionIamMemberConditionInput
- type FunctionIamMemberConditionOutput
- func (o FunctionIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (FunctionIamMemberConditionOutput) ElementType() reflect.Type
- func (o FunctionIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o FunctionIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutput() FunctionIamMemberConditionOutput
- func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutputWithContext(ctx context.Context) FunctionIamMemberConditionOutput
- func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
- func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
- type FunctionIamMemberConditionPtrInput
- type FunctionIamMemberConditionPtrOutput
- func (o FunctionIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o FunctionIamMemberConditionPtrOutput) Elem() FunctionIamMemberConditionOutput
- func (FunctionIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o FunctionIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o FunctionIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
- func (o FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
- type FunctionIamMemberInput
- type FunctionIamMemberMap
- type FunctionIamMemberMapInput
- type FunctionIamMemberMapOutput
- func (FunctionIamMemberMapOutput) ElementType() reflect.Type
- func (o FunctionIamMemberMapOutput) MapIndex(k pulumi.StringInput) FunctionIamMemberOutput
- func (o FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutput() FunctionIamMemberMapOutput
- func (o FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutputWithContext(ctx context.Context) FunctionIamMemberMapOutput
- type FunctionIamMemberOutput
- func (o FunctionIamMemberOutput) CloudFunction() pulumi.StringOutput
- func (o FunctionIamMemberOutput) Condition() FunctionIamMemberConditionPtrOutput
- func (FunctionIamMemberOutput) ElementType() reflect.Type
- func (o FunctionIamMemberOutput) Etag() pulumi.StringOutput
- func (o FunctionIamMemberOutput) Location() pulumi.StringOutput
- func (o FunctionIamMemberOutput) Member() pulumi.StringOutput
- func (o FunctionIamMemberOutput) Project() pulumi.StringOutput
- func (o FunctionIamMemberOutput) Role() pulumi.StringOutput
- func (o FunctionIamMemberOutput) ToFunctionIamMemberOutput() FunctionIamMemberOutput
- func (o FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput
- type FunctionIamMemberState
- type FunctionIamPolicy
- type FunctionIamPolicyArgs
- type FunctionIamPolicyArray
- type FunctionIamPolicyArrayInput
- type FunctionIamPolicyArrayOutput
- func (FunctionIamPolicyArrayOutput) ElementType() reflect.Type
- func (o FunctionIamPolicyArrayOutput) Index(i pulumi.IntInput) FunctionIamPolicyOutput
- func (o FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutput() FunctionIamPolicyArrayOutput
- func (o FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutputWithContext(ctx context.Context) FunctionIamPolicyArrayOutput
- type FunctionIamPolicyInput
- type FunctionIamPolicyMap
- type FunctionIamPolicyMapInput
- type FunctionIamPolicyMapOutput
- func (FunctionIamPolicyMapOutput) ElementType() reflect.Type
- func (o FunctionIamPolicyMapOutput) MapIndex(k pulumi.StringInput) FunctionIamPolicyOutput
- func (o FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutput() FunctionIamPolicyMapOutput
- func (o FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutputWithContext(ctx context.Context) FunctionIamPolicyMapOutput
- type FunctionIamPolicyOutput
- func (o FunctionIamPolicyOutput) CloudFunction() pulumi.StringOutput
- func (FunctionIamPolicyOutput) ElementType() reflect.Type
- func (o FunctionIamPolicyOutput) Etag() pulumi.StringOutput
- func (o FunctionIamPolicyOutput) Location() pulumi.StringOutput
- func (o FunctionIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o FunctionIamPolicyOutput) Project() pulumi.StringOutput
- func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutput() FunctionIamPolicyOutput
- func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput
- type FunctionIamPolicyState
- type FunctionInput
- type FunctionMap
- type FunctionMapInput
- type FunctionMapOutput
- type FunctionOutput
- func (o FunctionOutput) BuildConfig() FunctionBuildConfigPtrOutput
- func (o FunctionOutput) Description() pulumi.StringPtrOutput
- func (FunctionOutput) ElementType() reflect.Type
- func (o FunctionOutput) Environment() pulumi.StringOutput
- func (o FunctionOutput) EventTrigger() FunctionEventTriggerPtrOutput
- func (o FunctionOutput) Labels() pulumi.StringMapOutput
- func (o FunctionOutput) Location() pulumi.StringPtrOutput
- func (o FunctionOutput) Name() pulumi.StringOutput
- func (o FunctionOutput) Project() pulumi.StringOutput
- func (o FunctionOutput) ServiceConfig() FunctionServiceConfigPtrOutput
- func (o FunctionOutput) State() pulumi.StringOutput
- func (o FunctionOutput) ToFunctionOutput() FunctionOutput
- func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
- func (o FunctionOutput) UpdateTime() pulumi.StringOutput
- type FunctionServiceConfig
- type FunctionServiceConfigArgs
- func (FunctionServiceConfigArgs) ElementType() reflect.Type
- func (i FunctionServiceConfigArgs) ToFunctionServiceConfigOutput() FunctionServiceConfigOutput
- func (i FunctionServiceConfigArgs) ToFunctionServiceConfigOutputWithContext(ctx context.Context) FunctionServiceConfigOutput
- func (i FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
- func (i FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
- type FunctionServiceConfigInput
- type FunctionServiceConfigOutput
- func (o FunctionServiceConfigOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput
- func (o FunctionServiceConfigOutput) AvailableMemory() pulumi.StringPtrOutput
- func (FunctionServiceConfigOutput) ElementType() reflect.Type
- func (o FunctionServiceConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
- func (o FunctionServiceConfigOutput) GcfUri() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) IngressSettings() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) MaxInstanceCount() pulumi.IntPtrOutput
- func (o FunctionServiceConfigOutput) MinInstanceCount() pulumi.IntPtrOutput
- func (o FunctionServiceConfigOutput) Service() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o FunctionServiceConfigOutput) ToFunctionServiceConfigOutput() FunctionServiceConfigOutput
- func (o FunctionServiceConfigOutput) ToFunctionServiceConfigOutputWithContext(ctx context.Context) FunctionServiceConfigOutput
- func (o FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
- func (o FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
- func (o FunctionServiceConfigOutput) Uri() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) VpcConnector() pulumi.StringPtrOutput
- func (o FunctionServiceConfigOutput) VpcConnectorEgressSettings() pulumi.StringPtrOutput
- type FunctionServiceConfigPtrInput
- type FunctionServiceConfigPtrOutput
- func (o FunctionServiceConfigPtrOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput
- func (o FunctionServiceConfigPtrOutput) AvailableMemory() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) Elem() FunctionServiceConfigOutput
- func (FunctionServiceConfigPtrOutput) ElementType() reflect.Type
- func (o FunctionServiceConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput
- func (o FunctionServiceConfigPtrOutput) GcfUri() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) IngressSettings() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) MaxInstanceCount() pulumi.IntPtrOutput
- func (o FunctionServiceConfigPtrOutput) MinInstanceCount() pulumi.IntPtrOutput
- func (o FunctionServiceConfigPtrOutput) Service() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
- func (o FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
- func (o FunctionServiceConfigPtrOutput) Uri() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) VpcConnector() pulumi.StringPtrOutput
- func (o FunctionServiceConfigPtrOutput) VpcConnectorEgressSettings() pulumi.StringPtrOutput
- type FunctionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Function ¶
type Function struct { pulumi.CustomResourceState // Describes the Build step of the function that builds a container // from the given source. // Structure is documented below. BuildConfig FunctionBuildConfigPtrOutput `pulumi:"buildConfig"` // User-provided description of a function. Description pulumi.StringPtrOutput `pulumi:"description"` // The environment the function is hosted on. Environment pulumi.StringOutput `pulumi:"environment"` // An Eventarc trigger managed by Google Cloud Functions that fires events in // response to a condition in another service. // Structure is documented below. EventTrigger FunctionEventTriggerPtrOutput `pulumi:"eventTrigger"` // A set of key/value label pairs associated with this Cloud Function. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location of this cloud function. Location pulumi.StringPtrOutput `pulumi:"location"` // A user-defined name of the function. Function names must // be unique globally and match pattern `projects/*/locations/*/functions/*`. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // Describes the Service being deployed. // Structure is documented below. ServiceConfig FunctionServiceConfigPtrOutput `pulumi:"serviceConfig"` // Describes the current state of the function. State pulumi.StringOutput `pulumi:"state"` // The last update timestamp of a Cloud Function. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
## Example Usage ### Cloudfunctions2 Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }, pulumi.Provider(google_beta)) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Bucket: bucket.Name, Source: pulumi.NewFileAsset("path/to/index.zip"), }, pulumi.Provider(google_beta)) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "terraform-test2", &cloudfunctionsv2.FunctionArgs{ Location: pulumi.String("us-central1"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloHttp"), Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("256M"), TimeoutSeconds: pulumi.Int(60), }, }, pulumi.Provider(google_beta)) if err != nil { return err } return nil }) }
``` ### Cloudfunctions2 Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudfunctionsv2" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/pubsub" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/serviceAccount" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { account, err := serviceAccount.NewAccount(ctx, "account", &serviceAccount.AccountArgs{ AccountId: pulumi.String("test-service-account"), DisplayName: pulumi.String("Test Service Account"), }, pulumi.Provider(google_beta)) if err != nil { return err } sub, err := pubsub.NewTopic(ctx, "sub", nil, pulumi.Provider(google_beta)) if err != nil { return err } bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Location: pulumi.String("US"), UniformBucketLevelAccess: pulumi.Bool(true), }, pulumi.Provider(google_beta)) if err != nil { return err } object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Bucket: bucket.Name, Source: pulumi.NewFileAsset("path/to/index.zip"), }, pulumi.Provider(google_beta)) if err != nil { return err } _, err = cloudfunctionsv2.NewFunction(ctx, "terraform-test", &cloudfunctionsv2.FunctionArgs{ Location: pulumi.String("us-central1"), Description: pulumi.String("a new function"), BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{ Runtime: pulumi.String("nodejs16"), EntryPoint: pulumi.String("helloHttp"), EnvironmentVariables: pulumi.StringMap{ "BUILD_CONFIG_TEST": pulumi.String("build_test"), }, Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{ StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{ Bucket: bucket.Name, Object: object.Name, }, }, }, ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{ MaxInstanceCount: pulumi.Int(3), MinInstanceCount: pulumi.Int(1), AvailableMemory: pulumi.String("256M"), TimeoutSeconds: pulumi.Int(60), EnvironmentVariables: pulumi.StringMap{ "SERVICE_CONFIG_TEST": pulumi.String("config_test"), }, IngressSettings: pulumi.String("ALLOW_INTERNAL_ONLY"), AllTrafficOnLatestRevision: pulumi.Bool(true), ServiceAccountEmail: account.Email, }, EventTrigger: &cloudfunctionsv2.FunctionEventTriggerArgs{ TriggerRegion: pulumi.String("us-central1"), EventType: pulumi.String("google.cloud.pubsub.topic.v1.messagePublished"), PubsubTopic: sub.ID(), RetryPolicy: pulumi.String("RETRY_POLICY_RETRY"), ServiceAccountEmail: account.Email, }, }, pulumi.Provider(google_beta)) if err != nil { return err } return nil }) }
```
## Import
function can be imported using any of these accepted formats
```sh
$ pulumi import gcp:cloudfunctionsv2/function:Function default projects/{{project}}/locations/{{location}}/functions/{{name}}
```
```sh
$ pulumi import gcp:cloudfunctionsv2/function:Function default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:cloudfunctionsv2/function:Function default {{location}}/{{name}}
```
func GetFunction ¶
func GetFunction(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionState, opts ...pulumi.ResourceOption) (*Function, error)
GetFunction gets an existing Function resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFunction ¶
func NewFunction(ctx *pulumi.Context, name string, args *FunctionArgs, opts ...pulumi.ResourceOption) (*Function, error)
NewFunction registers a new resource with the given unique name, arguments, and options.
func (*Function) ElementType ¶
func (*Function) ToFunctionOutput ¶
func (i *Function) ToFunctionOutput() FunctionOutput
func (*Function) ToFunctionOutputWithContext ¶
func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
type FunctionArgs ¶
type FunctionArgs struct { // Describes the Build step of the function that builds a container // from the given source. // Structure is documented below. BuildConfig FunctionBuildConfigPtrInput // User-provided description of a function. Description pulumi.StringPtrInput // An Eventarc trigger managed by Google Cloud Functions that fires events in // response to a condition in another service. // Structure is documented below. EventTrigger FunctionEventTriggerPtrInput // A set of key/value label pairs associated with this Cloud Function. Labels pulumi.StringMapInput // The location of this cloud function. Location pulumi.StringPtrInput // A user-defined name of the function. Function names must // be unique globally and match pattern `projects/*/locations/*/functions/*`. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Describes the Service being deployed. // Structure is documented below. ServiceConfig FunctionServiceConfigPtrInput }
The set of arguments for constructing a Function resource.
func (FunctionArgs) ElementType ¶
func (FunctionArgs) ElementType() reflect.Type
type FunctionArray ¶
type FunctionArray []FunctionInput
func (FunctionArray) ElementType ¶
func (FunctionArray) ElementType() reflect.Type
func (FunctionArray) ToFunctionArrayOutput ¶
func (i FunctionArray) ToFunctionArrayOutput() FunctionArrayOutput
func (FunctionArray) ToFunctionArrayOutputWithContext ¶
func (i FunctionArray) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput
type FunctionArrayInput ¶
type FunctionArrayInput interface { pulumi.Input ToFunctionArrayOutput() FunctionArrayOutput ToFunctionArrayOutputWithContext(context.Context) FunctionArrayOutput }
FunctionArrayInput is an input type that accepts FunctionArray and FunctionArrayOutput values. You can construct a concrete instance of `FunctionArrayInput` via:
FunctionArray{ FunctionArgs{...} }
type FunctionArrayOutput ¶
type FunctionArrayOutput struct{ *pulumi.OutputState }
func (FunctionArrayOutput) ElementType ¶
func (FunctionArrayOutput) ElementType() reflect.Type
func (FunctionArrayOutput) Index ¶
func (o FunctionArrayOutput) Index(i pulumi.IntInput) FunctionOutput
func (FunctionArrayOutput) ToFunctionArrayOutput ¶
func (o FunctionArrayOutput) ToFunctionArrayOutput() FunctionArrayOutput
func (FunctionArrayOutput) ToFunctionArrayOutputWithContext ¶
func (o FunctionArrayOutput) ToFunctionArrayOutputWithContext(ctx context.Context) FunctionArrayOutput
type FunctionBuildConfig ¶
type FunctionBuildConfig struct { // - // The Cloud Build name of the latest successful // deployment of the function. Build *string `pulumi:"build"` // User managed repository created in Artifact Registry optionally with a customer managed encryption key. DockerRepository *string `pulumi:"dockerRepository"` // The name of the function (as defined in source code) that will be executed. // Defaults to the resource name suffix, if not specified. For backward // compatibility, if function with given name is not found, then the system // will try to use function named "function". For Node.js this is name of a // function exported by the module specified in source_location. EntryPoint *string `pulumi:"entryPoint"` // Environment variables that shall be available during function execution. EnvironmentVariables map[string]string `pulumi:"environmentVariables"` // The runtime in which to run the function. Required when deploying a new // function, optional when updating an existing function. Runtime *string `pulumi:"runtime"` // The location of the function source code. // Structure is documented below. Source *FunctionBuildConfigSource `pulumi:"source"` // Name of the Cloud Build Custom Worker Pool that should be used to build the function. WorkerPool *string `pulumi:"workerPool"` }
type FunctionBuildConfigArgs ¶
type FunctionBuildConfigArgs struct { // - // The Cloud Build name of the latest successful // deployment of the function. Build pulumi.StringPtrInput `pulumi:"build"` // User managed repository created in Artifact Registry optionally with a customer managed encryption key. DockerRepository pulumi.StringPtrInput `pulumi:"dockerRepository"` // The name of the function (as defined in source code) that will be executed. // Defaults to the resource name suffix, if not specified. For backward // compatibility, if function with given name is not found, then the system // will try to use function named "function". For Node.js this is name of a // function exported by the module specified in source_location. EntryPoint pulumi.StringPtrInput `pulumi:"entryPoint"` // Environment variables that shall be available during function execution. EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` // The runtime in which to run the function. Required when deploying a new // function, optional when updating an existing function. Runtime pulumi.StringPtrInput `pulumi:"runtime"` // The location of the function source code. // Structure is documented below. Source FunctionBuildConfigSourcePtrInput `pulumi:"source"` // Name of the Cloud Build Custom Worker Pool that should be used to build the function. WorkerPool pulumi.StringPtrInput `pulumi:"workerPool"` }
func (FunctionBuildConfigArgs) ElementType ¶
func (FunctionBuildConfigArgs) ElementType() reflect.Type
func (FunctionBuildConfigArgs) ToFunctionBuildConfigOutput ¶
func (i FunctionBuildConfigArgs) ToFunctionBuildConfigOutput() FunctionBuildConfigOutput
func (FunctionBuildConfigArgs) ToFunctionBuildConfigOutputWithContext ¶
func (i FunctionBuildConfigArgs) ToFunctionBuildConfigOutputWithContext(ctx context.Context) FunctionBuildConfigOutput
func (FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutput ¶
func (i FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
func (FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutputWithContext ¶
func (i FunctionBuildConfigArgs) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
type FunctionBuildConfigInput ¶
type FunctionBuildConfigInput interface { pulumi.Input ToFunctionBuildConfigOutput() FunctionBuildConfigOutput ToFunctionBuildConfigOutputWithContext(context.Context) FunctionBuildConfigOutput }
FunctionBuildConfigInput is an input type that accepts FunctionBuildConfigArgs and FunctionBuildConfigOutput values. You can construct a concrete instance of `FunctionBuildConfigInput` via:
FunctionBuildConfigArgs{...}
type FunctionBuildConfigOutput ¶
type FunctionBuildConfigOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigOutput) Build ¶
func (o FunctionBuildConfigOutput) Build() pulumi.StringPtrOutput
- The Cloud Build name of the latest successful deployment of the function.
func (FunctionBuildConfigOutput) DockerRepository ¶
func (o FunctionBuildConfigOutput) DockerRepository() pulumi.StringPtrOutput
User managed repository created in Artifact Registry optionally with a customer managed encryption key.
func (FunctionBuildConfigOutput) ElementType ¶
func (FunctionBuildConfigOutput) ElementType() reflect.Type
func (FunctionBuildConfigOutput) EntryPoint ¶
func (o FunctionBuildConfigOutput) EntryPoint() pulumi.StringPtrOutput
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.
func (FunctionBuildConfigOutput) EnvironmentVariables ¶
func (o FunctionBuildConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
Environment variables that shall be available during function execution.
func (FunctionBuildConfigOutput) Runtime ¶
func (o FunctionBuildConfigOutput) Runtime() pulumi.StringPtrOutput
The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.
func (FunctionBuildConfigOutput) Source ¶
func (o FunctionBuildConfigOutput) Source() FunctionBuildConfigSourcePtrOutput
The location of the function source code. Structure is documented below.
func (FunctionBuildConfigOutput) ToFunctionBuildConfigOutput ¶
func (o FunctionBuildConfigOutput) ToFunctionBuildConfigOutput() FunctionBuildConfigOutput
func (FunctionBuildConfigOutput) ToFunctionBuildConfigOutputWithContext ¶
func (o FunctionBuildConfigOutput) ToFunctionBuildConfigOutputWithContext(ctx context.Context) FunctionBuildConfigOutput
func (FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutput ¶
func (o FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
func (FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutputWithContext ¶
func (o FunctionBuildConfigOutput) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
func (FunctionBuildConfigOutput) WorkerPool ¶
func (o FunctionBuildConfigOutput) WorkerPool() pulumi.StringPtrOutput
Name of the Cloud Build Custom Worker Pool that should be used to build the function.
type FunctionBuildConfigPtrInput ¶
type FunctionBuildConfigPtrInput interface { pulumi.Input ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput ToFunctionBuildConfigPtrOutputWithContext(context.Context) FunctionBuildConfigPtrOutput }
FunctionBuildConfigPtrInput is an input type that accepts FunctionBuildConfigArgs, FunctionBuildConfigPtr and FunctionBuildConfigPtrOutput values. You can construct a concrete instance of `FunctionBuildConfigPtrInput` via:
FunctionBuildConfigArgs{...} or: nil
func FunctionBuildConfigPtr ¶
func FunctionBuildConfigPtr(v *FunctionBuildConfigArgs) FunctionBuildConfigPtrInput
type FunctionBuildConfigPtrOutput ¶
type FunctionBuildConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigPtrOutput) Build ¶
func (o FunctionBuildConfigPtrOutput) Build() pulumi.StringPtrOutput
- The Cloud Build name of the latest successful deployment of the function.
func (FunctionBuildConfigPtrOutput) DockerRepository ¶
func (o FunctionBuildConfigPtrOutput) DockerRepository() pulumi.StringPtrOutput
User managed repository created in Artifact Registry optionally with a customer managed encryption key.
func (FunctionBuildConfigPtrOutput) Elem ¶
func (o FunctionBuildConfigPtrOutput) Elem() FunctionBuildConfigOutput
func (FunctionBuildConfigPtrOutput) ElementType ¶
func (FunctionBuildConfigPtrOutput) ElementType() reflect.Type
func (FunctionBuildConfigPtrOutput) EntryPoint ¶
func (o FunctionBuildConfigPtrOutput) EntryPoint() pulumi.StringPtrOutput
The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in source_location.
func (FunctionBuildConfigPtrOutput) EnvironmentVariables ¶
func (o FunctionBuildConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput
Environment variables that shall be available during function execution.
func (FunctionBuildConfigPtrOutput) Runtime ¶
func (o FunctionBuildConfigPtrOutput) Runtime() pulumi.StringPtrOutput
The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function.
func (FunctionBuildConfigPtrOutput) Source ¶
func (o FunctionBuildConfigPtrOutput) Source() FunctionBuildConfigSourcePtrOutput
The location of the function source code. Structure is documented below.
func (FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutput ¶
func (o FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutput() FunctionBuildConfigPtrOutput
func (FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutputWithContext ¶
func (o FunctionBuildConfigPtrOutput) ToFunctionBuildConfigPtrOutputWithContext(ctx context.Context) FunctionBuildConfigPtrOutput
func (FunctionBuildConfigPtrOutput) WorkerPool ¶
func (o FunctionBuildConfigPtrOutput) WorkerPool() pulumi.StringPtrOutput
Name of the Cloud Build Custom Worker Pool that should be used to build the function.
type FunctionBuildConfigSource ¶
type FunctionBuildConfigSource struct { // If provided, get the source from this location in a Cloud Source Repository. // Structure is documented below. RepoSource *FunctionBuildConfigSourceRepoSource `pulumi:"repoSource"` // If provided, get the source from this location in Google Cloud Storage. // Structure is documented below. StorageSource *FunctionBuildConfigSourceStorageSource `pulumi:"storageSource"` }
type FunctionBuildConfigSourceArgs ¶
type FunctionBuildConfigSourceArgs struct { // If provided, get the source from this location in a Cloud Source Repository. // Structure is documented below. RepoSource FunctionBuildConfigSourceRepoSourcePtrInput `pulumi:"repoSource"` // If provided, get the source from this location in Google Cloud Storage. // Structure is documented below. StorageSource FunctionBuildConfigSourceStorageSourcePtrInput `pulumi:"storageSource"` }
func (FunctionBuildConfigSourceArgs) ElementType ¶
func (FunctionBuildConfigSourceArgs) ElementType() reflect.Type
func (FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutput ¶
func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutput() FunctionBuildConfigSourceOutput
func (FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutputWithContext ¶
func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceOutput
func (FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutput ¶
func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
func (FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutputWithContext ¶
func (i FunctionBuildConfigSourceArgs) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
type FunctionBuildConfigSourceInput ¶
type FunctionBuildConfigSourceInput interface { pulumi.Input ToFunctionBuildConfigSourceOutput() FunctionBuildConfigSourceOutput ToFunctionBuildConfigSourceOutputWithContext(context.Context) FunctionBuildConfigSourceOutput }
FunctionBuildConfigSourceInput is an input type that accepts FunctionBuildConfigSourceArgs and FunctionBuildConfigSourceOutput values. You can construct a concrete instance of `FunctionBuildConfigSourceInput` via:
FunctionBuildConfigSourceArgs{...}
type FunctionBuildConfigSourceOutput ¶
type FunctionBuildConfigSourceOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourceOutput) ElementType ¶
func (FunctionBuildConfigSourceOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourceOutput) RepoSource ¶
func (o FunctionBuildConfigSourceOutput) RepoSource() FunctionBuildConfigSourceRepoSourcePtrOutput
If provided, get the source from this location in a Cloud Source Repository. Structure is documented below.
func (FunctionBuildConfigSourceOutput) StorageSource ¶
func (o FunctionBuildConfigSourceOutput) StorageSource() FunctionBuildConfigSourceStorageSourcePtrOutput
If provided, get the source from this location in Google Cloud Storage. Structure is documented below.
func (FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutput ¶
func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutput() FunctionBuildConfigSourceOutput
func (FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutputWithContext ¶
func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceOutput
func (FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutput ¶
func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
func (FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourceOutput) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
type FunctionBuildConfigSourcePtrInput ¶
type FunctionBuildConfigSourcePtrInput interface { pulumi.Input ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput ToFunctionBuildConfigSourcePtrOutputWithContext(context.Context) FunctionBuildConfigSourcePtrOutput }
FunctionBuildConfigSourcePtrInput is an input type that accepts FunctionBuildConfigSourceArgs, FunctionBuildConfigSourcePtr and FunctionBuildConfigSourcePtrOutput values. You can construct a concrete instance of `FunctionBuildConfigSourcePtrInput` via:
FunctionBuildConfigSourceArgs{...} or: nil
func FunctionBuildConfigSourcePtr ¶
func FunctionBuildConfigSourcePtr(v *FunctionBuildConfigSourceArgs) FunctionBuildConfigSourcePtrInput
type FunctionBuildConfigSourcePtrOutput ¶
type FunctionBuildConfigSourcePtrOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourcePtrOutput) Elem ¶
func (o FunctionBuildConfigSourcePtrOutput) Elem() FunctionBuildConfigSourceOutput
func (FunctionBuildConfigSourcePtrOutput) ElementType ¶
func (FunctionBuildConfigSourcePtrOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourcePtrOutput) RepoSource ¶
func (o FunctionBuildConfigSourcePtrOutput) RepoSource() FunctionBuildConfigSourceRepoSourcePtrOutput
If provided, get the source from this location in a Cloud Source Repository. Structure is documented below.
func (FunctionBuildConfigSourcePtrOutput) StorageSource ¶
func (o FunctionBuildConfigSourcePtrOutput) StorageSource() FunctionBuildConfigSourceStorageSourcePtrOutput
If provided, get the source from this location in Google Cloud Storage. Structure is documented below.
func (FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutput ¶
func (o FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutput() FunctionBuildConfigSourcePtrOutput
func (FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourcePtrOutput) ToFunctionBuildConfigSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourcePtrOutput
type FunctionBuildConfigSourceRepoSource ¶
type FunctionBuildConfigSourceRepoSource struct { // Regex matching branches to build. BranchName *string `pulumi:"branchName"` // Regex matching tags to build. CommitSha *string `pulumi:"commitSha"` // Directory, relative to the source root, in which to run the build. Dir *string `pulumi:"dir"` // Only trigger a build if the revision regex does // NOT match the revision regex. InvertRegex *bool `pulumi:"invertRegex"` // ID of the project that owns the Cloud Source Repository. If omitted, the // project ID requesting the build is assumed. ProjectId *string `pulumi:"projectId"` // Name of the Cloud Source Repository. RepoName *string `pulumi:"repoName"` // Regex matching tags to build. TagName *string `pulumi:"tagName"` }
type FunctionBuildConfigSourceRepoSourceArgs ¶
type FunctionBuildConfigSourceRepoSourceArgs struct { // Regex matching branches to build. BranchName pulumi.StringPtrInput `pulumi:"branchName"` // Regex matching tags to build. CommitSha pulumi.StringPtrInput `pulumi:"commitSha"` // Directory, relative to the source root, in which to run the build. Dir pulumi.StringPtrInput `pulumi:"dir"` // Only trigger a build if the revision regex does // NOT match the revision regex. InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"` // ID of the project that owns the Cloud Source Repository. If omitted, the // project ID requesting the build is assumed. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` // Name of the Cloud Source Repository. RepoName pulumi.StringPtrInput `pulumi:"repoName"` // Regex matching tags to build. TagName pulumi.StringPtrInput `pulumi:"tagName"` }
func (FunctionBuildConfigSourceRepoSourceArgs) ElementType ¶
func (FunctionBuildConfigSourceRepoSourceArgs) ElementType() reflect.Type
func (FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutput ¶
func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutput() FunctionBuildConfigSourceRepoSourceOutput
func (FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutputWithContext ¶
func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourceOutput
func (FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutput ¶
func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
func (FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext ¶
func (i FunctionBuildConfigSourceRepoSourceArgs) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
type FunctionBuildConfigSourceRepoSourceInput ¶
type FunctionBuildConfigSourceRepoSourceInput interface { pulumi.Input ToFunctionBuildConfigSourceRepoSourceOutput() FunctionBuildConfigSourceRepoSourceOutput ToFunctionBuildConfigSourceRepoSourceOutputWithContext(context.Context) FunctionBuildConfigSourceRepoSourceOutput }
FunctionBuildConfigSourceRepoSourceInput is an input type that accepts FunctionBuildConfigSourceRepoSourceArgs and FunctionBuildConfigSourceRepoSourceOutput values. You can construct a concrete instance of `FunctionBuildConfigSourceRepoSourceInput` via:
FunctionBuildConfigSourceRepoSourceArgs{...}
type FunctionBuildConfigSourceRepoSourceOutput ¶
type FunctionBuildConfigSourceRepoSourceOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourceRepoSourceOutput) BranchName ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) BranchName() pulumi.StringPtrOutput
Regex matching branches to build.
func (FunctionBuildConfigSourceRepoSourceOutput) CommitSha ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) CommitSha() pulumi.StringPtrOutput
Regex matching tags to build.
func (FunctionBuildConfigSourceRepoSourceOutput) Dir ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) Dir() pulumi.StringPtrOutput
Directory, relative to the source root, in which to run the build.
func (FunctionBuildConfigSourceRepoSourceOutput) ElementType ¶
func (FunctionBuildConfigSourceRepoSourceOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourceRepoSourceOutput) InvertRegex ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
func (FunctionBuildConfigSourceRepoSourceOutput) ProjectId ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) ProjectId() pulumi.StringPtrOutput
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
func (FunctionBuildConfigSourceRepoSourceOutput) RepoName ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) RepoName() pulumi.StringPtrOutput
Name of the Cloud Source Repository.
func (FunctionBuildConfigSourceRepoSourceOutput) TagName ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) TagName() pulumi.StringPtrOutput
Regex matching tags to build.
func (FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutput ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutput() FunctionBuildConfigSourceRepoSourceOutput
func (FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutputWithContext ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourceOutput
func (FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
func (FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourceRepoSourceOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
type FunctionBuildConfigSourceRepoSourcePtrInput ¶
type FunctionBuildConfigSourceRepoSourcePtrInput interface { pulumi.Input ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput }
FunctionBuildConfigSourceRepoSourcePtrInput is an input type that accepts FunctionBuildConfigSourceRepoSourceArgs, FunctionBuildConfigSourceRepoSourcePtr and FunctionBuildConfigSourceRepoSourcePtrOutput values. You can construct a concrete instance of `FunctionBuildConfigSourceRepoSourcePtrInput` via:
FunctionBuildConfigSourceRepoSourceArgs{...} or: nil
func FunctionBuildConfigSourceRepoSourcePtr ¶
func FunctionBuildConfigSourceRepoSourcePtr(v *FunctionBuildConfigSourceRepoSourceArgs) FunctionBuildConfigSourceRepoSourcePtrInput
type FunctionBuildConfigSourceRepoSourcePtrOutput ¶
type FunctionBuildConfigSourceRepoSourcePtrOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourceRepoSourcePtrOutput) BranchName ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) BranchName() pulumi.StringPtrOutput
Regex matching branches to build.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) CommitSha ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) CommitSha() pulumi.StringPtrOutput
Regex matching tags to build.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) Dir ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) Dir() pulumi.StringPtrOutput
Directory, relative to the source root, in which to run the build.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) ElementType ¶
func (FunctionBuildConfigSourceRepoSourcePtrOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourceRepoSourcePtrOutput) InvertRegex ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) InvertRegex() pulumi.BoolPtrOutput
Only trigger a build if the revision regex does NOT match the revision regex.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) ProjectId ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ProjectId() pulumi.StringPtrOutput
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) RepoName ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) RepoName() pulumi.StringPtrOutput
Name of the Cloud Source Repository.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) TagName ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) TagName() pulumi.StringPtrOutput
Regex matching tags to build.
func (FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutput() FunctionBuildConfigSourceRepoSourcePtrOutput
func (FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourceRepoSourcePtrOutput) ToFunctionBuildConfigSourceRepoSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceRepoSourcePtrOutput
type FunctionBuildConfigSourceStorageSource ¶
type FunctionBuildConfigSourceStorageSource struct { // Google Cloud Storage bucket containing the source Bucket *string `pulumi:"bucket"` // Google Cloud Storage generation for the object. If the generation // is omitted, the latest generation will be used. Generation *int `pulumi:"generation"` // Google Cloud Storage object containing the source. Object *string `pulumi:"object"` }
type FunctionBuildConfigSourceStorageSourceArgs ¶
type FunctionBuildConfigSourceStorageSourceArgs struct { // Google Cloud Storage bucket containing the source Bucket pulumi.StringPtrInput `pulumi:"bucket"` // Google Cloud Storage generation for the object. If the generation // is omitted, the latest generation will be used. Generation pulumi.IntPtrInput `pulumi:"generation"` // Google Cloud Storage object containing the source. Object pulumi.StringPtrInput `pulumi:"object"` }
func (FunctionBuildConfigSourceStorageSourceArgs) ElementType ¶
func (FunctionBuildConfigSourceStorageSourceArgs) ElementType() reflect.Type
func (FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutput ¶
func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutput() FunctionBuildConfigSourceStorageSourceOutput
func (FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutputWithContext ¶
func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourceOutput
func (FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutput ¶
func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
func (FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext ¶
func (i FunctionBuildConfigSourceStorageSourceArgs) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
type FunctionBuildConfigSourceStorageSourceInput ¶
type FunctionBuildConfigSourceStorageSourceInput interface { pulumi.Input ToFunctionBuildConfigSourceStorageSourceOutput() FunctionBuildConfigSourceStorageSourceOutput ToFunctionBuildConfigSourceStorageSourceOutputWithContext(context.Context) FunctionBuildConfigSourceStorageSourceOutput }
FunctionBuildConfigSourceStorageSourceInput is an input type that accepts FunctionBuildConfigSourceStorageSourceArgs and FunctionBuildConfigSourceStorageSourceOutput values. You can construct a concrete instance of `FunctionBuildConfigSourceStorageSourceInput` via:
FunctionBuildConfigSourceStorageSourceArgs{...}
type FunctionBuildConfigSourceStorageSourceOutput ¶
type FunctionBuildConfigSourceStorageSourceOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourceStorageSourceOutput) Bucket ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) Bucket() pulumi.StringPtrOutput
Google Cloud Storage bucket containing the source
func (FunctionBuildConfigSourceStorageSourceOutput) ElementType ¶
func (FunctionBuildConfigSourceStorageSourceOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourceStorageSourceOutput) Generation ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) Generation() pulumi.IntPtrOutput
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
func (FunctionBuildConfigSourceStorageSourceOutput) Object ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) Object() pulumi.StringPtrOutput
Google Cloud Storage object containing the source.
func (FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutput ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutput() FunctionBuildConfigSourceStorageSourceOutput
func (FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutputWithContext ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourceOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourceOutput
func (FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
func (FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourceStorageSourceOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
type FunctionBuildConfigSourceStorageSourcePtrInput ¶
type FunctionBuildConfigSourceStorageSourcePtrInput interface { pulumi.Input ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput }
FunctionBuildConfigSourceStorageSourcePtrInput is an input type that accepts FunctionBuildConfigSourceStorageSourceArgs, FunctionBuildConfigSourceStorageSourcePtr and FunctionBuildConfigSourceStorageSourcePtrOutput values. You can construct a concrete instance of `FunctionBuildConfigSourceStorageSourcePtrInput` via:
FunctionBuildConfigSourceStorageSourceArgs{...} or: nil
func FunctionBuildConfigSourceStorageSourcePtr ¶
func FunctionBuildConfigSourceStorageSourcePtr(v *FunctionBuildConfigSourceStorageSourceArgs) FunctionBuildConfigSourceStorageSourcePtrInput
type FunctionBuildConfigSourceStorageSourcePtrOutput ¶
type FunctionBuildConfigSourceStorageSourcePtrOutput struct{ *pulumi.OutputState }
func (FunctionBuildConfigSourceStorageSourcePtrOutput) Bucket ¶
func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Bucket() pulumi.StringPtrOutput
Google Cloud Storage bucket containing the source
func (FunctionBuildConfigSourceStorageSourcePtrOutput) ElementType ¶
func (FunctionBuildConfigSourceStorageSourcePtrOutput) ElementType() reflect.Type
func (FunctionBuildConfigSourceStorageSourcePtrOutput) Generation ¶
func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Generation() pulumi.IntPtrOutput
Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
func (FunctionBuildConfigSourceStorageSourcePtrOutput) Object ¶
func (o FunctionBuildConfigSourceStorageSourcePtrOutput) Object() pulumi.StringPtrOutput
Google Cloud Storage object containing the source.
func (FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput ¶
func (o FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutput() FunctionBuildConfigSourceStorageSourcePtrOutput
func (FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext ¶
func (o FunctionBuildConfigSourceStorageSourcePtrOutput) ToFunctionBuildConfigSourceStorageSourcePtrOutputWithContext(ctx context.Context) FunctionBuildConfigSourceStorageSourcePtrOutput
type FunctionEventTrigger ¶
type FunctionEventTrigger struct { // Required. The type of event to observe. EventType *string `pulumi:"eventType"` // The name of a Pub/Sub topic in the same project that will be used // as the transport topic for the event delivery. PubsubTopic *string `pulumi:"pubsubTopic"` // Describes the retry policy in case of function's execution failure. // Retried execution is charged as any other execution. // Possible values are `RETRY_POLICY_UNSPECIFIED`, `RETRY_POLICY_DO_NOT_RETRY`, and `RETRY_POLICY_RETRY`. RetryPolicy *string `pulumi:"retryPolicy"` // The email of the service account for this function. ServiceAccountEmail *string `pulumi:"serviceAccountEmail"` // - // The resource name of the Eventarc trigger. Trigger *string `pulumi:"trigger"` // The region that the trigger will be in. The trigger will only receive // events originating in this region. It can be the same // region as the function, a different region or multi-region, or the global // region. If not provided, defaults to the same region as the function. TriggerRegion *string `pulumi:"triggerRegion"` }
type FunctionEventTriggerArgs ¶
type FunctionEventTriggerArgs struct { // Required. The type of event to observe. EventType pulumi.StringPtrInput `pulumi:"eventType"` // The name of a Pub/Sub topic in the same project that will be used // as the transport topic for the event delivery. PubsubTopic pulumi.StringPtrInput `pulumi:"pubsubTopic"` // Describes the retry policy in case of function's execution failure. // Retried execution is charged as any other execution. // Possible values are `RETRY_POLICY_UNSPECIFIED`, `RETRY_POLICY_DO_NOT_RETRY`, and `RETRY_POLICY_RETRY`. RetryPolicy pulumi.StringPtrInput `pulumi:"retryPolicy"` // The email of the service account for this function. ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"` // - // The resource name of the Eventarc trigger. Trigger pulumi.StringPtrInput `pulumi:"trigger"` // The region that the trigger will be in. The trigger will only receive // events originating in this region. It can be the same // region as the function, a different region or multi-region, or the global // region. If not provided, defaults to the same region as the function. TriggerRegion pulumi.StringPtrInput `pulumi:"triggerRegion"` }
func (FunctionEventTriggerArgs) ElementType ¶
func (FunctionEventTriggerArgs) ElementType() reflect.Type
func (FunctionEventTriggerArgs) ToFunctionEventTriggerOutput ¶
func (i FunctionEventTriggerArgs) ToFunctionEventTriggerOutput() FunctionEventTriggerOutput
func (FunctionEventTriggerArgs) ToFunctionEventTriggerOutputWithContext ¶
func (i FunctionEventTriggerArgs) ToFunctionEventTriggerOutputWithContext(ctx context.Context) FunctionEventTriggerOutput
func (FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutput ¶
func (i FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
func (FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutputWithContext ¶
func (i FunctionEventTriggerArgs) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
type FunctionEventTriggerInput ¶
type FunctionEventTriggerInput interface { pulumi.Input ToFunctionEventTriggerOutput() FunctionEventTriggerOutput ToFunctionEventTriggerOutputWithContext(context.Context) FunctionEventTriggerOutput }
FunctionEventTriggerInput is an input type that accepts FunctionEventTriggerArgs and FunctionEventTriggerOutput values. You can construct a concrete instance of `FunctionEventTriggerInput` via:
FunctionEventTriggerArgs{...}
type FunctionEventTriggerOutput ¶
type FunctionEventTriggerOutput struct{ *pulumi.OutputState }
func (FunctionEventTriggerOutput) ElementType ¶
func (FunctionEventTriggerOutput) ElementType() reflect.Type
func (FunctionEventTriggerOutput) EventType ¶
func (o FunctionEventTriggerOutput) EventType() pulumi.StringPtrOutput
Required. The type of event to observe.
func (FunctionEventTriggerOutput) PubsubTopic ¶
func (o FunctionEventTriggerOutput) PubsubTopic() pulumi.StringPtrOutput
The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery.
func (FunctionEventTriggerOutput) RetryPolicy ¶
func (o FunctionEventTriggerOutput) RetryPolicy() pulumi.StringPtrOutput
Describes the retry policy in case of function's execution failure. Retried execution is charged as any other execution. Possible values are `RETRY_POLICY_UNSPECIFIED`, `RETRY_POLICY_DO_NOT_RETRY`, and `RETRY_POLICY_RETRY`.
func (FunctionEventTriggerOutput) ServiceAccountEmail ¶
func (o FunctionEventTriggerOutput) ServiceAccountEmail() pulumi.StringPtrOutput
The email of the service account for this function.
func (FunctionEventTriggerOutput) ToFunctionEventTriggerOutput ¶
func (o FunctionEventTriggerOutput) ToFunctionEventTriggerOutput() FunctionEventTriggerOutput
func (FunctionEventTriggerOutput) ToFunctionEventTriggerOutputWithContext ¶
func (o FunctionEventTriggerOutput) ToFunctionEventTriggerOutputWithContext(ctx context.Context) FunctionEventTriggerOutput
func (FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutput ¶
func (o FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
func (FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutputWithContext ¶
func (o FunctionEventTriggerOutput) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
func (FunctionEventTriggerOutput) Trigger ¶
func (o FunctionEventTriggerOutput) Trigger() pulumi.StringPtrOutput
- The resource name of the Eventarc trigger.
func (FunctionEventTriggerOutput) TriggerRegion ¶
func (o FunctionEventTriggerOutput) TriggerRegion() pulumi.StringPtrOutput
The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
type FunctionEventTriggerPtrInput ¶
type FunctionEventTriggerPtrInput interface { pulumi.Input ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput ToFunctionEventTriggerPtrOutputWithContext(context.Context) FunctionEventTriggerPtrOutput }
FunctionEventTriggerPtrInput is an input type that accepts FunctionEventTriggerArgs, FunctionEventTriggerPtr and FunctionEventTriggerPtrOutput values. You can construct a concrete instance of `FunctionEventTriggerPtrInput` via:
FunctionEventTriggerArgs{...} or: nil
func FunctionEventTriggerPtr ¶
func FunctionEventTriggerPtr(v *FunctionEventTriggerArgs) FunctionEventTriggerPtrInput
type FunctionEventTriggerPtrOutput ¶
type FunctionEventTriggerPtrOutput struct{ *pulumi.OutputState }
func (FunctionEventTriggerPtrOutput) Elem ¶
func (o FunctionEventTriggerPtrOutput) Elem() FunctionEventTriggerOutput
func (FunctionEventTriggerPtrOutput) ElementType ¶
func (FunctionEventTriggerPtrOutput) ElementType() reflect.Type
func (FunctionEventTriggerPtrOutput) EventType ¶
func (o FunctionEventTriggerPtrOutput) EventType() pulumi.StringPtrOutput
Required. The type of event to observe.
func (FunctionEventTriggerPtrOutput) PubsubTopic ¶
func (o FunctionEventTriggerPtrOutput) PubsubTopic() pulumi.StringPtrOutput
The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery.
func (FunctionEventTriggerPtrOutput) RetryPolicy ¶
func (o FunctionEventTriggerPtrOutput) RetryPolicy() pulumi.StringPtrOutput
Describes the retry policy in case of function's execution failure. Retried execution is charged as any other execution. Possible values are `RETRY_POLICY_UNSPECIFIED`, `RETRY_POLICY_DO_NOT_RETRY`, and `RETRY_POLICY_RETRY`.
func (FunctionEventTriggerPtrOutput) ServiceAccountEmail ¶
func (o FunctionEventTriggerPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
The email of the service account for this function.
func (FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutput ¶
func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutput() FunctionEventTriggerPtrOutput
func (FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutputWithContext ¶
func (o FunctionEventTriggerPtrOutput) ToFunctionEventTriggerPtrOutputWithContext(ctx context.Context) FunctionEventTriggerPtrOutput
func (FunctionEventTriggerPtrOutput) Trigger ¶
func (o FunctionEventTriggerPtrOutput) Trigger() pulumi.StringPtrOutput
- The resource name of the Eventarc trigger.
func (FunctionEventTriggerPtrOutput) TriggerRegion ¶
func (o FunctionEventTriggerPtrOutput) TriggerRegion() pulumi.StringPtrOutput
The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
type FunctionIamBinding ¶ added in v6.29.0
type FunctionIamBinding struct { pulumi.CustomResourceState // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringOutput `pulumi:"cloudFunction"` Condition FunctionIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location of this cloud function. Used to find the parent resource to bind the IAM policy to Location pulumi.StringOutput `pulumi:"location"` Members pulumi.StringArrayOutput `pulumi:"members"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `cloudfunctionsv2.FunctionIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} * {{project}}/{{location}}/{{cloud_function}} * {{location}}/{{cloud_function}} * {{cloud_function}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Functions (2nd gen) function IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:cloudfunctionsv2/functionIamBinding:FunctionIamBinding editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} roles/viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:cloudfunctionsv2/functionIamBinding:FunctionIamBinding editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} roles/viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:cloudfunctionsv2/functionIamBinding:FunctionIamBinding editor projects/{{project}}/locations/{{location}}/functions/{{cloud_function}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetFunctionIamBinding ¶ added in v6.29.0
func GetFunctionIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionIamBindingState, opts ...pulumi.ResourceOption) (*FunctionIamBinding, error)
GetFunctionIamBinding gets an existing FunctionIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFunctionIamBinding ¶ added in v6.29.0
func NewFunctionIamBinding(ctx *pulumi.Context, name string, args *FunctionIamBindingArgs, opts ...pulumi.ResourceOption) (*FunctionIamBinding, error)
NewFunctionIamBinding registers a new resource with the given unique name, arguments, and options.
func (*FunctionIamBinding) ElementType ¶ added in v6.29.0
func (*FunctionIamBinding) ElementType() reflect.Type
func (*FunctionIamBinding) ToFunctionIamBindingOutput ¶ added in v6.29.0
func (i *FunctionIamBinding) ToFunctionIamBindingOutput() FunctionIamBindingOutput
func (*FunctionIamBinding) ToFunctionIamBindingOutputWithContext ¶ added in v6.29.0
func (i *FunctionIamBinding) ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput
type FunctionIamBindingArgs ¶ added in v6.29.0
type FunctionIamBindingArgs struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringInput Condition FunctionIamBindingConditionPtrInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `cloudfunctionsv2.FunctionIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a FunctionIamBinding resource.
func (FunctionIamBindingArgs) ElementType ¶ added in v6.29.0
func (FunctionIamBindingArgs) ElementType() reflect.Type
type FunctionIamBindingArray ¶ added in v6.29.0
type FunctionIamBindingArray []FunctionIamBindingInput
func (FunctionIamBindingArray) ElementType ¶ added in v6.29.0
func (FunctionIamBindingArray) ElementType() reflect.Type
func (FunctionIamBindingArray) ToFunctionIamBindingArrayOutput ¶ added in v6.29.0
func (i FunctionIamBindingArray) ToFunctionIamBindingArrayOutput() FunctionIamBindingArrayOutput
func (FunctionIamBindingArray) ToFunctionIamBindingArrayOutputWithContext ¶ added in v6.29.0
func (i FunctionIamBindingArray) ToFunctionIamBindingArrayOutputWithContext(ctx context.Context) FunctionIamBindingArrayOutput
type FunctionIamBindingArrayInput ¶ added in v6.29.0
type FunctionIamBindingArrayInput interface { pulumi.Input ToFunctionIamBindingArrayOutput() FunctionIamBindingArrayOutput ToFunctionIamBindingArrayOutputWithContext(context.Context) FunctionIamBindingArrayOutput }
FunctionIamBindingArrayInput is an input type that accepts FunctionIamBindingArray and FunctionIamBindingArrayOutput values. You can construct a concrete instance of `FunctionIamBindingArrayInput` via:
FunctionIamBindingArray{ FunctionIamBindingArgs{...} }
type FunctionIamBindingArrayOutput ¶ added in v6.29.0
type FunctionIamBindingArrayOutput struct{ *pulumi.OutputState }
func (FunctionIamBindingArrayOutput) ElementType ¶ added in v6.29.0
func (FunctionIamBindingArrayOutput) ElementType() reflect.Type
func (FunctionIamBindingArrayOutput) Index ¶ added in v6.29.0
func (o FunctionIamBindingArrayOutput) Index(i pulumi.IntInput) FunctionIamBindingOutput
func (FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutput ¶ added in v6.29.0
func (o FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutput() FunctionIamBindingArrayOutput
func (FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutputWithContext ¶ added in v6.29.0
func (o FunctionIamBindingArrayOutput) ToFunctionIamBindingArrayOutputWithContext(ctx context.Context) FunctionIamBindingArrayOutput
type FunctionIamBindingCondition ¶ added in v6.29.0
type FunctionIamBindingConditionArgs ¶ added in v6.29.0
type FunctionIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (FunctionIamBindingConditionArgs) ElementType ¶ added in v6.29.0
func (FunctionIamBindingConditionArgs) ElementType() reflect.Type
func (FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutput ¶ added in v6.29.0
func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutput() FunctionIamBindingConditionOutput
func (FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutputWithContext ¶ added in v6.29.0
func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionOutputWithContext(ctx context.Context) FunctionIamBindingConditionOutput
func (FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutput ¶ added in v6.29.0
func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
func (FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutputWithContext ¶ added in v6.29.0
func (i FunctionIamBindingConditionArgs) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
type FunctionIamBindingConditionInput ¶ added in v6.29.0
type FunctionIamBindingConditionInput interface { pulumi.Input ToFunctionIamBindingConditionOutput() FunctionIamBindingConditionOutput ToFunctionIamBindingConditionOutputWithContext(context.Context) FunctionIamBindingConditionOutput }
FunctionIamBindingConditionInput is an input type that accepts FunctionIamBindingConditionArgs and FunctionIamBindingConditionOutput values. You can construct a concrete instance of `FunctionIamBindingConditionInput` via:
FunctionIamBindingConditionArgs{...}
type FunctionIamBindingConditionOutput ¶ added in v6.29.0
type FunctionIamBindingConditionOutput struct{ *pulumi.OutputState }
func (FunctionIamBindingConditionOutput) Description ¶ added in v6.29.0
func (o FunctionIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (FunctionIamBindingConditionOutput) ElementType ¶ added in v6.29.0
func (FunctionIamBindingConditionOutput) ElementType() reflect.Type
func (FunctionIamBindingConditionOutput) Expression ¶ added in v6.29.0
func (o FunctionIamBindingConditionOutput) Expression() pulumi.StringOutput
func (FunctionIamBindingConditionOutput) Title ¶ added in v6.29.0
func (o FunctionIamBindingConditionOutput) Title() pulumi.StringOutput
func (FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutput ¶ added in v6.29.0
func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutput() FunctionIamBindingConditionOutput
func (FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutputWithContext ¶ added in v6.29.0
func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionOutputWithContext(ctx context.Context) FunctionIamBindingConditionOutput
func (FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutput ¶ added in v6.29.0
func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
func (FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutputWithContext ¶ added in v6.29.0
func (o FunctionIamBindingConditionOutput) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
type FunctionIamBindingConditionPtrInput ¶ added in v6.29.0
type FunctionIamBindingConditionPtrInput interface { pulumi.Input ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput ToFunctionIamBindingConditionPtrOutputWithContext(context.Context) FunctionIamBindingConditionPtrOutput }
FunctionIamBindingConditionPtrInput is an input type that accepts FunctionIamBindingConditionArgs, FunctionIamBindingConditionPtr and FunctionIamBindingConditionPtrOutput values. You can construct a concrete instance of `FunctionIamBindingConditionPtrInput` via:
FunctionIamBindingConditionArgs{...} or: nil
func FunctionIamBindingConditionPtr ¶ added in v6.29.0
func FunctionIamBindingConditionPtr(v *FunctionIamBindingConditionArgs) FunctionIamBindingConditionPtrInput
type FunctionIamBindingConditionPtrOutput ¶ added in v6.29.0
type FunctionIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (FunctionIamBindingConditionPtrOutput) Description ¶ added in v6.29.0
func (o FunctionIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (FunctionIamBindingConditionPtrOutput) ElementType ¶ added in v6.29.0
func (FunctionIamBindingConditionPtrOutput) ElementType() reflect.Type
func (FunctionIamBindingConditionPtrOutput) Expression ¶ added in v6.29.0
func (o FunctionIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (FunctionIamBindingConditionPtrOutput) Title ¶ added in v6.29.0
func (o FunctionIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutput ¶ added in v6.29.0
func (o FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutput() FunctionIamBindingConditionPtrOutput
func (FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutputWithContext ¶ added in v6.29.0
func (o FunctionIamBindingConditionPtrOutput) ToFunctionIamBindingConditionPtrOutputWithContext(ctx context.Context) FunctionIamBindingConditionPtrOutput
type FunctionIamBindingInput ¶ added in v6.29.0
type FunctionIamBindingInput interface { pulumi.Input ToFunctionIamBindingOutput() FunctionIamBindingOutput ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput }
type FunctionIamBindingMap ¶ added in v6.29.0
type FunctionIamBindingMap map[string]FunctionIamBindingInput
func (FunctionIamBindingMap) ElementType ¶ added in v6.29.0
func (FunctionIamBindingMap) ElementType() reflect.Type
func (FunctionIamBindingMap) ToFunctionIamBindingMapOutput ¶ added in v6.29.0
func (i FunctionIamBindingMap) ToFunctionIamBindingMapOutput() FunctionIamBindingMapOutput
func (FunctionIamBindingMap) ToFunctionIamBindingMapOutputWithContext ¶ added in v6.29.0
func (i FunctionIamBindingMap) ToFunctionIamBindingMapOutputWithContext(ctx context.Context) FunctionIamBindingMapOutput
type FunctionIamBindingMapInput ¶ added in v6.29.0
type FunctionIamBindingMapInput interface { pulumi.Input ToFunctionIamBindingMapOutput() FunctionIamBindingMapOutput ToFunctionIamBindingMapOutputWithContext(context.Context) FunctionIamBindingMapOutput }
FunctionIamBindingMapInput is an input type that accepts FunctionIamBindingMap and FunctionIamBindingMapOutput values. You can construct a concrete instance of `FunctionIamBindingMapInput` via:
FunctionIamBindingMap{ "key": FunctionIamBindingArgs{...} }
type FunctionIamBindingMapOutput ¶ added in v6.29.0
type FunctionIamBindingMapOutput struct{ *pulumi.OutputState }
func (FunctionIamBindingMapOutput) ElementType ¶ added in v6.29.0
func (FunctionIamBindingMapOutput) ElementType() reflect.Type
func (FunctionIamBindingMapOutput) MapIndex ¶ added in v6.29.0
func (o FunctionIamBindingMapOutput) MapIndex(k pulumi.StringInput) FunctionIamBindingOutput
func (FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutput ¶ added in v6.29.0
func (o FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutput() FunctionIamBindingMapOutput
func (FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutputWithContext ¶ added in v6.29.0
func (o FunctionIamBindingMapOutput) ToFunctionIamBindingMapOutputWithContext(ctx context.Context) FunctionIamBindingMapOutput
type FunctionIamBindingOutput ¶ added in v6.29.0
type FunctionIamBindingOutput struct{ *pulumi.OutputState }
func (FunctionIamBindingOutput) CloudFunction ¶ added in v6.29.0
func (o FunctionIamBindingOutput) CloudFunction() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (FunctionIamBindingOutput) Condition ¶ added in v6.29.0
func (o FunctionIamBindingOutput) Condition() FunctionIamBindingConditionPtrOutput
func (FunctionIamBindingOutput) ElementType ¶ added in v6.29.0
func (FunctionIamBindingOutput) ElementType() reflect.Type
func (FunctionIamBindingOutput) Etag ¶ added in v6.29.0
func (o FunctionIamBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (FunctionIamBindingOutput) Location ¶ added in v6.29.0
func (o FunctionIamBindingOutput) Location() pulumi.StringOutput
The location of this cloud function. Used to find the parent resource to bind the IAM policy to
func (FunctionIamBindingOutput) Members ¶ added in v6.29.0
func (o FunctionIamBindingOutput) Members() pulumi.StringArrayOutput
func (FunctionIamBindingOutput) Project ¶ added in v6.29.0
func (o FunctionIamBindingOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (FunctionIamBindingOutput) Role ¶ added in v6.29.0
func (o FunctionIamBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `cloudfunctionsv2.FunctionIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (FunctionIamBindingOutput) ToFunctionIamBindingOutput ¶ added in v6.29.0
func (o FunctionIamBindingOutput) ToFunctionIamBindingOutput() FunctionIamBindingOutput
func (FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext ¶ added in v6.29.0
func (o FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext(ctx context.Context) FunctionIamBindingOutput
type FunctionIamBindingState ¶ added in v6.29.0
type FunctionIamBindingState struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringPtrInput Condition FunctionIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `cloudfunctionsv2.FunctionIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (FunctionIamBindingState) ElementType ¶ added in v6.29.0
func (FunctionIamBindingState) ElementType() reflect.Type
type FunctionIamMember ¶ added in v6.29.0
type FunctionIamMember struct { pulumi.CustomResourceState // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringOutput `pulumi:"cloudFunction"` Condition FunctionIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location of this cloud function. Used to find the parent resource to bind the IAM policy to Location pulumi.StringOutput `pulumi:"location"` Member pulumi.StringOutput `pulumi:"member"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `cloudfunctionsv2.FunctionIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} * {{project}}/{{location}}/{{cloud_function}} * {{location}}/{{cloud_function}} * {{cloud_function}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Functions (2nd gen) function IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:cloudfunctionsv2/functionIamMember:FunctionIamMember editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} roles/viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:cloudfunctionsv2/functionIamMember:FunctionIamMember editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} roles/viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:cloudfunctionsv2/functionIamMember:FunctionIamMember editor projects/{{project}}/locations/{{location}}/functions/{{cloud_function}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetFunctionIamMember ¶ added in v6.29.0
func GetFunctionIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionIamMemberState, opts ...pulumi.ResourceOption) (*FunctionIamMember, error)
GetFunctionIamMember gets an existing FunctionIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFunctionIamMember ¶ added in v6.29.0
func NewFunctionIamMember(ctx *pulumi.Context, name string, args *FunctionIamMemberArgs, opts ...pulumi.ResourceOption) (*FunctionIamMember, error)
NewFunctionIamMember registers a new resource with the given unique name, arguments, and options.
func (*FunctionIamMember) ElementType ¶ added in v6.29.0
func (*FunctionIamMember) ElementType() reflect.Type
func (*FunctionIamMember) ToFunctionIamMemberOutput ¶ added in v6.29.0
func (i *FunctionIamMember) ToFunctionIamMemberOutput() FunctionIamMemberOutput
func (*FunctionIamMember) ToFunctionIamMemberOutputWithContext ¶ added in v6.29.0
func (i *FunctionIamMember) ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput
type FunctionIamMemberArgs ¶ added in v6.29.0
type FunctionIamMemberArgs struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringInput Condition FunctionIamMemberConditionPtrInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Member pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `cloudfunctionsv2.FunctionIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a FunctionIamMember resource.
func (FunctionIamMemberArgs) ElementType ¶ added in v6.29.0
func (FunctionIamMemberArgs) ElementType() reflect.Type
type FunctionIamMemberArray ¶ added in v6.29.0
type FunctionIamMemberArray []FunctionIamMemberInput
func (FunctionIamMemberArray) ElementType ¶ added in v6.29.0
func (FunctionIamMemberArray) ElementType() reflect.Type
func (FunctionIamMemberArray) ToFunctionIamMemberArrayOutput ¶ added in v6.29.0
func (i FunctionIamMemberArray) ToFunctionIamMemberArrayOutput() FunctionIamMemberArrayOutput
func (FunctionIamMemberArray) ToFunctionIamMemberArrayOutputWithContext ¶ added in v6.29.0
func (i FunctionIamMemberArray) ToFunctionIamMemberArrayOutputWithContext(ctx context.Context) FunctionIamMemberArrayOutput
type FunctionIamMemberArrayInput ¶ added in v6.29.0
type FunctionIamMemberArrayInput interface { pulumi.Input ToFunctionIamMemberArrayOutput() FunctionIamMemberArrayOutput ToFunctionIamMemberArrayOutputWithContext(context.Context) FunctionIamMemberArrayOutput }
FunctionIamMemberArrayInput is an input type that accepts FunctionIamMemberArray and FunctionIamMemberArrayOutput values. You can construct a concrete instance of `FunctionIamMemberArrayInput` via:
FunctionIamMemberArray{ FunctionIamMemberArgs{...} }
type FunctionIamMemberArrayOutput ¶ added in v6.29.0
type FunctionIamMemberArrayOutput struct{ *pulumi.OutputState }
func (FunctionIamMemberArrayOutput) ElementType ¶ added in v6.29.0
func (FunctionIamMemberArrayOutput) ElementType() reflect.Type
func (FunctionIamMemberArrayOutput) Index ¶ added in v6.29.0
func (o FunctionIamMemberArrayOutput) Index(i pulumi.IntInput) FunctionIamMemberOutput
func (FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutput ¶ added in v6.29.0
func (o FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutput() FunctionIamMemberArrayOutput
func (FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutputWithContext ¶ added in v6.29.0
func (o FunctionIamMemberArrayOutput) ToFunctionIamMemberArrayOutputWithContext(ctx context.Context) FunctionIamMemberArrayOutput
type FunctionIamMemberCondition ¶ added in v6.29.0
type FunctionIamMemberConditionArgs ¶ added in v6.29.0
type FunctionIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (FunctionIamMemberConditionArgs) ElementType ¶ added in v6.29.0
func (FunctionIamMemberConditionArgs) ElementType() reflect.Type
func (FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutput ¶ added in v6.29.0
func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutput() FunctionIamMemberConditionOutput
func (FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutputWithContext ¶ added in v6.29.0
func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionOutputWithContext(ctx context.Context) FunctionIamMemberConditionOutput
func (FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutput ¶ added in v6.29.0
func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
func (FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutputWithContext ¶ added in v6.29.0
func (i FunctionIamMemberConditionArgs) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
type FunctionIamMemberConditionInput ¶ added in v6.29.0
type FunctionIamMemberConditionInput interface { pulumi.Input ToFunctionIamMemberConditionOutput() FunctionIamMemberConditionOutput ToFunctionIamMemberConditionOutputWithContext(context.Context) FunctionIamMemberConditionOutput }
FunctionIamMemberConditionInput is an input type that accepts FunctionIamMemberConditionArgs and FunctionIamMemberConditionOutput values. You can construct a concrete instance of `FunctionIamMemberConditionInput` via:
FunctionIamMemberConditionArgs{...}
type FunctionIamMemberConditionOutput ¶ added in v6.29.0
type FunctionIamMemberConditionOutput struct{ *pulumi.OutputState }
func (FunctionIamMemberConditionOutput) Description ¶ added in v6.29.0
func (o FunctionIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (FunctionIamMemberConditionOutput) ElementType ¶ added in v6.29.0
func (FunctionIamMemberConditionOutput) ElementType() reflect.Type
func (FunctionIamMemberConditionOutput) Expression ¶ added in v6.29.0
func (o FunctionIamMemberConditionOutput) Expression() pulumi.StringOutput
func (FunctionIamMemberConditionOutput) Title ¶ added in v6.29.0
func (o FunctionIamMemberConditionOutput) Title() pulumi.StringOutput
func (FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutput ¶ added in v6.29.0
func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutput() FunctionIamMemberConditionOutput
func (FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutputWithContext ¶ added in v6.29.0
func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionOutputWithContext(ctx context.Context) FunctionIamMemberConditionOutput
func (FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutput ¶ added in v6.29.0
func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
func (FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutputWithContext ¶ added in v6.29.0
func (o FunctionIamMemberConditionOutput) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
type FunctionIamMemberConditionPtrInput ¶ added in v6.29.0
type FunctionIamMemberConditionPtrInput interface { pulumi.Input ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput ToFunctionIamMemberConditionPtrOutputWithContext(context.Context) FunctionIamMemberConditionPtrOutput }
FunctionIamMemberConditionPtrInput is an input type that accepts FunctionIamMemberConditionArgs, FunctionIamMemberConditionPtr and FunctionIamMemberConditionPtrOutput values. You can construct a concrete instance of `FunctionIamMemberConditionPtrInput` via:
FunctionIamMemberConditionArgs{...} or: nil
func FunctionIamMemberConditionPtr ¶ added in v6.29.0
func FunctionIamMemberConditionPtr(v *FunctionIamMemberConditionArgs) FunctionIamMemberConditionPtrInput
type FunctionIamMemberConditionPtrOutput ¶ added in v6.29.0
type FunctionIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (FunctionIamMemberConditionPtrOutput) Description ¶ added in v6.29.0
func (o FunctionIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (FunctionIamMemberConditionPtrOutput) Elem ¶ added in v6.29.0
func (o FunctionIamMemberConditionPtrOutput) Elem() FunctionIamMemberConditionOutput
func (FunctionIamMemberConditionPtrOutput) ElementType ¶ added in v6.29.0
func (FunctionIamMemberConditionPtrOutput) ElementType() reflect.Type
func (FunctionIamMemberConditionPtrOutput) Expression ¶ added in v6.29.0
func (o FunctionIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (FunctionIamMemberConditionPtrOutput) Title ¶ added in v6.29.0
func (o FunctionIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutput ¶ added in v6.29.0
func (o FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutput() FunctionIamMemberConditionPtrOutput
func (FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutputWithContext ¶ added in v6.29.0
func (o FunctionIamMemberConditionPtrOutput) ToFunctionIamMemberConditionPtrOutputWithContext(ctx context.Context) FunctionIamMemberConditionPtrOutput
type FunctionIamMemberInput ¶ added in v6.29.0
type FunctionIamMemberInput interface { pulumi.Input ToFunctionIamMemberOutput() FunctionIamMemberOutput ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput }
type FunctionIamMemberMap ¶ added in v6.29.0
type FunctionIamMemberMap map[string]FunctionIamMemberInput
func (FunctionIamMemberMap) ElementType ¶ added in v6.29.0
func (FunctionIamMemberMap) ElementType() reflect.Type
func (FunctionIamMemberMap) ToFunctionIamMemberMapOutput ¶ added in v6.29.0
func (i FunctionIamMemberMap) ToFunctionIamMemberMapOutput() FunctionIamMemberMapOutput
func (FunctionIamMemberMap) ToFunctionIamMemberMapOutputWithContext ¶ added in v6.29.0
func (i FunctionIamMemberMap) ToFunctionIamMemberMapOutputWithContext(ctx context.Context) FunctionIamMemberMapOutput
type FunctionIamMemberMapInput ¶ added in v6.29.0
type FunctionIamMemberMapInput interface { pulumi.Input ToFunctionIamMemberMapOutput() FunctionIamMemberMapOutput ToFunctionIamMemberMapOutputWithContext(context.Context) FunctionIamMemberMapOutput }
FunctionIamMemberMapInput is an input type that accepts FunctionIamMemberMap and FunctionIamMemberMapOutput values. You can construct a concrete instance of `FunctionIamMemberMapInput` via:
FunctionIamMemberMap{ "key": FunctionIamMemberArgs{...} }
type FunctionIamMemberMapOutput ¶ added in v6.29.0
type FunctionIamMemberMapOutput struct{ *pulumi.OutputState }
func (FunctionIamMemberMapOutput) ElementType ¶ added in v6.29.0
func (FunctionIamMemberMapOutput) ElementType() reflect.Type
func (FunctionIamMemberMapOutput) MapIndex ¶ added in v6.29.0
func (o FunctionIamMemberMapOutput) MapIndex(k pulumi.StringInput) FunctionIamMemberOutput
func (FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutput ¶ added in v6.29.0
func (o FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutput() FunctionIamMemberMapOutput
func (FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutputWithContext ¶ added in v6.29.0
func (o FunctionIamMemberMapOutput) ToFunctionIamMemberMapOutputWithContext(ctx context.Context) FunctionIamMemberMapOutput
type FunctionIamMemberOutput ¶ added in v6.29.0
type FunctionIamMemberOutput struct{ *pulumi.OutputState }
func (FunctionIamMemberOutput) CloudFunction ¶ added in v6.29.0
func (o FunctionIamMemberOutput) CloudFunction() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (FunctionIamMemberOutput) Condition ¶ added in v6.29.0
func (o FunctionIamMemberOutput) Condition() FunctionIamMemberConditionPtrOutput
func (FunctionIamMemberOutput) ElementType ¶ added in v6.29.0
func (FunctionIamMemberOutput) ElementType() reflect.Type
func (FunctionIamMemberOutput) Etag ¶ added in v6.29.0
func (o FunctionIamMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (FunctionIamMemberOutput) Location ¶ added in v6.29.0
func (o FunctionIamMemberOutput) Location() pulumi.StringOutput
The location of this cloud function. Used to find the parent resource to bind the IAM policy to
func (FunctionIamMemberOutput) Member ¶ added in v6.29.0
func (o FunctionIamMemberOutput) Member() pulumi.StringOutput
func (FunctionIamMemberOutput) Project ¶ added in v6.29.0
func (o FunctionIamMemberOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (FunctionIamMemberOutput) Role ¶ added in v6.29.0
func (o FunctionIamMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `cloudfunctionsv2.FunctionIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (FunctionIamMemberOutput) ToFunctionIamMemberOutput ¶ added in v6.29.0
func (o FunctionIamMemberOutput) ToFunctionIamMemberOutput() FunctionIamMemberOutput
func (FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext ¶ added in v6.29.0
func (o FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext(ctx context.Context) FunctionIamMemberOutput
type FunctionIamMemberState ¶ added in v6.29.0
type FunctionIamMemberState struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringPtrInput Condition FunctionIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Member pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `cloudfunctionsv2.FunctionIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (FunctionIamMemberState) ElementType ¶ added in v6.29.0
func (FunctionIamMemberState) ElementType() reflect.Type
type FunctionIamPolicy ¶ added in v6.29.0
type FunctionIamPolicy struct { pulumi.CustomResourceState // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringOutput `pulumi:"cloudFunction"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location of this cloud function. Used to find the parent resource to bind the IAM policy to Location pulumi.StringOutput `pulumi:"location"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} * {{project}}/{{location}}/{{cloud_function}} * {{location}}/{{cloud_function}} * {{cloud_function}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Functions (2nd gen) function IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:cloudfunctionsv2/functionIamPolicy:FunctionIamPolicy editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} roles/viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:cloudfunctionsv2/functionIamPolicy:FunctionIamPolicy editor "projects/{{project}}/locations/{{location}}/functions/{{cloud_function}} roles/viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:cloudfunctionsv2/functionIamPolicy:FunctionIamPolicy editor projects/{{project}}/locations/{{location}}/functions/{{cloud_function}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetFunctionIamPolicy ¶ added in v6.29.0
func GetFunctionIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FunctionIamPolicyState, opts ...pulumi.ResourceOption) (*FunctionIamPolicy, error)
GetFunctionIamPolicy gets an existing FunctionIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFunctionIamPolicy ¶ added in v6.29.0
func NewFunctionIamPolicy(ctx *pulumi.Context, name string, args *FunctionIamPolicyArgs, opts ...pulumi.ResourceOption) (*FunctionIamPolicy, error)
NewFunctionIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*FunctionIamPolicy) ElementType ¶ added in v6.29.0
func (*FunctionIamPolicy) ElementType() reflect.Type
func (*FunctionIamPolicy) ToFunctionIamPolicyOutput ¶ added in v6.29.0
func (i *FunctionIamPolicy) ToFunctionIamPolicyOutput() FunctionIamPolicyOutput
func (*FunctionIamPolicy) ToFunctionIamPolicyOutputWithContext ¶ added in v6.29.0
func (i *FunctionIamPolicy) ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput
type FunctionIamPolicyArgs ¶ added in v6.29.0
type FunctionIamPolicyArgs struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a FunctionIamPolicy resource.
func (FunctionIamPolicyArgs) ElementType ¶ added in v6.29.0
func (FunctionIamPolicyArgs) ElementType() reflect.Type
type FunctionIamPolicyArray ¶ added in v6.29.0
type FunctionIamPolicyArray []FunctionIamPolicyInput
func (FunctionIamPolicyArray) ElementType ¶ added in v6.29.0
func (FunctionIamPolicyArray) ElementType() reflect.Type
func (FunctionIamPolicyArray) ToFunctionIamPolicyArrayOutput ¶ added in v6.29.0
func (i FunctionIamPolicyArray) ToFunctionIamPolicyArrayOutput() FunctionIamPolicyArrayOutput
func (FunctionIamPolicyArray) ToFunctionIamPolicyArrayOutputWithContext ¶ added in v6.29.0
func (i FunctionIamPolicyArray) ToFunctionIamPolicyArrayOutputWithContext(ctx context.Context) FunctionIamPolicyArrayOutput
type FunctionIamPolicyArrayInput ¶ added in v6.29.0
type FunctionIamPolicyArrayInput interface { pulumi.Input ToFunctionIamPolicyArrayOutput() FunctionIamPolicyArrayOutput ToFunctionIamPolicyArrayOutputWithContext(context.Context) FunctionIamPolicyArrayOutput }
FunctionIamPolicyArrayInput is an input type that accepts FunctionIamPolicyArray and FunctionIamPolicyArrayOutput values. You can construct a concrete instance of `FunctionIamPolicyArrayInput` via:
FunctionIamPolicyArray{ FunctionIamPolicyArgs{...} }
type FunctionIamPolicyArrayOutput ¶ added in v6.29.0
type FunctionIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (FunctionIamPolicyArrayOutput) ElementType ¶ added in v6.29.0
func (FunctionIamPolicyArrayOutput) ElementType() reflect.Type
func (FunctionIamPolicyArrayOutput) Index ¶ added in v6.29.0
func (o FunctionIamPolicyArrayOutput) Index(i pulumi.IntInput) FunctionIamPolicyOutput
func (FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutput ¶ added in v6.29.0
func (o FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutput() FunctionIamPolicyArrayOutput
func (FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutputWithContext ¶ added in v6.29.0
func (o FunctionIamPolicyArrayOutput) ToFunctionIamPolicyArrayOutputWithContext(ctx context.Context) FunctionIamPolicyArrayOutput
type FunctionIamPolicyInput ¶ added in v6.29.0
type FunctionIamPolicyInput interface { pulumi.Input ToFunctionIamPolicyOutput() FunctionIamPolicyOutput ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput }
type FunctionIamPolicyMap ¶ added in v6.29.0
type FunctionIamPolicyMap map[string]FunctionIamPolicyInput
func (FunctionIamPolicyMap) ElementType ¶ added in v6.29.0
func (FunctionIamPolicyMap) ElementType() reflect.Type
func (FunctionIamPolicyMap) ToFunctionIamPolicyMapOutput ¶ added in v6.29.0
func (i FunctionIamPolicyMap) ToFunctionIamPolicyMapOutput() FunctionIamPolicyMapOutput
func (FunctionIamPolicyMap) ToFunctionIamPolicyMapOutputWithContext ¶ added in v6.29.0
func (i FunctionIamPolicyMap) ToFunctionIamPolicyMapOutputWithContext(ctx context.Context) FunctionIamPolicyMapOutput
type FunctionIamPolicyMapInput ¶ added in v6.29.0
type FunctionIamPolicyMapInput interface { pulumi.Input ToFunctionIamPolicyMapOutput() FunctionIamPolicyMapOutput ToFunctionIamPolicyMapOutputWithContext(context.Context) FunctionIamPolicyMapOutput }
FunctionIamPolicyMapInput is an input type that accepts FunctionIamPolicyMap and FunctionIamPolicyMapOutput values. You can construct a concrete instance of `FunctionIamPolicyMapInput` via:
FunctionIamPolicyMap{ "key": FunctionIamPolicyArgs{...} }
type FunctionIamPolicyMapOutput ¶ added in v6.29.0
type FunctionIamPolicyMapOutput struct{ *pulumi.OutputState }
func (FunctionIamPolicyMapOutput) ElementType ¶ added in v6.29.0
func (FunctionIamPolicyMapOutput) ElementType() reflect.Type
func (FunctionIamPolicyMapOutput) MapIndex ¶ added in v6.29.0
func (o FunctionIamPolicyMapOutput) MapIndex(k pulumi.StringInput) FunctionIamPolicyOutput
func (FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutput ¶ added in v6.29.0
func (o FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutput() FunctionIamPolicyMapOutput
func (FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutputWithContext ¶ added in v6.29.0
func (o FunctionIamPolicyMapOutput) ToFunctionIamPolicyMapOutputWithContext(ctx context.Context) FunctionIamPolicyMapOutput
type FunctionIamPolicyOutput ¶ added in v6.29.0
type FunctionIamPolicyOutput struct{ *pulumi.OutputState }
func (FunctionIamPolicyOutput) CloudFunction ¶ added in v6.29.0
func (o FunctionIamPolicyOutput) CloudFunction() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (FunctionIamPolicyOutput) ElementType ¶ added in v6.29.0
func (FunctionIamPolicyOutput) ElementType() reflect.Type
func (FunctionIamPolicyOutput) Etag ¶ added in v6.29.0
func (o FunctionIamPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (FunctionIamPolicyOutput) Location ¶ added in v6.29.0
func (o FunctionIamPolicyOutput) Location() pulumi.StringOutput
The location of this cloud function. Used to find the parent resource to bind the IAM policy to
func (FunctionIamPolicyOutput) PolicyData ¶ added in v6.29.0
func (o FunctionIamPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (FunctionIamPolicyOutput) Project ¶ added in v6.29.0
func (o FunctionIamPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (FunctionIamPolicyOutput) ToFunctionIamPolicyOutput ¶ added in v6.29.0
func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutput() FunctionIamPolicyOutput
func (FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext ¶ added in v6.29.0
func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext(ctx context.Context) FunctionIamPolicyOutput
type FunctionIamPolicyState ¶ added in v6.29.0
type FunctionIamPolicyState struct { // Used to find the parent resource to bind the IAM policy to CloudFunction pulumi.StringPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location of this cloud function. Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput }
func (FunctionIamPolicyState) ElementType ¶ added in v6.29.0
func (FunctionIamPolicyState) ElementType() reflect.Type
type FunctionInput ¶
type FunctionInput interface { pulumi.Input ToFunctionOutput() FunctionOutput ToFunctionOutputWithContext(ctx context.Context) FunctionOutput }
type FunctionMap ¶
type FunctionMap map[string]FunctionInput
func (FunctionMap) ElementType ¶
func (FunctionMap) ElementType() reflect.Type
func (FunctionMap) ToFunctionMapOutput ¶
func (i FunctionMap) ToFunctionMapOutput() FunctionMapOutput
func (FunctionMap) ToFunctionMapOutputWithContext ¶
func (i FunctionMap) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput
type FunctionMapInput ¶
type FunctionMapInput interface { pulumi.Input ToFunctionMapOutput() FunctionMapOutput ToFunctionMapOutputWithContext(context.Context) FunctionMapOutput }
FunctionMapInput is an input type that accepts FunctionMap and FunctionMapOutput values. You can construct a concrete instance of `FunctionMapInput` via:
FunctionMap{ "key": FunctionArgs{...} }
type FunctionMapOutput ¶
type FunctionMapOutput struct{ *pulumi.OutputState }
func (FunctionMapOutput) ElementType ¶
func (FunctionMapOutput) ElementType() reflect.Type
func (FunctionMapOutput) MapIndex ¶
func (o FunctionMapOutput) MapIndex(k pulumi.StringInput) FunctionOutput
func (FunctionMapOutput) ToFunctionMapOutput ¶
func (o FunctionMapOutput) ToFunctionMapOutput() FunctionMapOutput
func (FunctionMapOutput) ToFunctionMapOutputWithContext ¶
func (o FunctionMapOutput) ToFunctionMapOutputWithContext(ctx context.Context) FunctionMapOutput
type FunctionOutput ¶
type FunctionOutput struct{ *pulumi.OutputState }
func (FunctionOutput) BuildConfig ¶ added in v6.23.0
func (o FunctionOutput) BuildConfig() FunctionBuildConfigPtrOutput
Describes the Build step of the function that builds a container from the given source. Structure is documented below.
func (FunctionOutput) Description ¶ added in v6.23.0
func (o FunctionOutput) Description() pulumi.StringPtrOutput
User-provided description of a function.
func (FunctionOutput) ElementType ¶
func (FunctionOutput) ElementType() reflect.Type
func (FunctionOutput) Environment ¶ added in v6.23.0
func (o FunctionOutput) Environment() pulumi.StringOutput
The environment the function is hosted on.
func (FunctionOutput) EventTrigger ¶ added in v6.23.0
func (o FunctionOutput) EventTrigger() FunctionEventTriggerPtrOutput
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service. Structure is documented below.
func (FunctionOutput) Labels ¶ added in v6.23.0
func (o FunctionOutput) Labels() pulumi.StringMapOutput
A set of key/value label pairs associated with this Cloud Function.
func (FunctionOutput) Location ¶ added in v6.23.0
func (o FunctionOutput) Location() pulumi.StringPtrOutput
The location of this cloud function.
func (FunctionOutput) Name ¶ added in v6.23.0
func (o FunctionOutput) Name() pulumi.StringOutput
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`.
func (FunctionOutput) Project ¶ added in v6.23.0
func (o FunctionOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (FunctionOutput) ServiceConfig ¶ added in v6.23.0
func (o FunctionOutput) ServiceConfig() FunctionServiceConfigPtrOutput
Describes the Service being deployed. Structure is documented below.
func (FunctionOutput) State ¶ added in v6.23.0
func (o FunctionOutput) State() pulumi.StringOutput
Describes the current state of the function.
func (FunctionOutput) ToFunctionOutput ¶
func (o FunctionOutput) ToFunctionOutput() FunctionOutput
func (FunctionOutput) ToFunctionOutputWithContext ¶
func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) FunctionOutput
func (FunctionOutput) UpdateTime ¶ added in v6.23.0
func (o FunctionOutput) UpdateTime() pulumi.StringOutput
The last update timestamp of a Cloud Function.
type FunctionServiceConfig ¶
type FunctionServiceConfig struct { // Whether 100% of traffic is routed to the latest revision. Defaults to true. AllTrafficOnLatestRevision *bool `pulumi:"allTrafficOnLatestRevision"` // The amount of memory available for a function. // Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is // supplied the value is interpreted as bytes. AvailableMemory *string `pulumi:"availableMemory"` // Environment variables that shall be available during function execution. EnvironmentVariables map[string]string `pulumi:"environmentVariables"` // - // URIs of the Service deployed GcfUri *string `pulumi:"gcfUri"` // Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. // Default value is `ALLOW_ALL`. // Possible values are `ALLOW_ALL`, `ALLOW_INTERNAL_ONLY`, and `ALLOW_INTERNAL_AND_GCLB`. IngressSettings *string `pulumi:"ingressSettings"` // The limit on the maximum number of function instances that may coexist at a // given time. MaxInstanceCount *int `pulumi:"maxInstanceCount"` // The limit on the minimum number of function instances that may coexist at a // given time. MinInstanceCount *int `pulumi:"minInstanceCount"` // Name of the service associated with a Function. Service *string `pulumi:"service"` // The email of the service account for this function. ServiceAccountEmail *string `pulumi:"serviceAccountEmail"` // The function execution timeout. Execution is considered failed and // can be terminated if the function is not completed at the end of the // timeout period. Defaults to 60 seconds. TimeoutSeconds *int `pulumi:"timeoutSeconds"` // - // URI of the Service deployed. Uri *string `pulumi:"uri"` // The Serverless VPC Access connector that this cloud function can connect to. VpcConnector *string `pulumi:"vpcConnector"` // Available egress settings. // Possible values are `VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED`, `PRIVATE_RANGES_ONLY`, and `ALL_TRAFFIC`. VpcConnectorEgressSettings *string `pulumi:"vpcConnectorEgressSettings"` }
type FunctionServiceConfigArgs ¶
type FunctionServiceConfigArgs struct { // Whether 100% of traffic is routed to the latest revision. Defaults to true. AllTrafficOnLatestRevision pulumi.BoolPtrInput `pulumi:"allTrafficOnLatestRevision"` // The amount of memory available for a function. // Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is // supplied the value is interpreted as bytes. AvailableMemory pulumi.StringPtrInput `pulumi:"availableMemory"` // Environment variables that shall be available during function execution. EnvironmentVariables pulumi.StringMapInput `pulumi:"environmentVariables"` // - // URIs of the Service deployed GcfUri pulumi.StringPtrInput `pulumi:"gcfUri"` // Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. // Default value is `ALLOW_ALL`. // Possible values are `ALLOW_ALL`, `ALLOW_INTERNAL_ONLY`, and `ALLOW_INTERNAL_AND_GCLB`. IngressSettings pulumi.StringPtrInput `pulumi:"ingressSettings"` // The limit on the maximum number of function instances that may coexist at a // given time. MaxInstanceCount pulumi.IntPtrInput `pulumi:"maxInstanceCount"` // The limit on the minimum number of function instances that may coexist at a // given time. MinInstanceCount pulumi.IntPtrInput `pulumi:"minInstanceCount"` // Name of the service associated with a Function. Service pulumi.StringPtrInput `pulumi:"service"` // The email of the service account for this function. ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"` // The function execution timeout. Execution is considered failed and // can be terminated if the function is not completed at the end of the // timeout period. Defaults to 60 seconds. TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"` // - // URI of the Service deployed. Uri pulumi.StringPtrInput `pulumi:"uri"` // The Serverless VPC Access connector that this cloud function can connect to. VpcConnector pulumi.StringPtrInput `pulumi:"vpcConnector"` // Available egress settings. // Possible values are `VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED`, `PRIVATE_RANGES_ONLY`, and `ALL_TRAFFIC`. VpcConnectorEgressSettings pulumi.StringPtrInput `pulumi:"vpcConnectorEgressSettings"` }
func (FunctionServiceConfigArgs) ElementType ¶
func (FunctionServiceConfigArgs) ElementType() reflect.Type
func (FunctionServiceConfigArgs) ToFunctionServiceConfigOutput ¶
func (i FunctionServiceConfigArgs) ToFunctionServiceConfigOutput() FunctionServiceConfigOutput
func (FunctionServiceConfigArgs) ToFunctionServiceConfigOutputWithContext ¶
func (i FunctionServiceConfigArgs) ToFunctionServiceConfigOutputWithContext(ctx context.Context) FunctionServiceConfigOutput
func (FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutput ¶
func (i FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
func (FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutputWithContext ¶
func (i FunctionServiceConfigArgs) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
type FunctionServiceConfigInput ¶
type FunctionServiceConfigInput interface { pulumi.Input ToFunctionServiceConfigOutput() FunctionServiceConfigOutput ToFunctionServiceConfigOutputWithContext(context.Context) FunctionServiceConfigOutput }
FunctionServiceConfigInput is an input type that accepts FunctionServiceConfigArgs and FunctionServiceConfigOutput values. You can construct a concrete instance of `FunctionServiceConfigInput` via:
FunctionServiceConfigArgs{...}
type FunctionServiceConfigOutput ¶
type FunctionServiceConfigOutput struct{ *pulumi.OutputState }
func (FunctionServiceConfigOutput) AllTrafficOnLatestRevision ¶
func (o FunctionServiceConfigOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput
Whether 100% of traffic is routed to the latest revision. Defaults to true.
func (FunctionServiceConfigOutput) AvailableMemory ¶
func (o FunctionServiceConfigOutput) AvailableMemory() pulumi.StringPtrOutput
The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes.
func (FunctionServiceConfigOutput) ElementType ¶
func (FunctionServiceConfigOutput) ElementType() reflect.Type
func (FunctionServiceConfigOutput) EnvironmentVariables ¶
func (o FunctionServiceConfigOutput) EnvironmentVariables() pulumi.StringMapOutput
Environment variables that shall be available during function execution.
func (FunctionServiceConfigOutput) GcfUri ¶
func (o FunctionServiceConfigOutput) GcfUri() pulumi.StringPtrOutput
- URIs of the Service deployed
func (FunctionServiceConfigOutput) IngressSettings ¶
func (o FunctionServiceConfigOutput) IngressSettings() pulumi.StringPtrOutput
Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value is `ALLOW_ALL`. Possible values are `ALLOW_ALL`, `ALLOW_INTERNAL_ONLY`, and `ALLOW_INTERNAL_AND_GCLB`.
func (FunctionServiceConfigOutput) MaxInstanceCount ¶
func (o FunctionServiceConfigOutput) MaxInstanceCount() pulumi.IntPtrOutput
The limit on the maximum number of function instances that may coexist at a given time.
func (FunctionServiceConfigOutput) MinInstanceCount ¶
func (o FunctionServiceConfigOutput) MinInstanceCount() pulumi.IntPtrOutput
The limit on the minimum number of function instances that may coexist at a given time.
func (FunctionServiceConfigOutput) Service ¶
func (o FunctionServiceConfigOutput) Service() pulumi.StringPtrOutput
Name of the service associated with a Function.
func (FunctionServiceConfigOutput) ServiceAccountEmail ¶
func (o FunctionServiceConfigOutput) ServiceAccountEmail() pulumi.StringPtrOutput
The email of the service account for this function.
func (FunctionServiceConfigOutput) TimeoutSeconds ¶
func (o FunctionServiceConfigOutput) TimeoutSeconds() pulumi.IntPtrOutput
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
func (FunctionServiceConfigOutput) ToFunctionServiceConfigOutput ¶
func (o FunctionServiceConfigOutput) ToFunctionServiceConfigOutput() FunctionServiceConfigOutput
func (FunctionServiceConfigOutput) ToFunctionServiceConfigOutputWithContext ¶
func (o FunctionServiceConfigOutput) ToFunctionServiceConfigOutputWithContext(ctx context.Context) FunctionServiceConfigOutput
func (FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutput ¶
func (o FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
func (FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutputWithContext ¶
func (o FunctionServiceConfigOutput) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
func (FunctionServiceConfigOutput) Uri ¶
func (o FunctionServiceConfigOutput) Uri() pulumi.StringPtrOutput
- URI of the Service deployed.
func (FunctionServiceConfigOutput) VpcConnector ¶
func (o FunctionServiceConfigOutput) VpcConnector() pulumi.StringPtrOutput
The Serverless VPC Access connector that this cloud function can connect to.
func (FunctionServiceConfigOutput) VpcConnectorEgressSettings ¶
func (o FunctionServiceConfigOutput) VpcConnectorEgressSettings() pulumi.StringPtrOutput
Available egress settings. Possible values are `VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED`, `PRIVATE_RANGES_ONLY`, and `ALL_TRAFFIC`.
type FunctionServiceConfigPtrInput ¶
type FunctionServiceConfigPtrInput interface { pulumi.Input ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput ToFunctionServiceConfigPtrOutputWithContext(context.Context) FunctionServiceConfigPtrOutput }
FunctionServiceConfigPtrInput is an input type that accepts FunctionServiceConfigArgs, FunctionServiceConfigPtr and FunctionServiceConfigPtrOutput values. You can construct a concrete instance of `FunctionServiceConfigPtrInput` via:
FunctionServiceConfigArgs{...} or: nil
func FunctionServiceConfigPtr ¶
func FunctionServiceConfigPtr(v *FunctionServiceConfigArgs) FunctionServiceConfigPtrInput
type FunctionServiceConfigPtrOutput ¶
type FunctionServiceConfigPtrOutput struct{ *pulumi.OutputState }
func (FunctionServiceConfigPtrOutput) AllTrafficOnLatestRevision ¶
func (o FunctionServiceConfigPtrOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput
Whether 100% of traffic is routed to the latest revision. Defaults to true.
func (FunctionServiceConfigPtrOutput) AvailableMemory ¶
func (o FunctionServiceConfigPtrOutput) AvailableMemory() pulumi.StringPtrOutput
The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes.
func (FunctionServiceConfigPtrOutput) Elem ¶
func (o FunctionServiceConfigPtrOutput) Elem() FunctionServiceConfigOutput
func (FunctionServiceConfigPtrOutput) ElementType ¶
func (FunctionServiceConfigPtrOutput) ElementType() reflect.Type
func (FunctionServiceConfigPtrOutput) EnvironmentVariables ¶
func (o FunctionServiceConfigPtrOutput) EnvironmentVariables() pulumi.StringMapOutput
Environment variables that shall be available during function execution.
func (FunctionServiceConfigPtrOutput) GcfUri ¶
func (o FunctionServiceConfigPtrOutput) GcfUri() pulumi.StringPtrOutput
- URIs of the Service deployed
func (FunctionServiceConfigPtrOutput) IngressSettings ¶
func (o FunctionServiceConfigPtrOutput) IngressSettings() pulumi.StringPtrOutput
Available ingress settings. Defaults to "ALLOW_ALL" if unspecified. Default value is `ALLOW_ALL`. Possible values are `ALLOW_ALL`, `ALLOW_INTERNAL_ONLY`, and `ALLOW_INTERNAL_AND_GCLB`.
func (FunctionServiceConfigPtrOutput) MaxInstanceCount ¶
func (o FunctionServiceConfigPtrOutput) MaxInstanceCount() pulumi.IntPtrOutput
The limit on the maximum number of function instances that may coexist at a given time.
func (FunctionServiceConfigPtrOutput) MinInstanceCount ¶
func (o FunctionServiceConfigPtrOutput) MinInstanceCount() pulumi.IntPtrOutput
The limit on the minimum number of function instances that may coexist at a given time.
func (FunctionServiceConfigPtrOutput) Service ¶
func (o FunctionServiceConfigPtrOutput) Service() pulumi.StringPtrOutput
Name of the service associated with a Function.
func (FunctionServiceConfigPtrOutput) ServiceAccountEmail ¶
func (o FunctionServiceConfigPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput
The email of the service account for this function.
func (FunctionServiceConfigPtrOutput) TimeoutSeconds ¶
func (o FunctionServiceConfigPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
func (FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutput ¶
func (o FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutput() FunctionServiceConfigPtrOutput
func (FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutputWithContext ¶
func (o FunctionServiceConfigPtrOutput) ToFunctionServiceConfigPtrOutputWithContext(ctx context.Context) FunctionServiceConfigPtrOutput
func (FunctionServiceConfigPtrOutput) Uri ¶
func (o FunctionServiceConfigPtrOutput) Uri() pulumi.StringPtrOutput
- URI of the Service deployed.
func (FunctionServiceConfigPtrOutput) VpcConnector ¶
func (o FunctionServiceConfigPtrOutput) VpcConnector() pulumi.StringPtrOutput
The Serverless VPC Access connector that this cloud function can connect to.
func (FunctionServiceConfigPtrOutput) VpcConnectorEgressSettings ¶
func (o FunctionServiceConfigPtrOutput) VpcConnectorEgressSettings() pulumi.StringPtrOutput
Available egress settings. Possible values are `VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED`, `PRIVATE_RANGES_ONLY`, and `ALL_TRAFFIC`.
type FunctionState ¶
type FunctionState struct { // Describes the Build step of the function that builds a container // from the given source. // Structure is documented below. BuildConfig FunctionBuildConfigPtrInput // User-provided description of a function. Description pulumi.StringPtrInput // The environment the function is hosted on. Environment pulumi.StringPtrInput // An Eventarc trigger managed by Google Cloud Functions that fires events in // response to a condition in another service. // Structure is documented below. EventTrigger FunctionEventTriggerPtrInput // A set of key/value label pairs associated with this Cloud Function. Labels pulumi.StringMapInput // The location of this cloud function. Location pulumi.StringPtrInput // A user-defined name of the function. Function names must // be unique globally and match pattern `projects/*/locations/*/functions/*`. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Describes the Service being deployed. // Structure is documented below. ServiceConfig FunctionServiceConfigPtrInput // Describes the current state of the function. State pulumi.StringPtrInput // The last update timestamp of a Cloud Function. UpdateTime pulumi.StringPtrInput }
func (FunctionState) ElementType ¶
func (FunctionState) ElementType() reflect.Type