firebasedataconnect
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
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
- type APIService
- type CancelOperationRequest
- type CloudSqlInstance
- type Connector
- type Datasource
- type Empty
- type ExecuteMutationRequest
- type ExecuteMutationResponse
- type ExecuteQueryRequest
- type ExecuteQueryResponse
- type File
- type GraphqlError
- type GraphqlErrorExtensions
- type GraphqlRequest
- type GraphqlRequestExtensions
- type GraphqlResponse
- type ImpersonateRequest
- type Impersonation
- type ListConnectorsResponse
- type ListLocationsResponse
- type ListOperationsResponse
- type ListSchemasResponse
- type ListServicesResponse
- type Location
- type Operation
- type OperationMetadata
- type PostgreSql
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- type ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsService
- type ProjectsLocationsServicesConnectorsCreateCall
- func (c *ProjectsLocationsServicesConnectorsCreateCall) ConnectorId(connectorId string) *ProjectsLocationsServicesConnectorsCreateCall
- func (c *ProjectsLocationsServicesConnectorsCreateCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsCreateCall
- func (c *ProjectsLocationsServicesConnectorsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesConnectorsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsCreateCall
- func (c *ProjectsLocationsServicesConnectorsCreateCall) Header() http.Header
- func (c *ProjectsLocationsServicesConnectorsCreateCall) RequestId(requestId string) *ProjectsLocationsServicesConnectorsCreateCall
- func (c *ProjectsLocationsServicesConnectorsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsServicesConnectorsCreateCall
- type ProjectsLocationsServicesConnectorsDeleteCall
- func (c *ProjectsLocationsServicesConnectorsDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsServicesConnectorsDeleteCall
- func (c *ProjectsLocationsServicesConnectorsDeleteCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsDeleteCall
- func (c *ProjectsLocationsServicesConnectorsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesConnectorsDeleteCall) Etag(etag string) *ProjectsLocationsServicesConnectorsDeleteCall
- func (c *ProjectsLocationsServicesConnectorsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsDeleteCall
- func (c *ProjectsLocationsServicesConnectorsDeleteCall) Force(force bool) *ProjectsLocationsServicesConnectorsDeleteCall
- func (c *ProjectsLocationsServicesConnectorsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsServicesConnectorsDeleteCall) RequestId(requestId string) *ProjectsLocationsServicesConnectorsDeleteCall
- func (c *ProjectsLocationsServicesConnectorsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsServicesConnectorsDeleteCall
- type ProjectsLocationsServicesConnectorsExecuteMutationCall
- func (c *ProjectsLocationsServicesConnectorsExecuteMutationCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsExecuteMutationCall
- func (c *ProjectsLocationsServicesConnectorsExecuteMutationCall) Do(opts ...googleapi.CallOption) (*ExecuteMutationResponse, error)
- func (c *ProjectsLocationsServicesConnectorsExecuteMutationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsExecuteMutationCall
- func (c *ProjectsLocationsServicesConnectorsExecuteMutationCall) Header() http.Header
- type ProjectsLocationsServicesConnectorsExecuteQueryCall
- func (c *ProjectsLocationsServicesConnectorsExecuteQueryCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsExecuteQueryCall
- func (c *ProjectsLocationsServicesConnectorsExecuteQueryCall) Do(opts ...googleapi.CallOption) (*ExecuteQueryResponse, error)
- func (c *ProjectsLocationsServicesConnectorsExecuteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsExecuteQueryCall
- func (c *ProjectsLocationsServicesConnectorsExecuteQueryCall) Header() http.Header
- type ProjectsLocationsServicesConnectorsGetCall
- func (c *ProjectsLocationsServicesConnectorsGetCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsGetCall
- func (c *ProjectsLocationsServicesConnectorsGetCall) Do(opts ...googleapi.CallOption) (*Connector, error)
- func (c *ProjectsLocationsServicesConnectorsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsGetCall
- func (c *ProjectsLocationsServicesConnectorsGetCall) Header() http.Header
- func (c *ProjectsLocationsServicesConnectorsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesConnectorsGetCall
- type ProjectsLocationsServicesConnectorsImpersonateMutationCall
- func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsImpersonateMutationCall
- func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse, error)
- func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsImpersonateMutationCall
- func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Header() http.Header
- type ProjectsLocationsServicesConnectorsImpersonateQueryCall
- func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsImpersonateQueryCall
- func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse, error)
- func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsImpersonateQueryCall
- func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Header() http.Header
- type ProjectsLocationsServicesConnectorsListCall
- func (c *ProjectsLocationsServicesConnectorsListCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsListCall
- func (c *ProjectsLocationsServicesConnectorsListCall) Do(opts ...googleapi.CallOption) (*ListConnectorsResponse, error)
- func (c *ProjectsLocationsServicesConnectorsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsListCall
- func (c *ProjectsLocationsServicesConnectorsListCall) Filter(filter string) *ProjectsLocationsServicesConnectorsListCall
- func (c *ProjectsLocationsServicesConnectorsListCall) Header() http.Header
- func (c *ProjectsLocationsServicesConnectorsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesConnectorsListCall
- func (c *ProjectsLocationsServicesConnectorsListCall) OrderBy(orderBy string) *ProjectsLocationsServicesConnectorsListCall
- func (c *ProjectsLocationsServicesConnectorsListCall) PageSize(pageSize int64) *ProjectsLocationsServicesConnectorsListCall
- func (c *ProjectsLocationsServicesConnectorsListCall) PageToken(pageToken string) *ProjectsLocationsServicesConnectorsListCall
- func (c *ProjectsLocationsServicesConnectorsListCall) Pages(ctx context.Context, f func(*ListConnectorsResponse) error) error
- type ProjectsLocationsServicesConnectorsPatchCall
- func (c *ProjectsLocationsServicesConnectorsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsServicesConnectorsPatchCall
- func (c *ProjectsLocationsServicesConnectorsPatchCall) Context(ctx context.Context) *ProjectsLocationsServicesConnectorsPatchCall
- func (c *ProjectsLocationsServicesConnectorsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesConnectorsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsPatchCall
- func (c *ProjectsLocationsServicesConnectorsPatchCall) Header() http.Header
- func (c *ProjectsLocationsServicesConnectorsPatchCall) RequestId(requestId string) *ProjectsLocationsServicesConnectorsPatchCall
- func (c *ProjectsLocationsServicesConnectorsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsServicesConnectorsPatchCall
- func (c *ProjectsLocationsServicesConnectorsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsServicesConnectorsPatchCall
- type ProjectsLocationsServicesConnectorsService
- func (r *ProjectsLocationsServicesConnectorsService) Create(parent string, connector *Connector) *ProjectsLocationsServicesConnectorsCreateCall
- func (r *ProjectsLocationsServicesConnectorsService) Delete(name string) *ProjectsLocationsServicesConnectorsDeleteCall
- func (r *ProjectsLocationsServicesConnectorsService) ExecuteMutation(name string, executemutationrequest *ExecuteMutationRequest) *ProjectsLocationsServicesConnectorsExecuteMutationCall
- func (r *ProjectsLocationsServicesConnectorsService) ExecuteQuery(name string, executequeryrequest *ExecuteQueryRequest) *ProjectsLocationsServicesConnectorsExecuteQueryCall
- func (r *ProjectsLocationsServicesConnectorsService) Get(name string) *ProjectsLocationsServicesConnectorsGetCall
- func (r *ProjectsLocationsServicesConnectorsService) ImpersonateMutation(name string, impersonaterequest *ImpersonateRequest) *ProjectsLocationsServicesConnectorsImpersonateMutationCall
- func (r *ProjectsLocationsServicesConnectorsService) ImpersonateQuery(name string, impersonaterequest *ImpersonateRequest) *ProjectsLocationsServicesConnectorsImpersonateQueryCall
- func (r *ProjectsLocationsServicesConnectorsService) List(parent string) *ProjectsLocationsServicesConnectorsListCall
- func (r *ProjectsLocationsServicesConnectorsService) Patch(name string, connector *Connector) *ProjectsLocationsServicesConnectorsPatchCall
- type ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) Context(ctx context.Context) *ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) Header() http.Header
- func (c *ProjectsLocationsServicesCreateCall) RequestId(requestId string) *ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) ServiceId(serviceId string) *ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsServicesCreateCall
- type ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Context(ctx context.Context) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesDeleteCall) Etag(etag string) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Force(force bool) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsServicesDeleteCall) RequestId(requestId string) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsServicesDeleteCall
- type ProjectsLocationsServicesExecuteGraphqlCall
- func (c *ProjectsLocationsServicesExecuteGraphqlCall) Context(ctx context.Context) *ProjectsLocationsServicesExecuteGraphqlCall
- func (c *ProjectsLocationsServicesExecuteGraphqlCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse, error)
- func (c *ProjectsLocationsServicesExecuteGraphqlCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesExecuteGraphqlCall
- func (c *ProjectsLocationsServicesExecuteGraphqlCall) Header() http.Header
- type ProjectsLocationsServicesExecuteGraphqlReadCall
- func (c *ProjectsLocationsServicesExecuteGraphqlReadCall) Context(ctx context.Context) *ProjectsLocationsServicesExecuteGraphqlReadCall
- func (c *ProjectsLocationsServicesExecuteGraphqlReadCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse, error)
- func (c *ProjectsLocationsServicesExecuteGraphqlReadCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesExecuteGraphqlReadCall
- func (c *ProjectsLocationsServicesExecuteGraphqlReadCall) Header() http.Header
- type ProjectsLocationsServicesGetCall
- func (c *ProjectsLocationsServicesGetCall) Context(ctx context.Context) *ProjectsLocationsServicesGetCall
- func (c *ProjectsLocationsServicesGetCall) Do(opts ...googleapi.CallOption) (*Service, error)
- func (c *ProjectsLocationsServicesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesGetCall
- func (c *ProjectsLocationsServicesGetCall) Header() http.Header
- func (c *ProjectsLocationsServicesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesGetCall
- type ProjectsLocationsServicesIntrospectGraphqlCall
- func (c *ProjectsLocationsServicesIntrospectGraphqlCall) Context(ctx context.Context) *ProjectsLocationsServicesIntrospectGraphqlCall
- func (c *ProjectsLocationsServicesIntrospectGraphqlCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse, error)
- func (c *ProjectsLocationsServicesIntrospectGraphqlCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesIntrospectGraphqlCall
- func (c *ProjectsLocationsServicesIntrospectGraphqlCall) Header() http.Header
- type ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Context(ctx context.Context) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Do(opts ...googleapi.CallOption) (*ListServicesResponse, error)
- func (c *ProjectsLocationsServicesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Filter(filter string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Header() http.Header
- func (c *ProjectsLocationsServicesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) OrderBy(orderBy string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) PageSize(pageSize int64) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) PageToken(pageToken string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Pages(ctx context.Context, f func(*ListServicesResponse) error) error
- type ProjectsLocationsServicesPatchCall
- func (c *ProjectsLocationsServicesPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsServicesPatchCall
- func (c *ProjectsLocationsServicesPatchCall) Context(ctx context.Context) *ProjectsLocationsServicesPatchCall
- func (c *ProjectsLocationsServicesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesPatchCall
- func (c *ProjectsLocationsServicesPatchCall) Header() http.Header
- func (c *ProjectsLocationsServicesPatchCall) RequestId(requestId string) *ProjectsLocationsServicesPatchCall
- func (c *ProjectsLocationsServicesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsServicesPatchCall
- func (c *ProjectsLocationsServicesPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsServicesPatchCall
- type ProjectsLocationsServicesSchemasCreateCall
- func (c *ProjectsLocationsServicesSchemasCreateCall) Context(ctx context.Context) *ProjectsLocationsServicesSchemasCreateCall
- func (c *ProjectsLocationsServicesSchemasCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesSchemasCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSchemasCreateCall
- func (c *ProjectsLocationsServicesSchemasCreateCall) Header() http.Header
- func (c *ProjectsLocationsServicesSchemasCreateCall) RequestId(requestId string) *ProjectsLocationsServicesSchemasCreateCall
- func (c *ProjectsLocationsServicesSchemasCreateCall) SchemaId(schemaId string) *ProjectsLocationsServicesSchemasCreateCall
- func (c *ProjectsLocationsServicesSchemasCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsServicesSchemasCreateCall
- type ProjectsLocationsServicesSchemasDeleteCall
- func (c *ProjectsLocationsServicesSchemasDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsServicesSchemasDeleteCall
- func (c *ProjectsLocationsServicesSchemasDeleteCall) Context(ctx context.Context) *ProjectsLocationsServicesSchemasDeleteCall
- func (c *ProjectsLocationsServicesSchemasDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesSchemasDeleteCall) Etag(etag string) *ProjectsLocationsServicesSchemasDeleteCall
- func (c *ProjectsLocationsServicesSchemasDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSchemasDeleteCall
- func (c *ProjectsLocationsServicesSchemasDeleteCall) Force(force bool) *ProjectsLocationsServicesSchemasDeleteCall
- func (c *ProjectsLocationsServicesSchemasDeleteCall) Header() http.Header
- func (c *ProjectsLocationsServicesSchemasDeleteCall) RequestId(requestId string) *ProjectsLocationsServicesSchemasDeleteCall
- func (c *ProjectsLocationsServicesSchemasDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsServicesSchemasDeleteCall
- type ProjectsLocationsServicesSchemasGetCall
- func (c *ProjectsLocationsServicesSchemasGetCall) Context(ctx context.Context) *ProjectsLocationsServicesSchemasGetCall
- func (c *ProjectsLocationsServicesSchemasGetCall) Do(opts ...googleapi.CallOption) (*Schema, error)
- func (c *ProjectsLocationsServicesSchemasGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSchemasGetCall
- func (c *ProjectsLocationsServicesSchemasGetCall) Header() http.Header
- func (c *ProjectsLocationsServicesSchemasGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesSchemasGetCall
- type ProjectsLocationsServicesSchemasListCall
- func (c *ProjectsLocationsServicesSchemasListCall) Context(ctx context.Context) *ProjectsLocationsServicesSchemasListCall
- func (c *ProjectsLocationsServicesSchemasListCall) Do(opts ...googleapi.CallOption) (*ListSchemasResponse, error)
- func (c *ProjectsLocationsServicesSchemasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSchemasListCall
- func (c *ProjectsLocationsServicesSchemasListCall) Filter(filter string) *ProjectsLocationsServicesSchemasListCall
- func (c *ProjectsLocationsServicesSchemasListCall) Header() http.Header
- func (c *ProjectsLocationsServicesSchemasListCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesSchemasListCall
- func (c *ProjectsLocationsServicesSchemasListCall) OrderBy(orderBy string) *ProjectsLocationsServicesSchemasListCall
- func (c *ProjectsLocationsServicesSchemasListCall) PageSize(pageSize int64) *ProjectsLocationsServicesSchemasListCall
- func (c *ProjectsLocationsServicesSchemasListCall) PageToken(pageToken string) *ProjectsLocationsServicesSchemasListCall
- func (c *ProjectsLocationsServicesSchemasListCall) Pages(ctx context.Context, f func(*ListSchemasResponse) error) error
- type ProjectsLocationsServicesSchemasPatchCall
- func (c *ProjectsLocationsServicesSchemasPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsServicesSchemasPatchCall
- func (c *ProjectsLocationsServicesSchemasPatchCall) Context(ctx context.Context) *ProjectsLocationsServicesSchemasPatchCall
- func (c *ProjectsLocationsServicesSchemasPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsServicesSchemasPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSchemasPatchCall
- func (c *ProjectsLocationsServicesSchemasPatchCall) Header() http.Header
- func (c *ProjectsLocationsServicesSchemasPatchCall) RequestId(requestId string) *ProjectsLocationsServicesSchemasPatchCall
- func (c *ProjectsLocationsServicesSchemasPatchCall) UpdateMask(updateMask string) *ProjectsLocationsServicesSchemasPatchCall
- func (c *ProjectsLocationsServicesSchemasPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsServicesSchemasPatchCall
- type ProjectsLocationsServicesSchemasService
- func (r *ProjectsLocationsServicesSchemasService) Create(parent string, schema *Schema) *ProjectsLocationsServicesSchemasCreateCall
- func (r *ProjectsLocationsServicesSchemasService) Delete(name string) *ProjectsLocationsServicesSchemasDeleteCall
- func (r *ProjectsLocationsServicesSchemasService) Get(name string) *ProjectsLocationsServicesSchemasGetCall
- func (r *ProjectsLocationsServicesSchemasService) List(parent string) *ProjectsLocationsServicesSchemasListCall
- func (r *ProjectsLocationsServicesSchemasService) Patch(name string, schema *Schema) *ProjectsLocationsServicesSchemasPatchCall
- type ProjectsLocationsServicesService
- func (r *ProjectsLocationsServicesService) Create(parent string, service *Service) *ProjectsLocationsServicesCreateCall
- func (r *ProjectsLocationsServicesService) Delete(name string) *ProjectsLocationsServicesDeleteCall
- func (r *ProjectsLocationsServicesService) ExecuteGraphql(name string, graphqlrequest *GraphqlRequest) *ProjectsLocationsServicesExecuteGraphqlCall
- func (r *ProjectsLocationsServicesService) ExecuteGraphqlRead(name string, graphqlrequest *GraphqlRequest) *ProjectsLocationsServicesExecuteGraphqlReadCall
- func (r *ProjectsLocationsServicesService) Get(name string) *ProjectsLocationsServicesGetCall
- func (r *ProjectsLocationsServicesService) IntrospectGraphql(name string, graphqlrequest *GraphqlRequest) *ProjectsLocationsServicesIntrospectGraphqlCall
- func (r *ProjectsLocationsServicesService) List(parent string) *ProjectsLocationsServicesListCall
- func (r *ProjectsLocationsServicesService) Patch(name string, service *Service) *ProjectsLocationsServicesPatchCall
- type ProjectsService
- type Schema
- type Service
- type Source
- type SourceLocation
- type Status
- type Workaround
Constants¶
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¶
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¶
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)
typeImpersonateRequest¶added 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)MarshalJSON¶added 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¶
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¶
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¶
func (c *ProjectsLocationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGetCall)Do¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location,error)
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¶
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGetCall)Header¶
func (c *ProjectsLocationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGetCall
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¶
func (c *ProjectsLocationsListCall) Context(ctxcontext.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsListCall)Do¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse,error)
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¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsListCall)Filter¶
func (c *ProjectsLocationsListCall) Filter(filterstring) *ProjectsLocationsListCall
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¶
func (c *ProjectsLocationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsListCall
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¶
func (c *ProjectsLocationsListCall) PageSize(pageSizeint64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall)PageToken¶
func (c *ProjectsLocationsListCall) PageToken(pageTokenstring) *ProjectsLocationsListCall
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¶
func (c *ProjectsLocationsListCall) Pages(ctxcontext.Context, f func(*ListLocationsResponse)error)error
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¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsCancelCall)Do¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty,error)
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¶
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsCancelCall)Header¶
func (c *ProjectsLocationsOperationsCancelCall) Header()http.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¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsDeleteCall)Do¶
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
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¶
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsDeleteCall)Header¶
func (c *ProjectsLocationsOperationsDeleteCall) Header()http.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¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsGetCall)Do¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsGetCall)Header¶
func (c *ProjectsLocationsOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsGetCall
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¶
func (c *ProjectsLocationsOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsListCall)Do¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
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¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsListCall)Filter¶
func (c *ProjectsLocationsOperationsListCall) Filter(filterstring) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall)Header¶
func (c *ProjectsLocationsOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsListCall
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¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsOperationsListCall)PageToken¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsOperationsListCall)Pages¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
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)ReturnPartialSuccess¶added 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}funcNewProjectsLocationsOperationsService¶
func NewProjectsLocationsOperationsService(s *APIService) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService)Cancel¶
func (r *ProjectsLocationsOperationsService) Cancel(namestring, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
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¶
func (r *ProjectsLocationsOperationsService) Delete(namestring) *ProjectsLocationsOperationsDeleteCall
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¶
func (r *ProjectsLocationsOperationsService) Get(namestring) *ProjectsLocationsOperationsGetCall
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¶
func (r *ProjectsLocationsOperationsService) List(namestring) *ProjectsLocationsOperationsListCall
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¶
func (r *ProjectsLocationsService) Get(namestring) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService)List¶
func (r *ProjectsLocationsService) List(namestring) *ProjectsLocationsListCall
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¶
func (c *ProjectsLocationsServicesConnectorsCreateCall) ConnectorId(connectorIdstring) *ProjectsLocationsServicesConnectorsCreateCall
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¶
func (c *ProjectsLocationsServicesConnectorsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsServicesConnectorsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesConnectorsCreateCall)Do¶
func (c *ProjectsLocationsServicesConnectorsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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¶
func (c *ProjectsLocationsServicesConnectorsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesConnectorsCreateCall)Header¶
func (c *ProjectsLocationsServicesConnectorsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesConnectorsCreateCall)RequestId¶
func (c *ProjectsLocationsServicesConnectorsCreateCall) RequestId(requestIdstring) *ProjectsLocationsServicesConnectorsCreateCall
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¶
func (c *ProjectsLocationsServicesConnectorsCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsServicesConnectorsCreateCall
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¶
func (c *ProjectsLocationsServicesConnectorsDeleteCall) AllowMissing(allowMissingbool) *ProjectsLocationsServicesConnectorsDeleteCall
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¶
func (c *ProjectsLocationsServicesConnectorsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsServicesConnectorsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesConnectorsDeleteCall)Do¶
func (c *ProjectsLocationsServicesConnectorsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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¶
func (c *ProjectsLocationsServicesConnectorsDeleteCall) Etag(etagstring) *ProjectsLocationsServicesConnectorsDeleteCall
Etag sets the optional parameter "etag": The etag of the Connector. If thisis provided, it must match the server's etag.
func (*ProjectsLocationsServicesConnectorsDeleteCall)Fields¶
func (c *ProjectsLocationsServicesConnectorsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesConnectorsDeleteCall)Force¶
func (c *ProjectsLocationsServicesConnectorsDeleteCall) Force(forcebool) *ProjectsLocationsServicesConnectorsDeleteCall
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¶
func (c *ProjectsLocationsServicesConnectorsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesConnectorsDeleteCall)RequestId¶
func (c *ProjectsLocationsServicesConnectorsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsServicesConnectorsDeleteCall
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¶
func (c *ProjectsLocationsServicesConnectorsDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsServicesConnectorsDeleteCall
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¶
func (c *ProjectsLocationsServicesConnectorsExecuteMutationCall) Context(ctxcontext.Context) *ProjectsLocationsServicesConnectorsExecuteMutationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesConnectorsExecuteMutationCall)Do¶
func (c *ProjectsLocationsServicesConnectorsExecuteMutationCall) Do(opts ...googleapi.CallOption) (*ExecuteMutationResponse,error)
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¶
func (c *ProjectsLocationsServicesConnectorsExecuteMutationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsExecuteMutationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesConnectorsExecuteMutationCall)Header¶
func (c *ProjectsLocationsServicesConnectorsExecuteMutationCall) Header()http.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¶
func (c *ProjectsLocationsServicesConnectorsExecuteQueryCall) Context(ctxcontext.Context) *ProjectsLocationsServicesConnectorsExecuteQueryCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesConnectorsExecuteQueryCall)Do¶
func (c *ProjectsLocationsServicesConnectorsExecuteQueryCall) Do(opts ...googleapi.CallOption) (*ExecuteQueryResponse,error)
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¶
func (c *ProjectsLocationsServicesConnectorsExecuteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsExecuteQueryCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesConnectorsExecuteQueryCall)Header¶
func (c *ProjectsLocationsServicesConnectorsExecuteQueryCall) Header()http.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¶
func (c *ProjectsLocationsServicesConnectorsGetCall) Context(ctxcontext.Context) *ProjectsLocationsServicesConnectorsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesConnectorsGetCall)Do¶
func (c *ProjectsLocationsServicesConnectorsGetCall) Do(opts ...googleapi.CallOption) (*Connector,error)
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¶
func (c *ProjectsLocationsServicesConnectorsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesConnectorsGetCall)Header¶
func (c *ProjectsLocationsServicesConnectorsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesConnectorsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesConnectorsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesConnectorsGetCall
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.
typeProjectsLocationsServicesConnectorsImpersonateMutationCall¶added inv0.250.0
type ProjectsLocationsServicesConnectorsImpersonateMutationCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesConnectorsImpersonateMutationCall)Context¶added inv0.250.0
func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Context(ctxcontext.Context) *ProjectsLocationsServicesConnectorsImpersonateMutationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesConnectorsImpersonateMutationCall)Do¶added inv0.250.0
func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse,error)
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)Fields¶added inv0.250.0
func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsImpersonateMutationCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesConnectorsImpersonateMutationCall)Header¶added inv0.250.0
func (c *ProjectsLocationsServicesConnectorsImpersonateMutationCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsServicesConnectorsImpersonateQueryCall¶added inv0.250.0
type ProjectsLocationsServicesConnectorsImpersonateQueryCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesConnectorsImpersonateQueryCall)Context¶added inv0.250.0
func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Context(ctxcontext.Context) *ProjectsLocationsServicesConnectorsImpersonateQueryCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesConnectorsImpersonateQueryCall)Do¶added inv0.250.0
func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse,error)
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)Fields¶added inv0.250.0
func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsImpersonateQueryCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesConnectorsImpersonateQueryCall)Header¶added inv0.250.0
func (c *ProjectsLocationsServicesConnectorsImpersonateQueryCall) Header()http.Header
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¶
func (c *ProjectsLocationsServicesConnectorsListCall) Context(ctxcontext.Context) *ProjectsLocationsServicesConnectorsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesConnectorsListCall)Do¶
func (c *ProjectsLocationsServicesConnectorsListCall) Do(opts ...googleapi.CallOption) (*ListConnectorsResponse,error)
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¶
func (c *ProjectsLocationsServicesConnectorsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesConnectorsListCall)Filter¶
func (c *ProjectsLocationsServicesConnectorsListCall) Filter(filterstring) *ProjectsLocationsServicesConnectorsListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsServicesConnectorsListCall)Header¶
func (c *ProjectsLocationsServicesConnectorsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesConnectorsListCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesConnectorsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesConnectorsListCall
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¶
func (c *ProjectsLocationsServicesConnectorsListCall) OrderBy(orderBystring) *ProjectsLocationsServicesConnectorsListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order theresults.
func (*ProjectsLocationsServicesConnectorsListCall)PageSize¶
func (c *ProjectsLocationsServicesConnectorsListCall) PageSize(pageSizeint64) *ProjectsLocationsServicesConnectorsListCall
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¶
func (c *ProjectsLocationsServicesConnectorsListCall) PageToken(pageTokenstring) *ProjectsLocationsServicesConnectorsListCall
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¶
func (c *ProjectsLocationsServicesConnectorsListCall) Pages(ctxcontext.Context, f func(*ListConnectorsResponse)error)error
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¶
func (c *ProjectsLocationsServicesConnectorsPatchCall) AllowMissing(allowMissingbool) *ProjectsLocationsServicesConnectorsPatchCall
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¶
func (c *ProjectsLocationsServicesConnectorsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsServicesConnectorsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesConnectorsPatchCall)Do¶
func (c *ProjectsLocationsServicesConnectorsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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¶
func (c *ProjectsLocationsServicesConnectorsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesConnectorsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesConnectorsPatchCall)Header¶
func (c *ProjectsLocationsServicesConnectorsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesConnectorsPatchCall)RequestId¶
func (c *ProjectsLocationsServicesConnectorsPatchCall) RequestId(requestIdstring) *ProjectsLocationsServicesConnectorsPatchCall
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¶
func (c *ProjectsLocationsServicesConnectorsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsServicesConnectorsPatchCall
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¶
func (c *ProjectsLocationsServicesConnectorsPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsServicesConnectorsPatchCall
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}funcNewProjectsLocationsServicesConnectorsService¶
func NewProjectsLocationsServicesConnectorsService(s *APIService) *ProjectsLocationsServicesConnectorsService
func (*ProjectsLocationsServicesConnectorsService)Create¶
func (r *ProjectsLocationsServicesConnectorsService) Create(parentstring, connector *Connector) *ProjectsLocationsServicesConnectorsCreateCall
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¶
func (r *ProjectsLocationsServicesConnectorsService) Delete(namestring) *ProjectsLocationsServicesConnectorsDeleteCall
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¶
func (r *ProjectsLocationsServicesConnectorsService) ExecuteMutation(namestring, executemutationrequest *ExecuteMutationRequest) *ProjectsLocationsServicesConnectorsExecuteMutationCall
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¶
func (r *ProjectsLocationsServicesConnectorsService) ExecuteQuery(namestring, executequeryrequest *ExecuteQueryRequest) *ProjectsLocationsServicesConnectorsExecuteQueryCall
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¶
func (r *ProjectsLocationsServicesConnectorsService) Get(namestring) *ProjectsLocationsServicesConnectorsGetCall
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)ImpersonateMutation¶added inv0.250.0
func (r *ProjectsLocationsServicesConnectorsService) ImpersonateMutation(namestring, impersonaterequest *ImpersonateRequest) *ProjectsLocationsServicesConnectorsImpersonateMutationCall
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)ImpersonateQuery¶added inv0.250.0
func (r *ProjectsLocationsServicesConnectorsService) ImpersonateQuery(namestring, impersonaterequest *ImpersonateRequest) *ProjectsLocationsServicesConnectorsImpersonateQueryCall
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¶
func (r *ProjectsLocationsServicesConnectorsService) List(parentstring) *ProjectsLocationsServicesConnectorsListCall
List: Lists Connectors in a given project and location.
- parent: Value of parent.
func (*ProjectsLocationsServicesConnectorsService)Patch¶
func (r *ProjectsLocationsServicesConnectorsService) Patch(namestring, connector *Connector) *ProjectsLocationsServicesConnectorsPatchCall
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¶
func (c *ProjectsLocationsServicesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsServicesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesCreateCall)Do¶
func (c *ProjectsLocationsServicesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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¶
func (c *ProjectsLocationsServicesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesCreateCall)Header¶
func (c *ProjectsLocationsServicesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesCreateCall)RequestId¶
func (c *ProjectsLocationsServicesCreateCall) RequestId(requestIdstring) *ProjectsLocationsServicesCreateCall
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¶
func (c *ProjectsLocationsServicesCreateCall) ServiceId(serviceIdstring) *ProjectsLocationsServicesCreateCall
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¶
func (c *ProjectsLocationsServicesCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsServicesCreateCall
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¶
func (c *ProjectsLocationsServicesDeleteCall) AllowMissing(allowMissingbool) *ProjectsLocationsServicesDeleteCall
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¶
func (c *ProjectsLocationsServicesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsServicesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesDeleteCall)Do¶
func (c *ProjectsLocationsServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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¶
func (c *ProjectsLocationsServicesDeleteCall) Etag(etagstring) *ProjectsLocationsServicesDeleteCall
Etag sets the optional parameter "etag": The etag of the Service. If this isprovided, it must match the server's etag.
func (*ProjectsLocationsServicesDeleteCall)Fields¶
func (c *ProjectsLocationsServicesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesDeleteCall)Force¶
func (c *ProjectsLocationsServicesDeleteCall) Force(forcebool) *ProjectsLocationsServicesDeleteCall
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¶
func (c *ProjectsLocationsServicesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesDeleteCall)RequestId¶
func (c *ProjectsLocationsServicesDeleteCall) RequestId(requestIdstring) *ProjectsLocationsServicesDeleteCall
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¶
func (c *ProjectsLocationsServicesDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsServicesDeleteCall
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¶
func (c *ProjectsLocationsServicesExecuteGraphqlCall) Context(ctxcontext.Context) *ProjectsLocationsServicesExecuteGraphqlCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesExecuteGraphqlCall)Do¶
func (c *ProjectsLocationsServicesExecuteGraphqlCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse,error)
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¶
func (c *ProjectsLocationsServicesExecuteGraphqlCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesExecuteGraphqlCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesExecuteGraphqlCall)Header¶
func (c *ProjectsLocationsServicesExecuteGraphqlCall) Header()http.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¶
func (c *ProjectsLocationsServicesExecuteGraphqlReadCall) Context(ctxcontext.Context) *ProjectsLocationsServicesExecuteGraphqlReadCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesExecuteGraphqlReadCall)Do¶
func (c *ProjectsLocationsServicesExecuteGraphqlReadCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse,error)
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¶
func (c *ProjectsLocationsServicesExecuteGraphqlReadCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesExecuteGraphqlReadCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesExecuteGraphqlReadCall)Header¶
func (c *ProjectsLocationsServicesExecuteGraphqlReadCall) Header()http.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¶
func (c *ProjectsLocationsServicesGetCall) Context(ctxcontext.Context) *ProjectsLocationsServicesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesGetCall)Do¶
func (c *ProjectsLocationsServicesGetCall) Do(opts ...googleapi.CallOption) (*Service,error)
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¶
func (c *ProjectsLocationsServicesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesGetCall)Header¶
func (c *ProjectsLocationsServicesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesGetCall
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.
typeProjectsLocationsServicesIntrospectGraphqlCall¶added inv0.250.0
type ProjectsLocationsServicesIntrospectGraphqlCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsServicesIntrospectGraphqlCall)Context¶added inv0.250.0
func (c *ProjectsLocationsServicesIntrospectGraphqlCall) Context(ctxcontext.Context) *ProjectsLocationsServicesIntrospectGraphqlCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesIntrospectGraphqlCall)Do¶added inv0.250.0
func (c *ProjectsLocationsServicesIntrospectGraphqlCall) Do(opts ...googleapi.CallOption) (*GraphqlResponse,error)
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)Fields¶added inv0.250.0
func (c *ProjectsLocationsServicesIntrospectGraphqlCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesIntrospectGraphqlCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesIntrospectGraphqlCall)Header¶added inv0.250.0
func (c *ProjectsLocationsServicesIntrospectGraphqlCall) Header()http.Header
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¶
func (c *ProjectsLocationsServicesListCall) Context(ctxcontext.Context) *ProjectsLocationsServicesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesListCall)Do¶
func (c *ProjectsLocationsServicesListCall) Do(opts ...googleapi.CallOption) (*ListServicesResponse,error)
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¶
func (c *ProjectsLocationsServicesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesListCall)Filter¶
func (c *ProjectsLocationsServicesListCall) Filter(filterstring) *ProjectsLocationsServicesListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsServicesListCall)Header¶
func (c *ProjectsLocationsServicesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesListCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesListCall
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¶
func (c *ProjectsLocationsServicesListCall) OrderBy(orderBystring) *ProjectsLocationsServicesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order theresults.
func (*ProjectsLocationsServicesListCall)PageSize¶
func (c *ProjectsLocationsServicesListCall) PageSize(pageSizeint64) *ProjectsLocationsServicesListCall
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¶
func (c *ProjectsLocationsServicesListCall) PageToken(pageTokenstring) *ProjectsLocationsServicesListCall
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¶
func (c *ProjectsLocationsServicesListCall) Pages(ctxcontext.Context, f func(*ListServicesResponse)error)error
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¶
func (c *ProjectsLocationsServicesPatchCall) AllowMissing(allowMissingbool) *ProjectsLocationsServicesPatchCall
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¶
func (c *ProjectsLocationsServicesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsServicesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesPatchCall)Do¶
func (c *ProjectsLocationsServicesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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¶
func (c *ProjectsLocationsServicesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesPatchCall)Header¶
func (c *ProjectsLocationsServicesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesPatchCall)RequestId¶
func (c *ProjectsLocationsServicesPatchCall) RequestId(requestIdstring) *ProjectsLocationsServicesPatchCall
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¶
func (c *ProjectsLocationsServicesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsServicesPatchCall
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¶
func (c *ProjectsLocationsServicesPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsServicesPatchCall
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¶
func (c *ProjectsLocationsServicesSchemasCreateCall) Context(ctxcontext.Context) *ProjectsLocationsServicesSchemasCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesSchemasCreateCall)Do¶
func (c *ProjectsLocationsServicesSchemasCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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¶
func (c *ProjectsLocationsServicesSchemasCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSchemasCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesSchemasCreateCall)Header¶
func (c *ProjectsLocationsServicesSchemasCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesSchemasCreateCall)RequestId¶
func (c *ProjectsLocationsServicesSchemasCreateCall) RequestId(requestIdstring) *ProjectsLocationsServicesSchemasCreateCall
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¶
func (c *ProjectsLocationsServicesSchemasCreateCall) SchemaId(schemaIdstring) *ProjectsLocationsServicesSchemasCreateCall
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¶
func (c *ProjectsLocationsServicesSchemasCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsServicesSchemasCreateCall
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¶
func (c *ProjectsLocationsServicesSchemasDeleteCall) AllowMissing(allowMissingbool) *ProjectsLocationsServicesSchemasDeleteCall
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¶
func (c *ProjectsLocationsServicesSchemasDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsServicesSchemasDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesSchemasDeleteCall)Do¶
func (c *ProjectsLocationsServicesSchemasDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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¶
func (c *ProjectsLocationsServicesSchemasDeleteCall) Etag(etagstring) *ProjectsLocationsServicesSchemasDeleteCall
Etag sets the optional parameter "etag": The etag of the Schema. If this isprovided, it must match the server's etag.
func (*ProjectsLocationsServicesSchemasDeleteCall)Fields¶
func (c *ProjectsLocationsServicesSchemasDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSchemasDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesSchemasDeleteCall)Force¶
func (c *ProjectsLocationsServicesSchemasDeleteCall) Force(forcebool) *ProjectsLocationsServicesSchemasDeleteCall
Force sets the optional parameter "force": If set to true, any childresources (i.e. SchemaRevisions) will also be deleted.
func (*ProjectsLocationsServicesSchemasDeleteCall)Header¶
func (c *ProjectsLocationsServicesSchemasDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesSchemasDeleteCall)RequestId¶
func (c *ProjectsLocationsServicesSchemasDeleteCall) RequestId(requestIdstring) *ProjectsLocationsServicesSchemasDeleteCall
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¶
func (c *ProjectsLocationsServicesSchemasDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsServicesSchemasDeleteCall
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¶
func (c *ProjectsLocationsServicesSchemasGetCall) Context(ctxcontext.Context) *ProjectsLocationsServicesSchemasGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesSchemasGetCall)Do¶
func (c *ProjectsLocationsServicesSchemasGetCall) Do(opts ...googleapi.CallOption) (*Schema,error)
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¶
func (c *ProjectsLocationsServicesSchemasGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSchemasGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesSchemasGetCall)Header¶
func (c *ProjectsLocationsServicesSchemasGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesSchemasGetCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesSchemasGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesSchemasGetCall
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¶
func (c *ProjectsLocationsServicesSchemasListCall) Context(ctxcontext.Context) *ProjectsLocationsServicesSchemasListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesSchemasListCall)Do¶
func (c *ProjectsLocationsServicesSchemasListCall) Do(opts ...googleapi.CallOption) (*ListSchemasResponse,error)
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¶
func (c *ProjectsLocationsServicesSchemasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSchemasListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesSchemasListCall)Filter¶
func (c *ProjectsLocationsServicesSchemasListCall) Filter(filterstring) *ProjectsLocationsServicesSchemasListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsServicesSchemasListCall)Header¶
func (c *ProjectsLocationsServicesSchemasListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesSchemasListCall)IfNoneMatch¶
func (c *ProjectsLocationsServicesSchemasListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsServicesSchemasListCall
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¶
func (c *ProjectsLocationsServicesSchemasListCall) OrderBy(orderBystring) *ProjectsLocationsServicesSchemasListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order theresults.
func (*ProjectsLocationsServicesSchemasListCall)PageSize¶
func (c *ProjectsLocationsServicesSchemasListCall) PageSize(pageSizeint64) *ProjectsLocationsServicesSchemasListCall
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¶
func (c *ProjectsLocationsServicesSchemasListCall) PageToken(pageTokenstring) *ProjectsLocationsServicesSchemasListCall
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¶
func (c *ProjectsLocationsServicesSchemasListCall) Pages(ctxcontext.Context, f func(*ListSchemasResponse)error)error
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¶
func (c *ProjectsLocationsServicesSchemasPatchCall) AllowMissing(allowMissingbool) *ProjectsLocationsServicesSchemasPatchCall
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¶
func (c *ProjectsLocationsServicesSchemasPatchCall) Context(ctxcontext.Context) *ProjectsLocationsServicesSchemasPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsServicesSchemasPatchCall)Do¶
func (c *ProjectsLocationsServicesSchemasPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
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¶
func (c *ProjectsLocationsServicesSchemasPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSchemasPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsServicesSchemasPatchCall)Header¶
func (c *ProjectsLocationsServicesSchemasPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsServicesSchemasPatchCall)RequestId¶
func (c *ProjectsLocationsServicesSchemasPatchCall) RequestId(requestIdstring) *ProjectsLocationsServicesSchemasPatchCall
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¶
func (c *ProjectsLocationsServicesSchemasPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsServicesSchemasPatchCall
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¶
func (c *ProjectsLocationsServicesSchemasPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsServicesSchemasPatchCall
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}funcNewProjectsLocationsServicesSchemasService¶
func NewProjectsLocationsServicesSchemasService(s *APIService) *ProjectsLocationsServicesSchemasService
func (*ProjectsLocationsServicesSchemasService)Create¶
func (r *ProjectsLocationsServicesSchemasService) Create(parentstring, schema *Schema) *ProjectsLocationsServicesSchemasCreateCall
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¶
func (r *ProjectsLocationsServicesSchemasService) Delete(namestring) *ProjectsLocationsServicesSchemasDeleteCall
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¶
func (r *ProjectsLocationsServicesSchemasService) Get(namestring) *ProjectsLocationsServicesSchemasGetCall
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¶
func (r *ProjectsLocationsServicesSchemasService) List(parentstring) *ProjectsLocationsServicesSchemasListCall
List: Lists Schemas in a given project and location.
- parent: Value of parent.
func (*ProjectsLocationsServicesSchemasService)Patch¶
func (r *ProjectsLocationsServicesSchemasService) Patch(namestring, schema *Schema) *ProjectsLocationsServicesSchemasPatchCall
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}funcNewProjectsLocationsServicesService¶
func NewProjectsLocationsServicesService(s *APIService) *ProjectsLocationsServicesService
func (*ProjectsLocationsServicesService)Create¶
func (r *ProjectsLocationsServicesService) Create(parentstring, service *Service) *ProjectsLocationsServicesCreateCall
Create: Creates a new Service in a given project and location.
- parent: Value of parent.
func (*ProjectsLocationsServicesService)Delete¶
func (r *ProjectsLocationsServicesService) Delete(namestring) *ProjectsLocationsServicesDeleteCall
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¶
func (r *ProjectsLocationsServicesService) ExecuteGraphql(namestring, graphqlrequest *GraphqlRequest) *ProjectsLocationsServicesExecuteGraphqlCall
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¶
func (r *ProjectsLocationsServicesService) ExecuteGraphqlRead(namestring, graphqlrequest *GraphqlRequest) *ProjectsLocationsServicesExecuteGraphqlReadCall
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¶
func (r *ProjectsLocationsServicesService) Get(namestring) *ProjectsLocationsServicesGetCall
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)IntrospectGraphql¶added inv0.250.0
func (r *ProjectsLocationsServicesService) IntrospectGraphql(namestring, graphqlrequest *GraphqlRequest) *ProjectsLocationsServicesIntrospectGraphqlCall
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¶
func (r *ProjectsLocationsServicesService) List(parentstring) *ProjectsLocationsServicesListCall
List: Lists Services in a given project and location.
- parent: Value of parent.
func (*ProjectsLocationsServicesService)Patch¶
func (r *ProjectsLocationsServicesService) Patch(namestring, service *Service) *ProjectsLocationsServicesPatchCall
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¶
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¶
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¶
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¶
typeWorkaround¶added 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)MarshalJSON¶added inv0.254.0
func (sWorkaround) MarshalJSON() ([]byte,error)