google-apis-run_v1 0.26.0 → 0.29.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: cfd6c66b6e29e87895fa6e26a14c0b6e80d4349b5fcc9a577a0b4114ec6b0d10
4
- data.tar.gz: af6f1a815c20a869b04741c6be36dcc47f2e9621bce8ce09735e639e18bbd220
3
+ metadata.gz: 92a1fc50e93c239cecd7b9a7ed8f1da4828699b1a40e957a68a52248b2d26f86
4
+ data.tar.gz: 7dc9193c09761c0c285c08efbae673b394030b111198ee43ae7249b79280987c
5
5
  SHA512:
6
- metadata.gz: 81c7659ad2da6ae3984d039399a7245ae8814b11bf0ee2196436a5c7f15d16872e6a4325d093aeab12b84a4865f1aae733b446c240f60e03b08a9a086394457f
7
- data.tar.gz: 982404ab88222c45f56d9a16ade838fc1b0add143e2c3bd7151c1aac1ea3ab785cda71ba534e421db696dd2b3f67522d9f6d3bce916699b144703e523a8a27b6
6
+ metadata.gz: 721395c73ae92f864ffad914448f0f7773e822cd055454ef7320fe18317d12838e69fcae52fe91deca242ed776a0530ce88a0a39b4bffac9e7b0055a0788d3dc
7
+ data.tar.gz: d3d5edc6ab0049faabc91d2481396523e4906bdd31269395b28bfb2498dbf4ec5123cafd7cb025080a7da8b1ddd274a28518f508c05d7f826a2e26643aa5811d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.29.0 (2022-05-12)
4
+
5
+ * Regenerated from discovery document revision 20220506
6
+
7
+ ### v0.28.0 (2022-05-04)
8
+
9
+ * Regenerated from discovery document revision 20220429
10
+
11
+ ### v0.27.0 (2022-04-27)
12
+
13
+ * Regenerated from discovery document revision 20220422
14
+
3
15
  ### v0.26.0 (2022-04-13)
4
16
 
5
17
  * Regenerated from discovery document revision 20220408
@@ -54,8 +54,8 @@ module Google
54
54
  # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
55
55
  # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
56
56
  # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
57
- # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
58
- # DATA_WRITE logging.
57
+ # exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
58
+ # from DATA_WRITE logging.
59
59
  class AuditConfig
60
60
  include Google::Apis::Core::Hashable
61
61
 
@@ -653,32 +653,6 @@ module Google
653
653
  end
654
654
  end
655
655
 
656
- # ContainerStatus holds the information of container name and image digest value.
657
- class ContainerStatus
658
- include Google::Apis::Core::Hashable
659
-
660
- # ImageDigest holds the resolved digest for the image specified, regardless of
661
- # whether a tag or digest was originally specified in the Container object.
662
- # Corresponds to the JSON property `imageDigest`
663
- # @return [String]
664
- attr_accessor :image_digest
665
-
666
- # The name of the container, if specified.
667
- # Corresponds to the JSON property `name`
668
- # @return [String]
669
- attr_accessor :name
670
-
671
- def initialize(**args)
672
- update!(**args)
673
- end
674
-
675
- # Update properties of this object
676
- def update!(**args)
677
- @image_digest = args[:image_digest] if args.key?(:image_digest)
678
- @name = args[:name] if args.key?(:name)
679
- end
680
- end
681
-
682
656
  # Resource to hold the state and status of a user's domain mapping. NOTE: This
683
657
  # resource is currently in Beta.
684
658
  class DomainMapping
@@ -1213,6 +1187,34 @@ module Google
1213
1187
  end
1214
1188
  end
1215
1189
 
1190
+ # Not supported by Cloud Run GRPCAction describes an action involving a GRPC
1191
+ # port.
1192
+ class GrpcAction
1193
+ include Google::Apis::Core::Hashable
1194
+
1195
+ # Port number of the gRPC service. Number must be in the range 1 to 65535.
1196
+ # Corresponds to the JSON property `port`
1197
+ # @return [Fixnum]
1198
+ attr_accessor :port
1199
+
1200
+ # Service is the name of the service to place in the gRPC HealthCheckRequest (
1201
+ # see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this
1202
+ # is not specified, the default behavior is defined by gRPC.
1203
+ # Corresponds to the JSON property `service`
1204
+ # @return [String]
1205
+ attr_accessor :service
1206
+
1207
+ def initialize(**args)
1208
+ update!(**args)
1209
+ end
1210
+
1211
+ # Update properties of this object
1212
+ def update!(**args)
1213
+ @port = args[:port] if args.key?(:port)
1214
+ @service = args[:service] if args.key?(:service)
1215
+ end
1216
+ end
1217
+
1216
1218
  # Condition defines a generic condition for a Resource.
1217
1219
  class GoogleCloudRunV1Condition
1218
1220
  include Google::Apis::Core::Hashable
@@ -1453,13 +1455,6 @@ module Google
1453
1455
  # @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
1454
1456
  attr_accessor :conditions
1455
1457
 
1456
- # Status information for each of the specified containers. The status includes
1457
- # the resolved digest for specified images, which occurs during creation of the
1458
- # job.
1459
- # Corresponds to the JSON property `containerStatuses`
1460
- # @return [Array<Google::Apis::RunV1::ContainerStatus>]
1461
- attr_accessor :container_statuses
1462
-
1463
1458
  # Number of executions created for this job.
1464
1459
  # Corresponds to the JSON property `executionCount`
1465
1460
  # @return [Fixnum]
@@ -1483,7 +1478,6 @@ module Google
1483
1478
  # Update properties of this object
1484
1479
  def update!(**args)
1485
1480
  @conditions = args[:conditions] if args.key?(:conditions)
1486
- @container_statuses = args[:container_statuses] if args.key?(:container_statuses)
1487
1481
  @execution_count = args[:execution_count] if args.key?(:execution_count)
1488
1482
  @latest_created_execution = args[:latest_created_execution] if args.key?(:latest_created_execution)
1489
1483
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
@@ -2403,6 +2397,12 @@ module Google
2403
2397
  # @return [Fixnum]
2404
2398
  attr_accessor :failure_threshold
2405
2399
 
2400
+ # Not supported by Cloud Run GRPCAction describes an action involving a GRPC
2401
+ # port.
2402
+ # Corresponds to the JSON property `grpc`
2403
+ # @return [Google::Apis::RunV1::GrpcAction]
2404
+ attr_accessor :grpc
2405
+
2406
2406
  # Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
2407
2407
  # requests.
2408
2408
  # Corresponds to the JSON property `httpGet`
@@ -2453,6 +2453,7 @@ module Google
2453
2453
  def update!(**args)
2454
2454
  @exec = args[:exec] if args.key?(:exec)
2455
2455
  @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
2456
+ @grpc = args[:grpc] if args.key?(:grpc)
2456
2457
  @http_get = args[:http_get] if args.key?(:http_get)
2457
2458
  @initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
2458
2459
  @period_seconds = args[:period_seconds] if args.key?(:period_seconds)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1
18
18
  # Version of the google-apis-run_v1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220408"
25
+ REVISION = "20220506"
26
26
  end
27
27
  end
28
28
  end
@@ -100,12 +100,6 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class ContainerStatus
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
107
- end
108
-
109
103
  class DomainMapping
110
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
105
 
@@ -184,6 +178,12 @@ module Google
184
178
  include Google::Apis::Core::JsonObjectSupport
185
179
  end
186
180
 
181
+ class GrpcAction
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
187
  class GoogleCloudRunV1Condition
188
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
189
 
@@ -674,14 +674,6 @@ module Google
674
674
  end
675
675
  end
676
676
 
677
- class ContainerStatus
678
- # @private
679
- class Representation < Google::Apis::Core::JsonRepresentation
680
- property :image_digest, as: 'imageDigest'
681
- property :name, as: 'name'
682
- end
683
- end
684
-
685
677
  class DomainMapping
686
678
  # @private
687
679
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -825,6 +817,14 @@ module Google
825
817
  end
826
818
  end
827
819
 
820
+ class GrpcAction
821
+ # @private
822
+ class Representation < Google::Apis::Core::JsonRepresentation
823
+ property :port, as: 'port'
824
+ property :service, as: 'service'
825
+ end
826
+ end
827
+
828
828
  class GoogleCloudRunV1Condition
829
829
  # @private
830
830
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -892,8 +892,6 @@ module Google
892
892
  class Representation < Google::Apis::Core::JsonRepresentation
893
893
  collection :conditions, as: 'conditions', class: Google::Apis::RunV1::GoogleCloudRunV1Condition, decorator: Google::Apis::RunV1::GoogleCloudRunV1Condition::Representation
894
894
 
895
- collection :container_statuses, as: 'containerStatuses', class: Google::Apis::RunV1::ContainerStatus, decorator: Google::Apis::RunV1::ContainerStatus::Representation
896
-
897
895
  property :execution_count, as: 'executionCount'
898
896
  property :latest_created_execution, as: 'latestCreatedExecution', class: Google::Apis::RunV1::ExecutionReference, decorator: Google::Apis::RunV1::ExecutionReference::Representation
899
897
 
@@ -1111,6 +1109,8 @@ module Google
1111
1109
  property :exec, as: 'exec', class: Google::Apis::RunV1::ExecAction, decorator: Google::Apis::RunV1::ExecAction::Representation
1112
1110
 
1113
1111
  property :failure_threshold, as: 'failureThreshold'
1112
+ property :grpc, as: 'grpc', class: Google::Apis::RunV1::GrpcAction, decorator: Google::Apis::RunV1::GrpcAction::Representation
1113
+
1114
1114
  property :http_get, as: 'httpGet', class: Google::Apis::RunV1::HttpGetAction, decorator: Google::Apis::RunV1::HttpGetAction::Representation
1115
1115
 
1116
1116
  property :initial_delay_seconds, as: 'initialDelaySeconds'
@@ -955,15 +955,13 @@ module Google
955
955
 
956
956
  # Create a service.
957
957
  # @param [String] parent
958
- # LINT.IfChange() The namespace in which the service should be created. For
959
- # Cloud Run (fully managed), replace `namespace` with the project ID or number.
960
- # It takes the form namespaces/`namespace`. For example: namespaces/PROJECT_ID
958
+ # The namespace in which the service should be created. For Cloud Run (fully
959
+ # managed), replace `namespace` with the project ID or number. It takes the form
960
+ # namespaces/`namespace`. For example: namespaces/PROJECT_ID
961
961
  # @param [Google::Apis::RunV1::Service] service_object
962
962
  # @param [String] dry_run
963
963
  # Indicates that the server should validate the request and populate default
964
- # values without persisting the request. Supported values: `all` LINT.ThenChange(
965
- # //depot/google3/google/cloud/serverless/v1/internal_service.proto:
966
- # create_internal_service_request)
964
+ # values without persisting the request. Supported values: `all`
967
965
  # @param [String] fields
968
966
  # Selector specifying which fields to include in a partial response.
969
967
  # @param [String] quota_user
@@ -1137,15 +1135,13 @@ module Google
1137
1135
  # match the requested 'spec'. May provide metadata.resourceVersion to enforce
1138
1136
  # update from last read for optimistic concurrency control.
1139
1137
  # @param [String] name
1140
- # LINT.IfChange() The name of the service being replaced. For Cloud Run (fully
1141
- # managed), replace `namespace` with the project ID or number. It takes the form
1142
- # namespaces/`namespace`. For example: namespaces/PROJECT_ID
1138
+ # The name of the service being replaced. For Cloud Run (fully managed), replace
1139
+ # `namespace` with the project ID or number. It takes the form namespaces/`
1140
+ # namespace`. For example: namespaces/PROJECT_ID
1143
1141
  # @param [Google::Apis::RunV1::Service] service_object
1144
1142
  # @param [String] dry_run
1145
1143
  # Indicates that the server should validate the request and populate default
1146
- # values without persisting the request. Supported values: `all` LINT.ThenChange(
1147
- # //depot/google3/google/cloud/serverless/v1/internal_service.proto:
1148
- # replace_internal_service_request)
1144
+ # values without persisting the request. Supported values: `all`
1149
1145
  # @param [String] fields
1150
1146
  # Selector specifying which fields to include in a partial response.
1151
1147
  # @param [String] quota_user
@@ -1648,8 +1644,9 @@ module Google
1648
1644
  # Get the IAM Access Control policy currently in effect for the given job. This
1649
1645
  # result does not include any inherited policies.
1650
1646
  # @param [String] resource
1651
- # REQUIRED: The resource for which the policy is being requested. See the
1652
- # operation documentation for the appropriate value for this field.
1647
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1648
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1649
+ # appropriate value for this field.
1653
1650
  # @param [Fixnum] options_requested_policy_version
1654
1651
  # Optional. The maximum policy version that will be used to format the policy.
1655
1652
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -1692,8 +1689,9 @@ module Google
1692
1689
  # Sets the IAM Access control policy for the specified job. Overwrites any
1693
1690
  # existing policy.
1694
1691
  # @param [String] resource
1695
- # REQUIRED: The resource for which the policy is being specified. See the
1696
- # operation documentation for the appropriate value for this field.
1692
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1693
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1694
+ # appropriate value for this field.
1697
1695
  # @param [Google::Apis::RunV1::SetIamPolicyRequest] set_iam_policy_request_object
1698
1696
  # @param [String] fields
1699
1697
  # Selector specifying which fields to include in a partial response.
@@ -1727,8 +1725,9 @@ module Google
1727
1725
  # Returns permissions that a caller has on the specified job. There are no
1728
1726
  # permissions required for making this API call.
1729
1727
  # @param [String] resource
1730
- # REQUIRED: The resource for which the policy detail is being requested. See the
1731
- # operation documentation for the appropriate value for this field.
1728
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1729
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1730
+ # appropriate value for this field.
1732
1731
  # @param [Google::Apis::RunV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1733
1732
  # @param [String] fields
1734
1733
  # Selector specifying which fields to include in a partial response.
@@ -1988,15 +1987,13 @@ module Google
1988
1987
 
1989
1988
  # Create a service.
1990
1989
  # @param [String] parent
1991
- # LINT.IfChange() The namespace in which the service should be created. For
1992
- # Cloud Run (fully managed), replace `namespace` with the project ID or number.
1993
- # It takes the form namespaces/`namespace`. For example: namespaces/PROJECT_ID
1990
+ # The namespace in which the service should be created. For Cloud Run (fully
1991
+ # managed), replace `namespace` with the project ID or number. It takes the form
1992
+ # namespaces/`namespace`. For example: namespaces/PROJECT_ID
1994
1993
  # @param [Google::Apis::RunV1::Service] service_object
1995
1994
  # @param [String] dry_run
1996
1995
  # Indicates that the server should validate the request and populate default
1997
- # values without persisting the request. Supported values: `all` LINT.ThenChange(
1998
- # //depot/google3/google/cloud/serverless/v1/internal_service.proto:
1999
- # create_internal_service_request)
1996
+ # values without persisting the request. Supported values: `all`
2000
1997
  # @param [String] fields
2001
1998
  # Selector specifying which fields to include in a partial response.
2002
1999
  # @param [String] quota_user
@@ -2110,8 +2107,9 @@ module Google
2110
2107
  # Get the IAM Access Control policy currently in effect for the given Cloud Run
2111
2108
  # service. This result does not include any inherited policies.
2112
2109
  # @param [String] resource
2113
- # REQUIRED: The resource for which the policy is being requested. See the
2114
- # operation documentation for the appropriate value for this field.
2110
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
2111
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2112
+ # appropriate value for this field.
2115
2113
  # @param [Fixnum] options_requested_policy_version
2116
2114
  # Optional. The maximum policy version that will be used to format the policy.
2117
2115
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -2214,15 +2212,13 @@ module Google
2214
2212
  # match the requested 'spec'. May provide metadata.resourceVersion to enforce
2215
2213
  # update from last read for optimistic concurrency control.
2216
2214
  # @param [String] name
2217
- # LINT.IfChange() The name of the service being replaced. For Cloud Run (fully
2218
- # managed), replace `namespace` with the project ID or number. It takes the form
2219
- # namespaces/`namespace`. For example: namespaces/PROJECT_ID
2215
+ # The name of the service being replaced. For Cloud Run (fully managed), replace
2216
+ # `namespace` with the project ID or number. It takes the form namespaces/`
2217
+ # namespace`. For example: namespaces/PROJECT_ID
2220
2218
  # @param [Google::Apis::RunV1::Service] service_object
2221
2219
  # @param [String] dry_run
2222
2220
  # Indicates that the server should validate the request and populate default
2223
- # values without persisting the request. Supported values: `all` LINT.ThenChange(
2224
- # //depot/google3/google/cloud/serverless/v1/internal_service.proto:
2225
- # replace_internal_service_request)
2221
+ # values without persisting the request. Supported values: `all`
2226
2222
  # @param [String] fields
2227
2223
  # Selector specifying which fields to include in a partial response.
2228
2224
  # @param [String] quota_user
@@ -2256,8 +2252,9 @@ module Google
2256
2252
  # Sets the IAM Access control policy for the specified Service. Overwrites any
2257
2253
  # existing policy.
2258
2254
  # @param [String] resource
2259
- # REQUIRED: The resource for which the policy is being specified. See the
2260
- # operation documentation for the appropriate value for this field.
2255
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
2256
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2257
+ # appropriate value for this field.
2261
2258
  # @param [Google::Apis::RunV1::SetIamPolicyRequest] set_iam_policy_request_object
2262
2259
  # @param [String] fields
2263
2260
  # Selector specifying which fields to include in a partial response.
@@ -2291,8 +2288,9 @@ module Google
2291
2288
  # Returns permissions that a caller has on the specified Project. There are no
2292
2289
  # permissions required for making this API call.
2293
2290
  # @param [String] resource
2294
- # REQUIRED: The resource for which the policy detail is being requested. See the
2295
- # operation documentation for the appropriate value for this field.
2291
+ # REQUIRED: The resource for which the policy detail is being requested. See [
2292
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2293
+ # appropriate value for this field.
2296
2294
  # @param [Google::Apis::RunV1::TestIamPermissionsRequest] test_iam_permissions_request_object
2297
2295
  # @param [String] fields
2298
2296
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.29.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-04-18 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
63
63
  post_install_message:
64
64
  rdoc_options: []