1. Registry
  2. Packages
  3. Google Cloud Native
  4. API Docs
  5. bigquery
  6. bigquery/v2
  7. Routine

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi
google-native logo Google Cloud Native

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new routine in the dataset. Auto-naming is currently not supported for this resource.

    Create Routine Resource

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

    Constructor syntax

    new Routine(name: string, args: RoutineArgs, opts?: CustomResourceOptions);
    @overload
    def Routine(resource_name: str,
                args: RoutineArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Routine(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                routine_reference: Optional[RoutineReferenceArgs] = None,
                routine_type: Optional[RoutineRoutineType] = None,
                dataset_id: Optional[str] = None,
                definition_body: Optional[str] = None,
                description: Optional[str] = None,
                determinism_level: Optional[RoutineDeterminismLevel] = None,
                imported_libraries: Optional[Sequence[str]] = None,
                language: Optional[RoutineLanguage] = None,
                project: Optional[str] = None,
                remote_function_options: Optional[RemoteFunctionOptionsArgs] = None,
                return_table_type: Optional[StandardSqlTableTypeArgs] = None,
                return_type: Optional[StandardSqlDataTypeArgs] = None,
                arguments: Optional[Sequence[ArgumentArgs]] = None,
                data_governance_type: Optional[RoutineDataGovernanceType] = None,
                security_mode: Optional[RoutineSecurityMode] = None,
                spark_options: Optional[SparkOptionsArgs] = None,
                strict_mode: Optional[bool] = None)
    func NewRoutine(ctx *Context, name string, args RoutineArgs, opts ...ResourceOption) (*Routine, error)
    public Routine(string name, RoutineArgs args, CustomResourceOptions? opts = null)
    public Routine(String name, RoutineArgs args)
    public Routine(String name, RoutineArgs args, CustomResourceOptions options)
    
    type: google-native:bigquery/v2:Routine
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "google-native_bigquery_v2_routine" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args RoutineArgs
    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 RoutineArgs
    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 RoutineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RoutineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RoutineArgs
    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 routineResource = new GoogleNative.BigQuery.V2.Routine("routineResource", new()
    {
        RoutineReference = new GoogleNative.BigQuery.V2.Inputs.RoutineReferenceArgs
        {
            DatasetId = "string",
            Project = "string",
            RoutineId = "string",
        },
        RoutineType = GoogleNative.BigQuery.V2.RoutineRoutineType.RoutineTypeUnspecified,
        DatasetId = "string",
        DefinitionBody = "string",
        Description = "string",
        DeterminismLevel = GoogleNative.BigQuery.V2.RoutineDeterminismLevel.DeterminismLevelUnspecified,
        ImportedLibraries = new[]
        {
            "string",
        },
        Language = GoogleNative.BigQuery.V2.RoutineLanguage.LanguageUnspecified,
        Project = "string",
        RemoteFunctionOptions = new GoogleNative.BigQuery.V2.Inputs.RemoteFunctionOptionsArgs
        {
            Connection = "string",
            Endpoint = "string",
            MaxBatchingRows = "string",
            UserDefinedContext = 
            {
                { "string", "string" },
            },
        },
        ReturnTableType = new GoogleNative.BigQuery.V2.Inputs.StandardSqlTableTypeArgs
        {
            Columns = 
            {
                new GoogleNative.BigQuery.V2.Inputs.StandardSqlFieldArgs
                {
                    Name = "string",
                    Type = new GoogleNative.BigQuery.V2.Inputs.StandardSqlDataTypeArgs
                    {
                        TypeKind = GoogleNative.BigQuery.V2.StandardSqlDataTypeTypeKind.TypeKindUnspecified,
                        ArrayElementType = standardSqlDataType,
                        RangeElementType = standardSqlDataType,
                        StructType = new GoogleNative.BigQuery.V2.Inputs.StandardSqlStructTypeArgs
                        {
                            Fields = new[]
                            {
                                standardSqlField,
                            },
                        },
                    },
                },
            },
        },
        ReturnType = standardSqlDataType,
        Arguments = 
        {
            new GoogleNative.BigQuery.V2.Inputs.ArgumentArgs
            {
                ArgumentKind = GoogleNative.BigQuery.V2.ArgumentArgumentKind.ArgumentKindUnspecified,
                DataType = standardSqlDataType,
                IsAggregate = false,
                Mode = GoogleNative.BigQuery.V2.ArgumentMode.ModeUnspecified,
                Name = "string",
            },
        },
        DataGovernanceType = GoogleNative.BigQuery.V2.RoutineDataGovernanceType.DataGovernanceTypeUnspecified,
        SecurityMode = GoogleNative.BigQuery.V2.RoutineSecurityMode.SecurityModeUnspecified,
        SparkOptions = new GoogleNative.BigQuery.V2.Inputs.SparkOptionsArgs
        {
            ArchiveUris = new[]
            {
                "string",
            },
            Connection = "string",
            ContainerImage = "string",
            FileUris = new[]
            {
                "string",
            },
            JarUris = new[]
            {
                "string",
            },
            MainClass = "string",
            MainFileUri = "string",
            Properties = 
            {
                { "string", "string" },
            },
            PyFileUris = new[]
            {
                "string",
            },
            RuntimeVersion = "string",
        },
        StrictMode = false,
    });
    
    example, err := bigquery.NewRoutine(ctx, "routineResource", &bigquery.RoutineArgs{
    	RoutineReference: &bigquery.RoutineReferenceArgs{
    		DatasetId: pulumi.String("string"),
    		Project:   pulumi.String("string"),
    		RoutineId: pulumi.String("string"),
    	},
    	RoutineType:      bigquery.RoutineRoutineTypeRoutineTypeUnspecified,
    	DatasetId:        pulumi.String("string"),
    	DefinitionBody:   pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	DeterminismLevel: bigquery.RoutineDeterminismLevelDeterminismLevelUnspecified,
    	ImportedLibraries: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Language: bigquery.RoutineLanguageLanguageUnspecified,
    	Project:  pulumi.String("string"),
    	RemoteFunctionOptions: &bigquery.RemoteFunctionOptionsArgs{
    		Connection:      pulumi.String("string"),
    		Endpoint:        pulumi.String("string"),
    		MaxBatchingRows: pulumi.String("string"),
    		UserDefinedContext: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    	ReturnTableType: &bigquery.StandardSqlTableTypeArgs{
    		Columns: bigquery.StandardSqlFieldArray{
    			&bigquery.StandardSqlFieldArgs{
    				Name: pulumi.String("string"),
    				Type: &bigquery.StandardSqlDataTypeArgs{
    					TypeKind:         bigquery.StandardSqlDataTypeTypeKindTypeKindUnspecified,
    					ArrayElementType: pulumi.Any(standardSqlDataType),
    					RangeElementType: pulumi.Any(standardSqlDataType),
    					StructType: &bigquery.StandardSqlStructTypeArgs{
    						Fields: bigquery.StandardSqlFieldArray{
    							standardSqlField,
    						},
    					},
    				},
    			},
    		},
    	},
    	ReturnType: pulumi.Any(standardSqlDataType),
    	Arguments: bigquery.ArgumentArray{
    		&bigquery.ArgumentArgs{
    			ArgumentKind: bigquery.ArgumentArgumentKindArgumentKindUnspecified,
    			DataType:     pulumi.Any(standardSqlDataType),
    			IsAggregate:  pulumi.Bool(false),
    			Mode:         bigquery.ArgumentModeModeUnspecified,
    			Name:         pulumi.String("string"),
    		},
    	},
    	DataGovernanceType: bigquery.RoutineDataGovernanceTypeDataGovernanceTypeUnspecified,
    	SecurityMode:       bigquery.RoutineSecurityModeSecurityModeUnspecified,
    	SparkOptions: &bigquery.SparkOptionsArgs{
    		ArchiveUris: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Connection:     pulumi.String("string"),
    		ContainerImage: pulumi.String("string"),
    		FileUris: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		JarUris: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		MainClass:   pulumi.String("string"),
    		MainFileUri: pulumi.String("string"),
    		Properties: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		PyFileUris: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		RuntimeVersion: pulumi.String("string"),
    	},
    	StrictMode: pulumi.Bool(false),
    })
    
    resource "google-native_bigquery_v2_routine" "routineResource" {
      lifecycle {
        create_before_destroy = true
      }
      routine_reference = {
        dataset_id = "string"
        project    = "string"
        routine_id = "string"
      }
      routine_type       = "ROUTINE_TYPE_UNSPECIFIED"
      dataset_id         = "string"
      definition_body    = "string"
      description        = "string"
      determinism_level  = "DETERMINISM_LEVEL_UNSPECIFIED"
      imported_libraries = ["string"]
      language           = "LANGUAGE_UNSPECIFIED"
      project            = "string"
      remote_function_options = {
        connection        = "string"
        endpoint          = "string"
        max_batching_rows = "string"
        user_defined_context = {
          "string" = "string"
        }
      }
      return_table_type = {
        columns = [{
          name = "string"
          type = {
            type_kind          = "TYPE_KIND_UNSPECIFIED"
            array_element_type = standardSqlDataType
            range_element_type = standardSqlDataType
            struct_type = {
              fields = [standardSqlField]
            }
          }
        }]
      }
      return_type = standardSqlDataType
      arguments {
        argument_kind = "ARGUMENT_KIND_UNSPECIFIED"
        data_type     = standardSqlDataType
        is_aggregate  = false
        mode          = "MODE_UNSPECIFIED"
        name          = "string"
      }
      data_governance_type = "DATA_GOVERNANCE_TYPE_UNSPECIFIED"
      security_mode        = "SECURITY_MODE_UNSPECIFIED"
      spark_options = {
        archive_uris    = ["string"]
        connection      = "string"
        container_image = "string"
        file_uris       = ["string"]
        jar_uris        = ["string"]
        main_class      = "string"
        main_file_uri   = "string"
        properties = {
          "string" = "string"
        }
        py_file_uris    = ["string"]
        runtime_version = "string"
      }
      strict_mode = false
    }
    
    var routineResource = new Routine("routineResource", RoutineArgs.builder()
        .routineReference(RoutineReferenceArgs.builder()
            .datasetId("string")
            .project("string")
            .routineId("string")
            .build())
        .routineType(com.pulumi.googlenative.bigquery_v2.enums.RoutineRoutineType.RoutineTypeUnspecified)
        .datasetId("string")
        .definitionBody("string")
        .description("string")
        .determinismLevel(com.pulumi.googlenative.bigquery_v2.enums.RoutineDeterminismLevel.DeterminismLevelUnspecified)
        .importedLibraries("string")
        .language(com.pulumi.googlenative.bigquery_v2.enums.RoutineLanguage.LanguageUnspecified)
        .project("string")
        .remoteFunctionOptions(RemoteFunctionOptionsArgs.builder()
            .connection("string")
            .endpoint("string")
            .maxBatchingRows("string")
            .userDefinedContext(Map.of("string", "string"))
            .build())
        .returnTableType(StandardSqlTableTypeArgs.builder()
            .columns(StandardSqlFieldArgs.builder()
                .name("string")
                .type(StandardSqlDataTypeArgs.builder()
                    .typeKind(com.pulumi.googlenative.bigquery_v2.enums.StandardSqlDataTypeTypeKind.TypeKindUnspecified)
                    .arrayElementType(standardSqlDataType)
                    .rangeElementType(standardSqlDataType)
                    .structType(StandardSqlStructTypeArgs.builder()
                        .fields(standardSqlField)
                        .build())
                    .build())
                .build())
            .build())
        .returnType(standardSqlDataType)
        .arguments(ArgumentArgs.builder()
            .argumentKind(com.pulumi.googlenative.bigquery_v2.enums.ArgumentArgumentKind.ArgumentKindUnspecified)
            .dataType(standardSqlDataType)
            .isAggregate(false)
            .mode(com.pulumi.googlenative.bigquery_v2.enums.ArgumentMode.ModeUnspecified)
            .name("string")
            .build())
        .dataGovernanceType(com.pulumi.googlenative.bigquery_v2.enums.RoutineDataGovernanceType.DataGovernanceTypeUnspecified)
        .securityMode(com.pulumi.googlenative.bigquery_v2.enums.RoutineSecurityMode.SecurityModeUnspecified)
        .sparkOptions(SparkOptionsArgs.builder()
            .archiveUris("string")
            .connection("string")
            .containerImage("string")
            .fileUris("string")
            .jarUris("string")
            .mainClass("string")
            .mainFileUri("string")
            .properties(Map.of("string", "string"))
            .pyFileUris("string")
            .runtimeVersion("string")
            .build())
        .strictMode(false)
        .build());
    
    routine_resource = google_native.bigquery.v2.Routine("routineResource",
        routine_reference={
            "dataset_id": "string",
            "project": "string",
            "routine_id": "string",
        },
        routine_type=google_native.bigquery.v2.RoutineRoutineType.ROUTINE_TYPE_UNSPECIFIED,
        dataset_id="string",
        definition_body="string",
        description="string",
        determinism_level=google_native.bigquery.v2.RoutineDeterminismLevel.DETERMINISM_LEVEL_UNSPECIFIED,
        imported_libraries=["string"],
        language=google_native.bigquery.v2.RoutineLanguage.LANGUAGE_UNSPECIFIED,
        project="string",
        remote_function_options={
            "connection": "string",
            "endpoint": "string",
            "max_batching_rows": "string",
            "user_defined_context": {
                "string": "string",
            },
        },
        return_table_type={
            "columns": [{
                "name": "string",
                "type": {
                    "type_kind": google_native.bigquery.v2.StandardSqlDataTypeTypeKind.TYPE_KIND_UNSPECIFIED,
                    "array_element_type": standard_sql_data_type,
                    "range_element_type": standard_sql_data_type,
                    "struct_type": {
                        "fields": [standard_sql_field],
                    },
                },
            }],
        },
        return_type=standard_sql_data_type,
        arguments=[{
            "argument_kind": google_native.bigquery.v2.ArgumentArgumentKind.ARGUMENT_KIND_UNSPECIFIED,
            "data_type": standard_sql_data_type,
            "is_aggregate": False,
            "mode": google_native.bigquery.v2.ArgumentMode.MODE_UNSPECIFIED,
            "name": "string",
        }],
        data_governance_type=google_native.bigquery.v2.RoutineDataGovernanceType.DATA_GOVERNANCE_TYPE_UNSPECIFIED,
        security_mode=google_native.bigquery.v2.RoutineSecurityMode.SECURITY_MODE_UNSPECIFIED,
        spark_options={
            "archive_uris": ["string"],
            "connection": "string",
            "container_image": "string",
            "file_uris": ["string"],
            "jar_uris": ["string"],
            "main_class": "string",
            "main_file_uri": "string",
            "properties": {
                "string": "string",
            },
            "py_file_uris": ["string"],
            "runtime_version": "string",
        },
        strict_mode=False)
    
    const routineResource = new google_native.bigquery.v2.Routine("routineResource", {
        routineReference: {
            datasetId: "string",
            project: "string",
            routineId: "string",
        },
        routineType: google_native.bigquery.v2.RoutineRoutineType.RoutineTypeUnspecified,
        datasetId: "string",
        definitionBody: "string",
        description: "string",
        determinismLevel: google_native.bigquery.v2.RoutineDeterminismLevel.DeterminismLevelUnspecified,
        importedLibraries: ["string"],
        language: google_native.bigquery.v2.RoutineLanguage.LanguageUnspecified,
        project: "string",
        remoteFunctionOptions: {
            connection: "string",
            endpoint: "string",
            maxBatchingRows: "string",
            userDefinedContext: {
                string: "string",
            },
        },
        returnTableType: {
            columns: [{
                name: "string",
                type: {
                    typeKind: google_native.bigquery.v2.StandardSqlDataTypeTypeKind.TypeKindUnspecified,
                    arrayElementType: standardSqlDataType,
                    rangeElementType: standardSqlDataType,
                    structType: {
                        fields: [standardSqlField],
                    },
                },
            }],
        },
        returnType: standardSqlDataType,
        arguments: [{
            argumentKind: google_native.bigquery.v2.ArgumentArgumentKind.ArgumentKindUnspecified,
            dataType: standardSqlDataType,
            isAggregate: false,
            mode: google_native.bigquery.v2.ArgumentMode.ModeUnspecified,
            name: "string",
        }],
        dataGovernanceType: google_native.bigquery.v2.RoutineDataGovernanceType.DataGovernanceTypeUnspecified,
        securityMode: google_native.bigquery.v2.RoutineSecurityMode.SecurityModeUnspecified,
        sparkOptions: {
            archiveUris: ["string"],
            connection: "string",
            containerImage: "string",
            fileUris: ["string"],
            jarUris: ["string"],
            mainClass: "string",
            mainFileUri: "string",
            properties: {
                string: "string",
            },
            pyFileUris: ["string"],
            runtimeVersion: "string",
        },
        strictMode: false,
    });
    
    type: google-native:bigquery/v2:Routine
    properties:
        arguments:
            - argumentKind: ARGUMENT_KIND_UNSPECIFIED
              dataType: ${standardSqlDataType}
              isAggregate: false
              mode: MODE_UNSPECIFIED
              name: string
        dataGovernanceType: DATA_GOVERNANCE_TYPE_UNSPECIFIED
        datasetId: string
        definitionBody: string
        description: string
        determinismLevel: DETERMINISM_LEVEL_UNSPECIFIED
        importedLibraries:
            - string
        language: LANGUAGE_UNSPECIFIED
        project: string
        remoteFunctionOptions:
            connection: string
            endpoint: string
            maxBatchingRows: string
            userDefinedContext:
                string: string
        returnTableType:
            columns:
                - name: string
                  type:
                    arrayElementType: ${standardSqlDataType}
                    rangeElementType: ${standardSqlDataType}
                    structType:
                        fields:
                            - ${standardSqlField}
                    typeKind: TYPE_KIND_UNSPECIFIED
        returnType: ${standardSqlDataType}
        routineReference:
            datasetId: string
            project: string
            routineId: string
        routineType: ROUTINE_TYPE_UNSPECIFIED
        securityMode: SECURITY_MODE_UNSPECIFIED
        sparkOptions:
            archiveUris:
                - string
            connection: string
            containerImage: string
            fileUris:
                - string
            jarUris:
                - string
            mainClass: string
            mainFileUri: string
            properties:
                string: string
            pyFileUris:
                - string
            runtimeVersion: string
        strictMode: false
    

    Routine 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 Routine resource accepts the following input properties:

    DatasetId string
    DefinitionBody string
    The body of the routine. For functions, this is the expression in the AS clause. If language=SQL, it is the substring inside (but excluding) the parentheses. For example, for the function created with the following statement: CREATE FUNCTION JoinLines(x string, y string) as (concat(x, "\n", y)) The definition_body is concat(x, "\n", y) (\n is not replaced with linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS clause. For example, for the function created with the following statement: CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n' The definition_body is return "\n";\n Note that both \n are replaced with linebreaks.
    RoutineReference Pulumi.GoogleNative.BigQuery.V2.Inputs.RoutineReference
    Reference describing the ID of this routine.
    RoutineType Pulumi.GoogleNative.BigQuery.V2.RoutineRoutineType
    The type of routine.
    Arguments List<Pulumi.GoogleNative.BigQuery.V2.Inputs.Argument>
    Optional.
    DataGovernanceType Pulumi.GoogleNative.BigQuery.V2.RoutineDataGovernanceType
    Optional. If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see Create custom masking routines.
    Description string
    Optional. The description of the routine, if defined.
    DeterminismLevel Pulumi.GoogleNative.BigQuery.V2.RoutineDeterminismLevel
    Optional. The determinism level of the JavaScript UDF, if defined.
    ImportedLibraries List<string>
    Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
    Language Pulumi.GoogleNative.BigQuery.V2.RoutineLanguage
    Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
    Project string
    RemoteFunctionOptions Pulumi.GoogleNative.BigQuery.V2.Inputs.RemoteFunctionOptions
    Optional. Remote function specific options.
    ReturnTableType Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlTableType
    Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
    ReturnType Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlDataType
    Optional if language = "SQL"; required otherwise. Cannot be set if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return type is inferred from definition_body at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. For example, for the functions created with the following statements: * CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y); * CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1)); * CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1)); The return_type is {type_kind: "FLOAT64"} for Add and Decrement, and is absent for Increment (inferred as FLOAT64 at query time). Suppose the function Add is replaced by CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y); Then the inferred return type of Increment is automatically changed to INT64 at query time, while the return type of Decrement remains FLOAT64.
    SecurityMode Pulumi.GoogleNative.BigQuery.V2.RoutineSecurityMode
    Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.
    SparkOptions Pulumi.GoogleNative.BigQuery.V2.Inputs.SparkOptions
    Optional. Spark specific options.
    StrictMode bool
    Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
    DatasetId string
    DefinitionBody string
    The body of the routine. For functions, this is the expression in the AS clause. If language=SQL, it is the substring inside (but excluding) the parentheses. For example, for the function created with the following statement: CREATE FUNCTION JoinLines(x string, y string) as (concat(x, "\n", y)) The definition_body is concat(x, "\n", y) (\n is not replaced with linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS clause. For example, for the function created with the following statement: CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n' The definition_body is return "\n";\n Note that both \n are replaced with linebreaks.
    RoutineReference RoutineReferenceArgs
    Reference describing the ID of this routine.
    RoutineType RoutineRoutineType
    The type of routine.
    Arguments []ArgumentArgs
    Optional.
    DataGovernanceType RoutineDataGovernanceType
    Optional. If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see Create custom masking routines.
    Description string
    Optional. The description of the routine, if defined.
    DeterminismLevel RoutineDeterminismLevel
    Optional. The determinism level of the JavaScript UDF, if defined.
    ImportedLibraries []string
    Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
    Language RoutineLanguage
    Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
    Project string
    RemoteFunctionOptions RemoteFunctionOptionsArgs
    Optional. Remote function specific options.
    ReturnTableType StandardSqlTableTypeArgs
    Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
    ReturnType StandardSqlDataTypeArgs
    Optional if language = "SQL"; required otherwise. Cannot be set if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return type is inferred from definition_body at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. For example, for the functions created with the following statements: * CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y); * CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1)); * CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1)); The return_type is {type_kind: "FLOAT64"} for Add and Decrement, and is absent for Increment (inferred as FLOAT64 at query time). Suppose the function Add is replaced by CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y); Then the inferred return type of Increment is automatically changed to INT64 at query time, while the return type of Decrement remains FLOAT64.
    SecurityMode RoutineSecurityMode
    Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.
    SparkOptions SparkOptionsArgs
    Optional. Spark specific options.
    StrictMode bool
    Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
    dataset_id string
    definition_body string
    The body of the routine. For functions, this is the expression in the AS clause. If language=SQL, it is the substring inside (but excluding) the parentheses. For example, for the function created with the following statement: CREATE FUNCTION JoinLines(x string, y string) as (concat(x, "\n", y)) The definition_body is concat(x, "\n", y) (\n is not replaced with linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS clause. For example, for the function created with the following statement: CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n' The definition_body is return "\n";\n Note that both \n are replaced with linebreaks.
    routine_reference object
    Reference describing the ID of this routine.
    routine_type "ROUTINE_TYPE_UNSPECIFIED" | "SCALAR_FUNCTION" | "PROCEDURE" | "TABLE_VALUED_FUNCTION" | "AGGREGATE_FUNCTION"
    The type of routine.
    arguments list(object)
    Optional.
    data_governance_type "DATA_GOVERNANCE_TYPE_UNSPECIFIED" | "DATA_MASKING"
    Optional. If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see Create custom masking routines.
    description string
    Optional. The description of the routine, if defined.
    determinism_level "DETERMINISM_LEVEL_UNSPECIFIED" | "DETERMINISTIC" | "NOT_DETERMINISTIC"
    Optional. The determinism level of the JavaScript UDF, if defined.
    imported_libraries list(string)
    Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
    language "LANGUAGE_UNSPECIFIED" | "SQL" | "JAVASCRIPT" | "PYTHON" | "JAVA" | "SCALA"
    Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
    project string
    remote_function_options object
    Optional. Remote function specific options.
    return_table_type object
    Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
    return_type object
    Optional if language = "SQL"; required otherwise. Cannot be set if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return type is inferred from definition_body at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. For example, for the functions created with the following statements: * CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y); * CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1)); * CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1)); The return_type is {type_kind: "FLOAT64"} for Add and Decrement, and is absent for Increment (inferred as FLOAT64 at query time). Suppose the function Add is replaced by CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y); Then the inferred return type of Increment is automatically changed to INT64 at query time, while the return type of Decrement remains FLOAT64.
    security_mode "SECURITY_MODE_UNSPECIFIED" | "DEFINER" | "INVOKER"
    Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.
    spark_options object
    Optional. Spark specific options.
    strict_mode bool
    Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
    datasetId String
    definitionBody String
    The body of the routine. For functions, this is the expression in the AS clause. If language=SQL, it is the substring inside (but excluding) the parentheses. For example, for the function created with the following statement: CREATE FUNCTION JoinLines(x string, y string) as (concat(x, "\n", y)) The definition_body is concat(x, "\n", y) (\n is not replaced with linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS clause. For example, for the function created with the following statement: CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n' The definition_body is return "\n";\n Note that both \n are replaced with linebreaks.
    routineReference RoutineReference
    Reference describing the ID of this routine.
    routineType RoutineRoutineType
    The type of routine.
    arguments List<Argument>
    Optional.
    dataGovernanceType RoutineDataGovernanceType
    Optional. If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see Create custom masking routines.
    description String
    Optional. The description of the routine, if defined.
    determinismLevel RoutineDeterminismLevel
    Optional. The determinism level of the JavaScript UDF, if defined.
    importedLibraries List<String>
    Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
    language RoutineLanguage
    Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
    project String
    remoteFunctionOptions RemoteFunctionOptions
    Optional. Remote function specific options.
    returnTableType StandardSqlTableType
    Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
    returnType StandardSqlDataType
    Optional if language = "SQL"; required otherwise. Cannot be set if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return type is inferred from definition_body at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. For example, for the functions created with the following statements: * CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y); * CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1)); * CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1)); The return_type is {type_kind: "FLOAT64"} for Add and Decrement, and is absent for Increment (inferred as FLOAT64 at query time). Suppose the function Add is replaced by CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y); Then the inferred return type of Increment is automatically changed to INT64 at query time, while the return type of Decrement remains FLOAT64.
    securityMode RoutineSecurityMode
    Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.
    sparkOptions SparkOptions
    Optional. Spark specific options.
    strictMode Boolean
    Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
    datasetId string
    definitionBody string
    The body of the routine. For functions, this is the expression in the AS clause. If language=SQL, it is the substring inside (but excluding) the parentheses. For example, for the function created with the following statement: CREATE FUNCTION JoinLines(x string, y string) as (concat(x, "\n", y)) The definition_body is concat(x, "\n", y) (\n is not replaced with linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS clause. For example, for the function created with the following statement: CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n' The definition_body is return "\n";\n Note that both \n are replaced with linebreaks.
    routineReference RoutineReference
    Reference describing the ID of this routine.
    routineType RoutineRoutineType
    The type of routine.
    arguments Argument[]
    Optional.
    dataGovernanceType RoutineDataGovernanceType
    Optional. If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see Create custom masking routines.
    description string
    Optional. The description of the routine, if defined.
    determinismLevel RoutineDeterminismLevel
    Optional. The determinism level of the JavaScript UDF, if defined.
    importedLibraries string[]
    Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
    language RoutineLanguage
    Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
    project string
    remoteFunctionOptions RemoteFunctionOptions
    Optional. Remote function specific options.
    returnTableType StandardSqlTableType
    Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
    returnType StandardSqlDataType
    Optional if language = "SQL"; required otherwise. Cannot be set if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return type is inferred from definition_body at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. For example, for the functions created with the following statements: * CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y); * CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1)); * CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1)); The return_type is {type_kind: "FLOAT64"} for Add and Decrement, and is absent for Increment (inferred as FLOAT64 at query time). Suppose the function Add is replaced by CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y); Then the inferred return type of Increment is automatically changed to INT64 at query time, while the return type of Decrement remains FLOAT64.
    securityMode RoutineSecurityMode
    Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.
    sparkOptions SparkOptions
    Optional. Spark specific options.
    strictMode boolean
    Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
    dataset_id str
    definition_body str
    The body of the routine. For functions, this is the expression in the AS clause. If language=SQL, it is the substring inside (but excluding) the parentheses. For example, for the function created with the following statement: CREATE FUNCTION JoinLines(x string, y string) as (concat(x, "\n", y)) The definition_body is concat(x, "\n", y) (\n is not replaced with linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS clause. For example, for the function created with the following statement: CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n' The definition_body is return "\n";\n Note that both \n are replaced with linebreaks.
    routine_reference RoutineReferenceArgs
    Reference describing the ID of this routine.
    routine_type RoutineRoutineType
    The type of routine.
    arguments Sequence[ArgumentArgs]
    Optional.
    data_governance_type RoutineDataGovernanceType
    Optional. If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see Create custom masking routines.
    description str
    Optional. The description of the routine, if defined.
    determinism_level RoutineDeterminismLevel
    Optional. The determinism level of the JavaScript UDF, if defined.
    imported_libraries Sequence[str]
    Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
    language RoutineLanguage
    Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
    project str
    remote_function_options RemoteFunctionOptionsArgs
    Optional. Remote function specific options.
    return_table_type StandardSqlTableTypeArgs
    Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
    return_type StandardSqlDataTypeArgs
    Optional if language = "SQL"; required otherwise. Cannot be set if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return type is inferred from definition_body at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. For example, for the functions created with the following statements: * CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y); * CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1)); * CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1)); The return_type is {type_kind: "FLOAT64"} for Add and Decrement, and is absent for Increment (inferred as FLOAT64 at query time). Suppose the function Add is replaced by CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y); Then the inferred return type of Increment is automatically changed to INT64 at query time, while the return type of Decrement remains FLOAT64.
    security_mode RoutineSecurityMode
    Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.
    spark_options SparkOptionsArgs
    Optional. Spark specific options.
    strict_mode bool
    Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
    datasetId String
    definitionBody String
    The body of the routine. For functions, this is the expression in the AS clause. If language=SQL, it is the substring inside (but excluding) the parentheses. For example, for the function created with the following statement: CREATE FUNCTION JoinLines(x string, y string) as (concat(x, "\n", y)) The definition_body is concat(x, "\n", y) (\n is not replaced with linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS clause. For example, for the function created with the following statement: CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n' The definition_body is return "\n";\n Note that both \n are replaced with linebreaks.
    routineReference Property Map
    Reference describing the ID of this routine.
    routineType "ROUTINE_TYPE_UNSPECIFIED" | "SCALAR_FUNCTION" | "PROCEDURE" | "TABLE_VALUED_FUNCTION" | "AGGREGATE_FUNCTION"
    The type of routine.
    arguments List<Property Map>
    Optional.
    dataGovernanceType "DATA_GOVERNANCE_TYPE_UNSPECIFIED" | "DATA_MASKING"
    Optional. If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see Create custom masking routines.
    description String
    Optional. The description of the routine, if defined.
    determinismLevel "DETERMINISM_LEVEL_UNSPECIFIED" | "DETERMINISTIC" | "NOT_DETERMINISTIC"
    Optional. The determinism level of the JavaScript UDF, if defined.
    importedLibraries List<String>
    Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
    language "LANGUAGE_UNSPECIFIED" | "SQL" | "JAVASCRIPT" | "PYTHON" | "JAVA" | "SCALA"
    Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
    project String
    remoteFunctionOptions Property Map
    Optional. Remote function specific options.
    returnTableType Property Map
    Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
    returnType Property Map
    Optional if language = "SQL"; required otherwise. Cannot be set if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return type is inferred from definition_body at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. For example, for the functions created with the following statements: * CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y); * CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1)); * CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1)); The return_type is {type_kind: "FLOAT64"} for Add and Decrement, and is absent for Increment (inferred as FLOAT64 at query time). Suppose the function Add is replaced by CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y); Then the inferred return type of Increment is automatically changed to INT64 at query time, while the return type of Decrement remains FLOAT64.
    securityMode "SECURITY_MODE_UNSPECIFIED" | "DEFINER" | "INVOKER"
    Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.
    sparkOptions Property Map
    Optional. Spark specific options.
    strictMode Boolean
    Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.

    Outputs

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

    CreationTime string
    The time when this routine was created, in milliseconds since the epoch.
    Etag string
    A hash of this resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedTime string
    The time when this routine was last modified, in milliseconds since the epoch.
    CreationTime string
    The time when this routine was created, in milliseconds since the epoch.
    Etag string
    A hash of this resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedTime string
    The time when this routine was last modified, in milliseconds since the epoch.
    creation_time string
    The time when this routine was created, in milliseconds since the epoch.
    etag string
    A hash of this resource.
    id string
    The provider-assigned unique ID for this managed resource.
    last_modified_time string
    The time when this routine was last modified, in milliseconds since the epoch.
    creationTime String
    The time when this routine was created, in milliseconds since the epoch.
    etag String
    A hash of this resource.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String
    The time when this routine was last modified, in milliseconds since the epoch.
    creationTime string
    The time when this routine was created, in milliseconds since the epoch.
    etag string
    A hash of this resource.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime string
    The time when this routine was last modified, in milliseconds since the epoch.
    creation_time str
    The time when this routine was created, in milliseconds since the epoch.
    etag str
    A hash of this resource.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_time str
    The time when this routine was last modified, in milliseconds since the epoch.
    creationTime String
    The time when this routine was created, in milliseconds since the epoch.
    etag String
    A hash of this resource.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String
    The time when this routine was last modified, in milliseconds since the epoch.

    Look up Existing Routine Resource

    Get an existing Routine 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>, opts?: CustomResourceOptions): Routine
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Routine
    func GetRoutine(ctx *Context, name string, id IDInput, state *RoutineState, opts ...ResourceOption) (*Routine, error)
    public static Routine Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Routine get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingRoutine:    type: google-native:bigquery/v2:Routine    get:      id: ${id}
    import {
      to = google-native_bigquery_v2_routine.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state RoutineState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    Argument, ArgumentArgs

    Input/output argument of a function or a stored procedure.

    ArgumentKind Pulumi.GoogleNative.BigQuery.V2.ArgumentArgumentKind
    Optional. Defaults to FIXED_TYPE.
    DataType Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlDataType
    Required unless argument_kind = ANY_TYPE.
    IsAggregate bool
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    Mode Pulumi.GoogleNative.BigQuery.V2.ArgumentMode
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    Name string
    Optional. The name of this argument. Can be absent for function return argument.
    ArgumentKind ArgumentArgumentKind
    Optional. Defaults to FIXED_TYPE.
    DataType StandardSqlDataType
    Required unless argument_kind = ANY_TYPE.
    IsAggregate bool
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    Mode ArgumentMode
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    Name string
    Optional. The name of this argument. Can be absent for function return argument.
    argument_kind "ARGUMENT_KIND_UNSPECIFIED" | "FIXED_TYPE" | "ANY_TYPE"
    Optional. Defaults to FIXED_TYPE.
    data_type object
    Required unless argument_kind = ANY_TYPE.
    is_aggregate bool
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    mode "MODE_UNSPECIFIED" | "IN" | "OUT" | "INOUT"
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    name string
    Optional. The name of this argument. Can be absent for function return argument.
    argumentKind ArgumentArgumentKind
    Optional. Defaults to FIXED_TYPE.
    dataType StandardSqlDataType
    Required unless argument_kind = ANY_TYPE.
    isAggregate Boolean
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    mode ArgumentMode
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    name String
    Optional. The name of this argument. Can be absent for function return argument.
    argumentKind ArgumentArgumentKind
    Optional. Defaults to FIXED_TYPE.
    dataType StandardSqlDataType
    Required unless argument_kind = ANY_TYPE.
    isAggregate boolean
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    mode ArgumentMode
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    name string
    Optional. The name of this argument. Can be absent for function return argument.
    argument_kind ArgumentArgumentKind
    Optional. Defaults to FIXED_TYPE.
    data_type StandardSqlDataType
    Required unless argument_kind = ANY_TYPE.
    is_aggregate bool
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    mode ArgumentMode
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    name str
    Optional. The name of this argument. Can be absent for function return argument.
    argumentKind "ARGUMENT_KIND_UNSPECIFIED" | "FIXED_TYPE" | "ANY_TYPE"
    Optional. Defaults to FIXED_TYPE.
    dataType Property Map
    Required unless argument_kind = ANY_TYPE.
    isAggregate Boolean
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    mode "MODE_UNSPECIFIED" | "IN" | "OUT" | "INOUT"
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    name String
    Optional. The name of this argument. Can be absent for function return argument.

    ArgumentArgumentKind

    Optional. Defaults to FIXED_TYPE.

    NameValueDescription
    ArgumentKindUnspecifiedARGUMENT_KIND_UNSPECIFIEDDefault value.
    FixedTypeFIXED_TYPEThe argument is a variable with fully specified type, which can be a struct or an array, but not a table.
    AnyTypeANY_TYPEThe argument is any type, including struct or array, but not a table. To be added: FIXED_TABLE, ANY_TABLE
    NameValueDescription
    ArgumentArgumentKindArgumentKindUnspecifiedARGUMENT_KIND_UNSPECIFIEDDefault value.
    ArgumentArgumentKindFixedTypeFIXED_TYPEThe argument is a variable with fully specified type, which can be a struct or an array, but not a table.
    ArgumentArgumentKindAnyTypeANY_TYPEThe argument is any type, including struct or array, but not a table. To be added: FIXED_TABLE, ANY_TABLE
    ValueDescription
    ARGUMENT_KIND_UNSPECIFIEDDefault value.
    FIXED_TYPEThe argument is a variable with fully specified type, which can be a struct or an array, but not a table.
    ANY_TYPEThe argument is any type, including struct or array, but not a table. To be added: FIXED_TABLE, ANY_TABLE
    NameValueDescription
    ArgumentKindUnspecifiedARGUMENT_KIND_UNSPECIFIEDDefault value.
    FixedTypeFIXED_TYPEThe argument is a variable with fully specified type, which can be a struct or an array, but not a table.
    AnyTypeANY_TYPEThe argument is any type, including struct or array, but not a table. To be added: FIXED_TABLE, ANY_TABLE
    NameValueDescription
    ArgumentKindUnspecifiedARGUMENT_KIND_UNSPECIFIEDDefault value.
    FixedTypeFIXED_TYPEThe argument is a variable with fully specified type, which can be a struct or an array, but not a table.
    AnyTypeANY_TYPEThe argument is any type, including struct or array, but not a table. To be added: FIXED_TABLE, ANY_TABLE
    NameValueDescription
    ARGUMENT_KIND_UNSPECIFIEDARGUMENT_KIND_UNSPECIFIEDDefault value.
    FIXED_TYPEFIXED_TYPEThe argument is a variable with fully specified type, which can be a struct or an array, but not a table.
    ANY_TYPEANY_TYPEThe argument is any type, including struct or array, but not a table. To be added: FIXED_TABLE, ANY_TABLE
    ValueDescription
    ARGUMENT_KIND_UNSPECIFIEDDefault value.
    FIXED_TYPEThe argument is a variable with fully specified type, which can be a struct or an array, but not a table.
    ANY_TYPEThe argument is any type, including struct or array, but not a table. To be added: FIXED_TABLE, ANY_TABLE

    ArgumentMode

    Optional. Specifies whether the argument is input or output. Can be set for procedures only.

    NameValueDescription
    ModeUnspecifiedMODE_UNSPECIFIEDDefault value.
    InINThe argument is input-only.
    OutOUTThe argument is output-only.
    InoutINOUTThe argument is both an input and an output.
    NameValueDescription
    ArgumentModeModeUnspecifiedMODE_UNSPECIFIEDDefault value.
    ArgumentModeInINThe argument is input-only.
    ArgumentModeOutOUTThe argument is output-only.
    ArgumentModeInoutINOUTThe argument is both an input and an output.
    ValueDescription
    MODE_UNSPECIFIEDDefault value.
    INThe argument is input-only.
    OUTThe argument is output-only.
    INOUTThe argument is both an input and an output.
    NameValueDescription
    ModeUnspecifiedMODE_UNSPECIFIEDDefault value.
    InINThe argument is input-only.
    OutOUTThe argument is output-only.
    InoutINOUTThe argument is both an input and an output.
    NameValueDescription
    ModeUnspecifiedMODE_UNSPECIFIEDDefault value.
    InINThe argument is input-only.
    OutOUTThe argument is output-only.
    InoutINOUTThe argument is both an input and an output.
    NameValueDescription
    MODE_UNSPECIFIEDMODE_UNSPECIFIEDDefault value.
    IN_INThe argument is input-only.
    OUTOUTThe argument is output-only.
    INOUTINOUTThe argument is both an input and an output.
    ValueDescription
    MODE_UNSPECIFIEDDefault value.
    INThe argument is input-only.
    OUTThe argument is output-only.
    INOUTThe argument is both an input and an output.

    ArgumentResponse

    Input/output argument of a function or a stored procedure.

    ArgumentKind string
    Optional. Defaults to FIXED_TYPE.
    DataType Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlDataTypeResponse
    Required unless argument_kind = ANY_TYPE.
    IsAggregate bool
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    Mode string
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    Name string
    Optional. The name of this argument. Can be absent for function return argument.
    ArgumentKind string
    Optional. Defaults to FIXED_TYPE.
    DataType StandardSqlDataTypeResponse
    Required unless argument_kind = ANY_TYPE.
    IsAggregate bool
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    Mode string
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    Name string
    Optional. The name of this argument. Can be absent for function return argument.
    argument_kind string
    Optional. Defaults to FIXED_TYPE.
    data_type object
    Required unless argument_kind = ANY_TYPE.
    is_aggregate bool
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    mode string
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    name string
    Optional. The name of this argument. Can be absent for function return argument.
    argumentKind String
    Optional. Defaults to FIXED_TYPE.
    dataType StandardSqlDataTypeResponse
    Required unless argument_kind = ANY_TYPE.
    isAggregate Boolean
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    mode String
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    name String
    Optional. The name of this argument. Can be absent for function return argument.
    argumentKind string
    Optional. Defaults to FIXED_TYPE.
    dataType StandardSqlDataTypeResponse
    Required unless argument_kind = ANY_TYPE.
    isAggregate boolean
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    mode string
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    name string
    Optional. The name of this argument. Can be absent for function return argument.
    argument_kind str
    Optional. Defaults to FIXED_TYPE.
    data_type StandardSqlDataTypeResponse
    Required unless argument_kind = ANY_TYPE.
    is_aggregate bool
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    mode str
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    name str
    Optional. The name of this argument. Can be absent for function return argument.
    argumentKind String
    Optional. Defaults to FIXED_TYPE.
    dataType Property Map
    Required unless argument_kind = ANY_TYPE.
    isAggregate Boolean
    Optional. Whether the argument is an aggregate function parameter. Must be Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
    mode String
    Optional. Specifies whether the argument is input or output. Can be set for procedures only.
    name String
    Optional. The name of this argument. Can be absent for function return argument.

    RemoteFunctionOptions, RemoteFunctionOptionsArgs

    Options for a remote user-defined function.

    Connection string
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    Endpoint string
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    MaxBatchingRows string
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    UserDefinedContext Dictionary<string, string>
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    Connection string
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    Endpoint string
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    MaxBatchingRows string
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    UserDefinedContext map[string]string
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    connection string
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    endpoint string
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    max_batching_rows string
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    user_defined_context map(string)
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    connection String
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    endpoint String
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    maxBatchingRows String
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    userDefinedContext Map<String,String>
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    connection string
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    endpoint string
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    maxBatchingRows string
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    userDefinedContext {[key: string]: string}
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    connection str
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    endpoint str
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    max_batching_rows str
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    user_defined_context Mapping[str, str]
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    connection String
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    endpoint String
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    maxBatchingRows String
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    userDefinedContext Map<String>
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.

    RemoteFunctionOptionsResponse

    Options for a remote user-defined function.

    Connection string
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    Endpoint string
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    MaxBatchingRows string
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    UserDefinedContext Dictionary<string, string>
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    Connection string
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    Endpoint string
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    MaxBatchingRows string
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    UserDefinedContext map[string]string
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    connection string
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    endpoint string
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    max_batching_rows string
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    user_defined_context map(string)
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    connection String
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    endpoint String
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    maxBatchingRows String
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    userDefinedContext Map<String,String>
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    connection string
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    endpoint string
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    maxBatchingRows string
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    userDefinedContext {[key: string]: string}
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    connection str
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    endpoint str
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    max_batching_rows str
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    user_defined_context Mapping[str, str]
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.
    connection String
    Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
    endpoint String
    Endpoint of the user-provided remote service, e.g. https://us-east1-my_gcf_project.cloudfunctions.net/remote_add
    maxBatchingRows String
    Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.
    userDefinedContext Map<String>
    User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB.

    RoutineDataGovernanceType

    Optional. If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see Create custom masking routines.

    NameValueDescription
    DataGovernanceTypeUnspecifiedDATA_GOVERNANCE_TYPE_UNSPECIFIEDThe data governance type is unspecified.
    DataMaskingDATA_MASKINGThe data governance type is data masking.
    NameValueDescription
    RoutineDataGovernanceTypeDataGovernanceTypeUnspecifiedDATA_GOVERNANCE_TYPE_UNSPECIFIEDThe data governance type is unspecified.
    RoutineDataGovernanceTypeDataMaskingDATA_MASKINGThe data governance type is data masking.
    ValueDescription
    DATA_GOVERNANCE_TYPE_UNSPECIFIEDThe data governance type is unspecified.
    DATA_MASKINGThe data governance type is data masking.
    NameValueDescription
    DataGovernanceTypeUnspecifiedDATA_GOVERNANCE_TYPE_UNSPECIFIEDThe data governance type is unspecified.
    DataMaskingDATA_MASKINGThe data governance type is data masking.
    NameValueDescription
    DataGovernanceTypeUnspecifiedDATA_GOVERNANCE_TYPE_UNSPECIFIEDThe data governance type is unspecified.
    DataMaskingDATA_MASKINGThe data governance type is data masking.
    NameValueDescription
    DATA_GOVERNANCE_TYPE_UNSPECIFIEDDATA_GOVERNANCE_TYPE_UNSPECIFIEDThe data governance type is unspecified.
    DATA_MASKINGDATA_MASKINGThe data governance type is data masking.
    ValueDescription
    DATA_GOVERNANCE_TYPE_UNSPECIFIEDThe data governance type is unspecified.
    DATA_MASKINGThe data governance type is data masking.

    RoutineDeterminismLevel

    Optional. The determinism level of the JavaScript UDF, if defined.

    NameValueDescription
    DeterminismLevelUnspecifiedDETERMINISM_LEVEL_UNSPECIFIEDThe determinism of the UDF is unspecified.
    DeterministicDETERMINISTICThe UDF is deterministic, meaning that 2 function calls with the same inputs always produce the same result, even across 2 query runs.
    NotDeterministicNOT_DETERMINISTICThe UDF is not deterministic.
    NameValueDescription
    RoutineDeterminismLevelDeterminismLevelUnspecifiedDETERMINISM_LEVEL_UNSPECIFIEDThe determinism of the UDF is unspecified.
    RoutineDeterminismLevelDeterministicDETERMINISTICThe UDF is deterministic, meaning that 2 function calls with the same inputs always produce the same result, even across 2 query runs.
    RoutineDeterminismLevelNotDeterministicNOT_DETERMINISTICThe UDF is not deterministic.
    ValueDescription
    DETERMINISM_LEVEL_UNSPECIFIEDThe determinism of the UDF is unspecified.
    DETERMINISTICThe UDF is deterministic, meaning that 2 function calls with the same inputs always produce the same result, even across 2 query runs.
    NOT_DETERMINISTICThe UDF is not deterministic.
    NameValueDescription
    DeterminismLevelUnspecifiedDETERMINISM_LEVEL_UNSPECIFIEDThe determinism of the UDF is unspecified.
    DeterministicDETERMINISTICThe UDF is deterministic, meaning that 2 function calls with the same inputs always produce the same result, even across 2 query runs.
    NotDeterministicNOT_DETERMINISTICThe UDF is not deterministic.
    NameValueDescription
    DeterminismLevelUnspecifiedDETERMINISM_LEVEL_UNSPECIFIEDThe determinism of the UDF is unspecified.
    DeterministicDETERMINISTICThe UDF is deterministic, meaning that 2 function calls with the same inputs always produce the same result, even across 2 query runs.
    NotDeterministicNOT_DETERMINISTICThe UDF is not deterministic.
    NameValueDescription
    DETERMINISM_LEVEL_UNSPECIFIEDDETERMINISM_LEVEL_UNSPECIFIEDThe determinism of the UDF is unspecified.
    DETERMINISTICDETERMINISTICThe UDF is deterministic, meaning that 2 function calls with the same inputs always produce the same result, even across 2 query runs.
    NOT_DETERMINISTICNOT_DETERMINISTICThe UDF is not deterministic.
    ValueDescription
    DETERMINISM_LEVEL_UNSPECIFIEDThe determinism of the UDF is unspecified.
    DETERMINISTICThe UDF is deterministic, meaning that 2 function calls with the same inputs always produce the same result, even across 2 query runs.
    NOT_DETERMINISTICThe UDF is not deterministic.

    RoutineLanguage

    Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.

    NameValueDescription
    LanguageUnspecifiedLANGUAGE_UNSPECIFIEDDefault value.
    SqlSQLSQL language.
    JavascriptJAVASCRIPTJavaScript language.
    PythonPYTHONPython language.
    JavaJAVAJava language.
    ScalaSCALAScala language.
    NameValueDescription
    RoutineLanguageLanguageUnspecifiedLANGUAGE_UNSPECIFIEDDefault value.
    RoutineLanguageSqlSQLSQL language.
    RoutineLanguageJavascriptJAVASCRIPTJavaScript language.
    RoutineLanguagePythonPYTHONPython language.
    RoutineLanguageJavaJAVAJava language.
    RoutineLanguageScalaSCALAScala language.
    ValueDescription
    LANGUAGE_UNSPECIFIEDDefault value.
    SQLSQL language.
    JAVASCRIPTJavaScript language.
    PYTHONPython language.
    JAVAJava language.
    SCALAScala language.
    NameValueDescription
    LanguageUnspecifiedLANGUAGE_UNSPECIFIEDDefault value.
    SqlSQLSQL language.
    JavascriptJAVASCRIPTJavaScript language.
    PythonPYTHONPython language.
    JavaJAVAJava language.
    ScalaSCALAScala language.
    NameValueDescription
    LanguageUnspecifiedLANGUAGE_UNSPECIFIEDDefault value.
    SqlSQLSQL language.
    JavascriptJAVASCRIPTJavaScript language.
    PythonPYTHONPython language.
    JavaJAVAJava language.
    ScalaSCALAScala language.
    NameValueDescription
    LANGUAGE_UNSPECIFIEDLANGUAGE_UNSPECIFIEDDefault value.
    SQLSQLSQL language.
    JAVASCRIPTJAVASCRIPTJavaScript language.
    PYTHONPYTHONPython language.
    JAVAJAVAJava language.
    SCALASCALAScala language.
    ValueDescription
    LANGUAGE_UNSPECIFIEDDefault value.
    SQLSQL language.
    JAVASCRIPTJavaScript language.
    PYTHONPython language.
    JAVAJava language.
    SCALAScala language.

    RoutineReference, RoutineReferenceArgs

    DatasetId string
    The ID of the dataset containing this routine.
    Project string
    The ID of the project containing this routine.
    RoutineId string
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    DatasetId string
    The ID of the dataset containing this routine.
    Project string
    The ID of the project containing this routine.
    RoutineId string
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    dataset_id string
    The ID of the dataset containing this routine.
    project string
    The ID of the project containing this routine.
    routine_id string
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    datasetId String
    The ID of the dataset containing this routine.
    project String
    The ID of the project containing this routine.
    routineId String
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    datasetId string
    The ID of the dataset containing this routine.
    project string
    The ID of the project containing this routine.
    routineId string
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    dataset_id str
    The ID of the dataset containing this routine.
    project str
    The ID of the project containing this routine.
    routine_id str
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    datasetId String
    The ID of the dataset containing this routine.
    project String
    The ID of the project containing this routine.
    routineId String
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.

    RoutineReferenceResponse

    DatasetId string
    The ID of the dataset containing this routine.
    Project string
    The ID of the project containing this routine.
    RoutineId string
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    DatasetId string
    The ID of the dataset containing this routine.
    Project string
    The ID of the project containing this routine.
    RoutineId string
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    dataset_id string
    The ID of the dataset containing this routine.
    project string
    The ID of the project containing this routine.
    routine_id string
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    datasetId String
    The ID of the dataset containing this routine.
    project String
    The ID of the project containing this routine.
    routineId String
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    datasetId string
    The ID of the dataset containing this routine.
    project string
    The ID of the project containing this routine.
    routineId string
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    dataset_id str
    The ID of the dataset containing this routine.
    project str
    The ID of the project containing this routine.
    routine_id str
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
    datasetId String
    The ID of the dataset containing this routine.
    project String
    The ID of the project containing this routine.
    routineId String
    The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.

    RoutineRoutineType

    Required. The type of routine.

    NameValueDescription
    RoutineTypeUnspecifiedROUTINE_TYPE_UNSPECIFIEDDefault value.
    ScalarFunctionSCALAR_FUNCTIONNon-built-in persistent scalar function.
    ProcedurePROCEDUREStored procedure.
    TableValuedFunctionTABLE_VALUED_FUNCTIONNon-built-in persistent TVF.
    AggregateFunctionAGGREGATE_FUNCTIONNon-built-in persistent aggregate function.
    NameValueDescription
    RoutineRoutineTypeRoutineTypeUnspecifiedROUTINE_TYPE_UNSPECIFIEDDefault value.
    RoutineRoutineTypeScalarFunctionSCALAR_FUNCTIONNon-built-in persistent scalar function.
    RoutineRoutineTypeProcedurePROCEDUREStored procedure.
    RoutineRoutineTypeTableValuedFunctionTABLE_VALUED_FUNCTIONNon-built-in persistent TVF.
    RoutineRoutineTypeAggregateFunctionAGGREGATE_FUNCTIONNon-built-in persistent aggregate function.
    ValueDescription
    ROUTINE_TYPE_UNSPECIFIEDDefault value.
    SCALAR_FUNCTIONNon-built-in persistent scalar function.
    PROCEDUREStored procedure.
    TABLE_VALUED_FUNCTIONNon-built-in persistent TVF.
    AGGREGATE_FUNCTIONNon-built-in persistent aggregate function.
    NameValueDescription
    RoutineTypeUnspecifiedROUTINE_TYPE_UNSPECIFIEDDefault value.
    ScalarFunctionSCALAR_FUNCTIONNon-built-in persistent scalar function.
    ProcedurePROCEDUREStored procedure.
    TableValuedFunctionTABLE_VALUED_FUNCTIONNon-built-in persistent TVF.
    AggregateFunctionAGGREGATE_FUNCTIONNon-built-in persistent aggregate function.
    NameValueDescription
    RoutineTypeUnspecifiedROUTINE_TYPE_UNSPECIFIEDDefault value.
    ScalarFunctionSCALAR_FUNCTIONNon-built-in persistent scalar function.
    ProcedurePROCEDUREStored procedure.
    TableValuedFunctionTABLE_VALUED_FUNCTIONNon-built-in persistent TVF.
    AggregateFunctionAGGREGATE_FUNCTIONNon-built-in persistent aggregate function.
    NameValueDescription
    ROUTINE_TYPE_UNSPECIFIEDROUTINE_TYPE_UNSPECIFIEDDefault value.
    SCALAR_FUNCTIONSCALAR_FUNCTIONNon-built-in persistent scalar function.
    PROCEDUREPROCEDUREStored procedure.
    TABLE_VALUED_FUNCTIONTABLE_VALUED_FUNCTIONNon-built-in persistent TVF.
    AGGREGATE_FUNCTIONAGGREGATE_FUNCTIONNon-built-in persistent aggregate function.
    ValueDescription
    ROUTINE_TYPE_UNSPECIFIEDDefault value.
    SCALAR_FUNCTIONNon-built-in persistent scalar function.
    PROCEDUREStored procedure.
    TABLE_VALUED_FUNCTIONNon-built-in persistent TVF.
    AGGREGATE_FUNCTIONNon-built-in persistent aggregate function.

    RoutineSecurityMode

    Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.

    NameValueDescription
    SecurityModeUnspecifiedSECURITY_MODE_UNSPECIFIEDThe security mode of the routine is unspecified.
    DefinerDEFINERThe routine is to be executed with the privileges of the user who defines it.
    InvokerINVOKERThe routine is to be executed with the privileges of the user who invokes it.
    NameValueDescription
    RoutineSecurityModeSecurityModeUnspecifiedSECURITY_MODE_UNSPECIFIEDThe security mode of the routine is unspecified.
    RoutineSecurityModeDefinerDEFINERThe routine is to be executed with the privileges of the user who defines it.
    RoutineSecurityModeInvokerINVOKERThe routine is to be executed with the privileges of the user who invokes it.
    ValueDescription
    SECURITY_MODE_UNSPECIFIEDThe security mode of the routine is unspecified.
    DEFINERThe routine is to be executed with the privileges of the user who defines it.
    INVOKERThe routine is to be executed with the privileges of the user who invokes it.
    NameValueDescription
    SecurityModeUnspecifiedSECURITY_MODE_UNSPECIFIEDThe security mode of the routine is unspecified.
    DefinerDEFINERThe routine is to be executed with the privileges of the user who defines it.
    InvokerINVOKERThe routine is to be executed with the privileges of the user who invokes it.
    NameValueDescription
    SecurityModeUnspecifiedSECURITY_MODE_UNSPECIFIEDThe security mode of the routine is unspecified.
    DefinerDEFINERThe routine is to be executed with the privileges of the user who defines it.
    InvokerINVOKERThe routine is to be executed with the privileges of the user who invokes it.
    NameValueDescription
    SECURITY_MODE_UNSPECIFIEDSECURITY_MODE_UNSPECIFIEDThe security mode of the routine is unspecified.
    DEFINERDEFINERThe routine is to be executed with the privileges of the user who defines it.
    INVOKERINVOKERThe routine is to be executed with the privileges of the user who invokes it.
    ValueDescription
    SECURITY_MODE_UNSPECIFIEDThe security mode of the routine is unspecified.
    DEFINERThe routine is to be executed with the privileges of the user who defines it.
    INVOKERThe routine is to be executed with the privileges of the user who invokes it.

    SparkOptions, SparkOptionsArgs

    Options for a user-defined Spark routine.

    ArchiveUris List<string>
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    Connection string
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    ContainerImage string
    Custom container image for the runtime environment.
    FileUris List<string>
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    JarUris List<string>
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    MainClass string
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    MainFileUri string
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    Properties Dictionary<string, string>
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    PyFileUris List<string>
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    RuntimeVersion string
    Runtime version. If not specified, the default runtime version is used.
    ArchiveUris []string
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    Connection string
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    ContainerImage string
    Custom container image for the runtime environment.
    FileUris []string
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    JarUris []string
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    MainClass string
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    MainFileUri string
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    Properties map[string]string
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    PyFileUris []string
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    RuntimeVersion string
    Runtime version. If not specified, the default runtime version is used.
    archive_uris list(string)
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    connection string
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    container_image string
    Custom container image for the runtime environment.
    file_uris list(string)
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    jar_uris list(string)
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    main_class string
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    main_file_uri string
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    properties map(string)
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    py_file_uris list(string)
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    runtime_version string
    Runtime version. If not specified, the default runtime version is used.
    archiveUris List<String>
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    connection String
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    containerImage String
    Custom container image for the runtime environment.
    fileUris List<String>
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    jarUris List<String>
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    mainClass String
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    mainFileUri String
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    properties Map<String,String>
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    pyFileUris List<String>
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    runtimeVersion String
    Runtime version. If not specified, the default runtime version is used.
    archiveUris string[]
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    connection string
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    containerImage string
    Custom container image for the runtime environment.
    fileUris string[]
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    jarUris string[]
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    mainClass string
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    mainFileUri string
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    properties {[key: string]: string}
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    pyFileUris string[]
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    runtimeVersion string
    Runtime version. If not specified, the default runtime version is used.
    archive_uris Sequence[str]
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    connection str
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    container_image str
    Custom container image for the runtime environment.
    file_uris Sequence[str]
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    jar_uris Sequence[str]
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    main_class str
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    main_file_uri str
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    properties Mapping[str, str]
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    py_file_uris Sequence[str]
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    runtime_version str
    Runtime version. If not specified, the default runtime version is used.
    archiveUris List<String>
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    connection String
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    containerImage String
    Custom container image for the runtime environment.
    fileUris List<String>
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    jarUris List<String>
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    mainClass String
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    mainFileUri String
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    properties Map<String>
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    pyFileUris List<String>
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    runtimeVersion String
    Runtime version. If not specified, the default runtime version is used.

    SparkOptionsResponse

    Options for a user-defined Spark routine.

    ArchiveUris List<string>
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    Connection string
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    ContainerImage string
    Custom container image for the runtime environment.
    FileUris List<string>
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    JarUris List<string>
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    MainClass string
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    MainFileUri string
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    Properties Dictionary<string, string>
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    PyFileUris List<string>
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    RuntimeVersion string
    Runtime version. If not specified, the default runtime version is used.
    ArchiveUris []string
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    Connection string
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    ContainerImage string
    Custom container image for the runtime environment.
    FileUris []string
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    JarUris []string
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    MainClass string
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    MainFileUri string
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    Properties map[string]string
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    PyFileUris []string
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    RuntimeVersion string
    Runtime version. If not specified, the default runtime version is used.
    archive_uris list(string)
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    connection string
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    container_image string
    Custom container image for the runtime environment.
    file_uris list(string)
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    jar_uris list(string)
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    main_class string
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    main_file_uri string
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    properties map(string)
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    py_file_uris list(string)
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    runtime_version string
    Runtime version. If not specified, the default runtime version is used.
    archiveUris List<String>
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    connection String
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    containerImage String
    Custom container image for the runtime environment.
    fileUris List<String>
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    jarUris List<String>
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    mainClass String
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    mainFileUri String
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    properties Map<String,String>
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    pyFileUris List<String>
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    runtimeVersion String
    Runtime version. If not specified, the default runtime version is used.
    archiveUris string[]
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    connection string
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    containerImage string
    Custom container image for the runtime environment.
    fileUris string[]
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    jarUris string[]
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    mainClass string
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    mainFileUri string
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    properties {[key: string]: string}
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    pyFileUris string[]
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    runtimeVersion string
    Runtime version. If not specified, the default runtime version is used.
    archive_uris Sequence[str]
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    connection str
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    container_image str
    Custom container image for the runtime environment.
    file_uris Sequence[str]
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    jar_uris Sequence[str]
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    main_class str
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    main_file_uri str
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    properties Mapping[str, str]
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    py_file_uris Sequence[str]
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    runtime_version str
    Runtime version. If not specified, the default runtime version is used.
    archiveUris List<String>
    Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    connection String
    Fully qualified name of the user-provided Spark connection object. Format: "projects/{project_id}/locations/{location_id}/connections/{connection_id}"
    containerImage String
    Custom container image for the runtime environment.
    fileUris List<String>
    Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
    jarUris List<String>
    JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
    mainClass String
    The fully qualified name of a class in jar_uris, for example, com.example.wordcount. Exactly one of main_class and main_jar_uri field should be set for Java/Scala language type.
    mainFileUri String
    The main file/jar URI of the Spark application. Exactly one of the definition_body field and the main_file_uri field must be set for Python. Exactly one of main_class and main_file_uri field should be set for Java/Scala language type.
    properties Map<String>
    Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list.
    pyFileUris List<String>
    Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
    runtimeVersion String
    Runtime version. If not specified, the default runtime version is used.

    StandardSqlDataType, StandardSqlDataTypeArgs

    The data type of a variable such as a function argument. Examples include: * INT64: {"typeKind": "INT64"} * ARRAY: { "typeKind": "ARRAY", "arrayElementType": {"typeKind": "STRING"} } * STRUCT>: { "typeKind": "STRUCT", "structType": { "fields": [ { "name": "x", "type": {"typeKind": "STRING"} }, { "name": "y", "type": { "typeKind": "ARRAY", "arrayElementType": {"typeKind": "DATE"} } } ] } }

    TypeKind Pulumi.GoogleNative.BigQuery.V2.StandardSqlDataTypeTypeKind
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    ArrayElementType Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlDataType
    The type of the array's elements, if type_kind = "ARRAY".
    RangeElementType Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlDataType
    The type of the range's elements, if type_kind = "RANGE".
    StructType Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlStructType
    The fields of this struct, in order, if type_kind = "STRUCT".
    TypeKind StandardSqlDataTypeTypeKind
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    ArrayElementType StandardSqlDataType
    The type of the array's elements, if type_kind = "ARRAY".
    RangeElementType StandardSqlDataType
    The type of the range's elements, if type_kind = "RANGE".
    StructType StandardSqlStructType
    The fields of this struct, in order, if type_kind = "STRUCT".
    type_kind "TYPE_KIND_UNSPECIFIED" | "INT64" | "BOOL" | "FLOAT64" | "STRING" | "BYTES" | "TIMESTAMP" | "DATE" | "TIME" | "DATETIME" | "INTERVAL" | "GEOGRAPHY" | "NUMERIC" | "BIGNUMERIC" | "JSON" | "ARRAY" | "STRUCT" | "RANGE"
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    array_element_type object
    The type of the array's elements, if type_kind = "ARRAY".
    range_element_type object
    The type of the range's elements, if type_kind = "RANGE".
    struct_type object
    The fields of this struct, in order, if type_kind = "STRUCT".
    typeKind StandardSqlDataTypeTypeKind
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    arrayElementType StandardSqlDataType
    The type of the array's elements, if type_kind = "ARRAY".
    rangeElementType StandardSqlDataType
    The type of the range's elements, if type_kind = "RANGE".
    structType StandardSqlStructType
    The fields of this struct, in order, if type_kind = "STRUCT".
    typeKind StandardSqlDataTypeTypeKind
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    arrayElementType StandardSqlDataType
    The type of the array's elements, if type_kind = "ARRAY".
    rangeElementType StandardSqlDataType
    The type of the range's elements, if type_kind = "RANGE".
    structType StandardSqlStructType
    The fields of this struct, in order, if type_kind = "STRUCT".
    type_kind StandardSqlDataTypeTypeKind
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    array_element_type StandardSqlDataType
    The type of the array's elements, if type_kind = "ARRAY".
    range_element_type StandardSqlDataType
    The type of the range's elements, if type_kind = "RANGE".
    struct_type StandardSqlStructType
    The fields of this struct, in order, if type_kind = "STRUCT".
    typeKind "TYPE_KIND_UNSPECIFIED" | "INT64" | "BOOL" | "FLOAT64" | "STRING" | "BYTES" | "TIMESTAMP" | "DATE" | "TIME" | "DATETIME" | "INTERVAL" | "GEOGRAPHY" | "NUMERIC" | "BIGNUMERIC" | "JSON" | "ARRAY" | "STRUCT" | "RANGE"
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    arrayElementType Property Map
    The type of the array's elements, if type_kind = "ARRAY".
    rangeElementType Property Map
    The type of the range's elements, if type_kind = "RANGE".
    structType Property Map
    The fields of this struct, in order, if type_kind = "STRUCT".

    StandardSqlDataTypeResponse

    The data type of a variable such as a function argument. Examples include: * INT64: {"typeKind": "INT64"} * ARRAY: { "typeKind": "ARRAY", "arrayElementType": {"typeKind": "STRING"} } * STRUCT>: { "typeKind": "STRUCT", "structType": { "fields": [ { "name": "x", "type": {"typeKind": "STRING"} }, { "name": "y", "type": { "typeKind": "ARRAY", "arrayElementType": {"typeKind": "DATE"} } } ] } }

    StructType Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlStructTypeResponse
    The fields of this struct, in order, if type_kind = "STRUCT".
    TypeKind string
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    ArrayElementType Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlDataTypeResponse
    The type of the array's elements, if type_kind = "ARRAY".
    RangeElementType Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlDataTypeResponse
    The type of the range's elements, if type_kind = "RANGE".
    StructType StandardSqlStructTypeResponse
    The fields of this struct, in order, if type_kind = "STRUCT".
    TypeKind string
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    ArrayElementType StandardSqlDataTypeResponse
    The type of the array's elements, if type_kind = "ARRAY".
    RangeElementType StandardSqlDataTypeResponse
    The type of the range's elements, if type_kind = "RANGE".
    struct_type object
    The fields of this struct, in order, if type_kind = "STRUCT".
    type_kind string
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    array_element_type object
    The type of the array's elements, if type_kind = "ARRAY".
    range_element_type object
    The type of the range's elements, if type_kind = "RANGE".
    structType StandardSqlStructTypeResponse
    The fields of this struct, in order, if type_kind = "STRUCT".
    typeKind String
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    arrayElementType StandardSqlDataTypeResponse
    The type of the array's elements, if type_kind = "ARRAY".
    rangeElementType StandardSqlDataTypeResponse
    The type of the range's elements, if type_kind = "RANGE".
    structType StandardSqlStructTypeResponse
    The fields of this struct, in order, if type_kind = "STRUCT".
    typeKind string
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    arrayElementType StandardSqlDataTypeResponse
    The type of the array's elements, if type_kind = "ARRAY".
    rangeElementType StandardSqlDataTypeResponse
    The type of the range's elements, if type_kind = "RANGE".
    struct_type StandardSqlStructTypeResponse
    The fields of this struct, in order, if type_kind = "STRUCT".
    type_kind str
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    array_element_type StandardSqlDataTypeResponse
    The type of the array's elements, if type_kind = "ARRAY".
    range_element_type StandardSqlDataTypeResponse
    The type of the range's elements, if type_kind = "RANGE".
    structType Property Map
    The fields of this struct, in order, if type_kind = "STRUCT".
    typeKind String
    The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").
    arrayElementType Property Map
    The type of the array's elements, if type_kind = "ARRAY".
    rangeElementType Property Map
    The type of the range's elements, if type_kind = "RANGE".

    StandardSqlDataTypeTypeKind

    Required. The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY").

    NameValueDescription
    TypeKindUnspecifiedTYPE_KIND_UNSPECIFIEDInvalid type.
    Int64INT64Encoded as a string in decimal format.
    BoolBOOLEncoded as a boolean "false" or "true".
    Float64FLOAT64Encoded as a number, or string "NaN", "Infinity" or "-Infinity".
    StringSTRINGEncoded as a string value.
    BytesBYTESEncoded as a base64 string per RFC 4648, section 4.
    TimestampTIMESTAMPEncoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z
    DateDATEEncoded as RFC 3339 full-date format string: 1985-04-12
    TimeTIMEEncoded as RFC 3339 partial-time format string: 23:20:50.52
    DatetimeDATETIMEEncoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
    IntervalINTERVALEncoded as fully qualified 3 part: 0-5 15 2:30:45.6
    GeographyGEOGRAPHYEncoded as WKT
    NumericNUMERICEncoded as a decimal string.
    BignumericBIGNUMERICEncoded as a decimal string.
    JsonJSONEncoded as a string.
    ArrayARRAYEncoded as a list with types matching Type.array_type.
    StructSTRUCTEncoded as a list with fields of type Type.struct_type[i]. List is used because a JSON object cannot have duplicate field names.
    RangeRANGEEncoded as a pair with types matching range_element_type. Pairs must begin with "[", end with ")", and be separated by ", ".
    NameValueDescription
    StandardSqlDataTypeTypeKindTypeKindUnspecifiedTYPE_KIND_UNSPECIFIEDInvalid type.
    StandardSqlDataTypeTypeKindInt64INT64Encoded as a string in decimal format.
    StandardSqlDataTypeTypeKindBoolBOOLEncoded as a boolean "false" or "true".
    StandardSqlDataTypeTypeKindFloat64FLOAT64Encoded as a number, or string "NaN", "Infinity" or "-Infinity".
    StandardSqlDataTypeTypeKindStringSTRINGEncoded as a string value.
    StandardSqlDataTypeTypeKindBytesBYTESEncoded as a base64 string per RFC 4648, section 4.
    StandardSqlDataTypeTypeKindTimestampTIMESTAMPEncoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z
    StandardSqlDataTypeTypeKindDateDATEEncoded as RFC 3339 full-date format string: 1985-04-12
    StandardSqlDataTypeTypeKindTimeTIMEEncoded as RFC 3339 partial-time format string: 23:20:50.52
    StandardSqlDataTypeTypeKindDatetimeDATETIMEEncoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
    StandardSqlDataTypeTypeKindIntervalINTERVALEncoded as fully qualified 3 part: 0-5 15 2:30:45.6
    StandardSqlDataTypeTypeKindGeographyGEOGRAPHYEncoded as WKT
    StandardSqlDataTypeTypeKindNumericNUMERICEncoded as a decimal string.
    StandardSqlDataTypeTypeKindBignumericBIGNUMERICEncoded as a decimal string.
    StandardSqlDataTypeTypeKindJsonJSONEncoded as a string.
    StandardSqlDataTypeTypeKindArrayARRAYEncoded as a list with types matching Type.array_type.
    StandardSqlDataTypeTypeKindStructSTRUCTEncoded as a list with fields of type Type.struct_type[i]. List is used because a JSON object cannot have duplicate field names.
    StandardSqlDataTypeTypeKindRangeRANGEEncoded as a pair with types matching range_element_type. Pairs must begin with "[", end with ")", and be separated by ", ".
    ValueDescription
    TYPE_KIND_UNSPECIFIEDInvalid type.
    INT64Encoded as a string in decimal format.
    BOOLEncoded as a boolean "false" or "true".
    FLOAT64Encoded as a number, or string "NaN", "Infinity" or "-Infinity".
    STRINGEncoded as a string value.
    BYTESEncoded as a base64 string per RFC 4648, section 4.
    TIMESTAMPEncoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z
    DATEEncoded as RFC 3339 full-date format string: 1985-04-12
    TIMEEncoded as RFC 3339 partial-time format string: 23:20:50.52
    DATETIMEEncoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
    INTERVALEncoded as fully qualified 3 part: 0-5 15 2:30:45.6
    GEOGRAPHYEncoded as WKT
    NUMERICEncoded as a decimal string.
    BIGNUMERICEncoded as a decimal string.
    JSONEncoded as a string.
    ARRAYEncoded as a list with types matching Type.array_type.
    STRUCTEncoded as a list with fields of type Type.struct_type[i]. List is used because a JSON object cannot have duplicate field names.
    RANGEEncoded as a pair with types matching range_element_type. Pairs must begin with "[", end with ")", and be separated by ", ".
    NameValueDescription
    TypeKindUnspecifiedTYPE_KIND_UNSPECIFIEDInvalid type.
    Int64INT64Encoded as a string in decimal format.
    BoolBOOLEncoded as a boolean "false" or "true".
    Float64FLOAT64Encoded as a number, or string "NaN", "Infinity" or "-Infinity".
    StringSTRINGEncoded as a string value.
    BytesBYTESEncoded as a base64 string per RFC 4648, section 4.
    TimestampTIMESTAMPEncoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z
    DateDATEEncoded as RFC 3339 full-date format string: 1985-04-12
    TimeTIMEEncoded as RFC 3339 partial-time format string: 23:20:50.52
    DatetimeDATETIMEEncoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
    IntervalINTERVALEncoded as fully qualified 3 part: 0-5 15 2:30:45.6
    GeographyGEOGRAPHYEncoded as WKT
    NumericNUMERICEncoded as a decimal string.
    BignumericBIGNUMERICEncoded as a decimal string.
    JsonJSONEncoded as a string.
    ArrayARRAYEncoded as a list with types matching Type.array_type.
    StructSTRUCTEncoded as a list with fields of type Type.struct_type[i]. List is used because a JSON object cannot have duplicate field names.
    RangeRANGEEncoded as a pair with types matching range_element_type. Pairs must begin with "[", end with ")", and be separated by ", ".
    NameValueDescription
    TypeKindUnspecifiedTYPE_KIND_UNSPECIFIEDInvalid type.
    Int64INT64Encoded as a string in decimal format.
    BoolBOOLEncoded as a boolean "false" or "true".
    Float64FLOAT64Encoded as a number, or string "NaN", "Infinity" or "-Infinity".
    StringSTRINGEncoded as a string value.
    BytesBYTESEncoded as a base64 string per RFC 4648, section 4.
    TimestampTIMESTAMPEncoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z
    DateDATEEncoded as RFC 3339 full-date format string: 1985-04-12
    TimeTIMEEncoded as RFC 3339 partial-time format string: 23:20:50.52
    DatetimeDATETIMEEncoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
    IntervalINTERVALEncoded as fully qualified 3 part: 0-5 15 2:30:45.6
    GeographyGEOGRAPHYEncoded as WKT
    NumericNUMERICEncoded as a decimal string.
    BignumericBIGNUMERICEncoded as a decimal string.
    JsonJSONEncoded as a string.
    ArrayARRAYEncoded as a list with types matching Type.array_type.
    StructSTRUCTEncoded as a list with fields of type Type.struct_type[i]. List is used because a JSON object cannot have duplicate field names.
    RangeRANGEEncoded as a pair with types matching range_element_type. Pairs must begin with "[", end with ")", and be separated by ", ".
    NameValueDescription
    TYPE_KIND_UNSPECIFIEDTYPE_KIND_UNSPECIFIEDInvalid type.
    INT64INT64Encoded as a string in decimal format.
    BOOLBOOLEncoded as a boolean "false" or "true".
    FLOAT64FLOAT64Encoded as a number, or string "NaN", "Infinity" or "-Infinity".
    STRINGSTRINGEncoded as a string value.
    BYTESBYTESEncoded as a base64 string per RFC 4648, section 4.
    TIMESTAMPTIMESTAMPEncoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z
    DATEDATEEncoded as RFC 3339 full-date format string: 1985-04-12
    TIMETIMEEncoded as RFC 3339 partial-time format string: 23:20:50.52
    DATETIMEDATETIMEEncoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
    INTERVALINTERVALEncoded as fully qualified 3 part: 0-5 15 2:30:45.6
    GEOGRAPHYGEOGRAPHYEncoded as WKT
    NUMERICNUMERICEncoded as a decimal string.
    BIGNUMERICBIGNUMERICEncoded as a decimal string.
    JSONJSONEncoded as a string.
    ARRAYARRAYEncoded as a list with types matching Type.array_type.
    STRUCTSTRUCTEncoded as a list with fields of type Type.struct_type[i]. List is used because a JSON object cannot have duplicate field names.
    RANGERANGEEncoded as a pair with types matching range_element_type. Pairs must begin with "[", end with ")", and be separated by ", ".
    ValueDescription
    TYPE_KIND_UNSPECIFIEDInvalid type.
    INT64Encoded as a string in decimal format.
    BOOLEncoded as a boolean "false" or "true".
    FLOAT64Encoded as a number, or string "NaN", "Infinity" or "-Infinity".
    STRINGEncoded as a string value.
    BYTESEncoded as a base64 string per RFC 4648, section 4.
    TIMESTAMPEncoded as an RFC 3339 timestamp with mandatory "Z" time zone string: 1985-04-12T23:20:50.52Z
    DATEEncoded as RFC 3339 full-date format string: 1985-04-12
    TIMEEncoded as RFC 3339 partial-time format string: 23:20:50.52
    DATETIMEEncoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52
    INTERVALEncoded as fully qualified 3 part: 0-5 15 2:30:45.6
    GEOGRAPHYEncoded as WKT
    NUMERICEncoded as a decimal string.
    BIGNUMERICEncoded as a decimal string.
    JSONEncoded as a string.
    ARRAYEncoded as a list with types matching Type.array_type.
    STRUCTEncoded as a list with fields of type Type.struct_type[i]. List is used because a JSON object cannot have duplicate field names.
    RANGEEncoded as a pair with types matching range_element_type. Pairs must begin with "[", end with ")", and be separated by ", ".

    StandardSqlField, StandardSqlFieldArgs

    A field or a column.

    Name string
    Optional. The name of this field. Can be absent for struct fields.
    Type Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlDataType
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    Name string
    Optional. The name of this field. Can be absent for struct fields.
    Type StandardSqlDataType
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    name string
    Optional. The name of this field. Can be absent for struct fields.
    type object
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    name String
    Optional. The name of this field. Can be absent for struct fields.
    type StandardSqlDataType
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    name string
    Optional. The name of this field. Can be absent for struct fields.
    type StandardSqlDataType
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    name str
    Optional. The name of this field. Can be absent for struct fields.
    type StandardSqlDataType
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    name String
    Optional. The name of this field. Can be absent for struct fields.
    type Property Map
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).

    StandardSqlFieldResponse

    A field or a column.

    Name string
    Optional. The name of this field. Can be absent for struct fields.
    Type Pulumi.GoogleNative.BigQuery.V2.Inputs.StandardSqlDataTypeResponse
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    Name string
    Optional. The name of this field. Can be absent for struct fields.
    Type StandardSqlDataTypeResponse
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    name string
    Optional. The name of this field. Can be absent for struct fields.
    type object
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    name String
    Optional. The name of this field. Can be absent for struct fields.
    type StandardSqlDataTypeResponse
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    name string
    Optional. The name of this field. Can be absent for struct fields.
    type StandardSqlDataTypeResponse
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    name str
    Optional. The name of this field. Can be absent for struct fields.
    type StandardSqlDataTypeResponse
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).
    name String
    Optional. The name of this field. Can be absent for struct fields.
    type Property Map
    Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in this case the output parameter does not have this "type" field).

    StandardSqlStructType, StandardSqlStructTypeArgs

    The representation of a SQL STRUCT type.

    Fields []StandardSqlField
    Fields within the struct.
    fields list(object)
    Fields within the struct.
    fields List<StandardSqlField>
    Fields within the struct.
    fields StandardSqlField[]
    Fields within the struct.
    fields Sequence[StandardSqlField]
    Fields within the struct.
    fields List<Property Map>
    Fields within the struct.

    StandardSqlStructTypeResponse

    The representation of a SQL STRUCT type.

    Fields []StandardSqlFieldResponse
    Fields within the struct.
    fields list(object)
    Fields within the struct.
    fields List<StandardSqlFieldResponse>
    Fields within the struct.
    fields StandardSqlFieldResponse[]
    Fields within the struct.
    fields List<Property Map>
    Fields within the struct.

    StandardSqlTableType, StandardSqlTableTypeArgs

    A table type

    Columns []StandardSqlField
    The columns in this table type
    columns list(object)
    The columns in this table type
    columns List<StandardSqlField>
    The columns in this table type
    columns StandardSqlField[]
    The columns in this table type
    columns Sequence[StandardSqlField]
    The columns in this table type
    columns List<Property Map>
    The columns in this table type

    StandardSqlTableTypeResponse

    A table type

    Columns []StandardSqlFieldResponse
    The columns in this table type
    columns list(object)
    The columns in this table type
    columns List<StandardSqlFieldResponse>
    The columns in this table type
    columns StandardSqlFieldResponse[]
    The columns in this table type
    columns Sequence[StandardSqlFieldResponse]
    The columns in this table type
    columns List<Property Map>
    The columns in this table type

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo Google Cloud Native

    This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

    Viewing docs for Google Cloud Native v0.32.0
    published on Wednesday, Nov 29, 2023 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial