Package com.pulumi.gcp.cloudfunctionsv2
Class Cloudfunctionsv2Functions
- java.lang.Object
-
- com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions
-
public final class Cloudfunctionsv2Functions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Cloudfunctionsv2Functions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.pulumi.core.Output<GetFunctionResult>
getFunction(GetFunctionArgs args)
Get information about a Google Cloud Function (2nd gen).static com.pulumi.core.Output<GetFunctionResult>
getFunction(GetFunctionArgs args, com.pulumi.deployment.InvokeOptions options)
Get information about a Google Cloud Function (2nd gen).static com.pulumi.core.Output<GetFunctionIamPolicyResult>
getFunctionIamPolicy(GetFunctionIamPolicyArgs args)
Retrieves the current IAM policy data for function ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionIamPolicyArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var policy = Cloudfunctionsv2Functions.getFunctionIamPolicy(GetFunctionIamPolicyArgs.builder() .project(google_cloudfunctions2_function.function().project()) .location(google_cloudfunctions2_function.function().location()) .cloudFunction(google_cloudfunctions2_function.function().name()) .build()); } } ```static com.pulumi.core.Output<GetFunctionIamPolicyResult>
getFunctionIamPolicy(GetFunctionIamPolicyArgs args, com.pulumi.deployment.InvokeOptions options)
Retrieves the current IAM policy data for function ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionIamPolicyArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var policy = Cloudfunctionsv2Functions.getFunctionIamPolicy(GetFunctionIamPolicyArgs.builder() .project(google_cloudfunctions2_function.function().project()) .location(google_cloudfunctions2_function.function().location()) .cloudFunction(google_cloudfunctions2_function.function().name()) .build()); } } ```static java.util.concurrent.CompletableFuture<GetFunctionIamPolicyResult>
getFunctionIamPolicyPlain(GetFunctionIamPolicyPlainArgs args)
Retrieves the current IAM policy data for function ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionIamPolicyArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var policy = Cloudfunctionsv2Functions.getFunctionIamPolicy(GetFunctionIamPolicyArgs.builder() .project(google_cloudfunctions2_function.function().project()) .location(google_cloudfunctions2_function.function().location()) .cloudFunction(google_cloudfunctions2_function.function().name()) .build()); } } ```static java.util.concurrent.CompletableFuture<GetFunctionIamPolicyResult>
getFunctionIamPolicyPlain(GetFunctionIamPolicyPlainArgs args, com.pulumi.deployment.InvokeOptions options)
Retrieves the current IAM policy data for function ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionIamPolicyArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var policy = Cloudfunctionsv2Functions.getFunctionIamPolicy(GetFunctionIamPolicyArgs.builder() .project(google_cloudfunctions2_function.function().project()) .location(google_cloudfunctions2_function.function().location()) .cloudFunction(google_cloudfunctions2_function.function().name()) .build()); } } ```static java.util.concurrent.CompletableFuture<GetFunctionResult>
getFunctionPlain(GetFunctionPlainArgs args)
Get information about a Google Cloud Function (2nd gen).static java.util.concurrent.CompletableFuture<GetFunctionResult>
getFunctionPlain(GetFunctionPlainArgs args, com.pulumi.deployment.InvokeOptions options)
Get information about a Google Cloud Function (2nd gen).
-
-
-
Method Detail
-
getFunction
public static com.pulumi.core.Output<GetFunctionResult> getFunction(GetFunctionArgs args)
Get information about a Google Cloud Function (2nd gen). For more information see: * [API documentation](https://cloud.google.com/functions/docs/reference/rest/v2beta/projects.locations.functions). ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var my-function = Cloudfunctionsv2Functions.getFunction(GetFunctionArgs.builder() .location("us-central1") .name("function") .build()); } } ```
-
getFunctionPlain
public static java.util.concurrent.CompletableFuture<GetFunctionResult> getFunctionPlain(GetFunctionPlainArgs args)
Get information about a Google Cloud Function (2nd gen). For more information see: * [API documentation](https://cloud.google.com/functions/docs/reference/rest/v2beta/projects.locations.functions). ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var my-function = Cloudfunctionsv2Functions.getFunction(GetFunctionArgs.builder() .location("us-central1") .name("function") .build()); } } ```
-
getFunction
public static com.pulumi.core.Output<GetFunctionResult> getFunction(GetFunctionArgs args, com.pulumi.deployment.InvokeOptions options)
Get information about a Google Cloud Function (2nd gen). For more information see: * [API documentation](https://cloud.google.com/functions/docs/reference/rest/v2beta/projects.locations.functions). ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var my-function = Cloudfunctionsv2Functions.getFunction(GetFunctionArgs.builder() .location("us-central1") .name("function") .build()); } } ```
-
getFunctionPlain
public static java.util.concurrent.CompletableFuture<GetFunctionResult> getFunctionPlain(GetFunctionPlainArgs args, com.pulumi.deployment.InvokeOptions options)
Get information about a Google Cloud Function (2nd gen). For more information see: * [API documentation](https://cloud.google.com/functions/docs/reference/rest/v2beta/projects.locations.functions). ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var my-function = Cloudfunctionsv2Functions.getFunction(GetFunctionArgs.builder() .location("us-central1") .name("function") .build()); } } ```
-
getFunctionIamPolicy
public static com.pulumi.core.Output<GetFunctionIamPolicyResult> getFunctionIamPolicy(GetFunctionIamPolicyArgs args)
Retrieves the current IAM policy data for function ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionIamPolicyArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var policy = Cloudfunctionsv2Functions.getFunctionIamPolicy(GetFunctionIamPolicyArgs.builder() .project(google_cloudfunctions2_function.function().project()) .location(google_cloudfunctions2_function.function().location()) .cloudFunction(google_cloudfunctions2_function.function().name()) .build()); } } ```
-
getFunctionIamPolicyPlain
public static java.util.concurrent.CompletableFuture<GetFunctionIamPolicyResult> getFunctionIamPolicyPlain(GetFunctionIamPolicyPlainArgs args)
Retrieves the current IAM policy data for function ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionIamPolicyArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var policy = Cloudfunctionsv2Functions.getFunctionIamPolicy(GetFunctionIamPolicyArgs.builder() .project(google_cloudfunctions2_function.function().project()) .location(google_cloudfunctions2_function.function().location()) .cloudFunction(google_cloudfunctions2_function.function().name()) .build()); } } ```
-
getFunctionIamPolicy
public static com.pulumi.core.Output<GetFunctionIamPolicyResult> getFunctionIamPolicy(GetFunctionIamPolicyArgs args, com.pulumi.deployment.InvokeOptions options)
Retrieves the current IAM policy data for function ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionIamPolicyArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var policy = Cloudfunctionsv2Functions.getFunctionIamPolicy(GetFunctionIamPolicyArgs.builder() .project(google_cloudfunctions2_function.function().project()) .location(google_cloudfunctions2_function.function().location()) .cloudFunction(google_cloudfunctions2_function.function().name()) .build()); } } ```
-
getFunctionIamPolicyPlain
public static java.util.concurrent.CompletableFuture<GetFunctionIamPolicyResult> getFunctionIamPolicyPlain(GetFunctionIamPolicyPlainArgs args, com.pulumi.deployment.InvokeOptions options)
Retrieves the current IAM policy data for function ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudfunctionsv2.Cloudfunctionsv2Functions; import com.pulumi.gcp.cloudfunctionsv2.inputs.GetFunctionIamPolicyArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { final var policy = Cloudfunctionsv2Functions.getFunctionIamPolicy(GetFunctionIamPolicyArgs.builder() .project(google_cloudfunctions2_function.function().project()) .location(google_cloudfunctions2_function.function().location()) .cloudFunction(google_cloudfunctions2_function.function().name()) .build()); } } ```
-
-