google-cloud-app_engine-v1 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,42 @@
|
|
|
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 domain that a user has been authorized to administer. To authorize use
|
|
25
|
+
# of a domain, verify ownership via
|
|
26
|
+
# [Webmaster Central](https://www.google.com/webmasters/verification/home).
|
|
27
|
+
# @!attribute [rw] name
|
|
28
|
+
# @return [::String]
|
|
29
|
+
# Full path to the `AuthorizedDomain` resource in the API. Example:
|
|
30
|
+
# `apps/myapp/authorizedDomains/example.com`.
|
|
31
|
+
# @!attribute [rw] id
|
|
32
|
+
# @return [::String]
|
|
33
|
+
# Fully qualified domain name of the domain authorized for use. Example:
|
|
34
|
+
# `example.com`.
|
|
35
|
+
class AuthorizedDomain
|
|
36
|
+
include ::Google::Protobuf::MessageExts
|
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,127 @@
|
|
|
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 domain serving an App Engine application.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Full path to the `DomainMapping` resource in the API. Example:
|
|
28
|
+
# `apps/myapp/domainMapping/example.com`.
|
|
29
|
+
# @!attribute [rw] id
|
|
30
|
+
# @return [::String]
|
|
31
|
+
# Relative name of the domain serving the application. Example:
|
|
32
|
+
# `example.com`.
|
|
33
|
+
# @!attribute [rw] ssl_settings
|
|
34
|
+
# @return [::Google::Cloud::AppEngine::V1::SslSettings]
|
|
35
|
+
# SSL configuration for this domain. If unconfigured, this domain will not
|
|
36
|
+
# serve with SSL.
|
|
37
|
+
# @!attribute [rw] resource_records
|
|
38
|
+
# @return [::Array<::Google::Cloud::AppEngine::V1::ResourceRecord>]
|
|
39
|
+
# The resource records required to configure this domain mapping. These
|
|
40
|
+
# records must be added to the domain's DNS configuration in order to
|
|
41
|
+
# serve the application via this domain mapping.
|
|
42
|
+
class DomainMapping
|
|
43
|
+
include ::Google::Protobuf::MessageExts
|
|
44
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# SSL configuration for a `DomainMapping` resource.
|
|
48
|
+
# @!attribute [rw] certificate_id
|
|
49
|
+
# @return [::String]
|
|
50
|
+
# ID of the `AuthorizedCertificate` resource configuring SSL for the
|
|
51
|
+
# application. Clearing this field will remove SSL support.
|
|
52
|
+
#
|
|
53
|
+
# By default, a managed certificate is automatically created for every
|
|
54
|
+
# domain mapping. To omit SSL support or to configure SSL manually, specify
|
|
55
|
+
# `SslManagementType.MANUAL` on a `CREATE` or `UPDATE` request. You must
|
|
56
|
+
# be authorized to administer the `AuthorizedCertificate` resource to
|
|
57
|
+
# manually map it to a `DomainMapping` resource.
|
|
58
|
+
# Example: `12345`.
|
|
59
|
+
# @!attribute [rw] ssl_management_type
|
|
60
|
+
# @return [::Google::Cloud::AppEngine::V1::SslSettings::SslManagementType]
|
|
61
|
+
# SSL management type for this domain. If `AUTOMATIC`, a managed certificate
|
|
62
|
+
# is automatically provisioned. If `MANUAL`, `certificate_id` must be
|
|
63
|
+
# manually specified in order to configure SSL for this domain.
|
|
64
|
+
# @!attribute [rw] pending_managed_certificate_id
|
|
65
|
+
# @return [::String]
|
|
66
|
+
# ID of the managed `AuthorizedCertificate` resource currently being
|
|
67
|
+
# provisioned, if applicable. Until the new managed certificate has been
|
|
68
|
+
# successfully provisioned, the previous SSL state will be preserved. Once
|
|
69
|
+
# the provisioning process completes, the `certificate_id` field will reflect
|
|
70
|
+
# the new managed certificate and this field will be left empty. To remove
|
|
71
|
+
# SSL support while there is still a pending managed certificate, clear the
|
|
72
|
+
# `certificate_id` field with an `UpdateDomainMappingRequest`.
|
|
73
|
+
class SslSettings
|
|
74
|
+
include ::Google::Protobuf::MessageExts
|
|
75
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
76
|
+
|
|
77
|
+
# The SSL management type for this domain.
|
|
78
|
+
module SslManagementType
|
|
79
|
+
# Defaults to `AUTOMATIC`.
|
|
80
|
+
SSL_MANAGEMENT_TYPE_UNSPECIFIED = 0
|
|
81
|
+
|
|
82
|
+
# SSL support for this domain is configured automatically. The mapped SSL
|
|
83
|
+
# certificate will be automatically renewed.
|
|
84
|
+
AUTOMATIC = 1
|
|
85
|
+
|
|
86
|
+
# SSL support for this domain is configured manually by the user. Either
|
|
87
|
+
# the domain has no SSL support or a user-obtained SSL certificate has been
|
|
88
|
+
# explictly mapped to this domain.
|
|
89
|
+
MANUAL = 2
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# A DNS resource record.
|
|
94
|
+
# @!attribute [rw] name
|
|
95
|
+
# @return [::String]
|
|
96
|
+
# Relative name of the object affected by this record. Only applicable for
|
|
97
|
+
# `CNAME` records. Example: 'www'.
|
|
98
|
+
# @!attribute [rw] rrdata
|
|
99
|
+
# @return [::String]
|
|
100
|
+
# Data for this record. Values vary by record type, as defined in RFC 1035
|
|
101
|
+
# (section 5) and RFC 1034 (section 3.6.1).
|
|
102
|
+
# @!attribute [rw] type
|
|
103
|
+
# @return [::Google::Cloud::AppEngine::V1::ResourceRecord::RecordType]
|
|
104
|
+
# Resource record type. Example: `AAAA`.
|
|
105
|
+
class ResourceRecord
|
|
106
|
+
include ::Google::Protobuf::MessageExts
|
|
107
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
108
|
+
|
|
109
|
+
# A resource record type.
|
|
110
|
+
module RecordType
|
|
111
|
+
# An unknown resource record.
|
|
112
|
+
RECORD_TYPE_UNSPECIFIED = 0
|
|
113
|
+
|
|
114
|
+
# An A resource record. Data is an IPv4 address.
|
|
115
|
+
A = 1
|
|
116
|
+
|
|
117
|
+
# An AAAA resource record. Data is an IPv6 address.
|
|
118
|
+
AAAA = 2
|
|
119
|
+
|
|
120
|
+
# A CNAME resource record. Data is a domain name to be aliased.
|
|
121
|
+
CNAME = 3
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
end
|
|
@@ -0,0 +1,72 @@
|
|
|
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 single firewall rule that is evaluated against incoming traffic
|
|
25
|
+
# and provides an action to take on matched requests.
|
|
26
|
+
# @!attribute [rw] priority
|
|
27
|
+
# @return [::Integer]
|
|
28
|
+
# A positive integer between [1, Int32.MaxValue-1] that defines the order of
|
|
29
|
+
# rule evaluation. Rules with the lowest priority are evaluated first.
|
|
30
|
+
#
|
|
31
|
+
# A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic
|
|
32
|
+
# when no previous rule matches. Only the action of this rule can be modified
|
|
33
|
+
# by the user.
|
|
34
|
+
# @!attribute [rw] action
|
|
35
|
+
# @return [::Google::Cloud::AppEngine::V1::FirewallRule::Action]
|
|
36
|
+
# The action to take on matched requests.
|
|
37
|
+
# @!attribute [rw] source_range
|
|
38
|
+
# @return [::String]
|
|
39
|
+
# IP address or range, defined using CIDR notation, of requests that this
|
|
40
|
+
# rule applies to. You can use the wildcard character "*" to match all IPs
|
|
41
|
+
# equivalent to "0/0" and "::/0" together.
|
|
42
|
+
# Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32`
|
|
43
|
+
# or `2001:0db8:0000:0042:0000:8a2e:0370:7334`.
|
|
44
|
+
#
|
|
45
|
+
#
|
|
46
|
+
# <p>Truncation will be silently performed on addresses which are not
|
|
47
|
+
# properly truncated. For example, `1.2.3.4/24` is accepted as the same
|
|
48
|
+
# address as `1.2.3.0/24`. Similarly, for IPv6, `2001:db8::1/32` is accepted
|
|
49
|
+
# as the same address as `2001:db8::/32`.
|
|
50
|
+
# @!attribute [rw] description
|
|
51
|
+
# @return [::String]
|
|
52
|
+
# An optional string description of this rule.
|
|
53
|
+
# This field has a maximum length of 100 characters.
|
|
54
|
+
class FirewallRule
|
|
55
|
+
include ::Google::Protobuf::MessageExts
|
|
56
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
57
|
+
|
|
58
|
+
# Available actions to take on matching requests.
|
|
59
|
+
module Action
|
|
60
|
+
UNSPECIFIED_ACTION = 0
|
|
61
|
+
|
|
62
|
+
# Matching requests are allowed.
|
|
63
|
+
ALLOW = 1
|
|
64
|
+
|
|
65
|
+
# Matching requests are denied.
|
|
66
|
+
DENY = 2
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
@@ -0,0 +1,98 @@
|
|
|
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 Instance resource is the computing unit that App Engine uses to
|
|
25
|
+
# automatically scale an application.
|
|
26
|
+
# @!attribute [rw] name
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Full path to the Instance resource in the API.
|
|
29
|
+
# Example: `apps/myapp/services/default/versions/v1/instances/instance-1`.
|
|
30
|
+
# @!attribute [rw] id
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Relative name of the instance within the version.
|
|
33
|
+
# Example: `instance-1`.
|
|
34
|
+
# @!attribute [rw] app_engine_release
|
|
35
|
+
# @return [::String]
|
|
36
|
+
# App Engine release this instance is running on.
|
|
37
|
+
# @!attribute [rw] availability
|
|
38
|
+
# @return [::Google::Cloud::AppEngine::V1::Instance::Availability]
|
|
39
|
+
# Availability of the instance.
|
|
40
|
+
# @!attribute [rw] vm_name
|
|
41
|
+
# @return [::String]
|
|
42
|
+
# Name of the virtual machine where this instance lives. Only applicable
|
|
43
|
+
# for instances in App Engine flexible environment.
|
|
44
|
+
# @!attribute [rw] vm_zone_name
|
|
45
|
+
# @return [::String]
|
|
46
|
+
# Zone where the virtual machine is located. Only applicable for instances
|
|
47
|
+
# in App Engine flexible environment.
|
|
48
|
+
# @!attribute [rw] vm_id
|
|
49
|
+
# @return [::String]
|
|
50
|
+
# Virtual machine ID of this instance. Only applicable for instances in
|
|
51
|
+
# App Engine flexible environment.
|
|
52
|
+
# @!attribute [rw] start_time
|
|
53
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
54
|
+
# Time that this instance was started.
|
|
55
|
+
# @!attribute [rw] requests
|
|
56
|
+
# @return [::Integer]
|
|
57
|
+
# Number of requests since this instance was started.
|
|
58
|
+
# @!attribute [rw] errors
|
|
59
|
+
# @return [::Integer]
|
|
60
|
+
# Number of errors since this instance was started.
|
|
61
|
+
# @!attribute [rw] qps
|
|
62
|
+
# @return [::Float]
|
|
63
|
+
# Average queries per second (QPS) over the last minute.
|
|
64
|
+
# @!attribute [rw] average_latency
|
|
65
|
+
# @return [::Integer]
|
|
66
|
+
# Average latency (ms) over the last minute.
|
|
67
|
+
# @!attribute [rw] memory_usage
|
|
68
|
+
# @return [::Integer]
|
|
69
|
+
# Total memory in use (bytes).
|
|
70
|
+
# @!attribute [rw] vm_status
|
|
71
|
+
# @return [::String]
|
|
72
|
+
# Status of the virtual machine where this instance lives. Only applicable
|
|
73
|
+
# for instances in App Engine flexible environment.
|
|
74
|
+
# @!attribute [rw] vm_debug_enabled
|
|
75
|
+
# @return [::Boolean]
|
|
76
|
+
# Whether this instance is in debug mode. Only applicable for instances in
|
|
77
|
+
# App Engine flexible environment.
|
|
78
|
+
# @!attribute [rw] vm_ip
|
|
79
|
+
# @return [::String]
|
|
80
|
+
# The IP address of this instance. Only applicable for instances in App
|
|
81
|
+
# Engine flexible environment.
|
|
82
|
+
class Instance
|
|
83
|
+
include ::Google::Protobuf::MessageExts
|
|
84
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
85
|
+
|
|
86
|
+
# Availability of the instance.
|
|
87
|
+
module Availability
|
|
88
|
+
UNSPECIFIED = 0
|
|
89
|
+
|
|
90
|
+
RESIDENT = 1
|
|
91
|
+
|
|
92
|
+
DYNAMIC = 2
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
# Metadata for the given [google.cloud.location.Location][google.cloud.location.Location].
|
|
25
|
+
# @!attribute [rw] standard_environment_available
|
|
26
|
+
# @return [::Boolean]
|
|
27
|
+
# App Engine standard environment is available in the given location.
|
|
28
|
+
# @!attribute [rw] flexible_environment_available
|
|
29
|
+
# @return [::Boolean]
|
|
30
|
+
# App Engine flexible environment is available in the given location.
|
|
31
|
+
class LocationMetadata
|
|
32
|
+
include ::Google::Protobuf::MessageExts
|
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
# Metadata for the given {::Google::Longrunning::Operation google.longrunning.Operation}.
|
|
25
|
+
# @!attribute [rw] method
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# API method that initiated this operation. Example:
|
|
28
|
+
# `google.appengine.v1.Versions.CreateVersion`.
|
|
29
|
+
# @!attribute [rw] insert_time
|
|
30
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
31
|
+
# Time that this operation was created.
|
|
32
|
+
# @!attribute [rw] end_time
|
|
33
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
34
|
+
# Time that this operation completed.
|
|
35
|
+
# @!attribute [rw] user
|
|
36
|
+
# @return [::String]
|
|
37
|
+
# User who requested this operation.
|
|
38
|
+
# @!attribute [rw] target
|
|
39
|
+
# @return [::String]
|
|
40
|
+
# Name of the resource that this operation is acting on. Example:
|
|
41
|
+
# `apps/myapp/services/default`.
|
|
42
|
+
# @!attribute [rw] ephemeral_message
|
|
43
|
+
# @return [::String]
|
|
44
|
+
# Ephemeral message that may change every time the operation is polled.
|
|
45
|
+
# @!attribute [rw] warning
|
|
46
|
+
# @return [::Array<::String>]
|
|
47
|
+
# Durable messages that persist on every operation poll.
|
|
48
|
+
# @!attribute [rw] create_version_metadata
|
|
49
|
+
# @return [::Google::Cloud::AppEngine::V1::CreateVersionMetadataV1]
|
|
50
|
+
class OperationMetadataV1
|
|
51
|
+
include ::Google::Protobuf::MessageExts
|
|
52
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Metadata for the given {::Google::Longrunning::Operation google.longrunning.Operation} during a
|
|
56
|
+
# {::Google::Cloud::AppEngine::V1::CreateVersionRequest google.appengine.v1.CreateVersionRequest}.
|
|
57
|
+
# @!attribute [rw] cloud_build_id
|
|
58
|
+
# @return [::String]
|
|
59
|
+
# The Cloud Build ID if one was created as part of the version create.
|
|
60
|
+
class CreateVersionMetadataV1
|
|
61
|
+
include ::Google::Protobuf::MessageExts
|
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|