Package com.pulumi.gcp.iap
Class Brand
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.gcp.iap.Brand
-
public class Brand extends com.pulumi.resources.CustomResource
## Example Usage ### Iap Brand ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.organizations.Project; import com.pulumi.gcp.organizations.ProjectArgs; import com.pulumi.gcp.projects.Service; import com.pulumi.gcp.projects.ServiceArgs; import com.pulumi.gcp.iap.Brand; import com.pulumi.gcp.iap.BrandArgs; 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) { var project = new Project("project", ProjectArgs.builder() .projectId("my-project") .orgId("123456789") .build()); var projectService = new Service("projectService", ServiceArgs.builder() .project(project.projectId()) .service("iap.googleapis.com") .build()); var projectBrand = new Brand("projectBrand", BrandArgs.builder() .supportEmail("[email protected]") .applicationTitle("Cloud IAP protected Application") .project(projectService.project()) .build()); } } ``` ## Import Brand can be imported using any of these accepted formats ```sh $ pulumi import gcp:iap/brand:Brand default projects/{{project_id}}/brands/{{brand_id}} ``` ```sh $ pulumi import gcp:iap/brand:Brand default projects/{{project_number}}/brands/{{brand_id}} ``` ```sh $ pulumi import gcp:iap/brand:Brand default {{project_number}}/{{brand_id}} ```
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
applicationTitle()
static Brand
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, BrandState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.Boolean>
orgInternalOnly()
com.pulumi.core.Output<java.lang.String>
project()
com.pulumi.core.Output<java.lang.String>
supportEmail()
-
-
-
Constructor Detail
-
Brand
public Brand(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
Brand
public Brand(java.lang.String name, BrandArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
Brand
public Brand(java.lang.String name, BrandArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
applicationTitle
public com.pulumi.core.Output<java.lang.String> applicationTitle()
- Returns:
- Application name displayed on OAuth consent screen. ***
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Output only. Identifier of the brand, in the format `projects/{project_number}/brands/{brand_id}` NOTE: The name can also be expressed as `projects/{project_id}/brands/{brand_id}`, e.g. when importing. NOTE: The brand identification corresponds to the project number as only one brand can be created per project.
-
orgInternalOnly
public com.pulumi.core.Output<java.lang.Boolean> orgInternalOnly()
- Returns:
- Whether the brand is only intended for usage inside the GSuite organization only.
-
project
public com.pulumi.core.Output<java.lang.String> project()
- Returns:
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
-
supportEmail
public com.pulumi.core.Output<java.lang.String> supportEmail()
- Returns:
- Support email displayed on the OAuth consent screen. Can be either a user or group email. When a user email is specified, the caller must be the user with the associated email address. When a group email is specified, the caller can be either a user or a service account which is an owner of the specified group in Cloud Identity.
-
get
public static Brand get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable BrandState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-