Skip to content

Commit 60face7

Browse files
feat: Automated regeneration of metastore v1alpha client (googleapis#23202)
Auto-created at 2025-05-21 21:00:14 +0000 using the toys pull request generator.
1 parent 18de338 commit 60face7

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
@@ -277236,6 +277236,7 @@
277236277236
"/metastore:v1alpha/MaintenanceWindow": maintenance_window
277237277237
"/metastore:v1alpha/MaintenanceWindow/dayOfWeek": day_of_week
277238277238
"/metastore:v1alpha/MaintenanceWindow/hourOfDay": hour_of_day
277239+
"/metastore:v1alpha/MessageSet": message_set
277239277240
"/metastore:v1alpha/MetadataExport": metadata_export
277240277241
"/metastore:v1alpha/MetadataExport/databaseDumpType": database_dump_type
277241277242
"/metastore:v1alpha/MetadataExport/destinationGcsUri": destination_gcs_uri
@@ -277383,6 +277384,12 @@
277383277384
"/metastore:v1alpha/Status/details/detail": detail
277384277385
"/metastore:v1alpha/Status/details/detail/detail": detail
277385277386
"/metastore:v1alpha/Status/message": message
277387+
"/metastore:v1alpha/StatusProto": status_proto
277388+
"/metastore:v1alpha/StatusProto/canonicalCode": canonical_code
277389+
"/metastore:v1alpha/StatusProto/code": code
277390+
"/metastore:v1alpha/StatusProto/message": message
277391+
"/metastore:v1alpha/StatusProto/messageSet": message_set
277392+
"/metastore:v1alpha/StatusProto/space": space
277386277393
"/metastore:v1alpha/TelemetryConfig": telemetry_config
277387277394
"/metastore:v1alpha/TelemetryConfig/logFormat": log_format
277388277395
"/metastore:v1alpha/TestIamPermissionsRequest": test_iam_permissions_request

generated/google-apis-metastore_v1alpha/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_v1alpha
22

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

59
* Regenerated using generator version 0.17.0

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

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,6 +1621,27 @@ def update!(**args)
16211621
end
16221622
end
16231623

1624+
# This is proto2's version of MessageSet.DEPRECATED: DO NOT USE FOR NEW FIELDS.
1625+
# If you are using editions or proto2, please make your own extendable messages
1626+
# for your use case. If you are using proto3, please use Any instead.MessageSet
1627+
# was the implementation of extensions for proto1. When proto2 was introduced,
1628+
# extensions were implemented as a first-class feature. This schema for
1629+
# MessageSet was meant to be a "bridge" solution to migrate MessageSet-bearing
1630+
# messages from proto1 to proto2.This schema has been open-sourced only to
1631+
# facilitate the migration of Google products with MessageSet-bearing messages
1632+
# to open-source environments.
1633+
class MessageSet
1634+
include Google::Apis::Core::Hashable
1635+
1636+
def initialize(**args)
1637+
update!(**args)
1638+
end
1639+
1640+
# Update properties of this object
1641+
def update!(**args)
1642+
end
1643+
end
1644+
16241645
# The details of a metadata export operation.
16251646
class MetadataExport
16261647
include Google::Apis::Core::Hashable
@@ -2808,6 +2829,64 @@ def update!(**args)
28082829
end
28092830
end
28102831

2832+
# Wire-format for a Status object
2833+
class StatusProto
2834+
include Google::Apis::Core::Hashable
2835+
2836+
# copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2837+
# int32 canonical_code = 6;
2838+
# Corresponds to the JSON property `canonicalCode`
2839+
# @return [Fixnum]
2840+
attr_accessor :canonical_code
2841+
2842+
# Numeric code drawn from the space specified below. Often, this is the
2843+
# canonical error space, and code is drawn from google3/util/task/codes.proto
2844+
# copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2845+
# int32 code = 1;
2846+
# Corresponds to the JSON property `code`
2847+
# @return [Fixnum]
2848+
attr_accessor :code
2849+
2850+
# Detail message copybara:strip_begin(b/383363683) copybara:
2851+
# strip_end_and_replace optional string message = 3;
2852+
# Corresponds to the JSON property `message`
2853+
# @return [String]
2854+
attr_accessor :message
2855+
2856+
# This is proto2's version of MessageSet.DEPRECATED: DO NOT USE FOR NEW FIELDS.
2857+
# If you are using editions or proto2, please make your own extendable messages
2858+
# for your use case. If you are using proto3, please use Any instead.MessageSet
2859+
# was the implementation of extensions for proto1. When proto2 was introduced,
2860+
# extensions were implemented as a first-class feature. This schema for
2861+
# MessageSet was meant to be a "bridge" solution to migrate MessageSet-bearing
2862+
# messages from proto1 to proto2.This schema has been open-sourced only to
2863+
# facilitate the migration of Google products with MessageSet-bearing messages
2864+
# to open-source environments.
2865+
# Corresponds to the JSON property `messageSet`
2866+
# @return [Google::Apis::MetastoreV1alpha::MessageSet]
2867+
attr_accessor :message_set
2868+
2869+
# copybara:strip_begin(b/383363683) Space to which this status belongs copybara:
2870+
# strip_end_and_replace optional string space = 2; // Space to which this status
2871+
# belongs
2872+
# Corresponds to the JSON property `space`
2873+
# @return [String]
2874+
attr_accessor :space
2875+
2876+
def initialize(**args)
2877+
update!(**args)
2878+
end
2879+
2880+
# Update properties of this object
2881+
def update!(**args)
2882+
@canonical_code = args[:canonical_code] if args.key?(:canonical_code)
2883+
@code = args[:code] if args.key?(:code)
2884+
@message = args[:message] if args.key?(:message)
2885+
@message_set = args[:message_set] if args.key?(:message_set)
2886+
@space = args[:space] if args.key?(:space)
2887+
end
2888+
end
2889+
28112890
# Telemetry Configuration for the Dataproc Metastore service.
28122891
class TelemetryConfig
28132892
include Google::Apis::Core::Hashable

generated/google-apis-metastore_v1alpha/lib/google/apis/metastore_v1alpha/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 MetastoreV1alpha
1818
# Version of the google-apis-metastore_v1alpha gem
19-
GEM_VERSION = "0.70.0"
19+
GEM_VERSION = "0.71.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 = "20250410"
25+
REVISION = "20250514"
2626
end
2727
end
2828
end

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
298298
include Google::Apis::Core::JsonObjectSupport
299299
end
300300

301+
class MessageSet
302+
class Representation < Google::Apis::Core::JsonRepresentation; end
303+
304+
include Google::Apis::Core::JsonObjectSupport
305+
end
306+
301307
class MetadataExport
302308
class Representation < Google::Apis::Core::JsonRepresentation; end
303309

@@ -460,6 +466,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
460466
include Google::Apis::Core::JsonObjectSupport
461467
end
462468

469+
class StatusProto
470+
class Representation < Google::Apis::Core::JsonRepresentation; end
471+
472+
include Google::Apis::Core::JsonObjectSupport
473+
end
474+
463475
class TelemetryConfig
464476
class Representation < Google::Apis::Core::JsonRepresentation; end
465477

@@ -902,6 +914,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
902914
end
903915
end
904916

917+
class MessageSet
918+
# @private
919+
class Representation < Google::Apis::Core::JsonRepresentation
920+
end
921+
end
922+
905923
class MetadataExport
906924
# @private
907925
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1198,6 +1216,18 @@ class Representation < Google::Apis::Core::JsonRepresentation
11981216
end
11991217
end
12001218

1219+
class StatusProto
1220+
# @private
1221+
class Representation < Google::Apis::Core::JsonRepresentation
1222+
property :canonical_code, as: 'canonicalCode'
1223+
property :code, as: 'code'
1224+
property :message, as: 'message'
1225+
property :message_set, as: 'messageSet', class: Google::Apis::MetastoreV1alpha::MessageSet, decorator: Google::Apis::MetastoreV1alpha::MessageSet::Representation
1226+
1227+
property :space, as: 'space'
1228+
end
1229+
end
1230+
12011231
class TelemetryConfig
12021232
# @private
12031233
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)