google-apis-run_v2 0.61.0 → 0.63.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: 621112af1f70a7b12eba2f7a8babb1def5cc3598f4baf36ca9f3ca94d94b6e78
4
- data.tar.gz: b382fe2985531c31668f077c36953fdcf4bc5a8c45cf1b35878dc312c7b223df
3
+ metadata.gz: 470d3fa99f162988dfdf98434d395f96879579176557410d7bf89ceaa0ed6e0f
4
+ data.tar.gz: 90d6f79fae64bc0d9e36e6d81bb703796ce5900d2e102039ece8af88ecbc910d
5
5
  SHA512:
6
- metadata.gz: 2e819f5050d23cb1057d1cceb5934e1230f8a5c78aaff2c60935a6d3c421ce1be7935a237480ac85eb8b7950b8116b684cb20398651aabe85a67b3a90c164e18
7
- data.tar.gz: 136dd6ff2c5db2d1554dce40a5eaa2ed03212ba65209e2157c8cc567101b04ab94de60d653d841c84f8f601566c007d696257206c0bee78a820153eacd3586d8
6
+ metadata.gz: e65055b407743ade759fa69e46c2b034d9437e1053bca41501963225bd67ad769ea7284e893467ba74998bf909baee2c79550c4f92378217d3dfe0542c56acb8
7
+ data.tar.gz: 2c6eba44a679b703c03aabcc71cdc458fecc289770815ca850997b78d95d3017b95fa3df6b8bbcbb16b92bbc37261b99693f2d2365ba49e7ba20dafd693ec18a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.63.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240426
6
+
7
+ ### v0.62.0 (2024-04-21)
8
+
9
+ * Regenerated from discovery document revision 20240412
10
+
3
11
  ### v0.61.0 (2024-03-31)
4
12
 
5
13
  * Regenerated from discovery document revision 20240322
@@ -26,7 +26,7 @@ module Google
26
26
  class GoogleCloudRunV2BinaryAuthorization
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # If present, indicates to use Breakglass using this justification. If
29
+ # Optional. If present, indicates to use Breakglass using this justification. If
30
30
  # use_default is False, then it must be empty. For more information on
31
31
  # breakglass, see https://cloud.google.com/binary-authorization/docs/using-
32
32
  # breakglass
@@ -34,14 +34,14 @@ module Google
34
34
  # @return [String]
35
35
  attr_accessor :breakglass_justification
36
36
 
37
- # The path to a binary authorization policy. Format: projects/`project`/
38
- # platforms/cloudRun/`policy-name`
37
+ # Optional. The path to a binary authorization policy. Format: projects/`project`
38
+ # /platforms/cloudRun/`policy-name`
39
39
  # Corresponds to the JSON property `policy`
40
40
  # @return [String]
41
41
  attr_accessor :policy
42
42
 
43
- # If True, indicates to use the default project's binary authorization policy.
44
- # If False, binary authorization will be disabled.
43
+ # Optional. If True, indicates to use the default project's binary authorization
44
+ # policy. If False, binary authorization will be disabled.
45
45
  # Corresponds to the JSON property `useDefault`
46
46
  # @return [Boolean]
47
47
  attr_accessor :use_default
@@ -115,7 +115,7 @@ module Google
115
115
  class GoogleCloudRunV2Condition
116
116
  include Google::Apis::Core::Hashable
117
117
 
118
- # A reason for the execution condition.
118
+ # Output only. A reason for the execution condition.
119
119
  # Corresponds to the JSON property `executionReason`
120
120
  # @return [String]
121
121
  attr_accessor :execution_reason
@@ -130,12 +130,12 @@ module Google
130
130
  # @return [String]
131
131
  attr_accessor :message
132
132
 
133
- # A common (service-level) reason for this condition.
133
+ # Output only. A common (service-level) reason for this condition.
134
134
  # Corresponds to the JSON property `reason`
135
135
  # @return [String]
136
136
  attr_accessor :reason
137
137
 
138
- # A reason for the revision condition.
138
+ # Output only. A reason for the revision condition.
139
139
  # Corresponds to the JSON property `revisionReason`
140
140
  # @return [String]
141
141
  attr_accessor :revision_reason
@@ -842,16 +842,17 @@ module Google
842
842
  class GoogleCloudRunV2GrpcAction
843
843
  include Google::Apis::Core::Hashable
844
844
 
845
- # Port number of the gRPC service. Number must be in the range 1 to 65535. If
846
- # not specified, defaults to the exposed port of the container, which is the
847
- # value of container.ports[0].containerPort.
845
+ # Optional. Port number of the gRPC service. Number must be in the range 1 to
846
+ # 65535. If not specified, defaults to the exposed port of the container, which
847
+ # is the value of container.ports[0].containerPort.
848
848
  # Corresponds to the JSON property `port`
849
849
  # @return [Fixnum]
850
850
  attr_accessor :port
851
851
 
852
- # Service is the name of the service to place in the gRPC HealthCheckRequest (
853
- # see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this
854
- # is not specified, the default behavior is defined by gRPC.
852
+ # Optional. Service is the name of the service to place in the gRPC
853
+ # HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-
854
+ # checking.md ). If this is not specified, the default behavior is defined by
855
+ # gRPC.
855
856
  # Corresponds to the JSON property `service`
856
857
  # @return [String]
857
858
  attr_accessor :service
@@ -871,19 +872,19 @@ module Google
871
872
  class GoogleCloudRunV2HttpGetAction
872
873
  include Google::Apis::Core::Hashable
873
874
 
874
- # Custom headers to set in the request. HTTP allows repeated headers.
875
+ # Optional. Custom headers to set in the request. HTTP allows repeated headers.
875
876
  # Corresponds to the JSON property `httpHeaders`
876
877
  # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2HttpHeader>]
877
878
  attr_accessor :http_headers
878
879
 
879
- # Path to access on the HTTP server. Defaults to '/'.
880
+ # Optional. Path to access on the HTTP server. Defaults to '/'.
880
881
  # Corresponds to the JSON property `path`
881
882
  # @return [String]
882
883
  attr_accessor :path
883
884
 
884
- # Port number to access on the container. Must be in the range 1 to 65535. If
885
- # not specified, defaults to the exposed port of the container, which is the
886
- # value of container.ports[0].containerPort.
885
+ # Optional. Port number to access on the container. Must be in the range 1 to
886
+ # 65535. If not specified, defaults to the exposed port of the container, which
887
+ # is the value of container.ports[0].containerPort.
887
888
  # Corresponds to the JSON property `port`
888
889
  # @return [Fixnum]
889
890
  attr_accessor :port
@@ -909,7 +910,7 @@ module Google
909
910
  # @return [String]
910
911
  attr_accessor :name
911
912
 
912
- # The header field value
913
+ # Optional. The header field value
913
914
  # Corresponds to the JSON property `value`
914
915
  # @return [String]
915
916
  attr_accessor :value
@@ -1114,6 +1115,13 @@ module Google
1114
1115
  attr_accessor :satisfies_pzs
1115
1116
  alias_method :satisfies_pzs?, :satisfies_pzs
1116
1117
 
1118
+ # A unique string used as a suffix creating a new execution. The Job will become
1119
+ # ready when the execution is successfully started. The sum of job name and
1120
+ # token length must be fewer than 63 characters.
1121
+ # Corresponds to the JSON property `startExecutionToken`
1122
+ # @return [String]
1123
+ attr_accessor :start_execution_token
1124
+
1117
1125
  # ExecutionTemplate describes the data an execution should have when created
1118
1126
  # from a template.
1119
1127
  # Corresponds to the JSON property `template`
@@ -1163,6 +1171,7 @@ module Google
1163
1171
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
1164
1172
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1165
1173
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1174
+ @start_execution_token = args[:start_execution_token] if args.key?(:start_execution_token)
1166
1175
  @template = args[:template] if args.key?(:template)
1167
1176
  @terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
1168
1177
  @uid = args[:uid] if args.key?(:uid)
@@ -1355,25 +1364,25 @@ module Google
1355
1364
  class GoogleCloudRunV2NetworkInterface
1356
1365
  include Google::Apis::Core::Hashable
1357
1366
 
1358
- # The VPC network that the Cloud Run resource will be able to send traffic to.
1359
- # At least one of network or subnetwork must be specified. If both network and
1360
- # subnetwork are specified, the given VPC subnetwork must belong to the given
1361
- # VPC network. If network is not specified, it will be looked up from the
1362
- # subnetwork.
1367
+ # Optional. The VPC network that the Cloud Run resource will be able to send
1368
+ # traffic to. At least one of network or subnetwork must be specified. If both
1369
+ # network and subnetwork are specified, the given VPC subnetwork must belong to
1370
+ # the given VPC network. If network is not specified, it will be looked up from
1371
+ # the subnetwork.
1363
1372
  # Corresponds to the JSON property `network`
1364
1373
  # @return [String]
1365
1374
  attr_accessor :network
1366
1375
 
1367
- # The VPC subnetwork that the Cloud Run resource will get IPs from. At least one
1368
- # of network or subnetwork must be specified. If both network and subnetwork are
1369
- # specified, the given VPC subnetwork must belong to the given VPC network. If
1370
- # subnetwork is not specified, the subnetwork with the same name with the
1371
- # network will be used.
1376
+ # Optional. The VPC subnetwork that the Cloud Run resource will get IPs from. At
1377
+ # least one of network or subnetwork must be specified. If both network and
1378
+ # subnetwork are specified, the given VPC subnetwork must belong to the given
1379
+ # VPC network. If subnetwork is not specified, the subnetwork with the same name
1380
+ # with the network will be used.
1372
1381
  # Corresponds to the JSON property `subnetwork`
1373
1382
  # @return [String]
1374
1383
  attr_accessor :subnetwork
1375
1384
 
1376
- # Network tags applied to this Cloud Run resource.
1385
+ # Optional. Network tags applied to this Cloud Run resource.
1377
1386
  # Corresponds to the JSON property `tags`
1378
1387
  # @return [Array<String>]
1379
1388
  attr_accessor :tags
@@ -1390,6 +1399,25 @@ module Google
1390
1399
  end
1391
1400
  end
1392
1401
 
1402
+ # Hardware constraints configuration.
1403
+ class GoogleCloudRunV2NodeSelector
1404
+ include Google::Apis::Core::Hashable
1405
+
1406
+ # Required. GPU accelerator type to attach to an instance.
1407
+ # Corresponds to the JSON property `accelerator`
1408
+ # @return [String]
1409
+ attr_accessor :accelerator
1410
+
1411
+ def initialize(**args)
1412
+ update!(**args)
1413
+ end
1414
+
1415
+ # Update properties of this object
1416
+ def update!(**args)
1417
+ @accelerator = args[:accelerator] if args.key?(:accelerator)
1418
+ end
1419
+ end
1420
+
1393
1421
  # RunJob Overrides that contains Execution fields to be overridden.
1394
1422
  class GoogleCloudRunV2Overrides
1395
1423
  include Google::Apis::Core::Hashable
@@ -1429,8 +1457,8 @@ module Google
1429
1457
  class GoogleCloudRunV2Probe
1430
1458
  include Google::Apis::Core::Hashable
1431
1459
 
1432
- # Minimum consecutive failures for the probe to be considered failed after
1433
- # having succeeded. Defaults to 3. Minimum value is 1.
1460
+ # Optional. Minimum consecutive failures for the probe to be considered failed
1461
+ # after having succeeded. Defaults to 3. Minimum value is 1.
1434
1462
  # Corresponds to the JSON property `failureThreshold`
1435
1463
  # @return [Fixnum]
1436
1464
  attr_accessor :failure_threshold
@@ -1445,16 +1473,16 @@ module Google
1445
1473
  # @return [Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction]
1446
1474
  attr_accessor :http_get
1447
1475
 
1448
- # Number of seconds after the container has started before the probe is
1449
- # initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for
1476
+ # Optional. Number of seconds after the container has started before the probe
1477
+ # is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for
1450
1478
  # liveness probe is 3600. Maximum value for startup probe is 240.
1451
1479
  # Corresponds to the JSON property `initialDelaySeconds`
1452
1480
  # @return [Fixnum]
1453
1481
  attr_accessor :initial_delay_seconds
1454
1482
 
1455
- # How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
1456
- # value is 1. Maximum value for liveness probe is 3600. Maximum value for
1457
- # startup probe is 240. Must be greater or equal than timeout_seconds.
1483
+ # Optional. How often (in seconds) to perform the probe. Default to 10 seconds.
1484
+ # Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value
1485
+ # for startup probe is 240. Must be greater or equal than timeout_seconds.
1458
1486
  # Corresponds to the JSON property `periodSeconds`
1459
1487
  # @return [Fixnum]
1460
1488
  attr_accessor :period_seconds
@@ -1464,8 +1492,9 @@ module Google
1464
1492
  # @return [Google::Apis::RunV2::GoogleCloudRunV2TcpSocketAction]
1465
1493
  attr_accessor :tcp_socket
1466
1494
 
1467
- # Number of seconds after which the probe times out. Defaults to 1 second.
1468
- # Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
1495
+ # Optional. Number of seconds after which the probe times out. Defaults to 1
1496
+ # second. Minimum value is 1. Maximum value is 3600. Must be smaller than
1497
+ # period_seconds.
1469
1498
  # Corresponds to the JSON property `timeoutSeconds`
1470
1499
  # @return [Fixnum]
1471
1500
  attr_accessor :timeout_seconds
@@ -1639,6 +1668,11 @@ module Google
1639
1668
  # @return [String]
1640
1669
  attr_accessor :name
1641
1670
 
1671
+ # Hardware constraints configuration.
1672
+ # Corresponds to the JSON property `nodeSelector`
1673
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2NodeSelector]
1674
+ attr_accessor :node_selector
1675
+
1642
1676
  # Output only. The generation of this Revision currently serving traffic. See
1643
1677
  # comments in `reconciling` for additional information on reconciliation process
1644
1678
  # in Cloud Run.
@@ -1739,6 +1773,7 @@ module Google
1739
1773
  @log_uri = args[:log_uri] if args.key?(:log_uri)
1740
1774
  @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
1741
1775
  @name = args[:name] if args.key?(:name)
1776
+ @node_selector = args[:node_selector] if args.key?(:node_selector)
1742
1777
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
1743
1778
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1744
1779
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@@ -1759,12 +1794,12 @@ module Google
1759
1794
  class GoogleCloudRunV2RevisionScaling
1760
1795
  include Google::Apis::Core::Hashable
1761
1796
 
1762
- # Maximum number of serving instances that this resource should have.
1797
+ # Optional. Maximum number of serving instances that this resource should have.
1763
1798
  # Corresponds to the JSON property `maxInstanceCount`
1764
1799
  # @return [Fixnum]
1765
1800
  attr_accessor :max_instance_count
1766
1801
 
1767
- # Minimum number of serving instances that this resource should have.
1802
+ # Optional. Minimum number of serving instances that this resource should have.
1768
1803
  # Corresponds to the JSON property `minInstanceCount`
1769
1804
  # @return [Fixnum]
1770
1805
  attr_accessor :min_instance_count
@@ -1804,10 +1839,10 @@ module Google
1804
1839
  class GoogleCloudRunV2RevisionTemplate
1805
1840
  include Google::Apis::Core::Hashable
1806
1841
 
1807
- # Unstructured key value map that may be set by external tools to store and
1808
- # arbitrary metadata. They are not queryable and should be preserved when
1809
- # modifying objects. Cloud Run API v2 does not support annotations with `run.
1810
- # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1842
+ # Optional. Unstructured key value map that may be set by external tools to
1843
+ # store and arbitrary metadata. They are not queryable and should be preserved
1844
+ # when modifying objects. Cloud Run API v2 does not support annotations with `
1845
+ # run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1811
1846
  # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1812
1847
  # annotations in v1 now have a corresponding field in v2 RevisionTemplate. This
1813
1848
  # field follows Kubernetes annotations' namespacing, limits, and rules.
@@ -1828,7 +1863,7 @@ module Google
1828
1863
  # @return [String]
1829
1864
  attr_accessor :encryption_key
1830
1865
 
1831
- # The sandbox environment to host this Revision.
1866
+ # Optional. The sandbox environment to host this Revision.
1832
1867
  # Corresponds to the JSON property `executionEnvironment`
1833
1868
  # @return [String]
1834
1869
  attr_accessor :execution_environment
@@ -1839,26 +1874,32 @@ module Google
1839
1874
  attr_accessor :health_check_disabled
1840
1875
  alias_method :health_check_disabled?, :health_check_disabled
1841
1876
 
1842
- # Unstructured key value map that can be used to organize and categorize objects.
1843
- # User-provided labels are shared with Google's billing system, so they can be
1844
- # used to filter, or break down billing charges by team, component, environment,
1845
- # state, etc. For more information, visit https://cloud.google.com/resource-
1846
- # manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/
1847
- # configuring/labels. Cloud Run API v2 does not support labels with `run.
1848
- # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1849
- # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1850
- # labels in v1 now have a corresponding field in v2 RevisionTemplate.
1877
+ # Optional. Unstructured key value map that can be used to organize and
1878
+ # categorize objects. User-provided labels are shared with Google's billing
1879
+ # system, so they can be used to filter, or break down billing charges by team,
1880
+ # component, environment, state, etc. For more information, visit https://cloud.
1881
+ # google.com/resource-manager/docs/creating-managing-labels or https://cloud.
1882
+ # google.com/run/docs/configuring/labels. Cloud Run API v2 does not support
1883
+ # labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`
1884
+ # , or `autoscaling.knative.dev` namespaces, and they will be rejected. All
1885
+ # system labels in v1 now have a corresponding field in v2 RevisionTemplate.
1851
1886
  # Corresponds to the JSON property `labels`
1852
1887
  # @return [Hash<String,String>]
1853
1888
  attr_accessor :labels
1854
1889
 
1855
- # Sets the maximum number of requests that each serving instance can receive.
1890
+ # Optional. Sets the maximum number of requests that each serving instance can
1891
+ # receive.
1856
1892
  # Corresponds to the JSON property `maxInstanceRequestConcurrency`
1857
1893
  # @return [Fixnum]
1858
1894
  attr_accessor :max_instance_request_concurrency
1859
1895
 
1860
- # The unique name for the revision. If this field is omitted, it will be
1861
- # automatically generated based on the Service name.
1896
+ # Hardware constraints configuration.
1897
+ # Corresponds to the JSON property `nodeSelector`
1898
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2NodeSelector]
1899
+ attr_accessor :node_selector
1900
+
1901
+ # Optional. The unique name for the revision. If this field is omitted, it will
1902
+ # be automatically generated based on the Service name.
1862
1903
  # Corresponds to the JSON property `revision`
1863
1904
  # @return [String]
1864
1905
  attr_accessor :revision
@@ -1868,10 +1909,10 @@ module Google
1868
1909
  # @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
1869
1910
  attr_accessor :scaling
1870
1911
 
1871
- # Email address of the IAM service account associated with the revision of the
1872
- # service. The service account represents the identity of the running revision,
1873
- # and determines what permissions the revision has. If not provided, the
1874
- # revision will use the project's default service account.
1912
+ # Optional. Email address of the IAM service account associated with the
1913
+ # revision of the service. The service account represents the identity of the
1914
+ # running revision, and determines what permissions the revision has. If not
1915
+ # provided, the revision will use the project's default service account.
1875
1916
  # Corresponds to the JSON property `serviceAccount`
1876
1917
  # @return [String]
1877
1918
  attr_accessor :service_account
@@ -1882,12 +1923,12 @@ module Google
1882
1923
  attr_accessor :session_affinity
1883
1924
  alias_method :session_affinity?, :session_affinity
1884
1925
 
1885
- # Max allowed time for an instance to respond to a request.
1926
+ # Optional. Max allowed time for an instance to respond to a request.
1886
1927
  # Corresponds to the JSON property `timeout`
1887
1928
  # @return [String]
1888
1929
  attr_accessor :timeout
1889
1930
 
1890
- # A list of Volumes to make available to containers.
1931
+ # Optional. A list of Volumes to make available to containers.
1891
1932
  # Corresponds to the JSON property `volumes`
1892
1933
  # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
1893
1934
  attr_accessor :volumes
@@ -1911,6 +1952,7 @@ module Google
1911
1952
  @health_check_disabled = args[:health_check_disabled] if args.key?(:health_check_disabled)
1912
1953
  @labels = args[:labels] if args.key?(:labels)
1913
1954
  @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
1955
+ @node_selector = args[:node_selector] if args.key?(:node_selector)
1914
1956
  @revision = args[:revision] if args.key?(:revision)
1915
1957
  @scaling = args[:scaling] if args.key?(:scaling)
1916
1958
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -2131,8 +2173,8 @@ module Google
2131
2173
  # @return [Fixnum]
2132
2174
  attr_accessor :generation
2133
2175
 
2134
- # Provides the ingress settings for this Service. On output, returns the
2135
- # currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
2176
+ # Optional. Provides the ingress settings for this Service. On output, returns
2177
+ # the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
2136
2178
  # revision is active.
2137
2179
  # Corresponds to the JSON property `ingress`
2138
2180
  # @return [String]
@@ -2169,13 +2211,13 @@ module Google
2169
2211
  # @return [String]
2170
2212
  attr_accessor :latest_ready_revision
2171
2213
 
2172
- # The launch stage as defined by [Google Cloud Platform Launch Stages](https://
2173
- # cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and
2174
- # `GA`. If no value is specified, GA is assumed. Set the launch stage to a
2175
- # preview stage on input to allow use of preview features in that stage. On read
2176
- # (or output), describes whether the resource uses preview features. For example,
2177
- # if ALPHA is provided as input, but only BETA and GA-level features are used,
2178
- # this field will be BETA on output.
2214
+ # Optional. The launch stage as defined by [Google Cloud Platform Launch Stages](
2215
+ # https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `
2216
+ # BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage
2217
+ # to a preview stage on input to allow use of preview features in that stage. On
2218
+ # read (or output), describes whether the resource uses preview features. For
2219
+ # example, if ALPHA is provided as input, but only BETA and GA-level features
2220
+ # are used, this field will be BETA on output.
2179
2221
  # Corresponds to the JSON property `launchStage`
2180
2222
  # @return [String]
2181
2223
  attr_accessor :launch_stage
@@ -2242,9 +2284,9 @@ module Google
2242
2284
  # @return [Google::Apis::RunV2::GoogleCloudRunV2Condition]
2243
2285
  attr_accessor :terminal_condition
2244
2286
 
2245
- # Specifies how to distribute traffic over a collection of Revisions belonging
2246
- # to the Service. If traffic is empty or not provided, defaults to 100% traffic
2247
- # to the latest `Ready` Revision.
2287
+ # Optional. Specifies how to distribute traffic over a collection of Revisions
2288
+ # belonging to the Service. If traffic is empty or not provided, defaults to 100%
2289
+ # traffic to the latest `Ready` Revision.
2248
2290
  # Corresponds to the JSON property `traffic`
2249
2291
  # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget>]
2250
2292
  attr_accessor :traffic
@@ -2318,9 +2360,9 @@ module Google
2318
2360
  class GoogleCloudRunV2ServiceScaling
2319
2361
  include Google::Apis::Core::Hashable
2320
2362
 
2321
- # total min instances for the service. This number of instances is divided among
2322
- # all revisions with specified traffic based on the percent of traffic they are
2323
- # receiving. (BETA)
2363
+ # Optional. total min instances for the service. This number of instances is
2364
+ # divided among all revisions with specified traffic based on the percent of
2365
+ # traffic they are receiving. (BETA)
2324
2366
  # Corresponds to the JSON property `minInstanceCount`
2325
2367
  # @return [Fixnum]
2326
2368
  attr_accessor :min_instance_count
@@ -2339,9 +2381,9 @@ module Google
2339
2381
  class GoogleCloudRunV2TcpSocketAction
2340
2382
  include Google::Apis::Core::Hashable
2341
2383
 
2342
- # Port number to access on the container. Must be in the range 1 to 65535. If
2343
- # not specified, defaults to the exposed port of the container, which is the
2344
- # value of container.ports[0].containerPort.
2384
+ # Optional. Port number to access on the container. Must be in the range 1 to
2385
+ # 65535. If not specified, defaults to the exposed port of the container, which
2386
+ # is the value of container.ports[0].containerPort.
2345
2387
  # Corresponds to the JSON property `port`
2346
2388
  # @return [Fixnum]
2347
2389
  attr_accessor :port
@@ -2636,7 +2678,7 @@ module Google
2636
2678
  # @return [String]
2637
2679
  attr_accessor :encryption_key
2638
2680
 
2639
- # The execution environment being used to host this Task.
2681
+ # Optional. The execution environment being used to host this Task.
2640
2682
  # Corresponds to the JSON property `executionEnvironment`
2641
2683
  # @return [String]
2642
2684
  attr_accessor :execution_environment
@@ -2647,23 +2689,23 @@ module Google
2647
2689
  # @return [Fixnum]
2648
2690
  attr_accessor :max_retries
2649
2691
 
2650
- # Email address of the IAM service account associated with the Task of a Job.
2651
- # The service account represents the identity of the running task, and
2692
+ # Optional. Email address of the IAM service account associated with the Task of
2693
+ # a Job. The service account represents the identity of the running task, and
2652
2694
  # determines what permissions the task has. If not provided, the task will use
2653
2695
  # the project's default service account.
2654
2696
  # Corresponds to the JSON property `serviceAccount`
2655
2697
  # @return [String]
2656
2698
  attr_accessor :service_account
2657
2699
 
2658
- # Max allowed time duration the Task may be active before the system will
2659
- # actively try to mark it failed and kill associated containers. This applies
2660
- # per attempt of a task, meaning each retry can run for the full timeout.
2700
+ # Optional. Max allowed time duration the Task may be active before the system
2701
+ # will actively try to mark it failed and kill associated containers. This
2702
+ # applies per attempt of a task, meaning each retry can run for the full timeout.
2661
2703
  # Defaults to 600 seconds.
2662
2704
  # Corresponds to the JSON property `timeout`
2663
2705
  # @return [String]
2664
2706
  attr_accessor :timeout
2665
2707
 
2666
- # A list of Volumes to make available to containers.
2708
+ # Optional. A list of Volumes to make available to containers.
2667
2709
  # Corresponds to the JSON property `volumes`
2668
2710
  # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
2669
2711
  attr_accessor :volumes
@@ -2913,14 +2955,14 @@ module Google
2913
2955
  # @return [String]
2914
2956
  attr_accessor :connector
2915
2957
 
2916
- # Traffic VPC egress settings. If not provided, it defaults to
2958
+ # Optional. Traffic VPC egress settings. If not provided, it defaults to
2917
2959
  # PRIVATE_RANGES_ONLY.
2918
2960
  # Corresponds to the JSON property `egress`
2919
2961
  # @return [String]
2920
2962
  attr_accessor :egress
2921
2963
 
2922
- # Direct VPC egress settings. Currently only single network interface is
2923
- # supported.
2964
+ # Optional. Direct VPC egress settings. Currently only single network interface
2965
+ # is supported.
2924
2966
  # Corresponds to the JSON property `networkInterfaces`
2925
2967
  # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2NetworkInterface>]
2926
2968
  attr_accessor :network_interfaces
@@ -3154,6 +3196,11 @@ module Google
3154
3196
  # @return [String]
3155
3197
  attr_accessor :finish_time
3156
3198
 
3199
+ # GitConfig is a configuration for git operations.
3200
+ # Corresponds to the JSON property `gitConfig`
3201
+ # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitConfig]
3202
+ attr_accessor :git_config
3203
+
3157
3204
  # Output only. Unique identifier of the build.
3158
3205
  # Corresponds to the JSON property `id`
3159
3206
  # @return [String]
@@ -3301,6 +3348,7 @@ module Google
3301
3348
  @create_time = args[:create_time] if args.key?(:create_time)
3302
3349
  @failure_info = args[:failure_info] if args.key?(:failure_info)
3303
3350
  @finish_time = args[:finish_time] if args.key?(:finish_time)
3351
+ @git_config = args[:git_config] if args.key?(:git_config)
3304
3352
  @id = args[:id] if args.key?(:id)
3305
3353
  @images = args[:images] if args.key?(:images)
3306
3354
  @log_url = args[:log_url] if args.key?(:log_url)
@@ -3749,6 +3797,39 @@ module Google
3749
3797
  end
3750
3798
  end
3751
3799
 
3800
+ # This config defines the location of a source through Developer Connect.
3801
+ class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig
3802
+ include Google::Apis::Core::Hashable
3803
+
3804
+ # Required. Directory, relative to the source root, in which to run the build.
3805
+ # Corresponds to the JSON property `dir`
3806
+ # @return [String]
3807
+ attr_accessor :dir
3808
+
3809
+ # Required. The Developer Connect Git repository link, formatted as `projects/*/
3810
+ # locations/*/connections/*/gitRepositoryLink/*`.
3811
+ # Corresponds to the JSON property `gitRepositoryLink`
3812
+ # @return [String]
3813
+ attr_accessor :git_repository_link
3814
+
3815
+ # Required. The revision to fetch from the Git repository such as a branch, a
3816
+ # tag, a commit SHA, or any Git ref.
3817
+ # Corresponds to the JSON property `revision`
3818
+ # @return [String]
3819
+ attr_accessor :revision
3820
+
3821
+ def initialize(**args)
3822
+ update!(**args)
3823
+ end
3824
+
3825
+ # Update properties of this object
3826
+ def update!(**args)
3827
+ @dir = args[:dir] if args.key?(:dir)
3828
+ @git_repository_link = args[:git_repository_link] if args.key?(:git_repository_link)
3829
+ @revision = args[:revision] if args.key?(:revision)
3830
+ end
3831
+ end
3832
+
3752
3833
  # A fatal problem encountered during the execution of the build.
3753
3834
  class GoogleDevtoolsCloudbuildV1FailureInfo
3754
3835
  include Google::Apis::Core::Hashable
@@ -3794,6 +3875,25 @@ module Google
3794
3875
  end
3795
3876
  end
3796
3877
 
3878
+ # GitConfig is a configuration for git operations.
3879
+ class GoogleDevtoolsCloudbuildV1GitConfig
3880
+ include Google::Apis::Core::Hashable
3881
+
3882
+ # HttpConfig is a configuration for HTTP related git operations.
3883
+ # Corresponds to the JSON property `http`
3884
+ # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1HttpConfig]
3885
+ attr_accessor :http
3886
+
3887
+ def initialize(**args)
3888
+ update!(**args)
3889
+ end
3890
+
3891
+ # Update properties of this object
3892
+ def update!(**args)
3893
+ @http = args[:http] if args.key?(:http)
3894
+ end
3895
+ end
3896
+
3797
3897
  # Location of the source in any accessible Git repository.
3798
3898
  class GoogleDevtoolsCloudbuildV1GitSource
3799
3899
  include Google::Apis::Core::Hashable
@@ -3860,6 +3960,26 @@ module Google
3860
3960
  end
3861
3961
  end
3862
3962
 
3963
+ # HttpConfig is a configuration for HTTP related git operations.
3964
+ class GoogleDevtoolsCloudbuildV1HttpConfig
3965
+ include Google::Apis::Core::Hashable
3966
+
3967
+ # SecretVersion resource of the HTTP proxy URL. The proxy URL should be in
3968
+ # format protocol://@]proxyhost[:port].
3969
+ # Corresponds to the JSON property `proxySecretVersionName`
3970
+ # @return [String]
3971
+ attr_accessor :proxy_secret_version_name
3972
+
3973
+ def initialize(**args)
3974
+ update!(**args)
3975
+ end
3976
+
3977
+ # Update properties of this object
3978
+ def update!(**args)
3979
+ @proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
3980
+ end
3981
+ end
3982
+
3863
3983
  # Pairs a set of secret environment variables mapped to encrypted values with
3864
3984
  # the Cloud KMS key to use to decrypt the value.
3865
3985
  class GoogleDevtoolsCloudbuildV1InlineSecret
@@ -4255,6 +4375,11 @@ module Google
4255
4375
  # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ConnectedRepository]
4256
4376
  attr_accessor :connected_repository
4257
4377
 
4378
+ # This config defines the location of a source through Developer Connect.
4379
+ # Corresponds to the JSON property `developerConnectConfig`
4380
+ # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig]
4381
+ attr_accessor :developer_connect_config
4382
+
4258
4383
  # Location of the source in any accessible Git repository.
4259
4384
  # Corresponds to the JSON property `gitSource`
4260
4385
  # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitSource]
@@ -4284,6 +4409,7 @@ module Google
4284
4409
  # Update properties of this object
4285
4410
  def update!(**args)
4286
4411
  @connected_repository = args[:connected_repository] if args.key?(:connected_repository)
4412
+ @developer_connect_config = args[:developer_connect_config] if args.key?(:developer_connect_config)
4287
4413
  @git_source = args[:git_source] if args.key?(:git_source)
4288
4414
  @repo_source = args[:repo_source] if args.key?(:repo_source)
4289
4415
  @storage_source = args[:storage_source] if args.key?(:storage_source)
@@ -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.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240322"
25
+ REVISION = "20240426"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class GoogleCloudRunV2NodeSelector
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class GoogleCloudRunV2Overrides
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -400,6 +406,12 @@ module Google
400
406
  include Google::Apis::Core::JsonObjectSupport
401
407
  end
402
408
 
409
+ class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
403
415
  class GoogleDevtoolsCloudbuildV1FailureInfo
404
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
417
 
@@ -412,6 +424,12 @@ module Google
412
424
  include Google::Apis::Core::JsonObjectSupport
413
425
  end
414
426
 
427
+ class GoogleDevtoolsCloudbuildV1GitConfig
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
415
433
  class GoogleDevtoolsCloudbuildV1GitSource
416
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
435
 
@@ -424,6 +442,12 @@ module Google
424
442
  include Google::Apis::Core::JsonObjectSupport
425
443
  end
426
444
 
445
+ class GoogleDevtoolsCloudbuildV1HttpConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
427
451
  class GoogleDevtoolsCloudbuildV1InlineSecret
428
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
453
 
@@ -892,6 +916,7 @@ module Google
892
916
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
893
917
  property :reconciling, as: 'reconciling'
894
918
  property :satisfies_pzs, as: 'satisfiesPzs'
919
+ property :start_execution_token, as: 'startExecutionToken'
895
920
  property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2ExecutionTemplate::Representation
896
921
 
897
922
  property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
@@ -971,6 +996,13 @@ module Google
971
996
  end
972
997
  end
973
998
 
999
+ class GoogleCloudRunV2NodeSelector
1000
+ # @private
1001
+ class Representation < Google::Apis::Core::JsonRepresentation
1002
+ property :accelerator, as: 'accelerator'
1003
+ end
1004
+ end
1005
+
974
1006
  class GoogleCloudRunV2Overrides
975
1007
  # @private
976
1008
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1028,6 +1060,8 @@ module Google
1028
1060
  property :log_uri, as: 'logUri'
1029
1061
  property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
1030
1062
  property :name, as: 'name'
1063
+ property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1064
+
1031
1065
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
1032
1066
  property :reconciling, as: 'reconciling'
1033
1067
  property :satisfies_pzs, as: 'satisfiesPzs'
@@ -1074,6 +1108,8 @@ module Google
1074
1108
  property :health_check_disabled, as: 'healthCheckDisabled'
1075
1109
  hash :labels, as: 'labels'
1076
1110
  property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
1111
+ property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1112
+
1077
1113
  property :revision, as: 'revision'
1078
1114
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
1079
1115
 
@@ -1364,6 +1400,8 @@ module Google
1364
1400
  property :failure_info, as: 'failureInfo', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FailureInfo, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FailureInfo::Representation
1365
1401
 
1366
1402
  property :finish_time, as: 'finishTime'
1403
+ property :git_config, as: 'gitConfig', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitConfig, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitConfig::Representation
1404
+
1367
1405
  property :id, as: 'id'
1368
1406
  collection :images, as: 'images'
1369
1407
  property :log_url, as: 'logUrl'
@@ -1485,6 +1523,15 @@ module Google
1485
1523
  end
1486
1524
  end
1487
1525
 
1526
+ class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig
1527
+ # @private
1528
+ class Representation < Google::Apis::Core::JsonRepresentation
1529
+ property :dir, as: 'dir'
1530
+ property :git_repository_link, as: 'gitRepositoryLink'
1531
+ property :revision, as: 'revision'
1532
+ end
1533
+ end
1534
+
1488
1535
  class GoogleDevtoolsCloudbuildV1FailureInfo
1489
1536
  # @private
1490
1537
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1501,6 +1548,14 @@ module Google
1501
1548
  end
1502
1549
  end
1503
1550
 
1551
+ class GoogleDevtoolsCloudbuildV1GitConfig
1552
+ # @private
1553
+ class Representation < Google::Apis::Core::JsonRepresentation
1554
+ property :http, as: 'http', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1HttpConfig, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1HttpConfig::Representation
1555
+
1556
+ end
1557
+ end
1558
+
1504
1559
  class GoogleDevtoolsCloudbuildV1GitSource
1505
1560
  # @private
1506
1561
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1518,6 +1573,13 @@ module Google
1518
1573
  end
1519
1574
  end
1520
1575
 
1576
+ class GoogleDevtoolsCloudbuildV1HttpConfig
1577
+ # @private
1578
+ class Representation < Google::Apis::Core::JsonRepresentation
1579
+ property :proxy_secret_version_name, as: 'proxySecretVersionName'
1580
+ end
1581
+ end
1582
+
1521
1583
  class GoogleDevtoolsCloudbuildV1InlineSecret
1522
1584
  # @private
1523
1585
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1625,6 +1687,8 @@ module Google
1625
1687
  class Representation < Google::Apis::Core::JsonRepresentation
1626
1688
  property :connected_repository, as: 'connectedRepository', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ConnectedRepository, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ConnectedRepository::Representation
1627
1689
 
1690
+ property :developer_connect_config, as: 'developerConnectConfig', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig::Representation
1691
+
1628
1692
  property :git_source, as: 'gitSource', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitSource::Representation
1629
1693
 
1630
1694
  property :repo_source, as: 'repoSource', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1RepoSource::Representation
@@ -363,9 +363,9 @@ module Google
363
363
  # location`/jobs/`job`
364
364
  # @param [Google::Apis::RunV2::GoogleCloudRunV2Job] google_cloud_run_v2_job_object
365
365
  # @param [Boolean] allow_missing
366
- # If set to true, and if the Job does not exist, it will create a new one.
367
- # Caller must have both create and update permissions for this call if this is
368
- # set to true.
366
+ # Optional. If set to true, and if the Job does not exist, it will create a new
367
+ # one. Caller must have both create and update permissions for this call if this
368
+ # is set to true.
369
369
  # @param [Boolean] validate_only
370
370
  # Indicates that the request should be validated and default values populated,
371
371
  # without persisting the request or updating any resources.
@@ -1127,9 +1127,9 @@ module Google
1127
1127
  # location`/services/`service_id`
1128
1128
  # @param [Google::Apis::RunV2::GoogleCloudRunV2Service] google_cloud_run_v2_service_object
1129
1129
  # @param [Boolean] allow_missing
1130
- # If set to true, and if the Service does not exist, it will create a new one.
1131
- # The caller must have 'run.services.create' permissions if this is set to true
1132
- # and the Service does not exist.
1130
+ # Optional. If set to true, and if the Service does not exist, it will create a
1131
+ # new one. The caller must have 'run.services.create' permissions if this is set
1132
+ # to true and the Service does not exist.
1133
1133
  # @param [String] update_mask
1134
1134
  # Optional. The list of fields to be updated.
1135
1135
  # @param [Boolean] validate_only
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.61.0
4
+ version: 0.63.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: 2024-03-31 00:00:00.000000000 Z
11
+ date: 2024-05-05 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.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.63.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: []