google-cloud-app_engine-v1 0.5.0 → 0.6.1
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.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +3 -3
- data/lib/google/appengine/v1/appengine_pb.rb +0 -1
- data/lib/google/cloud/app_engine/v1/applications/client.rb +14 -14
- data/lib/google/cloud/app_engine/v1/applications/operations.rb +14 -16
- data/lib/google/cloud/app_engine/v1/applications/rest/client.rb +589 -0
- data/lib/google/cloud/app_engine/v1/applications/rest/operations.rb +793 -0
- data/lib/google/cloud/app_engine/v1/applications/rest/service_stub.rb +285 -0
- data/lib/google/cloud/app_engine/v1/applications/rest.rb +52 -0
- data/lib/google/cloud/app_engine/v1/applications.rb +7 -1
- data/lib/google/cloud/app_engine/v1/authorized_certificates/client.rb +6 -8
- data/lib/google/cloud/app_engine/v1/authorized_certificates/rest/client.rb +643 -0
- data/lib/google/cloud/app_engine/v1/authorized_certificates/rest/service_stub.rb +345 -0
- data/lib/google/cloud/app_engine/v1/authorized_certificates/rest.rb +52 -0
- data/lib/google/cloud/app_engine/v1/authorized_certificates.rb +7 -1
- data/lib/google/cloud/app_engine/v1/authorized_domains/client.rb +6 -8
- data/lib/google/cloud/app_engine/v1/authorized_domains/rest/client.rb +349 -0
- data/lib/google/cloud/app_engine/v1/authorized_domains/rest/service_stub.rb +107 -0
- data/lib/google/cloud/app_engine/v1/authorized_domains/rest.rb +53 -0
- data/lib/google/cloud/app_engine/v1/authorized_domains.rb +7 -1
- data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +18 -20
- data/lib/google/cloud/app_engine/v1/domain_mappings/operations.rb +14 -16
- data/lib/google/cloud/app_engine/v1/domain_mappings/rest/client.rb +659 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings/rest/operations.rb +793 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings/rest/service_stub.rb +345 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings/rest.rb +52 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings.rb +7 -1
- data/lib/google/cloud/app_engine/v1/firewall/client.rb +6 -8
- data/lib/google/cloud/app_engine/v1/firewall/rest/client.rb +732 -0
- data/lib/google/cloud/app_engine/v1/firewall/rest/service_stub.rb +405 -0
- data/lib/google/cloud/app_engine/v1/firewall/rest.rb +60 -0
- data/lib/google/cloud/app_engine/v1/firewall.rb +7 -1
- data/lib/google/cloud/app_engine/v1/instances/client.rb +14 -16
- data/lib/google/cloud/app_engine/v1/instances/operations.rb +14 -16
- data/lib/google/cloud/app_engine/v1/instances/rest/client.rb +602 -0
- data/lib/google/cloud/app_engine/v1/instances/rest/operations.rb +793 -0
- data/lib/google/cloud/app_engine/v1/instances/rest/service_stub.rb +285 -0
- data/lib/google/cloud/app_engine/v1/instances/rest.rb +52 -0
- data/lib/google/cloud/app_engine/v1/instances.rb +7 -1
- data/lib/google/cloud/app_engine/v1/rest.rb +44 -0
- data/lib/google/cloud/app_engine/v1/services/client.rb +14 -16
- data/lib/google/cloud/app_engine/v1/services/operations.rb +14 -16
- data/lib/google/cloud/app_engine/v1/services/rest/client.rb +587 -0
- data/lib/google/cloud/app_engine/v1/services/rest/operations.rb +793 -0
- data/lib/google/cloud/app_engine/v1/services/rest/service_stub.rb +285 -0
- data/lib/google/cloud/app_engine/v1/services/rest.rb +52 -0
- data/lib/google/cloud/app_engine/v1/services.rb +7 -1
- data/lib/google/cloud/app_engine/v1/version.rb +1 -1
- data/lib/google/cloud/app_engine/v1/versions/client.rb +18 -20
- data/lib/google/cloud/app_engine/v1/versions/operations.rb +14 -16
- data/lib/google/cloud/app_engine/v1/versions/rest/client.rb +692 -0
- data/lib/google/cloud/app_engine/v1/versions/rest/operations.rb +793 -0
- data/lib/google/cloud/app_engine/v1/versions/rest/service_stub.rb +345 -0
- data/lib/google/cloud/app_engine/v1/versions/rest.rb +52 -0
- data/lib/google/cloud/app_engine/v1/versions.rb +7 -1
- data/lib/google/cloud/app_engine/v1.rb +7 -2
- data/proto_docs/google/api/client.rb +372 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/appengine/v1/domain.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +40 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f87d94e26751b080e6a46228fed7ebb823fed3e8f4925eb38a17f4a3e5d8cee
|
4
|
+
data.tar.gz: cf70e995901f0d7840ab64dada90039512086558a0448085bb26b79ebcde0df3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61f2062f73adccae482265df8a9dfe6da8fd503c533caa7c1b1aa6789ee3e6dcf94382a39ca2be2783229d6c6b341107d19bd33271080377907d6f8ab65c709f
|
7
|
+
data.tar.gz: cb9c0cebd2ce577fa8dcc64f7d96e49e1efd8deb2e47abb921ae79bbeb7e9f5baa52dd6492580230ce32ee7fdd3d1516606435180e4291ffea39339193b21992
|
data/AUTHENTICATION.md
CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
|
|
114
114
|
To configure your system for this, simply:
|
115
115
|
|
116
116
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
117
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
117
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
118
118
|
3. Write code as if already authenticated.
|
119
119
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the App Engine Admin V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Provisions and manages developers' App Engine applications.
|
4
4
|
|
5
5
|
The App Engine Admin API provisions and manages your App Engine applications.
|
6
6
|
|
@@ -46,8 +46,8 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -5,7 +5,6 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'google/api/annotations_pb'
|
7
7
|
require 'google/api/client_pb'
|
8
|
-
require 'google/api/resource_pb'
|
9
8
|
require 'google/appengine/v1/application_pb'
|
10
9
|
require 'google/appengine/v1/certificate_pb'
|
11
10
|
require 'google/appengine/v1/domain_pb'
|
@@ -287,14 +287,14 @@ module Google
|
|
287
287
|
# # Call the create_application method.
|
288
288
|
# result = client.create_application request
|
289
289
|
#
|
290
|
-
# # The returned object is of type Gapic::Operation. You can use
|
291
|
-
# #
|
292
|
-
# #
|
290
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
291
|
+
# # check the status of an operation, cancel it, or wait for results.
|
292
|
+
# # Here is how to wait for a response.
|
293
293
|
# result.wait_until_done! timeout: 60
|
294
294
|
# if result.response?
|
295
295
|
# p result.response
|
296
296
|
# else
|
297
|
-
# puts "
|
297
|
+
# puts "No response received."
|
298
298
|
# end
|
299
299
|
#
|
300
300
|
def create_application request, options = nil
|
@@ -381,14 +381,14 @@ module Google
|
|
381
381
|
# # Call the update_application method.
|
382
382
|
# result = client.update_application request
|
383
383
|
#
|
384
|
-
# # The returned object is of type Gapic::Operation. You can use
|
385
|
-
# #
|
386
|
-
# #
|
384
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
385
|
+
# # check the status of an operation, cancel it, or wait for results.
|
386
|
+
# # Here is how to wait for a response.
|
387
387
|
# result.wait_until_done! timeout: 60
|
388
388
|
# if result.response?
|
389
389
|
# p result.response
|
390
390
|
# else
|
391
|
-
# puts "
|
391
|
+
# puts "No response received."
|
392
392
|
# end
|
393
393
|
#
|
394
394
|
def update_application request, options = nil
|
@@ -483,14 +483,14 @@ module Google
|
|
483
483
|
# # Call the repair_application method.
|
484
484
|
# result = client.repair_application request
|
485
485
|
#
|
486
|
-
# # The returned object is of type Gapic::Operation. You can use
|
487
|
-
# #
|
488
|
-
# #
|
486
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
487
|
+
# # check the status of an operation, cancel it, or wait for results.
|
488
|
+
# # Here is how to wait for a response.
|
489
489
|
# result.wait_until_done! timeout: 60
|
490
490
|
# if result.response?
|
491
491
|
# p result.response
|
492
492
|
# else
|
493
|
-
# puts "
|
493
|
+
# puts "No response received."
|
494
494
|
# end
|
495
495
|
#
|
496
496
|
def repair_application request, options = nil
|
@@ -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://
|
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://
|
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
|
@@ -158,13 +158,11 @@ module Google
|
|
158
158
|
# # Call the list_operations method.
|
159
159
|
# result = client.list_operations request
|
160
160
|
#
|
161
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
162
|
-
# #
|
163
|
-
#
|
164
|
-
# # methods are also available for managing paging directly.
|
165
|
-
# result.each do |response|
|
161
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
162
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
163
|
+
# result.each do |item|
|
166
164
|
# # Each element is of type ::Google::Longrunning::Operation.
|
167
|
-
# p
|
165
|
+
# p item
|
168
166
|
# end
|
169
167
|
#
|
170
168
|
def list_operations request, options = nil
|
@@ -253,14 +251,14 @@ module Google
|
|
253
251
|
# # Call the get_operation method.
|
254
252
|
# result = client.get_operation request
|
255
253
|
#
|
256
|
-
# # The returned object is of type Gapic::Operation. You can use
|
257
|
-
# #
|
258
|
-
# #
|
254
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
255
|
+
# # check the status of an operation, cancel it, or wait for results.
|
256
|
+
# # Here is how to wait for a response.
|
259
257
|
# result.wait_until_done! timeout: 60
|
260
258
|
# if result.response?
|
261
259
|
# p result.response
|
262
260
|
# else
|
263
|
-
# puts "
|
261
|
+
# puts "No response received."
|
264
262
|
# end
|
265
263
|
#
|
266
264
|
def get_operation request, options = nil
|
@@ -540,14 +538,14 @@ module Google
|
|
540
538
|
# # Call the wait_operation method.
|
541
539
|
# result = client.wait_operation request
|
542
540
|
#
|
543
|
-
# # The returned object is of type Gapic::Operation. You can use
|
544
|
-
# #
|
545
|
-
# #
|
541
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
542
|
+
# # check the status of an operation, cancel it, or wait for results.
|
543
|
+
# # Here is how to wait for a response.
|
546
544
|
# result.wait_until_done! timeout: 60
|
547
545
|
# if result.response?
|
548
546
|
# p result.response
|
549
547
|
# else
|
550
|
-
# puts "
|
548
|
+
# puts "No response received."
|
551
549
|
# end
|
552
550
|
#
|
553
551
|
def wait_operation request, options = nil
|
@@ -622,9 +620,9 @@ module Google
|
|
622
620
|
# * (`String`) The path to a service account key file in JSON format
|
623
621
|
# * (`Hash`) A service account key as a Hash
|
624
622
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
625
|
-
# (see the [googleauth docs](https://
|
623
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
626
624
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
627
|
-
# (see the [signet docs](https://
|
625
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
628
626
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
629
627
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
630
628
|
# * (`nil`) indicating no credentials
|