google-cloud-app_engine-v1 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/appengine/v1/instance_pb.rb +15 -0
- data/lib/google/appengine/v1/location_pb.rb +2 -0
- data/lib/google/appengine/v1/network_settings_pb.rb +11 -0
- data/lib/google/appengine/v1/operation_pb.rb +1 -0
- data/lib/google/appengine/v1/service_pb.rb +2 -0
- data/lib/google/appengine/v1/version_pb.rb +4 -0
- data/lib/google/cloud/app_engine/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +65 -0
- data/proto_docs/google/appengine/v1/instance.rb +71 -32
- data/proto_docs/google/appengine/v1/location.rb +4 -0
- data/proto_docs/google/appengine/v1/network_settings.rb +51 -0
- data/proto_docs/google/appengine/v1/service.rb +3 -0
- data/proto_docs/google/appengine/v1/version.rb +26 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a2a6cb328aaac1e6b4ea230fff89522ef010f2e2735368da3cc04083e137907
|
4
|
+
data.tar.gz: a8c8d9d71293890ae2acf49842d5ea200f97d20903df3979a5f44698b49b33f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b3ac914016d41c5481b18aebd6274b9669aede41a184c394a14334d84d9539aa70bd93db081b9854738eaaf3ba8e6cd5d45166f2e6cb6a286055a1adfaa6dd0
|
7
|
+
data.tar.gz: e838179461b954c28d138d73437357ec9efbd02ed0b0faa6e03691450c66954a75d49ff0ddc0699ebc67d9c202432b392db23ca6e7e9c95f0a27b69d8f868797
|
@@ -3,6 +3,8 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
6
8
|
require 'google/protobuf/timestamp_pb'
|
7
9
|
require 'google/api/annotations_pb'
|
8
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -24,6 +26,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
26
|
optional :vm_status, :string, 14
|
25
27
|
optional :vm_debug_enabled, :bool, 15
|
26
28
|
optional :vm_ip, :string, 16
|
29
|
+
optional :vm_liveness, :enum, 17, "google.appengine.v1.Instance.Liveness.LivenessState"
|
30
|
+
end
|
31
|
+
add_message "google.appengine.v1.Instance.Liveness" do
|
32
|
+
end
|
33
|
+
add_enum "google.appengine.v1.Instance.Liveness.LivenessState" do
|
34
|
+
value :LIVENESS_STATE_UNSPECIFIED, 0
|
35
|
+
value :UNKNOWN, 1
|
36
|
+
value :HEALTHY, 2
|
37
|
+
value :UNHEALTHY, 3
|
38
|
+
value :DRAINING, 4
|
39
|
+
value :TIMEOUT, 5
|
27
40
|
end
|
28
41
|
add_enum "google.appengine.v1.Instance.Availability" do
|
29
42
|
value :UNSPECIFIED, 0
|
@@ -38,6 +51,8 @@ module Google
|
|
38
51
|
module AppEngine
|
39
52
|
module V1
|
40
53
|
Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.Instance").msgclass
|
54
|
+
Instance::Liveness = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.Instance.Liveness").msgclass
|
55
|
+
Instance::Liveness::LivenessState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.Instance.Liveness.LivenessState").enummodule
|
41
56
|
Instance::Availability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.Instance.Availability").enummodule
|
42
57
|
end
|
43
58
|
end
|
@@ -3,12 +3,14 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/annotations_pb'
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
9
|
add_file("google/appengine/v1/location.proto", :syntax => :proto3) do
|
9
10
|
add_message "google.appengine.v1.LocationMetadata" do
|
10
11
|
optional :standard_environment_available, :bool, 2
|
11
12
|
optional :flexible_environment_available, :bool, 4
|
13
|
+
optional :search_api_available, :bool, 6
|
12
14
|
end
|
13
15
|
end
|
14
16
|
end
|
@@ -6,6 +6,15 @@ require 'google/protobuf'
|
|
6
6
|
require 'google/api/annotations_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
8
|
add_file("google/appengine/v1/network_settings.proto", :syntax => :proto3) do
|
9
|
+
add_message "google.appengine.v1.NetworkSettings" do
|
10
|
+
optional :ingress_traffic_allowed, :enum, 1, "google.appengine.v1.NetworkSettings.IngressTrafficAllowed"
|
11
|
+
end
|
12
|
+
add_enum "google.appengine.v1.NetworkSettings.IngressTrafficAllowed" do
|
13
|
+
value :INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED, 0
|
14
|
+
value :INGRESS_TRAFFIC_ALLOWED_ALL, 1
|
15
|
+
value :INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY, 2
|
16
|
+
value :INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB, 3
|
17
|
+
end
|
9
18
|
end
|
10
19
|
end
|
11
20
|
|
@@ -13,6 +22,8 @@ module Google
|
|
13
22
|
module Cloud
|
14
23
|
module AppEngine
|
15
24
|
module V1
|
25
|
+
NetworkSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.NetworkSettings").msgclass
|
26
|
+
NetworkSettings::IngressTrafficAllowed = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.NetworkSettings.IngressTrafficAllowed").enummodule
|
16
27
|
end
|
17
28
|
end
|
18
29
|
end
|
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/appengine/v1/network_settings_pb'
|
6
7
|
require 'google/api/annotations_pb'
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
9
|
add_file("google/appengine/v1/service.proto", :syntax => :proto3) do
|
@@ -10,6 +11,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
10
11
|
optional :name, :string, 1
|
11
12
|
optional :id, :string, 2
|
12
13
|
optional :split, :message, 3, "google.appengine.v1.TrafficSplit"
|
14
|
+
optional :network_settings, :message, 6, "google.appengine.v1.NetworkSettings"
|
13
15
|
end
|
14
16
|
add_message "google.appengine.v1.TrafficSplit" do
|
15
17
|
optional :shard_by, :enum, 1, "google.appengine.v1.TrafficSplit.ShardBy"
|
@@ -5,6 +5,7 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'google/appengine/v1/app_yaml_pb'
|
7
7
|
require 'google/appengine/v1/deploy_pb'
|
8
|
+
require 'google/appengine/v1/network_settings_pb'
|
8
9
|
require 'google/protobuf/duration_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
require 'google/api/annotations_pb'
|
@@ -30,11 +31,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
30
31
|
optional :disk_usage_bytes, :int64, 18
|
31
32
|
optional :runtime_api_version, :string, 21
|
32
33
|
optional :runtime_main_executable_path, :string, 22
|
34
|
+
optional :service_account, :string, 127
|
33
35
|
repeated :handlers, :message, 100, "google.appengine.v1.UrlMap"
|
34
36
|
repeated :error_handlers, :message, 101, "google.appengine.v1.ErrorHandler"
|
35
37
|
repeated :libraries, :message, 102, "google.appengine.v1.Library"
|
36
38
|
optional :api_config, :message, 103, "google.appengine.v1.ApiConfigHandler"
|
37
39
|
map :env_variables, :string, :string, 104
|
40
|
+
map :build_env_variables, :string, :string, 125
|
38
41
|
optional :default_expiration, :message, 105, "google.protobuf.Duration"
|
39
42
|
optional :health_check, :message, 106, "google.appengine.v1.HealthCheck"
|
40
43
|
optional :readiness_check, :message, 112, "google.appengine.v1.ReadinessCheck"
|
@@ -127,6 +130,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
127
130
|
optional :disk_gb, :double, 2
|
128
131
|
optional :memory_gb, :double, 3
|
129
132
|
repeated :volumes, :message, 4, "google.appengine.v1.Volume"
|
133
|
+
optional :kms_key_reference, :string, 5
|
130
134
|
end
|
131
135
|
add_message "google.appengine.v1.VpcAccessConnector" do
|
132
136
|
optional :name, :string, 1
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# An indicator of the behavior of a given field (for example, that a field
|
23
|
+
# is required in requests, or given as output but ignored as input).
|
24
|
+
# This **does not** change the behavior in protocol buffers itself; it only
|
25
|
+
# denotes the behavior and may affect how API tooling handles the field.
|
26
|
+
#
|
27
|
+
# Note: This enum **may** receive new values in the future.
|
28
|
+
module FieldBehavior
|
29
|
+
# Conventional default for enums. Do not use this.
|
30
|
+
FIELD_BEHAVIOR_UNSPECIFIED = 0
|
31
|
+
|
32
|
+
# Specifically denotes a field as optional.
|
33
|
+
# While all fields in protocol buffers are optional, this may be specified
|
34
|
+
# for emphasis if appropriate.
|
35
|
+
OPTIONAL = 1
|
36
|
+
|
37
|
+
# Denotes a field as required.
|
38
|
+
# This indicates that the field **must** be provided as part of the request,
|
39
|
+
# and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
|
40
|
+
REQUIRED = 2
|
41
|
+
|
42
|
+
# Denotes a field as output only.
|
43
|
+
# This indicates that the field is provided in responses, but including the
|
44
|
+
# field in a request does nothing (the server *must* ignore it and
|
45
|
+
# *must not* throw an error as a result of the field's presence).
|
46
|
+
OUTPUT_ONLY = 3
|
47
|
+
|
48
|
+
# Denotes a field as input only.
|
49
|
+
# This indicates that the field is provided in requests, and the
|
50
|
+
# corresponding field is not included in output.
|
51
|
+
INPUT_ONLY = 4
|
52
|
+
|
53
|
+
# Denotes a field as immutable.
|
54
|
+
# This indicates that the field may be set once in a request to create a
|
55
|
+
# resource, but may not be changed thereafter.
|
56
|
+
IMMUTABLE = 5
|
57
|
+
|
58
|
+
# Denotes that a (repeated) field is an unordered list.
|
59
|
+
# This indicates that the service may provide the elements of the list
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
|
+
# provided. Additionally, the list's order may or may not be stable.
|
62
|
+
UNORDERED_LIST = 6
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -23,66 +23,105 @@ module Google
|
|
23
23
|
module V1
|
24
24
|
# An Instance resource is the computing unit that App Engine uses to
|
25
25
|
# automatically scale an application.
|
26
|
-
# @!attribute [
|
26
|
+
# @!attribute [r] name
|
27
27
|
# @return [::String]
|
28
|
-
# Full path to the Instance resource in the API.
|
28
|
+
# Output only. Full path to the Instance resource in the API.
|
29
29
|
# Example: `apps/myapp/services/default/versions/v1/instances/instance-1`.
|
30
|
-
# @!attribute [
|
30
|
+
# @!attribute [r] id
|
31
31
|
# @return [::String]
|
32
|
-
# Relative name of the instance within the version.
|
32
|
+
# Output only. Relative name of the instance within the version.
|
33
33
|
# Example: `instance-1`.
|
34
|
-
# @!attribute [
|
34
|
+
# @!attribute [r] app_engine_release
|
35
35
|
# @return [::String]
|
36
|
-
# App Engine release this instance is running on.
|
37
|
-
# @!attribute [
|
36
|
+
# Output only. App Engine release this instance is running on.
|
37
|
+
# @!attribute [r] availability
|
38
38
|
# @return [::Google::Cloud::AppEngine::V1::Instance::Availability]
|
39
|
-
# Availability of the instance.
|
40
|
-
# @!attribute [
|
39
|
+
# Output only. Availability of the instance.
|
40
|
+
# @!attribute [r] vm_name
|
41
41
|
# @return [::String]
|
42
|
-
# Name of the virtual machine where this instance lives. Only applicable
|
42
|
+
# Output only. Name of the virtual machine where this instance lives. Only applicable
|
43
43
|
# for instances in App Engine flexible environment.
|
44
|
-
# @!attribute [
|
44
|
+
# @!attribute [r] vm_zone_name
|
45
45
|
# @return [::String]
|
46
|
-
# Zone where the virtual machine is located. Only applicable for instances
|
46
|
+
# Output only. Zone where the virtual machine is located. Only applicable for instances
|
47
47
|
# in App Engine flexible environment.
|
48
|
-
# @!attribute [
|
48
|
+
# @!attribute [r] vm_id
|
49
49
|
# @return [::String]
|
50
|
-
# Virtual machine ID of this instance. Only applicable for instances in
|
50
|
+
# Output only. Virtual machine ID of this instance. Only applicable for instances in
|
51
51
|
# App Engine flexible environment.
|
52
|
-
# @!attribute [
|
52
|
+
# @!attribute [r] start_time
|
53
53
|
# @return [::Google::Protobuf::Timestamp]
|
54
|
-
# Time that this instance was started.
|
55
|
-
# @!attribute [
|
54
|
+
# Output only. Time that this instance was started.
|
55
|
+
# @!attribute [r] requests
|
56
56
|
# @return [::Integer]
|
57
|
-
# Number of requests since this instance was started.
|
58
|
-
# @!attribute [
|
57
|
+
# Output only. Number of requests since this instance was started.
|
58
|
+
# @!attribute [r] errors
|
59
59
|
# @return [::Integer]
|
60
|
-
# Number of errors since this instance was started.
|
61
|
-
# @!attribute [
|
60
|
+
# Output only. Number of errors since this instance was started.
|
61
|
+
# @!attribute [r] qps
|
62
62
|
# @return [::Float]
|
63
|
-
# Average queries per second (QPS) over the last minute.
|
64
|
-
# @!attribute [
|
63
|
+
# Output only. Average queries per second (QPS) over the last minute.
|
64
|
+
# @!attribute [r] average_latency
|
65
65
|
# @return [::Integer]
|
66
|
-
# Average latency (ms) over the last minute.
|
67
|
-
# @!attribute [
|
66
|
+
# Output only. Average latency (ms) over the last minute.
|
67
|
+
# @!attribute [r] memory_usage
|
68
68
|
# @return [::Integer]
|
69
|
-
# Total memory in use (bytes).
|
70
|
-
# @!attribute [
|
69
|
+
# Output only. Total memory in use (bytes).
|
70
|
+
# @!attribute [r] vm_status
|
71
71
|
# @return [::String]
|
72
|
-
# Status of the virtual machine where this instance lives. Only applicable
|
72
|
+
# Output only. Status of the virtual machine where this instance lives. Only applicable
|
73
73
|
# for instances in App Engine flexible environment.
|
74
|
-
# @!attribute [
|
74
|
+
# @!attribute [r] vm_debug_enabled
|
75
75
|
# @return [::Boolean]
|
76
|
-
# Whether this instance is in debug mode. Only applicable for instances in
|
76
|
+
# Output only. Whether this instance is in debug mode. Only applicable for instances in
|
77
77
|
# App Engine flexible environment.
|
78
|
-
# @!attribute [
|
78
|
+
# @!attribute [r] vm_ip
|
79
79
|
# @return [::String]
|
80
|
-
# The IP address of this instance. Only applicable for instances in App
|
80
|
+
# Output only. The IP address of this instance. Only applicable for instances in App
|
81
81
|
# Engine flexible environment.
|
82
|
+
# @!attribute [r] vm_liveness
|
83
|
+
# @return [::Google::Cloud::AppEngine::V1::Instance::Liveness::LivenessState]
|
84
|
+
# Output only. The liveness health check of this instance. Only applicable for instances
|
85
|
+
# in App Engine flexible environment.
|
82
86
|
class Instance
|
83
87
|
include ::Google::Protobuf::MessageExts
|
84
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
85
89
|
|
90
|
+
# Wrapper for LivenessState enum.
|
91
|
+
class Liveness
|
92
|
+
include ::Google::Protobuf::MessageExts
|
93
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
94
|
+
|
95
|
+
# Liveness health check status for Flex instances.
|
96
|
+
module LivenessState
|
97
|
+
# There is no liveness health check for the instance. Only applicable for
|
98
|
+
# instances in App Engine standard environment.
|
99
|
+
LIVENESS_STATE_UNSPECIFIED = 0
|
100
|
+
|
101
|
+
# The health checking system is aware of the instance but its health is
|
102
|
+
# not known at the moment.
|
103
|
+
UNKNOWN = 1
|
104
|
+
|
105
|
+
# The instance is reachable i.e. a connection to the application health
|
106
|
+
# checking endpoint can be established, and conforms to the requirements
|
107
|
+
# defined by the health check.
|
108
|
+
HEALTHY = 2
|
109
|
+
|
110
|
+
# The instance is reachable, but does not conform to the requirements
|
111
|
+
# defined by the health check.
|
112
|
+
UNHEALTHY = 3
|
113
|
+
|
114
|
+
# The instance is being drained. The existing connections to the instance
|
115
|
+
# have time to complete, but the new ones are being refused.
|
116
|
+
DRAINING = 4
|
117
|
+
|
118
|
+
# The instance is unreachable i.e. a connection to the application health
|
119
|
+
# checking endpoint cannot be established, or the server does not respond
|
120
|
+
# within the specified timeout.
|
121
|
+
TIMEOUT = 5
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
86
125
|
# Availability of the instance.
|
87
126
|
module Availability
|
88
127
|
UNSPECIFIED = 0
|
@@ -28,6 +28,10 @@ module Google
|
|
28
28
|
# @!attribute [rw] flexible_environment_available
|
29
29
|
# @return [::Boolean]
|
30
30
|
# App Engine flexible environment is available in the given location.
|
31
|
+
# @!attribute [r] search_api_available
|
32
|
+
# @return [::Boolean]
|
33
|
+
# Output only. [Search API](https://cloud.google.com/appengine/docs/standard/python/search)
|
34
|
+
# is available in the given location.
|
31
35
|
class LocationMetadata
|
32
36
|
include ::Google::Protobuf::MessageExts
|
33
37
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AppEngine
|
23
|
+
module V1
|
24
|
+
# A NetworkSettings resource is a container for ingress settings for a version
|
25
|
+
# or service.
|
26
|
+
# @!attribute [rw] ingress_traffic_allowed
|
27
|
+
# @return [::Google::Cloud::AppEngine::V1::NetworkSettings::IngressTrafficAllowed]
|
28
|
+
# The ingress settings for version or service.
|
29
|
+
class NetworkSettings
|
30
|
+
include ::Google::Protobuf::MessageExts
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
|
33
|
+
# If unspecified, INGRESS_TRAFFIC_ALLOWED_ALL will be used.
|
34
|
+
module IngressTrafficAllowed
|
35
|
+
# Unspecified
|
36
|
+
INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED = 0
|
37
|
+
|
38
|
+
# Allow HTTP traffic from public and private sources.
|
39
|
+
INGRESS_TRAFFIC_ALLOWED_ALL = 1
|
40
|
+
|
41
|
+
# Allow HTTP traffic from only private VPC sources.
|
42
|
+
INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY = 2
|
43
|
+
|
44
|
+
# Allow HTTP traffic from private VPC sources and through load balancers.
|
45
|
+
INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB = 3
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -40,6 +40,9 @@ 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] network_settings
|
44
|
+
# @return [::Google::Cloud::AppEngine::V1::NetworkSettings]
|
45
|
+
# Ingress settings for this service. Will apply to all versions.
|
43
46
|
class Service
|
44
47
|
include ::Google::Protobuf::MessageExts
|
45
48
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -35,7 +35,8 @@ module Google
|
|
35
35
|
# @!attribute [rw] automatic_scaling
|
36
36
|
# @return [::Google::Cloud::AppEngine::V1::AutomaticScaling]
|
37
37
|
# Automatic scaling is based on request rate, response latencies, and other
|
38
|
-
# application metrics.
|
38
|
+
# application metrics. Instances are dynamically created and destroyed as
|
39
|
+
# needed in order to handle traffic.
|
39
40
|
# @!attribute [rw] basic_scaling
|
40
41
|
# @return [::Google::Cloud::AppEngine::V1::BasicScaling]
|
41
42
|
# A service with basic scaling will create an instance when the application
|
@@ -46,6 +47,7 @@ module Google
|
|
46
47
|
# @return [::Google::Cloud::AppEngine::V1::ManualScaling]
|
47
48
|
# A service with manual scaling runs continuously, allowing you to perform
|
48
49
|
# complex initialization and rely on the state of its memory over time.
|
50
|
+
# Manually scaled versions are sometimes referred to as "backends".
|
49
51
|
# @!attribute [rw] inbound_services
|
50
52
|
# @return [::Array<::Google::Cloud::AppEngine::V1::InboundServiceType>]
|
51
53
|
# Before an application can receive email or XMPP messages, the application
|
@@ -117,6 +119,11 @@ module Google
|
|
117
119
|
# @!attribute [rw] runtime_main_executable_path
|
118
120
|
# @return [::String]
|
119
121
|
# The path or name of the app's main executable.
|
122
|
+
# @!attribute [rw] service_account
|
123
|
+
# @return [::String]
|
124
|
+
# The identity that the deployed version will run as.
|
125
|
+
# Admin API will use the App Engine Appspot service account as default if
|
126
|
+
# this field is neither provided in app.yaml file nor through CLI flag.
|
120
127
|
# @!attribute [rw] handlers
|
121
128
|
# @return [::Array<::Google::Cloud::AppEngine::V1::UrlMap>]
|
122
129
|
# An ordered list of URL-matching patterns that should be applied to incoming
|
@@ -146,6 +153,11 @@ module Google
|
|
146
153
|
# Environment variables available to the application.
|
147
154
|
#
|
148
155
|
# Only returned in `GET` requests if `view=FULL` is set.
|
156
|
+
# @!attribute [rw] build_env_variables
|
157
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
158
|
+
# Environment variables available to the build environment.
|
159
|
+
#
|
160
|
+
# Only returned in `GET` requests if `view=FULL` is set.
|
149
161
|
# @!attribute [rw] default_expiration
|
150
162
|
# @return [::Google::Protobuf::Duration]
|
151
163
|
# Duration that static files should be cached by web proxies and browsers.
|
@@ -221,6 +233,15 @@ module Google
|
|
221
233
|
include ::Google::Protobuf::MessageExts
|
222
234
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
223
235
|
end
|
236
|
+
|
237
|
+
# @!attribute [rw] key
|
238
|
+
# @return [::String]
|
239
|
+
# @!attribute [rw] value
|
240
|
+
# @return [::String]
|
241
|
+
class BuildEnvVariablesEntry
|
242
|
+
include ::Google::Protobuf::MessageExts
|
243
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
244
|
+
end
|
224
245
|
end
|
225
246
|
|
226
247
|
# [Cloud Endpoints](https://cloud.google.com/endpoints) configuration.
|
@@ -522,6 +543,10 @@ module Google
|
|
522
543
|
# @!attribute [rw] volumes
|
523
544
|
# @return [::Array<::Google::Cloud::AppEngine::V1::Volume>]
|
524
545
|
# User specified volumes.
|
546
|
+
# @!attribute [rw] kms_key_reference
|
547
|
+
# @return [::String]
|
548
|
+
# The name of the encryption key that is stored in Google Cloud KMS.
|
549
|
+
# Only should be used by Cloud Composer to encrypt the vm disk
|
525
550
|
class Resources
|
526
551
|
include ::Google::Protobuf::MessageExts
|
527
552
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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.3.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: 2021-03-
|
11
|
+
date: 2021-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -213,6 +213,7 @@ files:
|
|
213
213
|
- lib/google/cloud/app_engine/v1/versions/credentials.rb
|
214
214
|
- lib/google/cloud/app_engine/v1/versions/operations.rb
|
215
215
|
- proto_docs/README.md
|
216
|
+
- proto_docs/google/api/field_behavior.rb
|
216
217
|
- proto_docs/google/api/resource.rb
|
217
218
|
- proto_docs/google/appengine/v1/app_yaml.rb
|
218
219
|
- proto_docs/google/appengine/v1/appengine.rb
|
@@ -225,6 +226,7 @@ files:
|
|
225
226
|
- proto_docs/google/appengine/v1/firewall.rb
|
226
227
|
- proto_docs/google/appengine/v1/instance.rb
|
227
228
|
- proto_docs/google/appengine/v1/location.rb
|
229
|
+
- proto_docs/google/appengine/v1/network_settings.rb
|
228
230
|
- proto_docs/google/appengine/v1/operation.rb
|
229
231
|
- proto_docs/google/appengine/v1/service.rb
|
230
232
|
- proto_docs/google/appengine/v1/version.rb
|