google-cloud-app_engine-v1 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/appengine/v1/app_yaml_pb.rb +25 -103
  4. data/lib/google/appengine/v1/appengine_pb.rb +33 -186
  5. data/lib/google/appengine/v1/application_pb.rb +25 -45
  6. data/lib/google/appengine/v1/audit_data_pb.rb +25 -13
  7. data/lib/google/appengine/v1/certificate_pb.rb +25 -29
  8. data/lib/google/appengine/v1/deploy_pb.rb +25 -23
  9. data/lib/google/appengine/v1/deployed_files_pb.rb +25 -2
  10. data/lib/google/appengine/v1/domain_mapping_pb.rb +24 -28
  11. data/lib/google/appengine/v1/domain_pb.rb +24 -5
  12. data/lib/google/appengine/v1/firewall_pb.rb +24 -12
  13. data/lib/google/appengine/v1/instance_pb.rb +25 -35
  14. data/lib/google/appengine/v1/location_pb.rb +24 -6
  15. data/lib/google/appengine/v1/network_settings_pb.rb +24 -10
  16. data/lib/google/appengine/v1/operation_pb.rb +25 -16
  17. data/lib/google/appengine/v1/service_pb.rb +25 -18
  18. data/lib/google/appengine/v1/version_pb.rb +28 -153
  19. data/lib/google/cloud/app_engine/v1/applications/client.rb +6 -4
  20. data/lib/google/cloud/app_engine/v1/applications/operations.rb +5 -3
  21. data/lib/google/cloud/app_engine/v1/applications/rest/client.rb +6 -4
  22. data/lib/google/cloud/app_engine/v1/applications/rest/operations.rb +9 -7
  23. data/lib/google/cloud/app_engine/v1/applications/rest/service_stub.rb +4 -4
  24. data/lib/google/cloud/app_engine/v1/authorized_certificates/client.rb +6 -4
  25. data/lib/google/cloud/app_engine/v1/authorized_certificates/rest/client.rb +6 -4
  26. data/lib/google/cloud/app_engine/v1/authorized_certificates/rest/service_stub.rb +5 -5
  27. data/lib/google/cloud/app_engine/v1/authorized_domains/client.rb +6 -4
  28. data/lib/google/cloud/app_engine/v1/authorized_domains/rest/client.rb +6 -4
  29. data/lib/google/cloud/app_engine/v1/authorized_domains/rest/service_stub.rb +1 -1
  30. data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +6 -4
  31. data/lib/google/cloud/app_engine/v1/domain_mappings/operations.rb +5 -3
  32. data/lib/google/cloud/app_engine/v1/domain_mappings/rest/client.rb +6 -4
  33. data/lib/google/cloud/app_engine/v1/domain_mappings/rest/operations.rb +9 -7
  34. data/lib/google/cloud/app_engine/v1/domain_mappings/rest/service_stub.rb +5 -5
  35. data/lib/google/cloud/app_engine/v1/firewall/client.rb +6 -4
  36. data/lib/google/cloud/app_engine/v1/firewall/rest/client.rb +6 -4
  37. data/lib/google/cloud/app_engine/v1/firewall/rest/service_stub.rb +6 -6
  38. data/lib/google/cloud/app_engine/v1/instances/client.rb +6 -4
  39. data/lib/google/cloud/app_engine/v1/instances/operations.rb +5 -3
  40. data/lib/google/cloud/app_engine/v1/instances/rest/client.rb +6 -4
  41. data/lib/google/cloud/app_engine/v1/instances/rest/operations.rb +9 -7
  42. data/lib/google/cloud/app_engine/v1/instances/rest/service_stub.rb +4 -4
  43. data/lib/google/cloud/app_engine/v1/services/client.rb +6 -4
  44. data/lib/google/cloud/app_engine/v1/services/operations.rb +5 -3
  45. data/lib/google/cloud/app_engine/v1/services/rest/client.rb +6 -4
  46. data/lib/google/cloud/app_engine/v1/services/rest/operations.rb +9 -7
  47. data/lib/google/cloud/app_engine/v1/services/rest/service_stub.rb +4 -4
  48. data/lib/google/cloud/app_engine/v1/version.rb +1 -1
  49. data/lib/google/cloud/app_engine/v1/versions/client.rb +6 -4
  50. data/lib/google/cloud/app_engine/v1/versions/operations.rb +5 -3
  51. data/lib/google/cloud/app_engine/v1/versions/rest/client.rb +6 -4
  52. data/lib/google/cloud/app_engine/v1/versions/rest/operations.rb +9 -7
  53. data/lib/google/cloud/app_engine/v1/versions/rest/service_stub.rb +5 -5
  54. data/proto_docs/google/api/client.rb +67 -4
  55. data/proto_docs/google/appengine/v1/domain.rb +1 -1
  56. data/proto_docs/google/protobuf/any.rb +7 -4
  57. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  58. metadata +4 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/appengine/v1/version.proto
3
4
 
@@ -8,161 +9,35 @@ require 'google/appengine/v1/deploy_pb'
8
9
  require 'google/protobuf/duration_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/appengine/v1/version.proto", :syntax => :proto3) do
13
- add_message "google.appengine.v1.Version" do
14
- optional :name, :string, 1
15
- optional :id, :string, 2
16
- repeated :inbound_services, :enum, 6, "google.appengine.v1.InboundServiceType"
17
- optional :instance_class, :string, 7
18
- optional :network, :message, 8, "google.appengine.v1.Network"
19
- repeated :zones, :string, 118
20
- optional :resources, :message, 9, "google.appengine.v1.Resources"
21
- optional :runtime, :string, 10
22
- optional :runtime_channel, :string, 117
23
- optional :threadsafe, :bool, 11
24
- optional :vm, :bool, 12
25
- optional :app_engine_apis, :bool, 128
26
- map :beta_settings, :string, :string, 13
27
- optional :env, :string, 14
28
- optional :serving_status, :enum, 15, "google.appengine.v1.ServingStatus"
29
- optional :created_by, :string, 16
30
- optional :create_time, :message, 17, "google.protobuf.Timestamp"
31
- optional :disk_usage_bytes, :int64, 18
32
- optional :runtime_api_version, :string, 21
33
- optional :runtime_main_executable_path, :string, 22
34
- optional :service_account, :string, 127
35
- repeated :handlers, :message, 100, "google.appengine.v1.UrlMap"
36
- repeated :error_handlers, :message, 101, "google.appengine.v1.ErrorHandler"
37
- repeated :libraries, :message, 102, "google.appengine.v1.Library"
38
- optional :api_config, :message, 103, "google.appengine.v1.ApiConfigHandler"
39
- map :env_variables, :string, :string, 104
40
- map :build_env_variables, :string, :string, 125
41
- optional :default_expiration, :message, 105, "google.protobuf.Duration"
42
- optional :health_check, :message, 106, "google.appengine.v1.HealthCheck"
43
- optional :readiness_check, :message, 112, "google.appengine.v1.ReadinessCheck"
44
- optional :liveness_check, :message, 113, "google.appengine.v1.LivenessCheck"
45
- optional :nobuild_files_regex, :string, 107
46
- optional :deployment, :message, 108, "google.appengine.v1.Deployment"
47
- optional :version_url, :string, 109
48
- optional :endpoints_api_service, :message, 110, "google.appengine.v1.EndpointsApiService"
49
- optional :entrypoint, :message, 122, "google.appengine.v1.Entrypoint"
50
- optional :vpc_access_connector, :message, 121, "google.appengine.v1.VpcAccessConnector"
51
- oneof :scaling do
52
- optional :automatic_scaling, :message, 3, "google.appengine.v1.AutomaticScaling"
53
- optional :basic_scaling, :message, 4, "google.appengine.v1.BasicScaling"
54
- optional :manual_scaling, :message, 5, "google.appengine.v1.ManualScaling"
55
- end
56
- end
57
- add_message "google.appengine.v1.EndpointsApiService" do
58
- optional :name, :string, 1
59
- optional :config_id, :string, 2
60
- optional :rollout_strategy, :enum, 3, "google.appengine.v1.EndpointsApiService.RolloutStrategy"
61
- optional :disable_trace_sampling, :bool, 4
62
- end
63
- add_enum "google.appengine.v1.EndpointsApiService.RolloutStrategy" do
64
- value :UNSPECIFIED_ROLLOUT_STRATEGY, 0
65
- value :FIXED, 1
66
- value :MANAGED, 2
67
- end
68
- add_message "google.appengine.v1.AutomaticScaling" do
69
- optional :cool_down_period, :message, 1, "google.protobuf.Duration"
70
- optional :cpu_utilization, :message, 2, "google.appengine.v1.CpuUtilization"
71
- optional :max_concurrent_requests, :int32, 3
72
- optional :max_idle_instances, :int32, 4
73
- optional :max_total_instances, :int32, 5
74
- optional :max_pending_latency, :message, 6, "google.protobuf.Duration"
75
- optional :min_idle_instances, :int32, 7
76
- optional :min_total_instances, :int32, 8
77
- optional :min_pending_latency, :message, 9, "google.protobuf.Duration"
78
- optional :request_utilization, :message, 10, "google.appengine.v1.RequestUtilization"
79
- optional :disk_utilization, :message, 11, "google.appengine.v1.DiskUtilization"
80
- optional :network_utilization, :message, 12, "google.appengine.v1.NetworkUtilization"
81
- optional :standard_scheduler_settings, :message, 20, "google.appengine.v1.StandardSchedulerSettings"
82
- end
83
- add_message "google.appengine.v1.BasicScaling" do
84
- optional :idle_timeout, :message, 1, "google.protobuf.Duration"
85
- optional :max_instances, :int32, 2
86
- end
87
- add_message "google.appengine.v1.ManualScaling" do
88
- optional :instances, :int32, 1
89
- end
90
- add_message "google.appengine.v1.CpuUtilization" do
91
- optional :aggregation_window_length, :message, 1, "google.protobuf.Duration"
92
- optional :target_utilization, :double, 2
93
- end
94
- add_message "google.appengine.v1.RequestUtilization" do
95
- optional :target_request_count_per_second, :int32, 1
96
- optional :target_concurrent_requests, :int32, 2
97
- end
98
- add_message "google.appengine.v1.DiskUtilization" do
99
- optional :target_write_bytes_per_second, :int32, 14
100
- optional :target_write_ops_per_second, :int32, 15
101
- optional :target_read_bytes_per_second, :int32, 16
102
- optional :target_read_ops_per_second, :int32, 17
103
- end
104
- add_message "google.appengine.v1.NetworkUtilization" do
105
- optional :target_sent_bytes_per_second, :int32, 1
106
- optional :target_sent_packets_per_second, :int32, 11
107
- optional :target_received_bytes_per_second, :int32, 12
108
- optional :target_received_packets_per_second, :int32, 13
109
- end
110
- add_message "google.appengine.v1.StandardSchedulerSettings" do
111
- optional :target_cpu_utilization, :double, 1
112
- optional :target_throughput_utilization, :double, 2
113
- optional :min_instances, :int32, 3
114
- optional :max_instances, :int32, 4
115
- end
116
- add_message "google.appengine.v1.Network" do
117
- repeated :forwarded_ports, :string, 1
118
- optional :instance_tag, :string, 2
119
- optional :name, :string, 3
120
- optional :subnetwork_name, :string, 4
121
- optional :session_affinity, :bool, 5
122
- end
123
- add_message "google.appengine.v1.Volume" do
124
- optional :name, :string, 1
125
- optional :volume_type, :string, 2
126
- optional :size_gb, :double, 3
127
- end
128
- add_message "google.appengine.v1.Resources" do
129
- optional :cpu, :double, 1
130
- optional :disk_gb, :double, 2
131
- optional :memory_gb, :double, 3
132
- repeated :volumes, :message, 4, "google.appengine.v1.Volume"
133
- optional :kms_key_reference, :string, 5
134
- end
135
- add_message "google.appengine.v1.VpcAccessConnector" do
136
- optional :name, :string, 1
137
- optional :egress_setting, :enum, 2, "google.appengine.v1.VpcAccessConnector.EgressSetting"
138
- end
139
- add_enum "google.appengine.v1.VpcAccessConnector.EgressSetting" do
140
- value :EGRESS_SETTING_UNSPECIFIED, 0
141
- value :ALL_TRAFFIC, 1
142
- value :PRIVATE_IP_RANGES, 2
143
- end
144
- add_message "google.appengine.v1.Entrypoint" do
145
- oneof :command do
146
- optional :shell, :string, 1
147
- end
148
- end
149
- add_enum "google.appengine.v1.InboundServiceType" do
150
- value :INBOUND_SERVICE_UNSPECIFIED, 0
151
- value :INBOUND_SERVICE_MAIL, 1
152
- value :INBOUND_SERVICE_MAIL_BOUNCE, 2
153
- value :INBOUND_SERVICE_XMPP_ERROR, 3
154
- value :INBOUND_SERVICE_XMPP_MESSAGE, 4
155
- value :INBOUND_SERVICE_XMPP_SUBSCRIBE, 5
156
- value :INBOUND_SERVICE_XMPP_PRESENCE, 6
157
- value :INBOUND_SERVICE_CHANNEL_PRESENCE, 7
158
- value :INBOUND_SERVICE_WARMUP, 9
159
- end
160
- add_enum "google.appengine.v1.ServingStatus" do
161
- value :SERVING_STATUS_UNSPECIFIED, 0
162
- value :SERVING, 1
163
- value :STOPPED, 2
12
+
13
+ descriptor_data = "\n!google/appengine/v1/version.proto\x12\x13google.appengine.v1\x1a\"google/appengine/v1/app_yaml.proto\x1a google/appengine/v1/deploy.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8f\x0f\n\x07Version\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x42\n\x11\x61utomatic_scaling\x18\x03 \x01(\x0b\x32%.google.appengine.v1.AutomaticScalingH\x00\x12:\n\rbasic_scaling\x18\x04 \x01(\x0b\x32!.google.appengine.v1.BasicScalingH\x00\x12<\n\x0emanual_scaling\x18\x05 \x01(\x0b\x32\".google.appengine.v1.ManualScalingH\x00\x12\x41\n\x10inbound_services\x18\x06 \x03(\x0e\x32\'.google.appengine.v1.InboundServiceType\x12\x16\n\x0einstance_class\x18\x07 \x01(\t\x12-\n\x07network\x18\x08 \x01(\x0b\x32\x1c.google.appengine.v1.Network\x12\r\n\x05zones\x18v \x03(\t\x12\x31\n\tresources\x18\t \x01(\x0b\x32\x1e.google.appengine.v1.Resources\x12\x0f\n\x07runtime\x18\n \x01(\t\x12\x17\n\x0fruntime_channel\x18u \x01(\t\x12\x12\n\nthreadsafe\x18\x0b \x01(\x08\x12\n\n\x02vm\x18\x0c \x01(\x08\x12\x18\n\x0f\x61pp_engine_apis\x18\x80\x01 \x01(\x08\x12\x45\n\rbeta_settings\x18\r \x03(\x0b\x32..google.appengine.v1.Version.BetaSettingsEntry\x12\x0b\n\x03\x65nv\x18\x0e \x01(\t\x12:\n\x0eserving_status\x18\x0f \x01(\x0e\x32\".google.appengine.v1.ServingStatus\x12\x12\n\ncreated_by\x18\x10 \x01(\t\x12/\n\x0b\x63reate_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x64isk_usage_bytes\x18\x12 \x01(\x03\x12\x1b\n\x13runtime_api_version\x18\x15 \x01(\t\x12$\n\x1cruntime_main_executable_path\x18\x16 \x01(\t\x12\x17\n\x0fservice_account\x18\x7f \x01(\t\x12-\n\x08handlers\x18\x64 \x03(\x0b\x32\x1b.google.appengine.v1.UrlMap\x12\x39\n\x0e\x65rror_handlers\x18\x65 \x03(\x0b\x32!.google.appengine.v1.ErrorHandler\x12/\n\tlibraries\x18\x66 \x03(\x0b\x32\x1c.google.appengine.v1.Library\x12\x39\n\napi_config\x18g \x01(\x0b\x32%.google.appengine.v1.ApiConfigHandler\x12\x45\n\renv_variables\x18h \x03(\x0b\x32..google.appengine.v1.Version.EnvVariablesEntry\x12P\n\x13\x62uild_env_variables\x18} \x03(\x0b\x32\x33.google.appengine.v1.Version.BuildEnvVariablesEntry\x12\x35\n\x12\x64\x65\x66\x61ult_expiration\x18i \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x0chealth_check\x18j \x01(\x0b\x32 .google.appengine.v1.HealthCheck\x12<\n\x0freadiness_check\x18p \x01(\x0b\x32#.google.appengine.v1.ReadinessCheck\x12:\n\x0eliveness_check\x18q \x01(\x0b\x32\".google.appengine.v1.LivenessCheck\x12\x1b\n\x13nobuild_files_regex\x18k \x01(\t\x12\x33\n\ndeployment\x18l \x01(\x0b\x32\x1f.google.appengine.v1.Deployment\x12\x13\n\x0bversion_url\x18m \x01(\t\x12G\n\x15\x65ndpoints_api_service\x18n \x01(\x0b\x32(.google.appengine.v1.EndpointsApiService\x12\x33\n\nentrypoint\x18z \x01(\x0b\x32\x1f.google.appengine.v1.Entrypoint\x12\x45\n\x14vpc_access_connector\x18y \x01(\x0b\x32\'.google.appengine.v1.VpcAccessConnector\x1a\x33\n\x11\x42\x65taSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11\x45nvVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x38\n\x16\x42uildEnvVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07scaling\"\xf7\x01\n\x13\x45ndpointsApiService\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tconfig_id\x18\x02 \x01(\t\x12R\n\x10rollout_strategy\x18\x03 \x01(\x0e\x32\x38.google.appengine.v1.EndpointsApiService.RolloutStrategy\x12\x1e\n\x16\x64isable_trace_sampling\x18\x04 \x01(\x08\"K\n\x0fRolloutStrategy\x12 \n\x1cUNSPECIFIED_ROLLOUT_STRATEGY\x10\x00\x12\t\n\x05\x46IXED\x10\x01\x12\x0b\n\x07MANAGED\x10\x02\"\xa9\x05\n\x10\x41utomaticScaling\x12\x33\n\x10\x63ool_down_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0f\x63pu_utilization\x18\x02 \x01(\x0b\x32#.google.appengine.v1.CpuUtilization\x12\x1f\n\x17max_concurrent_requests\x18\x03 \x01(\x05\x12\x1a\n\x12max_idle_instances\x18\x04 \x01(\x05\x12\x1b\n\x13max_total_instances\x18\x05 \x01(\x05\x12\x36\n\x13max_pending_latency\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12min_idle_instances\x18\x07 \x01(\x05\x12\x1b\n\x13min_total_instances\x18\x08 \x01(\x05\x12\x36\n\x13min_pending_latency\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x44\n\x13request_utilization\x18\n \x01(\x0b\x32\'.google.appengine.v1.RequestUtilization\x12>\n\x10\x64isk_utilization\x18\x0b \x01(\x0b\x32$.google.appengine.v1.DiskUtilization\x12\x44\n\x13network_utilization\x18\x0c \x01(\x0b\x32\'.google.appengine.v1.NetworkUtilization\x12S\n\x1bstandard_scheduler_settings\x18\x14 \x01(\x0b\x32..google.appengine.v1.StandardSchedulerSettings\"V\n\x0c\x42\x61sicScaling\x12/\n\x0cidle_timeout\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rmax_instances\x18\x02 \x01(\x05\"\"\n\rManualScaling\x12\x11\n\tinstances\x18\x01 \x01(\x05\"j\n\x0e\x43puUtilization\x12<\n\x19\x61ggregation_window_length\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12target_utilization\x18\x02 \x01(\x01\"a\n\x12RequestUtilization\x12\'\n\x1ftarget_request_count_per_second\x18\x01 \x01(\x05\x12\"\n\x1atarget_concurrent_requests\x18\x02 \x01(\x05\"\xa7\x01\n\x0f\x44iskUtilization\x12%\n\x1dtarget_write_bytes_per_second\x18\x0e \x01(\x05\x12#\n\x1btarget_write_ops_per_second\x18\x0f \x01(\x05\x12$\n\x1ctarget_read_bytes_per_second\x18\x10 \x01(\x05\x12\"\n\x1atarget_read_ops_per_second\x18\x11 \x01(\x05\"\xb8\x01\n\x12NetworkUtilization\x12$\n\x1ctarget_sent_bytes_per_second\x18\x01 \x01(\x05\x12&\n\x1etarget_sent_packets_per_second\x18\x0b \x01(\x05\x12(\n target_received_bytes_per_second\x18\x0c \x01(\x05\x12*\n\"target_received_packets_per_second\x18\r \x01(\x05\"\x90\x01\n\x19StandardSchedulerSettings\x12\x1e\n\x16target_cpu_utilization\x18\x01 \x01(\x01\x12%\n\x1dtarget_throughput_utilization\x18\x02 \x01(\x01\x12\x15\n\rmin_instances\x18\x03 \x01(\x05\x12\x15\n\rmax_instances\x18\x04 \x01(\x05\"y\n\x07Network\x12\x17\n\x0f\x66orwarded_ports\x18\x01 \x03(\t\x12\x14\n\x0cinstance_tag\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x17\n\x0fsubnetwork_name\x18\x04 \x01(\t\x12\x18\n\x10session_affinity\x18\x05 \x01(\x08\"<\n\x06Volume\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bvolume_type\x18\x02 \x01(\t\x12\x0f\n\x07size_gb\x18\x03 \x01(\x01\"\x85\x01\n\tResources\x12\x0b\n\x03\x63pu\x18\x01 \x01(\x01\x12\x0f\n\x07\x64isk_gb\x18\x02 \x01(\x01\x12\x11\n\tmemory_gb\x18\x03 \x01(\x01\x12,\n\x07volumes\x18\x04 \x03(\x0b\x32\x1b.google.appengine.v1.Volume\x12\x19\n\x11kms_key_reference\x18\x05 \x01(\t\"\xca\x01\n\x12VpcAccessConnector\x12\x0c\n\x04name\x18\x01 \x01(\t\x12M\n\x0e\x65gress_setting\x18\x02 \x01(\x0e\x32\x35.google.appengine.v1.VpcAccessConnector.EgressSetting\"W\n\rEgressSetting\x12\x1e\n\x1a\x45GRESS_SETTING_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41LL_TRAFFIC\x10\x01\x12\x15\n\x11PRIVATE_IP_RANGES\x10\x02\"(\n\nEntrypoint\x12\x0f\n\x05shell\x18\x01 \x01(\tH\x00\x42\t\n\x07\x63ommand*\xbb\x02\n\x12InboundServiceType\x12\x1f\n\x1bINBOUND_SERVICE_UNSPECIFIED\x10\x00\x12\x18\n\x14INBOUND_SERVICE_MAIL\x10\x01\x12\x1f\n\x1bINBOUND_SERVICE_MAIL_BOUNCE\x10\x02\x12\x1e\n\x1aINBOUND_SERVICE_XMPP_ERROR\x10\x03\x12 \n\x1cINBOUND_SERVICE_XMPP_MESSAGE\x10\x04\x12\"\n\x1eINBOUND_SERVICE_XMPP_SUBSCRIBE\x10\x05\x12!\n\x1dINBOUND_SERVICE_XMPP_PRESENCE\x10\x06\x12$\n INBOUND_SERVICE_CHANNEL_PRESENCE\x10\x07\x12\x1a\n\x16INBOUND_SERVICE_WARMUP\x10\t*I\n\rServingStatus\x12\x1e\n\x1aSERVING_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x42\xbd\x01\n\x17\x63om.google.appengine.v1B\x0cVersionProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.appengine.v1.UrlMap", "google/appengine/v1/app_yaml.proto"],
30
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
31
+ ["google.appengine.v1.Deployment", "google/appengine/v1/deploy.proto"],
32
+ ]
33
+ imports.each do |type_name, expected_filename|
34
+ import_file = pool.lookup(type_name).file_descriptor
35
+ if import_file.name != expected_filename
36
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
164
37
  end
165
38
  end
39
+ warn "Each proto file must use a consistent fully-qualified name."
40
+ warn "This will become an error in the next major version."
166
41
  end
167
42
 
168
43
  module Google
@@ -121,7 +121,7 @@ module Google
121
121
  credentials = @config.credentials
122
122
  # Use self-signed JWT if the endpoint is unchanged from default,
123
123
  # but only if the default endpoint does not have a region prefix.
124
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
124
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
125
125
  !@config.endpoint.split(".").first.include?("-")
126
126
  credentials ||= Credentials.default scope: @config.scope,
127
127
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -573,9 +573,9 @@ module Google
573
573
  # * (`String`) The path to a service account key file in JSON format
574
574
  # * (`Hash`) A service account key as a Hash
575
575
  # * (`Google::Auth::Credentials`) A googleauth credentials object
576
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
576
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
577
577
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
578
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
578
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
579
579
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
580
580
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
581
581
  # * (`nil`) indicating no credentials
@@ -617,7 +617,9 @@ module Google
617
617
  class Configuration
618
618
  extend ::Gapic::Config
619
619
 
620
- config_attr :endpoint, "appengine.googleapis.com", ::String
620
+ DEFAULT_ENDPOINT = "appengine.googleapis.com"
621
+
622
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
621
623
  config_attr :credentials, nil do |value|
622
624
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
623
625
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials
@@ -664,7 +664,9 @@ module Google
664
664
  class Configuration
665
665
  extend ::Gapic::Config
666
666
 
667
- config_attr :endpoint, "appengine.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "appengine.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
670
  config_attr :credentials, nil do |value|
669
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -117,7 +117,7 @@ module Google
117
117
  credentials = @config.credentials
118
118
  # Use self-signed JWT if the endpoint is unchanged from default,
119
119
  # but only if the default endpoint does not have a region prefix.
120
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
120
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
121
121
  !@config.endpoint.split(".").first.include?("-")
122
122
  credentials ||= Credentials.default scope: @config.scope,
123
123
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -459,9 +459,9 @@ module Google
459
459
  # * (`String`) The path to a service account key file in JSON format
460
460
  # * (`Hash`) A service account key as a Hash
461
461
  # * (`Google::Auth::Credentials`) A googleauth credentials object
462
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
462
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
463
463
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
464
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
464
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
465
465
  # * (`nil`) indicating no credentials
466
466
  # @return [::Object]
467
467
  # @!attribute [rw] scope
@@ -494,7 +494,9 @@ module Google
494
494
  class Configuration
495
495
  extend ::Gapic::Config
496
496
 
497
- config_attr :endpoint, "appengine.googleapis.com", ::String
497
+ DEFAULT_ENDPOINT = "appengine.googleapis.com"
498
+
499
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
498
500
  config_attr :credentials, nil do |value|
499
501
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
500
502
  allowed.any? { |klass| klass === value }
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -446,7 +446,9 @@ module Google
446
446
  class Configuration
447
447
  extend ::Gapic::Config
448
448
 
449
- config_attr :endpoint, "appengine.googleapis.com", ::String
449
+ DEFAULT_ENDPOINT = "appengine.googleapis.com"
450
+
451
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
452
  config_attr :credentials, nil do |value|
451
453
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
454
  allowed.any? { |klass| klass === value }
@@ -567,7 +569,7 @@ module Google
567
569
 
568
570
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
571
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
572
+ query_string_params.to_h { |p| p.split "=", 2 }
571
573
  else
572
574
  {}
573
575
  end
@@ -605,7 +607,7 @@ module Google
605
607
 
606
608
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
609
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
610
+ query_string_params.to_h { |p| p.split "=", 2 }
609
611
  else
610
612
  {}
611
613
  end
@@ -643,7 +645,7 @@ module Google
643
645
 
644
646
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
647
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
648
+ query_string_params.to_h { |p| p.split "=", 2 }
647
649
  else
648
650
  {}
649
651
  end
@@ -681,7 +683,7 @@ module Google
681
683
 
682
684
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
685
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
686
+ query_string_params.to_h { |p| p.split "=", 2 }
685
687
  else
686
688
  {}
687
689
  end
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_get_application_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_create_application_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_update_application_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_repair_application_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -122,7 +122,7 @@ module Google
122
122
  credentials = @config.credentials
123
123
  # Use self-signed JWT if the endpoint is unchanged from default,
124
124
  # but only if the default endpoint does not have a region prefix.
125
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
125
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
126
126
  !@config.endpoint.split(".").first.include?("-")
127
127
  credentials ||= Credentials.default scope: @config.scope,
128
128
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -634,9 +634,9 @@ module Google
634
634
  # * (`String`) The path to a service account key file in JSON format
635
635
  # * (`Hash`) A service account key as a Hash
636
636
  # * (`Google::Auth::Credentials`) A googleauth credentials object
637
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
637
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
638
638
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
639
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
639
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
@@ -678,7 +678,9 @@ module Google
678
678
  class Configuration
679
679
  extend ::Gapic::Config
680
680
 
681
- config_attr :endpoint, "appengine.googleapis.com", ::String
681
+ DEFAULT_ENDPOINT = "appengine.googleapis.com"
682
+
683
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
682
684
  config_attr :credentials, nil do |value|
683
685
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
684
686
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -118,7 +118,7 @@ module Google
118
118
  credentials = @config.credentials
119
119
  # Use self-signed JWT if the endpoint is unchanged from default,
120
120
  # but only if the default endpoint does not have a region prefix.
121
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
121
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
122
122
  !@config.endpoint.split(".").first.include?("-")
123
123
  credentials ||= Credentials.default scope: @config.scope,
124
124
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -506,9 +506,9 @@ module Google
506
506
  # * (`String`) The path to a service account key file in JSON format
507
507
  # * (`Hash`) A service account key as a Hash
508
508
  # * (`Google::Auth::Credentials`) A googleauth credentials object
509
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
509
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
510
510
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
511
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
511
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
512
512
  # * (`nil`) indicating no credentials
513
513
  # @return [::Object]
514
514
  # @!attribute [rw] scope
@@ -541,7 +541,9 @@ module Google
541
541
  class Configuration
542
542
  extend ::Gapic::Config
543
543
 
544
- config_attr :endpoint, "appengine.googleapis.com", ::String
544
+ DEFAULT_ENDPOINT = "appengine.googleapis.com"
545
+
546
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
545
547
  config_attr :credentials, nil do |value|
546
548
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
547
549
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_authorized_certificates_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_authorized_certificate_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_create_authorized_certificate_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_update_authorized_certificate_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_authorized_certificate_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -123,7 +123,7 @@ module Google
123
123
  credentials = @config.credentials
124
124
  # Use self-signed JWT if the endpoint is unchanged from default,
125
125
  # but only if the default endpoint does not have a region prefix.
126
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
126
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
127
127
  !@config.endpoint.split(".").first.include?("-")
128
128
  credentials ||= Credentials.default scope: @config.scope,
129
129
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -276,9 +276,9 @@ module Google
276
276
  # * (`String`) The path to a service account key file in JSON format
277
277
  # * (`Hash`) A service account key as a Hash
278
278
  # * (`Google::Auth::Credentials`) A googleauth credentials object
279
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
279
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
280
280
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
281
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
281
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
282
282
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
283
283
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
284
284
  # * (`nil`) indicating no credentials
@@ -320,7 +320,9 @@ module Google
320
320
  class Configuration
321
321
  extend ::Gapic::Config
322
322
 
323
- config_attr :endpoint, "appengine.googleapis.com", ::String
323
+ DEFAULT_ENDPOINT = "appengine.googleapis.com"
324
+
325
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
324
326
  config_attr :credentials, nil do |value|
325
327
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
326
328
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -119,7 +119,7 @@ module Google
119
119
  credentials = @config.credentials
120
120
  # Use self-signed JWT if the endpoint is unchanged from default,
121
121
  # but only if the default endpoint does not have a region prefix.
122
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
122
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
123
123
  !@config.endpoint.split(".").first.include?("-")
124
124
  credentials ||= Credentials.default scope: @config.scope,
125
125
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -240,9 +240,9 @@ module Google
240
240
  # * (`String`) The path to a service account key file in JSON format
241
241
  # * (`Hash`) A service account key as a Hash
242
242
  # * (`Google::Auth::Credentials`) A googleauth credentials object
243
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
243
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
244
244
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
245
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
245
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
246
246
  # * (`nil`) indicating no credentials
247
247
  # @return [::Object]
248
248
  # @!attribute [rw] scope
@@ -275,7 +275,9 @@ module Google
275
275
  class Configuration
276
276
  extend ::Gapic::Config
277
277
 
278
- config_attr :endpoint, "appengine.googleapis.com", ::String
278
+ DEFAULT_ENDPOINT = "appengine.googleapis.com"
279
+
280
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
279
281
  config_attr :credentials, nil do |value|
280
282
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
281
283
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_authorized_domains_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -121,7 +121,7 @@ module Google
121
121
  credentials = @config.credentials
122
122
  # Use self-signed JWT if the endpoint is unchanged from default,
123
123
  # but only if the default endpoint does not have a region prefix.
124
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
124
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
125
125
  !@config.endpoint.split(".").first.include?("-")
126
126
  credentials ||= Credentials.default scope: @config.scope,
127
127
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -671,9 +671,9 @@ module Google
671
671
  # * (`String`) The path to a service account key file in JSON format
672
672
  # * (`Hash`) A service account key as a Hash
673
673
  # * (`Google::Auth::Credentials`) A googleauth credentials object
674
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
674
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
675
675
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
676
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
676
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
677
677
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
678
678
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
679
679
  # * (`nil`) indicating no credentials
@@ -715,7 +715,9 @@ module Google
715
715
  class Configuration
716
716
  extend ::Gapic::Config
717
717
 
718
- config_attr :endpoint, "appengine.googleapis.com", ::String
718
+ DEFAULT_ENDPOINT = "appengine.googleapis.com"
719
+
720
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
719
721
  config_attr :credentials, nil do |value|
720
722
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
721
723
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC