airbyte.DestinationGoogleSheets
Explore with Pulumi AI
DestinationGoogleSheets Resource
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.airbyte.DestinationGoogleSheets;
import com.pulumi.airbyte.DestinationGoogleSheetsArgs;
import com.pulumi.airbyte.inputs.DestinationGoogleSheetsConfigurationArgs;
import com.pulumi.airbyte.inputs.DestinationGoogleSheetsConfigurationCredentialsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var myDestinationGooglesheets = new DestinationGoogleSheets("myDestinationGooglesheets", DestinationGoogleSheetsArgs.builder()
            .configuration(DestinationGoogleSheetsConfigurationArgs.builder()
                .credentials(DestinationGoogleSheetsConfigurationCredentialsArgs.builder()
                    .clientId("...my_client_id...")
                    .clientSecret("...my_client_secret...")
                    .refreshToken("...my_refresh_token...")
                    .build())
                .spreadsheet_id("https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit")
                .build())
            .definitionId("54b2059a-b951-4dde-91ec-07e2a536925c")
            .workspaceId("ac77879a-e5ab-4e85-8084-095399f78bac")
            .build());
    }
}
resources:
  myDestinationGooglesheets:
    type: airbyte:DestinationGoogleSheets
    properties:
      configuration:
        credentials:
          clientId: '...my_client_id...'
          clientSecret: '...my_client_secret...'
          refreshToken: '...my_refresh_token...'
        spreadsheet_id: https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit
      definitionId: 54b2059a-b951-4dde-91ec-07e2a536925c
      workspaceId: ac77879a-e5ab-4e85-8084-095399f78bac
Create DestinationGoogleSheets Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DestinationGoogleSheets(name: string, args: DestinationGoogleSheetsArgs, opts?: CustomResourceOptions);@overload
def DestinationGoogleSheets(resource_name: str,
                            args: DestinationGoogleSheetsArgs,
                            opts: Optional[ResourceOptions] = None)
@overload
def DestinationGoogleSheets(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            configuration: Optional[DestinationGoogleSheetsConfigurationArgs] = None,
                            workspace_id: Optional[str] = None,
                            definition_id: Optional[str] = None,
                            name: Optional[str] = None)func NewDestinationGoogleSheets(ctx *Context, name string, args DestinationGoogleSheetsArgs, opts ...ResourceOption) (*DestinationGoogleSheets, error)public DestinationGoogleSheets(string name, DestinationGoogleSheetsArgs args, CustomResourceOptions? opts = null)
public DestinationGoogleSheets(String name, DestinationGoogleSheetsArgs args)
public DestinationGoogleSheets(String name, DestinationGoogleSheetsArgs args, CustomResourceOptions options)
type: airbyte:DestinationGoogleSheets
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DestinationGoogleSheetsArgs
- 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 DestinationGoogleSheetsArgs
- 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 DestinationGoogleSheetsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DestinationGoogleSheetsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DestinationGoogleSheetsArgs
- 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 destinationGoogleSheetsResource = new Airbyte.DestinationGoogleSheets("destinationGoogleSheetsResource", new()
{
    Configuration = new Airbyte.Inputs.DestinationGoogleSheetsConfigurationArgs
    {
        Credentials = new Airbyte.Inputs.DestinationGoogleSheetsConfigurationCredentialsArgs
        {
            ClientId = "string",
            ClientSecret = "string",
            RefreshToken = "string",
        },
        SpreadsheetId = "string",
    },
    WorkspaceId = "string",
    DefinitionId = "string",
    Name = "string",
});
example, err := airbyte.NewDestinationGoogleSheets(ctx, "destinationGoogleSheetsResource", &airbyte.DestinationGoogleSheetsArgs{
Configuration: &.DestinationGoogleSheetsConfigurationArgs{
Credentials: &.DestinationGoogleSheetsConfigurationCredentialsArgs{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
RefreshToken: pulumi.String("string"),
},
SpreadsheetId: pulumi.String("string"),
},
WorkspaceId: pulumi.String("string"),
DefinitionId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var destinationGoogleSheetsResource = new DestinationGoogleSheets("destinationGoogleSheetsResource", DestinationGoogleSheetsArgs.builder()
    .configuration(DestinationGoogleSheetsConfigurationArgs.builder()
        .credentials(DestinationGoogleSheetsConfigurationCredentialsArgs.builder()
            .clientId("string")
            .clientSecret("string")
            .refreshToken("string")
            .build())
        .spreadsheetId("string")
        .build())
    .workspaceId("string")
    .definitionId("string")
    .name("string")
    .build());
destination_google_sheets_resource = airbyte.DestinationGoogleSheets("destinationGoogleSheetsResource",
    configuration={
        "credentials": {
            "client_id": "string",
            "client_secret": "string",
            "refresh_token": "string",
        },
        "spreadsheet_id": "string",
    },
    workspace_id="string",
    definition_id="string",
    name="string")
const destinationGoogleSheetsResource = new airbyte.DestinationGoogleSheets("destinationGoogleSheetsResource", {
    configuration: {
        credentials: {
            clientId: "string",
            clientSecret: "string",
            refreshToken: "string",
        },
        spreadsheetId: "string",
    },
    workspaceId: "string",
    definitionId: "string",
    name: "string",
});
type: airbyte:DestinationGoogleSheets
properties:
    configuration:
        credentials:
            clientId: string
            clientSecret: string
            refreshToken: string
        spreadsheetId: string
    definitionId: string
    name: string
    workspaceId: string
DestinationGoogleSheets 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 DestinationGoogleSheets resource accepts the following input properties:
- Configuration
DestinationGoogle Sheets Configuration 
- WorkspaceId string
- DefinitionId string
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the destination e.g. dev-mysql-instance.
- Configuration
DestinationGoogle Sheets Configuration Args 
- WorkspaceId string
- DefinitionId string
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- Name string
- Name of the destination e.g. dev-mysql-instance.
- configuration
DestinationGoogle Sheets Configuration 
- workspaceId String
- definitionId String
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the destination e.g. dev-mysql-instance.
- configuration
DestinationGoogle Sheets Configuration 
- workspaceId string
- definitionId string
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- name string
- Name of the destination e.g. dev-mysql-instance.
- configuration
DestinationGoogle Sheets Configuration Args 
- workspace_id str
- definition_id str
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- name str
- Name of the destination e.g. dev-mysql-instance.
- configuration Property Map
- workspaceId String
- definitionId String
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- name String
- Name of the destination e.g. dev-mysql-instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the DestinationGoogleSheets resource produces the following output properties:
- CreatedAt double
- DestinationId string
- DestinationType string
- Id string
- The provider-assigned unique ID for this managed resource.
- CreatedAt float64
- DestinationId string
- DestinationType string
- Id string
- The provider-assigned unique ID for this managed resource.
- createdAt Double
- destinationId String
- destinationType String
- id String
- The provider-assigned unique ID for this managed resource.
- createdAt number
- destinationId string
- destinationType string
- id string
- The provider-assigned unique ID for this managed resource.
- created_at float
- destination_id str
- destination_type str
- id str
- The provider-assigned unique ID for this managed resource.
- createdAt Number
- destinationId String
- destinationType String
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing DestinationGoogleSheets Resource
Get an existing DestinationGoogleSheets resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DestinationGoogleSheetsState, opts?: CustomResourceOptions): DestinationGoogleSheets@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configuration: Optional[DestinationGoogleSheetsConfigurationArgs] = None,
        created_at: Optional[float] = None,
        definition_id: Optional[str] = None,
        destination_id: Optional[str] = None,
        destination_type: Optional[str] = None,
        name: Optional[str] = None,
        workspace_id: Optional[str] = None) -> DestinationGoogleSheetsfunc GetDestinationGoogleSheets(ctx *Context, name string, id IDInput, state *DestinationGoogleSheetsState, opts ...ResourceOption) (*DestinationGoogleSheets, error)public static DestinationGoogleSheets Get(string name, Input<string> id, DestinationGoogleSheetsState? state, CustomResourceOptions? opts = null)public static DestinationGoogleSheets get(String name, Output<String> id, DestinationGoogleSheetsState state, CustomResourceOptions options)resources:  _:    type: airbyte:DestinationGoogleSheets    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Configuration
DestinationGoogle Sheets Configuration 
- CreatedAt double
- DefinitionId string
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- DestinationId string
- DestinationType string
- Name string
- Name of the destination e.g. dev-mysql-instance.
- WorkspaceId string
- Configuration
DestinationGoogle Sheets Configuration Args 
- CreatedAt float64
- DefinitionId string
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- DestinationId string
- DestinationType string
- Name string
- Name of the destination e.g. dev-mysql-instance.
- WorkspaceId string
- configuration
DestinationGoogle Sheets Configuration 
- createdAt Double
- definitionId String
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- destinationId String
- destinationType String
- name String
- Name of the destination e.g. dev-mysql-instance.
- workspaceId String
- configuration
DestinationGoogle Sheets Configuration 
- createdAt number
- definitionId string
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- destinationId string
- destinationType string
- name string
- Name of the destination e.g. dev-mysql-instance.
- workspaceId string
- configuration
DestinationGoogle Sheets Configuration Args 
- created_at float
- definition_id str
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- destination_id str
- destination_type str
- name str
- Name of the destination e.g. dev-mysql-instance.
- workspace_id str
- configuration Property Map
- createdAt Number
- definitionId String
- The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. Requires replacement if changed.
- destinationId String
- destinationType String
- name String
- Name of the destination e.g. dev-mysql-instance.
- workspaceId String
Supporting Types
DestinationGoogleSheetsConfiguration, DestinationGoogleSheetsConfigurationArgs        
- Credentials
DestinationGoogle Sheets Configuration Credentials 
- Google API Credentials for connecting to Google Sheets and Google Drive APIs
- SpreadsheetId string
- The link to your spreadsheet. See \n\nthis guide\n\n for more details.
- Credentials
DestinationGoogle Sheets Configuration Credentials 
- Google API Credentials for connecting to Google Sheets and Google Drive APIs
- SpreadsheetId string
- The link to your spreadsheet. See \n\nthis guide\n\n for more details.
- credentials
DestinationGoogle Sheets Configuration Credentials 
- Google API Credentials for connecting to Google Sheets and Google Drive APIs
- spreadsheetId String
- The link to your spreadsheet. See \n\nthis guide\n\n for more details.
- credentials
DestinationGoogle Sheets Configuration Credentials 
- Google API Credentials for connecting to Google Sheets and Google Drive APIs
- spreadsheetId string
- The link to your spreadsheet. See \n\nthis guide\n\n for more details.
- credentials
DestinationGoogle Sheets Configuration Credentials 
- Google API Credentials for connecting to Google Sheets and Google Drive APIs
- spreadsheet_id str
- The link to your spreadsheet. See \n\nthis guide\n\n for more details.
- credentials Property Map
- Google API Credentials for connecting to Google Sheets and Google Drive APIs
- spreadsheetId String
- The link to your spreadsheet. See \n\nthis guide\n\n for more details.
DestinationGoogleSheetsConfigurationCredentials, DestinationGoogleSheetsConfigurationCredentialsArgs          
- ClientId string
- The Client ID of your Google Sheets developer application.
- ClientSecret string
- The Client Secret of your Google Sheets developer application.
- RefreshToken string
- The token for obtaining new access token.
- ClientId string
- The Client ID of your Google Sheets developer application.
- ClientSecret string
- The Client Secret of your Google Sheets developer application.
- RefreshToken string
- The token for obtaining new access token.
- clientId String
- The Client ID of your Google Sheets developer application.
- clientSecret String
- The Client Secret of your Google Sheets developer application.
- refreshToken String
- The token for obtaining new access token.
- clientId string
- The Client ID of your Google Sheets developer application.
- clientSecret string
- The Client Secret of your Google Sheets developer application.
- refreshToken string
- The token for obtaining new access token.
- client_id str
- The Client ID of your Google Sheets developer application.
- client_secret str
- The Client Secret of your Google Sheets developer application.
- refresh_token str
- The token for obtaining new access token.
- clientId String
- The Client ID of your Google Sheets developer application.
- clientSecret String
- The Client Secret of your Google Sheets developer application.
- refreshToken String
- The token for obtaining new access token.
Import
$ pulumi import airbyte:index/destinationGoogleSheets:DestinationGoogleSheets my_airbyte_destination_google_sheets ""
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- airbyte airbytehq/terraform-provider-airbyte
- License
- Notes
- This Pulumi package is based on the airbyteTerraform Provider.