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
6 changes: 6 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159718,6 +159718,12 @@
"/datamanager:v1/RetrieveRequestStatusResponse": retrieve_request_status_response
"/datamanager:v1/RetrieveRequestStatusResponse/requestStatusPerDestination": request_status_per_destination
"/datamanager:v1/RetrieveRequestStatusResponse/requestStatusPerDestination/request_status_per_destination": request_status_per_destination
"/datamanager:v1/Status": status
"/datamanager:v1/Status/code": code
"/datamanager:v1/Status/details": details
"/datamanager:v1/Status/details/detail": detail
"/datamanager:v1/Status/details/detail/detail": detail
"/datamanager:v1/Status/message": message
"/datamanager:v1/TermsOfService": terms_of_service
"/datamanager:v1/TermsOfService/customerMatchTermsOfServiceStatus": customer_match_terms_of_service_status
"/datamanager:v1/UserData": user_data
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-datamanager_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-datamanager_v1

### v0.4.0 (2026-01-11)

* Regenerated from discovery document revision 20260102

### v0.3.0 (2025-11-23)

* Regenerated from discovery document revision 20251115
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,45 @@ def update!(**args)
end
end

# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by [
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
# data: error code, error message, and error details. You can find out more
# about this error model and how to work with it in the [API Design Guide](https:
# //cloud.google.com/apis/design/errors).
class Status
include Google::Apis::Core::Hashable

# The status code, which should be an enum value of google.rpc.Code.
# Corresponds to the JSON property `code`
# @return [Fixnum]
attr_accessor :code

# A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
# Corresponds to the JSON property `details`
# @return [Array<Hash<String,Object>>]
attr_accessor :details

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

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

# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@details = args[:details] if args.key?(:details)
@message = args[:message] if args.key?(:message)
end
end

# The terms of service that the user has accepted/rejected.
class TermsOfService
include Google::Apis::Core::Hashable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DatamanagerV1
# Version of the google-apis-datamanager_v1 gem
GEM_VERSION = "0.3.0"
GEM_VERSION = "0.4.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 = "20251115"
REVISION = "20260102"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

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

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

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

Expand Down Expand Up @@ -695,6 +701,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
end
end

class TermsOfService
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down