google-cloud-app_engine-v1 0.3.6 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 281cc2aeb4b7aefcaa7c1ad12e4be9bdedb4012875dcee443310927fb5a92a4f
4
- data.tar.gz: 6148ff21c2a53f3548b5877cbdc7d9ceebbb9dfc41e8257b0ca1137091ed7015
3
+ metadata.gz: 7f9797d574607a714ea224f8a2483665318d782ab07d910114c0078bfa875d6c
4
+ data.tar.gz: d7d1507344ee550e1ea4e4008692ed3dd7c5f826df61a5fc132130cd9fad2eba
5
5
  SHA512:
6
- metadata.gz: fad671146fc29f4e8f60b17ebcad89b3cadc2845db4124f89690dade7ce046fa1e0470902be6b4210ab612c8b44972aa78e3811fc0b8fda2ae5e495d3a58d3ff
7
- data.tar.gz: 7a7a10d8887074ea8ffdbf3780139e704cb4bdb939f296a6a3a498b6c97015dfc00319312a04bcfe07a52764dc29e927b0b3dc4c2c965268aa2f053a4459e267
6
+ metadata.gz: 356089c7071878807390fc36b4ef26f41b804a5eef3adaa62cd42f1819cb1f82243f6bf98638b9ae8b5a8629c72b22db361226d0fa4cc0132773b4ef4ab85fb6
7
+ data.tar.gz: 0f1c861423b8cfad127a04ee22cc987c1532c186cc7d6b3bfc3759f20a9910f6ce011711df621ecb3ce11ad9d112df05d6c39b7ea94acb23c7d68bab50b27c02
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/app_yaml.proto
3
3
 
4
- require 'google/protobuf/duration_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/protobuf/duration_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/appengine/v1/app_yaml.proto", :syntax => :proto3) do
9
10
  add_message "google.appengine.v1.ApiConfigHandler" do
@@ -1,20 +1,22 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/appengine.proto
3
3
 
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
8
+ require 'google/api/resource_pb'
4
9
  require 'google/appengine/v1/application_pb'
5
10
  require 'google/appengine/v1/certificate_pb'
6
11
  require 'google/appengine/v1/domain_pb'
7
12
  require 'google/appengine/v1/domain_mapping_pb'
8
13
  require 'google/appengine/v1/firewall_pb'
9
14
  require 'google/appengine/v1/instance_pb'
10
- require 'google/appengine/v1/version_pb'
11
15
  require 'google/appengine/v1/service_pb'
12
- require 'google/api/annotations_pb'
16
+ require 'google/appengine/v1/version_pb'
13
17
  require 'google/longrunning/operations_pb'
14
18
  require 'google/protobuf/empty_pb'
15
19
  require 'google/protobuf/field_mask_pb'
16
- require 'google/api/client_pb'
17
- require 'google/protobuf'
18
20
 
19
21
  Google::Protobuf::DescriptorPool.generated_pool.build do
20
22
  add_file("google/appengine/v1/appengine.proto", :syntax => :proto3) do
@@ -48,6 +48,7 @@ module Google
48
48
  #
49
49
  # * `auth_domain` - Google authentication domain for controlling user access to the application.
50
50
  # * `default_cookie_expiration` - Cookie expiration policy for the application.
51
+ # * `iap` - Identity-Aware Proxy properties for the application.
51
52
  rpc :UpdateApplication, ::Google::Cloud::AppEngine::V1::UpdateApplicationRequest, ::Google::Longrunning::Operation
52
53
  # Recreates the required App Engine features for the specified App Engine
53
54
  # application, for example a Cloud Storage bucket or App Engine service
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/application.proto
3
3
 
4
- require 'google/protobuf/duration_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/protobuf/duration_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/appengine/v1/application.proto", :syntax => :proto3) do
9
10
  add_message "google.appengine.v1.Application" do
@@ -17,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
17
18
  optional :serving_status, :enum, 10, "google.appengine.v1.Application.ServingStatus"
18
19
  optional :default_hostname, :string, 11
19
20
  optional :default_bucket, :string, 12
21
+ optional :service_account, :string, 13
20
22
  optional :iap, :message, 14, "google.appengine.v1.Application.IdentityAwareProxy"
21
23
  optional :gcr_domain, :string, 16
22
24
  optional :database_type, :enum, 17, "google.appengine.v1.Application.DatabaseType"
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/audit_data.proto
3
3
 
4
- require 'google/appengine/v1/appengine_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/appengine/v1/appengine_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/appengine/v1/audit_data.proto", :syntax => :proto3) do
9
10
  add_message "google.appengine.v1.AuditData" do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/certificate.proto
3
3
 
4
- require 'google/protobuf/timestamp_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/protobuf/timestamp_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/appengine/v1/certificate.proto", :syntax => :proto3) do
9
10
  add_message "google.appengine.v1.AuthorizedCertificate" do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/deploy.proto
3
3
 
4
- require 'google/protobuf/duration_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/protobuf/duration_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/appengine/v1/deploy.proto", :syntax => :proto3) do
9
10
  add_message "google.appengine.v1.Deployment" do
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/instance.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
8
  require 'google/protobuf/timestamp_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/appengine/v1/instance.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/location.proto
3
3
 
4
- require 'google/api/field_behavior_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/api/field_behavior_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/appengine/v1/location.proto", :syntax => :proto3) do
9
10
  add_message "google.appengine.v1.LocationMetadata" do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/operation.proto
3
3
 
4
- require 'google/protobuf/timestamp_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/protobuf/timestamp_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/appengine/v1/operation.proto", :syntax => :proto3) do
9
10
  add_message "google.appengine.v1.OperationMetadataV1" do
@@ -1,15 +1,17 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/service.proto
3
3
 
4
- require 'google/appengine/v1/network_settings_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/appengine/v1/network_settings_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/appengine/v1/service.proto", :syntax => :proto3) do
9
10
  add_message "google.appengine.v1.Service" do
10
11
  optional :name, :string, 1
11
12
  optional :id, :string, 2
12
13
  optional :split, :message, 3, "google.appengine.v1.TrafficSplit"
14
+ map :labels, :string, :string, 4
13
15
  optional :network_settings, :message, 6, "google.appengine.v1.NetworkSettings"
14
16
  end
15
17
  add_message "google.appengine.v1.TrafficSplit" do
@@ -1,11 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/appengine/v1/version.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/appengine/v1/app_yaml_pb'
5
7
  require 'google/appengine/v1/deploy_pb'
6
8
  require 'google/protobuf/duration_pb'
7
9
  require 'google/protobuf/timestamp_pb'
8
- require 'google/protobuf'
9
10
 
10
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
12
  add_file("google/appengine/v1/version.proto", :syntax => :proto3) do
@@ -21,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
21
22
  optional :runtime_channel, :string, 117
22
23
  optional :threadsafe, :bool, 11
23
24
  optional :vm, :bool, 12
25
+ optional :app_engine_apis, :bool, 128
24
26
  map :beta_settings, :string, :string, 13
25
27
  optional :env, :string, 14
26
28
  optional :serving_status, :enum, 15, "google.appengine.v1.ServingStatus"
@@ -132,6 +134,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
132
134
  end
133
135
  add_message "google.appengine.v1.VpcAccessConnector" do
134
136
  optional :name, :string, 1
137
+ optional :egress_setting, :enum, 2, "google.appengine.v1.VpcAccessConnector.EgressSetting"
138
+ end
139
+ add_enum "google.appengine.v1.VpcAccessConnector.EgressSetting" do
140
+ value :EGRESS_SETTING_UNSPECIFIED, 0
141
+ value :ALL_TRAFFIC, 1
142
+ value :PRIVATE_IP_RANGES, 2
135
143
  end
136
144
  add_message "google.appengine.v1.Entrypoint" do
137
145
  oneof :command do
@@ -176,6 +184,7 @@ module Google
176
184
  Volume = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.Volume").msgclass
177
185
  Resources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.Resources").msgclass
178
186
  VpcAccessConnector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.VpcAccessConnector").msgclass
187
+ VpcAccessConnector::EgressSetting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.VpcAccessConnector.EgressSetting").enummodule
179
188
  Entrypoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.Entrypoint").msgclass
180
189
  InboundServiceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.InboundServiceType").enummodule
181
190
  ServingStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.appengine.v1.ServingStatus").enummodule
@@ -337,6 +337,7 @@ module Google
337
337
  #
338
338
  # * `auth_domain` - Google authentication domain for controlling user access to the application.
339
339
  # * `default_cookie_expiration` - Cookie expiration policy for the application.
340
+ # * `iap` - Identity-Aware Proxy properties for the application.
340
341
  #
341
342
  # @overload update_application(request, options = nil)
342
343
  # Pass arguments to `update_application` via a request object, either of type
@@ -358,7 +359,7 @@ module Google
358
359
  # @param application [::Google::Cloud::AppEngine::V1::Application, ::Hash]
359
360
  # An Application containing the updated resource.
360
361
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
361
- # Standard field mask for the set of fields to be updated.
362
+ # Required. Standard field mask for the set of fields to be updated.
362
363
  #
363
364
  # @yield [response, operation] Access the result along with the RPC operation
364
365
  # @yieldparam response [::Gapic::Operation]
@@ -465,7 +465,7 @@ module Google
465
465
  # A domain mapping containing the updated resource. Only fields set
466
466
  # in the field mask will be updated.
467
467
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
468
- # Standard field mask for the set of fields to be updated.
468
+ # Required. Standard field mask for the set of fields to be updated.
469
469
  #
470
470
  # @yield [response, operation] Access the result along with the RPC operation
471
471
  # @yieldparam response [::Gapic::Operation]
@@ -360,7 +360,7 @@ module Google
360
360
  # A Service resource containing the updated service. Only fields set in the
361
361
  # field mask will be updated.
362
362
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
363
- # Standard field mask for the set of fields to be updated.
363
+ # Required. Standard field mask for the set of fields to be updated.
364
364
  # @param migrate_traffic [::Boolean]
365
365
  # Set to `true` to gradually shift traffic to one or more versions that you
366
366
  # specify. By default, traffic is shifted immediately.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AppEngine
23
23
  module V1
24
- VERSION = "0.3.6"
24
+ VERSION = "0.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -32,6 +32,8 @@ module Google
32
32
  ##
33
33
  # To load this package, including all its services, and instantiate a client:
34
34
  #
35
+ # @example
36
+ #
35
37
  # require "google/cloud/app_engine/v1"
36
38
  # client = ::Google::Cloud::AppEngine::V1::Applications::Client.new
37
39
  #
@@ -48,7 +48,7 @@ module Google
48
48
  # An Application containing the updated resource.
49
49
  # @!attribute [rw] update_mask
50
50
  # @return [::Google::Protobuf::FieldMask]
51
- # Standard field mask for the set of fields to be updated.
51
+ # Required. Standard field mask for the set of fields to be updated.
52
52
  class UpdateApplicationRequest
53
53
  include ::Google::Protobuf::MessageExts
54
54
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -109,7 +109,7 @@ module Google
109
109
  # field mask will be updated.
110
110
  # @!attribute [rw] update_mask
111
111
  # @return [::Google::Protobuf::FieldMask]
112
- # Standard field mask for the set of fields to be updated.
112
+ # Required. Standard field mask for the set of fields to be updated.
113
113
  # @!attribute [rw] migrate_traffic
114
114
  # @return [::Boolean]
115
115
  # Set to `true` to gradually shift traffic to one or more versions that you
@@ -576,7 +576,7 @@ module Google
576
576
  # in the field mask will be updated.
577
577
  # @!attribute [rw] update_mask
578
578
  # @return [::Google::Protobuf::FieldMask]
579
- # Standard field mask for the set of fields to be updated.
579
+ # Required. Standard field mask for the set of fields to be updated.
580
580
  class UpdateDomainMappingRequest
581
581
  include ::Google::Protobuf::MessageExts
582
582
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -72,6 +72,11 @@ module Google
72
72
  # @return [::String]
73
73
  # Google Cloud Storage bucket that can be used by this application to store
74
74
  # content.
75
+ # @!attribute [rw] service_account
76
+ # @return [::String]
77
+ # The service account associated with the application.
78
+ # This is the app-level default identity. If no identity provided during
79
+ # create version, Admin API will fallback to this one.
75
80
  # @!attribute [rw] iap
76
81
  # @return [::Google::Cloud::AppEngine::V1::Application::IdentityAwareProxy]
77
82
  # @!attribute [rw] gcr_domain
@@ -40,12 +40,34 @@ module Google
40
40
  # @return [::Google::Cloud::AppEngine::V1::TrafficSplit]
41
41
  # Mapping that defines fractional HTTP traffic diversion to
42
42
  # different versions within the service.
43
+ # @!attribute [rw] labels
44
+ # @return [::Google::Protobuf::Map{::String => ::String}]
45
+ # A set of labels to apply to this service. Labels are key/value pairs that
46
+ # describe the service and all resources that belong to it (e.g.,
47
+ # versions). The labels can be used to search and group resources, and are
48
+ # propagated to the usage and billing reports, enabling fine-grain analysis
49
+ # of costs. An example of using labels is to tag resources belonging to
50
+ # different environments (e.g., "env=prod", "env=qa").
51
+ #
52
+ # <p>Label keys and values can be no longer than 63 characters and can only
53
+ # contain lowercase letters, numeric characters, underscores, dashes, and
54
+ # international characters. Label keys must start with a lowercase letter
55
+ # or an international character. Each service can have at most 32 labels.
43
56
  # @!attribute [rw] network_settings
44
57
  # @return [::Google::Cloud::AppEngine::V1::NetworkSettings]
45
58
  # Ingress settings for this service. Will apply to all versions.
46
59
  class Service
47
60
  include ::Google::Protobuf::MessageExts
48
61
  extend ::Google::Protobuf::MessageExts::ClassMethods
62
+
63
+ # @!attribute [rw] key
64
+ # @return [::String]
65
+ # @!attribute [rw] value
66
+ # @return [::String]
67
+ class LabelsEntry
68
+ include ::Google::Protobuf::MessageExts
69
+ extend ::Google::Protobuf::MessageExts::ClassMethods
70
+ end
49
71
  end
50
72
 
51
73
  # Traffic routing configuration for versions within a single service. Traffic
@@ -86,6 +86,10 @@ module Google
86
86
  # @!attribute [rw] vm
87
87
  # @return [::Boolean]
88
88
  # Whether to deploy this version in a container on a virtual machine.
89
+ # @!attribute [rw] app_engine_apis
90
+ # @return [::Boolean]
91
+ # Allows App Engine second generation runtimes to access the legacy bundled
92
+ # services.
89
93
  # @!attribute [rw] beta_settings
90
94
  # @return [::Google::Protobuf::Map{::String => ::String}]
91
95
  # Metadata settings that are supplied to this version to enable
@@ -557,9 +561,27 @@ module Google
557
561
  # @return [::String]
558
562
  # Full Serverless VPC Access Connector name e.g.
559
563
  # /projects/my-project/locations/us-central1/connectors/c1.
564
+ # @!attribute [rw] egress_setting
565
+ # @return [::Google::Cloud::AppEngine::V1::VpcAccessConnector::EgressSetting]
566
+ # The egress setting for the connector, controlling what traffic is diverted
567
+ # through it.
560
568
  class VpcAccessConnector
561
569
  include ::Google::Protobuf::MessageExts
562
570
  extend ::Google::Protobuf::MessageExts::ClassMethods
571
+
572
+ # Available egress settings.
573
+ #
574
+ # This controls what traffic is diverted through the VPC Access Connector
575
+ # resource. By default PRIVATE_IP_RANGES will be used.
576
+ module EgressSetting
577
+ EGRESS_SETTING_UNSPECIFIED = 0
578
+
579
+ # Force the use of VPC Access for all egress traffic from the function.
580
+ ALL_TRAFFIC = 1
581
+
582
+ # Use the VPC Access Connector for private IP space from RFC1918.
583
+ PRIVATE_IP_RANGES = 2
584
+ end
563
585
  end
564
586
 
565
587
  # The entrypoint for the application.
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-app_engine-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-18 00:00:00.000000000 Z
11
+ date: 2022-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common