google-apis-run_v2 0.49.0 → 0.51.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: 769d00f0e7bc64597681875569588eca6fc43f3cbee72170fc8eb55fd1209029
4
- data.tar.gz: b91f0fa0e70244dafb672b14e876462b89ea495183a6104603871663dec28406
3
+ metadata.gz: d2b7f8b33f7e6d06f541ebdbbb0f7b16615e72e4b6bd1dbf87e36265603db5ee
4
+ data.tar.gz: fa1bb550e3f963f45ad8c538c8c90fc09c614b71ddea6e8d6e9acdc8acf840e7
5
5
  SHA512:
6
- metadata.gz: a2af93453f11002a0c3b699784fb9c8d4b0cac31dcbd8e1c156631f30f6d5fc86038c03da07e532f11fc5bfedf419cb834f788113c1a507c68020b1d0536f4a7
7
- data.tar.gz: 66598e83c1b10a732a365f60d5015fc02436bdfc69b878d7c0ff97d707a1ea981e98fa561cbab86b34cc7e4f8c78ef1972c9d84b62a8e07eaeccfb7ca4f0fbc5
6
+ metadata.gz: 0f847d2a99321e562bbf7d0bb1d34babae9660aafd95744a313ab922d227544ff448826ee50c837d596043d8e4de5f6cc66ac709d5993ac0de3506c57b1c5ab2
7
+ data.tar.gz: d8c05ec79b74c26bcbfb03744d7c864d148e0bc8f0bf201dab9f08259080ef95cc38e4258866f598733e3ff22bc15d69692bcbe38ebe09fda95e6c2336ad256e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.51.0 (2023-10-15)
4
+
5
+ * Regenerated from discovery document revision 20231008
6
+
7
+ ### v0.50.0 (2023-10-08)
8
+
9
+ * Regenerated from discovery document revision 20231001
10
+
3
11
  ### v0.49.0 (2023-10-01)
4
12
 
5
13
  * Regenerated from discovery document revision 20230924
@@ -371,8 +371,7 @@ module Google
371
371
  class GoogleCloudRunV2EnvVar
372
372
  include Google::Apis::Core::Hashable
373
373
 
374
- # Required. Name of the environment variable. Must be a C_IDENTIFIER, and must
375
- # not exceed 32768 characters.
374
+ # Required. Name of the environment variable. Must not exceed 32768 characters.
376
375
  # Corresponds to the JSON property `name`
377
376
  # @return [String]
378
377
  attr_accessor :name
@@ -1470,6 +1469,11 @@ module Google
1470
1469
  # @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
1471
1470
  attr_accessor :scaling
1472
1471
 
1472
+ # Effective settings for the current revision
1473
+ # Corresponds to the JSON property `scalingStatus`
1474
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScalingStatus]
1475
+ attr_accessor :scaling_status
1476
+
1473
1477
  # Output only. The name of the parent service.
1474
1478
  # Corresponds to the JSON property `service`
1475
1479
  # @return [String]
@@ -1543,6 +1547,7 @@ module Google
1543
1547
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1544
1548
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1545
1549
  @scaling = args[:scaling] if args.key?(:scaling)
1550
+ @scaling_status = args[:scaling_status] if args.key?(:scaling_status)
1546
1551
  @service = args[:service] if args.key?(:service)
1547
1552
  @service_account = args[:service_account] if args.key?(:service_account)
1548
1553
  @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
@@ -1579,6 +1584,25 @@ module Google
1579
1584
  end
1580
1585
  end
1581
1586
 
1587
+ # Effective settings for the current revision
1588
+ class GoogleCloudRunV2RevisionScalingStatus
1589
+ include Google::Apis::Core::Hashable
1590
+
1591
+ # The current number of min instances provisioned for this revision.
1592
+ # Corresponds to the JSON property `desiredMinInstanceCount`
1593
+ # @return [Fixnum]
1594
+ attr_accessor :desired_min_instance_count
1595
+
1596
+ def initialize(**args)
1597
+ update!(**args)
1598
+ end
1599
+
1600
+ # Update properties of this object
1601
+ def update!(**args)
1602
+ @desired_min_instance_count = args[:desired_min_instance_count] if args.key?(:desired_min_instance_count)
1603
+ end
1604
+ end
1605
+
1582
1606
  # RevisionTemplate describes the data a revision should have when created from a
1583
1607
  # template.
1584
1608
  class GoogleCloudRunV2RevisionTemplate
@@ -2017,13 +2041,6 @@ module Google
2017
2041
  # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus>]
2018
2042
  attr_accessor :traffic_statuses
2019
2043
 
2020
- # Optional. Override the traffic tag threshold limit. Garbage collection will
2021
- # start cleaning up non-serving tagged traffic targets based on creation item.
2022
- # The default value is 2000.
2023
- # Corresponds to the JSON property `trafficTagsCleanupThreshold`
2024
- # @return [Fixnum]
2025
- attr_accessor :traffic_tags_cleanup_threshold
2026
-
2027
2044
  # Output only. Server assigned unique identifier for the trigger. The value is a
2028
2045
  # UUID4 string and guaranteed to remain unchanged until the resource is deleted.
2029
2046
  # Corresponds to the JSON property `uid`
@@ -2073,7 +2090,6 @@ module Google
2073
2090
  @terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
2074
2091
  @traffic = args[:traffic] if args.key?(:traffic)
2075
2092
  @traffic_statuses = args[:traffic_statuses] if args.key?(:traffic_statuses)
2076
- @traffic_tags_cleanup_threshold = args[:traffic_tags_cleanup_threshold] if args.key?(:traffic_tags_cleanup_threshold)
2077
2093
  @uid = args[:uid] if args.key?(:uid)
2078
2094
  @update_time = args[:update_time] if args.key?(:update_time)
2079
2095
  @uri = args[:uri] if args.key?(:uri)
@@ -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.49.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230924"
25
+ REVISION = "20231008"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class GoogleCloudRunV2RevisionScalingStatus
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class GoogleCloudRunV2RevisionTemplate
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -697,6 +703,8 @@ module Google
697
703
  property :satisfies_pzs, as: 'satisfiesPzs'
698
704
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
699
705
 
706
+ property :scaling_status, as: 'scalingStatus', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScalingStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScalingStatus::Representation
707
+
700
708
  property :service, as: 'service'
701
709
  property :service_account, as: 'serviceAccount'
702
710
  property :session_affinity, as: 'sessionAffinity'
@@ -718,6 +726,13 @@ module Google
718
726
  end
719
727
  end
720
728
 
729
+ class GoogleCloudRunV2RevisionScalingStatus
730
+ # @private
731
+ class Representation < Google::Apis::Core::JsonRepresentation
732
+ property :desired_min_instance_count, as: 'desiredMinInstanceCount'
733
+ end
734
+ end
735
+
721
736
  class GoogleCloudRunV2RevisionTemplate
722
737
  # @private
723
738
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -805,7 +820,6 @@ module Google
805
820
 
806
821
  collection :traffic_statuses, as: 'trafficStatuses', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus::Representation
807
822
 
808
- property :traffic_tags_cleanup_threshold, :numeric_string => true, as: 'trafficTagsCleanupThreshold'
809
823
  property :uid, as: 'uid'
810
824
  property :update_time, as: 'updateTime'
811
825
  property :uri, as: 'uri'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.51.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: 2023-10-01 00:00:00.000000000 Z
11
+ date: 2023-10-15 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.51.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
63
63
  post_install_message:
64
64
  rdoc_options: []