google-cloud-app_engine-v1 0.3.2 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/AUTHENTICATION.md +7 -25
  4. data/README.md +1 -1
  5. data/lib/google/appengine/v1/app_yaml_pb.rb +1 -2
  6. data/lib/google/appengine/v1/appengine_pb.rb +2 -2
  7. data/lib/google/appengine/v1/appengine_services_pb.rb +8 -8
  8. data/lib/google/appengine/v1/application_pb.rb +1 -2
  9. data/lib/google/appengine/v1/audit_data_pb.rb +1 -2
  10. data/lib/google/appengine/v1/certificate_pb.rb +1 -2
  11. data/lib/google/appengine/v1/deploy_pb.rb +1 -2
  12. data/lib/google/appengine/v1/deployed_files_pb.rb +0 -1
  13. data/lib/google/appengine/v1/domain_mapping_pb.rb +0 -1
  14. data/lib/google/appengine/v1/domain_pb.rb +0 -1
  15. data/lib/google/appengine/v1/firewall_pb.rb +0 -1
  16. data/lib/google/appengine/v1/instance_pb.rb +2 -3
  17. data/lib/google/appengine/v1/location_pb.rb +1 -2
  18. data/lib/google/appengine/v1/network_settings_pb.rb +0 -1
  19. data/lib/google/appengine/v1/operation_pb.rb +1 -3
  20. data/lib/google/appengine/v1/service_pb.rb +1 -2
  21. data/lib/google/appengine/v1/version_pb.rb +2 -4
  22. data/lib/google/cloud/app_engine/v1/applications/client.rb +138 -49
  23. data/lib/google/cloud/app_engine/v1/applications/operations.rb +145 -33
  24. data/lib/google/cloud/app_engine/v1/authorized_certificates/client.rb +150 -56
  25. data/lib/google/cloud/app_engine/v1/authorized_domains/client.rb +58 -40
  26. data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +172 -56
  27. data/lib/google/cloud/app_engine/v1/domain_mappings/operations.rb +145 -33
  28. data/lib/google/cloud/app_engine/v1/firewall/client.rb +173 -60
  29. data/lib/google/cloud/app_engine/v1/instances/client.rb +142 -52
  30. data/lib/google/cloud/app_engine/v1/instances/operations.rb +145 -33
  31. data/lib/google/cloud/app_engine/v1/services/client.rb +142 -52
  32. data/lib/google/cloud/app_engine/v1/services/operations.rb +145 -33
  33. data/lib/google/cloud/app_engine/v1/version.rb +1 -1
  34. data/lib/google/cloud/app_engine/v1/versions/client.rb +172 -56
  35. data/lib/google/cloud/app_engine/v1/versions/operations.rb +145 -33
  36. data/proto_docs/google/api/resource.rb +10 -71
  37. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1095d11467f7cd90ce4781d28b55027ded7095674430abde6ea757ff3b0fc2a9
4
- data.tar.gz: 48e2ee43afde43e8357d232a8672b552907c33765af8c5194c3e94d8a6c8350a
3
+ metadata.gz: 281cc2aeb4b7aefcaa7c1ad12e4be9bdedb4012875dcee443310927fb5a92a4f
4
+ data.tar.gz: 6148ff21c2a53f3548b5877cbdc7d9ceebbb9dfc41e8257b0ca1137091ed7015
5
5
  SHA512:
6
- metadata.gz: fe7af0c485ad99bd4e0280666ce98c14a111260ba98d8332214573043b53e625c01b59f63555ba5f2dd538c57396d0d7b702f1ce3b2a36bea7123d4461ce43c1
7
- data.tar.gz: 6415d5ead5871c552642fd8ac04315346eea75949c3676439e9cbe4b42c025c196d17b3293953855ba530a2f599d78330fb3efcfed38f5d35f9a8aab4539890c
6
+ metadata.gz: fad671146fc29f4e8f60b17ebcad89b3cadc2845db4124f89690dade7ce046fa1e0470902be6b4210ab612c8b44972aa78e3811fc0b8fda2ae5e495d3a58d3ff
7
+ data.tar.gz: 7a7a10d8887074ea8ffdbf3780139e704cb4bdb939f296a6a3a498b6c97015dfc00319312a04bcfe07a52764dc29e927b0b3dc4c2c965268aa2f053a4459e267
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=App Engine Admin V1 API
2
+ --title="App Engine Admin V1 API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/AUTHENTICATION.md CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
121
121
  *should* only be used during development.
122
122
 
123
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
124
- [dev-console]: https://console.cloud.google.com/project
125
-
126
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
127
-
128
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
129
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
130
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
131
-
132
123
  ## Creating a Service Account
133
124
 
134
125
  Google Cloud requires **Service Account Credentials** to
@@ -139,31 +130,22 @@ If you are not running this client within
139
130
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
140
131
  need a Google Developers service account.
141
132
 
142
- 1. Visit the [Google Developers Console][dev-console].
133
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
143
134
  2. Create a new project or click on an existing project.
144
- 3. Activate the slide-out navigation tray and select **API Manager**. From
135
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
145
136
  here, you will enable the APIs that your application requires.
146
137
 
147
- ![Enable the APIs that your application requires][enable-apis]
148
-
149
138
  *Note: You may need to enable billing in order to use these services.*
150
139
 
151
140
  4. Select **Credentials** from the side navigation.
152
141
 
153
- You should see a screen like one of the following.
154
-
155
- ![Create a new service account][create-new-service-account]
156
-
157
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
158
-
159
- Find the "Add credentials" drop down and select "Service account" to be
160
- guided through downloading a new JSON key file.
142
+ Find the "Create credentials" drop down near the top of the page, and select
143
+ "Service account" to be guided through downloading a new JSON key file.
161
144
 
162
145
  If you want to re-use an existing service account, you can easily generate a
163
- new key file. Just select the account you wish to re-use, and click "Generate
164
- new JSON key":
165
-
166
- ![Re-use an existing service account][reuse-service-account]
146
+ new key file. Just select the account you wish to re-use, click the pencil
147
+ tool on the right side to edit the service account, select the **Keys** tab,
148
+ and then select **Add Key**.
167
149
 
168
150
  The key file you download will be used by this library to authenticate API
169
151
  requests and should be stored in a secure location.
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::AppEngine::V1::GetApplicationRequest.new # (request f
37
37
  response = client.get_application request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-app_engine-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/appengine/docs/admin-api/)
@@ -1,10 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/app_yaml.proto
3
3
 
4
+ require 'google/protobuf/duration_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/protobuf/duration_pb'
7
- require 'google/api/annotations_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_file("google/appengine/v1/app_yaml.proto", :syntax => :proto3) do
10
9
  add_message "google.appengine.v1.ApiConfigHandler" do
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/appengine.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/appengine/v1/application_pb'
7
5
  require 'google/appengine/v1/certificate_pb'
8
6
  require 'google/appengine/v1/domain_pb'
@@ -16,6 +14,8 @@ require 'google/longrunning/operations_pb'
16
14
  require 'google/protobuf/empty_pb'
17
15
  require 'google/protobuf/field_mask_pb'
18
16
  require 'google/api/client_pb'
17
+ require 'google/protobuf'
18
+
19
19
  Google::Protobuf::DescriptorPool.generated_pool.build do
20
20
  add_file("google/appengine/v1/appengine.proto", :syntax => :proto3) do
21
21
  add_message "google.appengine.v1.GetApplicationRequest" do
@@ -27,7 +27,7 @@ module Google
27
27
  # Manages App Engine applications.
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,7 +68,7 @@ module Google
68
68
  # Manages services of an application.
69
69
  class Service
70
70
 
71
- include GRPC::GenericService
71
+ include ::GRPC::GenericService
72
72
 
73
73
  self.marshal_class_method = :encode
74
74
  self.unmarshal_class_method = :decode
@@ -90,7 +90,7 @@ module Google
90
90
  # Manages versions of a service.
91
91
  class Service
92
92
 
93
- include GRPC::GenericService
93
+ include ::GRPC::GenericService
94
94
 
95
95
  self.marshal_class_method = :encode
96
96
  self.unmarshal_class_method = :decode
@@ -151,7 +151,7 @@ module Google
151
151
  # Manages instances of a version.
152
152
  class Service
153
153
 
154
- include GRPC::GenericService
154
+ include ::GRPC::GenericService
155
155
 
156
156
  self.marshal_class_method = :encode
157
157
  self.unmarshal_class_method = :decode
@@ -203,7 +203,7 @@ module Google
203
203
  # set to "allow" if not otherwise specified by the user.
204
204
  class Service
205
205
 
206
- include GRPC::GenericService
206
+ include ::GRPC::GenericService
207
207
 
208
208
  self.marshal_class_method = :encode
209
209
  self.unmarshal_class_method = :decode
@@ -235,7 +235,7 @@ module Google
235
235
  # [Webmaster Central](https://www.google.com/webmasters/verification/home).
236
236
  class Service
237
237
 
238
- include GRPC::GenericService
238
+ include ::GRPC::GenericService
239
239
 
240
240
  self.marshal_class_method = :encode
241
241
  self.unmarshal_class_method = :decode
@@ -252,7 +252,7 @@ module Google
252
252
  # administer any SSL certificates applicable to their authorized domains.
253
253
  class Service
254
254
 
255
- include GRPC::GenericService
255
+ include ::GRPC::GenericService
256
256
 
257
257
  self.marshal_class_method = :encode
258
258
  self.unmarshal_class_method = :decode
@@ -280,7 +280,7 @@ module Google
280
280
  # Manages domains serving an application.
281
281
  class Service
282
282
 
283
- include GRPC::GenericService
283
+ include ::GRPC::GenericService
284
284
 
285
285
  self.marshal_class_method = :encode
286
286
  self.unmarshal_class_method = :decode
@@ -1,10 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/application.proto
3
3
 
4
+ require 'google/protobuf/duration_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/protobuf/duration_pb'
7
- require 'google/api/annotations_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_file("google/appengine/v1/application.proto", :syntax => :proto3) do
10
9
  add_message "google.appengine.v1.Application" do
@@ -1,10 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/audit_data.proto
3
3
 
4
+ require 'google/appengine/v1/appengine_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/appengine/v1/appengine_pb'
7
- require 'google/api/annotations_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_file("google/appengine/v1/audit_data.proto", :syntax => :proto3) do
10
9
  add_message "google.appengine.v1.AuditData" do
@@ -1,10 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/certificate.proto
3
3
 
4
+ require 'google/protobuf/timestamp_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/protobuf/timestamp_pb'
7
- require 'google/api/annotations_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_file("google/appengine/v1/certificate.proto", :syntax => :proto3) do
10
9
  add_message "google.appengine.v1.AuthorizedCertificate" do
@@ -1,10 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/deploy.proto
3
3
 
4
+ require 'google/protobuf/duration_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/protobuf/duration_pb'
7
- require 'google/api/annotations_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_file("google/appengine/v1/deploy.proto", :syntax => :proto3) do
10
9
  add_message "google.appengine.v1.Deployment" do
@@ -3,7 +3,6 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
7
  add_file("google/appengine/v1/deployed_files.proto", :syntax => :proto3) do
9
8
  end
@@ -3,7 +3,6 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
7
  add_file("google/appengine/v1/domain_mapping.proto", :syntax => :proto3) do
9
8
  add_message "google.appengine.v1.DomainMapping" do
@@ -3,7 +3,6 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
7
  add_file("google/appengine/v1/domain.proto", :syntax => :proto3) do
9
8
  add_message "google.appengine.v1.AuthorizedDomain" do
@@ -3,7 +3,6 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
7
  add_file("google/appengine/v1/firewall.proto", :syntax => :proto3) do
9
8
  add_message "google.appengine.v1.FirewallRule" do
@@ -1,12 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/instance.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/api/resource_pb'
8
6
  require 'google/protobuf/timestamp_pb'
9
- require 'google/api/annotations_pb'
7
+ require 'google/protobuf'
8
+
10
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
10
  add_file("google/appengine/v1/instance.proto", :syntax => :proto3) do
12
11
  add_message "google.appengine.v1.Instance" do
@@ -1,10 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/location.proto
3
3
 
4
+ require 'google/api/field_behavior_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/api/field_behavior_pb'
7
- require 'google/api/annotations_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_file("google/appengine/v1/location.proto", :syntax => :proto3) do
10
9
  add_message "google.appengine.v1.LocationMetadata" do
@@ -3,7 +3,6 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
7
  add_file("google/appengine/v1/network_settings.proto", :syntax => :proto3) do
9
8
  add_message "google.appengine.v1.NetworkSettings" do
@@ -1,11 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/operation.proto
3
3
 
4
+ require 'google/protobuf/timestamp_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/protobuf/duration_pb'
7
- require 'google/protobuf/timestamp_pb'
8
- require 'google/api/annotations_pb'
9
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
8
  add_file("google/appengine/v1/operation.proto", :syntax => :proto3) do
11
9
  add_message "google.appengine.v1.OperationMetadataV1" do
@@ -1,10 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/service.proto
3
3
 
4
+ require 'google/appengine/v1/network_settings_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/appengine/v1/network_settings_pb'
7
- require 'google/api/annotations_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_file("google/appengine/v1/service.proto", :syntax => :proto3) do
10
9
  add_message "google.appengine.v1.Service" do
@@ -1,14 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/version.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/appengine/v1/app_yaml_pb'
7
5
  require 'google/appengine/v1/deploy_pb'
8
- require 'google/appengine/v1/network_settings_pb'
9
6
  require 'google/protobuf/duration_pb'
10
7
  require 'google/protobuf/timestamp_pb'
11
- require 'google/api/annotations_pb'
8
+ require 'google/protobuf'
9
+
12
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
11
  add_file("google/appengine/v1/version.proto", :syntax => :proto3) do
14
12
  add_message "google.appengine.v1.Version" do