googleapis-common-protos-types 1.17.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/api/client_pb.rb +29 -1
- data/lib/google/api/error_reason_pb.rb +34 -1
- data/lib/google/api/httpbody_pb.rb +1 -2
- data/lib/google/api/metric_pb.rb +21 -1
- data/lib/google/api/policy_pb.rb +2 -4
- data/lib/google/api/quota_pb.rb +2 -2
- data/lib/google/longrunning/operations_pb.rb +35 -36
- data/lib/google/rpc/context/attribute_context_pb.rb +2 -1
- data/lib/google/rpc/context/audit_context_pb.rb +1 -2
- data/lib/google/rpc/error_details_pb.rb +17 -4
- data/lib/googleapis/common/protos/types/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0605c9d1aa5f20de42d2a2e6910917b15c1bd4fd1c527ba2d32f99ba651b468
|
4
|
+
data.tar.gz: 4586cde8d6eecef6d1bd2bf5d1fb25dbda2ca66439cde7f83324434534891969
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20b8008dcae0302d419a75563bd30c0ced5dd4e1cb1b5ca9d0536de08e8e518c57de1cd4db4cc57fc541f0607f497117d6d473a0ec3fe841d455151318e6402b
|
7
|
+
data.tar.gz: 9fe559dc021a942395824504e8f63d08d69c5fa96fe906968f3d6cc5ce54c560baabf89588d1fce00cbcb9ac6e4227ae384e31395c0907ca73b0f7bd2b973152
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 1.18.0 (2025-01-14)
|
4
|
+
|
5
|
+
#### Features
|
6
|
+
|
7
|
+
* Added a few additional client generation settings
|
8
|
+
* Added MetricDescriptorMetadata#time_series_resource_hierarchy_level
|
9
|
+
* Added MISSING_ORIGIN and OVERLOADED_CREDENTIALS error reasons
|
10
|
+
* Added reason and localized_message fields to FieldViolation
|
11
|
+
|
3
12
|
### 1.17.0 (2025-01-09)
|
4
13
|
|
5
14
|
#### Features
|
data/lib/google/api/client_pb.rb
CHANGED
@@ -9,7 +9,7 @@ require 'google/protobuf/descriptor_pb'
|
|
9
9
|
require 'google/protobuf/duration_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\"
|
12
|
+
descriptor_data = "\n\x17google/api/client.proto\x12\ngoogle.api\x1a\x1dgoogle/api/launch_stage.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\"\xbe\x01\n\x16\x43ommonLanguageSettings\x12\x1e\n\x12reference_docs_uri\x18\x01 \x01(\tB\x02\x18\x01\x12:\n\x0c\x64\x65stinations\x18\x02 \x03(\x0e\x32$.google.api.ClientLibraryDestination\x12H\n\x1aselective_gapic_generation\x18\x03 \x01(\x0b\x32$.google.api.SelectiveGapicGeneration\"\xfb\x03\n\x15\x43lientLibrarySettings\x12\x0f\n\x07version\x18\x01 \x01(\t\x12-\n\x0claunch_stage\x18\x02 \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x1a\n\x12rest_numeric_enums\x18\x03 \x01(\x08\x12/\n\rjava_settings\x18\x15 \x01(\x0b\x32\x18.google.api.JavaSettings\x12-\n\x0c\x63pp_settings\x18\x16 \x01(\x0b\x32\x17.google.api.CppSettings\x12-\n\x0cphp_settings\x18\x17 \x01(\x0b\x32\x17.google.api.PhpSettings\x12\x33\n\x0fpython_settings\x18\x18 \x01(\x0b\x32\x1a.google.api.PythonSettings\x12/\n\rnode_settings\x18\x19 \x01(\x0b\x32\x18.google.api.NodeSettings\x12\x33\n\x0f\x64otnet_settings\x18\x1a \x01(\x0b\x32\x1a.google.api.DotnetSettings\x12/\n\rruby_settings\x18\x1b \x01(\x0b\x32\x18.google.api.RubySettings\x12+\n\x0bgo_settings\x18\x1c \x01(\x0b\x32\x16.google.api.GoSettings\"\xa8\x03\n\nPublishing\x12\x33\n\x0fmethod_settings\x18\x02 \x03(\x0b\x32\x1a.google.api.MethodSettings\x12\x15\n\rnew_issue_uri\x18\x65 \x01(\t\x12\x19\n\x11\x64ocumentation_uri\x18\x66 \x01(\t\x12\x16\n\x0e\x61pi_short_name\x18g \x01(\t\x12\x14\n\x0cgithub_label\x18h \x01(\t\x12\x1e\n\x16\x63odeowner_github_teams\x18i \x03(\t\x12\x16\n\x0e\x64oc_tag_prefix\x18j \x01(\t\x12;\n\x0corganization\x18k \x01(\x0e\x32%.google.api.ClientLibraryOrganization\x12;\n\x10library_settings\x18m \x03(\x0b\x32!.google.api.ClientLibrarySettings\x12)\n!proto_reference_documentation_uri\x18n \x01(\t\x12(\n rest_reference_documentation_uri\x18o \x01(\t\"\xe3\x01\n\x0cJavaSettings\x12\x17\n\x0flibrary_package\x18\x01 \x01(\t\x12L\n\x13service_class_names\x18\x02 \x03(\x0b\x32/.google.api.JavaSettings.ServiceClassNamesEntry\x12\x32\n\x06\x63ommon\x18\x03 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x1a\x38\n\x16ServiceClassNamesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"A\n\x0b\x43ppSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"A\n\x0bPhpSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\xf4\x01\n\x0ePythonSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12N\n\x15\x65xperimental_features\x18\x02 \x01(\x0b\x32/.google.api.PythonSettings.ExperimentalFeatures\x1a^\n\x14\x45xperimentalFeatures\x12\x1d\n\x15rest_async_io_enabled\x18\x01 \x01(\x08\x12\'\n\x1fprotobuf_pythonic_types_enabled\x18\x02 \x01(\x08\"B\n\x0cNodeSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\xaa\x03\n\x0e\x44otnetSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12I\n\x10renamed_services\x18\x02 \x03(\x0b\x32/.google.api.DotnetSettings.RenamedServicesEntry\x12K\n\x11renamed_resources\x18\x03 \x03(\x0b\x32\x30.google.api.DotnetSettings.RenamedResourcesEntry\x12\x19\n\x11ignored_resources\x18\x04 \x03(\t\x12 \n\x18\x66orced_namespace_aliases\x18\x05 \x03(\t\x12\x1e\n\x16handwritten_signatures\x18\x06 \x03(\t\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15RenamedResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"B\n\x0cRubySettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\"\xbf\x01\n\nGoSettings\x12\x32\n\x06\x63ommon\x18\x01 \x01(\x0b\x32\".google.api.CommonLanguageSettings\x12\x45\n\x10renamed_services\x18\x02 \x03(\x0b\x32+.google.api.GoSettings.RenamedServicesEntry\x1a\x36\n\x14RenamedServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xcf\x02\n\x0eMethodSettings\x12\x10\n\x08selector\x18\x01 \x01(\t\x12<\n\x0clong_running\x18\x02 \x01(\x0b\x32&.google.api.MethodSettings.LongRunning\x12\x1d\n\x15\x61uto_populated_fields\x18\x03 \x03(\t\x1a\xcd\x01\n\x0bLongRunning\x12\x35\n\x12initial_poll_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1d\n\x15poll_delay_multiplier\x18\x02 \x01(\x02\x12\x31\n\x0emax_poll_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x12total_poll_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"+\n\x18SelectiveGapicGeneration\x12\x0f\n\x07methods\x18\x01 \x03(\t*\xa3\x01\n\x19\x43lientLibraryOrganization\x12+\n\'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED\x10\x00\x12\t\n\x05\x43LOUD\x10\x01\x12\x07\n\x03\x41\x44S\x10\x02\x12\n\n\x06PHOTOS\x10\x03\x12\x0f\n\x0bSTREET_VIEW\x10\x04\x12\x0c\n\x08SHOPPING\x10\x05\x12\x07\n\x03GEO\x10\x06\x12\x11\n\rGENERATIVE_AI\x10\x07*g\n\x18\x43lientLibraryDestination\x12*\n&CLIENT_LIBRARY_DESTINATION_UNSPECIFIED\x10\x00\x12\n\n\x06GITHUB\x10\n\x12\x13\n\x0fPACKAGE_MANAGER\x10\x14:9\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\t:6\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\t:6\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\t:8\n\x0b\x61pi_version\x12\x1f.google.protobuf.ServiceOptions\x18\xc1\xba\xab\xfa\x01 \x01(\tBi\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -52,6 +52,7 @@ module Google
|
|
52
52
|
GoSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.GoSettings").msgclass
|
53
53
|
MethodSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MethodSettings").msgclass
|
54
54
|
MethodSettings::LongRunning = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MethodSettings.LongRunning").msgclass
|
55
|
+
SelectiveGapicGeneration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.SelectiveGapicGeneration").msgclass
|
55
56
|
ClientLibraryOrganization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryOrganization").enummodule
|
56
57
|
ClientLibraryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ClientLibraryDestination").enummodule
|
57
58
|
end
|
@@ -185,6 +186,9 @@ end
|
|
185
186
|
#
|
186
187
|
# // The destination where API teams want this client library to be published.
|
187
188
|
# repeated ClientLibraryDestination destinations = 2;
|
189
|
+
#
|
190
|
+
# // Configuration for which RPCs should be generated in the GAPIC client.
|
191
|
+
# SelectiveGapicGeneration selective_gapic_generation = 3;
|
188
192
|
# }
|
189
193
|
#
|
190
194
|
# // Details about how and where to publish client libraries.
|
@@ -333,6 +337,12 @@ end
|
|
333
337
|
# // This feature will be enabled by default 1 month after launching the
|
334
338
|
# // feature in preview packages.
|
335
339
|
# bool rest_async_io_enabled = 1;
|
340
|
+
#
|
341
|
+
# // Enables generation of protobuf code using new types that are more
|
342
|
+
# // Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
343
|
+
# // enabled by default 1 month after launching the feature in preview
|
344
|
+
# // packages.
|
345
|
+
# bool protobuf_pythonic_types_enabled = 2;
|
336
346
|
# }
|
337
347
|
#
|
338
348
|
# // Some settings.
|
@@ -394,6 +404,16 @@ end
|
|
394
404
|
# message GoSettings {
|
395
405
|
# // Some settings.
|
396
406
|
# CommonLanguageSettings common = 1;
|
407
|
+
#
|
408
|
+
# // Map of service names to renamed services. Keys are the package relative
|
409
|
+
# // service names and values are the name to be used for the service client
|
410
|
+
# // and call options.
|
411
|
+
# //
|
412
|
+
# // publishing:
|
413
|
+
# // go_settings:
|
414
|
+
# // renamed_services:
|
415
|
+
# // Publisher: TopicAdmin
|
416
|
+
# map<string, string> renamed_services = 2;
|
397
417
|
# }
|
398
418
|
#
|
399
419
|
# // Describes the generator configuration for a method.
|
@@ -504,3 +524,11 @@ end
|
|
504
524
|
# // Publish the library to package managers like nuget.org and npmjs.com.
|
505
525
|
# PACKAGE_MANAGER = 20;
|
506
526
|
# }
|
527
|
+
#
|
528
|
+
# // This message is used to configure the generation of a subset of the RPCs in
|
529
|
+
# // a service for client libraries.
|
530
|
+
# message SelectiveGapicGeneration {
|
531
|
+
# // An allowlist of the fully qualified names of RPCs that should be included
|
532
|
+
# // on public client surfaces.
|
533
|
+
# repeated string methods = 1;
|
534
|
+
# }
|
@@ -5,7 +5,7 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n\x1dgoogle/api/error_reason.proto\x12\ngoogle.api*\
|
8
|
+
descriptor_data = "\n\x1dgoogle/api/error_reason.proto\x12\ngoogle.api*\xba\x07\n\x0b\x45rrorReason\x12\x1c\n\x18\x45RROR_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10SERVICE_DISABLED\x10\x01\x12\x14\n\x10\x42ILLING_DISABLED\x10\x02\x12\x13\n\x0f\x41PI_KEY_INVALID\x10\x03\x12\x1b\n\x17\x41PI_KEY_SERVICE_BLOCKED\x10\x04\x12!\n\x1d\x41PI_KEY_HTTP_REFERRER_BLOCKED\x10\x07\x12\x1e\n\x1a\x41PI_KEY_IP_ADDRESS_BLOCKED\x10\x08\x12\x1f\n\x1b\x41PI_KEY_ANDROID_APP_BLOCKED\x10\t\x12\x1b\n\x17\x41PI_KEY_IOS_APP_BLOCKED\x10\r\x12\x17\n\x13RATE_LIMIT_EXCEEDED\x10\x05\x12\x1b\n\x17RESOURCE_QUOTA_EXCEEDED\x10\x06\x12 \n\x1cLOCATION_TAX_POLICY_VIOLATED\x10\n\x12\x17\n\x13USER_PROJECT_DENIED\x10\x0b\x12\x16\n\x12\x43ONSUMER_SUSPENDED\x10\x0c\x12\x14\n\x10\x43ONSUMER_INVALID\x10\x0e\x12\x1c\n\x18SECURITY_POLICY_VIOLATED\x10\x0f\x12\x18\n\x14\x41\x43\x43\x45SS_TOKEN_EXPIRED\x10\x10\x12#\n\x1f\x41\x43\x43\x45SS_TOKEN_SCOPE_INSUFFICIENT\x10\x11\x12\x19\n\x15\x41\x43\x43OUNT_STATE_INVALID\x10\x12\x12!\n\x1d\x41\x43\x43\x45SS_TOKEN_TYPE_UNSUPPORTED\x10\x13\x12\x17\n\x13\x43REDENTIALS_MISSING\x10\x14\x12\x1c\n\x18RESOURCE_PROJECT_INVALID\x10\x15\x12\x1a\n\x16SESSION_COOKIE_INVALID\x10\x17\x12\x19\n\x15USER_BLOCKED_BY_ADMIN\x10\x18\x12\'\n#RESOURCE_USAGE_RESTRICTION_VIOLATED\x10\x19\x12 \n\x1cSYSTEM_PARAMETER_UNSUPPORTED\x10\x1a\x12\x1d\n\x19ORG_RESTRICTION_VIOLATION\x10\x1b\x12\"\n\x1eORG_RESTRICTION_HEADER_INVALID\x10\x1c\x12\x17\n\x13SERVICE_NOT_VISIBLE\x10\x1d\x12\x11\n\rGCP_SUSPENDED\x10\x1e\x12\x1c\n\x18LOCATION_POLICY_VIOLATED\x10\x1f\x12\x12\n\x0eMISSING_ORIGIN\x10!\x12\x1a\n\x16OVERLOADED_CREDENTIALS\x10\"Bp\n\x0e\x63om.google.apiB\x10\x45rrorReasonProtoP\x01ZCgoogle.golang.org/genproto/googleapis/api/error_reason;error_reason\xa2\x02\x04GAPIb\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
11
|
|
@@ -627,4 +627,37 @@ end
|
|
627
627
|
# // "locations/asia-northeast3" violates at least one location policy.
|
628
628
|
# // The troubleshooting guidance is provided in the Help links.
|
629
629
|
# LOCATION_POLICY_VIOLATED = 31;
|
630
|
+
#
|
631
|
+
# // The request is denied because origin request header is missing.
|
632
|
+
# //
|
633
|
+
# // Example of an ErrorInfo when
|
634
|
+
# // accessing "pubsub.googleapis.com" service with an empty "Origin" request
|
635
|
+
# // header.
|
636
|
+
# //
|
637
|
+
# // {
|
638
|
+
# // reason: "MISSING_ORIGIN"
|
639
|
+
# // domain: "googleapis.com"
|
640
|
+
# // metadata {
|
641
|
+
# // "consumer":"projects/123456"
|
642
|
+
# // "service": "pubsub.googleapis.com"
|
643
|
+
# // }
|
644
|
+
# // }
|
645
|
+
# MISSING_ORIGIN = 33;
|
646
|
+
#
|
647
|
+
# // The request is denied because the request contains more than one credential
|
648
|
+
# // type that are individually acceptable, but not together. The customer
|
649
|
+
# // should retry their request with only one set of credentials.
|
650
|
+
# //
|
651
|
+
# // Example of an ErrorInfo when
|
652
|
+
# // accessing "pubsub.googleapis.com" service with overloaded credentials.
|
653
|
+
# //
|
654
|
+
# // {
|
655
|
+
# // reason: "OVERLOADED_CREDENTIALS"
|
656
|
+
# // domain: "googleapis.com"
|
657
|
+
# // metadata {
|
658
|
+
# // "consumer":"projects/123456"
|
659
|
+
# // "service": "pubsub.googleapis.com"
|
660
|
+
# // }
|
661
|
+
# // }
|
662
|
+
# OVERLOADED_CREDENTIALS = 34;
|
630
663
|
# }
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/protobuf/any_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\x19google/api/httpbody.proto\x12\ngoogle.api\x1a\x19google/protobuf/any.proto\"X\n\x08HttpBody\x12\x14\n\x0c\x63ontent_type\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12(\n\nextensions\x18\x03 \x03(\x0b\x32\x14.google.protobuf.
|
10
|
+
descriptor_data = "\n\x19google/api/httpbody.proto\x12\ngoogle.api\x1a\x19google/protobuf/any.proto\"X\n\x08HttpBody\x12\x14\n\x0c\x63ontent_type\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12(\n\nextensions\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyBe\n\x0e\x63om.google.apiB\rHttpBodyProtoP\x01Z;google.golang.org/genproto/googleapis/api/httpbody;httpbody\xa2\x02\x04GAPIb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -62,7 +62,6 @@ end
|
|
62
62
|
#
|
63
63
|
# import "google/protobuf/any.proto";
|
64
64
|
#
|
65
|
-
# option cc_enable_arenas = true;
|
66
65
|
# option go_package = "google.golang.org/genproto/googleapis/api/httpbody;httpbody";
|
67
66
|
# option java_multiple_files = true;
|
68
67
|
# option java_outer_classname = "HttpBodyProto";
|
data/lib/google/api/metric_pb.rb
CHANGED
@@ -9,7 +9,7 @@ require 'google/api/launch_stage_pb'
|
|
9
9
|
require 'google/protobuf/duration_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n\x17google/api/metric.proto\x12\ngoogle.api\x1a\x16google/api/label.proto\x1a\x1dgoogle/api/launch_stage.proto\x1a\x1egoogle/protobuf/duration.proto\"\
|
12
|
+
descriptor_data = "\n\x17google/api/metric.proto\x12\ngoogle.api\x1a\x16google/api/label.proto\x1a\x1dgoogle/api/launch_stage.proto\x1a\x1egoogle/protobuf/duration.proto\"\xac\x08\n\x10MetricDescriptor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x08 \x01(\t\x12+\n\x06labels\x18\x02 \x03(\x0b\x32\x1b.google.api.LabelDescriptor\x12<\n\x0bmetric_kind\x18\x03 \x01(\x0e\x32\'.google.api.MetricDescriptor.MetricKind\x12:\n\nvalue_type\x18\x04 \x01(\x0e\x32&.google.api.MetricDescriptor.ValueType\x12\x0c\n\x04unit\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x07 \x01(\t\x12G\n\x08metadata\x18\n \x01(\x0b\x32\x35.google.api.MetricDescriptor.MetricDescriptorMetadata\x12-\n\x0claunch_stage\x18\x0c \x01(\x0e\x32\x17.google.api.LaunchStage\x12 \n\x18monitored_resource_types\x18\r \x03(\t\x1a\xbd\x03\n\x18MetricDescriptorMetadata\x12\x31\n\x0claunch_stage\x18\x01 \x01(\x0e\x32\x17.google.api.LaunchStageB\x02\x18\x01\x12\x30\n\rsample_period\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12/\n\x0cingest_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x84\x01\n$time_series_resource_hierarchy_level\x18\x04 \x03(\x0e\x32V.google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel\"\x83\x01\n TimeSeriesResourceHierarchyLevel\x12\x34\n0TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED\x10\x00\x12\x0b\n\x07PROJECT\x10\x01\x12\x10\n\x0cORGANIZATION\x10\x02\x12\n\n\x06\x46OLDER\x10\x03\"O\n\nMetricKind\x12\x1b\n\x17METRIC_KIND_UNSPECIFIED\x10\x00\x12\t\n\x05GAUGE\x10\x01\x12\t\n\x05\x44\x45LTA\x10\x02\x12\x0e\n\nCUMULATIVE\x10\x03\"q\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x12\t\n\x05INT64\x10\x02\x12\n\n\x06\x44OUBLE\x10\x03\x12\n\n\x06STRING\x10\x04\x12\x10\n\x0c\x44ISTRIBUTION\x10\x05\x12\t\n\x05MONEY\x10\x06\"u\n\x06Metric\x12\x0c\n\x04type\x18\x03 \x01(\t\x12.\n\x06labels\x18\x02 \x03(\x0b\x32\x1e.google.api.Metric.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42_\n\x0e\x63om.google.apiB\x0bMetricProtoP\x01Z7google.golang.org/genproto/googleapis/api/metric;metric\xa2\x02\x04GAPIb\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -41,6 +41,7 @@ module Google
|
|
41
41
|
module Api
|
42
42
|
MetricDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor").msgclass
|
43
43
|
MetricDescriptor::MetricDescriptorMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.MetricDescriptorMetadata").msgclass
|
44
|
+
MetricDescriptor::MetricDescriptorMetadata::TimeSeriesResourceHierarchyLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel").enummodule
|
44
45
|
MetricDescriptor::MetricKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.MetricKind").enummodule
|
45
46
|
MetricDescriptor::ValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.MetricDescriptor.ValueType").enummodule
|
46
47
|
Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Metric").msgclass
|
@@ -131,6 +132,21 @@ end
|
|
131
132
|
#
|
132
133
|
# // Additional annotations that can be used to guide the usage of a metric.
|
133
134
|
# message MetricDescriptorMetadata {
|
135
|
+
# // The resource hierarchy level of the timeseries data of a metric.
|
136
|
+
# enum TimeSeriesResourceHierarchyLevel {
|
137
|
+
# // Do not use this default value.
|
138
|
+
# TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED = 0;
|
139
|
+
#
|
140
|
+
# // Scopes a metric to a project.
|
141
|
+
# PROJECT = 1;
|
142
|
+
#
|
143
|
+
# // Scopes a metric to an organization.
|
144
|
+
# ORGANIZATION = 2;
|
145
|
+
#
|
146
|
+
# // Scopes a metric to a folder.
|
147
|
+
# FOLDER = 3;
|
148
|
+
# }
|
149
|
+
#
|
134
150
|
# // Deprecated. Must use the
|
135
151
|
# // [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
|
136
152
|
# // instead.
|
@@ -146,6 +162,10 @@ end
|
|
146
162
|
# // age are guaranteed to be ingested and available to be read, excluding
|
147
163
|
# // data loss due to errors.
|
148
164
|
# google.protobuf.Duration ingest_delay = 3;
|
165
|
+
#
|
166
|
+
# // The scope of the timeseries data of the metric.
|
167
|
+
# repeated TimeSeriesResourceHierarchyLevel
|
168
|
+
# time_series_resource_hierarchy_level = 4;
|
149
169
|
# }
|
150
170
|
#
|
151
171
|
# // The resource name of the metric descriptor.
|
data/lib/google/api/policy_pb.rb
CHANGED
@@ -69,16 +69,14 @@ end
|
|
69
69
|
# option java_package = "com.google.api";
|
70
70
|
# option objc_class_prefix = "GAPI";
|
71
71
|
#
|
72
|
-
# // Provides `google.api.field_policy` annotation at proto fields.
|
73
72
|
# extend google.protobuf.FieldOptions {
|
74
73
|
# // See [FieldPolicy][].
|
75
|
-
# FieldPolicy field_policy = 158361448;
|
74
|
+
# google.api.FieldPolicy field_policy = 158361448;
|
76
75
|
# }
|
77
76
|
#
|
78
|
-
# // Provides `google.api.method_policy` annotation at proto methods.
|
79
77
|
# extend google.protobuf.MethodOptions {
|
80
78
|
# // See [MethodPolicy][].
|
81
|
-
# MethodPolicy method_policy = 161893301;
|
79
|
+
# google.api.MethodPolicy method_policy = 161893301;
|
82
80
|
# }
|
83
81
|
#
|
84
82
|
# // Google API Policy Annotation
|
data/lib/google/api/quota_pb.rb
CHANGED
@@ -204,8 +204,8 @@ end
|
|
204
204
|
# string metric = 8;
|
205
205
|
#
|
206
206
|
# // Specify the unit of the quota limit. It uses the same syntax as
|
207
|
-
# // [
|
208
|
-
# // backend system.
|
207
|
+
# // [MetricDescriptor.unit][google.api.MetricDescriptor.unit]. The supported
|
208
|
+
# // unit kinds are determined by the quota backend system.
|
209
209
|
# //
|
210
210
|
# // Here are some examples:
|
211
211
|
# // * "1/min/{project}" for quota per minute per project.
|
@@ -7,13 +7,13 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/annotations_pb'
|
8
8
|
require 'google/api/client_pb'
|
9
9
|
require 'google/protobuf/any_pb'
|
10
|
+
require 'google/protobuf/descriptor_pb'
|
10
11
|
require 'google/protobuf/duration_pb'
|
11
12
|
require 'google/protobuf/empty_pb'
|
12
13
|
require 'google/rpc/status_pb'
|
13
|
-
require 'google/protobuf/descriptor_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n#google/longrunning/operations.proto\x12\x12google.longrunning\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\
|
16
|
+
descriptor_data = "\n#google/longrunning/operations.proto\x12\x12google.longrunning\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x19google/protobuf/any.proto\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x17google/rpc/status.proto\"\xa8\x01\n\tOperation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12&\n\x08metadata\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0c\n\x04\x64one\x18\x03 \x01(\x08\x12#\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x12(\n\x08response\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x42\x08\n\x06result\"#\n\x13GetOperationRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\\\n\x15ListOperationsRequest\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"d\n\x16ListOperationsResponse\x12\x31\n\noperations\x18\x01 \x03(\x0b\x32\x1d.google.longrunning.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"&\n\x16\x43\x61ncelOperationRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"&\n\x16\x44\x65leteOperationRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"P\n\x14WaitOperationRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12*\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"=\n\rOperationInfo\x12\x15\n\rresponse_type\x18\x01 \x01(\t\x12\x15\n\rmetadata_type\x18\x02 \x01(\t2\xaa\x05\n\nOperations\x12\x94\x01\n\x0eListOperations\x12).google.longrunning.ListOperationsRequest\x1a*.google.longrunning.ListOperationsResponse\"+\xda\x41\x0bname,filter\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/{name=operations}\x12\x7f\n\x0cGetOperation\x12\'.google.longrunning.GetOperationRequest\x1a\x1d.google.longrunning.Operation\"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/{name=operations/**}\x12~\n\x0f\x44\x65leteOperation\x12*.google.longrunning.DeleteOperationRequest\x1a\x16.google.protobuf.Empty\"\'\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1a*\x18/v1/{name=operations/**}\x12\x88\x01\n\x0f\x43\x61ncelOperation\x12*.google.longrunning.CancelOperationRequest\x1a\x16.google.protobuf.Empty\"1\xda\x41\x04name\x82\xd3\xe4\x93\x02$\"\x1f/v1/{name=operations/**}:cancel:\x01*\x12Z\n\rWaitOperation\x12(.google.longrunning.WaitOperationRequest\x1a\x1d.google.longrunning.Operation\"\x00\x1a\x1d\xca\x41\x1alongrunning.googleapis.com:Z\n\x0eoperation_info\x12\x1e.google.protobuf.MethodOptions\x18\x99\x08 \x01(\x0b\x32!.google.longrunning.OperationInfoB\xa5\x01\n\x16\x63om.google.longrunningB\x0fOperationsProtoP\x01ZCcloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb\xf8\x01\x01\xa2\x02\x05GLRUN\xaa\x02\x12Google.LongRunning\xca\x02\x12Google\\LongRunningb\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -78,10 +78,10 @@ end
|
|
78
78
|
# import "google/api/annotations.proto";
|
79
79
|
# import "google/api/client.proto";
|
80
80
|
# import "google/protobuf/any.proto";
|
81
|
+
# import "google/protobuf/descriptor.proto";
|
81
82
|
# import "google/protobuf/duration.proto";
|
82
83
|
# import "google/protobuf/empty.proto";
|
83
84
|
# import "google/rpc/status.proto";
|
84
|
-
# import "google/protobuf/descriptor.proto";
|
85
85
|
#
|
86
86
|
# option cc_enable_arenas = true;
|
87
87
|
# option csharp_namespace = "Google.LongRunning";
|
@@ -89,6 +89,7 @@ end
|
|
89
89
|
# option java_multiple_files = true;
|
90
90
|
# option java_outer_classname = "OperationsProto";
|
91
91
|
# option java_package = "com.google.longrunning";
|
92
|
+
# option objc_class_prefix = "GLRUN";
|
92
93
|
# option php_namespace = "Google\\LongRunning";
|
93
94
|
#
|
94
95
|
# extend google.protobuf.MethodOptions {
|
@@ -104,25 +105,17 @@ end
|
|
104
105
|
# // Manages long-running operations with an API service.
|
105
106
|
# //
|
106
107
|
# // When an API method normally takes long time to complete, it can be designed
|
107
|
-
# // to return [Operation][google.longrunning.Operation] to the client, and the
|
108
|
-
# // interface to receive the real response asynchronously by
|
109
|
-
# // operation resource, or pass the operation resource to another API
|
110
|
-
# //
|
111
|
-
# //
|
112
|
-
# //
|
108
|
+
# // to return [Operation][google.longrunning.Operation] to the client, and the
|
109
|
+
# // client can use this interface to receive the real response asynchronously by
|
110
|
+
# // polling the operation resource, or pass the operation resource to another API
|
111
|
+
# // (such as Pub/Sub API) to receive the response. Any API service that returns
|
112
|
+
# // long-running operations should implement the `Operations` interface so
|
113
|
+
# // developers can have a consistent client experience.
|
113
114
|
# service Operations {
|
114
115
|
# option (google.api.default_host) = "longrunning.googleapis.com";
|
115
116
|
#
|
116
117
|
# // Lists operations that match the specified filter in the request. If the
|
117
118
|
# // server doesn't support this method, it returns `UNIMPLEMENTED`.
|
118
|
-
# //
|
119
|
-
# // NOTE: the `name` binding allows API services to override the binding
|
120
|
-
# // to use different resource name schemes, such as `users/*/operations`. To
|
121
|
-
# // override the binding, API services can add a binding such as
|
122
|
-
# // `"/v1/{name=users/*}/operations"` to their service configuration.
|
123
|
-
# // For backwards compatibility, the default name includes the operations
|
124
|
-
# // collection id, however overriding users must ensure the name binding
|
125
|
-
# // is the parent resource, without the operations collection id.
|
126
119
|
# rpc ListOperations(ListOperationsRequest) returns (ListOperationsResponse) {
|
127
120
|
# option (google.api.http) = {
|
128
121
|
# get: "/v1/{name=operations}"
|
@@ -159,8 +152,9 @@ end
|
|
159
152
|
# // other methods to check whether the cancellation succeeded or whether the
|
160
153
|
# // operation completed despite cancellation. On successful cancellation,
|
161
154
|
# // the operation is not deleted; instead, it becomes an operation with
|
162
|
-
# // an [Operation.error][google.longrunning.Operation.error] value with a
|
163
|
-
# // corresponding to
|
155
|
+
# // an [Operation.error][google.longrunning.Operation.error] value with a
|
156
|
+
# // [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to
|
157
|
+
# // `Code.CANCELLED`.
|
164
158
|
# rpc CancelOperation(CancelOperationRequest) returns (google.protobuf.Empty) {
|
165
159
|
# option (google.api.http) = {
|
166
160
|
# post: "/v1/{name=operations/**}:cancel"
|
@@ -178,8 +172,7 @@ end
|
|
178
172
|
# // Note that this method is on a best-effort basis. It may return the latest
|
179
173
|
# // state before the specified timeout (including immediately), meaning even an
|
180
174
|
# // immediate response is no guarantee that the operation is done.
|
181
|
-
# rpc WaitOperation(WaitOperationRequest) returns (Operation) {
|
182
|
-
# }
|
175
|
+
# rpc WaitOperation(WaitOperationRequest) returns (Operation) {}
|
183
176
|
# }
|
184
177
|
#
|
185
178
|
# // This resource represents a long-running operation that is the result of a
|
@@ -203,12 +196,13 @@ end
|
|
203
196
|
#
|
204
197
|
# // The operation result, which can be either an `error` or a valid `response`.
|
205
198
|
# // If `done` == `false`, neither `error` nor `response` is set.
|
206
|
-
# // If `done` == `true`, exactly one of `error` or `response`
|
199
|
+
# // If `done` == `true`, exactly one of `error` or `response` can be set.
|
200
|
+
# // Some services might not provide the result.
|
207
201
|
# oneof result {
|
208
202
|
# // The error result of the operation in case of failure or cancellation.
|
209
203
|
# google.rpc.Status error = 4;
|
210
204
|
#
|
211
|
-
# // The normal response of the operation
|
205
|
+
# // The normal, successful response of the operation. If the original
|
212
206
|
# // method returns no data on success, such as `Delete`, the response is
|
213
207
|
# // `google.protobuf.Empty`. If the original method is standard
|
214
208
|
# // `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -220,13 +214,15 @@ end
|
|
220
214
|
# }
|
221
215
|
# }
|
222
216
|
#
|
223
|
-
# // The request message for
|
217
|
+
# // The request message for
|
218
|
+
# // [Operations.GetOperation][google.longrunning.Operations.GetOperation].
|
224
219
|
# message GetOperationRequest {
|
225
220
|
# // The name of the operation resource.
|
226
221
|
# string name = 1;
|
227
222
|
# }
|
228
223
|
#
|
229
|
-
# // The request message for
|
224
|
+
# // The request message for
|
225
|
+
# // [Operations.ListOperations][google.longrunning.Operations.ListOperations].
|
230
226
|
# message ListOperationsRequest {
|
231
227
|
# // The name of the operation's parent resource.
|
232
228
|
# string name = 4;
|
@@ -241,7 +237,8 @@ end
|
|
241
237
|
# string page_token = 3;
|
242
238
|
# }
|
243
239
|
#
|
244
|
-
# // The response message for
|
240
|
+
# // The response message for
|
241
|
+
# // [Operations.ListOperations][google.longrunning.Operations.ListOperations].
|
245
242
|
# message ListOperationsResponse {
|
246
243
|
# // A list of operations that matches the specified filter in the request.
|
247
244
|
# repeated Operation operations = 1;
|
@@ -250,19 +247,22 @@ end
|
|
250
247
|
# string next_page_token = 2;
|
251
248
|
# }
|
252
249
|
#
|
253
|
-
# // The request message for
|
250
|
+
# // The request message for
|
251
|
+
# // [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
|
254
252
|
# message CancelOperationRequest {
|
255
253
|
# // The name of the operation resource to be cancelled.
|
256
254
|
# string name = 1;
|
257
255
|
# }
|
258
256
|
#
|
259
|
-
# // The request message for
|
257
|
+
# // The request message for
|
258
|
+
# // [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
|
260
259
|
# message DeleteOperationRequest {
|
261
260
|
# // The name of the operation resource to be deleted.
|
262
261
|
# string name = 1;
|
263
262
|
# }
|
264
263
|
#
|
265
|
-
# // The request message for
|
264
|
+
# // The request message for
|
265
|
+
# // [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
|
266
266
|
# message WaitOperationRequest {
|
267
267
|
# // The name of the operation resource to wait on.
|
268
268
|
# string name = 1;
|
@@ -277,13 +277,12 @@ end
|
|
277
277
|
# //
|
278
278
|
# // Example:
|
279
279
|
# //
|
280
|
-
# //
|
281
|
-
# //
|
282
|
-
# //
|
283
|
-
# //
|
284
|
-
# //
|
285
|
-
# // }
|
286
|
-
# // }
|
280
|
+
# // rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
281
|
+
# // option (google.longrunning.operation_info) = {
|
282
|
+
# // response_type: "ExportResponse"
|
283
|
+
# // metadata_type: "ExportMetadata"
|
284
|
+
# // };
|
285
|
+
# // }
|
287
286
|
# message OperationInfo {
|
288
287
|
# // Required. The message name of the primary return type for this
|
289
288
|
# // long-running operation.
|
@@ -333,7 +333,8 @@ end
|
|
333
333
|
# // may be set by external tools to store and retrieve arbitrary metadata.
|
334
334
|
# // They are not queryable and should be preserved when modifying objects.
|
335
335
|
# //
|
336
|
-
# // More info:
|
336
|
+
# // More info:
|
337
|
+
# // https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
337
338
|
# map<string, string> annotations = 6;
|
338
339
|
#
|
339
340
|
# // Mutable. The display name set by clients. Must be <= 63 characters.
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/protobuf/struct_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n&google/rpc/context/audit_context.proto\x12\x12google.rpc.context\x1a\x1cgoogle/protobuf/struct.proto\"\xc7\x01\n\x0c\x41uditContext\x12\x11\n\taudit_log\x18\x01 \x01(\x0c\x12\x31\n\x10scrubbed_request\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x32\n\x11scrubbed_response\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12$\n\x1cscrubbed_response_item_count\x18\x04 \x01(\x05\x12\x17\n\x0ftarget_resource\x18\x05 \x01(\
|
10
|
+
descriptor_data = "\n&google/rpc/context/audit_context.proto\x12\x12google.rpc.context\x1a\x1cgoogle/protobuf/struct.proto\"\xc7\x01\n\x0c\x41uditContext\x12\x11\n\taudit_log\x18\x01 \x01(\x0c\x12\x31\n\x10scrubbed_request\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x32\n\x11scrubbed_response\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12$\n\x1cscrubbed_response_item_count\x18\x04 \x01(\x05\x12\x17\n\x0ftarget_resource\x18\x05 \x01(\tBh\n\x16\x63om.google.rpc.contextB\x11\x41uditContextProtoP\x01Z9google.golang.org/genproto/googleapis/rpc/context;contextb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -64,7 +64,6 @@ end
|
|
64
64
|
#
|
65
65
|
# import "google/protobuf/struct.proto";
|
66
66
|
#
|
67
|
-
# option cc_enable_arenas = true;
|
68
67
|
# option go_package = "google.golang.org/genproto/googleapis/rpc/context;context";
|
69
68
|
# option java_multiple_files = true;
|
70
69
|
# option java_outer_classname = "AuditContextProto";
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/protobuf/duration_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\x1egoogle/rpc/error_details.proto\x12\ngoogle.rpc\x1a\x1egoogle/protobuf/duration.proto\"\x93\x01\n\tErrorInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x35\n\x08metadata\x18\x03 \x03(\x0b\x32#.google.rpc.ErrorInfo.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\tRetryInfo\x12.\n\x0bretry_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"2\n\tDebugInfo\x12\x15\n\rstack_entries\x18\x01 \x03(\t\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\"y\n\x0cQuotaFailure\x12\x36\n\nviolations\x18\x01 \x03(\x0b\x32\".google.rpc.QuotaFailure.Violation\x1a\x31\n\tViolation\x12\x0f\n\x07subject\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"\x95\x01\n\x13PreconditionFailure\x12=\n\nviolations\x18\x01 \x03(\x0b\x32).google.rpc.PreconditionFailure.Violation\x1a?\n\tViolation\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07subject\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"\
|
10
|
+
descriptor_data = "\n\x1egoogle/rpc/error_details.proto\x12\ngoogle.rpc\x1a\x1egoogle/protobuf/duration.proto\"\x93\x01\n\tErrorInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x35\n\x08metadata\x18\x03 \x03(\x0b\x32#.google.rpc.ErrorInfo.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\tRetryInfo\x12.\n\x0bretry_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"2\n\tDebugInfo\x12\x15\n\rstack_entries\x18\x01 \x03(\t\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\"y\n\x0cQuotaFailure\x12\x36\n\nviolations\x18\x01 \x03(\x0b\x32\".google.rpc.QuotaFailure.Violation\x1a\x31\n\tViolation\x12\x0f\n\x07subject\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"\x95\x01\n\x13PreconditionFailure\x12=\n\nviolations\x18\x01 \x03(\x0b\x32).google.rpc.PreconditionFailure.Violation\x1a?\n\tViolation\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07subject\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"\xcc\x01\n\nBadRequest\x12?\n\x10\x66ield_violations\x18\x01 \x03(\x0b\x32%.google.rpc.BadRequest.FieldViolation\x1a}\n\x0e\x46ieldViolation\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x37\n\x11localized_message\x18\x04 \x01(\x0b\x32\x1c.google.rpc.LocalizedMessage\"7\n\x0bRequestInfo\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x14\n\x0cserving_data\x18\x02 \x01(\t\"`\n\x0cResourceInfo\x12\x15\n\rresource_type\x18\x01 \x01(\t\x12\x15\n\rresource_name\x18\x02 \x01(\t\x12\r\n\x05owner\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\"V\n\x04Help\x12$\n\x05links\x18\x01 \x03(\x0b\x32\x15.google.rpc.Help.Link\x1a(\n\x04Link\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\"3\n\x10LocalizedMessage\x12\x0e\n\x06locale\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\tBl\n\x0e\x63om.google.rpcB\x11\x45rrorDetailsProtoP\x01Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\xa2\x02\x03RPCb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -123,11 +123,12 @@ end
|
|
123
123
|
#
|
124
124
|
# // Additional structured details about this error.
|
125
125
|
# //
|
126
|
-
# // Keys
|
126
|
+
# // Keys must match a regular expression of `[a-z][a-zA-Z0-9-_]+` but should
|
127
|
+
# // ideally be lowerCamelCase. Also, they must be limited to 64 characters in
|
127
128
|
# // length. When identifying the current value of an exceeded limit, the units
|
128
129
|
# // should be contained in the key, not the value. For example, rather than
|
129
|
-
# // {"instanceLimit": "100/request"}
|
130
|
-
# // {"instanceLimitPerRequest": "100"}
|
130
|
+
# // `{"instanceLimit": "100/request"}`, should be returned as,
|
131
|
+
# // `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
|
131
132
|
# // instances that can be created in a single (batch) request.
|
132
133
|
# map<string, string> metadata = 3;
|
133
134
|
# }
|
@@ -268,6 +269,18 @@ end
|
|
268
269
|
#
|
269
270
|
# // A description of why the request element is bad.
|
270
271
|
# string description = 2;
|
272
|
+
#
|
273
|
+
# // The reason of the field-level error. This is a constant value that
|
274
|
+
# // identifies the proximate cause of the field-level error. It should
|
275
|
+
# // uniquely identify the type of the FieldViolation within the scope of the
|
276
|
+
# // google.rpc.ErrorInfo.domain. This should be at most 63
|
277
|
+
# // characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`,
|
278
|
+
# // which represents UPPER_SNAKE_CASE.
|
279
|
+
# string reason = 3;
|
280
|
+
#
|
281
|
+
# // Provides a localized error message for field-level errors that is safe to
|
282
|
+
# // return to the API consumer.
|
283
|
+
# LocalizedMessage localized_message = 4;
|
271
284
|
# }
|
272
285
|
#
|
273
286
|
# // Describes all violations in a client request.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: googleapis-common-protos-types
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-14 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-protobuf
|
@@ -103,7 +102,6 @@ homepage: https://github.com/googleapis/common-protos-ruby
|
|
103
102
|
licenses:
|
104
103
|
- Apache-2.0
|
105
104
|
metadata: {}
|
106
|
-
post_install_message:
|
107
105
|
rdoc_options: []
|
108
106
|
require_paths:
|
109
107
|
- lib
|
@@ -118,8 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
116
|
- !ruby/object:Gem::Version
|
119
117
|
version: '0'
|
120
118
|
requirements: []
|
121
|
-
rubygems_version: 3.
|
122
|
-
signing_key:
|
119
|
+
rubygems_version: 3.6.2
|
123
120
|
specification_version: 4
|
124
121
|
summary: Common protocol buffer types used in Google APIs
|
125
122
|
test_files: []
|