google-apis-run_v2 0.83.0 → 0.85.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: 51dcbd1e91186395143c71cdab8071661766f1cbd8dc287799196f811b587e82
4
+ data.tar.gz: 8b2a30f1d2e62d68c455f26e9e686abfe4f55e96d4068cb41c9df97589aaa1aa
5
5
  SHA512:
6
- metadata.gz: a4abbc67536502bb5a68b5142f560e27d413c698c369d7bb7bf5b79c4848eb7e1e0bbee560edf2d7779f5604d1471ace660d53b0d45ed0640e5c510e60fa4040
7
- data.tar.gz: 1645b283a0b193aa906fba991366206003e6a115a9c1ec810054094523b154dd8bd8647275b93841a9b5cfe73f7eb1eb677faba5799d02d382973e566198b438
6
+ metadata.gz: c4735299946bbe24a14c43781fe51cddf56ddf1e367c471fdafff296223db66249f4481814fbe159a4ef3b27188daa0056992e701e994ecb1c29ec1d37efb4a5
7
+ data.tar.gz: af8d923a9c24b572e536a493b7c94ce48ecc87aebb9e87f1df4ff9e2d357370718cb9b0d1f218492db33b197815c6c7b06fbfae4a98542d4cb192ca912843e98
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.85.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250321
6
+
7
+ ### v0.84.0 (2025-03-23)
8
+
9
+ * Regenerated from discovery document revision 20250314
10
+
3
11
  ### v0.83.0 (2025-03-02)
4
12
 
5
13
  * 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)
@@ -2532,6 +2547,12 @@ module Google
2532
2547
  # @return [Fixnum]
2533
2548
  attr_accessor :generation
2534
2549
 
2550
+ # Optional. IAP settings on the Service.
2551
+ # Corresponds to the JSON property `iapEnabled`
2552
+ # @return [Boolean]
2553
+ attr_accessor :iap_enabled
2554
+ alias_method :iap_enabled?, :iap_enabled
2555
+
2535
2556
  # Optional. Provides the ingress settings for this Service. On output, returns
2536
2557
  # the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
2537
2558
  # revision is active.
@@ -2540,9 +2561,8 @@ module Google
2540
2561
  attr_accessor :ingress
2541
2562
 
2542
2563
  # Optional. Disables IAM permission check for run.routes.invoke for callers of
2543
- # this service. This feature is available by invitation only. For more
2544
- # information, visit https://cloud.google.com/run/docs/securing/managing-access#
2545
- # invoker_check.
2564
+ # this service. For more information, visit https://cloud.google.com/run/docs/
2565
+ # securing/managing-access#invoker_check.
2546
2566
  # Corresponds to the JSON property `invokerIamDisabled`
2547
2567
  # @return [Boolean]
2548
2568
  attr_accessor :invoker_iam_disabled
@@ -2652,6 +2672,13 @@ module Google
2652
2672
  # @return [Google::Apis::RunV2::GoogleCloudRunV2Condition]
2653
2673
  attr_accessor :terminal_condition
2654
2674
 
2675
+ # Output only. True if Cloud Run Threat Detection monitoring is enabled for the
2676
+ # parent project of this Service.
2677
+ # Corresponds to the JSON property `threatDetectionEnabled`
2678
+ # @return [Boolean]
2679
+ attr_accessor :threat_detection_enabled
2680
+ alias_method :threat_detection_enabled?, :threat_detection_enabled
2681
+
2655
2682
  # Optional. Specifies how to distribute traffic over a collection of Revisions
2656
2683
  # belonging to the Service. If traffic is empty or not provided, defaults to 100%
2657
2684
  # traffic to the latest `Ready` Revision.
@@ -2708,6 +2735,7 @@ module Google
2708
2735
  @etag = args[:etag] if args.key?(:etag)
2709
2736
  @expire_time = args[:expire_time] if args.key?(:expire_time)
2710
2737
  @generation = args[:generation] if args.key?(:generation)
2738
+ @iap_enabled = args[:iap_enabled] if args.key?(:iap_enabled)
2711
2739
  @ingress = args[:ingress] if args.key?(:ingress)
2712
2740
  @invoker_iam_disabled = args[:invoker_iam_disabled] if args.key?(:invoker_iam_disabled)
2713
2741
  @labels = args[:labels] if args.key?(:labels)
@@ -2722,6 +2750,7 @@ module Google
2722
2750
  @scaling = args[:scaling] if args.key?(:scaling)
2723
2751
  @template = args[:template] if args.key?(:template)
2724
2752
  @terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
2753
+ @threat_detection_enabled = args[:threat_detection_enabled] if args.key?(:threat_detection_enabled)
2725
2754
  @traffic = args[:traffic] if args.key?(:traffic)
2726
2755
  @traffic_statuses = args[:traffic_statuses] if args.key?(:traffic_statuses)
2727
2756
  @uid = args[:uid] if args.key?(:uid)
@@ -3932,27 +3961,6 @@ module Google
3932
3961
  # @return [Fixnum]
3933
3962
  attr_accessor :max_instance_count
3934
3963
 
3935
- # Optional. A maximum percentage of instances that will be moved in each step of
3936
- # traffic split changes. When set to a positive value, the server will bring up,
3937
- # at most, that percentage of new instances at a time before moving traffic to
3938
- # them. After moving traffic, the server will bring down instances of the old
3939
- # revision. This can reduce a spike of total active instances during changes
3940
- # from one revision to another but specifying how many extra instances can be
3941
- # brought up at a time.
3942
- # Corresponds to the JSON property `maxSurge`
3943
- # @return [Fixnum]
3944
- attr_accessor :max_surge
3945
-
3946
- # Optional. A maximum percentage of instances that may be unavailable during
3947
- # changes from one revision to another. When set to a positive value, the server
3948
- # may bring down instances before bringing up new instances. This can prevent a
3949
- # spike of total active instances during changes from one revision by reducing
3950
- # the pool of instances before bringing up new ones. Some requests may be slow
3951
- # or fail to serve during the transition.
3952
- # Corresponds to the JSON property `maxUnavailable`
3953
- # @return [Fixnum]
3954
- attr_accessor :max_unavailable
3955
-
3956
3964
  # Optional. The minimum count of instances distributed among revisions based on
3957
3965
  # the specified instance split percentages.
3958
3966
  # Corresponds to the JSON property `minInstanceCount`
@@ -3972,8 +3980,6 @@ module Google
3972
3980
  def update!(**args)
3973
3981
  @manual_instance_count = args[:manual_instance_count] if args.key?(:manual_instance_count)
3974
3982
  @max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
3975
- @max_surge = args[:max_surge] if args.key?(:max_surge)
3976
- @max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
3977
3983
  @min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
3978
3984
  @scaling_mode = args[:scaling_mode] if args.key?(:scaling_mode)
3979
3985
  end
@@ -6553,10 +6559,8 @@ module Google
6553
6559
  class UtilStatusProto
6554
6560
  include Google::Apis::Core::Hashable
6555
6561
 
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;
6562
+ # copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
6563
+ # int32 canonical_code = 6;
6560
6564
  # Corresponds to the JSON property `canonicalCode`
6561
6565
  # @return [Fixnum]
6562
6566
  attr_accessor :canonical_code
@@ -6580,9 +6584,9 @@ module Google
6580
6584
  # @return [Google::Apis::RunV2::Proto2BridgeMessageSet]
6581
6585
  attr_accessor :message_set
6582
6586
 
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;
6587
+ # copybara:strip_begin(b/383363683) Space to which this status belongs copybara:
6588
+ # strip_end_and_replace optional string space = 2; // Space to which this status
6589
+ # belongs
6586
6590
  # Corresponds to the JSON property `space`
6587
6591
  # @return [String]
6588
6592
  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.85.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 = "20250321"
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'
@@ -1370,6 +1372,7 @@ module Google
1370
1372
  property :etag, as: 'etag'
1371
1373
  property :expire_time, as: 'expireTime'
1372
1374
  property :generation, :numeric_string => true, as: 'generation'
1375
+ property :iap_enabled, as: 'iapEnabled'
1373
1376
  property :ingress, as: 'ingress'
1374
1377
  property :invoker_iam_disabled, as: 'invokerIamDisabled'
1375
1378
  hash :labels, as: 'labels'
@@ -1387,6 +1390,7 @@ module Google
1387
1390
 
1388
1391
  property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
1389
1392
 
1393
+ property :threat_detection_enabled, as: 'threatDetectionEnabled'
1390
1394
  collection :traffic, as: 'traffic', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget::Representation
1391
1395
 
1392
1396
  collection :traffic_statuses, as: 'trafficStatuses', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus::Representation
@@ -1665,8 +1669,6 @@ module Google
1665
1669
  class Representation < Google::Apis::Core::JsonRepresentation
1666
1670
  property :manual_instance_count, as: 'manualInstanceCount'
1667
1671
  property :max_instance_count, as: 'maxInstanceCount'
1668
- property :max_surge, as: 'maxSurge'
1669
- property :max_unavailable, as: 'maxUnavailable'
1670
1672
  property :min_instance_count, as: 'minInstanceCount'
1671
1673
  property :scaling_mode, as: 'scalingMode'
1672
1674
  end
@@ -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.85.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-30 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.85.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: