Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253158,6 +253158,9 @@
"/firebasedataconnect:v1/GraphqlErrorExtensions/debugDetails": debug_details
"/firebasedataconnect:v1/GraphqlErrorExtensions/file": file
"/firebasedataconnect:v1/GraphqlErrorExtensions/resource": resource
"/firebasedataconnect:v1/GraphqlErrorExtensions/warningLevel": warning_level
"/firebasedataconnect:v1/GraphqlErrorExtensions/workarounds": workarounds
"/firebasedataconnect:v1/GraphqlErrorExtensions/workarounds/workaround": workaround
"/firebasedataconnect:v1/GraphqlRequest": graphql_request
"/firebasedataconnect:v1/GraphqlRequest/extensions": extensions
"/firebasedataconnect:v1/GraphqlRequest/operationName": operation_name
Expand Down Expand Up @@ -253195,6 +253198,8 @@
"/firebasedataconnect:v1/ListOperationsResponse/nextPageToken": next_page_token
"/firebasedataconnect:v1/ListOperationsResponse/operations": operations
"/firebasedataconnect:v1/ListOperationsResponse/operations/operation": operation
"/firebasedataconnect:v1/ListOperationsResponse/unreachable": unreachable
"/firebasedataconnect:v1/ListOperationsResponse/unreachable/unreachable": unreachable
"/firebasedataconnect:v1/ListSchemasResponse": list_schemas_response
"/firebasedataconnect:v1/ListSchemasResponse/nextPageToken": next_page_token
"/firebasedataconnect:v1/ListSchemasResponse/schemas": schemas
Expand Down Expand Up @@ -253277,6 +253282,10 @@
"/firebasedataconnect:v1/Status/details/detail": detail
"/firebasedataconnect:v1/Status/details/detail/detail": detail
"/firebasedataconnect:v1/Status/message": message
"/firebasedataconnect:v1/Workaround": workaround
"/firebasedataconnect:v1/Workaround/description": description
"/firebasedataconnect:v1/Workaround/reason": reason
"/firebasedataconnect:v1/Workaround/replace": replace
"/firebasedataconnect:v1/fields": fields
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.get": get_project_location
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.get/name": name
Expand All @@ -253297,6 +253306,7 @@
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.operations.list/name": name
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.operations.list/pageSize": page_size
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.operations.list/pageToken": page_token
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.operations.list/returnPartialSuccess": return_partial_success
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.services.connectors.create": create_project_location_service_connector
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.services.connectors.create/connectorId": connector_id
"/firebasedataconnect:v1/firebasedataconnect.projects.locations.services.connectors.create/parent": parent
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-firebasedataconnect_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-firebasedataconnect_v1

### v0.9.0 (2025-10-26)

* Regenerated from discovery document revision 20251021

### v0.8.0 (2025-09-14)

* Regenerated from discovery document revision 20250907
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,12 @@ def update!(**args)
# draft/#sec-Errors Firebase Data Connect API surfaces `GraphqlError` in various
# APIs: - Upon compile error, `UpdateSchema` and `UpdateConnector` return Code.
# Invalid_Argument with a list of `GraphqlError` in error details. - Upon query
# compile error, `ExecuteGraphql` and `ExecuteGraphqlRead` return Code.OK with a
# list of `GraphqlError` in response body. - Upon query execution error, `
# ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation` and `ExecuteQuery`
# all return Code.OK with a list of `GraphqlError` in response body.
# compile error, `ExecuteGraphql`, `ExecuteGraphqlRead` and `IntrospectGraphql`
# return Code.OK with a list of `GraphqlError` in response body. - Upon query
# execution error, `ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation`, `
# ExecuteQuery`, `IntrospectGraphql`, `ImpersonateQuery` and `
# ImpersonateMutation` all return Code.OK with a list of `GraphqlError` in
# response body.
class GraphqlError
include Google::Apis::Core::Hashable

Expand All @@ -319,10 +321,11 @@ class GraphqlError

# 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`, `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.
# 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.
# Corresponds to the JSON property `locations`
# @return [Array<Google::Apis::FirebasedataconnectV1::SourceLocation>]
attr_accessor :locations
Expand Down Expand Up @@ -380,11 +383,16 @@ class GraphqlErrorExtensions
# @return [String]
attr_accessor :file

# Distinguish which schema or connector the error originates from. It should be
# set on errors from control plane APIs (e.g. `UpdateSchema`, `UpdateConnector`).
# Corresponds to the JSON property `resource`
# Warning level describes the severity and required action to suppress this
# warning when Firebase CLI run into it.
# Corresponds to the JSON property `warningLevel`
# @return [String]
attr_accessor :resource
attr_accessor :warning_level

# Workarounds provide suggestions to address the compile errors or warnings.
# Corresponds to the JSON property `workarounds`
# @return [Array<Google::Apis::FirebasedataconnectV1::Workaround>]
attr_accessor :workarounds

def initialize(**args)
update!(**args)
Expand All @@ -395,7 +403,8 @@ def update!(**args)
@code = args[:code] if args.key?(:code)
@debug_details = args[:debug_details] if args.key?(:debug_details)
@file = args[:file] if args.key?(:file)
@resource = args[:resource] if args.key?(:resource)
@warning_level = args[:warning_level] if args.key?(:warning_level)
@workarounds = args[:workarounds] if args.key?(:workarounds)
end
end

Expand Down Expand Up @@ -638,6 +647,13 @@ class ListOperationsResponse
# @return [Array<Google::Apis::FirebasedataconnectV1::Operation>]
attr_accessor :operations

# 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.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable

def initialize(**args)
update!(**args)
end
Expand All @@ -646,6 +662,7 @@ def initialize(**args)
def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@operations = args[:operations] if args.key?(:operations)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end

Expand Down Expand Up @@ -1195,6 +1212,37 @@ def update!(**args)
@message = args[:message] if args.key?(:message)
end
end

# Workaround provides suggestions to address errors and warnings.
class Workaround
include Google::Apis::Core::Hashable

# Description of this workaround.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description

# Why would this workaround address the error and warning.
# Corresponds to the JSON property `reason`
# @return [String]
attr_accessor :reason

# A suggested code snippet to fix the error and warning.
# Corresponds to the JSON property `replace`
# @return [String]
attr_accessor :replace

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@description = args[:description] if args.key?(:description)
@reason = args[:reason] if args.key?(:reason)
@replace = args[:replace] if args.key?(:replace)
end
end
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module FirebasedataconnectV1
# Version of the google-apis-firebasedataconnect_v1 gem
GEM_VERSION = "0.8.0"
GEM_VERSION = "0.9.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.18.0"

# Revision of the discovery document this client was generated from
REVISION = "20250907"
REVISION = "20251021"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class Workaround
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class CancelOperationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -312,7 +318,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :debug_details, as: 'debugDetails'
property :file, as: 'file'
property :resource, as: 'resource'
property :warning_level, as: 'warningLevel'
collection :workarounds, as: 'workarounds', class: Google::Apis::FirebasedataconnectV1::Workaround, decorator: Google::Apis::FirebasedataconnectV1::Workaround::Representation

end
end

Expand Down Expand Up @@ -388,6 +396,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :operations, as: 'operations', class: Google::Apis::FirebasedataconnectV1::Operation, decorator: Google::Apis::FirebasedataconnectV1::Operation::Representation

collection :unreachable, as: 'unreachable'
end
end

Expand Down Expand Up @@ -518,6 +527,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :message, as: 'message'
end
end

class Workaround
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :reason, as: 'reason'
property :replace, as: 'replace'
end
end
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
# @param [String] name
# The resource that owns the locations collection, if applicable.
# @param [Array<String>, String] extra_location_types
# Optional. Unless explicitly documented otherwise, don't use this unsupported
# field which is primarily intended for internal usage.
# Optional. Do not use this field. It is unsupported and is ignored unless
# explicitly documented otherwise. This is primarily for internal usage.
# @param [String] filter
# A filter to narrow down results to a preferred subset. The filtering language
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
Expand Down Expand Up @@ -245,6 +245,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
# The standard list page size.
# @param [String] page_token
# The standard list page token.
# @param [Boolean] return_partial_success
# 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` when reading across collections e.
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
# explicitly documented otherwise in service or product specific documentation.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand All @@ -262,14 +269,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/operations', options)
command.response_representation = Google::Apis::FirebasedataconnectV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::FirebasedataconnectV1::ListOperationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
Expand Down