1. Packages
  2. Ibm Provider
  3. API Docs
  4. AppidIdpGoogle
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.AppidIdpGoogle

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Update or reset an IBM Cloud AppID Management Services Google IDP configuration. For more information, see App ID social identity providers

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const gg = new ibm.AppidIdpGoogle("gg", {
        tenantId: _var.tenant_id,
        isActive: true,
        config: {
            applicationId: "test_id",
            applicationSecret: "test_secret",
        },
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    gg = ibm.AppidIdpGoogle("gg",
        tenant_id=var["tenant_id"],
        is_active=True,
        config={
            "application_id": "test_id",
            "application_secret": "test_secret",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewAppidIdpGoogle(ctx, "gg", &ibm.AppidIdpGoogleArgs{
    			TenantId: pulumi.Any(_var.Tenant_id),
    			IsActive: pulumi.Bool(true),
    			Config: &ibm.AppidIdpGoogleConfigArgs{
    				ApplicationId:     pulumi.String("test_id"),
    				ApplicationSecret: pulumi.String("test_secret"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var gg = new Ibm.AppidIdpGoogle("gg", new()
        {
            TenantId = @var.Tenant_id,
            IsActive = true,
            Config = new Ibm.Inputs.AppidIdpGoogleConfigArgs
            {
                ApplicationId = "test_id",
                ApplicationSecret = "test_secret",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.AppidIdpGoogle;
    import com.pulumi.ibm.AppidIdpGoogleArgs;
    import com.pulumi.ibm.inputs.AppidIdpGoogleConfigArgs;
    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 gg = new AppidIdpGoogle("gg", AppidIdpGoogleArgs.builder()
                .tenantId(var_.tenant_id())
                .isActive(true)
                .config(AppidIdpGoogleConfigArgs.builder()
                    .applicationId("test_id")
                    .applicationSecret("test_secret")
                    .build())
                .build());
    
        }
    }
    
    resources:
      gg:
        type: ibm:AppidIdpGoogle
        properties:
          tenantId: ${var.tenant_id}
          isActive: true
          config:
            applicationId: test_id
            applicationSecret: test_secret
    

    Create AppidIdpGoogle Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AppidIdpGoogle(name: string, args: AppidIdpGoogleArgs, opts?: CustomResourceOptions);
    @overload
    def AppidIdpGoogle(resource_name: str,
                       args: AppidIdpGoogleArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppidIdpGoogle(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       is_active: Optional[bool] = None,
                       tenant_id: Optional[str] = None,
                       appid_idp_google_id: Optional[str] = None,
                       config: Optional[AppidIdpGoogleConfigArgs] = None)
    func NewAppidIdpGoogle(ctx *Context, name string, args AppidIdpGoogleArgs, opts ...ResourceOption) (*AppidIdpGoogle, error)
    public AppidIdpGoogle(string name, AppidIdpGoogleArgs args, CustomResourceOptions? opts = null)
    public AppidIdpGoogle(String name, AppidIdpGoogleArgs args)
    public AppidIdpGoogle(String name, AppidIdpGoogleArgs args, CustomResourceOptions options)
    
    type: ibm:AppidIdpGoogle
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AppidIdpGoogleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AppidIdpGoogleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AppidIdpGoogleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppidIdpGoogleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppidIdpGoogleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var appidIdpGoogleResource = new Ibm.AppidIdpGoogle("appidIdpGoogleResource", new()
    {
        IsActive = false,
        TenantId = "string",
        AppidIdpGoogleId = "string",
        Config = new Ibm.Inputs.AppidIdpGoogleConfigArgs
        {
            ApplicationId = "string",
            ApplicationSecret = "string",
        },
    });
    
    example, err := ibm.NewAppidIdpGoogle(ctx, "appidIdpGoogleResource", &ibm.AppidIdpGoogleArgs{
    	IsActive:         pulumi.Bool(false),
    	TenantId:         pulumi.String("string"),
    	AppidIdpGoogleId: pulumi.String("string"),
    	Config: &ibm.AppidIdpGoogleConfigArgs{
    		ApplicationId:     pulumi.String("string"),
    		ApplicationSecret: pulumi.String("string"),
    	},
    })
    
    var appidIdpGoogleResource = new AppidIdpGoogle("appidIdpGoogleResource", AppidIdpGoogleArgs.builder()
        .isActive(false)
        .tenantId("string")
        .appidIdpGoogleId("string")
        .config(AppidIdpGoogleConfigArgs.builder()
            .applicationId("string")
            .applicationSecret("string")
            .build())
        .build());
    
    appid_idp_google_resource = ibm.AppidIdpGoogle("appidIdpGoogleResource",
        is_active=False,
        tenant_id="string",
        appid_idp_google_id="string",
        config={
            "application_id": "string",
            "application_secret": "string",
        })
    
    const appidIdpGoogleResource = new ibm.AppidIdpGoogle("appidIdpGoogleResource", {
        isActive: false,
        tenantId: "string",
        appidIdpGoogleId: "string",
        config: {
            applicationId: "string",
            applicationSecret: "string",
        },
    });
    
    type: ibm:AppidIdpGoogle
    properties:
        appidIdpGoogleId: string
        config:
            applicationId: string
            applicationSecret: string
        isActive: false
        tenantId: string
    

    AppidIdpGoogle Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AppidIdpGoogle resource accepts the following input properties:

    IsActive bool
    Google IDP activation
    TenantId string
    The AppID instance GUID
    AppidIdpGoogleId string
    Config AppidIdpGoogleConfig

    Google IDP configuration

    Nested scheme for config:

    IsActive bool
    Google IDP activation
    TenantId string
    The AppID instance GUID
    AppidIdpGoogleId string
    Config AppidIdpGoogleConfigArgs

    Google IDP configuration

    Nested scheme for config:

    isActive Boolean
    Google IDP activation
    tenantId String
    The AppID instance GUID
    appidIdpGoogleId String
    config AppidIdpGoogleConfig

    Google IDP configuration

    Nested scheme for config:

    isActive boolean
    Google IDP activation
    tenantId string
    The AppID instance GUID
    appidIdpGoogleId string
    config AppidIdpGoogleConfig

    Google IDP configuration

    Nested scheme for config:

    is_active bool
    Google IDP activation
    tenant_id str
    The AppID instance GUID
    appid_idp_google_id str
    config AppidIdpGoogleConfigArgs

    Google IDP configuration

    Nested scheme for config:

    isActive Boolean
    Google IDP activation
    tenantId String
    The AppID instance GUID
    appidIdpGoogleId String
    config Property Map

    Google IDP configuration

    Nested scheme for config:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AppidIdpGoogle resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    RedirectUrl string
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console
    Id string
    The provider-assigned unique ID for this managed resource.
    RedirectUrl string
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console
    id String
    The provider-assigned unique ID for this managed resource.
    redirectUrl String
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console
    id string
    The provider-assigned unique ID for this managed resource.
    redirectUrl string
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console
    id str
    The provider-assigned unique ID for this managed resource.
    redirect_url str
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console
    id String
    The provider-assigned unique ID for this managed resource.
    redirectUrl String
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console

    Look up Existing AppidIdpGoogle Resource

    Get an existing AppidIdpGoogle resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AppidIdpGoogleState, opts?: CustomResourceOptions): AppidIdpGoogle
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            appid_idp_google_id: Optional[str] = None,
            config: Optional[AppidIdpGoogleConfigArgs] = None,
            is_active: Optional[bool] = None,
            redirect_url: Optional[str] = None,
            tenant_id: Optional[str] = None) -> AppidIdpGoogle
    func GetAppidIdpGoogle(ctx *Context, name string, id IDInput, state *AppidIdpGoogleState, opts ...ResourceOption) (*AppidIdpGoogle, error)
    public static AppidIdpGoogle Get(string name, Input<string> id, AppidIdpGoogleState? state, CustomResourceOptions? opts = null)
    public static AppidIdpGoogle get(String name, Output<String> id, AppidIdpGoogleState state, CustomResourceOptions options)
    resources:  _:    type: ibm:AppidIdpGoogle    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AppidIdpGoogleId string
    Config AppidIdpGoogleConfig

    Google IDP configuration

    Nested scheme for config:

    IsActive bool
    Google IDP activation
    RedirectUrl string
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console
    TenantId string
    The AppID instance GUID
    AppidIdpGoogleId string
    Config AppidIdpGoogleConfigArgs

    Google IDP configuration

    Nested scheme for config:

    IsActive bool
    Google IDP activation
    RedirectUrl string
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console
    TenantId string
    The AppID instance GUID
    appidIdpGoogleId String
    config AppidIdpGoogleConfig

    Google IDP configuration

    Nested scheme for config:

    isActive Boolean
    Google IDP activation
    redirectUrl String
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console
    tenantId String
    The AppID instance GUID
    appidIdpGoogleId string
    config AppidIdpGoogleConfig

    Google IDP configuration

    Nested scheme for config:

    isActive boolean
    Google IDP activation
    redirectUrl string
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console
    tenantId string
    The AppID instance GUID
    appid_idp_google_id str
    config AppidIdpGoogleConfigArgs

    Google IDP configuration

    Nested scheme for config:

    is_active bool
    Google IDP activation
    redirect_url str
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console
    tenant_id str
    The AppID instance GUID
    appidIdpGoogleId String
    config Property Map

    Google IDP configuration

    Nested scheme for config:

    isActive Boolean
    Google IDP activation
    redirectUrl String
    (String) Paste the URI into the Authorized redirect URIs field in the Google Developer Console
    tenantId String
    The AppID instance GUID

    Supporting Types

    AppidIdpGoogleConfig, AppidIdpGoogleConfigArgs

    ApplicationId string
    Google application ID
    ApplicationSecret string
    Google application secret
    ApplicationId string
    Google application ID
    ApplicationSecret string
    Google application secret
    applicationId String
    Google application ID
    applicationSecret String
    Google application secret
    applicationId string
    Google application ID
    applicationSecret string
    Google application secret
    application_id str
    Google application ID
    application_secret str
    Google application secret
    applicationId String
    Google application ID
    applicationSecret String
    Google application secret

    Import

    The ibm_appid_idp_google resource can be imported by using the AppID tenant ID.

    Syntax

    bash

    $ pulumi import ibm:index/appidIdpGoogle:AppidIdpGoogle gg <tenant_id>
    

    Example

    bash

    $ pulumi import ibm:index/appidIdpGoogle:AppidIdpGoogle gg 5fa344a8-d361-4bc2-9051-58ca253f4b2b
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud