Movatterモバイル変換


[0]ホーム

URL:


firebasedataconnect

package
v0.257.0Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2025 License:BSD-3-ClauseImports:18Imported by:0

Details

Repository

github.com/googleapis/google-api-go-client

Links

Documentation

Overview

Package firebasedataconnect provides access to the Firebase Data Connect API.

For product documentation, see:https://firebase.google.com/docs/data-connect

Library status

These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.

When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.

Creating a client

Usage example:

import "google.golang.org/api/firebasedataconnect/v1"...ctx := context.Background()firebasedataconnectService, err := firebasedataconnect.NewService(ctx)

In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:

firebasedataconnectService, err := firebasedataconnect.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)firebasedataconnectService, err := firebasedataconnect.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

Seegoogle.golang.org/api/option.ClientOption for details on options.

Index

Constants

View Source
const (// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform")

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

typeAPIService

type APIService struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields}

funcNewdeprecated

func New(client *http.Client) (*APIService,error)

New creates a new APIService. It uses the provided http.Client for requests.

Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

funcNewService

func NewService(ctxcontext.Context, opts ...option.ClientOption) (*APIService,error)

NewService creates a new APIService.

typeCancelOperationRequest

type CancelOperationRequest struct {}

CancelOperationRequest: The request message for Operations.CancelOperation.

typeCloudSqlInstance

type CloudSqlInstance struct {// Instance: Required. Name of the CloudSQL instance, in the format: “`// projects/{project}/locations/{location}/instances/{instance} “`Instancestring `json:"instance,omitempty"`// ForceSendFields is a list of field names (e.g. "Instance") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Instance") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CloudSqlInstance: Settings for CloudSQL instance configuration.

func (CloudSqlInstance)MarshalJSON

func (sCloudSqlInstance) MarshalJSON() ([]byte,error)

typeConnector

type Connector struct {// Annotations: Optional. Stores small amounts of arbitrary data.Annotations map[string]string `json:"annotations,omitempty"`// CreateTime: Output only. [Output only] Create time stamp.CreateTimestring `json:"createTime,omitempty"`// DisplayName: Optional. Mutable human-readable name. 63 character limit.DisplayNamestring `json:"displayName,omitempty"`// Etag: Output only. This checksum is computed by the server based on the// value of other fields, and may be sent on update and delete requests to// ensure the client has an up-to-date value before proceeding. AIP-154// (https://google.aip.dev/154)Etagstring `json:"etag,omitempty"`// Labels: Optional. Labels as key value pairs.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. The relative resource name of the connector, in the// format: “`// projects/{project}/locations/{location}/services/{service}/connectors/{connec// tor} “`Namestring `json:"name,omitempty"`// Reconciling: Output only. A field that if true, indicates that the system is// working to compile and deploy the connector.Reconcilingbool `json:"reconciling,omitempty"`// Source: Required. The source files that comprise the connector.Source *Source `json:"source,omitempty"`// Uid: Output only. System-assigned, unique identifier.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. [Output only] Update time stamp.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Connector: Connector consists of a set of operations, i.e. queries andmutations.

func (Connector)MarshalJSON

func (sConnector) MarshalJSON() ([]byte,error)

typeDatasource

type Datasource struct {// Postgresql: PostgreSQL configurations.Postgresql *PostgreSql `json:"postgresql,omitempty"`// ForceSendFields is a list of field names (e.g. "Postgresql") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Postgresql") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Datasource: A data source that backs Firebase Data Connect services.

func (Datasource)MarshalJSON

func (sDatasource) MarshalJSON() ([]byte,error)

typeEmpty

type Empty struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}

Empty: A generic empty message that you can re-use to avoid definingduplicated empty messages in your APIs. A typical example is to use it asthe request or the response type of an API method. For instance: service Foo{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

typeExecuteMutationRequest

type ExecuteMutationRequest struct {// OperationName: Required. The name of the GraphQL operation name. Required// because all Connector operations must be named. See//https://graphql.org/learn/queries/#operation-name.OperationNamestring `json:"operationName,omitempty"`// Variables: Optional. Values for GraphQL variables provided in this request.Variablesgoogleapi.RawMessage `json:"variables,omitempty"`// ForceSendFields is a list of field names (e.g. "OperationName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OperationName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ExecuteMutationRequest: The ExecuteMutation request to Firebase DataConnect.

func (ExecuteMutationRequest)MarshalJSON

func (sExecuteMutationRequest) MarshalJSON() ([]byte,error)

typeExecuteMutationResponse

type ExecuteMutationResponse struct {// Data: The result of executing the requested operation.Datagoogleapi.RawMessage `json:"data,omitempty"`// Errors: Errors of this response.Errors []*GraphqlError `json:"errors,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Data") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Data") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ExecuteMutationResponse: The ExecuteMutation response from Firebase DataConnect.

func (ExecuteMutationResponse)MarshalJSON

func (sExecuteMutationResponse) MarshalJSON() ([]byte,error)

typeExecuteQueryRequest

type ExecuteQueryRequest struct {// OperationName: Required. The name of the GraphQL operation name. Required// because all Connector operations must be named. See//https://graphql.org/learn/queries/#operation-name.OperationNamestring `json:"operationName,omitempty"`// Variables: Optional. Values for GraphQL variables provided in this request.Variablesgoogleapi.RawMessage `json:"variables,omitempty"`// ForceSendFields is a list of field names (e.g. "OperationName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OperationName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ExecuteQueryRequest: The ExecuteQuery request to Firebase Data Connect.

func (ExecuteQueryRequest)MarshalJSON

func (sExecuteQueryRequest) MarshalJSON() ([]byte,error)

typeExecuteQueryResponse

type ExecuteQueryResponse struct {// Data: The result of executing the requested operation.Datagoogleapi.RawMessage `json:"data,omitempty"`// Errors: Errors of this response.Errors []*GraphqlError `json:"errors,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Data") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Data") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ExecuteQueryResponse: The ExecuteQuery response from Firebase Data Connect.

func (ExecuteQueryResponse)MarshalJSON

func (sExecuteQueryResponse) MarshalJSON() ([]byte,error)

typeFile

type File struct {// Content: Required. The file's textual content.Contentstring `json:"content,omitempty"`// Path: Required. The file name including folder path, if applicable. The path// should be relative to a local workspace (e.g.// dataconnect/(schema|connector)/*.gql) and not an absolute path (e.g.// /absolute/path/(schema|connector)/*.gql).Pathstring `json:"path,omitempty"`// ForceSendFields is a list of field names (e.g. "Content") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Content") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

File: Individual files.

func (File)MarshalJSON

func (sFile) MarshalJSON() ([]byte,error)

typeGraphqlError

type GraphqlError struct {// Extensions: Additional error information.Extensions *GraphqlErrorExtensions `json:"extensions,omitempty"`// Locations: The source locations where the error occurred. Locations should// help developers and toolings identify the source of error quickly. Included// in admin endpoints (`ExecuteGraphql`, `ExecuteGraphqlRead`,// `IntrospectGraphql`, `ImpersonateQuery`, `ImpersonateMutation`,// `UpdateSchema` and `UpdateConnector`) to reference the provided GraphQL GQL// document. Omitted in `ExecuteMutation` and `ExecuteQuery` since the caller// shouldn't have access access the underlying GQL source.Locations []*SourceLocation `json:"locations,omitempty"`// Message: The detailed error message. The message should help developer// understand the underlying problem without leaking internal data.Messagestring `json:"message,omitempty"`// Path: The result field which could not be populated due to error. Clients// can use path to identify whether a null result is intentional or caused by a// runtime error. It should be a list of string or index from the root of// GraphQL query document.Path []interface{} `json:"path,omitempty"`// ForceSendFields is a list of field names (e.g. "Extensions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Extensions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GraphqlError: GraphqlError conforms to the GraphQL error spec.https://spec.graphql.org/draft/#sec-Errors Firebase Data Connect APIsurfaces `GraphqlError` in various APIs: - Upon compile error,`UpdateSchema` and `UpdateConnector` return Code.Invalid_Argument with alist of `GraphqlError` in error details. - Upon query compile error,`ExecuteGraphql`, `ExecuteGraphqlRead` and `IntrospectGraphql` returnCode.OK with a list of `GraphqlError` in response body. - Upon queryexecution error, `ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation`,`ExecuteQuery`, `IntrospectGraphql`, `ImpersonateQuery` and`ImpersonateMutation` all return Code.OK with a list of `GraphqlError` inresponse body.

func (GraphqlError)MarshalJSON

func (sGraphqlError) MarshalJSON() ([]byte,error)

typeGraphqlErrorExtensions

type GraphqlErrorExtensions struct {// Code: Maps to canonical gRPC codes. If not specified, it represents// `Code.INTERNAL`.//// Possible values://   "OK" - Not an error; returned on success. HTTP Mapping: 200 OK//   "CANCELLED" - The operation was cancelled, typically by the caller. HTTP// Mapping: 499 Client Closed Request//   "UNKNOWN" - Unknown error. For example, this error may be returned when a// `Status` value received from another address space belongs to an error space// that is not known in this address space. Also errors raised by APIs that do// not return enough error information may be converted to this error. HTTP// Mapping: 500 Internal Server Error//   "INVALID_ARGUMENT" - The client specified an invalid argument. Note that// this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates// arguments that are problematic regardless of the state of the system (e.g.,// a malformed file name). HTTP Mapping: 400 Bad Request//   "DEADLINE_EXCEEDED" - The deadline expired before the operation could// complete. For operations that change the state of the system, this error may// be returned even if the operation has completed successfully. For example, a// successful response from a server could have been delayed long enough for// the deadline to expire. HTTP Mapping: 504 Gateway Timeout//   "NOT_FOUND" - Some requested entity (e.g., file or directory) was not// found. Note to server developers: if a request is denied for an entire class// of users, such as gradual feature rollout or undocumented allowlist,// `NOT_FOUND` may be used. If a request is denied for some users within a// class of users, such as user-based access control, `PERMISSION_DENIED` must// be used. HTTP Mapping: 404 Not Found//   "ALREADY_EXISTS" - The entity that a client attempted to create (e.g.,// file or directory) already exists. HTTP Mapping: 409 Conflict//   "PERMISSION_DENIED" - The caller does not have permission to execute the// specified operation. `PERMISSION_DENIED` must not be used for rejections// caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for// those errors). `PERMISSION_DENIED` must not be used if the caller can not be// identified (use `UNAUTHENTICATED` instead for those errors). This error code// does not imply the request is valid or the requested entity exists or// satisfies other pre-conditions. HTTP Mapping: 403 Forbidden//   "UNAUTHENTICATED" - The request does not have valid authentication// credentials for the operation. HTTP Mapping: 401 Unauthorized//   "RESOURCE_EXHAUSTED" - Some resource has been exhausted, perhaps a// per-user quota, or perhaps the entire file system is out of space. HTTP// Mapping: 429 Too Many Requests//   "FAILED_PRECONDITION" - The operation was rejected because the system is// not in a state required for the operation's execution. For example, the// directory to be deleted is non-empty, an rmdir operation is applied to a// non-directory, etc. Service implementors can use the following guidelines to// decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use// `UNAVAILABLE` if the client can retry just the failing call. (b) Use// `ABORTED` if the client should retry at a higher level. For example, when a// client-specified test-and-set fails, indicating the client should restart a// read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client// should not retry until the system state has been explicitly fixed. For// example, if an "rmdir" fails because the directory is non-empty,// `FAILED_PRECONDITION` should be returned since the client should not retry// unless the files are deleted from the directory. HTTP Mapping: 400 Bad// Request//   "ABORTED" - The operation was aborted, typically due to a concurrency// issue such as a sequencer check failure or transaction abort. See the// guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and// `UNAVAILABLE`. HTTP Mapping: 409 Conflict//   "OUT_OF_RANGE" - The operation was attempted past the valid range. E.g.,// seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error// indicates a problem that may be fixed if the system state changes. For// example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to// read at an offset that is not in the range [0,2^32-1], but it will generate// `OUT_OF_RANGE` if asked to read from an offset past the current file size.// There is a fair bit of overlap between `FAILED_PRECONDITION` and// `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error)// when it applies so that callers who are iterating through a space can easily// look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping:// 400 Bad Request//   "UNIMPLEMENTED" - The operation is not implemented or is not// supported/enabled in this service. HTTP Mapping: 501 Not Implemented//   "INTERNAL" - Internal errors. This means that some invariants expected by// the underlying system have been broken. This error code is reserved for// serious errors. HTTP Mapping: 500 Internal Server Error//   "UNAVAILABLE" - The service is currently unavailable. This is most likely// a transient condition, which can be corrected by retrying with a backoff.// Note that it is not always safe to retry non-idempotent operations. See the// guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and// `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable//   "DATA_LOSS" - Unrecoverable data loss or corruption. HTTP Mapping: 500// Internal Server ErrorCodestring `json:"code,omitempty"`// DebugDetails: More detailed error message to assist debugging. It contains// application business logic that are inappropriate to leak publicly. In the// emulator, Data Connect API always includes it to assist local development// and debugging. In the backend, ConnectorService always hides it.// GraphqlService without impersonation always include it. GraphqlService with// impersonation includes it only if explicitly opted-in with// `include_debug_details` in `GraphqlRequestExtensions`.DebugDetailsstring `json:"debugDetails,omitempty"`// File: The source file name where the error occurred. Included only for// `UpdateSchema` and `UpdateConnector`, it corresponds to `File.path` of the// provided `Source`.Filestring `json:"file,omitempty"`// WarningLevel: Warning level describes the severity and required action to// suppress this warning when Firebase CLI run into it.//// Possible values://   "WARNING_LEVEL_UNKNOWN" - Warning level is not specified.//   "LOG_ONLY" - Display a warning without action needed.//   "INTERACTIVE_ACK" - Request a confirmation in interactive deployment flow.//   "REQUIRE_ACK" - Require an explicit confirmation in all deployment flows.//   "REQUIRE_FORCE" - Require --force in all deployment flows.WarningLevelstring `json:"warningLevel,omitempty"`// Workarounds: Workarounds provide suggestions to address the compile errors// or warnings.Workarounds []*Workaround `json:"workarounds,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GraphqlErrorExtensions: GraphqlErrorExtensions contains additionalinformation of `GraphqlError`.

func (GraphqlErrorExtensions)MarshalJSON

func (sGraphqlErrorExtensions) MarshalJSON() ([]byte,error)

typeGraphqlRequest

type GraphqlRequest struct {// Extensions: Optional. Additional GraphQL request information.Extensions *GraphqlRequestExtensions `json:"extensions,omitempty"`// OperationName: Optional. The name of the GraphQL operation name. Required// only if `query` contains multiple operations. See//https://graphql.org/learn/queries/#operation-name.OperationNamestring `json:"operationName,omitempty"`// Query: Required. The GraphQL query document source.Querystring `json:"query,omitempty"`// Variables: Optional. Values for GraphQL variables provided in this request.Variablesgoogleapi.RawMessage `json:"variables,omitempty"`// ForceSendFields is a list of field names (e.g. "Extensions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Extensions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GraphqlRequest: The GraphQL request to Firebase Data Connect. It strives tomatch the GraphQL over HTTP spec.https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#post

func (GraphqlRequest)MarshalJSON

func (sGraphqlRequest) MarshalJSON() ([]byte,error)

typeGraphqlRequestExtensions

type GraphqlRequestExtensions struct {// Impersonate: Optional. If set, impersonate a request with given Firebase// Auth context and evaluate the auth policies on the operation. If omitted,// bypass any defined auth policies.Impersonate *Impersonation `json:"impersonate,omitempty"`// ForceSendFields is a list of field names (e.g. "Impersonate") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Impersonate") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GraphqlRequestExtensions: GraphqlRequestExtensions contains additionalinformation of `GraphqlRequest`.

func (GraphqlRequestExtensions)MarshalJSON

func (sGraphqlRequestExtensions) MarshalJSON() ([]byte,error)

typeGraphqlResponse

type GraphqlResponse struct {// Data: The result of the execution of the requested operation. If an error// was raised before execution begins, the data entry should not be present in// the result. (a request error://https://spec.graphql.org/draft/#sec-Errors.Request-Errors) If an error was// raised during the execution that prevented a valid response, the data entry// in the response should be null. (a field error://https://spec.graphql.org/draft/#sec-Errors.Error-Result-Format)Datagoogleapi.RawMessage `json:"data,omitempty"`// Errors: Errors of this response. If the data entry in the response is not// present, the errors entry must be present. It conforms to//https://spec.graphql.org/draft/#sec-Errors.Errors []*GraphqlError `json:"errors,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Data") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Data") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GraphqlResponse: The GraphQL response from Firebase Data Connect. It strivesto match the GraphQL over HTTP spec. Note: Firebase Data Connect alwaysresponds with `Content-Type: application/json`.https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#body

func (GraphqlResponse)MarshalJSON

func (sGraphqlResponse) MarshalJSON() ([]byte,error)

typeImpersonateRequestadded inv0.250.0

type ImpersonateRequest struct {// Extensions: Optional. Additional GraphQL request information.Extensions *GraphqlRequestExtensions `json:"extensions,omitempty"`// OperationName: Required. The name of the GraphQL operation name. Required// because all Connector operations must be named. See//https://graphql.org/learn/queries/#operation-name.OperationNamestring `json:"operationName,omitempty"`// Variables: Optional. Values for GraphQL variables provided in this request.Variablesgoogleapi.RawMessage `json:"variables,omitempty"`// ForceSendFields is a list of field names (e.g. "Extensions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Extensions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ImpersonateRequest: The Impersonate request to Firebase Data Connect.

func (ImpersonateRequest)MarshalJSONadded inv0.250.0

func (sImpersonateRequest) MarshalJSON() ([]byte,error)

typeImpersonation

type Impersonation struct {// AuthClaims: Evaluate the auth policy with a customized JWT auth token.// Should follow the Firebase Auth token format.//https://firebase.google.com/docs/rules/rules-and-auth For example: a// verified user may have auth_claims of {"sub": , "email_verified": true}AuthClaimsgoogleapi.RawMessage `json:"authClaims,omitempty"`// IncludeDebugDetails: Optional. If set, include debug details in GraphQL// error extensions.IncludeDebugDetailsbool `json:"includeDebugDetails,omitempty"`// Unauthenticated: Evaluate the auth policy as an unauthenticated request. Can// only be set to true.Unauthenticatedbool `json:"unauthenticated,omitempty"`// ForceSendFields is a list of field names (e.g. "AuthClaims") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuthClaims") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Impersonation: Impersonation configures the Firebase Auth context toimpersonate.

func (Impersonation)MarshalJSON

func (sImpersonation) MarshalJSON() ([]byte,error)

typeListConnectorsResponse

type ListConnectorsResponse struct {// Connectors: The list of Connectors.Connectors []*Connector `json:"connectors,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Connectors") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Connectors") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListConnectorsResponse: Message for response to listing Connectors. Bydefault, `connectors.source` will not be included in the response. Tospecify the fields included in the response, the response field mask can beprovided by using the query parameter `$fields` or the header`X-Goog-FieldMask`.

func (ListConnectorsResponse)MarshalJSON

func (sListConnectorsResponse) MarshalJSON() ([]byte,error)

typeListLocationsResponse

type ListLocationsResponse struct {// Locations: A list of locations that matches the specified filter in the// request.Locations []*Location `json:"locations,omitempty"`// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Locations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Locations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListLocationsResponse: The response message for Locations.ListLocations.

func (ListLocationsResponse)MarshalJSON

func (sListLocationsResponse) MarshalJSON() ([]byte,error)

typeListOperationsResponse

type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets `ListOperationsRequest.return_partial_success` and reads across// collections e.g. when attempting to list all resources across all supported// locations.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListOperationsResponse: The response message for Operations.ListOperations.

func (ListOperationsResponse)MarshalJSON

func (sListOperationsResponse) MarshalJSON() ([]byte,error)

typeListSchemasResponse

type ListSchemasResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Schemas: The list of Schemas.Schemas []*Schema `json:"schemas,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListSchemasResponse: Message for response to listing Schemas. By default,`schemas.source` will not be included in the response. To specify the fieldsincluded in the response, the response field mask can be provided by usingthe query parameter `$fields` or the header `X-Goog-FieldMask`.

func (ListSchemasResponse)MarshalJSON

func (sListSchemasResponse) MarshalJSON() ([]byte,error)

typeListServicesResponse

type ListServicesResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Services: The list of Services.Services []*Service `json:"services,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListServicesResponse: Message for response to listing Services.

func (ListServicesResponse)MarshalJSON

func (sListServicesResponse) MarshalJSON() ([]byte,error)

typeLocation

type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `json:"displayName,omitempty"`// Labels: Cross-service attributes for the location. For example// {"cloud.googleapis.com/region": "us-east1"}Labels map[string]string `json:"labels,omitempty"`// LocationId: The canonical id for this location. For example: "us-east1".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example:// "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Location: A resource that represents a Google Cloud location.

func (Location)MarshalJSON

func (sLocation) MarshalJSON() ([]byte,error)

typeOperation

type Operation struct {// Done: If the value is `false`, it means the operation is still in progress.// If `true`, the operation is completed, and either `error` or `response` is// available.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or cancellation.Error *Status `json:"error,omitempty"`// Metadata: Service-specific metadata associated with the operation. It// typically contains progress information and common metadata such as create// time. Some services might not provide such metadata. Any method that returns// a long-running operation should document the metadata type, if any.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: The server-assigned name, which is only unique within the same service// that originally returns it. If you use the default HTTP mapping, the `name`// should be a resource name ending with `operations/{unique_id}`.Namestring `json:"name,omitempty"`// Response: The normal, successful response of the operation. If the original// method returns no data on success, such as `Delete`, the response is// `google.protobuf.Empty`. If the original method is standard// `Get`/`Create`/`Update`, the response should be the resource. For other// methods, the response should have the type `XxxResponse`, where `Xxx` is the// original method name. For example, if the original method name is// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Operation: This resource represents a long-running operation that is theresult of a network API call.

func (Operation)MarshalJSON

func (sOperation) MarshalJSON() ([]byte,error)

typeOperationMetadata

type OperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have been cancelled// successfully have Operation.error value with a google.rpc.Status.code of 1,// corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

OperationMetadata: Represents the metadata of the long-running operation.Note: This message is auto-generated by CCFE. CCFE's storage, calledResource Metadata Store (RMS), holds metadata about long-running operations(i.e. OperationMetadata) and resources (i.e. ResourceMetadata).OperationMetadata documents the status of the operation. See CCFEdocumentation for sidechannel data(https://g3doc.corp.google.com/cloud/control2/g3doc/dev/codelab_extras/sidechannel.md?cl=head#sidechannel-data)and yaqs/4289526912465764352.

func (OperationMetadata)MarshalJSON

func (sOperationMetadata) MarshalJSON() ([]byte,error)

typePostgreSql

type PostgreSql struct {// CloudSql: Cloud SQL configurations.CloudSql *CloudSqlInstance `json:"cloudSql,omitempty"`// Database: Required. Name of the PostgreSQL database.Databasestring `json:"database,omitempty"`// Ephemeral: Output only. Ephemeral is true if this data connect service is// served from temporary in-memory emulation of Postgres. While Cloud SQL is// being provisioned, the data connect service provides the ephemeral service// to help developers get started. Once the Cloud SQL is provisioned, Data// Connect service will transfer its data on a best-effort basis to the Cloud// SQL instance. WARNING: Ephemeral data sources will expire after 24 hour. The// data will be lost if they aren't transferred to the Cloud SQL instance.// WARNING: When `ephemeral=true`, mutations to the database are not guaranteed// to be durably persisted, even if an OK status code is returned. All or parts// of the data may be lost or reverted to earlier versions.Ephemeralbool `json:"ephemeral,omitempty"`// SchemaMigration: Optional. Configure how to perform Postgresql schema// migration.//// Possible values://   "SQL_SCHEMA_MIGRATION_UNSPECIFIED" - Unspecified SQL schema migration.//   "MIGRATE_COMPATIBLE" - Connect to the SQL database and identify any// missing SQL resources used in the given Firebase Data Connect Schema.// Automatically create necessary SQL resources (SQL table, column, etc) before// deploying the schema. During migration steps, the SQL Schema must comply// with the previous before_deploy setting in case the migration is// interrupted. Therefore, the previous before_deploy setting must not be// `schema_validation=STRICT`.SchemaMigrationstring `json:"schemaMigration,omitempty"`// SchemaValidation: Optional. Configure how much Postgresql schema validation// to perform.//// Possible values://   "SQL_SCHEMA_VALIDATION_UNSPECIFIED" - Unspecified SQL schema validation.// Default to STRICT.//   "NONE" - Skip no SQL schema validation. Use it with extreme caution.// CreateSchema or UpdateSchema will succeed even if SQL database is// unavailable or SQL schema is incompatible. Generated SQL may fail at// execution time.//   "STRICT" - Connect to the SQL database and validate that the SQL DDL// matches the schema exactly. Surface any discrepancies as// `FAILED_PRECONDITION` with an `IncompatibleSqlSchemaError` error detail.//   "COMPATIBLE" - Connect to the SQL database and validate that the SQL DDL// has all the SQL resources used in the given Firebase Data Connect Schema.// Surface any missing resources as `FAILED_PRECONDITION` with an// `IncompatibleSqlSchemaError` error detail. Succeed even if there are unknown// tables and columns.SchemaValidationstring `json:"schemaValidation,omitempty"`// Unlinked: No Postgres data source is linked. If set, don't allow `database`// and `schema_validation` to be configured.Unlinkedbool `json:"unlinked,omitempty"`// ForceSendFields is a list of field names (e.g. "CloudSql") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CloudSql") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PostgreSql: Settings for PostgreSQL data source.

func (PostgreSql)MarshalJSON

func (sPostgreSql) MarshalJSON() ([]byte,error)

typeProjectsLocationsGetCall

type ProjectsLocationsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGetCall)Do

Do executes the "firebasedataconnect.projects.locations.get" call.Any non-2xx status code is an error. Response headers are in either*Location.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsListCall

type ProjectsLocationsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsListCall)Do

Do executes the "firebasedataconnect.projects.locations.list" call.Any non-2xx status code is an error. Response headers are in either*ListLocationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsListCall)ExtraLocationTypes

func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall

ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.

func (*ProjectsLocationsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsListCall)Filter

Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).

func (*ProjectsLocationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.

func (*ProjectsLocationsListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token receivedfrom the `next_page_token` field in the response. Send that page token toreceive the subsequent page.

func (*ProjectsLocationsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsOperationsCancelCall

type ProjectsLocationsOperationsCancelCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsCancelCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsCancelCall)Do

Do executes the "firebasedataconnect.projects.locations.operations.cancel" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsCancelCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsCancelCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsOperationsDeleteCall

type ProjectsLocationsOperationsDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsDeleteCall)Do

Do executes the "firebasedataconnect.projects.locations.operations.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsOperationsGetCall

type ProjectsLocationsOperationsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsGetCall)Do

Do executes the "firebasedataconnect.projects.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsOperationsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsOperationsListCall

type ProjectsLocationsOperationsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsListCall)Do

Do executes the "firebasedataconnect.projects.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsOperationsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsOperationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsOperationsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsOperationsListCall)PageSize

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsOperationsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccessadded inv0.254.0

func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall

ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.

typeProjectsLocationsOperationsService

type ProjectsLocationsOperationsService struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsService)Cancel

Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.error value with a google.rpc.Status.code of `1`, corresponding to`Code.CANCELLED`.

- name: The name of the operation resource to be cancelled.

func (*ProjectsLocationsOperationsService)Delete

Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe operation. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`.

- name: The name of the operation resource to be deleted.

func (*ProjectsLocationsOperationsService)Get

Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.

- name: The name of the operation resource.

func (*ProjectsLocationsOperationsService)List

List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

typeProjectsLocationsService

type ProjectsLocationsService struct {Operations *ProjectsLocationsOperationsServiceServices *ProjectsLocationsServicesService// contains filtered or unexported fields}

funcNewProjectsLocationsService

func NewProjectsLocationsService(s *APIService) *ProjectsLocationsService

func (*ProjectsLocationsService)Get

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService)List

List: Lists information about the supported locations for this service.

- name: The resource that owns the locations collection, if applicable.

typeProjectsLocationsServicesConnectorsCreateCall

type ProjectsLocationsServicesConnectorsCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesConnectorsCreateCall)ConnectorId

ConnectorId sets the optional parameter "connectorId": Required. The ID touse for the connector, which will become the final component of theconnector's resource name.

func (*ProjectsLocationsServicesConnectorsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesConnectorsCreateCall)Do

Do executes the "firebasedataconnect.projects.locations.services.connectors.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesConnectorsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesConnectorsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesConnectorsCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsServicesConnectorsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the Connector, but do not actually create it.

typeProjectsLocationsServicesConnectorsDeleteCall

type ProjectsLocationsServicesConnectorsDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesConnectorsDeleteCall)AllowMissing

AllowMissing sets the optional parameter "allowMissing": If true and theConnector is not found, the request will succeed but no action will be takenon the server.

func (*ProjectsLocationsServicesConnectorsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesConnectorsDeleteCall)Do

Do executes the "firebasedataconnect.projects.locations.services.connectors.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesConnectorsDeleteCall)Etag

Etag sets the optional parameter "etag": The etag of the Connector. If thisis provided, it must match the server's etag.

func (*ProjectsLocationsServicesConnectorsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesConnectorsDeleteCall)Force

Force sets the optional parameter "force": If set to true, any childresources (i.e. ConnectorRevisions) will also be deleted. Otherwise, therequest will only work if the Connector has no child resources.

func (*ProjectsLocationsServicesConnectorsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesConnectorsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsServicesConnectorsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the Connector, but do not actually delete it.

typeProjectsLocationsServicesConnectorsExecuteMutationCall

type ProjectsLocationsServicesConnectorsExecuteMutationCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesConnectorsExecuteMutationCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesConnectorsExecuteMutationCall)Do

Do executes the "firebasedataconnect.projects.locations.services.connectors.executeMutation" call.Any non-2xx status code is an error. Response headers are in either*ExecuteMutationResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsServicesConnectorsExecuteMutationCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesConnectorsExecuteMutationCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsServicesConnectorsExecuteQueryCall

type ProjectsLocationsServicesConnectorsExecuteQueryCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesConnectorsExecuteQueryCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesConnectorsExecuteQueryCall)Do

Do executes the "firebasedataconnect.projects.locations.services.connectors.executeQuery" call.Any non-2xx status code is an error. Response headers are in either*ExecuteQueryResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsServicesConnectorsExecuteQueryCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesConnectorsExecuteQueryCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsServicesConnectorsGetCall

type ProjectsLocationsServicesConnectorsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesConnectorsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesConnectorsGetCall)Do

Do executes the "firebasedataconnect.projects.locations.services.connectors.get" call.Any non-2xx status code is an error. Response headers are in either*Connector.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesConnectorsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesConnectorsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesConnectorsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsServicesConnectorsImpersonateMutationCalladded inv0.250.0

type ProjectsLocationsServicesConnectorsImpersonateMutationCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesConnectorsImpersonateMutationCall)Contextadded inv0.250.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesConnectorsImpersonateMutationCall)Doadded inv0.250.0

Do executes the "firebasedataconnect.projects.locations.services.connectors.impersonateMutation" call.Any non-2xx status code is an error. Response headers are in either*GraphqlResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsServicesConnectorsImpersonateMutationCall)Fieldsadded inv0.250.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesConnectorsImpersonateMutationCall)Headeradded inv0.250.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsServicesConnectorsImpersonateQueryCalladded inv0.250.0

type ProjectsLocationsServicesConnectorsImpersonateQueryCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesConnectorsImpersonateQueryCall)Contextadded inv0.250.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesConnectorsImpersonateQueryCall)Doadded inv0.250.0

Do executes the "firebasedataconnect.projects.locations.services.connectors.impersonateQuery" call.Any non-2xx status code is an error. Response headers are in either*GraphqlResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsServicesConnectorsImpersonateQueryCall)Fieldsadded inv0.250.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesConnectorsImpersonateQueryCall)Headeradded inv0.250.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsServicesConnectorsListCall

type ProjectsLocationsServicesConnectorsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesConnectorsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesConnectorsListCall)Do

Do executes the "firebasedataconnect.projects.locations.services.connectors.list" call.Any non-2xx status code is an error. Response headers are in either*ListConnectorsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsServicesConnectorsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesConnectorsListCall)Filter

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsServicesConnectorsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesConnectorsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsServicesConnectorsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Hint for how to order theresults.

func (*ProjectsLocationsServicesConnectorsListCall)PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, server will pick anappropriate default.

func (*ProjectsLocationsServicesConnectorsListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListConnectors` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListConnectors` must match the call that provided the page token.

func (*ProjectsLocationsServicesConnectorsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsServicesConnectorsPatchCall

type ProjectsLocationsServicesConnectorsPatchCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesConnectorsPatchCall)AllowMissing

AllowMissing sets the optional parameter "allowMissing": If true and theConnector is not found, a new Connector will be created. In this case,`update_mask` is ignored.

func (*ProjectsLocationsServicesConnectorsPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesConnectorsPatchCall)Do

Do executes the "firebasedataconnect.projects.locations.services.connectors.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesConnectorsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesConnectorsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesConnectorsPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsServicesConnectorsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Connector resource by theupdate. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.

func (*ProjectsLocationsServicesConnectorsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the Connector, but do not actually update it.

typeProjectsLocationsServicesConnectorsService

type ProjectsLocationsServicesConnectorsService struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesConnectorsService)Create

Create: Creates a new Connector in a given project and location. Theoperations are validated against and must be compatible with the activeschema. If the operations and schema are not compatible or if the schema isnot present, this will result in an error.

- parent: Value for parent.

func (*ProjectsLocationsServicesConnectorsService)Delete

Delete: Deletes a single Connector.

  • name: The name of the connector to delete, in the format: ```projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```.

func (*ProjectsLocationsServicesConnectorsService)ExecuteMutation

ExecuteMutation: Execute a predefined mutation in a Connector.

  • name: The resource name of the connector to find the predefined mutation,in the format: ```projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```.

func (*ProjectsLocationsServicesConnectorsService)ExecuteQuery

ExecuteQuery: Execute a predefined query in a Connector.

  • name: The resource name of the connector to find the predefined query, inthe format: ```projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```.

func (*ProjectsLocationsServicesConnectorsService)Get

Get: Gets details of a single Connector.

  • name: The name of the connector to retrieve, in the format: ```projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```.

func (*ProjectsLocationsServicesConnectorsService)ImpersonateMutationadded inv0.250.0

ImpersonateMutation: Impersonate a mutation defined on a Firebase DataConnect connector. It grants the admin SDK access to mutations defined inthe given connector. The caller can choose to impersonate a particularFirebase Auth user, or skip @auth completely.

  • name: The resource name of the connector to find the predefinedquery/mutation, in the format: ```projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```.

func (*ProjectsLocationsServicesConnectorsService)ImpersonateQueryadded inv0.250.0

ImpersonateQuery: Impersonate a query defined on a Firebase Data Connectconnector. It grants the admin SDK access to queries defined in the givenconnector. The caller can choose to impersonate a particular Firebase Authuser, or skip @auth completely.

  • name: The resource name of the connector to find the predefinedquery/mutation, in the format: ```projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```.

func (*ProjectsLocationsServicesConnectorsService)List

List: Lists Connectors in a given project and location.

- parent: Value of parent.

func (*ProjectsLocationsServicesConnectorsService)Patch

Patch: Updates the parameters of a single Connector, and creates a newConnectorRevision with the updated Connector. The operations are validatedagainst and must be compatible with the live schema. If the operations andschema are not compatible or if the schema is not present, this will resultin an error.

  • name: Identifier. The relative resource name of the connector, in theformat: ```projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```.

typeProjectsLocationsServicesCreateCall

type ProjectsLocationsServicesCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesCreateCall)Do

Do executes the "firebasedataconnect.projects.locations.services.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsServicesCreateCall)ServiceId

ServiceId sets the optional parameter "serviceId": Required. The ID to usefor the service, which will become the final component of the service'sresource name.

func (*ProjectsLocationsServicesCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the Service, but do not actually create it.

typeProjectsLocationsServicesDeleteCall

type ProjectsLocationsServicesDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesDeleteCall)AllowMissing

AllowMissing sets the optional parameter "allowMissing": If true and theService is not found, the request will succeed but no action will be takenon the server.

func (*ProjectsLocationsServicesDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesDeleteCall)Do

Do executes the "firebasedataconnect.projects.locations.services.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesDeleteCall)Etag

Etag sets the optional parameter "etag": The etag of the Service. If this isprovided, it must match the server's etag.

func (*ProjectsLocationsServicesDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesDeleteCall)Force

Force sets the optional parameter "force": If set to true, any childresources (i.e. Schema, SchemaRevisions, Connectors, and ConnectorRevisions)will also be deleted. Otherwise, the request will only work if the Servicehas no child resources.

func (*ProjectsLocationsServicesDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsServicesDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the Service, but do not actually delete it.

typeProjectsLocationsServicesExecuteGraphqlCall

type ProjectsLocationsServicesExecuteGraphqlCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesExecuteGraphqlCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesExecuteGraphqlCall)Do

Do executes the "firebasedataconnect.projects.locations.services.executeGraphql" call.Any non-2xx status code is an error. Response headers are in either*GraphqlResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsServicesExecuteGraphqlCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesExecuteGraphqlCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsServicesExecuteGraphqlReadCall

type ProjectsLocationsServicesExecuteGraphqlReadCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesExecuteGraphqlReadCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesExecuteGraphqlReadCall)Do

Do executes the "firebasedataconnect.projects.locations.services.executeGraphqlRead" call.Any non-2xx status code is an error. Response headers are in either*GraphqlResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsServicesExecuteGraphqlReadCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesExecuteGraphqlReadCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsServicesGetCall

type ProjectsLocationsServicesGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesGetCall)Do

Do executes the "firebasedataconnect.projects.locations.services.get" call.Any non-2xx status code is an error. Response headers are in either*Service.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsServicesIntrospectGraphqlCalladded inv0.250.0

type ProjectsLocationsServicesIntrospectGraphqlCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesIntrospectGraphqlCall)Contextadded inv0.250.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesIntrospectGraphqlCall)Doadded inv0.250.0

Do executes the "firebasedataconnect.projects.locations.services.introspectGraphql" call.Any non-2xx status code is an error. Response headers are in either*GraphqlResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsServicesIntrospectGraphqlCall)Fieldsadded inv0.250.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesIntrospectGraphqlCall)Headeradded inv0.250.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsServicesListCall

type ProjectsLocationsServicesListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesListCall)Do

Do executes the "firebasedataconnect.projects.locations.services.list" call.Any non-2xx status code is an error. Response headers are in either*ListServicesResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsServicesListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesListCall)Filter

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsServicesListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsServicesListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Hint for how to order theresults.

func (*ProjectsLocationsServicesListCall)PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, server will pick anappropriate default.

func (*ProjectsLocationsServicesListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListServices` call. Provide this to retrieve the subsequentpage. When paginating, all other parameters provided to `ListServices` mustmatch the call that provided the page token.

func (*ProjectsLocationsServicesListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsServicesPatchCall

type ProjectsLocationsServicesPatchCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesPatchCall)AllowMissing

AllowMissing sets the optional parameter "allowMissing": If true and theService is not found, a new Service will be created. In this case,`update_mask` is ignored.

func (*ProjectsLocationsServicesPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesPatchCall)Do

Do executes the "firebasedataconnect.projects.locations.services.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsServicesPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Service resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask. If theuser does not provide a mask then all fields will be overwritten.

func (*ProjectsLocationsServicesPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the Service, but do not actually update it.

typeProjectsLocationsServicesSchemasCreateCall

type ProjectsLocationsServicesSchemasCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesSchemasCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesSchemasCreateCall)Do

Do executes the "firebasedataconnect.projects.locations.services.schemas.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesSchemasCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesSchemasCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesSchemasCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsServicesSchemasCreateCall)SchemaId

SchemaId sets the optional parameter "schemaId": Required. The ID to use forthe schema, which will become the final component of the schema's resourcename. Currently, only `main` is supported and any other schema ID willresult in an error.

func (*ProjectsLocationsServicesSchemasCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the Schema, but do not actually update it.

typeProjectsLocationsServicesSchemasDeleteCall

type ProjectsLocationsServicesSchemasDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesSchemasDeleteCall)AllowMissing

AllowMissing sets the optional parameter "allowMissing": If true and theSchema is not found, the request will succeed but no action will be taken onthe server.

func (*ProjectsLocationsServicesSchemasDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesSchemasDeleteCall)Do

Do executes the "firebasedataconnect.projects.locations.services.schemas.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesSchemasDeleteCall)Etag

Etag sets the optional parameter "etag": The etag of the Schema. If this isprovided, it must match the server's etag.

func (*ProjectsLocationsServicesSchemasDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesSchemasDeleteCall)Force

Force sets the optional parameter "force": If set to true, any childresources (i.e. SchemaRevisions) will also be deleted.

func (*ProjectsLocationsServicesSchemasDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesSchemasDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsServicesSchemasDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the Schema, but do not actually delete it.

typeProjectsLocationsServicesSchemasGetCall

type ProjectsLocationsServicesSchemasGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesSchemasGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesSchemasGetCall)Do

Do executes the "firebasedataconnect.projects.locations.services.schemas.get" call.Any non-2xx status code is an error. Response headers are in either*Schema.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesSchemasGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesSchemasGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesSchemasGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsServicesSchemasListCall

type ProjectsLocationsServicesSchemasListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesSchemasListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesSchemasListCall)Do

Do executes the "firebasedataconnect.projects.locations.services.schemas.list" call.Any non-2xx status code is an error. Response headers are in either*ListSchemasResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsServicesSchemasListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesSchemasListCall)Filter

Filter sets the optional parameter "filter": Filtering results.

func (*ProjectsLocationsServicesSchemasListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesSchemasListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsServicesSchemasListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Hint for how to order theresults.

func (*ProjectsLocationsServicesSchemasListCall)PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, server will pick anappropriate default.

func (*ProjectsLocationsServicesSchemasListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListSchemas` call. Provide this to retrieve the subsequentpage. When paginating, all other parameters provided to `ListSchemas` mustmatch the call that provided the page token.

func (*ProjectsLocationsServicesSchemasListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsServicesSchemasPatchCall

type ProjectsLocationsServicesSchemasPatchCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesSchemasPatchCall)AllowMissing

AllowMissing sets the optional parameter "allowMissing": If true and theSchema is not found, a new Schema will be created. In this case,`update_mask` is ignored.

func (*ProjectsLocationsServicesSchemasPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsServicesSchemasPatchCall)Do

Do executes the "firebasedataconnect.projects.locations.services.schemas.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsServicesSchemasPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsServicesSchemasPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsServicesSchemasPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsServicesSchemasPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Field mask is used tospecify the fields to be overwritten in the Schema resource by the update.The fields specified in the update_mask are relative to the resource, notthe full request. A field will be overwritten if it is in the mask. If theuser does not provide a mask then all fields will be overwritten.

func (*ProjectsLocationsServicesSchemasPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the Schema, but do not actually update it.

typeProjectsLocationsServicesSchemasService

type ProjectsLocationsServicesSchemasService struct {// contains filtered or unexported fields}

func (*ProjectsLocationsServicesSchemasService)Create

Create: Creates a new Schema in a given project and location. Only creationof `schemas/main` is supported and calling create with any other schema IDwill result in an error.

- parent: Value for parent.

func (*ProjectsLocationsServicesSchemasService)Delete

Delete: Deletes a single Schema. Because the schema and connectors must becompatible at all times, if this is called while any connectors are active,this will result in an error.

  • name: The name of the schema to delete, in the format: ```projects/{project}/locations/{location}/services/{service}/schemas/{schema}```.

func (*ProjectsLocationsServicesSchemasService)Get

Get: Gets details of a single Schema.

  • name: The name of the schema to retrieve, in the format: ```projects/{project}/locations/{location}/services/{service}/schemas/{schema}```.

func (*ProjectsLocationsServicesSchemasService)List

List: Lists Schemas in a given project and location.

- parent: Value of parent.

func (*ProjectsLocationsServicesSchemasService)Patch

Patch: Updates the parameters of a single Schema, and creates a newSchemaRevision with the updated Schema.

  • name: Identifier. The relative resource name of the schema, in the format:```projects/{project}/locations/{location}/services/{service}/schemas/{schema}``` Right now, the only supported schema is "main".

typeProjectsLocationsServicesService

type ProjectsLocationsServicesService struct {Connectors *ProjectsLocationsServicesConnectorsServiceSchemas *ProjectsLocationsServicesSchemasService// contains filtered or unexported fields}

func (*ProjectsLocationsServicesService)Create

Create: Creates a new Service in a given project and location.

- parent: Value of parent.

func (*ProjectsLocationsServicesService)Delete

Delete: Deletes a single Service.

  • name: The name of the service to delete, in the format: ```projects/{project}/locations/{location}/services/{service} ```.

func (*ProjectsLocationsServicesService)ExecuteGraphql

ExecuteGraphql: Execute any GraphQL query and mutation against the FirebaseData Connect's generated GraphQL schema. Grants full read and write accessto the connected data sources. Note: Use introspection query to explore thegenerated GraphQL schema.

  • name: The relative resource name of Firebase Data Connect service, in theformat: ``` projects/{project}/locations/{location}/services/{service} ```.

func (*ProjectsLocationsServicesService)ExecuteGraphqlRead

ExecuteGraphqlRead: Execute any GraphQL query against the Firebase DataConnect's generated GraphQL schema. Grants full read to the connected datasources. `ExecuteGraphqlRead` is identical to `ExecuteGraphql` except itonly accepts read-only query.

  • name: The relative resource name of Firebase Data Connect service, in theformat: ``` projects/{project}/locations/{location}/services/{service} ```.

func (*ProjectsLocationsServicesService)Get

Get: Gets details of a single Service.

  • name: The name of the service to retrieve, in the format: ```projects/{project}/locations/{location}/services/{service} ```.

func (*ProjectsLocationsServicesService)IntrospectGraphqladded inv0.250.0

IntrospectGraphql: Execute introspection query against the Firebase DataConnect's generated GraphQL schema. GraphQL introspection query providesmetadata such as what tables the schema have, what queries and mutations canbe performed on the schema, and so on. Read more athttps://graphql.org/learn/introspection. IntrospectGraphql can read schemametadata but cannot read rows from Cloud SQL instance, which can be done viaExecuteGraphqlRead.

  • name: The relative resource name of Firebase Data Connect service, in theformat: ``` projects/{project}/locations/{location}/services/{service} ```.

func (*ProjectsLocationsServicesService)List

List: Lists Services in a given project and location.

- parent: Value of parent.

func (*ProjectsLocationsServicesService)Patch

Patch: Updates the parameters of a single Service.

  • name: Identifier. The relative resource name of the Firebase Data Connectservice, in the format: ```projects/{project}/locations/{location}/services/{service} ``` Note thatthe service ID is specific to Firebase Data Connect and does notcorrespond to any of the instance IDs of the underlying data sourceconnections.

typeProjectsService

type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}

funcNewProjectsService

func NewProjectsService(s *APIService) *ProjectsService

typeSchema

type Schema struct {// Annotations: Optional. Stores small amounts of arbitrary data.Annotations map[string]string `json:"annotations,omitempty"`// CreateTime: Output only. [Output only] Create time stamp.CreateTimestring `json:"createTime,omitempty"`// Datasources: Required. The data sources linked in the schema.Datasources []*Datasource `json:"datasources,omitempty"`// DisplayName: Optional. Mutable human-readable name. 63 character limit.DisplayNamestring `json:"displayName,omitempty"`// Etag: Output only. This checksum is computed by the server based on the// value of other fields, and may be sent on update and delete requests to// ensure the client has an up-to-date value before proceeding. AIP-154// (https://google.aip.dev/154)Etagstring `json:"etag,omitempty"`// Labels: Optional. Labels as key value pairs.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. The relative resource name of the schema, in the format:// “`// projects/{project}/locations/{location}/services/{service}/schemas/{schema}// “` Right now, the only supported schema is "main".Namestring `json:"name,omitempty"`// Reconciling: Output only. A field that if true, indicates that the system is// working to compile and deploy the schema.Reconcilingbool `json:"reconciling,omitempty"`// Source: Required. The source files that comprise the application schema.Source *Source `json:"source,omitempty"`// Uid: Output only. System-assigned, unique identifier.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. [Output only] Update time stamp.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Schema: The application schema of a Firebase Data Connect service.

func (Schema)MarshalJSON

func (sSchema) MarshalJSON() ([]byte,error)

typeService

type Service struct {// Annotations: Optional. Stores small amounts of arbitrary data.Annotations map[string]string `json:"annotations,omitempty"`// CreateTime: Output only. [Output only] Create time stamp.CreateTimestring `json:"createTime,omitempty"`// DisplayName: Optional. Mutable human-readable name. 63 character limit.DisplayNamestring `json:"displayName,omitempty"`// Etag: Output only. This checksum is computed by the server based on the// value of other fields, and may be sent on update and delete requests to// ensure the client has an up-to-date value before proceeding. AIP-154// (https://google.aip.dev/154)Etagstring `json:"etag,omitempty"`// Labels: Optional. Labels as key value pairs.Labels map[string]string `json:"labels,omitempty"`// Name: Identifier. The relative resource name of the Firebase Data Connect// service, in the format: “`// projects/{project}/locations/{location}/services/{service} “` Note that the// service ID is specific to Firebase Data Connect and does not correspond to// any of the instance IDs of the underlying data source connections.Namestring `json:"name,omitempty"`// Reconciling: Output only. A field that if true, indicates that the system is// working update the service.Reconcilingbool `json:"reconciling,omitempty"`// Uid: Output only. System-assigned, unique identifier.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. [Output only] Update time stamp.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Service: A Firebase Data Connect service.

func (Service)MarshalJSON

func (sService) MarshalJSON() ([]byte,error)

typeSource

type Source struct {// Files: Required. The files that comprise the source set.Files []*File `json:"files,omitempty"`// ForceSendFields is a list of field names (e.g. "Files") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Files") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Source: Used to represent a set of source files.

func (Source)MarshalJSON

func (sSource) MarshalJSON() ([]byte,error)

typeSourceLocation

type SourceLocation struct {// Column: Column number starting at 1.Columnint64 `json:"column,omitempty"`// Line: Line number starting at 1.Lineint64 `json:"line,omitempty"`// ForceSendFields is a list of field names (e.g. "Column") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Column") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SourceLocation: SourceLocation references a location in a GraphQL source.

func (SourceLocation)MarshalJSON

func (sSourceLocation) MarshalJSON() ([]byte,error)

typeStatus

type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in English. Any// user-facing error message should be localized and sent in the// google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Status: The `Status` type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each `Status` message contains threepieces of data: error code, error message, and error details. You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).

func (Status)MarshalJSON

func (sStatus) MarshalJSON() ([]byte,error)

typeWorkaroundadded inv0.254.0

type Workaround struct {// Description: Description of this workaround.Descriptionstring `json:"description,omitempty"`// Reason: Why would this workaround address the error and warning.Reasonstring `json:"reason,omitempty"`// Replace: A suggested code snippet to fix the error and warning.Replacestring `json:"replace,omitempty"`// ForceSendFields is a list of field names (e.g. "Description") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Description") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Workaround: Workaround provides suggestions to address errors and warnings.

func (Workaround)MarshalJSONadded inv0.254.0

func (sWorkaround) MarshalJSON() ([]byte,error)

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp