Uses of Class
com.google.cloud.functions.v1.CloudFunction.Builder
-
Uses of CloudFunction.Builder in com.google.cloud.functions.v1
Methods in com.google.cloud.functions.v1 that return CloudFunction.BuilderModifier and TypeMethodDescriptionCloudFunction.Builder.addAllSecretEnvironmentVariables(Iterable<? extends SecretEnvVar> values) Secret environment variables configuration.CloudFunction.Builder.addAllSecretVolumes(Iterable<? extends SecretVolume> values) Secret volumes configuration.ListFunctionsResponse.Builder.addFunctionsBuilder()The functions that match the request.ListFunctionsResponse.Builder.addFunctionsBuilder(int index) The functions that match the request.CloudFunction.Builder.addSecretEnvironmentVariables(int index, SecretEnvVar value) Secret environment variables configuration.CloudFunction.Builder.addSecretEnvironmentVariables(int index, SecretEnvVar.Builder builderForValue) Secret environment variables configuration.CloudFunction.Builder.addSecretEnvironmentVariables(SecretEnvVar value) Secret environment variables configuration.CloudFunction.Builder.addSecretEnvironmentVariables(SecretEnvVar.Builder builderForValue) Secret environment variables configuration.CloudFunction.Builder.addSecretVolumes(int index, SecretVolume value) Secret volumes configuration.CloudFunction.Builder.addSecretVolumes(int index, SecretVolume.Builder builderForValue) Secret volumes configuration.CloudFunction.Builder.addSecretVolumes(SecretVolume value) Secret volumes configuration.CloudFunction.Builder.addSecretVolumes(SecretVolume.Builder builderForValue) Secret volumes configuration.CloudFunction.Builder.clear()CloudFunction.Builder.clearAutomaticUpdatePolicy().google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;CloudFunction.Builder.clearAvailableMemoryMb()The amount of memory in MB available for a function.CloudFunction.Builder.clearBuildEnvironmentVariables()CloudFunction.Builder.clearBuildId()Output only.CloudFunction.Builder.clearBuildName()Output only.CloudFunction.Builder.clearBuildServiceAccount()A service account the user provides for use with Cloud Build.CloudFunction.Builder.clearBuildWorkerPool()Name of the Cloud Build Custom Worker Pool that should be used to build the function.CloudFunction.Builder.clearDescription()User-provided description of a function.CloudFunction.Builder.clearDockerRegistry()Deprecated.google.cloud.functions.v1.CloudFunction.docker_registry is deprecated.CloudFunction.Builder.clearDockerRepository()User-managed repository created in Artifact Registry to which the function's Docker image will be pushed after it is built by Cloud Build.CloudFunction.Builder.clearEntryPoint()The name of the function (as defined in source code) that will be executed.CloudFunction.Builder.clearEnvironmentVariables()CloudFunction.Builder.clearEventTrigger()A source that fires events in response to a condition in another service.CloudFunction.Builder.clearHttpsTrigger()An HTTPS endpoint type of source that can be triggered via URL.CloudFunction.Builder.clearIngressSettings()The ingress settings for the function, controlling what traffic can reach it.CloudFunction.Builder.clearKmsKeyName()Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.CloudFunction.Builder.clearLabels()CloudFunction.Builder.clearMaxInstances()The limit on the maximum number of function instances that may coexist at a given time.CloudFunction.Builder.clearMinInstances()A lower bound for the number function instances that may coexist at a given time.CloudFunction.Builder.clearName()A user-defined name of the function.CloudFunction.Builder.clearNetwork()Deprecated.google.cloud.functions.v1.CloudFunction.network is deprecated.CloudFunction.Builder.clearOnDeployUpdatePolicy().google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;CloudFunction.Builder.clearRuntime()The runtime in which to run the function.CloudFunction.Builder.clearRuntimeUpdatePolicy()CloudFunction.Builder.clearSecretEnvironmentVariables()Secret environment variables configuration.CloudFunction.Builder.clearSecretVolumes()Secret volumes configuration.CloudFunction.Builder.clearServiceAccountEmail()The email of the function's service account.CloudFunction.Builder.clearSourceArchiveUrl()The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.CloudFunction.Builder.clearSourceCode()CloudFunction.Builder.clearSourceRepository()**Beta Feature** The source repository where a function is hosted.CloudFunction.Builder.clearSourceToken()Input only.CloudFunction.Builder.clearSourceUploadUrl()The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl].CloudFunction.Builder.clearStatus()Output only.CloudFunction.Builder.clearTimeout()The function execution timeout.CloudFunction.Builder.clearTrigger()CloudFunction.Builder.clearUpdateTime()Output only.CloudFunction.Builder.clearVersionId()Output only.CloudFunction.Builder.clearVpcConnector()The VPC Network Connector that this cloud function can connect to.CloudFunction.Builder.clearVpcConnectorEgressSettings()The egress settings for the connector, controlling what traffic is diverted through it.CreateFunctionRequest.Builder.getFunctionBuilder()Required.UpdateFunctionRequest.Builder.getFunctionBuilder()Required.ListFunctionsResponse.Builder.getFunctionsBuilder(int index) The functions that match the request.CloudFunction.Builder.mergeAutomaticUpdatePolicy(CloudFunction.AutomaticUpdatePolicy value) .google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;CloudFunction.Builder.mergeEventTrigger(EventTrigger value) A source that fires events in response to a condition in another service.CloudFunction.Builder.mergeFrom(CloudFunction other) CloudFunction.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) CloudFunction.Builder.mergeFrom(com.google.protobuf.Message other) CloudFunction.Builder.mergeHttpsTrigger(HttpsTrigger value) An HTTPS endpoint type of source that can be triggered via URL.CloudFunction.Builder.mergeOnDeployUpdatePolicy(CloudFunction.OnDeployUpdatePolicy value) .google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;CloudFunction.Builder.mergeSourceRepository(SourceRepository value) **Beta Feature** The source repository where a function is hosted.CloudFunction.Builder.mergeTimeout(com.google.protobuf.Duration value) The function execution timeout.CloudFunction.Builder.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.static CloudFunction.BuilderCloudFunction.newBuilder()static CloudFunction.BuilderCloudFunction.newBuilder(CloudFunction prototype) CloudFunction.newBuilderForType()protected CloudFunction.BuilderCloudFunction.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) CloudFunction.Builder.putAllBuildEnvironmentVariables(Map<String, String> values) Build environment variables that shall be available during build time.CloudFunction.Builder.putAllEnvironmentVariables(Map<String, String> values) Environment variables that shall be available during function execution.CloudFunction.Builder.putAllLabels(Map<String, String> values) Labels associated with this Cloud Function.CloudFunction.Builder.putBuildEnvironmentVariables(String key, String value) Build environment variables that shall be available during build time.CloudFunction.Builder.putEnvironmentVariables(String key, String value) Environment variables that shall be available during function execution.Labels associated with this Cloud Function.CloudFunction.Builder.removeBuildEnvironmentVariables(String key) Build environment variables that shall be available during build time.CloudFunction.Builder.removeEnvironmentVariables(String key) Environment variables that shall be available during function execution.CloudFunction.Builder.removeLabels(String key) Labels associated with this Cloud Function.CloudFunction.Builder.removeSecretEnvironmentVariables(int index) Secret environment variables configuration.CloudFunction.Builder.removeSecretVolumes(int index) Secret volumes configuration.CloudFunction.Builder.setAutomaticUpdatePolicy(CloudFunction.AutomaticUpdatePolicy value) .google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;CloudFunction.Builder.setAutomaticUpdatePolicy(CloudFunction.AutomaticUpdatePolicy.Builder builderForValue) .google.cloud.functions.v1.CloudFunction.AutomaticUpdatePolicy automatic_update_policy = 40;CloudFunction.Builder.setAvailableMemoryMb(int value) The amount of memory in MB available for a function.CloudFunction.Builder.setBuildId(String value) Output only.CloudFunction.Builder.setBuildIdBytes(com.google.protobuf.ByteString value) Output only.CloudFunction.Builder.setBuildName(String value) Output only.CloudFunction.Builder.setBuildNameBytes(com.google.protobuf.ByteString value) Output only.CloudFunction.Builder.setBuildServiceAccount(String value) A service account the user provides for use with Cloud Build.CloudFunction.Builder.setBuildServiceAccountBytes(com.google.protobuf.ByteString value) A service account the user provides for use with Cloud Build.CloudFunction.Builder.setBuildWorkerPool(String value) Name of the Cloud Build Custom Worker Pool that should be used to build the function.CloudFunction.Builder.setBuildWorkerPoolBytes(com.google.protobuf.ByteString value) Name of the Cloud Build Custom Worker Pool that should be used to build the function.CloudFunction.Builder.setDescription(String value) User-provided description of a function.CloudFunction.Builder.setDescriptionBytes(com.google.protobuf.ByteString value) User-provided description of a function.CloudFunction.Builder.setDockerRegistry(CloudFunction.DockerRegistry value) Deprecated.google.cloud.functions.v1.CloudFunction.docker_registry is deprecated.CloudFunction.Builder.setDockerRegistryValue(int value) Deprecated.google.cloud.functions.v1.CloudFunction.docker_registry is deprecated.CloudFunction.Builder.setDockerRepository(String value) User-managed repository created in Artifact Registry to which the function's Docker image will be pushed after it is built by Cloud Build.CloudFunction.Builder.setDockerRepositoryBytes(com.google.protobuf.ByteString value) User-managed repository created in Artifact Registry to which the function's Docker image will be pushed after it is built by Cloud Build.CloudFunction.Builder.setEntryPoint(String value) The name of the function (as defined in source code) that will be executed.CloudFunction.Builder.setEntryPointBytes(com.google.protobuf.ByteString value) The name of the function (as defined in source code) that will be executed.CloudFunction.Builder.setEventTrigger(EventTrigger value) A source that fires events in response to a condition in another service.CloudFunction.Builder.setEventTrigger(EventTrigger.Builder builderForValue) A source that fires events in response to a condition in another service.CloudFunction.Builder.setHttpsTrigger(HttpsTrigger value) An HTTPS endpoint type of source that can be triggered via URL.CloudFunction.Builder.setHttpsTrigger(HttpsTrigger.Builder builderForValue) An HTTPS endpoint type of source that can be triggered via URL.CloudFunction.Builder.setIngressSettings(CloudFunction.IngressSettings value) The ingress settings for the function, controlling what traffic can reach it.CloudFunction.Builder.setIngressSettingsValue(int value) The ingress settings for the function, controlling what traffic can reach it.CloudFunction.Builder.setKmsKeyName(String value) Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.CloudFunction.Builder.setKmsKeyNameBytes(com.google.protobuf.ByteString value) Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources.CloudFunction.Builder.setMaxInstances(int value) The limit on the maximum number of function instances that may coexist at a given time.CloudFunction.Builder.setMinInstances(int value) A lower bound for the number function instances that may coexist at a given time.A user-defined name of the function.CloudFunction.Builder.setNameBytes(com.google.protobuf.ByteString value) A user-defined name of the function.CloudFunction.Builder.setNetwork(String value) Deprecated.google.cloud.functions.v1.CloudFunction.network is deprecated.CloudFunction.Builder.setNetworkBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.functions.v1.CloudFunction.network is deprecated.CloudFunction.Builder.setOnDeployUpdatePolicy(CloudFunction.OnDeployUpdatePolicy value) .google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;CloudFunction.Builder.setOnDeployUpdatePolicy(CloudFunction.OnDeployUpdatePolicy.Builder builderForValue) .google.cloud.functions.v1.CloudFunction.OnDeployUpdatePolicy on_deploy_update_policy = 41;CloudFunction.Builder.setRuntime(String value) The runtime in which to run the function.CloudFunction.Builder.setRuntimeBytes(com.google.protobuf.ByteString value) The runtime in which to run the function.CloudFunction.Builder.setSecretEnvironmentVariables(int index, SecretEnvVar value) Secret environment variables configuration.CloudFunction.Builder.setSecretEnvironmentVariables(int index, SecretEnvVar.Builder builderForValue) Secret environment variables configuration.CloudFunction.Builder.setSecretVolumes(int index, SecretVolume value) Secret volumes configuration.CloudFunction.Builder.setSecretVolumes(int index, SecretVolume.Builder builderForValue) Secret volumes configuration.CloudFunction.Builder.setServiceAccountEmail(String value) The email of the function's service account.CloudFunction.Builder.setServiceAccountEmailBytes(com.google.protobuf.ByteString value) The email of the function's service account.CloudFunction.Builder.setSourceArchiveUrl(String value) The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.CloudFunction.Builder.setSourceArchiveUrlBytes(com.google.protobuf.ByteString value) The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function.CloudFunction.Builder.setSourceRepository(SourceRepository value) **Beta Feature** The source repository where a function is hosted.CloudFunction.Builder.setSourceRepository(SourceRepository.Builder builderForValue) **Beta Feature** The source repository where a function is hosted.CloudFunction.Builder.setSourceToken(String value) Input only.CloudFunction.Builder.setSourceTokenBytes(com.google.protobuf.ByteString value) Input only.CloudFunction.Builder.setSourceUploadUrl(String value) The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl].CloudFunction.Builder.setSourceUploadUrlBytes(com.google.protobuf.ByteString value) The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl].CloudFunction.Builder.setStatus(CloudFunctionStatus value) Output only.CloudFunction.Builder.setStatusValue(int value) Output only.CloudFunction.Builder.setTimeout(com.google.protobuf.Duration value) The function execution timeout.CloudFunction.Builder.setTimeout(com.google.protobuf.Duration.Builder builderForValue) The function execution timeout.CloudFunction.Builder.setUpdateTime(com.google.protobuf.Timestamp value) Output only.CloudFunction.Builder.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.CloudFunction.Builder.setVersionId(long value) Output only.CloudFunction.Builder.setVpcConnector(String value) The VPC Network Connector that this cloud function can connect to.CloudFunction.Builder.setVpcConnectorBytes(com.google.protobuf.ByteString value) The VPC Network Connector that this cloud function can connect to.CloudFunction.Builder.setVpcConnectorEgressSettings(CloudFunction.VpcConnectorEgressSettings value) The egress settings for the connector, controlling what traffic is diverted through it.CloudFunction.Builder.setVpcConnectorEgressSettingsValue(int value) The egress settings for the connector, controlling what traffic is diverted through it.CloudFunction.toBuilder()Methods in com.google.cloud.functions.v1 that return types with arguments of type CloudFunction.BuilderModifier and TypeMethodDescriptionListFunctionsResponse.Builder.getFunctionsBuilderList()The functions that match the request.Methods in com.google.cloud.functions.v1 with parameters of type CloudFunction.BuilderModifier and TypeMethodDescriptionListFunctionsResponse.Builder.addFunctions(int index, CloudFunction.Builder builderForValue) The functions that match the request.ListFunctionsResponse.Builder.addFunctions(CloudFunction.Builder builderForValue) The functions that match the request.CreateFunctionRequest.Builder.setFunction(CloudFunction.Builder builderForValue) Required.UpdateFunctionRequest.Builder.setFunction(CloudFunction.Builder builderForValue) Required.ListFunctionsResponse.Builder.setFunctions(int index, CloudFunction.Builder builderForValue) The functions that match the request.