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,192 @@
|
|
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
|
+
# An Application resource contains the top-level configuration of an App
|
25
|
+
# Engine application.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Full path to the Application resource in the API.
|
29
|
+
# Example: `apps/myapp`.
|
30
|
+
# @!attribute [rw] id
|
31
|
+
# @return [::String]
|
32
|
+
# Identifier of the Application resource. This identifier is equivalent
|
33
|
+
# to the project ID of the Google Cloud Platform project where you want to
|
34
|
+
# deploy your application.
|
35
|
+
# Example: `myapp`.
|
36
|
+
# @!attribute [rw] dispatch_rules
|
37
|
+
# @return [::Array<::Google::Cloud::AppEngine::V1::UrlDispatchRule>]
|
38
|
+
# HTTP path dispatch rules for requests to the application that do not
|
39
|
+
# explicitly target a service or version. Rules are order-dependent.
|
40
|
+
# Up to 20 dispatch rules can be supported.
|
41
|
+
# @!attribute [rw] auth_domain
|
42
|
+
# @return [::String]
|
43
|
+
# Google Apps authentication domain that controls which users can access
|
44
|
+
# this application.
|
45
|
+
#
|
46
|
+
# Defaults to open access for any Google Account.
|
47
|
+
# @!attribute [rw] location_id
|
48
|
+
# @return [::String]
|
49
|
+
# Location from which this application runs. Application instances
|
50
|
+
# run out of the data centers in the specified location, which is also where
|
51
|
+
# all of the application's end user content is stored.
|
52
|
+
#
|
53
|
+
# Defaults to `us-central`.
|
54
|
+
#
|
55
|
+
# View the list of
|
56
|
+
# [supported locations](https://cloud.google.com/appengine/docs/locations).
|
57
|
+
# @!attribute [rw] code_bucket
|
58
|
+
# @return [::String]
|
59
|
+
# Google Cloud Storage bucket that can be used for storing files
|
60
|
+
# associated with this application. This bucket is associated with the
|
61
|
+
# application and can be used by the gcloud deployment commands.
|
62
|
+
# @!attribute [rw] default_cookie_expiration
|
63
|
+
# @return [::Google::Protobuf::Duration]
|
64
|
+
# Cookie expiration policy for this application.
|
65
|
+
# @!attribute [rw] serving_status
|
66
|
+
# @return [::Google::Cloud::AppEngine::V1::Application::ServingStatus]
|
67
|
+
# Serving status of this application.
|
68
|
+
# @!attribute [rw] default_hostname
|
69
|
+
# @return [::String]
|
70
|
+
# Hostname used to reach this application, as resolved by App Engine.
|
71
|
+
# @!attribute [rw] default_bucket
|
72
|
+
# @return [::String]
|
73
|
+
# Google Cloud Storage bucket that can be used by this application to store
|
74
|
+
# content.
|
75
|
+
# @!attribute [rw] iap
|
76
|
+
# @return [::Google::Cloud::AppEngine::V1::Application::IdentityAwareProxy]
|
77
|
+
# @!attribute [rw] gcr_domain
|
78
|
+
# @return [::String]
|
79
|
+
# The Google Container Registry domain used for storing managed build docker
|
80
|
+
# images for this application.
|
81
|
+
# @!attribute [rw] database_type
|
82
|
+
# @return [::Google::Cloud::AppEngine::V1::Application::DatabaseType]
|
83
|
+
# The type of the Cloud Firestore or Cloud Datastore database associated with
|
84
|
+
# this application.
|
85
|
+
# @!attribute [rw] feature_settings
|
86
|
+
# @return [::Google::Cloud::AppEngine::V1::Application::FeatureSettings]
|
87
|
+
# The feature specific settings to be used in the application.
|
88
|
+
class Application
|
89
|
+
include ::Google::Protobuf::MessageExts
|
90
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
91
|
+
|
92
|
+
# Identity-Aware Proxy
|
93
|
+
# @!attribute [rw] enabled
|
94
|
+
# @return [::Boolean]
|
95
|
+
# Whether the serving infrastructure will authenticate and
|
96
|
+
# authorize all incoming requests.
|
97
|
+
#
|
98
|
+
# If true, the `oauth2_client_id` and `oauth2_client_secret`
|
99
|
+
# fields must be non-empty.
|
100
|
+
# @!attribute [rw] oauth2_client_id
|
101
|
+
# @return [::String]
|
102
|
+
# OAuth2 client ID to use for the authentication flow.
|
103
|
+
# @!attribute [rw] oauth2_client_secret
|
104
|
+
# @return [::String]
|
105
|
+
# OAuth2 client secret to use for the authentication flow.
|
106
|
+
#
|
107
|
+
# For security reasons, this value cannot be retrieved via the API.
|
108
|
+
# Instead, the SHA-256 hash of the value is returned in the
|
109
|
+
# `oauth2_client_secret_sha256` field.
|
110
|
+
# @!attribute [rw] oauth2_client_secret_sha256
|
111
|
+
# @return [::String]
|
112
|
+
# Hex-encoded SHA-256 hash of the client secret.
|
113
|
+
class IdentityAwareProxy
|
114
|
+
include ::Google::Protobuf::MessageExts
|
115
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
116
|
+
end
|
117
|
+
|
118
|
+
# The feature specific settings to be used in the application. These define
|
119
|
+
# behaviors that are user configurable.
|
120
|
+
# @!attribute [rw] split_health_checks
|
121
|
+
# @return [::Boolean]
|
122
|
+
# Boolean value indicating if split health checks should be used instead
|
123
|
+
# of the legacy health checks. At an app.yaml level, this means defaulting
|
124
|
+
# to 'readiness_check' and 'liveness_check' values instead of
|
125
|
+
# 'health_check' ones. Once the legacy 'health_check' behavior is
|
126
|
+
# deprecated, and this value is always true, this setting can
|
127
|
+
# be removed.
|
128
|
+
# @!attribute [rw] use_container_optimized_os
|
129
|
+
# @return [::Boolean]
|
130
|
+
# If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/)
|
131
|
+
# base image for VMs, rather than a base Debian image.
|
132
|
+
class FeatureSettings
|
133
|
+
include ::Google::Protobuf::MessageExts
|
134
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
135
|
+
end
|
136
|
+
|
137
|
+
module ServingStatus
|
138
|
+
# Serving status is unspecified.
|
139
|
+
UNSPECIFIED = 0
|
140
|
+
|
141
|
+
# Application is serving.
|
142
|
+
SERVING = 1
|
143
|
+
|
144
|
+
# Application has been disabled by the user.
|
145
|
+
USER_DISABLED = 2
|
146
|
+
|
147
|
+
# Application has been disabled by the system.
|
148
|
+
SYSTEM_DISABLED = 3
|
149
|
+
end
|
150
|
+
|
151
|
+
module DatabaseType
|
152
|
+
# Database type is unspecified.
|
153
|
+
DATABASE_TYPE_UNSPECIFIED = 0
|
154
|
+
|
155
|
+
# Cloud Datastore
|
156
|
+
CLOUD_DATASTORE = 1
|
157
|
+
|
158
|
+
# Cloud Firestore Native
|
159
|
+
CLOUD_FIRESTORE = 2
|
160
|
+
|
161
|
+
# Cloud Firestore in Datastore Mode
|
162
|
+
CLOUD_DATASTORE_COMPATIBILITY = 3
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
# Rules to match an HTTP request and dispatch that request to a service.
|
167
|
+
# @!attribute [rw] domain
|
168
|
+
# @return [::String]
|
169
|
+
# Domain name to match against. The wildcard "`*`" is supported if
|
170
|
+
# specified before a period: "`*.`".
|
171
|
+
#
|
172
|
+
# Defaults to matching all domains: "`*`".
|
173
|
+
# @!attribute [rw] path
|
174
|
+
# @return [::String]
|
175
|
+
# Pathname within the host. Must start with a "`/`". A
|
176
|
+
# single "`*`" can be included at the end of the path.
|
177
|
+
#
|
178
|
+
# The sum of the lengths of the domain and path may not
|
179
|
+
# exceed 100 characters.
|
180
|
+
# @!attribute [rw] service
|
181
|
+
# @return [::String]
|
182
|
+
# Resource ID of a service in this application that should
|
183
|
+
# serve the matched request. The service must already
|
184
|
+
# exist. Example: `default`.
|
185
|
+
class UrlDispatchRule
|
186
|
+
include ::Google::Protobuf::MessageExts
|
187
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
@@ -0,0 +1,56 @@
|
|
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
|
+
# App Engine admin service audit log.
|
25
|
+
# @!attribute [rw] update_service
|
26
|
+
# @return [::Google::Cloud::AppEngine::V1::UpdateServiceMethod]
|
27
|
+
# Detailed information about UpdateService call.
|
28
|
+
# @!attribute [rw] create_version
|
29
|
+
# @return [::Google::Cloud::AppEngine::V1::CreateVersionMethod]
|
30
|
+
# Detailed information about CreateVersion call.
|
31
|
+
class AuditData
|
32
|
+
include ::Google::Protobuf::MessageExts
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
|
+
end
|
35
|
+
|
36
|
+
# Detailed information about UpdateService call.
|
37
|
+
# @!attribute [rw] request
|
38
|
+
# @return [::Google::Cloud::AppEngine::V1::UpdateServiceRequest]
|
39
|
+
# Update service request.
|
40
|
+
class UpdateServiceMethod
|
41
|
+
include ::Google::Protobuf::MessageExts
|
42
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
43
|
+
end
|
44
|
+
|
45
|
+
# Detailed information about CreateVersion call.
|
46
|
+
# @!attribute [rw] request
|
47
|
+
# @return [::Google::Cloud::AppEngine::V1::CreateVersionRequest]
|
48
|
+
# Create version request.
|
49
|
+
class CreateVersionMethod
|
50
|
+
include ::Google::Protobuf::MessageExts
|
51
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,161 @@
|
|
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
|
+
# An SSL certificate that a user has been authorized to administer. A user
|
25
|
+
# is authorized to administer any certificate that applies to one of their
|
26
|
+
# authorized domains.
|
27
|
+
# @!attribute [rw] name
|
28
|
+
# @return [::String]
|
29
|
+
# Full path to the `AuthorizedCertificate` resource in the API. Example:
|
30
|
+
# `apps/myapp/authorizedCertificates/12345`.
|
31
|
+
# @!attribute [rw] id
|
32
|
+
# @return [::String]
|
33
|
+
# Relative name of the certificate. This is a unique value autogenerated
|
34
|
+
# on `AuthorizedCertificate` resource creation. Example: `12345`.
|
35
|
+
# @!attribute [rw] display_name
|
36
|
+
# @return [::String]
|
37
|
+
# The user-specified display name of the certificate. This is not
|
38
|
+
# guaranteed to be unique. Example: `My Certificate`.
|
39
|
+
# @!attribute [rw] domain_names
|
40
|
+
# @return [::Array<::String>]
|
41
|
+
# Topmost applicable domains of this certificate. This certificate
|
42
|
+
# applies to these domains and their subdomains. Example: `example.com`.
|
43
|
+
# @!attribute [rw] expire_time
|
44
|
+
# @return [::Google::Protobuf::Timestamp]
|
45
|
+
# The time when this certificate expires. To update the renewal time on this
|
46
|
+
# certificate, upload an SSL certificate with a different expiration time
|
47
|
+
# using [`AuthorizedCertificates.UpdateAuthorizedCertificate`]().
|
48
|
+
# @!attribute [rw] certificate_raw_data
|
49
|
+
# @return [::Google::Cloud::AppEngine::V1::CertificateRawData]
|
50
|
+
# The SSL certificate serving the `AuthorizedCertificate` resource. This
|
51
|
+
# must be obtained independently from a certificate authority.
|
52
|
+
# @!attribute [rw] managed_certificate
|
53
|
+
# @return [::Google::Cloud::AppEngine::V1::ManagedCertificate]
|
54
|
+
# Only applicable if this certificate is managed by App Engine. Managed
|
55
|
+
# certificates are tied to the lifecycle of a `DomainMapping` and cannot be
|
56
|
+
# updated or deleted via the `AuthorizedCertificates` API. If this
|
57
|
+
# certificate is manually administered by the user, this field will be empty.
|
58
|
+
# @!attribute [rw] visible_domain_mappings
|
59
|
+
# @return [::Array<::String>]
|
60
|
+
# The full paths to user visible Domain Mapping resources that have this
|
61
|
+
# certificate mapped. Example: `apps/myapp/domainMappings/example.com`.
|
62
|
+
#
|
63
|
+
# This may not represent the full list of mapped domain mappings if the user
|
64
|
+
# does not have `VIEWER` permissions on all of the applications that have
|
65
|
+
# this certificate mapped. See `domain_mappings_count` for a complete count.
|
66
|
+
#
|
67
|
+
# Only returned by `GET` or `LIST` requests when specifically requested by
|
68
|
+
# the `view=FULL_CERTIFICATE` option.
|
69
|
+
# @!attribute [rw] domain_mappings_count
|
70
|
+
# @return [::Integer]
|
71
|
+
# Aggregate count of the domain mappings with this certificate mapped. This
|
72
|
+
# count includes domain mappings on applications for which the user does not
|
73
|
+
# have `VIEWER` permissions.
|
74
|
+
#
|
75
|
+
# Only returned by `GET` or `LIST` requests when specifically requested by
|
76
|
+
# the `view=FULL_CERTIFICATE` option.
|
77
|
+
class AuthorizedCertificate
|
78
|
+
include ::Google::Protobuf::MessageExts
|
79
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
80
|
+
end
|
81
|
+
|
82
|
+
# An SSL certificate obtained from a certificate authority.
|
83
|
+
# @!attribute [rw] public_certificate
|
84
|
+
# @return [::String]
|
85
|
+
# PEM encoded x.509 public key certificate. This field is set once on
|
86
|
+
# certificate creation. Must include the header and footer. Example:
|
87
|
+
# <pre>
|
88
|
+
# -----BEGIN CERTIFICATE-----
|
89
|
+
# <certificate_value>
|
90
|
+
# -----END CERTIFICATE-----
|
91
|
+
# </pre>
|
92
|
+
# @!attribute [rw] private_key
|
93
|
+
# @return [::String]
|
94
|
+
# Unencrypted PEM encoded RSA private key. This field is set once on
|
95
|
+
# certificate creation and then encrypted. The key size must be 2048
|
96
|
+
# bits or fewer. Must include the header and footer. Example:
|
97
|
+
# <pre>
|
98
|
+
# -----BEGIN RSA PRIVATE KEY-----
|
99
|
+
# <unencrypted_key_value>
|
100
|
+
# -----END RSA PRIVATE KEY-----
|
101
|
+
# </pre>
|
102
|
+
class CertificateRawData
|
103
|
+
include ::Google::Protobuf::MessageExts
|
104
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
105
|
+
end
|
106
|
+
|
107
|
+
# A certificate managed by App Engine.
|
108
|
+
# @!attribute [rw] last_renewal_time
|
109
|
+
# @return [::Google::Protobuf::Timestamp]
|
110
|
+
# Time at which the certificate was last renewed. The renewal process is
|
111
|
+
# fully managed. Certificate renewal will automatically occur before the
|
112
|
+
# certificate expires. Renewal errors can be tracked via `ManagementStatus`.
|
113
|
+
# @!attribute [rw] status
|
114
|
+
# @return [::Google::Cloud::AppEngine::V1::ManagementStatus]
|
115
|
+
# Status of certificate management. Refers to the most recent certificate
|
116
|
+
# acquisition or renewal attempt.
|
117
|
+
class ManagedCertificate
|
118
|
+
include ::Google::Protobuf::MessageExts
|
119
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
120
|
+
end
|
121
|
+
|
122
|
+
# State of certificate management. Refers to the most recent certificate
|
123
|
+
# acquisition or renewal attempt.
|
124
|
+
module ManagementStatus
|
125
|
+
MANAGEMENT_STATUS_UNSPECIFIED = 0
|
126
|
+
|
127
|
+
# Certificate was successfully obtained and inserted into the serving
|
128
|
+
# system.
|
129
|
+
OK = 1
|
130
|
+
|
131
|
+
# Certificate is under active attempts to acquire or renew.
|
132
|
+
PENDING = 2
|
133
|
+
|
134
|
+
# Most recent renewal failed due to an invalid DNS setup and will be
|
135
|
+
# retried. Renewal attempts will continue to fail until the certificate
|
136
|
+
# domain's DNS configuration is fixed. The last successfully provisioned
|
137
|
+
# certificate may still be serving.
|
138
|
+
FAILED_RETRYING_NOT_VISIBLE = 4
|
139
|
+
|
140
|
+
# All renewal attempts have been exhausted, likely due to an invalid DNS
|
141
|
+
# setup.
|
142
|
+
FAILED_PERMANENT = 6
|
143
|
+
|
144
|
+
# Most recent renewal failed due to an explicit CAA record that does not
|
145
|
+
# include one of the in-use CAs (Google CA and Let's Encrypt). Renewals will
|
146
|
+
# continue to fail until the CAA is reconfigured. The last successfully
|
147
|
+
# provisioned certificate may still be serving.
|
148
|
+
FAILED_RETRYING_CAA_FORBIDDEN = 7
|
149
|
+
|
150
|
+
# Most recent renewal failed due to a CAA retrieval failure. This means that
|
151
|
+
# the domain's DNS provider does not properly handle CAA records, failing
|
152
|
+
# requests for CAA records when no CAA records are defined. Renewals will
|
153
|
+
# continue to fail until the DNS provider is changed or a CAA record is
|
154
|
+
# added for the given domain. The last successfully provisioned certificate
|
155
|
+
# may still be serving.
|
156
|
+
FAILED_RETRYING_CAA_CHECKING = 8
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
end
|
@@ -0,0 +1,130 @@
|
|
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
|
+
# Code and application artifacts used to deploy a version to App Engine.
|
25
|
+
# @!attribute [rw] files
|
26
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AppEngine::V1::FileInfo}]
|
27
|
+
# Manifest of the files stored in Google Cloud Storage that are included
|
28
|
+
# as part of this version. All files must be readable using the
|
29
|
+
# credentials supplied with this call.
|
30
|
+
# @!attribute [rw] container
|
31
|
+
# @return [::Google::Cloud::AppEngine::V1::ContainerInfo]
|
32
|
+
# The Docker image for the container that runs the version.
|
33
|
+
# Only applicable for instances running in the App Engine flexible environment.
|
34
|
+
# @!attribute [rw] zip
|
35
|
+
# @return [::Google::Cloud::AppEngine::V1::ZipInfo]
|
36
|
+
# The zip file for this deployment, if this is a zip deployment.
|
37
|
+
# @!attribute [rw] cloud_build_options
|
38
|
+
# @return [::Google::Cloud::AppEngine::V1::CloudBuildOptions]
|
39
|
+
# Options for any Google Cloud Build builds created as a part of this
|
40
|
+
# deployment.
|
41
|
+
#
|
42
|
+
# These options will only be used if a new build is created, such as when
|
43
|
+
# deploying to the App Engine flexible environment using files or zip.
|
44
|
+
class Deployment
|
45
|
+
include ::Google::Protobuf::MessageExts
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
47
|
+
|
48
|
+
# @!attribute [rw] key
|
49
|
+
# @return [::String]
|
50
|
+
# @!attribute [rw] value
|
51
|
+
# @return [::Google::Cloud::AppEngine::V1::FileInfo]
|
52
|
+
class FilesEntry
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# Single source file that is part of the version to be deployed. Each source
|
59
|
+
# file that is deployed must be specified separately.
|
60
|
+
# @!attribute [rw] source_url
|
61
|
+
# @return [::String]
|
62
|
+
# URL source to use to fetch this file. Must be a URL to a resource in
|
63
|
+
# Google Cloud Storage in the form
|
64
|
+
# 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
|
65
|
+
# @!attribute [rw] sha1_sum
|
66
|
+
# @return [::String]
|
67
|
+
# The SHA1 hash of the file, in hex.
|
68
|
+
# @!attribute [rw] mime_type
|
69
|
+
# @return [::String]
|
70
|
+
# The MIME type of the file.
|
71
|
+
#
|
72
|
+
# Defaults to the value from Google Cloud Storage.
|
73
|
+
class FileInfo
|
74
|
+
include ::Google::Protobuf::MessageExts
|
75
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
76
|
+
end
|
77
|
+
|
78
|
+
# Docker image that is used to create a container and start a VM instance for
|
79
|
+
# the version that you deploy. Only applicable for instances running in the App
|
80
|
+
# Engine flexible environment.
|
81
|
+
# @!attribute [rw] image
|
82
|
+
# @return [::String]
|
83
|
+
# URI to the hosted container image in Google Container Registry. The URI
|
84
|
+
# must be fully qualified and include a tag or digest.
|
85
|
+
# Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
|
86
|
+
class ContainerInfo
|
87
|
+
include ::Google::Protobuf::MessageExts
|
88
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
89
|
+
end
|
90
|
+
|
91
|
+
# Options for the build operations performed as a part of the version
|
92
|
+
# deployment. Only applicable for App Engine flexible environment when creating
|
93
|
+
# a version using source code directly.
|
94
|
+
# @!attribute [rw] app_yaml_path
|
95
|
+
# @return [::String]
|
96
|
+
# Path to the yaml file used in deployment, used to determine runtime
|
97
|
+
# configuration details.
|
98
|
+
#
|
99
|
+
# Required for flexible environment builds.
|
100
|
+
#
|
101
|
+
# See https://cloud.google.com/appengine/docs/standard/python/config/appref
|
102
|
+
# for more details.
|
103
|
+
# @!attribute [rw] cloud_build_timeout
|
104
|
+
# @return [::Google::Protobuf::Duration]
|
105
|
+
# The Cloud Build timeout used as part of any dependent builds performed by
|
106
|
+
# version creation. Defaults to 10 minutes.
|
107
|
+
class CloudBuildOptions
|
108
|
+
include ::Google::Protobuf::MessageExts
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
end
|
111
|
+
|
112
|
+
# The zip file information for a zip deployment.
|
113
|
+
# @!attribute [rw] source_url
|
114
|
+
# @return [::String]
|
115
|
+
# URL of the zip file to deploy from. Must be a URL to a resource in
|
116
|
+
# Google Cloud Storage in the form
|
117
|
+
# 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
|
118
|
+
# @!attribute [rw] files_count
|
119
|
+
# @return [::Integer]
|
120
|
+
# An estimate of the number of files in a zip for a zip deployment.
|
121
|
+
# If set, must be greater than or equal to the actual number of files.
|
122
|
+
# Used for optimizing performance; if not provided, deployment may be slow.
|
123
|
+
class ZipInfo
|
124
|
+
include ::Google::Protobuf::MessageExts
|
125
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|