google-apis-run_v2 0.85.0 → 0.87.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: 51dcbd1e91186395143c71cdab8071661766f1cbd8dc287799196f811b587e82
4
- data.tar.gz: 8b2a30f1d2e62d68c455f26e9e686abfe4f55e96d4068cb41c9df97589aaa1aa
3
+ metadata.gz: 8344c04a889a20416a54bcff79190ef5f3e4499de44c69e334eeb400791b03c9
4
+ data.tar.gz: ff2248f808769fece0eec4d0fb71c85b7a3895b01f5fde662f92a6ce02b3cb4e
5
5
  SHA512:
6
- metadata.gz: c4735299946bbe24a14c43781fe51cddf56ddf1e367c471fdafff296223db66249f4481814fbe159a4ef3b27188daa0056992e701e994ecb1c29ec1d37efb4a5
7
- data.tar.gz: af8d923a9c24b572e536a493b7c94ce48ecc87aebb9e87f1df4ff9e2d357370718cb9b0d1f218492db33b197815c6c7b06fbfae4a98542d4cb192ca912843e98
6
+ metadata.gz: 410b030e8bc783482ef384ac8f28902b866964ada718f19e928f7c80a2b6b7be398fd514baae053ba7e1e9d30d2f122bc7db0b05b0be4c5413211461ca71d4ae
7
+ data.tar.gz: 799c7f4add32865a22ee7f11870246f9ff6d05afb6c0a5025dc20f6f87f215f41df2bccfcbd4ba4f5101d88c5cc439304d88984a4ce0a602e32152d9962e8620
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.87.0 (2025-05-11)
4
+
5
+ * Regenerated from discovery document revision 20250504
6
+ * Regenerated using generator version 0.17.0
7
+
8
+ ### v0.86.0 (2025-04-20)
9
+
10
+ * Regenerated from discovery document revision 20250411
11
+
3
12
  ### v0.85.0 (2025-03-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20250321
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/run/) may provide guidance
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -3049,6 +3049,12 @@ module Google
3049
3049
  # @return [Fixnum]
3050
3050
  attr_accessor :generation
3051
3051
 
3052
+ # Optional. Output only. True if GPU zonal redundancy is disabled on this task.
3053
+ # Corresponds to the JSON property `gpuZonalRedundancyDisabled`
3054
+ # @return [Boolean]
3055
+ attr_accessor :gpu_zonal_redundancy_disabled
3056
+ alias_method :gpu_zonal_redundancy_disabled?, :gpu_zonal_redundancy_disabled
3057
+
3052
3058
  # Output only. Index of the Task, unique per execution, and beginning at 0.
3053
3059
  # Corresponds to the JSON property `index`
3054
3060
  # @return [Fixnum]
@@ -3188,6 +3194,7 @@ module Google
3188
3194
  @execution_environment = args[:execution_environment] if args.key?(:execution_environment)
3189
3195
  @expire_time = args[:expire_time] if args.key?(:expire_time)
3190
3196
  @generation = args[:generation] if args.key?(:generation)
3197
+ @gpu_zonal_redundancy_disabled = args[:gpu_zonal_redundancy_disabled] if args.key?(:gpu_zonal_redundancy_disabled)
3191
3198
  @index = args[:index] if args.key?(:index)
3192
3199
  @job = args[:job] if args.key?(:job)
3193
3200
  @labels = args[:labels] if args.key?(:labels)
@@ -5220,10 +5227,10 @@ module Google
5220
5227
  # @return [String]
5221
5228
  attr_accessor :group_id
5222
5229
 
5223
- # Path to an artifact in the build's workspace to be uploaded to Artifact
5224
- # Registry. This can be either an absolute path, e.g. /workspace/my-app/target/
5225
- # my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/
5226
- # my-app-1.0.SNAPSHOT.jar.
5230
+ # Optional. Path to an artifact in the build's workspace to be uploaded to
5231
+ # Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/
5232
+ # target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/
5233
+ # target/my-app-1.0.SNAPSHOT.jar.
5227
5234
  # Corresponds to the JSON property `path`
5228
5235
  # @return [String]
5229
5236
  attr_accessor :path
@@ -6542,7 +6549,15 @@ module Google
6542
6549
  end
6543
6550
  end
6544
6551
 
6545
- # This is proto2's version of MessageSet.
6552
+ # This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
6553
+ # If you are using editions or proto2, please make your own extendable messages
6554
+ # for your use case. If you are using proto3, please use `Any` instead.
6555
+ # MessageSet was the implementation of extensions for proto1. When proto2 was
6556
+ # introduced, extensions were implemented as a first-class feature. This schema
6557
+ # for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
6558
+ # bearing messages from proto1 to proto2. This schema has been open-sourced only
6559
+ # to facilitate the migration of Google products with MessageSet-bearing
6560
+ # messages to open-source environments.
6546
6561
  class Proto2BridgeMessageSet
6547
6562
  include Google::Apis::Core::Hashable
6548
6563
 
@@ -6579,7 +6594,15 @@ module Google
6579
6594
  # @return [String]
6580
6595
  attr_accessor :message
6581
6596
 
6582
- # This is proto2's version of MessageSet.
6597
+ # This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
6598
+ # If you are using editions or proto2, please make your own extendable messages
6599
+ # for your use case. If you are using proto3, please use `Any` instead.
6600
+ # MessageSet was the implementation of extensions for proto1. When proto2 was
6601
+ # introduced, extensions were implemented as a first-class feature. This schema
6602
+ # for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
6603
+ # bearing messages from proto1 to proto2. This schema has been open-sourced only
6604
+ # to facilitate the migration of Google products with MessageSet-bearing
6605
+ # messages to open-source environments.
6583
6606
  # Corresponds to the JSON property `messageSet`
6584
6607
  # @return [Google::Apis::RunV2::Proto2BridgeMessageSet]
6585
6608
  attr_accessor :message_set
@@ -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.85.0"
19
+ GEM_VERSION = "0.87.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250321"
25
+ REVISION = "20250504"
26
26
  end
27
27
  end
28
28
  end
@@ -1478,6 +1478,7 @@ module Google
1478
1478
  property :execution_environment, as: 'executionEnvironment'
1479
1479
  property :expire_time, as: 'expireTime'
1480
1480
  property :generation, :numeric_string => true, as: 'generation'
1481
+ property :gpu_zonal_redundancy_disabled, as: 'gpuZonalRedundancyDisabled'
1481
1482
  property :index, as: 'index'
1482
1483
  property :job, as: 'job'
1483
1484
  hash :labels, as: 'labels'
@@ -1572,6 +1572,51 @@ 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
+
1575
1620
  # Lists WorkerPools. Results are sorted by creation time, descending.
1576
1621
  # @param [String] parent
1577
1622
  # Required. The location and project to list resources on. Location must be a
@@ -1670,6 +1715,42 @@ module Google
1670
1715
  execute_or_queue_command(command, &block)
1671
1716
  end
1672
1717
 
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
+
1673
1754
  # Returns permissions that a caller has on the specified Project. There are no
1674
1755
  # permissions required for making this API call.
1675
1756
  # @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.85.0
4
+ version: 0.87.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-30 00:00:00.000000000 Z
10
+ date: 1980-01-02 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.85.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.87.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Run Admin API V2
79
79
  test_files: []