google-cloud-app_engine-v1 0.3.4 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +1 -1
- data/lib/google/appengine/v1/app_yaml_pb.rb +2 -2
- data/lib/google/appengine/v1/appengine_pb.rb +6 -4
- data/lib/google/appengine/v1/appengine_services_pb.rb +1 -0
- data/lib/google/appengine/v1/application_pb.rb +3 -2
- data/lib/google/appengine/v1/audit_data_pb.rb +2 -2
- data/lib/google/appengine/v1/certificate_pb.rb +2 -2
- data/lib/google/appengine/v1/deploy_pb.rb +2 -2
- data/lib/google/appengine/v1/deployed_files_pb.rb +0 -1
- data/lib/google/appengine/v1/domain_mapping_pb.rb +0 -1
- data/lib/google/appengine/v1/domain_pb.rb +0 -1
- data/lib/google/appengine/v1/firewall_pb.rb +0 -1
- data/lib/google/appengine/v1/instance_pb.rb +2 -2
- data/lib/google/appengine/v1/location_pb.rb +2 -2
- data/lib/google/appengine/v1/network_settings_pb.rb +0 -1
- data/lib/google/appengine/v1/operation_pb.rb +2 -3
- data/lib/google/appengine/v1/service_pb.rb +3 -2
- data/lib/google/appengine/v1/version_pb.rb +10 -3
- data/lib/google/cloud/app_engine/v1/applications/client.rb +3 -1
- data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +2 -1
- data/lib/google/cloud/app_engine/v1/instances/client.rb +1 -0
- data/lib/google/cloud/app_engine/v1/services/client.rb +2 -1
- data/lib/google/cloud/app_engine/v1/version.rb +1 -1
- data/lib/google/cloud/app_engine/v1/versions/client.rb +1 -0
- data/lib/google/cloud/app_engine/v1.rb +2 -0
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/appengine/v1/appengine.rb +3 -3
- data/proto_docs/google/appengine/v1/application.rb +5 -0
- data/proto_docs/google/appengine/v1/service.rb +22 -0
- data/proto_docs/google/appengine/v1/version.rb +22 -0
- data/proto_docs/google/protobuf/any.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f9797d574607a714ea224f8a2483665318d782ab07d910114c0078bfa875d6c
|
4
|
+
data.tar.gz: d7d1507344ee550e1ea4e4008692ed3dd7c5f826df61a5fc132130cd9fad2eba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 356089c7071878807390fc36b4ef26f41b804a5eef3adaa62cd42f1819cb1f82243f6bf98638b9ae8b5a8629c72b22db361226d0fa4cc0132773b4ef4ab85fb6
|
7
|
+
data.tar.gz: 0f1c861423b8cfad127a04ee22cc987c1532c186cc7d6b3bfc3759f20a9910f6ce011711df621ecb3ce11ad9d112df05d6c39b7ea94acb23c7d68bab50b27c02
|
data/.yardopts
CHANGED
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
|
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
|
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
|
-
|
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,
|
164
|
-
|
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://
|
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,10 @@
|
|
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'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/appengine/v1/app_yaml.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.appengine.v1.ApiConfigHandler" do
|
@@ -1,20 +1,22 @@
|
|
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
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/api/resource_pb'
|
4
9
|
require 'google/appengine/v1/application_pb'
|
5
10
|
require 'google/appengine/v1/certificate_pb'
|
6
11
|
require 'google/appengine/v1/domain_pb'
|
7
12
|
require 'google/appengine/v1/domain_mapping_pb'
|
8
13
|
require 'google/appengine/v1/firewall_pb'
|
9
14
|
require 'google/appengine/v1/instance_pb'
|
10
|
-
require 'google/appengine/v1/version_pb'
|
11
15
|
require 'google/appengine/v1/service_pb'
|
12
|
-
require 'google/
|
16
|
+
require 'google/appengine/v1/version_pb'
|
13
17
|
require 'google/longrunning/operations_pb'
|
14
18
|
require 'google/protobuf/empty_pb'
|
15
19
|
require 'google/protobuf/field_mask_pb'
|
16
|
-
require 'google/api/client_pb'
|
17
|
-
require 'google/protobuf'
|
18
20
|
|
19
21
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
20
22
|
add_file("google/appengine/v1/appengine.proto", :syntax => :proto3) do
|
@@ -48,6 +48,7 @@ module Google
|
|
48
48
|
#
|
49
49
|
# * `auth_domain` - Google authentication domain for controlling user access to the application.
|
50
50
|
# * `default_cookie_expiration` - Cookie expiration policy for the application.
|
51
|
+
# * `iap` - Identity-Aware Proxy properties for the application.
|
51
52
|
rpc :UpdateApplication, ::Google::Cloud::AppEngine::V1::UpdateApplicationRequest, ::Google::Longrunning::Operation
|
52
53
|
# Recreates the required App Engine features for the specified App Engine
|
53
54
|
# application, for example a Cloud Storage bucket or App Engine service
|
@@ -1,10 +1,10 @@
|
|
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'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/appengine/v1/application.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.appengine.v1.Application" do
|
@@ -18,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
18
18
|
optional :serving_status, :enum, 10, "google.appengine.v1.Application.ServingStatus"
|
19
19
|
optional :default_hostname, :string, 11
|
20
20
|
optional :default_bucket, :string, 12
|
21
|
+
optional :service_account, :string, 13
|
21
22
|
optional :iap, :message, 14, "google.appengine.v1.Application.IdentityAwareProxy"
|
22
23
|
optional :gcr_domain, :string, 16
|
23
24
|
optional :database_type, :enum, 17, "google.appengine.v1.Application.DatabaseType"
|
@@ -1,10 +1,10 @@
|
|
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'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/appengine/v1/appengine_pb'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/appengine/v1/audit_data.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.appengine.v1.AuditData" do
|
@@ -1,10 +1,10 @@
|
|
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'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/protobuf/timestamp_pb'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/appengine/v1/certificate.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.appengine.v1.AuthorizedCertificate" do
|
@@ -1,10 +1,10 @@
|
|
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'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/appengine/v1/deploy.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.appengine.v1.Deployment" do
|
@@ -1,11 +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
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
8
|
require 'google/protobuf/timestamp_pb'
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
require 'google/protobuf'
|
9
9
|
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/appengine/v1/instance.proto", :syntax => :proto3) do
|
@@ -1,10 +1,10 @@
|
|
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'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/appengine/v1/location.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.appengine.v1.LocationMetadata" do
|
@@ -1,11 +1,10 @@
|
|
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/duration_pb'
|
5
|
-
require 'google/protobuf/timestamp_pb'
|
6
|
-
require 'google/api/annotations_pb'
|
7
4
|
require 'google/protobuf'
|
8
5
|
|
6
|
+
require 'google/protobuf/timestamp_pb'
|
7
|
+
|
9
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
9
|
add_file("google/appengine/v1/operation.proto", :syntax => :proto3) do
|
11
10
|
add_message "google.appengine.v1.OperationMetadataV1" do
|
@@ -1,16 +1,17 @@
|
|
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'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/appengine/v1/network_settings_pb'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/appengine/v1/service.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.appengine.v1.Service" do
|
11
11
|
optional :name, :string, 1
|
12
12
|
optional :id, :string, 2
|
13
13
|
optional :split, :message, 3, "google.appengine.v1.TrafficSplit"
|
14
|
+
map :labels, :string, :string, 4
|
14
15
|
optional :network_settings, :message, 6, "google.appengine.v1.NetworkSettings"
|
15
16
|
end
|
16
17
|
add_message "google.appengine.v1.TrafficSplit" do
|
@@ -1,13 +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
|
+
|
4
6
|
require 'google/appengine/v1/app_yaml_pb'
|
5
7
|
require 'google/appengine/v1/deploy_pb'
|
6
|
-
require 'google/appengine/v1/network_settings_pb'
|
7
8
|
require 'google/protobuf/duration_pb'
|
8
9
|
require 'google/protobuf/timestamp_pb'
|
9
|
-
require 'google/api/annotations_pb'
|
10
|
-
require 'google/protobuf'
|
11
10
|
|
12
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
12
|
add_file("google/appengine/v1/version.proto", :syntax => :proto3) do
|
@@ -23,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
23
22
|
optional :runtime_channel, :string, 117
|
24
23
|
optional :threadsafe, :bool, 11
|
25
24
|
optional :vm, :bool, 12
|
25
|
+
optional :app_engine_apis, :bool, 128
|
26
26
|
map :beta_settings, :string, :string, 13
|
27
27
|
optional :env, :string, 14
|
28
28
|
optional :serving_status, :enum, 15, "google.appengine.v1.ServingStatus"
|
@@ -134,6 +134,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
134
134
|
end
|
135
135
|
add_message "google.appengine.v1.VpcAccessConnector" do
|
136
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
|
137
143
|
end
|
138
144
|
add_message "google.appengine.v1.Entrypoint" do
|
139
145
|
oneof :command do
|
@@ -178,6 +184,7 @@ module Google
|
|
178
184
|
Volume = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.Volume").msgclass
|
179
185
|
Resources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.Resources").msgclass
|
180
186
|
VpcAccessConnector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.VpcAccessConnector").msgclass
|
187
|
+
VpcAccessConnector::EgressSetting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.VpcAccessConnector.EgressSetting").enummodule
|
181
188
|
Entrypoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.Entrypoint").msgclass
|
182
189
|
InboundServiceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.InboundServiceType").enummodule
|
183
190
|
ServingStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ServingStatus").enummodule
|
@@ -133,6 +133,7 @@ module Google
|
|
133
133
|
|
134
134
|
@operations_client = Operations.new do |config|
|
135
135
|
config.credentials = credentials
|
136
|
+
config.quota_project = @quota_project_id
|
136
137
|
config.endpoint = @config.endpoint
|
137
138
|
end
|
138
139
|
|
@@ -336,6 +337,7 @@ module Google
|
|
336
337
|
#
|
337
338
|
# * `auth_domain` - Google authentication domain for controlling user access to the application.
|
338
339
|
# * `default_cookie_expiration` - Cookie expiration policy for the application.
|
340
|
+
# * `iap` - Identity-Aware Proxy properties for the application.
|
339
341
|
#
|
340
342
|
# @overload update_application(request, options = nil)
|
341
343
|
# Pass arguments to `update_application` via a request object, either of type
|
@@ -357,7 +359,7 @@ module Google
|
|
357
359
|
# @param application [::Google::Cloud::AppEngine::V1::Application, ::Hash]
|
358
360
|
# An Application containing the updated resource.
|
359
361
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
360
|
-
# Standard field mask for the set of fields to be updated.
|
362
|
+
# Required. Standard field mask for the set of fields to be updated.
|
361
363
|
#
|
362
364
|
# @yield [response, operation] Access the result along with the RPC operation
|
363
365
|
# @yieldparam response [::Gapic::Operation]
|
@@ -133,6 +133,7 @@ module Google
|
|
133
133
|
|
134
134
|
@operations_client = Operations.new do |config|
|
135
135
|
config.credentials = credentials
|
136
|
+
config.quota_project = @quota_project_id
|
136
137
|
config.endpoint = @config.endpoint
|
137
138
|
end
|
138
139
|
|
@@ -464,7 +465,7 @@ module Google
|
|
464
465
|
# A domain mapping containing the updated resource. Only fields set
|
465
466
|
# in the field mask will be updated.
|
466
467
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
467
|
-
# Standard field mask for the set of fields to be updated.
|
468
|
+
# Required. Standard field mask for the set of fields to be updated.
|
468
469
|
#
|
469
470
|
# @yield [response, operation] Access the result along with the RPC operation
|
470
471
|
# @yieldparam response [::Gapic::Operation]
|
@@ -133,6 +133,7 @@ module Google
|
|
133
133
|
|
134
134
|
@operations_client = Operations.new do |config|
|
135
135
|
config.credentials = credentials
|
136
|
+
config.quota_project = @quota_project_id
|
136
137
|
config.endpoint = @config.endpoint
|
137
138
|
end
|
138
139
|
|
@@ -359,7 +360,7 @@ module Google
|
|
359
360
|
# A Service resource containing the updated service. Only fields set in the
|
360
361
|
# field mask will be updated.
|
361
362
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
362
|
-
# Standard field mask for the set of fields to be updated.
|
363
|
+
# Required. Standard field mask for the set of fields to be updated.
|
363
364
|
# @param migrate_traffic [::Boolean]
|
364
365
|
# Set to `true` to gradually shift traffic to one or more versions that you
|
365
366
|
# specify. By default, traffic is shifted immediately.
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
@@ -48,7 +48,7 @@ module Google
|
|
48
48
|
# An Application containing the updated resource.
|
49
49
|
# @!attribute [rw] update_mask
|
50
50
|
# @return [::Google::Protobuf::FieldMask]
|
51
|
-
# Standard field mask for the set of fields to be updated.
|
51
|
+
# Required. Standard field mask for the set of fields to be updated.
|
52
52
|
class UpdateApplicationRequest
|
53
53
|
include ::Google::Protobuf::MessageExts
|
54
54
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -109,7 +109,7 @@ module Google
|
|
109
109
|
# field mask will be updated.
|
110
110
|
# @!attribute [rw] update_mask
|
111
111
|
# @return [::Google::Protobuf::FieldMask]
|
112
|
-
# Standard field mask for the set of fields to be updated.
|
112
|
+
# Required. Standard field mask for the set of fields to be updated.
|
113
113
|
# @!attribute [rw] migrate_traffic
|
114
114
|
# @return [::Boolean]
|
115
115
|
# Set to `true` to gradually shift traffic to one or more versions that you
|
@@ -576,7 +576,7 @@ module Google
|
|
576
576
|
# in the field mask will be updated.
|
577
577
|
# @!attribute [rw] update_mask
|
578
578
|
# @return [::Google::Protobuf::FieldMask]
|
579
|
-
# Standard field mask for the set of fields to be updated.
|
579
|
+
# Required. Standard field mask for the set of fields to be updated.
|
580
580
|
class UpdateDomainMappingRequest
|
581
581
|
include ::Google::Protobuf::MessageExts
|
582
582
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -72,6 +72,11 @@ module Google
|
|
72
72
|
# @return [::String]
|
73
73
|
# Google Cloud Storage bucket that can be used by this application to store
|
74
74
|
# content.
|
75
|
+
# @!attribute [rw] service_account
|
76
|
+
# @return [::String]
|
77
|
+
# The service account associated with the application.
|
78
|
+
# This is the app-level default identity. If no identity provided during
|
79
|
+
# create version, Admin API will fallback to this one.
|
75
80
|
# @!attribute [rw] iap
|
76
81
|
# @return [::Google::Cloud::AppEngine::V1::Application::IdentityAwareProxy]
|
77
82
|
# @!attribute [rw] gcr_domain
|
@@ -40,12 +40,34 @@ module Google
|
|
40
40
|
# @return [::Google::Cloud::AppEngine::V1::TrafficSplit]
|
41
41
|
# Mapping that defines fractional HTTP traffic diversion to
|
42
42
|
# different versions within the service.
|
43
|
+
# @!attribute [rw] labels
|
44
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
45
|
+
# A set of labels to apply to this service. Labels are key/value pairs that
|
46
|
+
# describe the service and all resources that belong to it (e.g.,
|
47
|
+
# versions). The labels can be used to search and group resources, and are
|
48
|
+
# propagated to the usage and billing reports, enabling fine-grain analysis
|
49
|
+
# of costs. An example of using labels is to tag resources belonging to
|
50
|
+
# different environments (e.g., "env=prod", "env=qa").
|
51
|
+
#
|
52
|
+
# <p>Label keys and values can be no longer than 63 characters and can only
|
53
|
+
# contain lowercase letters, numeric characters, underscores, dashes, and
|
54
|
+
# international characters. Label keys must start with a lowercase letter
|
55
|
+
# or an international character. Each service can have at most 32 labels.
|
43
56
|
# @!attribute [rw] network_settings
|
44
57
|
# @return [::Google::Cloud::AppEngine::V1::NetworkSettings]
|
45
58
|
# Ingress settings for this service. Will apply to all versions.
|
46
59
|
class Service
|
47
60
|
include ::Google::Protobuf::MessageExts
|
48
61
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
62
|
+
|
63
|
+
# @!attribute [rw] key
|
64
|
+
# @return [::String]
|
65
|
+
# @!attribute [rw] value
|
66
|
+
# @return [::String]
|
67
|
+
class LabelsEntry
|
68
|
+
include ::Google::Protobuf::MessageExts
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
70
|
+
end
|
49
71
|
end
|
50
72
|
|
51
73
|
# Traffic routing configuration for versions within a single service. Traffic
|
@@ -86,6 +86,10 @@ module Google
|
|
86
86
|
# @!attribute [rw] vm
|
87
87
|
# @return [::Boolean]
|
88
88
|
# Whether to deploy this version in a container on a virtual machine.
|
89
|
+
# @!attribute [rw] app_engine_apis
|
90
|
+
# @return [::Boolean]
|
91
|
+
# Allows App Engine second generation runtimes to access the legacy bundled
|
92
|
+
# services.
|
89
93
|
# @!attribute [rw] beta_settings
|
90
94
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
91
95
|
# Metadata settings that are supplied to this version to enable
|
@@ -557,9 +561,27 @@ module Google
|
|
557
561
|
# @return [::String]
|
558
562
|
# Full Serverless VPC Access Connector name e.g.
|
559
563
|
# /projects/my-project/locations/us-central1/connectors/c1.
|
564
|
+
# @!attribute [rw] egress_setting
|
565
|
+
# @return [::Google::Cloud::AppEngine::V1::VpcAccessConnector::EgressSetting]
|
566
|
+
# The egress setting for the connector, controlling what traffic is diverted
|
567
|
+
# through it.
|
560
568
|
class VpcAccessConnector
|
561
569
|
include ::Google::Protobuf::MessageExts
|
562
570
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
571
|
+
|
572
|
+
# Available egress settings.
|
573
|
+
#
|
574
|
+
# This controls what traffic is diverted through the VPC Access Connector
|
575
|
+
# resource. By default PRIVATE_IP_RANGES will be used.
|
576
|
+
module EgressSetting
|
577
|
+
EGRESS_SETTING_UNSPECIFIED = 0
|
578
|
+
|
579
|
+
# Force the use of VPC Access for all egress traffic from the function.
|
580
|
+
ALL_TRAFFIC = 1
|
581
|
+
|
582
|
+
# Use the VPC Access Connector for private IP space from RFC1918.
|
583
|
+
PRIVATE_IP_RANGES = 2
|
584
|
+
end
|
563
585
|
end
|
564
586
|
|
565
587
|
# The entrypoint for the application.
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-app_engine-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -262,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
262
|
- !ruby/object:Gem::Version
|
263
263
|
version: '0'
|
264
264
|
requirements: []
|
265
|
-
rubygems_version: 3.
|
265
|
+
rubygems_version: 3.3.5
|
266
266
|
signing_key:
|
267
267
|
specification_version: 4
|
268
268
|
summary: API Client library for the App Engine Admin V1 API
|