BrandArgs

data class BrandArgs(val applicationTitle: Output<String>? = null, val project: Output<String>? = null, val supportEmail: Output<String>? = null) : ConvertibleToJava<BrandArgs>

Example Usage

Iap Brand

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("support@example.com")
.applicationTitle("Cloud IAP protected Application")
.project(projectService.project())
.build());
}
}

Import

Brand can be imported using any of these accepted formats

$ pulumi import gcp:iap/brand:Brand default projects/{{project_id}}/brands/{{brand_id}}
$ pulumi import gcp:iap/brand:Brand default projects/{{project_number}}/brands/{{brand_id}}
$ pulumi import gcp:iap/brand:Brand default {{project_number}}/{{brand_id}}

Constructors

Link copied to clipboard
constructor(applicationTitle: Output<String>? = null, project: Output<String>? = null, supportEmail: Output<String>? = null)

Properties

Link copied to clipboard
val applicationTitle: Output<String>? = null

Application name displayed on OAuth consent screen.

Link copied to clipboard
val project: Output<String>? = null

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val supportEmail: Output<String>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): BrandArgs