google-apis-run_v2 0.107.0 → 0.108.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/run_v2/classes.rb +16 -9
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/service.rb +9 -1
- data/lib/google/apis/run_v2.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2897410cf802e6acbfd6120c43130bded7fe6930eafbca3786e3199fd4b2dbd4
|
|
4
|
+
data.tar.gz: 59bb24c179c137b1fd0572664f58f6c35920a5f61bd4d72adf2eb640471f01e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf2d26307414f1aacde658a158e73055c409d78a23151ada2b370c765e87d1d794440c3c9f1fba4f18c205f8b5533b966a6697e6be203464cc168dcd836e5112
|
|
7
|
+
data.tar.gz: ff67770d44ab90e82255972224634e311fce4635c4f39281133aaf099d1cf08319ff112bed5e8c24b8cfdb87b7d7bc6fbcd05d34859445993ae77c32cce4c676
|
data/CHANGELOG.md
CHANGED
|
@@ -261,10 +261,16 @@ module Google
|
|
|
261
261
|
class GoogleCloudRunV2CloudSqlInstance
|
|
262
262
|
include Google::Apis::Core::Hashable
|
|
263
263
|
|
|
264
|
-
#
|
|
265
|
-
#
|
|
266
|
-
#
|
|
267
|
-
# Format:
|
|
264
|
+
# A list of Cloud SQL instance connection names. Cloud Run uses these to
|
|
265
|
+
# establish connections to the specified Cloud SQL instances. While the SQL
|
|
266
|
+
# instance name itself is unique within a project, the full connection name
|
|
267
|
+
# requires the location for proper routing. Format: ``project`:`location`:`
|
|
268
|
+
# instance`` Example: `my-project:us-central1:my-instance` You can find this
|
|
269
|
+
# value on the instance's **Overview** page in the Google Cloud console or by
|
|
270
|
+
# using the following `gcloud` command: ```sh gcloud sql instances describe
|
|
271
|
+
# INSTANCE_NAME \ --format='value(connectionName)' ``` Visit https://cloud.
|
|
272
|
+
# google.com/sql/docs/mysql/connect-run for more information on how to connect
|
|
273
|
+
# Cloud SQL and Cloud Run.
|
|
268
274
|
# Corresponds to the JSON property `instances`
|
|
269
275
|
# @return [Array<String>]
|
|
270
276
|
attr_accessor :instances
|
|
@@ -2344,8 +2350,7 @@ module Google
|
|
|
2344
2350
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Condition>]
|
|
2345
2351
|
attr_accessor :conditions
|
|
2346
2352
|
|
|
2347
|
-
#
|
|
2348
|
-
# Revision.
|
|
2353
|
+
# Holds the list which define the units of execution for this Revision.
|
|
2349
2354
|
# Corresponds to the JSON property `containers`
|
|
2350
2355
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Container>]
|
|
2351
2356
|
attr_accessor :containers
|
|
@@ -2587,12 +2592,15 @@ module Google
|
|
|
2587
2592
|
include Google::Apis::Core::Hashable
|
|
2588
2593
|
|
|
2589
2594
|
# Optional. Determines a threshold for concurrency utilization before scaling
|
|
2590
|
-
# begins.
|
|
2595
|
+
# begins. Accepted values are between `0.4` and `0.95` (inclusive) or `0.0` to
|
|
2596
|
+
# disable concurrency utilization as threshold for scaling.
|
|
2591
2597
|
# Corresponds to the JSON property `concurrencyUtilization`
|
|
2592
2598
|
# @return [Float]
|
|
2593
2599
|
attr_accessor :concurrency_utilization
|
|
2594
2600
|
|
|
2595
2601
|
# Optional. Determines a threshold for CPU utilization before scaling begins.
|
|
2602
|
+
# Accepted values are between `0.4` and `0.95` (inclusive) or `0.0` to disable
|
|
2603
|
+
# CPU utilization as threshold for scaling.
|
|
2596
2604
|
# Corresponds to the JSON property `cpuUtilization`
|
|
2597
2605
|
# @return [Float]
|
|
2598
2606
|
attr_accessor :cpu_utilization
|
|
@@ -2668,8 +2676,7 @@ module Google
|
|
|
2668
2676
|
# @return [String]
|
|
2669
2677
|
attr_accessor :client_version
|
|
2670
2678
|
|
|
2671
|
-
# Holds the
|
|
2672
|
-
# Revision.
|
|
2679
|
+
# Holds the list which define the units of execution for this Revision.
|
|
2673
2680
|
# Corresponds to the JSON property `containers`
|
|
2674
2681
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Container>]
|
|
2675
2682
|
attr_accessor :containers
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.108.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260213"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1428,6 +1428,13 @@ module Google
|
|
|
1428
1428
|
# Optional. If set to true, and if the Service does not exist, it will create a
|
|
1429
1429
|
# new one. The caller must have 'run.services.create' permissions if this is set
|
|
1430
1430
|
# to true and the Service does not exist.
|
|
1431
|
+
# @param [Boolean] force_new_revision
|
|
1432
|
+
# Optional. If set to true, a new revision will be created from the template
|
|
1433
|
+
# even if the system doesn't detect any changes from the previously deployed
|
|
1434
|
+
# revision. This may be useful for cases where the underlying resources need to
|
|
1435
|
+
# be recreated or reinitialized. For example if the image is specified by label,
|
|
1436
|
+
# but the underlying image digest has changed) or if the container performs
|
|
1437
|
+
# deployment initialization work that needs to be performed again.
|
|
1431
1438
|
# @param [String] update_mask
|
|
1432
1439
|
# Optional. The list of fields to be updated.
|
|
1433
1440
|
# @param [Boolean] validate_only
|
|
@@ -1450,7 +1457,7 @@ module Google
|
|
|
1450
1457
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1451
1458
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1452
1459
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1453
|
-
def patch_project_location_service(name, google_cloud_run_v2_service_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1460
|
+
def patch_project_location_service(name, google_cloud_run_v2_service_object = nil, allow_missing: nil, force_new_revision: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1454
1461
|
command = make_simple_command(:patch, 'v2/{+name}', options)
|
|
1455
1462
|
command.request_representation = Google::Apis::RunV2::GoogleCloudRunV2Service::Representation
|
|
1456
1463
|
command.request_object = google_cloud_run_v2_service_object
|
|
@@ -1458,6 +1465,7 @@ module Google
|
|
|
1458
1465
|
command.response_class = Google::Apis::RunV2::GoogleLongrunningOperation
|
|
1459
1466
|
command.params['name'] = name unless name.nil?
|
|
1460
1467
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
|
1468
|
+
command.query['forceNewRevision'] = force_new_revision unless force_new_revision.nil?
|
|
1461
1469
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1462
1470
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
|
1463
1471
|
command.query['fields'] = fields unless fields.nil?
|
data/lib/google/apis/run_v2.rb
CHANGED
|
@@ -34,6 +34,12 @@ module Google
|
|
|
34
34
|
|
|
35
35
|
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
|
36
36
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
37
|
+
|
|
38
|
+
# See, edit, configure, and delete your Google Cloud Run data and see the email address for your Google Account
|
|
39
|
+
AUTH_RUN = 'https://www.googleapis.com/auth/run'
|
|
40
|
+
|
|
41
|
+
# See your Google Cloud Run data and the email address of your Google Account
|
|
42
|
+
AUTH_RUN_READONLY = 'https://www.googleapis.com/auth/run.readonly'
|
|
37
43
|
end
|
|
38
44
|
end
|
|
39
45
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-run_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.108.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.108.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:
|