Skip to content

Commit 19247e5

Browse files
feat: Automated regeneration of metastore v1 client (googleapis#23210)
Auto-created at 2025-05-21 21:18:29 +0000 using the toys pull request generator.
1 parent 98bf3bc commit 19247e5

File tree

5 files changed

+122
-2
lines changed

5 files changed

+122
-2
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276741,6 +276741,7 @@
276741276741
"/metastore:v1/MaintenanceWindow": maintenance_window
276742276742
"/metastore:v1/MaintenanceWindow/dayOfWeek": day_of_week
276743276743
"/metastore:v1/MaintenanceWindow/hourOfDay": hour_of_day
276744+
"/metastore:v1/MessageSet": message_set
276744276745
"/metastore:v1/MetadataExport": metadata_export
276745276746
"/metastore:v1/MetadataExport/databaseDumpType": database_dump_type
276746276747
"/metastore:v1/MetadataExport/destinationGcsUri": destination_gcs_uri
@@ -276874,6 +276875,12 @@
276874276875
"/metastore:v1/Status/details/detail": detail
276875276876
"/metastore:v1/Status/details/detail/detail": detail
276876276877
"/metastore:v1/Status/message": message
276878+
"/metastore:v1/StatusProto": status_proto
276879+
"/metastore:v1/StatusProto/canonicalCode": canonical_code
276880+
"/metastore:v1/StatusProto/code": code
276881+
"/metastore:v1/StatusProto/message": message
276882+
"/metastore:v1/StatusProto/messageSet": message_set
276883+
"/metastore:v1/StatusProto/space": space
276877276884
"/metastore:v1/TelemetryConfig": telemetry_config
276878276885
"/metastore:v1/TelemetryConfig/logFormat": log_format
276879276886
"/metastore:v1/TestIamPermissionsRequest": test_iam_permissions_request

generated/google-apis-metastore_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-metastore_v1
22

3+
### v0.35.0 (2025-05-21)
4+
5+
* Regenerated from discovery document revision 20250514
6+
37
### v0.34.0 (2025-05-04)
48

59
* Regenerated using generator version 0.17.0

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

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,6 +1500,27 @@ def update!(**args)
15001500
end
15011501
end
15021502

1503+
# This is proto2's version of MessageSet.DEPRECATED: DO NOT USE FOR NEW FIELDS.
1504+
# If you are using editions or proto2, please make your own extendable messages
1505+
# for your use case. If you are using proto3, please use Any instead.MessageSet
1506+
# was the implementation of extensions for proto1. When proto2 was introduced,
1507+
# extensions were implemented as a first-class feature. This schema for
1508+
# MessageSet was meant to be a "bridge" solution to migrate MessageSet-bearing
1509+
# messages from proto1 to proto2.This schema has been open-sourced only to
1510+
# facilitate the migration of Google products with MessageSet-bearing messages
1511+
# to open-source environments.
1512+
class MessageSet
1513+
include Google::Apis::Core::Hashable
1514+
1515+
def initialize(**args)
1516+
update!(**args)
1517+
end
1518+
1519+
# Update properties of this object
1520+
def update!(**args)
1521+
end
1522+
end
1523+
15031524
# The details of a metadata export operation.
15041525
class MetadataExport
15051526
include Google::Apis::Core::Hashable
@@ -2572,6 +2593,64 @@ def update!(**args)
25722593
end
25732594
end
25742595

2596+
# Wire-format for a Status object
2597+
class StatusProto
2598+
include Google::Apis::Core::Hashable
2599+
2600+
# copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2601+
# int32 canonical_code = 6;
2602+
# Corresponds to the JSON property `canonicalCode`
2603+
# @return [Fixnum]
2604+
attr_accessor :canonical_code
2605+
2606+
# Numeric code drawn from the space specified below. Often, this is the
2607+
# canonical error space, and code is drawn from google3/util/task/codes.proto
2608+
# copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2609+
# int32 code = 1;
2610+
# Corresponds to the JSON property `code`
2611+
# @return [Fixnum]
2612+
attr_accessor :code
2613+
2614+
# Detail message copybara:strip_begin(b/383363683) copybara:
2615+
# strip_end_and_replace optional string message = 3;
2616+
# Corresponds to the JSON property `message`
2617+
# @return [String]
2618+
attr_accessor :message
2619+
2620+
# This is proto2's version of MessageSet.DEPRECATED: DO NOT USE FOR NEW FIELDS.
2621+
# If you are using editions or proto2, please make your own extendable messages
2622+
# for your use case. If you are using proto3, please use Any instead.MessageSet
2623+
# was the implementation of extensions for proto1. When proto2 was introduced,
2624+
# extensions were implemented as a first-class feature. This schema for
2625+
# MessageSet was meant to be a "bridge" solution to migrate MessageSet-bearing
2626+
# messages from proto1 to proto2.This schema has been open-sourced only to
2627+
# facilitate the migration of Google products with MessageSet-bearing messages
2628+
# to open-source environments.
2629+
# Corresponds to the JSON property `messageSet`
2630+
# @return [Google::Apis::MetastoreV1::MessageSet]
2631+
attr_accessor :message_set
2632+
2633+
# copybara:strip_begin(b/383363683) Space to which this status belongs copybara:
2634+
# strip_end_and_replace optional string space = 2; // Space to which this status
2635+
# belongs
2636+
# Corresponds to the JSON property `space`
2637+
# @return [String]
2638+
attr_accessor :space
2639+
2640+
def initialize(**args)
2641+
update!(**args)
2642+
end
2643+
2644+
# Update properties of this object
2645+
def update!(**args)
2646+
@canonical_code = args[:canonical_code] if args.key?(:canonical_code)
2647+
@code = args[:code] if args.key?(:code)
2648+
@message = args[:message] if args.key?(:message)
2649+
@message_set = args[:message_set] if args.key?(:message_set)
2650+
@space = args[:space] if args.key?(:space)
2651+
end
2652+
end
2653+
25752654
# Telemetry Configuration for the Dataproc Metastore service.
25762655
class TelemetryConfig
25772656
include Google::Apis::Core::Hashable

generated/google-apis-metastore_v1/lib/google/apis/metastore_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 MetastoreV1
1818
# Version of the google-apis-metastore_v1 gem
19-
GEM_VERSION = "0.34.0"
19+
GEM_VERSION = "0.35.0"
2020

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

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

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
268268
include Google::Apis::Core::JsonObjectSupport
269269
end
270270

271+
class MessageSet
272+
class Representation < Google::Apis::Core::JsonRepresentation; end
273+
274+
include Google::Apis::Core::JsonObjectSupport
275+
end
276+
271277
class MetadataExport
272278
class Representation < Google::Apis::Core::JsonRepresentation; end
273279

@@ -406,6 +412,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
406412
include Google::Apis::Core::JsonObjectSupport
407413
end
408414

415+
class StatusProto
416+
class Representation < Google::Apis::Core::JsonRepresentation; end
417+
418+
include Google::Apis::Core::JsonObjectSupport
419+
end
420+
409421
class TelemetryConfig
410422
class Representation < Google::Apis::Core::JsonRepresentation; end
411423

@@ -810,6 +822,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
810822
end
811823
end
812824

825+
class MessageSet
826+
# @private
827+
class Representation < Google::Apis::Core::JsonRepresentation
828+
end
829+
end
830+
813831
class MetadataExport
814832
# @private
815833
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1069,6 +1087,18 @@ class Representation < Google::Apis::Core::JsonRepresentation
10691087
end
10701088
end
10711089

1090+
class StatusProto
1091+
# @private
1092+
class Representation < Google::Apis::Core::JsonRepresentation
1093+
property :canonical_code, as: 'canonicalCode'
1094+
property :code, as: 'code'
1095+
property :message, as: 'message'
1096+
property :message_set, as: 'messageSet', class: Google::Apis::MetastoreV1::MessageSet, decorator: Google::Apis::MetastoreV1::MessageSet::Representation
1097+
1098+
property :space, as: 'space'
1099+
end
1100+
end
1101+
10721102
class TelemetryConfig
10731103
# @private
10741104
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)