google-cloud-run-v2 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/run/v2/condition_pb.rb +2 -1
  3. data/lib/google/cloud/run/v2/execution_services_pb.rb +2 -1
  4. data/lib/google/cloud/run/v2/executions/client.rb +13 -5
  5. data/lib/google/cloud/run/v2/executions/operations.rb +13 -5
  6. data/lib/google/cloud/run/v2/executions/rest/client.rb +13 -5
  7. data/lib/google/cloud/run/v2/executions/rest/operations.rb +13 -5
  8. data/lib/google/cloud/run/v2/job_pb.rb +2 -2
  9. data/lib/google/cloud/run/v2/job_services_pb.rb +1 -1
  10. data/lib/google/cloud/run/v2/jobs/client.rb +25 -13
  11. data/lib/google/cloud/run/v2/jobs/operations.rb +13 -5
  12. data/lib/google/cloud/run/v2/jobs/rest/client.rb +25 -13
  13. data/lib/google/cloud/run/v2/jobs/rest/operations.rb +13 -5
  14. data/lib/google/cloud/run/v2/k8s.min_pb.rb +1 -1
  15. data/lib/google/cloud/run/v2/revision_services_pb.rb +2 -1
  16. data/lib/google/cloud/run/v2/revision_template_pb.rb +1 -1
  17. data/lib/google/cloud/run/v2/revisions/client.rb +11 -4
  18. data/lib/google/cloud/run/v2/revisions/operations.rb +13 -5
  19. data/lib/google/cloud/run/v2/revisions/rest/client.rb +11 -4
  20. data/lib/google/cloud/run/v2/revisions/rest/operations.rb +13 -5
  21. data/lib/google/cloud/run/v2/service_pb.rb +3 -1
  22. data/lib/google/cloud/run/v2/service_services_pb.rb +1 -1
  23. data/lib/google/cloud/run/v2/services/client.rb +26 -13
  24. data/lib/google/cloud/run/v2/services/operations.rb +13 -5
  25. data/lib/google/cloud/run/v2/services/rest/client.rb +26 -13
  26. data/lib/google/cloud/run/v2/services/rest/operations.rb +13 -5
  27. data/lib/google/cloud/run/v2/task_template_pb.rb +2 -1
  28. data/lib/google/cloud/run/v2/tasks/client.rb +7 -2
  29. data/lib/google/cloud/run/v2/tasks/rest/client.rb +7 -2
  30. data/lib/google/cloud/run/v2/vendor_settings_pb.rb +2 -1
  31. data/lib/google/cloud/run/v2/version.rb +1 -1
  32. data/proto_docs/google/api/client.rb +4 -0
  33. data/proto_docs/google/cloud/run/v2/condition.rb +6 -6
  34. data/proto_docs/google/cloud/run/v2/job.rb +43 -4
  35. data/proto_docs/google/cloud/run/v2/k8s.min.rb +32 -30
  36. data/proto_docs/google/cloud/run/v2/revision_template.rb +21 -20
  37. data/proto_docs/google/cloud/run/v2/service.rb +16 -12
  38. data/proto_docs/google/cloud/run/v2/task_template.rb +13 -12
  39. data/proto_docs/google/cloud/run/v2/vendor_settings.rb +23 -17
  40. metadata +2 -2
@@ -32,12 +32,12 @@ module Google
32
32
  # visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
33
33
  # @!attribute [rw] egress
34
34
  # @return [::Google::Cloud::Run::V2::VpcAccess::VpcEgress]
35
- # Traffic VPC egress settings. If not provided, it defaults to
35
+ # Optional. Traffic VPC egress settings. If not provided, it defaults to
36
36
  # PRIVATE_RANGES_ONLY.
37
37
  # @!attribute [rw] network_interfaces
38
38
  # @return [::Array<::Google::Cloud::Run::V2::VpcAccess::NetworkInterface>]
39
- # Direct VPC egress settings. Currently only single network interface is
40
- # supported.
39
+ # Optional. Direct VPC egress settings. Currently only single network
40
+ # interface is supported.
41
41
  class VpcAccess
42
42
  include ::Google::Protobuf::MessageExts
43
43
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -45,21 +45,21 @@ module Google
45
45
  # Direct VPC egress settings.
46
46
  # @!attribute [rw] network
47
47
  # @return [::String]
48
- # The VPC network that the Cloud Run resource will be able to send traffic
49
- # to. At least one of network or subnetwork must be specified. If both
50
- # network and subnetwork are specified, the given VPC subnetwork must
51
- # belong to the given VPC network. If network is not specified, it will be
52
- # looked up from the subnetwork.
48
+ # Optional. The VPC network that the Cloud Run resource will be able to
49
+ # send traffic to. At least one of network or subnetwork must be specified.
50
+ # If both network and subnetwork are specified, the given VPC subnetwork
51
+ # must belong to the given VPC network. If network is not specified, it
52
+ # will be looked up from the subnetwork.
53
53
  # @!attribute [rw] subnetwork
54
54
  # @return [::String]
55
- # The VPC subnetwork that the Cloud Run resource will get IPs from. At
56
- # least one of network or subnetwork must be specified. If both
55
+ # Optional. The VPC subnetwork that the Cloud Run resource will get IPs
56
+ # from. At least one of network or subnetwork must be specified. If both
57
57
  # network and subnetwork are specified, the given VPC subnetwork must
58
58
  # belong to the given VPC network. If subnetwork is not specified, the
59
59
  # subnetwork with the same name with the network will be used.
60
60
  # @!attribute [rw] tags
61
61
  # @return [::Array<::String>]
62
- # Network tags applied to this Cloud Run resource.
62
+ # Optional. Network tags applied to this Cloud Run resource.
63
63
  class NetworkInterface
64
64
  include ::Google::Protobuf::MessageExts
65
65
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -81,11 +81,15 @@ module Google
81
81
  # Settings for Binary Authorization feature.
82
82
  # @!attribute [rw] use_default
83
83
  # @return [::Boolean]
84
- # If True, indicates to use the default project's binary authorization
85
- # policy. If False, binary authorization will be disabled.
84
+ # Optional. If True, indicates to use the default project's binary
85
+ # authorization policy. If False, binary authorization will be disabled.
86
+ # @!attribute [rw] policy
87
+ # @return [::String]
88
+ # Optional. The path to a binary authorization policy.
89
+ # Format: projects/\\{project}/platforms/cloudRun/\\{policy-name}
86
90
  # @!attribute [rw] breakglass_justification
87
91
  # @return [::String]
88
- # If present, indicates to use Breakglass using this justification.
92
+ # Optional. If present, indicates to use Breakglass using this justification.
89
93
  # If use_default is False, then it must be empty.
90
94
  # For more information on breakglass, see
91
95
  # https://cloud.google.com/binary-authorization/docs/using-breakglass
@@ -97,10 +101,12 @@ module Google
97
101
  # Settings for revision-level scaling settings.
98
102
  # @!attribute [rw] min_instance_count
99
103
  # @return [::Integer]
100
- # Minimum number of serving instances that this resource should have.
104
+ # Optional. Minimum number of serving instances that this resource should
105
+ # have.
101
106
  # @!attribute [rw] max_instance_count
102
107
  # @return [::Integer]
103
- # Maximum number of serving instances that this resource should have.
108
+ # Optional. Maximum number of serving instances that this resource should
109
+ # have.
104
110
  class RevisionScaling
105
111
  include ::Google::Protobuf::MessageExts
106
112
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -110,7 +116,7 @@ module Google
110
116
  # at the revision level.
111
117
  # @!attribute [rw] min_instance_count
112
118
  # @return [::Integer]
113
- # total min instances for the service. This number of instances is
119
+ # Optional. total min instances for the service. This number of instances is
114
120
  # divided among all revisions with specified traffic based on the percent
115
121
  # of traffic they are receiving. (BETA)
116
122
  class ServiceScaling
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-run-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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: 2024-03-06 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common