google-apis-run_v2 0.83.0 → 0.84.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 221b4e62f94b980f746d010aa107b10a5b9ca59995649737da3f0004170010f5
4
- data.tar.gz: 50986189351793f5754709f17f5ccc20a17c44416085ec836574e092e39615d1
3
+ metadata.gz: 5d4d4ad187c70d07eb1e0ffc21dd6ca2ce665910e7335c3d4a44d1a1ec68383e
4
+ data.tar.gz: 306f4a87ed03a15d3b08223884ca1f622b70f8316649da1b8e6ce4d86e63dad6
5
5
  SHA512:
6
- metadata.gz: a4abbc67536502bb5a68b5142f560e27d413c698c369d7bb7bf5b79c4848eb7e1e0bbee560edf2d7779f5604d1471ace660d53b0d45ed0640e5c510e60fa4040
7
- data.tar.gz: 1645b283a0b193aa906fba991366206003e6a115a9c1ec810054094523b154dd8bd8647275b93841a9b5cfe73f7eb1eb677faba5799d02d382973e566198b438
6
+ metadata.gz: 2e2be3d6967de4257fc00880b1e45389f67d3970fde861520606bcb97f739c527365aaab350a2f3e26e28b403d220584324fd79718aee9c5d1dc81eeffbde7e3
7
+ data.tar.gz: a31507f8b2a9d6cb39ca6df790ad90cb88c34be62e8b6b5346fd285a0bd21b543c15b4dfa62749179fdd27450f4e5c4c20bb7f44018a7696a64b130c98a42310
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.84.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250314
6
+
3
7
  ### v0.83.0 (2025-03-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20250223
@@ -1953,6 +1953,13 @@ module Google
1953
1953
  # @return [Fixnum]
1954
1954
  attr_accessor :generation
1955
1955
 
1956
+ # Optional. Output only. True if GPU zonal redundancy is disabled on this
1957
+ # revision.
1958
+ # Corresponds to the JSON property `gpuZonalRedundancyDisabled`
1959
+ # @return [Boolean]
1960
+ attr_accessor :gpu_zonal_redundancy_disabled
1961
+ alias_method :gpu_zonal_redundancy_disabled?, :gpu_zonal_redundancy_disabled
1962
+
1956
1963
  # Output only. Unstructured key value map that can be used to organize and
1957
1964
  # categorize objects. User-provided labels are shared with Google's billing
1958
1965
  # system, so they can be used to filter, or break down billing charges by team,
@@ -2095,6 +2102,7 @@ module Google
2095
2102
  @execution_environment = args[:execution_environment] if args.key?(:execution_environment)
2096
2103
  @expire_time = args[:expire_time] if args.key?(:expire_time)
2097
2104
  @generation = args[:generation] if args.key?(:generation)
2105
+ @gpu_zonal_redundancy_disabled = args[:gpu_zonal_redundancy_disabled] if args.key?(:gpu_zonal_redundancy_disabled)
2098
2106
  @labels = args[:labels] if args.key?(:labels)
2099
2107
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
2100
2108
  @log_uri = args[:log_uri] if args.key?(:log_uri)
@@ -2210,6 +2218,12 @@ module Google
2210
2218
  # @return [String]
2211
2219
  attr_accessor :execution_environment
2212
2220
 
2221
+ # Optional. True if GPU zonal redundancy is disabled on this revision.
2222
+ # Corresponds to the JSON property `gpuZonalRedundancyDisabled`
2223
+ # @return [Boolean]
2224
+ attr_accessor :gpu_zonal_redundancy_disabled
2225
+ alias_method :gpu_zonal_redundancy_disabled?, :gpu_zonal_redundancy_disabled
2226
+
2213
2227
  # Optional. Disables health checking containers during deployment.
2214
2228
  # Corresponds to the JSON property `healthCheckDisabled`
2215
2229
  # @return [Boolean]
@@ -2300,6 +2314,7 @@ module Google
2300
2314
  @encryption_key_revocation_action = args[:encryption_key_revocation_action] if args.key?(:encryption_key_revocation_action)
2301
2315
  @encryption_key_shutdown_duration = args[:encryption_key_shutdown_duration] if args.key?(:encryption_key_shutdown_duration)
2302
2316
  @execution_environment = args[:execution_environment] if args.key?(:execution_environment)
2317
+ @gpu_zonal_redundancy_disabled = args[:gpu_zonal_redundancy_disabled] if args.key?(:gpu_zonal_redundancy_disabled)
2303
2318
  @health_check_disabled = args[:health_check_disabled] if args.key?(:health_check_disabled)
2304
2319
  @labels = args[:labels] if args.key?(:labels)
2305
2320
  @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
@@ -6536,7 +6551,7 @@ module Google
6536
6551
  end
6537
6552
  end
6538
6553
 
6539
- # This is proto2's version of MessageSet.
6554
+ #
6540
6555
  class Proto2BridgeMessageSet
6541
6556
  include Google::Apis::Core::Hashable
6542
6557
 
@@ -6553,10 +6568,8 @@ module Google
6553
6568
  class UtilStatusProto
6554
6569
  include Google::Apis::Core::Hashable
6555
6570
 
6556
- # The canonical error code (see codes.proto) that most closely corresponds to
6557
- # this status. This may be missing, and in the common case of the generic space,
6558
- # it definitely will be. copybara:strip_begin(b/383363683) copybara:
6559
- # strip_end_and_replace optional int32 canonical_code = 6;
6571
+ # copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
6572
+ # int32 canonical_code = 6;
6560
6573
  # Corresponds to the JSON property `canonicalCode`
6561
6574
  # @return [Fixnum]
6562
6575
  attr_accessor :canonical_code
@@ -6575,14 +6588,16 @@ module Google
6575
6588
  # @return [String]
6576
6589
  attr_accessor :message
6577
6590
 
6578
- # This is proto2's version of MessageSet.
6591
+ # message_set associates an arbitrary proto message with the status. copybara:
6592
+ # strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.
6593
+ # MessageSet message_set = 5;
6579
6594
  # Corresponds to the JSON property `messageSet`
6580
6595
  # @return [Google::Apis::RunV2::Proto2BridgeMessageSet]
6581
6596
  attr_accessor :message_set
6582
6597
 
6583
- # The following are usually only present when code != 0 Space to which this
6584
- # status belongs copybara:strip_begin(b/383363683) copybara:
6585
- # strip_end_and_replace optional string space = 2;
6598
+ # copybara:strip_begin(b/383363683) Space to which this status belongs copybara:
6599
+ # strip_end_and_replace optional string space = 2; // Space to which this status
6600
+ # belongs
6586
6601
  # Corresponds to the JSON property `space`
6587
6602
  # @return [String]
6588
6603
  attr_accessor :space
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV2
18
18
  # Version of the google-apis-run_v2 gem
19
- GEM_VERSION = "0.83.0"
19
+ GEM_VERSION = "0.84.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250223"
25
+ REVISION = "20250314"
26
26
  end
27
27
  end
28
28
  end
@@ -1247,6 +1247,7 @@ module Google
1247
1247
  property :execution_environment, as: 'executionEnvironment'
1248
1248
  property :expire_time, as: 'expireTime'
1249
1249
  property :generation, :numeric_string => true, as: 'generation'
1250
+ property :gpu_zonal_redundancy_disabled, as: 'gpuZonalRedundancyDisabled'
1250
1251
  hash :labels, as: 'labels'
1251
1252
  property :launch_stage, as: 'launchStage'
1252
1253
  property :log_uri, as: 'logUri'
@@ -1301,6 +1302,7 @@ module Google
1301
1302
  property :encryption_key_revocation_action, as: 'encryptionKeyRevocationAction'
1302
1303
  property :encryption_key_shutdown_duration, as: 'encryptionKeyShutdownDuration'
1303
1304
  property :execution_environment, as: 'executionEnvironment'
1305
+ property :gpu_zonal_redundancy_disabled, as: 'gpuZonalRedundancyDisabled'
1304
1306
  property :health_check_disabled, as: 'healthCheckDisabled'
1305
1307
  hash :labels, as: 'labels'
1306
1308
  property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
@@ -130,7 +130,7 @@ module Google
130
130
  # service`` for Service `projects/`project_id_or_number`/locations/`location`/
131
131
  # services/`service`/revisions/`revision`` for Revision `projects/`
132
132
  # project_id_or_number`/locations/`location`/jobs/`job`/executions/`execution``
133
- # for Execution
133
+ # for Execution `project_id_or_number` may contains domain-scoped project IDs
134
134
  # @param [String] fields
135
135
  # Selector specifying which fields to include in a partial response.
136
136
  # @param [String] quota_user
@@ -1572,51 +1572,6 @@ module Google
1572
1572
  execute_or_queue_command(command, &block)
1573
1573
  end
1574
1574
 
1575
- # Gets the IAM Access Control policy currently in effect for the given Cloud Run
1576
- # WorkerPool. This result does not include any inherited policies.
1577
- # @param [String] resource
1578
- # REQUIRED: The resource for which the policy is being requested. See [Resource
1579
- # names](https://cloud.google.com/apis/design/resource_names) for the
1580
- # appropriate value for this field.
1581
- # @param [Fixnum] options_requested_policy_version
1582
- # Optional. The maximum policy version that will be used to format the policy.
1583
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1584
- # rejected. Requests for policies with any conditional role bindings must
1585
- # specify version 3. Policies with no conditional role bindings may specify any
1586
- # valid value or leave the field unset. The policy in the response might use the
1587
- # policy version that you specified, or it might use a lower policy version. For
1588
- # example, if you specify version 3, but the policy has no conditional role
1589
- # bindings, the response uses version 1. To learn which resources support
1590
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1591
- # google.com/iam/help/conditions/resource-policies).
1592
- # @param [String] fields
1593
- # Selector specifying which fields to include in a partial response.
1594
- # @param [String] quota_user
1595
- # Available to use for quota purposes for server-side applications. Can be any
1596
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1597
- # @param [Google::Apis::RequestOptions] options
1598
- # Request-specific options
1599
- #
1600
- # @yield [result, err] Result & error if block supplied
1601
- # @yieldparam result [Google::Apis::RunV2::GoogleIamV1Policy] parsed result object
1602
- # @yieldparam err [StandardError] error object if request failed
1603
- #
1604
- # @return [Google::Apis::RunV2::GoogleIamV1Policy]
1605
- #
1606
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1607
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1608
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1609
- def get_project_location_worker_pool_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1610
- command = make_simple_command(:get, 'v2/{+resource}:getIamPolicy', options)
1611
- command.response_representation = Google::Apis::RunV2::GoogleIamV1Policy::Representation
1612
- command.response_class = Google::Apis::RunV2::GoogleIamV1Policy
1613
- command.params['resource'] = resource unless resource.nil?
1614
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1615
- command.query['fields'] = fields unless fields.nil?
1616
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1617
- execute_or_queue_command(command, &block)
1618
- end
1619
-
1620
1575
  # Lists WorkerPools. Results are sorted by creation time, descending.
1621
1576
  # @param [String] parent
1622
1577
  # Required. The location and project to list resources on. Location must be a
@@ -1715,42 +1670,6 @@ module Google
1715
1670
  execute_or_queue_command(command, &block)
1716
1671
  end
1717
1672
 
1718
- # Sets the IAM Access control policy for the specified WorkerPool. Overwrites
1719
- # any existing policy.
1720
- # @param [String] resource
1721
- # REQUIRED: The resource for which the policy is being specified. See [Resource
1722
- # names](https://cloud.google.com/apis/design/resource_names) for the
1723
- # appropriate value for this field.
1724
- # @param [Google::Apis::RunV2::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
1725
- # @param [String] fields
1726
- # Selector specifying which fields to include in a partial response.
1727
- # @param [String] quota_user
1728
- # Available to use for quota purposes for server-side applications. Can be any
1729
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1730
- # @param [Google::Apis::RequestOptions] options
1731
- # Request-specific options
1732
- #
1733
- # @yield [result, err] Result & error if block supplied
1734
- # @yieldparam result [Google::Apis::RunV2::GoogleIamV1Policy] parsed result object
1735
- # @yieldparam err [StandardError] error object if request failed
1736
- #
1737
- # @return [Google::Apis::RunV2::GoogleIamV1Policy]
1738
- #
1739
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1740
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1741
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1742
- def set_project_location_worker_pool_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1743
- command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
1744
- command.request_representation = Google::Apis::RunV2::GoogleIamV1SetIamPolicyRequest::Representation
1745
- command.request_object = google_iam_v1_set_iam_policy_request_object
1746
- command.response_representation = Google::Apis::RunV2::GoogleIamV1Policy::Representation
1747
- command.response_class = Google::Apis::RunV2::GoogleIamV1Policy
1748
- command.params['resource'] = resource unless resource.nil?
1749
- command.query['fields'] = fields unless fields.nil?
1750
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1751
- execute_or_queue_command(command, &block)
1752
- end
1753
-
1754
1673
  # Returns permissions that a caller has on the specified Project. There are no
1755
1674
  # permissions required for making this API call.
1756
1675
  # @param [String] resource
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.83.0
4
+ version: 0.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.83.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.84.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
62
62
  rdoc_options: []
63
63
  require_paths: