google-cloud-app_engine-v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +201 -0
- data/README.md +139 -0
- data/lib/google-cloud-app_engine-v1.rb +21 -0
- data/lib/google/appengine/v1/app_yaml_pb.rb +137 -0
- data/lib/google/appengine/v1/appengine_pb.rb +261 -0
- data/lib/google/appengine/v1/appengine_services_pb.rb +313 -0
- data/lib/google/appengine/v1/application_pb.rb +69 -0
- data/lib/google/appengine/v1/audit_data_pb.rb +35 -0
- data/lib/google/appengine/v1/certificate_pb.rb +52 -0
- data/lib/google/appengine/v1/deploy_pb.rb +47 -0
- data/lib/google/appengine/v1/deployed_files_pb.rb +19 -0
- data/lib/google/appengine/v1/domain_mapping_pb.rb +51 -0
- data/lib/google/appengine/v1/domain_pb.rb +24 -0
- data/lib/google/appengine/v1/firewall_pb.rb +32 -0
- data/lib/google/appengine/v1/instance_pb.rb +45 -0
- data/lib/google/appengine/v1/location_pb.rb +24 -0
- data/lib/google/appengine/v1/network_settings_pb.rb +19 -0
- data/lib/google/appengine/v1/operation_pb.rb +37 -0
- data/lib/google/appengine/v1/service_pb.rb +37 -0
- data/lib/google/appengine/v1/version_pb.rb +183 -0
- data/lib/google/cloud/app_engine/v1.rb +45 -0
- data/lib/google/cloud/app_engine/v1/applications.rb +49 -0
- data/lib/google/cloud/app_engine/v1/applications/client.rb +624 -0
- data/lib/google/cloud/app_engine/v1/applications/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/applications/operations.rb +655 -0
- data/lib/google/cloud/app_engine/v1/authorized_certificates.rb +49 -0
- data/lib/google/cloud/app_engine/v1/authorized_certificates/client.rb +690 -0
- data/lib/google/cloud/app_engine/v1/authorized_certificates/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/authorized_domains.rb +50 -0
- data/lib/google/cloud/app_engine/v1/authorized_domains/client.rb +380 -0
- data/lib/google/cloud/app_engine/v1/authorized_domains/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings.rb +49 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +705 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings/operations.rb +655 -0
- data/lib/google/cloud/app_engine/v1/firewall.rb +57 -0
- data/lib/google/cloud/app_engine/v1/firewall/client.rb +783 -0
- data/lib/google/cloud/app_engine/v1/firewall/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/instances.rb +49 -0
- data/lib/google/cloud/app_engine/v1/instances/client.rb +644 -0
- data/lib/google/cloud/app_engine/v1/instances/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/instances/operations.rb +655 -0
- data/lib/google/cloud/app_engine/v1/services.rb +49 -0
- data/lib/google/cloud/app_engine/v1/services/client.rb +629 -0
- data/lib/google/cloud/app_engine/v1/services/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/services/operations.rb +655 -0
- data/lib/google/cloud/app_engine/v1/version.rb +28 -0
- data/lib/google/cloud/app_engine/v1/versions.rb +49 -0
- data/lib/google/cloud/app_engine/v1/versions/client.rb +738 -0
- data/lib/google/cloud/app_engine/v1/versions/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/versions/operations.rb +655 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/appengine/v1/app_yaml.rb +379 -0
- data/proto_docs/google/appengine/v1/appengine.rb +639 -0
- data/proto_docs/google/appengine/v1/application.rb +192 -0
- data/proto_docs/google/appengine/v1/audit_data.rb +56 -0
- data/proto_docs/google/appengine/v1/certificate.rb +161 -0
- data/proto_docs/google/appengine/v1/deploy.rb +130 -0
- data/proto_docs/google/appengine/v1/domain.rb +42 -0
- data/proto_docs/google/appengine/v1/domain_mapping.rb +127 -0
- data/proto_docs/google/appengine/v1/firewall.rb +72 -0
- data/proto_docs/google/appengine/v1/instance.rb +98 -0
- data/proto_docs/google/appengine/v1/location.rb +38 -0
- data/proto_docs/google/appengine/v1/operation.rb +67 -0
- data/proto_docs/google/appengine/v1/service.rb +100 -0
- data/proto_docs/google/appengine/v1/version.rb +597 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +261 -0
@@ -0,0 +1,21 @@
|
|
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
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
21
|
+
# require "google/cloud/app_engine/v1"
|
@@ -0,0 +1,137 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/appengine/v1/app_yaml.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("google/appengine/v1/app_yaml.proto", :syntax => :proto3) do
|
10
|
+
add_message "google.appengine.v1.ApiConfigHandler" do
|
11
|
+
optional :auth_fail_action, :enum, 1, "google.appengine.v1.AuthFailAction"
|
12
|
+
optional :login, :enum, 2, "google.appengine.v1.LoginRequirement"
|
13
|
+
optional :script, :string, 3
|
14
|
+
optional :security_level, :enum, 4, "google.appengine.v1.SecurityLevel"
|
15
|
+
optional :url, :string, 5
|
16
|
+
end
|
17
|
+
add_message "google.appengine.v1.ErrorHandler" do
|
18
|
+
optional :error_code, :enum, 1, "google.appengine.v1.ErrorHandler.ErrorCode"
|
19
|
+
optional :static_file, :string, 2
|
20
|
+
optional :mime_type, :string, 3
|
21
|
+
end
|
22
|
+
add_enum "google.appengine.v1.ErrorHandler.ErrorCode" do
|
23
|
+
value :ERROR_CODE_UNSPECIFIED, 0
|
24
|
+
value :ERROR_CODE_DEFAULT, 0
|
25
|
+
value :ERROR_CODE_OVER_QUOTA, 1
|
26
|
+
value :ERROR_CODE_DOS_API_DENIAL, 2
|
27
|
+
value :ERROR_CODE_TIMEOUT, 3
|
28
|
+
end
|
29
|
+
add_message "google.appengine.v1.UrlMap" do
|
30
|
+
optional :url_regex, :string, 1
|
31
|
+
optional :security_level, :enum, 5, "google.appengine.v1.SecurityLevel"
|
32
|
+
optional :login, :enum, 6, "google.appengine.v1.LoginRequirement"
|
33
|
+
optional :auth_fail_action, :enum, 7, "google.appengine.v1.AuthFailAction"
|
34
|
+
optional :redirect_http_response_code, :enum, 8, "google.appengine.v1.UrlMap.RedirectHttpResponseCode"
|
35
|
+
oneof :handler_type do
|
36
|
+
optional :static_files, :message, 2, "google.appengine.v1.StaticFilesHandler"
|
37
|
+
optional :script, :message, 3, "google.appengine.v1.ScriptHandler"
|
38
|
+
optional :api_endpoint, :message, 4, "google.appengine.v1.ApiEndpointHandler"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
add_enum "google.appengine.v1.UrlMap.RedirectHttpResponseCode" do
|
42
|
+
value :REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED, 0
|
43
|
+
value :REDIRECT_HTTP_RESPONSE_CODE_301, 1
|
44
|
+
value :REDIRECT_HTTP_RESPONSE_CODE_302, 2
|
45
|
+
value :REDIRECT_HTTP_RESPONSE_CODE_303, 3
|
46
|
+
value :REDIRECT_HTTP_RESPONSE_CODE_307, 4
|
47
|
+
end
|
48
|
+
add_message "google.appengine.v1.StaticFilesHandler" do
|
49
|
+
optional :path, :string, 1
|
50
|
+
optional :upload_path_regex, :string, 2
|
51
|
+
map :http_headers, :string, :string, 3
|
52
|
+
optional :mime_type, :string, 4
|
53
|
+
optional :expiration, :message, 5, "google.protobuf.Duration"
|
54
|
+
optional :require_matching_file, :bool, 6
|
55
|
+
optional :application_readable, :bool, 7
|
56
|
+
end
|
57
|
+
add_message "google.appengine.v1.ScriptHandler" do
|
58
|
+
optional :script_path, :string, 1
|
59
|
+
end
|
60
|
+
add_message "google.appengine.v1.ApiEndpointHandler" do
|
61
|
+
optional :script_path, :string, 1
|
62
|
+
end
|
63
|
+
add_message "google.appengine.v1.HealthCheck" do
|
64
|
+
optional :disable_health_check, :bool, 1
|
65
|
+
optional :host, :string, 2
|
66
|
+
optional :healthy_threshold, :uint32, 3
|
67
|
+
optional :unhealthy_threshold, :uint32, 4
|
68
|
+
optional :restart_threshold, :uint32, 5
|
69
|
+
optional :check_interval, :message, 6, "google.protobuf.Duration"
|
70
|
+
optional :timeout, :message, 7, "google.protobuf.Duration"
|
71
|
+
end
|
72
|
+
add_message "google.appengine.v1.ReadinessCheck" do
|
73
|
+
optional :path, :string, 1
|
74
|
+
optional :host, :string, 2
|
75
|
+
optional :failure_threshold, :uint32, 3
|
76
|
+
optional :success_threshold, :uint32, 4
|
77
|
+
optional :check_interval, :message, 5, "google.protobuf.Duration"
|
78
|
+
optional :timeout, :message, 6, "google.protobuf.Duration"
|
79
|
+
optional :app_start_timeout, :message, 7, "google.protobuf.Duration"
|
80
|
+
end
|
81
|
+
add_message "google.appengine.v1.LivenessCheck" do
|
82
|
+
optional :path, :string, 1
|
83
|
+
optional :host, :string, 2
|
84
|
+
optional :failure_threshold, :uint32, 3
|
85
|
+
optional :success_threshold, :uint32, 4
|
86
|
+
optional :check_interval, :message, 5, "google.protobuf.Duration"
|
87
|
+
optional :timeout, :message, 6, "google.protobuf.Duration"
|
88
|
+
optional :initial_delay, :message, 7, "google.protobuf.Duration"
|
89
|
+
end
|
90
|
+
add_message "google.appengine.v1.Library" do
|
91
|
+
optional :name, :string, 1
|
92
|
+
optional :version, :string, 2
|
93
|
+
end
|
94
|
+
add_enum "google.appengine.v1.AuthFailAction" do
|
95
|
+
value :AUTH_FAIL_ACTION_UNSPECIFIED, 0
|
96
|
+
value :AUTH_FAIL_ACTION_REDIRECT, 1
|
97
|
+
value :AUTH_FAIL_ACTION_UNAUTHORIZED, 2
|
98
|
+
end
|
99
|
+
add_enum "google.appengine.v1.LoginRequirement" do
|
100
|
+
value :LOGIN_UNSPECIFIED, 0
|
101
|
+
value :LOGIN_OPTIONAL, 1
|
102
|
+
value :LOGIN_ADMIN, 2
|
103
|
+
value :LOGIN_REQUIRED, 3
|
104
|
+
end
|
105
|
+
add_enum "google.appengine.v1.SecurityLevel" do
|
106
|
+
value :SECURE_UNSPECIFIED, 0
|
107
|
+
value :SECURE_DEFAULT, 0
|
108
|
+
value :SECURE_NEVER, 1
|
109
|
+
value :SECURE_OPTIONAL, 2
|
110
|
+
value :SECURE_ALWAYS, 3
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
module Google
|
116
|
+
module Cloud
|
117
|
+
module AppEngine
|
118
|
+
module V1
|
119
|
+
ApiConfigHandler = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ApiConfigHandler").msgclass
|
120
|
+
ErrorHandler = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ErrorHandler").msgclass
|
121
|
+
ErrorHandler::ErrorCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ErrorHandler.ErrorCode").enummodule
|
122
|
+
UrlMap = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.UrlMap").msgclass
|
123
|
+
UrlMap::RedirectHttpResponseCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.UrlMap.RedirectHttpResponseCode").enummodule
|
124
|
+
StaticFilesHandler = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.StaticFilesHandler").msgclass
|
125
|
+
ScriptHandler = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ScriptHandler").msgclass
|
126
|
+
ApiEndpointHandler = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ApiEndpointHandler").msgclass
|
127
|
+
HealthCheck = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.HealthCheck").msgclass
|
128
|
+
ReadinessCheck = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ReadinessCheck").msgclass
|
129
|
+
LivenessCheck = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.LivenessCheck").msgclass
|
130
|
+
Library = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.Library").msgclass
|
131
|
+
AuthFailAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.AuthFailAction").enummodule
|
132
|
+
LoginRequirement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.LoginRequirement").enummodule
|
133
|
+
SecurityLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.SecurityLevel").enummodule
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
@@ -0,0 +1,261 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/appengine/v1/appengine.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/appengine/v1/application_pb'
|
7
|
+
require 'google/appengine/v1/certificate_pb'
|
8
|
+
require 'google/appengine/v1/domain_pb'
|
9
|
+
require 'google/appengine/v1/domain_mapping_pb'
|
10
|
+
require 'google/appengine/v1/firewall_pb'
|
11
|
+
require 'google/appengine/v1/instance_pb'
|
12
|
+
require 'google/appengine/v1/version_pb'
|
13
|
+
require 'google/appengine/v1/service_pb'
|
14
|
+
require 'google/api/annotations_pb'
|
15
|
+
require 'google/longrunning/operations_pb'
|
16
|
+
require 'google/protobuf/empty_pb'
|
17
|
+
require 'google/protobuf/field_mask_pb'
|
18
|
+
require 'google/api/client_pb'
|
19
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
20
|
+
add_file("google/appengine/v1/appengine.proto", :syntax => :proto3) do
|
21
|
+
add_message "google.appengine.v1.GetApplicationRequest" do
|
22
|
+
optional :name, :string, 1
|
23
|
+
end
|
24
|
+
add_message "google.appengine.v1.CreateApplicationRequest" do
|
25
|
+
optional :application, :message, 2, "google.appengine.v1.Application"
|
26
|
+
end
|
27
|
+
add_message "google.appengine.v1.UpdateApplicationRequest" do
|
28
|
+
optional :name, :string, 1
|
29
|
+
optional :application, :message, 2, "google.appengine.v1.Application"
|
30
|
+
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
31
|
+
end
|
32
|
+
add_message "google.appengine.v1.RepairApplicationRequest" do
|
33
|
+
optional :name, :string, 1
|
34
|
+
end
|
35
|
+
add_message "google.appengine.v1.ListServicesRequest" do
|
36
|
+
optional :parent, :string, 1
|
37
|
+
optional :page_size, :int32, 2
|
38
|
+
optional :page_token, :string, 3
|
39
|
+
end
|
40
|
+
add_message "google.appengine.v1.ListServicesResponse" do
|
41
|
+
repeated :services, :message, 1, "google.appengine.v1.Service"
|
42
|
+
optional :next_page_token, :string, 2
|
43
|
+
end
|
44
|
+
add_message "google.appengine.v1.GetServiceRequest" do
|
45
|
+
optional :name, :string, 1
|
46
|
+
end
|
47
|
+
add_message "google.appengine.v1.UpdateServiceRequest" do
|
48
|
+
optional :name, :string, 1
|
49
|
+
optional :service, :message, 2, "google.appengine.v1.Service"
|
50
|
+
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
51
|
+
optional :migrate_traffic, :bool, 4
|
52
|
+
end
|
53
|
+
add_message "google.appengine.v1.DeleteServiceRequest" do
|
54
|
+
optional :name, :string, 1
|
55
|
+
end
|
56
|
+
add_message "google.appengine.v1.ListVersionsRequest" do
|
57
|
+
optional :parent, :string, 1
|
58
|
+
optional :view, :enum, 2, "google.appengine.v1.VersionView"
|
59
|
+
optional :page_size, :int32, 3
|
60
|
+
optional :page_token, :string, 4
|
61
|
+
end
|
62
|
+
add_message "google.appengine.v1.ListVersionsResponse" do
|
63
|
+
repeated :versions, :message, 1, "google.appengine.v1.Version"
|
64
|
+
optional :next_page_token, :string, 2
|
65
|
+
end
|
66
|
+
add_message "google.appengine.v1.GetVersionRequest" do
|
67
|
+
optional :name, :string, 1
|
68
|
+
optional :view, :enum, 2, "google.appengine.v1.VersionView"
|
69
|
+
end
|
70
|
+
add_message "google.appengine.v1.CreateVersionRequest" do
|
71
|
+
optional :parent, :string, 1
|
72
|
+
optional :version, :message, 2, "google.appengine.v1.Version"
|
73
|
+
end
|
74
|
+
add_message "google.appengine.v1.UpdateVersionRequest" do
|
75
|
+
optional :name, :string, 1
|
76
|
+
optional :version, :message, 2, "google.appengine.v1.Version"
|
77
|
+
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
78
|
+
end
|
79
|
+
add_message "google.appengine.v1.DeleteVersionRequest" do
|
80
|
+
optional :name, :string, 1
|
81
|
+
end
|
82
|
+
add_message "google.appengine.v1.ListInstancesRequest" do
|
83
|
+
optional :parent, :string, 1
|
84
|
+
optional :page_size, :int32, 2
|
85
|
+
optional :page_token, :string, 3
|
86
|
+
end
|
87
|
+
add_message "google.appengine.v1.ListInstancesResponse" do
|
88
|
+
repeated :instances, :message, 1, "google.appengine.v1.Instance"
|
89
|
+
optional :next_page_token, :string, 2
|
90
|
+
end
|
91
|
+
add_message "google.appengine.v1.GetInstanceRequest" do
|
92
|
+
optional :name, :string, 1
|
93
|
+
end
|
94
|
+
add_message "google.appengine.v1.DeleteInstanceRequest" do
|
95
|
+
optional :name, :string, 1
|
96
|
+
end
|
97
|
+
add_message "google.appengine.v1.DebugInstanceRequest" do
|
98
|
+
optional :name, :string, 1
|
99
|
+
optional :ssh_key, :string, 2
|
100
|
+
end
|
101
|
+
add_message "google.appengine.v1.ListIngressRulesRequest" do
|
102
|
+
optional :parent, :string, 1
|
103
|
+
optional :page_size, :int32, 2
|
104
|
+
optional :page_token, :string, 3
|
105
|
+
optional :matching_address, :string, 4
|
106
|
+
end
|
107
|
+
add_message "google.appengine.v1.ListIngressRulesResponse" do
|
108
|
+
repeated :ingress_rules, :message, 1, "google.appengine.v1.FirewallRule"
|
109
|
+
optional :next_page_token, :string, 2
|
110
|
+
end
|
111
|
+
add_message "google.appengine.v1.BatchUpdateIngressRulesRequest" do
|
112
|
+
optional :name, :string, 1
|
113
|
+
repeated :ingress_rules, :message, 2, "google.appengine.v1.FirewallRule"
|
114
|
+
end
|
115
|
+
add_message "google.appengine.v1.BatchUpdateIngressRulesResponse" do
|
116
|
+
repeated :ingress_rules, :message, 1, "google.appengine.v1.FirewallRule"
|
117
|
+
end
|
118
|
+
add_message "google.appengine.v1.CreateIngressRuleRequest" do
|
119
|
+
optional :parent, :string, 1
|
120
|
+
optional :rule, :message, 2, "google.appengine.v1.FirewallRule"
|
121
|
+
end
|
122
|
+
add_message "google.appengine.v1.GetIngressRuleRequest" do
|
123
|
+
optional :name, :string, 1
|
124
|
+
end
|
125
|
+
add_message "google.appengine.v1.UpdateIngressRuleRequest" do
|
126
|
+
optional :name, :string, 1
|
127
|
+
optional :rule, :message, 2, "google.appengine.v1.FirewallRule"
|
128
|
+
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
129
|
+
end
|
130
|
+
add_message "google.appengine.v1.DeleteIngressRuleRequest" do
|
131
|
+
optional :name, :string, 1
|
132
|
+
end
|
133
|
+
add_message "google.appengine.v1.ListAuthorizedDomainsRequest" do
|
134
|
+
optional :parent, :string, 1
|
135
|
+
optional :page_size, :int32, 2
|
136
|
+
optional :page_token, :string, 3
|
137
|
+
end
|
138
|
+
add_message "google.appengine.v1.ListAuthorizedDomainsResponse" do
|
139
|
+
repeated :domains, :message, 1, "google.appengine.v1.AuthorizedDomain"
|
140
|
+
optional :next_page_token, :string, 2
|
141
|
+
end
|
142
|
+
add_message "google.appengine.v1.ListAuthorizedCertificatesRequest" do
|
143
|
+
optional :parent, :string, 1
|
144
|
+
optional :view, :enum, 4, "google.appengine.v1.AuthorizedCertificateView"
|
145
|
+
optional :page_size, :int32, 2
|
146
|
+
optional :page_token, :string, 3
|
147
|
+
end
|
148
|
+
add_message "google.appengine.v1.ListAuthorizedCertificatesResponse" do
|
149
|
+
repeated :certificates, :message, 1, "google.appengine.v1.AuthorizedCertificate"
|
150
|
+
optional :next_page_token, :string, 2
|
151
|
+
end
|
152
|
+
add_message "google.appengine.v1.GetAuthorizedCertificateRequest" do
|
153
|
+
optional :name, :string, 1
|
154
|
+
optional :view, :enum, 2, "google.appengine.v1.AuthorizedCertificateView"
|
155
|
+
end
|
156
|
+
add_message "google.appengine.v1.CreateAuthorizedCertificateRequest" do
|
157
|
+
optional :parent, :string, 1
|
158
|
+
optional :certificate, :message, 2, "google.appengine.v1.AuthorizedCertificate"
|
159
|
+
end
|
160
|
+
add_message "google.appengine.v1.UpdateAuthorizedCertificateRequest" do
|
161
|
+
optional :name, :string, 1
|
162
|
+
optional :certificate, :message, 2, "google.appengine.v1.AuthorizedCertificate"
|
163
|
+
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
164
|
+
end
|
165
|
+
add_message "google.appengine.v1.DeleteAuthorizedCertificateRequest" do
|
166
|
+
optional :name, :string, 1
|
167
|
+
end
|
168
|
+
add_message "google.appengine.v1.ListDomainMappingsRequest" do
|
169
|
+
optional :parent, :string, 1
|
170
|
+
optional :page_size, :int32, 2
|
171
|
+
optional :page_token, :string, 3
|
172
|
+
end
|
173
|
+
add_message "google.appengine.v1.ListDomainMappingsResponse" do
|
174
|
+
repeated :domain_mappings, :message, 1, "google.appengine.v1.DomainMapping"
|
175
|
+
optional :next_page_token, :string, 2
|
176
|
+
end
|
177
|
+
add_message "google.appengine.v1.GetDomainMappingRequest" do
|
178
|
+
optional :name, :string, 1
|
179
|
+
end
|
180
|
+
add_message "google.appengine.v1.CreateDomainMappingRequest" do
|
181
|
+
optional :parent, :string, 1
|
182
|
+
optional :domain_mapping, :message, 2, "google.appengine.v1.DomainMapping"
|
183
|
+
optional :override_strategy, :enum, 4, "google.appengine.v1.DomainOverrideStrategy"
|
184
|
+
end
|
185
|
+
add_message "google.appengine.v1.UpdateDomainMappingRequest" do
|
186
|
+
optional :name, :string, 1
|
187
|
+
optional :domain_mapping, :message, 2, "google.appengine.v1.DomainMapping"
|
188
|
+
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
189
|
+
end
|
190
|
+
add_message "google.appengine.v1.DeleteDomainMappingRequest" do
|
191
|
+
optional :name, :string, 1
|
192
|
+
end
|
193
|
+
add_enum "google.appengine.v1.VersionView" do
|
194
|
+
value :BASIC, 0
|
195
|
+
value :FULL, 1
|
196
|
+
end
|
197
|
+
add_enum "google.appengine.v1.AuthorizedCertificateView" do
|
198
|
+
value :BASIC_CERTIFICATE, 0
|
199
|
+
value :FULL_CERTIFICATE, 1
|
200
|
+
end
|
201
|
+
add_enum "google.appengine.v1.DomainOverrideStrategy" do
|
202
|
+
value :UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY, 0
|
203
|
+
value :STRICT, 1
|
204
|
+
value :OVERRIDE, 2
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
module Google
|
210
|
+
module Cloud
|
211
|
+
module AppEngine
|
212
|
+
module V1
|
213
|
+
GetApplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.GetApplicationRequest").msgclass
|
214
|
+
CreateApplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.CreateApplicationRequest").msgclass
|
215
|
+
UpdateApplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.UpdateApplicationRequest").msgclass
|
216
|
+
RepairApplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.RepairApplicationRequest").msgclass
|
217
|
+
ListServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListServicesRequest").msgclass
|
218
|
+
ListServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListServicesResponse").msgclass
|
219
|
+
GetServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.GetServiceRequest").msgclass
|
220
|
+
UpdateServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.UpdateServiceRequest").msgclass
|
221
|
+
DeleteServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.DeleteServiceRequest").msgclass
|
222
|
+
ListVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListVersionsRequest").msgclass
|
223
|
+
ListVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListVersionsResponse").msgclass
|
224
|
+
GetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.GetVersionRequest").msgclass
|
225
|
+
CreateVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.CreateVersionRequest").msgclass
|
226
|
+
UpdateVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.UpdateVersionRequest").msgclass
|
227
|
+
DeleteVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.DeleteVersionRequest").msgclass
|
228
|
+
ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListInstancesRequest").msgclass
|
229
|
+
ListInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListInstancesResponse").msgclass
|
230
|
+
GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.GetInstanceRequest").msgclass
|
231
|
+
DeleteInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.DeleteInstanceRequest").msgclass
|
232
|
+
DebugInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.DebugInstanceRequest").msgclass
|
233
|
+
ListIngressRulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListIngressRulesRequest").msgclass
|
234
|
+
ListIngressRulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListIngressRulesResponse").msgclass
|
235
|
+
BatchUpdateIngressRulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.BatchUpdateIngressRulesRequest").msgclass
|
236
|
+
BatchUpdateIngressRulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.BatchUpdateIngressRulesResponse").msgclass
|
237
|
+
CreateIngressRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.CreateIngressRuleRequest").msgclass
|
238
|
+
GetIngressRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.GetIngressRuleRequest").msgclass
|
239
|
+
UpdateIngressRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.UpdateIngressRuleRequest").msgclass
|
240
|
+
DeleteIngressRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.DeleteIngressRuleRequest").msgclass
|
241
|
+
ListAuthorizedDomainsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListAuthorizedDomainsRequest").msgclass
|
242
|
+
ListAuthorizedDomainsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListAuthorizedDomainsResponse").msgclass
|
243
|
+
ListAuthorizedCertificatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListAuthorizedCertificatesRequest").msgclass
|
244
|
+
ListAuthorizedCertificatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListAuthorizedCertificatesResponse").msgclass
|
245
|
+
GetAuthorizedCertificateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.GetAuthorizedCertificateRequest").msgclass
|
246
|
+
CreateAuthorizedCertificateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.CreateAuthorizedCertificateRequest").msgclass
|
247
|
+
UpdateAuthorizedCertificateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.UpdateAuthorizedCertificateRequest").msgclass
|
248
|
+
DeleteAuthorizedCertificateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.DeleteAuthorizedCertificateRequest").msgclass
|
249
|
+
ListDomainMappingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListDomainMappingsRequest").msgclass
|
250
|
+
ListDomainMappingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ListDomainMappingsResponse").msgclass
|
251
|
+
GetDomainMappingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.GetDomainMappingRequest").msgclass
|
252
|
+
CreateDomainMappingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.CreateDomainMappingRequest").msgclass
|
253
|
+
UpdateDomainMappingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.UpdateDomainMappingRequest").msgclass
|
254
|
+
DeleteDomainMappingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.DeleteDomainMappingRequest").msgclass
|
255
|
+
VersionView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.VersionView").enummodule
|
256
|
+
AuthorizedCertificateView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.AuthorizedCertificateView").enummodule
|
257
|
+
DomainOverrideStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.DomainOverrideStrategy").enummodule
|
258
|
+
end
|
259
|
+
end
|
260
|
+
end
|
261
|
+
end
|
@@ -0,0 +1,313 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/appengine/v1/appengine.proto for package 'Google.Cloud.AppEngine.V1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2020 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/appengine/v1/appengine_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module AppEngine
|
25
|
+
module V1
|
26
|
+
module Applications
|
27
|
+
# Manages App Engine applications.
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.appengine.v1.Applications'
|
35
|
+
|
36
|
+
# Gets information about an application.
|
37
|
+
rpc :GetApplication, ::Google::Cloud::AppEngine::V1::GetApplicationRequest, ::Google::Cloud::AppEngine::V1::Application
|
38
|
+
# Creates an App Engine application for a Google Cloud Platform project.
|
39
|
+
# Required fields:
|
40
|
+
#
|
41
|
+
# * `id` - The ID of the target Cloud Platform project.
|
42
|
+
# * *location* - The [region](https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.
|
43
|
+
#
|
44
|
+
# For more information about App Engine applications, see [Managing Projects, Applications, and Billing](https://cloud.google.com/appengine/docs/standard/python/console/).
|
45
|
+
rpc :CreateApplication, ::Google::Cloud::AppEngine::V1::CreateApplicationRequest, ::Google::Longrunning::Operation
|
46
|
+
# Updates the specified Application resource.
|
47
|
+
# You can update the following fields:
|
48
|
+
#
|
49
|
+
# * `auth_domain` - Google authentication domain for controlling user access to the application.
|
50
|
+
# * `default_cookie_expiration` - Cookie expiration policy for the application.
|
51
|
+
rpc :UpdateApplication, ::Google::Cloud::AppEngine::V1::UpdateApplicationRequest, ::Google::Longrunning::Operation
|
52
|
+
# Recreates the required App Engine features for the specified App Engine
|
53
|
+
# application, for example a Cloud Storage bucket or App Engine service
|
54
|
+
# account.
|
55
|
+
# Use this method if you receive an error message about a missing feature,
|
56
|
+
# for example, *Error retrieving the App Engine service account*.
|
57
|
+
# If you have deleted your App Engine service account, this will
|
58
|
+
# not be able to recreate it. Instead, you should attempt to use the
|
59
|
+
# IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D .
|
60
|
+
# If the deletion was recent, the numeric ID can be found in the Cloud
|
61
|
+
# Console Activity Log.
|
62
|
+
rpc :RepairApplication, ::Google::Cloud::AppEngine::V1::RepairApplicationRequest, ::Google::Longrunning::Operation
|
63
|
+
end
|
64
|
+
|
65
|
+
Stub = Service.rpc_stub_class
|
66
|
+
end
|
67
|
+
module Services
|
68
|
+
# Manages services of an application.
|
69
|
+
class Service
|
70
|
+
|
71
|
+
include GRPC::GenericService
|
72
|
+
|
73
|
+
self.marshal_class_method = :encode
|
74
|
+
self.unmarshal_class_method = :decode
|
75
|
+
self.service_name = 'google.appengine.v1.Services'
|
76
|
+
|
77
|
+
# Lists all the services in the application.
|
78
|
+
rpc :ListServices, ::Google::Cloud::AppEngine::V1::ListServicesRequest, ::Google::Cloud::AppEngine::V1::ListServicesResponse
|
79
|
+
# Gets the current configuration of the specified service.
|
80
|
+
rpc :GetService, ::Google::Cloud::AppEngine::V1::GetServiceRequest, ::Google::Cloud::AppEngine::V1::Service
|
81
|
+
# Updates the configuration of the specified service.
|
82
|
+
rpc :UpdateService, ::Google::Cloud::AppEngine::V1::UpdateServiceRequest, ::Google::Longrunning::Operation
|
83
|
+
# Deletes the specified service and all enclosed versions.
|
84
|
+
rpc :DeleteService, ::Google::Cloud::AppEngine::V1::DeleteServiceRequest, ::Google::Longrunning::Operation
|
85
|
+
end
|
86
|
+
|
87
|
+
Stub = Service.rpc_stub_class
|
88
|
+
end
|
89
|
+
module Versions
|
90
|
+
# Manages versions of a service.
|
91
|
+
class Service
|
92
|
+
|
93
|
+
include GRPC::GenericService
|
94
|
+
|
95
|
+
self.marshal_class_method = :encode
|
96
|
+
self.unmarshal_class_method = :decode
|
97
|
+
self.service_name = 'google.appengine.v1.Versions'
|
98
|
+
|
99
|
+
# Lists the versions of a service.
|
100
|
+
rpc :ListVersions, ::Google::Cloud::AppEngine::V1::ListVersionsRequest, ::Google::Cloud::AppEngine::V1::ListVersionsResponse
|
101
|
+
# Gets the specified Version resource.
|
102
|
+
# By default, only a `BASIC_VIEW` will be returned.
|
103
|
+
# Specify the `FULL_VIEW` parameter to get the full resource.
|
104
|
+
rpc :GetVersion, ::Google::Cloud::AppEngine::V1::GetVersionRequest, ::Google::Cloud::AppEngine::V1::Version
|
105
|
+
# Deploys code and resource files to a new version.
|
106
|
+
rpc :CreateVersion, ::Google::Cloud::AppEngine::V1::CreateVersionRequest, ::Google::Longrunning::Operation
|
107
|
+
# Updates the specified Version resource.
|
108
|
+
# You can specify the following fields depending on the App Engine
|
109
|
+
# environment and type of scaling that the version resource uses:
|
110
|
+
#
|
111
|
+
# **Standard environment**
|
112
|
+
#
|
113
|
+
# * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)
|
114
|
+
#
|
115
|
+
# *automatic scaling* in the standard environment:
|
116
|
+
#
|
117
|
+
# * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
|
118
|
+
# * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
|
119
|
+
# * [`automaticScaling.standard_scheduler_settings.max_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
|
120
|
+
# * [`automaticScaling.standard_scheduler_settings.min_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
|
121
|
+
# * [`automaticScaling.standard_scheduler_settings.target_cpu_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
|
122
|
+
# * [`automaticScaling.standard_scheduler_settings.target_throughput_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
|
123
|
+
#
|
124
|
+
# *basic scaling* or *manual scaling* in the standard environment:
|
125
|
+
#
|
126
|
+
# * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)
|
127
|
+
# * [`manual_scaling.instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
|
128
|
+
#
|
129
|
+
# **Flexible environment**
|
130
|
+
#
|
131
|
+
# * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)
|
132
|
+
#
|
133
|
+
# *automatic scaling* in the flexible environment:
|
134
|
+
#
|
135
|
+
# * [`automatic_scaling.min_total_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
|
136
|
+
# * [`automatic_scaling.max_total_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
|
137
|
+
# * [`automatic_scaling.cool_down_period_sec`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
|
138
|
+
# * [`automatic_scaling.cpu_utilization.target_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
|
139
|
+
#
|
140
|
+
# *manual scaling* in the flexible environment:
|
141
|
+
#
|
142
|
+
# * [`manual_scaling.instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
|
143
|
+
rpc :UpdateVersion, ::Google::Cloud::AppEngine::V1::UpdateVersionRequest, ::Google::Longrunning::Operation
|
144
|
+
# Deletes an existing Version resource.
|
145
|
+
rpc :DeleteVersion, ::Google::Cloud::AppEngine::V1::DeleteVersionRequest, ::Google::Longrunning::Operation
|
146
|
+
end
|
147
|
+
|
148
|
+
Stub = Service.rpc_stub_class
|
149
|
+
end
|
150
|
+
module Instances
|
151
|
+
# Manages instances of a version.
|
152
|
+
class Service
|
153
|
+
|
154
|
+
include GRPC::GenericService
|
155
|
+
|
156
|
+
self.marshal_class_method = :encode
|
157
|
+
self.unmarshal_class_method = :decode
|
158
|
+
self.service_name = 'google.appengine.v1.Instances'
|
159
|
+
|
160
|
+
# Lists the instances of a version.
|
161
|
+
#
|
162
|
+
# Tip: To aggregate details about instances over time, see the
|
163
|
+
# [Stackdriver Monitoring API](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
|
164
|
+
rpc :ListInstances, ::Google::Cloud::AppEngine::V1::ListInstancesRequest, ::Google::Cloud::AppEngine::V1::ListInstancesResponse
|
165
|
+
# Gets instance information.
|
166
|
+
rpc :GetInstance, ::Google::Cloud::AppEngine::V1::GetInstanceRequest, ::Google::Cloud::AppEngine::V1::Instance
|
167
|
+
# Stops a running instance.
|
168
|
+
#
|
169
|
+
# The instance might be automatically recreated based on the scaling settings
|
170
|
+
# of the version. For more information, see "How Instances are Managed"
|
171
|
+
# ([standard environment](https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) |
|
172
|
+
# [flexible environment](https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).
|
173
|
+
#
|
174
|
+
# To ensure that instances are not re-created and avoid getting billed, you
|
175
|
+
# can stop all instances within the target version by changing the serving
|
176
|
+
# status of the version to `STOPPED` with the
|
177
|
+
# [`apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch)
|
178
|
+
# method.
|
179
|
+
rpc :DeleteInstance, ::Google::Cloud::AppEngine::V1::DeleteInstanceRequest, ::Google::Longrunning::Operation
|
180
|
+
# Enables debugging on a VM instance. This allows you to use the SSH
|
181
|
+
# command to connect to the virtual machine where the instance lives.
|
182
|
+
# While in "debug mode", the instance continues to serve live traffic.
|
183
|
+
# You should delete the instance when you are done debugging and then
|
184
|
+
# allow the system to take over and determine if another instance
|
185
|
+
# should be started.
|
186
|
+
#
|
187
|
+
# Only applicable for instances in App Engine flexible environment.
|
188
|
+
rpc :DebugInstance, ::Google::Cloud::AppEngine::V1::DebugInstanceRequest, ::Google::Longrunning::Operation
|
189
|
+
end
|
190
|
+
|
191
|
+
Stub = Service.rpc_stub_class
|
192
|
+
end
|
193
|
+
module Firewall
|
194
|
+
# Firewall resources are used to define a collection of access control rules
|
195
|
+
# for an Application. Each rule is defined with a position which specifies
|
196
|
+
# the rule's order in the sequence of rules, an IP range to be matched against
|
197
|
+
# requests, and an action to take upon matching requests.
|
198
|
+
#
|
199
|
+
# Every request is evaluated against the Firewall rules in priority order.
|
200
|
+
# Processesing stops at the first rule which matches the request's IP address.
|
201
|
+
# A final rule always specifies an action that applies to all remaining
|
202
|
+
# IP addresses. The default final rule for a newly-created application will be
|
203
|
+
# set to "allow" if not otherwise specified by the user.
|
204
|
+
class Service
|
205
|
+
|
206
|
+
include GRPC::GenericService
|
207
|
+
|
208
|
+
self.marshal_class_method = :encode
|
209
|
+
self.unmarshal_class_method = :decode
|
210
|
+
self.service_name = 'google.appengine.v1.Firewall'
|
211
|
+
|
212
|
+
# Lists the firewall rules of an application.
|
213
|
+
rpc :ListIngressRules, ::Google::Cloud::AppEngine::V1::ListIngressRulesRequest, ::Google::Cloud::AppEngine::V1::ListIngressRulesResponse
|
214
|
+
# Replaces the entire firewall ruleset in one bulk operation. This overrides
|
215
|
+
# and replaces the rules of an existing firewall with the new rules.
|
216
|
+
#
|
217
|
+
# If the final rule does not match traffic with the '*' wildcard IP range,
|
218
|
+
# then an "allow all" rule is explicitly added to the end of the list.
|
219
|
+
rpc :BatchUpdateIngressRules, ::Google::Cloud::AppEngine::V1::BatchUpdateIngressRulesRequest, ::Google::Cloud::AppEngine::V1::BatchUpdateIngressRulesResponse
|
220
|
+
# Creates a firewall rule for the application.
|
221
|
+
rpc :CreateIngressRule, ::Google::Cloud::AppEngine::V1::CreateIngressRuleRequest, ::Google::Cloud::AppEngine::V1::FirewallRule
|
222
|
+
# Gets the specified firewall rule.
|
223
|
+
rpc :GetIngressRule, ::Google::Cloud::AppEngine::V1::GetIngressRuleRequest, ::Google::Cloud::AppEngine::V1::FirewallRule
|
224
|
+
# Updates the specified firewall rule.
|
225
|
+
rpc :UpdateIngressRule, ::Google::Cloud::AppEngine::V1::UpdateIngressRuleRequest, ::Google::Cloud::AppEngine::V1::FirewallRule
|
226
|
+
# Deletes the specified firewall rule.
|
227
|
+
rpc :DeleteIngressRule, ::Google::Cloud::AppEngine::V1::DeleteIngressRuleRequest, ::Google::Protobuf::Empty
|
228
|
+
end
|
229
|
+
|
230
|
+
Stub = Service.rpc_stub_class
|
231
|
+
end
|
232
|
+
module AuthorizedDomains
|
233
|
+
# Manages domains a user is authorized to administer. To authorize use of a
|
234
|
+
# domain, verify ownership via
|
235
|
+
# [Webmaster Central](https://www.google.com/webmasters/verification/home).
|
236
|
+
class Service
|
237
|
+
|
238
|
+
include GRPC::GenericService
|
239
|
+
|
240
|
+
self.marshal_class_method = :encode
|
241
|
+
self.unmarshal_class_method = :decode
|
242
|
+
self.service_name = 'google.appengine.v1.AuthorizedDomains'
|
243
|
+
|
244
|
+
# Lists all domains the user is authorized to administer.
|
245
|
+
rpc :ListAuthorizedDomains, ::Google::Cloud::AppEngine::V1::ListAuthorizedDomainsRequest, ::Google::Cloud::AppEngine::V1::ListAuthorizedDomainsResponse
|
246
|
+
end
|
247
|
+
|
248
|
+
Stub = Service.rpc_stub_class
|
249
|
+
end
|
250
|
+
module AuthorizedCertificates
|
251
|
+
# Manages SSL certificates a user is authorized to administer. A user can
|
252
|
+
# administer any SSL certificates applicable to their authorized domains.
|
253
|
+
class Service
|
254
|
+
|
255
|
+
include GRPC::GenericService
|
256
|
+
|
257
|
+
self.marshal_class_method = :encode
|
258
|
+
self.unmarshal_class_method = :decode
|
259
|
+
self.service_name = 'google.appengine.v1.AuthorizedCertificates'
|
260
|
+
|
261
|
+
# Lists all SSL certificates the user is authorized to administer.
|
262
|
+
rpc :ListAuthorizedCertificates, ::Google::Cloud::AppEngine::V1::ListAuthorizedCertificatesRequest, ::Google::Cloud::AppEngine::V1::ListAuthorizedCertificatesResponse
|
263
|
+
# Gets the specified SSL certificate.
|
264
|
+
rpc :GetAuthorizedCertificate, ::Google::Cloud::AppEngine::V1::GetAuthorizedCertificateRequest, ::Google::Cloud::AppEngine::V1::AuthorizedCertificate
|
265
|
+
# Uploads the specified SSL certificate.
|
266
|
+
rpc :CreateAuthorizedCertificate, ::Google::Cloud::AppEngine::V1::CreateAuthorizedCertificateRequest, ::Google::Cloud::AppEngine::V1::AuthorizedCertificate
|
267
|
+
# Updates the specified SSL certificate. To renew a certificate and maintain
|
268
|
+
# its existing domain mappings, update `certificate_data` with a new
|
269
|
+
# certificate. The new certificate must be applicable to the same domains as
|
270
|
+
# the original certificate. The certificate `display_name` may also be
|
271
|
+
# updated.
|
272
|
+
rpc :UpdateAuthorizedCertificate, ::Google::Cloud::AppEngine::V1::UpdateAuthorizedCertificateRequest, ::Google::Cloud::AppEngine::V1::AuthorizedCertificate
|
273
|
+
# Deletes the specified SSL certificate.
|
274
|
+
rpc :DeleteAuthorizedCertificate, ::Google::Cloud::AppEngine::V1::DeleteAuthorizedCertificateRequest, ::Google::Protobuf::Empty
|
275
|
+
end
|
276
|
+
|
277
|
+
Stub = Service.rpc_stub_class
|
278
|
+
end
|
279
|
+
module DomainMappings
|
280
|
+
# Manages domains serving an application.
|
281
|
+
class Service
|
282
|
+
|
283
|
+
include GRPC::GenericService
|
284
|
+
|
285
|
+
self.marshal_class_method = :encode
|
286
|
+
self.unmarshal_class_method = :decode
|
287
|
+
self.service_name = 'google.appengine.v1.DomainMappings'
|
288
|
+
|
289
|
+
# Lists the domain mappings on an application.
|
290
|
+
rpc :ListDomainMappings, ::Google::Cloud::AppEngine::V1::ListDomainMappingsRequest, ::Google::Cloud::AppEngine::V1::ListDomainMappingsResponse
|
291
|
+
# Gets the specified domain mapping.
|
292
|
+
rpc :GetDomainMapping, ::Google::Cloud::AppEngine::V1::GetDomainMappingRequest, ::Google::Cloud::AppEngine::V1::DomainMapping
|
293
|
+
# Maps a domain to an application. A user must be authorized to administer a
|
294
|
+
# domain in order to map it to an application. For a list of available
|
295
|
+
# authorized domains, see [`AuthorizedDomains.ListAuthorizedDomains`]().
|
296
|
+
rpc :CreateDomainMapping, ::Google::Cloud::AppEngine::V1::CreateDomainMappingRequest, ::Google::Longrunning::Operation
|
297
|
+
# Updates the specified domain mapping. To map an SSL certificate to a
|
298
|
+
# domain mapping, update `certificate_id` to point to an `AuthorizedCertificate`
|
299
|
+
# resource. A user must be authorized to administer the associated domain
|
300
|
+
# in order to update a `DomainMapping` resource.
|
301
|
+
rpc :UpdateDomainMapping, ::Google::Cloud::AppEngine::V1::UpdateDomainMappingRequest, ::Google::Longrunning::Operation
|
302
|
+
# Deletes the specified domain mapping. A user must be authorized to
|
303
|
+
# administer the associated domain in order to delete a `DomainMapping`
|
304
|
+
# resource.
|
305
|
+
rpc :DeleteDomainMapping, ::Google::Cloud::AppEngine::V1::DeleteDomainMappingRequest, ::Google::Longrunning::Operation
|
306
|
+
end
|
307
|
+
|
308
|
+
Stub = Service.rpc_stub_class
|
309
|
+
end
|
310
|
+
end
|
311
|
+
end
|
312
|
+
end
|
313
|
+
end
|