google-cloud-spanner 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google-cloud-spanner.rb +2 -2
  3. data/lib/google/cloud/spanner.rb +2 -2
  4. data/lib/google/cloud/spanner/admin/database.rb +5 -4
  5. data/lib/google/cloud/spanner/admin/database/credentials.rb +2 -2
  6. data/lib/google/cloud/spanner/admin/database/v1.rb +5 -14
  7. data/lib/google/cloud/spanner/admin/database/v1/database_admin_client.rb +14 -21
  8. data/lib/google/cloud/spanner/admin/database/v1/doc/google/iam/v1/policy.rb +2 -2
  9. data/lib/google/cloud/spanner/admin/database/v1/doc/google/protobuf/any.rb +2 -2
  10. data/lib/google/cloud/spanner/admin/database/v1/doc/google/rpc/status.rb +2 -2
  11. data/lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/spanner_database_admin.rb +2 -2
  12. data/lib/google/cloud/spanner/admin/database/v1/doc/overview.rb +5 -4
  13. data/lib/google/cloud/spanner/admin/instance.rb +5 -4
  14. data/lib/google/cloud/spanner/admin/instance/credentials.rb +2 -2
  15. data/lib/google/cloud/spanner/admin/instance/v1.rb +5 -14
  16. data/lib/google/cloud/spanner/admin/instance/v1/doc/google/iam/v1/policy.rb +2 -2
  17. data/lib/google/cloud/spanner/admin/instance/v1/doc/google/protobuf/any.rb +2 -2
  18. data/lib/google/cloud/spanner/admin/instance/v1/doc/google/protobuf/field_mask.rb +2 -2
  19. data/lib/google/cloud/spanner/admin/instance/v1/doc/google/rpc/status.rb +2 -2
  20. data/lib/google/cloud/spanner/admin/instance/v1/doc/google/spanner/admin/instance/v1/spanner_instance_admin.rb +2 -2
  21. data/lib/google/cloud/spanner/admin/instance/v1/doc/overview.rb +5 -4
  22. data/lib/google/cloud/spanner/admin/instance/v1/instance_admin_client.rb +14 -21
  23. data/lib/google/cloud/spanner/client.rb +2 -2
  24. data/lib/google/cloud/spanner/commit.rb +2 -2
  25. data/lib/google/cloud/spanner/convert.rb +2 -2
  26. data/lib/google/cloud/spanner/credentials.rb +2 -2
  27. data/lib/google/cloud/spanner/data.rb +2 -2
  28. data/lib/google/cloud/spanner/database.rb +2 -2
  29. data/lib/google/cloud/spanner/database/job.rb +2 -2
  30. data/lib/google/cloud/spanner/database/list.rb +2 -2
  31. data/lib/google/cloud/spanner/errors.rb +2 -2
  32. data/lib/google/cloud/spanner/fields.rb +2 -2
  33. data/lib/google/cloud/spanner/instance.rb +2 -2
  34. data/lib/google/cloud/spanner/instance/config.rb +2 -2
  35. data/lib/google/cloud/spanner/instance/config/list.rb +2 -2
  36. data/lib/google/cloud/spanner/instance/job.rb +2 -2
  37. data/lib/google/cloud/spanner/instance/list.rb +2 -2
  38. data/lib/google/cloud/spanner/policy.rb +2 -2
  39. data/lib/google/cloud/spanner/pool.rb +2 -2
  40. data/lib/google/cloud/spanner/project.rb +2 -2
  41. data/lib/google/cloud/spanner/range.rb +2 -2
  42. data/lib/google/cloud/spanner/results.rb +2 -2
  43. data/lib/google/cloud/spanner/service.rb +2 -2
  44. data/lib/google/cloud/spanner/session.rb +2 -2
  45. data/lib/google/cloud/spanner/snapshot.rb +2 -2
  46. data/lib/google/cloud/spanner/status.rb +2 -2
  47. data/lib/google/cloud/spanner/transaction.rb +2 -2
  48. data/lib/google/cloud/spanner/v1.rb +2 -2
  49. data/lib/google/cloud/spanner/v1/doc/google/protobuf/duration.rb +2 -2
  50. data/lib/google/cloud/spanner/v1/doc/google/protobuf/struct.rb +2 -2
  51. data/lib/google/cloud/spanner/v1/doc/google/protobuf/timestamp.rb +2 -2
  52. data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/keys.rb +2 -2
  53. data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/mutation.rb +2 -2
  54. data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/query_plan.rb +2 -2
  55. data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/result_set.rb +2 -2
  56. data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb +2 -2
  57. data/lib/google/cloud/spanner/v1/doc/google/spanner/v1/transaction.rb +2 -2
  58. data/lib/google/cloud/spanner/v1/doc/overview.rb +2 -2
  59. data/lib/google/cloud/spanner/v1/spanner_client.rb +2 -2
  60. data/lib/google/cloud/spanner/version.rb +3 -3
  61. data/lib/google/spanner/admin/database/v1/spanner_database_admin_services_pb.rb +1 -1
  62. data/lib/google/spanner/admin/instance/v1/spanner_instance_admin_services_pb.rb +1 -1
  63. data/lib/google/spanner/v1/spanner_services_pb.rb +1 -1
  64. metadata +5 -5
@@ -1,10 +1,10 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -30,8 +30,9 @@ module Google
30
30
  # steps:
31
31
  #
32
32
  # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
33
- # 2. [Enable the Cloud Spanner Instance Admin API.](https://console.cloud.google.com/apis/api/spanner-admin-instance)
34
- # 3. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
33
+ # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
34
+ # 3. [Enable the Cloud Spanner Instance Admin API.](https://console.cloud.google.com/apis/api/spanner-admin-instance)
35
+ # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
35
36
  #
36
37
  # ### Installation
37
38
  # ```
@@ -1,10 +1,10 @@
1
- # Copyright 2017, Google Inc. All rights reserved.
1
+ # Copyright 2017 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -93,6 +93,10 @@ module Google
93
93
  "https://www.googleapis.com/auth/spanner.admin"
94
94
  ].freeze
95
95
 
96
+ class OperationsClient < Google::Longrunning::OperationsClient
97
+ SERVICE_ADDRESS = SERVICE_ADDRESS
98
+ end
99
+
96
100
  PROJECT_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
97
101
  "projects/{project}"
98
102
  )
@@ -167,11 +171,6 @@ module Google
167
171
  # @param timeout [Numeric]
168
172
  # The default timeout, in seconds, for calls made through this client.
169
173
  def initialize \
170
- service_path: SERVICE_ADDRESS,
171
- port: DEFAULT_SERVICE_PORT,
172
- channel: nil,
173
- chan_creds: nil,
174
- updater_proc: nil,
175
174
  credentials: nil,
176
175
  scopes: ALL_SCOPES,
177
176
  client_config: {},
@@ -184,21 +183,9 @@ module Google
184
183
  require "google/gax/grpc"
185
184
  require "google/spanner/admin/instance/v1/spanner_instance_admin_services_pb"
186
185
 
187
- if channel || chan_creds || updater_proc
188
- warn "The `channel`, `chan_creds`, and `updater_proc` parameters will be removed " \
189
- "on 2017/09/08"
190
- credentials ||= channel
191
- credentials ||= chan_creds
192
- credentials ||= updater_proc
193
- end
194
- if service_path != SERVICE_ADDRESS || port != DEFAULT_SERVICE_PORT
195
- warn "`service_path` and `port` parameters are deprecated and will be removed"
196
- end
197
-
198
186
  credentials ||= Google::Cloud::Spanner::Admin::Instance::Credentials.default
199
187
 
200
- @operations_client = Google::Longrunning::OperationsClient.new(
201
- service_path: service_path,
188
+ @operations_client = OperationsClient.new(
202
189
  credentials: credentials,
203
190
  scopes: scopes,
204
191
  client_config: client_config,
@@ -223,9 +210,11 @@ module Google
223
210
  updater_proc = credentials.updater_proc
224
211
  end
225
212
 
213
+ package_version = Gem.loaded_specs['google-cloud-spanner'].version.version
214
+
226
215
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
227
216
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
228
- google_api_client << " gapic/0.1.0 gax/#{Google::Gax::VERSION}"
217
+ google_api_client << " gapic/#{package_version} gax/#{Google::Gax::VERSION}"
229
218
  google_api_client << " grpc/#{GRPC::VERSION}"
230
219
  google_api_client.freeze
231
220
 
@@ -245,6 +234,10 @@ module Google
245
234
  kwargs: headers
246
235
  )
247
236
  end
237
+
238
+ # Allow overriding the service path/port in subclasses.
239
+ service_path = self.class::SERVICE_ADDRESS
240
+ port = self.class::DEFAULT_SERVICE_PORT
248
241
  @instance_admin_stub = Google::Gax::Grpc.create_stub(
249
242
  service_path,
250
243
  port,
@@ -1,10 +1,10 @@
1
- # Copyright 2017 Google Inc. All rights reserved.
1
+ # Copyright 2017 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2017 Google Inc. All rights reserved.
1
+ # Copyright 2017 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2017 Google Inc. All rights reserved.
1
+ # Copyright 2017 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2017 Google Inc. All rights reserved.
1
+ # Copyright 2017 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2017 Google Inc. All rights reserved.
1
+ # Copyright 2017 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2017 Google Inc. All rights reserved.
1
+ # Copyright 2017 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2017 Google Inc. All rights reserved.
1
+ # Copyright 2017 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2017 Google Inc. All rights reserved.
1
+ # Copyright 2017 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2017 Google Inc. All rights reserved.
1
+ # Copyright 2017 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -1,10 +1,10 @@
1
- # Copyright 2016 Google Inc. All rights reserved.
1
+ # Copyright 2016 Google LLC
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
5
5
  # You may obtain a copy of the License at
6
6
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
8
  #
9
9
  # Unless required by applicable law or agreed to in writing, software
10
10
  # distributed under the License is distributed on an "AS IS" BASIS,