google-apis-networkmanagement_v1beta1 0.49.0 → 0.50.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 +5 -0
- data/lib/google/apis/networkmanagement_v1beta1/classes.rb +345 -26
- data/lib/google/apis/networkmanagement_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/networkmanagement_v1beta1/representations.rb +93 -1
- data/lib/google/apis/networkmanagement_v1beta1/service.rb +194 -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: 6b748678b480911a16420fbd12ca78700a10c23cc3f0d27cedaad908d17f6bcd
|
4
|
+
data.tar.gz: 241e7b07f128986a5e700bcbe5fd607fe767814e48e9e56d207ff726d25b6b0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5de55599bd72bd7c54637c2a65be862b456bf6ee4392a18c995217cbb4edcc046f47179f043fe6ced9297af68272ce8769495b6e5da5af92edd0308e66cc420
|
7
|
+
data.tar.gz: f44632e946e4de0d87b66b2979cfcc091c330785341ebcd439077e3aa4b7f8139b7a0bb8d04df918c0c56cdcf1c1d00d028928a58d9821befa077cfa2abeec60
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-networkmanagement_v1beta1
|
2
2
|
|
3
|
+
### v0.50.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241106
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
3
8
|
### v0.49.0 (2024-06-16)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240605
|
@@ -394,12 +394,6 @@ module Google
|
|
394
394
|
# @return [String]
|
395
395
|
attr_accessor :location
|
396
396
|
|
397
|
-
# ID of Cloud Run Service this revision belongs to. Was never set, is not
|
398
|
-
# exported to v1 proto and public protos. Do not export to v1beta1 public proto.
|
399
|
-
# Corresponds to the JSON property `serviceName`
|
400
|
-
# @return [String]
|
401
|
-
attr_accessor :service_name
|
402
|
-
|
403
397
|
# URI of Cloud Run service this revision belongs to.
|
404
398
|
# Corresponds to the JSON property `serviceUri`
|
405
399
|
# @return [String]
|
@@ -418,7 +412,6 @@ module Google
|
|
418
412
|
def update!(**args)
|
419
413
|
@display_name = args[:display_name] if args.key?(:display_name)
|
420
414
|
@location = args[:location] if args.key?(:location)
|
421
|
-
@service_name = args[:service_name] if args.key?(:service_name)
|
422
415
|
@service_uri = args[:service_uri] if args.key?(:service_uri)
|
423
416
|
@uri = args[:uri] if args.key?(:uri)
|
424
417
|
end
|
@@ -731,8 +724,16 @@ module Google
|
|
731
724
|
# @return [String]
|
732
725
|
attr_accessor :forwarding_rule_target
|
733
726
|
|
734
|
-
#
|
735
|
-
# kubernetes-engine/docs/concepts/cluster-architecture).
|
727
|
+
# DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.
|
728
|
+
# google.com/kubernetes-engine/docs/concepts/cluster-architecture). Requires
|
729
|
+
# gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or
|
730
|
+
# network. Applicable only to destination endpoint.
|
731
|
+
# Corresponds to the JSON property `fqdn`
|
732
|
+
# @return [String]
|
733
|
+
attr_accessor :fqdn
|
734
|
+
|
735
|
+
# A cluster URI for [Google Kubernetes Engine cluster control plane](https://
|
736
|
+
# cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
|
736
737
|
# Corresponds to the JSON property `gkeMasterCluster`
|
737
738
|
# @return [String]
|
738
739
|
attr_accessor :gke_master_cluster
|
@@ -786,6 +787,16 @@ module Google
|
|
786
787
|
# @return [String]
|
787
788
|
attr_accessor :project_id
|
788
789
|
|
790
|
+
# A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.
|
791
|
+
# Corresponds to the JSON property `redisCluster`
|
792
|
+
# @return [String]
|
793
|
+
attr_accessor :redis_cluster
|
794
|
+
|
795
|
+
# A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.
|
796
|
+
# Corresponds to the JSON property `redisInstance`
|
797
|
+
# @return [String]
|
798
|
+
attr_accessor :redis_instance
|
799
|
+
|
789
800
|
def initialize(**args)
|
790
801
|
update!(**args)
|
791
802
|
end
|
@@ -798,6 +809,7 @@ module Google
|
|
798
809
|
@cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
|
799
810
|
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
800
811
|
@forwarding_rule_target = args[:forwarding_rule_target] if args.key?(:forwarding_rule_target)
|
812
|
+
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
801
813
|
@gke_master_cluster = args[:gke_master_cluster] if args.key?(:gke_master_cluster)
|
802
814
|
@instance = args[:instance] if args.key?(:instance)
|
803
815
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
@@ -807,6 +819,8 @@ module Google
|
|
807
819
|
@network_type = args[:network_type] if args.key?(:network_type)
|
808
820
|
@port = args[:port] if args.key?(:port)
|
809
821
|
@project_id = args[:project_id] if args.key?(:project_id)
|
822
|
+
@redis_cluster = args[:redis_cluster] if args.key?(:redis_cluster)
|
823
|
+
@redis_instance = args[:redis_instance] if args.key?(:redis_instance)
|
810
824
|
end
|
811
825
|
end
|
812
826
|
|
@@ -928,7 +942,7 @@ module Google
|
|
928
942
|
end
|
929
943
|
|
930
944
|
# For display only. Metadata associated with a VPC firewall rule, an implied VPC
|
931
|
-
# firewall rule, or a
|
945
|
+
# firewall rule, or a firewall policy rule.
|
932
946
|
class FirewallInfo
|
933
947
|
include Google::Apis::Core::Hashable
|
934
948
|
|
@@ -942,8 +956,8 @@ module Google
|
|
942
956
|
# @return [String]
|
943
957
|
attr_accessor :direction
|
944
958
|
|
945
|
-
# The display name of the
|
946
|
-
#
|
959
|
+
# The display name of the firewall rule. This field might be empty for firewall
|
960
|
+
# policy rules.
|
947
961
|
# Corresponds to the JSON property `displayName`
|
948
962
|
# @return [String]
|
949
963
|
attr_accessor :display_name
|
@@ -959,12 +973,18 @@ module Google
|
|
959
973
|
# @return [String]
|
960
974
|
attr_accessor :network_uri
|
961
975
|
|
962
|
-
# The
|
963
|
-
# is not applicable to VPC firewall rules.
|
976
|
+
# The name of the firewall policy that this rule is associated with. This field
|
977
|
+
# is not applicable to VPC firewall rules and implied VPC firewall rules.
|
964
978
|
# Corresponds to the JSON property `policy`
|
965
979
|
# @return [String]
|
966
980
|
attr_accessor :policy
|
967
981
|
|
982
|
+
# The URI of the firewall policy that this rule is associated with. This field
|
983
|
+
# is not applicable to VPC firewall rules and implied VPC firewall rules.
|
984
|
+
# Corresponds to the JSON property `policyUri`
|
985
|
+
# @return [String]
|
986
|
+
attr_accessor :policy_uri
|
987
|
+
|
968
988
|
# The priority of the firewall rule.
|
969
989
|
# Corresponds to the JSON property `priority`
|
970
990
|
# @return [Fixnum]
|
@@ -976,13 +996,13 @@ module Google
|
|
976
996
|
attr_accessor :target_service_accounts
|
977
997
|
|
978
998
|
# The target tags defined by the VPC firewall rule. This field is not applicable
|
979
|
-
# to
|
999
|
+
# to firewall policy rules.
|
980
1000
|
# Corresponds to the JSON property `targetTags`
|
981
1001
|
# @return [Array<String>]
|
982
1002
|
attr_accessor :target_tags
|
983
1003
|
|
984
|
-
# The URI of the
|
985
|
-
# firewall rules
|
1004
|
+
# The URI of the firewall rule. This field is not applicable to implied VPC
|
1005
|
+
# firewall rules.
|
986
1006
|
# Corresponds to the JSON property `uri`
|
987
1007
|
# @return [String]
|
988
1008
|
attr_accessor :uri
|
@@ -999,6 +1019,7 @@ module Google
|
|
999
1019
|
@firewall_rule_type = args[:firewall_rule_type] if args.key?(:firewall_rule_type)
|
1000
1020
|
@network_uri = args[:network_uri] if args.key?(:network_uri)
|
1001
1021
|
@policy = args[:policy] if args.key?(:policy)
|
1022
|
+
@policy_uri = args[:policy_uri] if args.key?(:policy_uri)
|
1002
1023
|
@priority = args[:priority] if args.key?(:priority)
|
1003
1024
|
@target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
|
1004
1025
|
@target_tags = args[:target_tags] if args.key?(:target_tags)
|
@@ -1132,12 +1153,17 @@ module Google
|
|
1132
1153
|
# @return [String]
|
1133
1154
|
attr_accessor :cluster_uri
|
1134
1155
|
|
1135
|
-
#
|
1156
|
+
# DNS endpoint of a GKE cluster control plane.
|
1157
|
+
# Corresponds to the JSON property `dnsEndpoint`
|
1158
|
+
# @return [String]
|
1159
|
+
attr_accessor :dns_endpoint
|
1160
|
+
|
1161
|
+
# External IP address of a GKE cluster control plane.
|
1136
1162
|
# Corresponds to the JSON property `externalIp`
|
1137
1163
|
# @return [String]
|
1138
1164
|
attr_accessor :external_ip
|
1139
1165
|
|
1140
|
-
# Internal IP address of a GKE cluster
|
1166
|
+
# Internal IP address of a GKE cluster control plane.
|
1141
1167
|
# Corresponds to the JSON property `internalIp`
|
1142
1168
|
# @return [String]
|
1143
1169
|
attr_accessor :internal_ip
|
@@ -1150,6 +1176,7 @@ module Google
|
|
1150
1176
|
def update!(**args)
|
1151
1177
|
@cluster_network_uri = args[:cluster_network_uri] if args.key?(:cluster_network_uri)
|
1152
1178
|
@cluster_uri = args[:cluster_uri] if args.key?(:cluster_uri)
|
1179
|
+
@dns_endpoint = args[:dns_endpoint] if args.key?(:dns_endpoint)
|
1153
1180
|
@external_ip = args[:external_ip] if args.key?(:external_ip)
|
1154
1181
|
@internal_ip = args[:internal_ip] if args.key?(:internal_ip)
|
1155
1182
|
end
|
@@ -1218,6 +1245,11 @@ module Google
|
|
1218
1245
|
# @return [String]
|
1219
1246
|
attr_accessor :network_uri
|
1220
1247
|
|
1248
|
+
# URI of the PSC network attachment the NIC is attached to (if relevant).
|
1249
|
+
# Corresponds to the JSON property `pscNetworkAttachmentUri`
|
1250
|
+
# @return [String]
|
1251
|
+
attr_accessor :psc_network_attachment_uri
|
1252
|
+
|
1221
1253
|
# Service account authorized for the instance.
|
1222
1254
|
# Corresponds to the JSON property `serviceAccount`
|
1223
1255
|
# @return [String]
|
@@ -1240,6 +1272,7 @@ module Google
|
|
1240
1272
|
@internal_ip = args[:internal_ip] if args.key?(:internal_ip)
|
1241
1273
|
@network_tags = args[:network_tags] if args.key?(:network_tags)
|
1242
1274
|
@network_uri = args[:network_uri] if args.key?(:network_uri)
|
1275
|
+
@psc_network_attachment_uri = args[:psc_network_attachment_uri] if args.key?(:psc_network_attachment_uri)
|
1243
1276
|
@service_account = args[:service_account] if args.key?(:service_account)
|
1244
1277
|
@uri = args[:uri] if args.key?(:uri)
|
1245
1278
|
end
|
@@ -1371,6 +1404,37 @@ module Google
|
|
1371
1404
|
end
|
1372
1405
|
end
|
1373
1406
|
|
1407
|
+
# Response for the `ListVpcFlowLogsConfigs` method.
|
1408
|
+
class ListVpcFlowLogsConfigsResponse
|
1409
|
+
include Google::Apis::Core::Hashable
|
1410
|
+
|
1411
|
+
# Page token to fetch the next set of configurations.
|
1412
|
+
# Corresponds to the JSON property `nextPageToken`
|
1413
|
+
# @return [String]
|
1414
|
+
attr_accessor :next_page_token
|
1415
|
+
|
1416
|
+
# Locations that could not be reached (when querying all locations with `-`).
|
1417
|
+
# Corresponds to the JSON property `unreachable`
|
1418
|
+
# @return [Array<String>]
|
1419
|
+
attr_accessor :unreachable
|
1420
|
+
|
1421
|
+
# List of VPC Flow Log configurations.
|
1422
|
+
# Corresponds to the JSON property `vpcFlowLogsConfigs`
|
1423
|
+
# @return [Array<Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig>]
|
1424
|
+
attr_accessor :vpc_flow_logs_configs
|
1425
|
+
|
1426
|
+
def initialize(**args)
|
1427
|
+
update!(**args)
|
1428
|
+
end
|
1429
|
+
|
1430
|
+
# Update properties of this object
|
1431
|
+
def update!(**args)
|
1432
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1433
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1434
|
+
@vpc_flow_logs_configs = args[:vpc_flow_logs_configs] if args.key?(:vpc_flow_logs_configs)
|
1435
|
+
end
|
1436
|
+
end
|
1437
|
+
|
1374
1438
|
# For display only. Metadata associated with a specific load balancer backend.
|
1375
1439
|
class LoadBalancerBackend
|
1376
1440
|
include Google::Apis::Core::Hashable
|
@@ -1679,7 +1743,8 @@ module Google
|
|
1679
1743
|
end
|
1680
1744
|
end
|
1681
1745
|
|
1682
|
-
# For display only. Metadata associated with a Compute Engine network.
|
1746
|
+
# For display only. Metadata associated with a Compute Engine network. Next ID:
|
1747
|
+
# 7
|
1683
1748
|
class NetworkInfo
|
1684
1749
|
include Google::Apis::Core::Hashable
|
1685
1750
|
|
@@ -1688,11 +1753,21 @@ module Google
|
|
1688
1753
|
# @return [String]
|
1689
1754
|
attr_accessor :display_name
|
1690
1755
|
|
1691
|
-
# The IP range
|
1756
|
+
# The IP range of the subnet matching the source IP address of the test.
|
1692
1757
|
# Corresponds to the JSON property `matchedIpRange`
|
1693
1758
|
# @return [String]
|
1694
1759
|
attr_accessor :matched_ip_range
|
1695
1760
|
|
1761
|
+
# URI of the subnet matching the source IP address of the test.
|
1762
|
+
# Corresponds to the JSON property `matchedSubnetUri`
|
1763
|
+
# @return [String]
|
1764
|
+
attr_accessor :matched_subnet_uri
|
1765
|
+
|
1766
|
+
# The region of the subnet matching the source IP address of the test.
|
1767
|
+
# Corresponds to the JSON property `region`
|
1768
|
+
# @return [String]
|
1769
|
+
attr_accessor :region
|
1770
|
+
|
1696
1771
|
# URI of a Compute Engine network.
|
1697
1772
|
# Corresponds to the JSON property `uri`
|
1698
1773
|
# @return [String]
|
@@ -1706,6 +1781,8 @@ module Google
|
|
1706
1781
|
def update!(**args)
|
1707
1782
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1708
1783
|
@matched_ip_range = args[:matched_ip_range] if args.key?(:matched_ip_range)
|
1784
|
+
@matched_subnet_uri = args[:matched_subnet_uri] if args.key?(:matched_subnet_uri)
|
1785
|
+
@region = args[:region] if args.key?(:region)
|
1709
1786
|
@uri = args[:uri] if args.key?(:uri)
|
1710
1787
|
end
|
1711
1788
|
end
|
@@ -2123,6 +2200,107 @@ module Google
|
|
2123
2200
|
end
|
2124
2201
|
end
|
2125
2202
|
|
2203
|
+
# For display only. Metadata associated with a Redis Cluster.
|
2204
|
+
class RedisClusterInfo
|
2205
|
+
include Google::Apis::Core::Hashable
|
2206
|
+
|
2207
|
+
# Discovery endpoint IP address of a Redis Cluster.
|
2208
|
+
# Corresponds to the JSON property `discoveryEndpointIpAddress`
|
2209
|
+
# @return [String]
|
2210
|
+
attr_accessor :discovery_endpoint_ip_address
|
2211
|
+
|
2212
|
+
# Name of a Redis Cluster.
|
2213
|
+
# Corresponds to the JSON property `displayName`
|
2214
|
+
# @return [String]
|
2215
|
+
attr_accessor :display_name
|
2216
|
+
|
2217
|
+
# Name of the region in which the Redis Cluster is defined. For example, "us-
|
2218
|
+
# central1".
|
2219
|
+
# Corresponds to the JSON property `location`
|
2220
|
+
# @return [String]
|
2221
|
+
attr_accessor :location
|
2222
|
+
|
2223
|
+
# URI of a Redis Cluster network in format "projects/`project_id`/global/
|
2224
|
+
# networks/`network_id`".
|
2225
|
+
# Corresponds to the JSON property `networkUri`
|
2226
|
+
# @return [String]
|
2227
|
+
attr_accessor :network_uri
|
2228
|
+
|
2229
|
+
# Secondary endpoint IP address of a Redis Cluster.
|
2230
|
+
# Corresponds to the JSON property `secondaryEndpointIpAddress`
|
2231
|
+
# @return [String]
|
2232
|
+
attr_accessor :secondary_endpoint_ip_address
|
2233
|
+
|
2234
|
+
# URI of a Redis Cluster in format "projects/`project_id`/locations/`location`/
|
2235
|
+
# clusters/`cluster_id`"
|
2236
|
+
# Corresponds to the JSON property `uri`
|
2237
|
+
# @return [String]
|
2238
|
+
attr_accessor :uri
|
2239
|
+
|
2240
|
+
def initialize(**args)
|
2241
|
+
update!(**args)
|
2242
|
+
end
|
2243
|
+
|
2244
|
+
# Update properties of this object
|
2245
|
+
def update!(**args)
|
2246
|
+
@discovery_endpoint_ip_address = args[:discovery_endpoint_ip_address] if args.key?(:discovery_endpoint_ip_address)
|
2247
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2248
|
+
@location = args[:location] if args.key?(:location)
|
2249
|
+
@network_uri = args[:network_uri] if args.key?(:network_uri)
|
2250
|
+
@secondary_endpoint_ip_address = args[:secondary_endpoint_ip_address] if args.key?(:secondary_endpoint_ip_address)
|
2251
|
+
@uri = args[:uri] if args.key?(:uri)
|
2252
|
+
end
|
2253
|
+
end
|
2254
|
+
|
2255
|
+
# For display only. Metadata associated with a Cloud Redis Instance.
|
2256
|
+
class RedisInstanceInfo
|
2257
|
+
include Google::Apis::Core::Hashable
|
2258
|
+
|
2259
|
+
# Name of a Cloud Redis Instance.
|
2260
|
+
# Corresponds to the JSON property `displayName`
|
2261
|
+
# @return [String]
|
2262
|
+
attr_accessor :display_name
|
2263
|
+
|
2264
|
+
# URI of a Cloud Redis Instance network.
|
2265
|
+
# Corresponds to the JSON property `networkUri`
|
2266
|
+
# @return [String]
|
2267
|
+
attr_accessor :network_uri
|
2268
|
+
|
2269
|
+
# Primary endpoint IP address of a Cloud Redis Instance.
|
2270
|
+
# Corresponds to the JSON property `primaryEndpointIp`
|
2271
|
+
# @return [String]
|
2272
|
+
attr_accessor :primary_endpoint_ip
|
2273
|
+
|
2274
|
+
# Read endpoint IP address of a Cloud Redis Instance (if applicable).
|
2275
|
+
# Corresponds to the JSON property `readEndpointIp`
|
2276
|
+
# @return [String]
|
2277
|
+
attr_accessor :read_endpoint_ip
|
2278
|
+
|
2279
|
+
# Region in which the Cloud Redis Instance is defined.
|
2280
|
+
# Corresponds to the JSON property `region`
|
2281
|
+
# @return [String]
|
2282
|
+
attr_accessor :region
|
2283
|
+
|
2284
|
+
# URI of a Cloud Redis Instance.
|
2285
|
+
# Corresponds to the JSON property `uri`
|
2286
|
+
# @return [String]
|
2287
|
+
attr_accessor :uri
|
2288
|
+
|
2289
|
+
def initialize(**args)
|
2290
|
+
update!(**args)
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
# Update properties of this object
|
2294
|
+
def update!(**args)
|
2295
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2296
|
+
@network_uri = args[:network_uri] if args.key?(:network_uri)
|
2297
|
+
@primary_endpoint_ip = args[:primary_endpoint_ip] if args.key?(:primary_endpoint_ip)
|
2298
|
+
@read_endpoint_ip = args[:read_endpoint_ip] if args.key?(:read_endpoint_ip)
|
2299
|
+
@region = args[:region] if args.key?(:region)
|
2300
|
+
@uri = args[:uri] if args.key?(:uri)
|
2301
|
+
end
|
2302
|
+
end
|
2303
|
+
|
2126
2304
|
# Request for the `RerunConnectivityTest` method.
|
2127
2305
|
class RerunConnectivityTestRequest
|
2128
2306
|
include Google::Apis::Core::Hashable
|
@@ -2140,6 +2318,19 @@ module Google
|
|
2140
2318
|
class RouteInfo
|
2141
2319
|
include Google::Apis::Core::Hashable
|
2142
2320
|
|
2321
|
+
# For advertised routes, the URI of their next hop, i.e. the URI of the hybrid
|
2322
|
+
# endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the
|
2323
|
+
# advertised prefix is advertised through, or URI of the source peered network.
|
2324
|
+
# Corresponds to the JSON property `advertisedRouteNextHopUri`
|
2325
|
+
# @return [String]
|
2326
|
+
attr_accessor :advertised_route_next_hop_uri
|
2327
|
+
|
2328
|
+
# For advertised dynamic routes, the URI of the Cloud Router that advertised the
|
2329
|
+
# corresponding IP prefix.
|
2330
|
+
# Corresponds to the JSON property `advertisedRouteSourceRouterUri`
|
2331
|
+
# @return [String]
|
2332
|
+
attr_accessor :advertised_route_source_router_uri
|
2333
|
+
|
2143
2334
|
# Destination IP range of the route.
|
2144
2335
|
# Corresponds to the JSON property `destIpRange`
|
2145
2336
|
# @return [String]
|
@@ -2195,6 +2386,11 @@ module Google
|
|
2195
2386
|
# @return [Array<String>]
|
2196
2387
|
attr_accessor :protocols
|
2197
2388
|
|
2389
|
+
# Region of the route (if applicable).
|
2390
|
+
# Corresponds to the JSON property `region`
|
2391
|
+
# @return [String]
|
2392
|
+
attr_accessor :region
|
2393
|
+
|
2198
2394
|
# Indicates where route is applicable.
|
2199
2395
|
# Corresponds to the JSON property `routeScope`
|
2200
2396
|
# @return [String]
|
@@ -2215,9 +2411,7 @@ module Google
|
|
2215
2411
|
# @return [Array<String>]
|
2216
2412
|
attr_accessor :src_port_ranges
|
2217
2413
|
|
2218
|
-
# URI of a route
|
2219
|
-
# an URI. Advertised route from Google Cloud VPC to on-premises network also
|
2220
|
-
# does not have an URI.
|
2414
|
+
# URI of a route (if applicable).
|
2221
2415
|
# Corresponds to the JSON property `uri`
|
2222
2416
|
# @return [String]
|
2223
2417
|
attr_accessor :uri
|
@@ -2228,6 +2422,8 @@ module Google
|
|
2228
2422
|
|
2229
2423
|
# Update properties of this object
|
2230
2424
|
def update!(**args)
|
2425
|
+
@advertised_route_next_hop_uri = args[:advertised_route_next_hop_uri] if args.key?(:advertised_route_next_hop_uri)
|
2426
|
+
@advertised_route_source_router_uri = args[:advertised_route_source_router_uri] if args.key?(:advertised_route_source_router_uri)
|
2231
2427
|
@dest_ip_range = args[:dest_ip_range] if args.key?(:dest_ip_range)
|
2232
2428
|
@dest_port_ranges = args[:dest_port_ranges] if args.key?(:dest_port_ranges)
|
2233
2429
|
@display_name = args[:display_name] if args.key?(:display_name)
|
@@ -2239,6 +2435,7 @@ module Google
|
|
2239
2435
|
@next_hop_type = args[:next_hop_type] if args.key?(:next_hop_type)
|
2240
2436
|
@priority = args[:priority] if args.key?(:priority)
|
2241
2437
|
@protocols = args[:protocols] if args.key?(:protocols)
|
2438
|
+
@region = args[:region] if args.key?(:region)
|
2242
2439
|
@route_scope = args[:route_scope] if args.key?(:route_scope)
|
2243
2440
|
@route_type = args[:route_type] if args.key?(:route_type)
|
2244
2441
|
@src_ip_range = args[:src_ip_range] if args.key?(:src_ip_range)
|
@@ -2418,7 +2615,7 @@ module Google
|
|
2418
2615
|
attr_accessor :endpoint
|
2419
2616
|
|
2420
2617
|
# For display only. Metadata associated with a VPC firewall rule, an implied VPC
|
2421
|
-
# firewall rule, or a
|
2618
|
+
# firewall rule, or a firewall policy rule.
|
2422
2619
|
# Corresponds to the JSON property `firewall`
|
2423
2620
|
# @return [Google::Apis::NetworkmanagementV1beta1::FirewallInfo]
|
2424
2621
|
attr_accessor :firewall
|
@@ -2468,7 +2665,8 @@ module Google
|
|
2468
2665
|
# @return [Google::Apis::NetworkmanagementV1beta1::NatInfo]
|
2469
2666
|
attr_accessor :nat
|
2470
2667
|
|
2471
|
-
# For display only. Metadata associated with a Compute Engine network.
|
2668
|
+
# For display only. Metadata associated with a Compute Engine network. Next ID:
|
2669
|
+
# 7
|
2472
2670
|
# Corresponds to the JSON property `network`
|
2473
2671
|
# @return [Google::Apis::NetworkmanagementV1beta1::NetworkInfo]
|
2474
2672
|
attr_accessor :network
|
@@ -2483,6 +2681,16 @@ module Google
|
|
2483
2681
|
# @return [Google::Apis::NetworkmanagementV1beta1::ProxyConnectionInfo]
|
2484
2682
|
attr_accessor :proxy_connection
|
2485
2683
|
|
2684
|
+
# For display only. Metadata associated with a Redis Cluster.
|
2685
|
+
# Corresponds to the JSON property `redisCluster`
|
2686
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::RedisClusterInfo]
|
2687
|
+
attr_accessor :redis_cluster
|
2688
|
+
|
2689
|
+
# For display only. Metadata associated with a Cloud Redis Instance.
|
2690
|
+
# Corresponds to the JSON property `redisInstance`
|
2691
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::RedisInstanceInfo]
|
2692
|
+
attr_accessor :redis_instance
|
2693
|
+
|
2486
2694
|
# For display only. Metadata associated with a Compute Engine route.
|
2487
2695
|
# Corresponds to the JSON property `route`
|
2488
2696
|
# @return [Google::Apis::NetworkmanagementV1beta1::RouteInfo]
|
@@ -2547,6 +2755,8 @@ module Google
|
|
2547
2755
|
@network = args[:network] if args.key?(:network)
|
2548
2756
|
@project_id = args[:project_id] if args.key?(:project_id)
|
2549
2757
|
@proxy_connection = args[:proxy_connection] if args.key?(:proxy_connection)
|
2758
|
+
@redis_cluster = args[:redis_cluster] if args.key?(:redis_cluster)
|
2759
|
+
@redis_instance = args[:redis_instance] if args.key?(:redis_instance)
|
2550
2760
|
@route = args[:route] if args.key?(:route)
|
2551
2761
|
@serverless_neg = args[:serverless_neg] if args.key?(:serverless_neg)
|
2552
2762
|
@state = args[:state] if args.key?(:state)
|
@@ -2691,6 +2901,115 @@ module Google
|
|
2691
2901
|
end
|
2692
2902
|
end
|
2693
2903
|
|
2904
|
+
# A configuration to generate VPC Flow Logs.
|
2905
|
+
class VpcFlowLogsConfig
|
2906
|
+
include Google::Apis::Core::Hashable
|
2907
|
+
|
2908
|
+
# Optional. The aggregation interval for the logs. Default value is
|
2909
|
+
# INTERVAL_5_SEC.
|
2910
|
+
# Corresponds to the JSON property `aggregationInterval`
|
2911
|
+
# @return [String]
|
2912
|
+
attr_accessor :aggregation_interval
|
2913
|
+
|
2914
|
+
# Output only. The time the config was created.
|
2915
|
+
# Corresponds to the JSON property `createTime`
|
2916
|
+
# @return [String]
|
2917
|
+
attr_accessor :create_time
|
2918
|
+
|
2919
|
+
# Optional. The user-supplied description of the VPC Flow Logs configuration.
|
2920
|
+
# Maximum of 512 characters.
|
2921
|
+
# Corresponds to the JSON property `description`
|
2922
|
+
# @return [String]
|
2923
|
+
attr_accessor :description
|
2924
|
+
|
2925
|
+
# Optional. Export filter used to define which VPC Flow Logs should be logged.
|
2926
|
+
# Corresponds to the JSON property `filterExpr`
|
2927
|
+
# @return [String]
|
2928
|
+
attr_accessor :filter_expr
|
2929
|
+
|
2930
|
+
# Optional. The value of the field must be in (0, 1]. The sampling rate of VPC
|
2931
|
+
# Flow Logs where 1.0 means all collected logs are reported. Setting the
|
2932
|
+
# sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use
|
2933
|
+
# the state field instead. Default value is 1.0.
|
2934
|
+
# Corresponds to the JSON property `flowSampling`
|
2935
|
+
# @return [Float]
|
2936
|
+
attr_accessor :flow_sampling
|
2937
|
+
|
2938
|
+
# Traffic will be logged from the Interconnect Attachment. Format: projects/`
|
2939
|
+
# project_id`/regions/`region`/interconnectAttachments/`name`
|
2940
|
+
# Corresponds to the JSON property `interconnectAttachment`
|
2941
|
+
# @return [String]
|
2942
|
+
attr_accessor :interconnect_attachment
|
2943
|
+
|
2944
|
+
# Optional. Resource labels to represent user-provided metadata.
|
2945
|
+
# Corresponds to the JSON property `labels`
|
2946
|
+
# @return [Hash<String,String>]
|
2947
|
+
attr_accessor :labels
|
2948
|
+
|
2949
|
+
# Optional. Configures whether all, none or a subset of metadata fields should
|
2950
|
+
# be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.
|
2951
|
+
# Corresponds to the JSON property `metadata`
|
2952
|
+
# @return [String]
|
2953
|
+
attr_accessor :metadata
|
2954
|
+
|
2955
|
+
# Optional. Custom metadata fields to include in the reported VPC flow logs. Can
|
2956
|
+
# only be specified if "metadata" was set to CUSTOM_METADATA.
|
2957
|
+
# Corresponds to the JSON property `metadataFields`
|
2958
|
+
# @return [Array<String>]
|
2959
|
+
attr_accessor :metadata_fields
|
2960
|
+
|
2961
|
+
# Identifier. Unique name of the configuration using the form: `projects/`
|
2962
|
+
# project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id``
|
2963
|
+
# Corresponds to the JSON property `name`
|
2964
|
+
# @return [String]
|
2965
|
+
attr_accessor :name
|
2966
|
+
|
2967
|
+
# Optional. The state of the VPC Flow Log configuration. Default value is
|
2968
|
+
# ENABLED. When creating a new configuration, it must be enabled.
|
2969
|
+
# Corresponds to the JSON property `state`
|
2970
|
+
# @return [String]
|
2971
|
+
attr_accessor :state
|
2972
|
+
|
2973
|
+
# Output only. A diagnostic bit - describes the state of the configured target
|
2974
|
+
# resource for diagnostic purposes.
|
2975
|
+
# Corresponds to the JSON property `targetResourceState`
|
2976
|
+
# @return [String]
|
2977
|
+
attr_accessor :target_resource_state
|
2978
|
+
|
2979
|
+
# Output only. The time the config was updated.
|
2980
|
+
# Corresponds to the JSON property `updateTime`
|
2981
|
+
# @return [String]
|
2982
|
+
attr_accessor :update_time
|
2983
|
+
|
2984
|
+
# Traffic will be logged from the VPN Tunnel. Format: projects/`project_id`/
|
2985
|
+
# regions/`region`/vpnTunnels/`name`
|
2986
|
+
# Corresponds to the JSON property `vpnTunnel`
|
2987
|
+
# @return [String]
|
2988
|
+
attr_accessor :vpn_tunnel
|
2989
|
+
|
2990
|
+
def initialize(**args)
|
2991
|
+
update!(**args)
|
2992
|
+
end
|
2993
|
+
|
2994
|
+
# Update properties of this object
|
2995
|
+
def update!(**args)
|
2996
|
+
@aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
|
2997
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2998
|
+
@description = args[:description] if args.key?(:description)
|
2999
|
+
@filter_expr = args[:filter_expr] if args.key?(:filter_expr)
|
3000
|
+
@flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
|
3001
|
+
@interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
|
3002
|
+
@labels = args[:labels] if args.key?(:labels)
|
3003
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
3004
|
+
@metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
|
3005
|
+
@name = args[:name] if args.key?(:name)
|
3006
|
+
@state = args[:state] if args.key?(:state)
|
3007
|
+
@target_resource_state = args[:target_resource_state] if args.key?(:target_resource_state)
|
3008
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3009
|
+
@vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)
|
3010
|
+
end
|
3011
|
+
end
|
3012
|
+
|
2694
3013
|
# For display only. Metadata associated with a Compute Engine VPN gateway.
|
2695
3014
|
class VpnGatewayInfo
|
2696
3015
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkmanagementV1beta1
|
18
18
|
# Version of the google-apis-networkmanagement_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -208,6 +208,12 @@ module Google
|
|
208
208
|
include Google::Apis::Core::JsonObjectSupport
|
209
209
|
end
|
210
210
|
|
211
|
+
class ListVpcFlowLogsConfigsResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
211
217
|
class LoadBalancerBackend
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
219
|
|
@@ -280,6 +286,18 @@ module Google
|
|
280
286
|
include Google::Apis::Core::JsonObjectSupport
|
281
287
|
end
|
282
288
|
|
289
|
+
class RedisClusterInfo
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class RedisInstanceInfo
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
283
301
|
class RerunConnectivityTestRequest
|
284
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
303
|
|
@@ -346,6 +364,12 @@ module Google
|
|
346
364
|
include Google::Apis::Core::JsonObjectSupport
|
347
365
|
end
|
348
366
|
|
367
|
+
class VpcFlowLogsConfig
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
349
373
|
class VpnGatewayInfo
|
350
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
375
|
|
@@ -447,7 +471,6 @@ module Google
|
|
447
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
448
472
|
property :display_name, as: 'displayName'
|
449
473
|
property :location, as: 'location'
|
450
|
-
property :service_name, as: 'serviceName'
|
451
474
|
property :service_uri, as: 'serviceUri'
|
452
475
|
property :uri, as: 'uri'
|
453
476
|
end
|
@@ -535,6 +558,7 @@ module Google
|
|
535
558
|
property :cloud_sql_instance, as: 'cloudSqlInstance'
|
536
559
|
property :forwarding_rule, as: 'forwardingRule'
|
537
560
|
property :forwarding_rule_target, as: 'forwardingRuleTarget'
|
561
|
+
property :fqdn, as: 'fqdn'
|
538
562
|
property :gke_master_cluster, as: 'gkeMasterCluster'
|
539
563
|
property :instance, as: 'instance'
|
540
564
|
property :ip_address, as: 'ipAddress'
|
@@ -544,6 +568,8 @@ module Google
|
|
544
568
|
property :network_type, as: 'networkType'
|
545
569
|
property :port, as: 'port'
|
546
570
|
property :project_id, as: 'projectId'
|
571
|
+
property :redis_cluster, as: 'redisCluster'
|
572
|
+
property :redis_instance, as: 'redisInstance'
|
547
573
|
end
|
548
574
|
end
|
549
575
|
|
@@ -580,6 +606,7 @@ module Google
|
|
580
606
|
property :firewall_rule_type, as: 'firewallRuleType'
|
581
607
|
property :network_uri, as: 'networkUri'
|
582
608
|
property :policy, as: 'policy'
|
609
|
+
property :policy_uri, as: 'policyUri'
|
583
610
|
property :priority, as: 'priority'
|
584
611
|
collection :target_service_accounts, as: 'targetServiceAccounts'
|
585
612
|
collection :target_tags, as: 'targetTags'
|
@@ -618,6 +645,7 @@ module Google
|
|
618
645
|
class Representation < Google::Apis::Core::JsonRepresentation
|
619
646
|
property :cluster_network_uri, as: 'clusterNetworkUri'
|
620
647
|
property :cluster_uri, as: 'clusterUri'
|
648
|
+
property :dns_endpoint, as: 'dnsEndpoint'
|
621
649
|
property :external_ip, as: 'externalIp'
|
622
650
|
property :internal_ip, as: 'internalIp'
|
623
651
|
end
|
@@ -640,6 +668,7 @@ module Google
|
|
640
668
|
property :internal_ip, as: 'internalIp'
|
641
669
|
collection :network_tags, as: 'networkTags'
|
642
670
|
property :network_uri, as: 'networkUri'
|
671
|
+
property :psc_network_attachment_uri, as: 'pscNetworkAttachmentUri'
|
643
672
|
property :service_account, as: 'serviceAccount'
|
644
673
|
property :uri, as: 'uri'
|
645
674
|
end
|
@@ -689,6 +718,16 @@ module Google
|
|
689
718
|
end
|
690
719
|
end
|
691
720
|
|
721
|
+
class ListVpcFlowLogsConfigsResponse
|
722
|
+
# @private
|
723
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
724
|
+
property :next_page_token, as: 'nextPageToken'
|
725
|
+
collection :unreachable, as: 'unreachable'
|
726
|
+
collection :vpc_flow_logs_configs, as: 'vpcFlowLogsConfigs', class: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig, decorator: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
|
727
|
+
|
728
|
+
end
|
729
|
+
end
|
730
|
+
|
692
731
|
class LoadBalancerBackend
|
693
732
|
# @private
|
694
733
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -763,6 +802,8 @@ module Google
|
|
763
802
|
class Representation < Google::Apis::Core::JsonRepresentation
|
764
803
|
property :display_name, as: 'displayName'
|
765
804
|
property :matched_ip_range, as: 'matchedIpRange'
|
805
|
+
property :matched_subnet_uri, as: 'matchedSubnetUri'
|
806
|
+
property :region, as: 'region'
|
766
807
|
property :uri, as: 'uri'
|
767
808
|
end
|
768
809
|
end
|
@@ -852,6 +893,30 @@ module Google
|
|
852
893
|
end
|
853
894
|
end
|
854
895
|
|
896
|
+
class RedisClusterInfo
|
897
|
+
# @private
|
898
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
899
|
+
property :discovery_endpoint_ip_address, as: 'discoveryEndpointIpAddress'
|
900
|
+
property :display_name, as: 'displayName'
|
901
|
+
property :location, as: 'location'
|
902
|
+
property :network_uri, as: 'networkUri'
|
903
|
+
property :secondary_endpoint_ip_address, as: 'secondaryEndpointIpAddress'
|
904
|
+
property :uri, as: 'uri'
|
905
|
+
end
|
906
|
+
end
|
907
|
+
|
908
|
+
class RedisInstanceInfo
|
909
|
+
# @private
|
910
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
911
|
+
property :display_name, as: 'displayName'
|
912
|
+
property :network_uri, as: 'networkUri'
|
913
|
+
property :primary_endpoint_ip, as: 'primaryEndpointIp'
|
914
|
+
property :read_endpoint_ip, as: 'readEndpointIp'
|
915
|
+
property :region, as: 'region'
|
916
|
+
property :uri, as: 'uri'
|
917
|
+
end
|
918
|
+
end
|
919
|
+
|
855
920
|
class RerunConnectivityTestRequest
|
856
921
|
# @private
|
857
922
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -861,6 +926,8 @@ module Google
|
|
861
926
|
class RouteInfo
|
862
927
|
# @private
|
863
928
|
class Representation < Google::Apis::Core::JsonRepresentation
|
929
|
+
property :advertised_route_next_hop_uri, as: 'advertisedRouteNextHopUri'
|
930
|
+
property :advertised_route_source_router_uri, as: 'advertisedRouteSourceRouterUri'
|
864
931
|
property :dest_ip_range, as: 'destIpRange'
|
865
932
|
collection :dest_port_ranges, as: 'destPortRanges'
|
866
933
|
property :display_name, as: 'displayName'
|
@@ -872,6 +939,7 @@ module Google
|
|
872
939
|
property :next_hop_type, as: 'nextHopType'
|
873
940
|
property :priority, as: 'priority'
|
874
941
|
collection :protocols, as: 'protocols'
|
942
|
+
property :region, as: 'region'
|
875
943
|
property :route_scope, as: 'routeScope'
|
876
944
|
property :route_type, as: 'routeType'
|
877
945
|
property :src_ip_range, as: 'srcIpRange'
|
@@ -949,6 +1017,10 @@ module Google
|
|
949
1017
|
property :project_id, as: 'projectId'
|
950
1018
|
property :proxy_connection, as: 'proxyConnection', class: Google::Apis::NetworkmanagementV1beta1::ProxyConnectionInfo, decorator: Google::Apis::NetworkmanagementV1beta1::ProxyConnectionInfo::Representation
|
951
1019
|
|
1020
|
+
property :redis_cluster, as: 'redisCluster', class: Google::Apis::NetworkmanagementV1beta1::RedisClusterInfo, decorator: Google::Apis::NetworkmanagementV1beta1::RedisClusterInfo::Representation
|
1021
|
+
|
1022
|
+
property :redis_instance, as: 'redisInstance', class: Google::Apis::NetworkmanagementV1beta1::RedisInstanceInfo, decorator: Google::Apis::NetworkmanagementV1beta1::RedisInstanceInfo::Representation
|
1023
|
+
|
952
1024
|
property :route, as: 'route', class: Google::Apis::NetworkmanagementV1beta1::RouteInfo, decorator: Google::Apis::NetworkmanagementV1beta1::RouteInfo::Representation
|
953
1025
|
|
954
1026
|
property :serverless_neg, as: 'serverlessNeg', class: Google::Apis::NetworkmanagementV1beta1::ServerlessNegInfo, decorator: Google::Apis::NetworkmanagementV1beta1::ServerlessNegInfo::Representation
|
@@ -1006,6 +1078,26 @@ module Google
|
|
1006
1078
|
end
|
1007
1079
|
end
|
1008
1080
|
|
1081
|
+
class VpcFlowLogsConfig
|
1082
|
+
# @private
|
1083
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1084
|
+
property :aggregation_interval, as: 'aggregationInterval'
|
1085
|
+
property :create_time, as: 'createTime'
|
1086
|
+
property :description, as: 'description'
|
1087
|
+
property :filter_expr, as: 'filterExpr'
|
1088
|
+
property :flow_sampling, as: 'flowSampling'
|
1089
|
+
property :interconnect_attachment, as: 'interconnectAttachment'
|
1090
|
+
hash :labels, as: 'labels'
|
1091
|
+
property :metadata, as: 'metadata'
|
1092
|
+
collection :metadata_fields, as: 'metadataFields'
|
1093
|
+
property :name, as: 'name'
|
1094
|
+
property :state, as: 'state'
|
1095
|
+
property :target_resource_state, as: 'targetResourceState'
|
1096
|
+
property :update_time, as: 'updateTime'
|
1097
|
+
property :vpn_tunnel, as: 'vpnTunnel'
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
1009
1101
|
class VpnGatewayInfo
|
1010
1102
|
# @private
|
1011
1103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -638,6 +638,200 @@ module Google
|
|
638
638
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
639
639
|
execute_or_queue_command(command, &block)
|
640
640
|
end
|
641
|
+
|
642
|
+
# Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same
|
643
|
+
# settings already exists (even if the ID is different), the creation fails.
|
644
|
+
# Notes: 1. Creating a configuration with state=DISABLED will fail. 2. The
|
645
|
+
# following fields are not considered as `settings` for the purpose of the check
|
646
|
+
# mentioned above, therefore - creating another configuration with the same
|
647
|
+
# fields but different values for the following fields will fail as well: - name
|
648
|
+
# - create_time - update_time - labels - description
|
649
|
+
# @param [String] parent
|
650
|
+
# Required. The parent resource of the VPC Flow Logs configuration to create: `
|
651
|
+
# projects/`project_id`/locations/global`
|
652
|
+
# @param [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig] vpc_flow_logs_config_object
|
653
|
+
# @param [String] vpc_flow_logs_config_id
|
654
|
+
# Required. ID of the `VpcFlowLogsConfig`.
|
655
|
+
# @param [String] fields
|
656
|
+
# Selector specifying which fields to include in a partial response.
|
657
|
+
# @param [String] quota_user
|
658
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
659
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
660
|
+
# @param [Google::Apis::RequestOptions] options
|
661
|
+
# Request-specific options
|
662
|
+
#
|
663
|
+
# @yield [result, err] Result & error if block supplied
|
664
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Operation] parsed result object
|
665
|
+
# @yieldparam err [StandardError] error object if request failed
|
666
|
+
#
|
667
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::Operation]
|
668
|
+
#
|
669
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
670
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
671
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
672
|
+
def create_project_location_vpc_flow_logs_config(parent, vpc_flow_logs_config_object = nil, vpc_flow_logs_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
673
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/vpcFlowLogsConfigs', options)
|
674
|
+
command.request_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
|
675
|
+
command.request_object = vpc_flow_logs_config_object
|
676
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
|
677
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::Operation
|
678
|
+
command.params['parent'] = parent unless parent.nil?
|
679
|
+
command.query['vpcFlowLogsConfigId'] = vpc_flow_logs_config_id unless vpc_flow_logs_config_id.nil?
|
680
|
+
command.query['fields'] = fields unless fields.nil?
|
681
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
682
|
+
execute_or_queue_command(command, &block)
|
683
|
+
end
|
684
|
+
|
685
|
+
# Deletes a specific `VpcFlowLogsConfig`.
|
686
|
+
# @param [String] name
|
687
|
+
# Required. `VpcFlowLogsConfig` resource name using the form: `projects/`
|
688
|
+
# project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config``
|
689
|
+
# @param [String] fields
|
690
|
+
# Selector specifying which fields to include in a partial response.
|
691
|
+
# @param [String] quota_user
|
692
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
693
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
694
|
+
# @param [Google::Apis::RequestOptions] options
|
695
|
+
# Request-specific options
|
696
|
+
#
|
697
|
+
# @yield [result, err] Result & error if block supplied
|
698
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Operation] parsed result object
|
699
|
+
# @yieldparam err [StandardError] error object if request failed
|
700
|
+
#
|
701
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::Operation]
|
702
|
+
#
|
703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
706
|
+
def delete_project_location_vpc_flow_logs_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
707
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
708
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
|
709
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::Operation
|
710
|
+
command.params['name'] = name unless name.nil?
|
711
|
+
command.query['fields'] = fields unless fields.nil?
|
712
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
713
|
+
execute_or_queue_command(command, &block)
|
714
|
+
end
|
715
|
+
|
716
|
+
# Gets the details of a specific `VpcFlowLogsConfig`.
|
717
|
+
# @param [String] name
|
718
|
+
# Required. `VpcFlowLogsConfig` resource name using the form: `projects/`
|
719
|
+
# project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config``
|
720
|
+
# @param [String] fields
|
721
|
+
# Selector specifying which fields to include in a partial response.
|
722
|
+
# @param [String] quota_user
|
723
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
724
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
725
|
+
# @param [Google::Apis::RequestOptions] options
|
726
|
+
# Request-specific options
|
727
|
+
#
|
728
|
+
# @yield [result, err] Result & error if block supplied
|
729
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig] parsed result object
|
730
|
+
# @yieldparam err [StandardError] error object if request failed
|
731
|
+
#
|
732
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig]
|
733
|
+
#
|
734
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
735
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
736
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
737
|
+
def get_project_location_vpc_flow_logs_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
738
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
739
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
|
740
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig
|
741
|
+
command.params['name'] = name unless name.nil?
|
742
|
+
command.query['fields'] = fields unless fields.nil?
|
743
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
744
|
+
execute_or_queue_command(command, &block)
|
745
|
+
end
|
746
|
+
|
747
|
+
# Lists all `VpcFlowLogsConfigs` in a given project.
|
748
|
+
# @param [String] parent
|
749
|
+
# Required. The parent resource of the VpcFlowLogsConfig: `projects/`project_id`/
|
750
|
+
# locations/global`
|
751
|
+
# @param [String] filter
|
752
|
+
# Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A
|
753
|
+
# filter expression must use the supported [CEL logic operators] (https://cloud.
|
754
|
+
# google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
|
755
|
+
# @param [String] order_by
|
756
|
+
# Optional. Field to use to sort the list.
|
757
|
+
# @param [Fixnum] page_size
|
758
|
+
# Optional. Number of `VpcFlowLogsConfigs` to return.
|
759
|
+
# @param [String] page_token
|
760
|
+
# Optional. Page token from an earlier query, as returned in `next_page_token`.
|
761
|
+
# @param [String] fields
|
762
|
+
# Selector specifying which fields to include in a partial response.
|
763
|
+
# @param [String] quota_user
|
764
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
765
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
766
|
+
# @param [Google::Apis::RequestOptions] options
|
767
|
+
# Request-specific options
|
768
|
+
#
|
769
|
+
# @yield [result, err] Result & error if block supplied
|
770
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse] parsed result object
|
771
|
+
# @yieldparam err [StandardError] error object if request failed
|
772
|
+
#
|
773
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse]
|
774
|
+
#
|
775
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
776
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
777
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
778
|
+
def list_project_location_vpc_flow_logs_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
779
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/vpcFlowLogsConfigs', options)
|
780
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse::Representation
|
781
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse
|
782
|
+
command.params['parent'] = parent unless parent.nil?
|
783
|
+
command.query['filter'] = filter unless filter.nil?
|
784
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
785
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
786
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
787
|
+
command.query['fields'] = fields unless fields.nil?
|
788
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
789
|
+
execute_or_queue_command(command, &block)
|
790
|
+
end
|
791
|
+
|
792
|
+
# Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact
|
793
|
+
# same settings already exists (even if the ID is different), the creation fails.
|
794
|
+
# Notes: 1. Updating a configuration with state=DISABLED will fail. 2. The
|
795
|
+
# following fields are not considered as `settings` for the purpose of the check
|
796
|
+
# mentioned above, therefore - updating another configuration with the same
|
797
|
+
# fields but different values for the following fields will fail as well: - name
|
798
|
+
# - create_time - update_time - labels - description
|
799
|
+
# @param [String] name
|
800
|
+
# Identifier. Unique name of the configuration using the form: `projects/`
|
801
|
+
# project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id``
|
802
|
+
# @param [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig] vpc_flow_logs_config_object
|
803
|
+
# @param [String] update_mask
|
804
|
+
# Required. Mask of fields to update. At least one path must be supplied in this
|
805
|
+
# field.
|
806
|
+
# @param [String] fields
|
807
|
+
# Selector specifying which fields to include in a partial response.
|
808
|
+
# @param [String] quota_user
|
809
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
810
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
811
|
+
# @param [Google::Apis::RequestOptions] options
|
812
|
+
# Request-specific options
|
813
|
+
#
|
814
|
+
# @yield [result, err] Result & error if block supplied
|
815
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Operation] parsed result object
|
816
|
+
# @yieldparam err [StandardError] error object if request failed
|
817
|
+
#
|
818
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::Operation]
|
819
|
+
#
|
820
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
821
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
822
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
823
|
+
def patch_project_location_vpc_flow_logs_config(name, vpc_flow_logs_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
824
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
825
|
+
command.request_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
|
826
|
+
command.request_object = vpc_flow_logs_config_object
|
827
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
|
828
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::Operation
|
829
|
+
command.params['name'] = name unless name.nil?
|
830
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
831
|
+
command.query['fields'] = fields unless fields.nil?
|
832
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
833
|
+
execute_or_queue_command(command, &block)
|
834
|
+
end
|
641
835
|
|
642
836
|
protected
|
643
837
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkmanagement_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.50.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-
|
11
|
+
date: 2024-12-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-networkmanagement_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.50.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1beta1
|
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.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Network Management API V1beta1
|