func NewIdentityProviderGoogle(ctx *pulumi.Context,
	name string, args *IdentityProviderGoogleArgs, opts ...pulumi.ResourceOption) (*IdentityProviderGoogle, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}

	if args.ApiManagementName == nil {
		return nil, errors.New("invalid value for required argument 'ApiManagementName'")
	}
	if args.ClientId == nil {
		return nil, errors.New("invalid value for required argument 'ClientId'")
	}
	if args.ClientSecret == nil {
		return nil, errors.New("invalid value for required argument 'ClientSecret'")
	}
	if args.ResourceGroupName == nil {
		return nil, errors.New("invalid value for required argument 'ResourceGroupName'")
	}
	var resource IdentityProviderGoogle
	err := ctx.RegisterResource("azure:apimanagement/identityProviderGoogle:IdentityProviderGoogle", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewIdentityProviderGoogle registers a new resource with the given unique name, arguments, and options.
NewIdentityProviderGoogle registers a new resource with the given unique name, arguments, and options.
// NewIdentityProviderGoogle registers a new resource with the given unique name arguments and options .
func NewIdentityProviderGoogle(ctx *pulumi.Context,
	name string, args *IdentityProviderGoogleArgs, opts ...pulumi.ResourceOption) (*IdentityProviderGoogle, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.ApiManagementName == nil {
		return nil, errors.New("invalid value for required argument 'ApiManagementName'")
	}
	if args.ClientId == nil {
		return nil, errors.New("invalid value for required argument 'ClientId'")
	}
	if args.ClientSecret == nil {
		return nil, errors.New("invalid value for required argument 'ClientSecret'")
	}
	if args.ResourceGroupName == nil {
		return nil, errors.New("invalid value for required argument 'ResourceGroupName'")
	}
	var resource IdentityProviderGoogle
	err := ctx.RegisterResource("azure:apimanagement/identityProviderGoogle:IdentityProviderGoogle", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewIdentityProviderGoogle ( ctx * pulumi . Context , name string , args * IdentityProviderGoogleArgs , opts ... pulumi . ResourceOption ) ( * IdentityProviderGoogle , error ) { if args == nil { return nil , errors . New ( " " ) } if args . ApiManagementName == nil { return nil , errors . New ( " " ) } if args . ClientId == nil { return nil , errors . New ( " " ) } if args . ClientSecret == nil { return nil , errors . New ( " " ) } if args . ResourceGroupName == nil { return nil , errors . New ( " " ) } var resource IdentityProviderGoogle err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewIdentityProviderGoogle registers a new resource with the given unique name, arguments, and options.
NewIdentityProviderGoogle registers a new resource with the given unique name arguments and options .