google-apis-run_v2 0.25.0 → 0.27.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: 0427befb980d48ab293de229231f6a41c69064c72d6b7f027c0ba179b390c536
4
- data.tar.gz: f77a78e2bf19ae9e883b915234760f91202f291a4947aa37528d44a47abb8d23
3
+ metadata.gz: e70d58a44ce155fc4a828c6e4e4a8974df20cd7f6cf044dc997f0b8f28e50116
4
+ data.tar.gz: d3034359f3bb2eac1911677af33761bdfb0becc0a90fc3633e2cb5e5f32183b5
5
5
  SHA512:
6
- metadata.gz: a064cafc0662ee9c946b741624df9f149cdca0d333ce5794f333329fb765f7fe06523567219ba1b4e6a05177182521d86841258e9e071cc9fadd0a8f1c89cb01
7
- data.tar.gz: 5cf9e86fcd62c43da659deaa4b63dbbee62b7bae68c16253d607f010b84289ef806092e8acc5e48ab3838756b26e276c2f9084d92106d97e2f9ec393e6f35cec
6
+ metadata.gz: bb1f190bbb810f04c145dfe21b34ee8de4ab065a6b89847ddf0f2f531689c84b61ce171d91e0fc671518b0bcd5150c61f6f2822d6cc814ef4f7d9ad63c8a08ee
7
+ data.tar.gz: 821082c4aaf1c3509ab770de8b0b422c13df843b8ce8753734a53cbf5f5b779d1e3935e0ce16f028c43735077a0b71d6d37b221a573f547ea8dbf77bd1c75e63
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.27.0 (2022-12-19)
4
+
5
+ * Regenerated from discovery document revision 20221211
6
+
7
+ ### v0.26.0 (2022-12-04)
8
+
9
+ * Regenerated from discovery document revision 20221129
10
+
3
11
  ### v0.25.0 (2022-11-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20221106
@@ -52,7 +52,9 @@ module Google
52
52
  end
53
53
  end
54
54
 
55
- # Represents a specific Cloud SQL instance.
55
+ # Represents a set of Cloud SQL instances. Each one will be available under /
56
+ # cloudsql/[instance]. Visit https://cloud.google.com/sql/docs/mysql/connect-run
57
+ # for more information on how to connect Cloud SQL and Cloud Run.
56
58
  class GoogleCloudRunV2CloudSqlInstance
57
59
  include Google::Apis::Core::Hashable
58
60
 
@@ -186,7 +188,7 @@ module Google
186
188
  # @return [Google::Apis::RunV2::GoogleCloudRunV2Probe]
187
189
  attr_accessor :liveness_probe
188
190
 
189
- # Name of the container specified as a DNS_LABEL.
191
+ # Name of the container specified as a DNS_LABEL (RFC 1123).
190
192
  # Corresponds to the JSON property `name`
191
193
  # @return [String]
192
194
  attr_accessor :name
@@ -394,9 +396,7 @@ module Google
394
396
  # s billing system, so they can be used to filter, or break down billing charges
395
397
  # by team, component, environment, state, etc. For more information, visit https:
396
398
  # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
397
- # cloud.google.com/run/docs/configuring/labels Cloud Run will populate some
398
- # labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those
399
- # labels are read-only, and user changes will not be preserved.
399
+ # cloud.google.com/run/docs/configuring/labels
400
400
  # Corresponds to the JSON property `labels`
401
401
  # @return [Hash<String,String>]
402
402
  attr_accessor :labels
@@ -549,12 +549,19 @@ module Google
549
549
  class GoogleCloudRunV2ExecutionTemplate
550
550
  include Google::Apis::Core::Hashable
551
551
 
552
- # KRM-style annotations for the resource.
552
+ # KRM-style annotations for the resource. Cloud Run API v2 does not support
553
+ # annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.
554
+ # knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be
555
+ # rejected. All system annotations in v1 now have a corresponding field in v2
556
+ # ExecutionTemplate.
553
557
  # Corresponds to the JSON property `annotations`
554
558
  # @return [Hash<String,String>]
555
559
  attr_accessor :annotations
556
560
 
557
- # KRM-style labels for the resource.
561
+ # KRM-style labels for the resource. Cloud Run API v2 does not support labels
562
+ # with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
563
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
564
+ # labels in v1 now have a corresponding field in v2 ExecutionTemplate.
558
565
  # Corresponds to the JSON property `labels`
559
566
  # @return [Hash<String,String>]
560
567
  attr_accessor :labels
@@ -675,16 +682,18 @@ module Google
675
682
  end
676
683
  end
677
684
 
678
- # Job represents the configuration of a single job. A job an immutable resource
679
- # that references a container image which is run to completion.
685
+ # Job represents the configuration of a single job, which references a container
686
+ # image that is run to completion.
680
687
  class GoogleCloudRunV2Job
681
688
  include Google::Apis::Core::Hashable
682
689
 
683
690
  # KRM-style annotations for the resource. Unstructured key value map that may be
684
691
  # set by external tools to store and arbitrary metadata. They are not queryable
685
- # and should be preserved when modifying objects. Cloud Run will populate some
686
- # annotations using 'run.googleapis.com' or 'serving.knative.dev' namespaces.
687
- # This field follows Kubernetes annotations' namespacing, limits, and rules.
692
+ # and should be preserved when modifying objects. Cloud Run API v2 does not
693
+ # support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `
694
+ # serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will
695
+ # be rejected. All system annotations in v1 now have a corresponding field in v2
696
+ # Job. This field follows Kubernetes annotations' namespacing, limits, and rules.
688
697
  # More info: https://kubernetes.io/docs/user-guide/annotations
689
698
  # Corresponds to the JSON property `annotations`
690
699
  # @return [Hash<String,String>]
@@ -755,9 +764,10 @@ module Google
755
764
  # s billing system, so they can be used to filter, or break down billing charges
756
765
  # by team, component, environment, state, etc. For more information, visit https:
757
766
  # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
758
- # cloud.google.com/run/docs/configuring/labels Cloud Run will populate some
759
- # labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those
760
- # labels are read-only, and user changes will not be preserved.
767
+ # cloud.google.com/run/docs/configuring/labels Cloud Run API v2 does not support
768
+ # labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`
769
+ # , or `autoscaling.knative.dev` namespaces, and they will be rejected. All
770
+ # system labels in v1 now have a corresponding field in v2 Job.
761
771
  # Corresponds to the JSON property `labels`
762
772
  # @return [Hash<String,String>]
763
773
  attr_accessor :labels
@@ -1135,6 +1145,17 @@ module Google
1135
1145
  # @return [String]
1136
1146
  attr_accessor :encryption_key
1137
1147
 
1148
+ # The action to take if the encryption key is revoked.
1149
+ # Corresponds to the JSON property `encryptionKeyRevocationAction`
1150
+ # @return [String]
1151
+ attr_accessor :encryption_key_revocation_action
1152
+
1153
+ # If encryption_key_revocation_action is SHUTDOWN, the duration before shutting
1154
+ # down all instances. The minimum increment is 1 hour.
1155
+ # Corresponds to the JSON property `encryptionKeyShutdownDuration`
1156
+ # @return [String]
1157
+ attr_accessor :encryption_key_shutdown_duration
1158
+
1138
1159
  # Output only. A system-generated fingerprint for this version of the resource.
1139
1160
  # May be used to detect modification conflict during updates.
1140
1161
  # Corresponds to the JSON property `etag`
@@ -1162,9 +1183,7 @@ module Google
1162
1183
  # s billing system, so they can be used to filter, or break down billing charges
1163
1184
  # by team, component, environment, state, etc. For more information, visit https:
1164
1185
  # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
1165
- # cloud.google.com/run/docs/configuring/labels Cloud Run will populate some
1166
- # labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those
1167
- # labels are read-only, and user changes will not be preserved.
1186
+ # cloud.google.com/run/docs/configuring/labels
1168
1187
  # Corresponds to the JSON property `labels`
1169
1188
  # @return [Hash<String,String>]
1170
1189
  attr_accessor :labels
@@ -1266,6 +1285,8 @@ module Google
1266
1285
  @create_time = args[:create_time] if args.key?(:create_time)
1267
1286
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1268
1287
  @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
1288
+ @encryption_key_revocation_action = args[:encryption_key_revocation_action] if args.key?(:encryption_key_revocation_action)
1289
+ @encryption_key_shutdown_duration = args[:encryption_key_shutdown_duration] if args.key?(:encryption_key_shutdown_duration)
1269
1290
  @etag = args[:etag] if args.key?(:etag)
1270
1291
  @execution_environment = args[:execution_environment] if args.key?(:execution_environment)
1271
1292
  @expire_time = args[:expire_time] if args.key?(:expire_time)
@@ -1318,7 +1339,11 @@ module Google
1318
1339
  class GoogleCloudRunV2RevisionTemplate
1319
1340
  include Google::Apis::Core::Hashable
1320
1341
 
1321
- # KRM-style annotations for the resource.
1342
+ # KRM-style annotations for the resource. Cloud Run API v2 does not support
1343
+ # annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.
1344
+ # knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be
1345
+ # rejected. All system annotations in v1 now have a corresponding field in v2
1346
+ # RevisionTemplate.
1322
1347
  # Corresponds to the JSON property `annotations`
1323
1348
  # @return [Hash<String,String>]
1324
1349
  attr_accessor :annotations
@@ -1341,7 +1366,10 @@ module Google
1341
1366
  # @return [String]
1342
1367
  attr_accessor :execution_environment
1343
1368
 
1344
- # KRM-style labels for the resource.
1369
+ # KRM-style labels for the resource. Cloud Run API v2 does not support labels
1370
+ # with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1371
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1372
+ # labels in v1 now have a corresponding field in v2 RevisionTemplate.
1345
1373
  # Corresponds to the JSON property `labels`
1346
1374
  # @return [Hash<String,String>]
1347
1375
  attr_accessor :labels
@@ -1525,10 +1553,12 @@ module Google
1525
1553
 
1526
1554
  # Unstructured key value map that may be set by external tools to store and
1527
1555
  # arbitrary metadata. They are not queryable and should be preserved when
1528
- # modifying objects. Cloud Run will populate some annotations using 'run.
1529
- # googleapis.com' or 'serving.knative.dev' namespaces. This field follows
1530
- # Kubernetes annotations' namespacing, limits, and rules. More info: https://
1531
- # kubernetes.io/docs/user-guide/annotations
1556
+ # modifying objects. Cloud Run API v2 does not support annotations with `run.
1557
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1558
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1559
+ # annotations in v1 now have a corresponding field in v2 Service. This field
1560
+ # follows Kubernetes annotations' namespacing, limits, and rules. More info:
1561
+ # https://kubernetes.io/docs/user-guide/annotations
1532
1562
  # Corresponds to the JSON property `annotations`
1533
1563
  # @return [Hash<String,String>]
1534
1564
  attr_accessor :annotations
@@ -1609,9 +1639,10 @@ module Google
1609
1639
  # can be used to filter, or break down billing charges by team, component,
1610
1640
  # environment, state, etc. For more information, visit https://cloud.google.com/
1611
1641
  # resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/
1612
- # docs/configuring/labels Cloud Run will populate some labels with 'run.
1613
- # googleapis.com' or 'serving.knative.dev' namespaces. Those labels are read-
1614
- # only, and user changes will not be preserved.
1642
+ # docs/configuring/labels Cloud Run API v2 does not support labels with `run.
1643
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1644
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1645
+ # labels in v1 now have a corresponding field in v2 Service.
1615
1646
  # Corresponds to the JSON property `labels`
1616
1647
  # @return [Hash<String,String>]
1617
1648
  attr_accessor :labels
@@ -1866,9 +1897,7 @@ module Google
1866
1897
  # s billing system, so they can be used to filter, or break down billing charges
1867
1898
  # by team, component, environment, state, etc. For more information, visit https:
1868
1899
  # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
1869
- # cloud.google.com/run/docs/configuring/labels Cloud Run will populate some
1870
- # labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those
1871
- # labels are read-only, and user changes will not be preserved.
1900
+ # cloud.google.com/run/docs/configuring/labels
1872
1901
  # Corresponds to the JSON property `labels`
1873
1902
  # @return [Hash<String,String>]
1874
1903
  attr_accessor :labels
@@ -2223,7 +2252,9 @@ module Google
2223
2252
  class GoogleCloudRunV2Volume
2224
2253
  include Google::Apis::Core::Hashable
2225
2254
 
2226
- # Represents a specific Cloud SQL instance.
2255
+ # Represents a set of Cloud SQL instances. Each one will be available under /
2256
+ # cloudsql/[instance]. Visit https://cloud.google.com/sql/docs/mysql/connect-run
2257
+ # for more information on how to connect Cloud SQL and Cloud Run.
2227
2258
  # Corresponds to the JSON property `cloudSqlInstance`
2228
2259
  # @return [Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance]
2229
2260
  attr_accessor :cloud_sql_instance
@@ -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.25.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221106"
25
+ REVISION = "20221211"
26
26
  end
27
27
  end
28
28
  end
@@ -591,6 +591,8 @@ module Google
591
591
  property :create_time, as: 'createTime'
592
592
  property :delete_time, as: 'deleteTime'
593
593
  property :encryption_key, as: 'encryptionKey'
594
+ property :encryption_key_revocation_action, as: 'encryptionKeyRevocationAction'
595
+ property :encryption_key_shutdown_duration, as: 'encryptionKeyShutdownDuration'
594
596
  property :etag, as: 'etag'
595
597
  property :execution_environment, as: 'executionEnvironment'
596
598
  property :expire_time, as: 'expireTime'
@@ -868,8 +868,8 @@ module Google
868
868
  # Lists Services.
869
869
  # @param [String] parent
870
870
  # Required. The location and project to list resources on. Location must be a
871
- # valid GCP region, and cannot be the "-" wildcard. Format: projects/`project`/
872
- # locations/`location`, where `project` can be project id or number.
871
+ # valid Google Cloud region, and cannot be the "-" wildcard. Format: projects/`
872
+ # project`/locations/`location`, where `project` can be project id or number.
873
873
  # @param [Fixnum] page_size
874
874
  # Maximum number of Services to return in this call.
875
875
  # @param [String] page_token
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.25.0
4
+ version: 0.27.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: 2022-11-14 00:00:00.000000000 Z
11
+ date: 2023-01-04 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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.27.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: []