google-apis-run_v2 0.46.0 → 0.48.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 +8 -0
- data/lib/google/apis/run_v2/classes.rb +68 -22
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +18 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f28405522d81346dba74952a8f86e0d29b6b15bdd198d083683348ca3949844
|
4
|
+
data.tar.gz: 65216247816285d03b2a8ba98e6bbe6aec06c5f18641494676405dd8e5d0598a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a88c19b545c36b8b15113ce9e812ff13571e2d76cee1a544bdadf929744d427c93f3f39817082941989922535c7aa79664b70ece7c5daf22047ca54848eecfea
|
7
|
+
data.tar.gz: 634e9760425c9fdb1fa0b32745662f8f31b7de98f50bd78bee039017039096e3d6eb74c0de8913ed04dea6452af4b5a923c0d174959d016d06ded1fc6c241755
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.48.0 (2023-09-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230917
|
6
|
+
|
7
|
+
### v0.47.0 (2023-09-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230910
|
10
|
+
|
3
11
|
### v0.46.0 (2023-08-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230806
|
@@ -707,7 +707,7 @@ module Google
|
|
707
707
|
attr_accessor :port
|
708
708
|
|
709
709
|
# Service is the name of the service to place in the gRPC HealthCheckRequest (
|
710
|
-
# see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this
|
710
|
+
# see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If this
|
711
711
|
# is not specified, the default behavior is defined by gRPC.
|
712
712
|
# Corresponds to the JSON property `service`
|
713
713
|
# @return [String]
|
@@ -1119,6 +1119,45 @@ module Google
|
|
1119
1119
|
end
|
1120
1120
|
end
|
1121
1121
|
|
1122
|
+
# Direct VPC egress settings.
|
1123
|
+
class GoogleCloudRunV2NetworkInterface
|
1124
|
+
include Google::Apis::Core::Hashable
|
1125
|
+
|
1126
|
+
# The VPC network that the Cloud Run resource will be able to send traffic to.
|
1127
|
+
# At least one of network or subnetwork must be specified. If both network and
|
1128
|
+
# subnetwork are specified, the given VPC subnetwork must belong to the given
|
1129
|
+
# VPC network. If network is not specified, it will be looked up from the
|
1130
|
+
# subnetwork.
|
1131
|
+
# Corresponds to the JSON property `network`
|
1132
|
+
# @return [String]
|
1133
|
+
attr_accessor :network
|
1134
|
+
|
1135
|
+
# The VPC subnetwork that the Cloud Run resource will get IPs from. At least one
|
1136
|
+
# of network or subnetwork must be specified. If both network and subnetwork are
|
1137
|
+
# specified, the given VPC subnetwork must belong to the given VPC network. If
|
1138
|
+
# subnetwork is not specified, the subnetwork with the same name with the
|
1139
|
+
# network will be used.
|
1140
|
+
# Corresponds to the JSON property `subnetwork`
|
1141
|
+
# @return [String]
|
1142
|
+
attr_accessor :subnetwork
|
1143
|
+
|
1144
|
+
# Network tags applied to this Cloud Run resource.
|
1145
|
+
# Corresponds to the JSON property `tags`
|
1146
|
+
# @return [Array<String>]
|
1147
|
+
attr_accessor :tags
|
1148
|
+
|
1149
|
+
def initialize(**args)
|
1150
|
+
update!(**args)
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
# Update properties of this object
|
1154
|
+
def update!(**args)
|
1155
|
+
@network = args[:network] if args.key?(:network)
|
1156
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
1157
|
+
@tags = args[:tags] if args.key?(:tags)
|
1158
|
+
end
|
1159
|
+
end
|
1160
|
+
|
1122
1161
|
# Probe describes a health check to be performed against a container to
|
1123
1162
|
# determine whether it is alive or ready to receive traffic.
|
1124
1163
|
class GoogleCloudRunV2Probe
|
@@ -1398,10 +1437,8 @@ module Google
|
|
1398
1437
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
|
1399
1438
|
attr_accessor :volumes
|
1400
1439
|
|
1401
|
-
# VPC Access settings. For more information on
|
1402
|
-
# https://cloud.google.com/
|
1403
|
-
# information on how to configure Cloud Run with an existing VPC Connector,
|
1404
|
-
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc
|
1440
|
+
# VPC Access settings. For more information on sending traffic to a VPC network,
|
1441
|
+
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
1405
1442
|
# Corresponds to the JSON property `vpcAccess`
|
1406
1443
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
|
1407
1444
|
attr_accessor :vpc_access
|
@@ -1556,10 +1593,8 @@ module Google
|
|
1556
1593
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
|
1557
1594
|
attr_accessor :volumes
|
1558
1595
|
|
1559
|
-
# VPC Access settings. For more information on
|
1560
|
-
# https://cloud.google.com/
|
1561
|
-
# information on how to configure Cloud Run with an existing VPC Connector,
|
1562
|
-
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc
|
1596
|
+
# VPC Access settings. For more information on sending traffic to a VPC network,
|
1597
|
+
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
1563
1598
|
# Corresponds to the JSON property `vpcAccess`
|
1564
1599
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
|
1565
1600
|
attr_accessor :vpc_access
|
@@ -2128,6 +2163,13 @@ module Google
|
|
2128
2163
|
attr_accessor :satisfies_pzs
|
2129
2164
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
2130
2165
|
|
2166
|
+
# Output only. Represents time when the task was scheduled to run by the system.
|
2167
|
+
# It is not guaranteed to be set in happens-before order across separate
|
2168
|
+
# operations.
|
2169
|
+
# Corresponds to the JSON property `scheduledTime`
|
2170
|
+
# @return [String]
|
2171
|
+
attr_accessor :scheduled_time
|
2172
|
+
|
2131
2173
|
# Email address of the IAM service account associated with the Task of a Job.
|
2132
2174
|
# The service account represents the identity of the running task, and
|
2133
2175
|
# determines what permissions the task has. If not provided, the task will use
|
@@ -2165,10 +2207,8 @@ module Google
|
|
2165
2207
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
|
2166
2208
|
attr_accessor :volumes
|
2167
2209
|
|
2168
|
-
# VPC Access settings. For more information on
|
2169
|
-
# https://cloud.google.com/
|
2170
|
-
# information on how to configure Cloud Run with an existing VPC Connector,
|
2171
|
-
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc
|
2210
|
+
# VPC Access settings. For more information on sending traffic to a VPC network,
|
2211
|
+
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
2172
2212
|
# Corresponds to the JSON property `vpcAccess`
|
2173
2213
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
|
2174
2214
|
attr_accessor :vpc_access
|
@@ -2202,6 +2242,7 @@ module Google
|
|
2202
2242
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
2203
2243
|
@retried = args[:retried] if args.key?(:retried)
|
2204
2244
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
2245
|
+
@scheduled_time = args[:scheduled_time] if args.key?(:scheduled_time)
|
2205
2246
|
@service_account = args[:service_account] if args.key?(:service_account)
|
2206
2247
|
@start_time = args[:start_time] if args.key?(:start_time)
|
2207
2248
|
@timeout = args[:timeout] if args.key?(:timeout)
|
@@ -2293,10 +2334,8 @@ module Google
|
|
2293
2334
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
|
2294
2335
|
attr_accessor :volumes
|
2295
2336
|
|
2296
|
-
# VPC Access settings. For more information on
|
2297
|
-
# https://cloud.google.com/
|
2298
|
-
# information on how to configure Cloud Run with an existing VPC Connector,
|
2299
|
-
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc
|
2337
|
+
# VPC Access settings. For more information on sending traffic to a VPC network,
|
2338
|
+
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
2300
2339
|
# Corresponds to the JSON property `vpcAccess`
|
2301
2340
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
|
2302
2341
|
attr_accessor :vpc_access
|
@@ -2515,15 +2554,15 @@ module Google
|
|
2515
2554
|
end
|
2516
2555
|
end
|
2517
2556
|
|
2518
|
-
# VPC Access settings. For more information on
|
2519
|
-
# https://cloud.google.com/
|
2520
|
-
# information on how to configure Cloud Run with an existing VPC Connector,
|
2521
|
-
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc
|
2557
|
+
# VPC Access settings. For more information on sending traffic to a VPC network,
|
2558
|
+
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
|
2522
2559
|
class GoogleCloudRunV2VpcAccess
|
2523
2560
|
include Google::Apis::Core::Hashable
|
2524
2561
|
|
2525
2562
|
# VPC Access connector name. Format: projects/`project`/locations/`location`/
|
2526
|
-
# connectors/`connector`, where `project` can be project id or number.
|
2563
|
+
# connectors/`connector`, where `project` can be project id or number. For more
|
2564
|
+
# information on sending traffic to a VPC network via a connector, visit https://
|
2565
|
+
# cloud.google.com/run/docs/configuring/vpc-connectors.
|
2527
2566
|
# Corresponds to the JSON property `connector`
|
2528
2567
|
# @return [String]
|
2529
2568
|
attr_accessor :connector
|
@@ -2534,6 +2573,12 @@ module Google
|
|
2534
2573
|
# @return [String]
|
2535
2574
|
attr_accessor :egress
|
2536
2575
|
|
2576
|
+
# Direct VPC egress settings. Currently only single network interface is
|
2577
|
+
# supported.
|
2578
|
+
# Corresponds to the JSON property `networkInterfaces`
|
2579
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2NetworkInterface>]
|
2580
|
+
attr_accessor :network_interfaces
|
2581
|
+
|
2537
2582
|
def initialize(**args)
|
2538
2583
|
update!(**args)
|
2539
2584
|
end
|
@@ -2542,6 +2587,7 @@ module Google
|
|
2542
2587
|
def update!(**args)
|
2543
2588
|
@connector = args[:connector] if args.key?(:connector)
|
2544
2589
|
@egress = args[:egress] if args.key?(:egress)
|
2590
|
+
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
2545
2591
|
end
|
2546
2592
|
end
|
2547
2593
|
|
@@ -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.48.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 = "
|
25
|
+
REVISION = "20230917"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -148,6 +148,12 @@ module Google
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
+
class GoogleCloudRunV2NetworkInterface
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
151
157
|
class GoogleCloudRunV2Probe
|
152
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
159
|
|
@@ -597,6 +603,15 @@ module Google
|
|
597
603
|
end
|
598
604
|
end
|
599
605
|
|
606
|
+
class GoogleCloudRunV2NetworkInterface
|
607
|
+
# @private
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
609
|
+
property :network, as: 'network'
|
610
|
+
property :subnetwork, as: 'subnetwork'
|
611
|
+
collection :tags, as: 'tags'
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
600
615
|
class GoogleCloudRunV2Probe
|
601
616
|
# @private
|
602
617
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -798,6 +813,7 @@ module Google
|
|
798
813
|
property :reconciling, as: 'reconciling'
|
799
814
|
property :retried, as: 'retried'
|
800
815
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
816
|
+
property :scheduled_time, as: 'scheduledTime'
|
801
817
|
property :service_account, as: 'serviceAccount'
|
802
818
|
property :start_time, as: 'startTime'
|
803
819
|
property :timeout, as: 'timeout'
|
@@ -892,6 +908,8 @@ module Google
|
|
892
908
|
class Representation < Google::Apis::Core::JsonRepresentation
|
893
909
|
property :connector, as: 'connector'
|
894
910
|
property :egress, as: 'egress'
|
911
|
+
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::RunV2::GoogleCloudRunV2NetworkInterface, decorator: Google::Apis::RunV2::GoogleCloudRunV2NetworkInterface::Representation
|
912
|
+
|
895
913
|
end
|
896
914
|
end
|
897
915
|
|
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.
|
4
|
+
version: 0.48.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-
|
11
|
+
date: 2023-09-24 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
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.48.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Run Admin API V2
|