Skip to content

Commit 924f9cf

Browse files
feat: Automated regeneration of datamanager v1 client (googleapis#25356)
Auto-created at 2026-01-11 10:58:25 +0000 using the toys pull request generator.
1 parent c79e7d3 commit 924f9cf

File tree

5 files changed

+66
-2
lines changed

5 files changed

+66
-2
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160128,6 +160128,12 @@
160128160128
"/datamanager:v1/RetrieveRequestStatusResponse": retrieve_request_status_response
160129160129
"/datamanager:v1/RetrieveRequestStatusResponse/requestStatusPerDestination": request_status_per_destination
160130160130
"/datamanager:v1/RetrieveRequestStatusResponse/requestStatusPerDestination/request_status_per_destination": request_status_per_destination
160131+
"/datamanager:v1/Status": status
160132+
"/datamanager:v1/Status/code": code
160133+
"/datamanager:v1/Status/details": details
160134+
"/datamanager:v1/Status/details/detail": detail
160135+
"/datamanager:v1/Status/details/detail/detail": detail
160136+
"/datamanager:v1/Status/message": message
160131160137
"/datamanager:v1/TermsOfService": terms_of_service
160132160138
"/datamanager:v1/TermsOfService/customerMatchTermsOfServiceStatus": customer_match_terms_of_service_status
160133160139
"/datamanager:v1/UserData": user_data

generated/google-apis-datamanager_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-datamanager_v1
22

3+
### v0.4.0 (2026-01-11)
4+
5+
* Regenerated from discovery document revision 20260102
6+
37
### v0.3.0 (2025-11-23)
48

59
* Regenerated from discovery document revision 20251115

generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/classes.rb

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,6 +1403,45 @@ def update!(**args)
14031403
end
14041404
end
14051405

1406+
# The `Status` type defines a logical error model that is suitable for different
1407+
# programming environments, including REST APIs and RPC APIs. It is used by [
1408+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1409+
# data: error code, error message, and error details. You can find out more
1410+
# about this error model and how to work with it in the [API Design Guide](https:
1411+
# //cloud.google.com/apis/design/errors).
1412+
class Status
1413+
include Google::Apis::Core::Hashable
1414+
1415+
# The status code, which should be an enum value of google.rpc.Code.
1416+
# Corresponds to the JSON property `code`
1417+
# @return [Fixnum]
1418+
attr_accessor :code
1419+
1420+
# A list of messages that carry the error details. There is a common set of
1421+
# message types for APIs to use.
1422+
# Corresponds to the JSON property `details`
1423+
# @return [Array<Hash<String,Object>>]
1424+
attr_accessor :details
1425+
1426+
# A developer-facing error message, which should be in English. Any user-facing
1427+
# error message should be localized and sent in the google.rpc.Status.details
1428+
# field, or localized by the client.
1429+
# Corresponds to the JSON property `message`
1430+
# @return [String]
1431+
attr_accessor :message
1432+
1433+
def initialize(**args)
1434+
update!(**args)
1435+
end
1436+
1437+
# Update properties of this object
1438+
def update!(**args)
1439+
@code = args[:code] if args.key?(:code)
1440+
@details = args[:details] if args.key?(:details)
1441+
@message = args[:message] if args.key?(:message)
1442+
end
1443+
end
1444+
14061445
# The terms of service that the user has accepted/rejected.
14071446
class TermsOfService
14081447
include Google::Apis::Core::Hashable

generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DatamanagerV1
1818
# Version of the google-apis-datamanager_v1 gem
19-
GEM_VERSION = "0.3.0"
19+
GEM_VERSION = "0.4.0"
2020

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

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251115"
25+
REVISION = "20260102"
2626
end
2727
end
2828
end

generated/google-apis-datamanager_v1/lib/google/apis/datamanager_v1/representations.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
250250
include Google::Apis::Core::JsonObjectSupport
251251
end
252252

253+
class Status
254+
class Representation < Google::Apis::Core::JsonRepresentation; end
255+
256+
include Google::Apis::Core::JsonObjectSupport
257+
end
258+
253259
class TermsOfService
254260
class Representation < Google::Apis::Core::JsonRepresentation; end
255261

@@ -695,6 +701,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
695701
end
696702
end
697703

704+
class Status
705+
# @private
706+
class Representation < Google::Apis::Core::JsonRepresentation
707+
property :code, as: 'code'
708+
collection :details, as: 'details'
709+
property :message, as: 'message'
710+
end
711+
end
712+
698713
class TermsOfService
699714
# @private
700715
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)