We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cf55c4 commit e299e90Copy full SHA for e299e90
gapic-generator/lib/gapic/presenters/service_presenter.rb
@@ -526,7 +526,7 @@ def grpc_full_name
526
#
527
# @return [Hash]
528
def drift_manifest
529
- {
+ h = {
530
clients: {
531
grpc: {
532
libraryClient: client_name_full,
@@ -538,6 +538,11 @@ def drift_manifest
538
}
539
540
541
+ if !@service.api_version.empty?
542
+ h[:apiVersion] = @service.api_version
543
+ end
544
+
545
+ return h
546
end
547
548
##
shared/output/gapic/templates/showcase/gapic_metadata.json
@@ -126,7 +126,8 @@
126
127
128
129
- }
+ },
130
+ "apiVersion": "v1_20240408"
131
},
132
"Identity": {
133
"clients": {
0 commit comments