google-apis-networkmanagement_v1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/networkmanagement_v1/classes.rb +117 -3
- data/lib/google/apis/networkmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkmanagement_v1/representations.rb +40 -0
- data/lib/google/apis/networkmanagement_v1/service.rb +1 -1
- 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: c0333a371fb699e0065fb050d0af30c62f6ab89a6f13852ebcd4179c2c7a8f30
|
4
|
+
data.tar.gz: 76c71ea6d28fab6ff5fecda89b076f99a920b1dd045baedca480c63c20901964
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40517ab5f5d554263640560beb135e9cb680ff6c9a5846dad6d8958cdc3db669f15259a69f01d344873756d13030a33262caa02a79a7ce10e7684d08ca4101b7
|
7
|
+
data.tar.gz: 41646e4465157551a47358acc7f110586554c4cd094179c91604cc20baab237bd8e6f7e641c4f2f47840b8a4358da287f4a10d84f08e1016ba4fdab75165b93d
|
data/CHANGELOG.md
CHANGED
@@ -202,6 +202,56 @@ module Google
|
|
202
202
|
end
|
203
203
|
end
|
204
204
|
|
205
|
+
# For display only. Metadata associated with a Cloud SQL instance.
|
206
|
+
class CloudSqlInstanceInfo
|
207
|
+
include Google::Apis::Core::Hashable
|
208
|
+
|
209
|
+
# Name of a Cloud SQL instance.
|
210
|
+
# Corresponds to the JSON property `displayName`
|
211
|
+
# @return [String]
|
212
|
+
attr_accessor :display_name
|
213
|
+
|
214
|
+
# External IP address of a Cloud SQL instance.
|
215
|
+
# Corresponds to the JSON property `externalIp`
|
216
|
+
# @return [String]
|
217
|
+
attr_accessor :external_ip
|
218
|
+
|
219
|
+
# Internal IP address of a Cloud SQL instance.
|
220
|
+
# Corresponds to the JSON property `internalIp`
|
221
|
+
# @return [String]
|
222
|
+
attr_accessor :internal_ip
|
223
|
+
|
224
|
+
# URI of a Cloud SQL instance network or empty string if the instance does not
|
225
|
+
# have one.
|
226
|
+
# Corresponds to the JSON property `networkUri`
|
227
|
+
# @return [String]
|
228
|
+
attr_accessor :network_uri
|
229
|
+
|
230
|
+
# Region in which the Cloud SQL instance is running.
|
231
|
+
# Corresponds to the JSON property `region`
|
232
|
+
# @return [String]
|
233
|
+
attr_accessor :region
|
234
|
+
|
235
|
+
# URI of a Cloud SQL instance.
|
236
|
+
# Corresponds to the JSON property `uri`
|
237
|
+
# @return [String]
|
238
|
+
attr_accessor :uri
|
239
|
+
|
240
|
+
def initialize(**args)
|
241
|
+
update!(**args)
|
242
|
+
end
|
243
|
+
|
244
|
+
# Update properties of this object
|
245
|
+
def update!(**args)
|
246
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
247
|
+
@external_ip = args[:external_ip] if args.key?(:external_ip)
|
248
|
+
@internal_ip = args[:internal_ip] if args.key?(:internal_ip)
|
249
|
+
@network_uri = args[:network_uri] if args.key?(:network_uri)
|
250
|
+
@region = args[:region] if args.key?(:region)
|
251
|
+
@uri = args[:uri] if args.key?(:uri)
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
205
255
|
# A Connectivity Test for a network reachability analysis.
|
206
256
|
class ConnectivityTest
|
207
257
|
include Google::Apis::Core::Hashable
|
@@ -355,6 +405,17 @@ module Google
|
|
355
405
|
class Endpoint
|
356
406
|
include Google::Apis::Core::Hashable
|
357
407
|
|
408
|
+
# A [Cloud SQL](https://cloud.google.com/sql) instance URI.
|
409
|
+
# Corresponds to the JSON property `cloudSqlInstance`
|
410
|
+
# @return [String]
|
411
|
+
attr_accessor :cloud_sql_instance
|
412
|
+
|
413
|
+
# A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/
|
414
|
+
# kubernetes-engine/docs/concepts/cluster-architecture).
|
415
|
+
# Corresponds to the JSON property `gkeMasterCluster`
|
416
|
+
# @return [String]
|
417
|
+
attr_accessor :gke_master_cluster
|
418
|
+
|
358
419
|
# A Compute Engine instance URI.
|
359
420
|
# Corresponds to the JSON property `instance`
|
360
421
|
# @return [String]
|
@@ -401,6 +462,8 @@ module Google
|
|
401
462
|
|
402
463
|
# Update properties of this object
|
403
464
|
def update!(**args)
|
465
|
+
@cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
|
466
|
+
@gke_master_cluster = args[:gke_master_cluster] if args.key?(:gke_master_cluster)
|
404
467
|
@instance = args[:instance] if args.key?(:instance)
|
405
468
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
406
469
|
@network = args[:network] if args.key?(:network)
|
@@ -680,6 +743,44 @@ module Google
|
|
680
743
|
end
|
681
744
|
end
|
682
745
|
|
746
|
+
# For display only. Metadata associated with a Google Kubernetes Engine (GKE)
|
747
|
+
# cluster master.
|
748
|
+
class GkeMasterInfo
|
749
|
+
include Google::Apis::Core::Hashable
|
750
|
+
|
751
|
+
# URI of a GKE cluster network.
|
752
|
+
# Corresponds to the JSON property `clusterNetworkUri`
|
753
|
+
# @return [String]
|
754
|
+
attr_accessor :cluster_network_uri
|
755
|
+
|
756
|
+
# URI of a GKE cluster.
|
757
|
+
# Corresponds to the JSON property `clusterUri`
|
758
|
+
# @return [String]
|
759
|
+
attr_accessor :cluster_uri
|
760
|
+
|
761
|
+
# External IP address of a GKE cluster master.
|
762
|
+
# Corresponds to the JSON property `externalIp`
|
763
|
+
# @return [String]
|
764
|
+
attr_accessor :external_ip
|
765
|
+
|
766
|
+
# Internal IP address of a GKE cluster master.
|
767
|
+
# Corresponds to the JSON property `internalIp`
|
768
|
+
# @return [String]
|
769
|
+
attr_accessor :internal_ip
|
770
|
+
|
771
|
+
def initialize(**args)
|
772
|
+
update!(**args)
|
773
|
+
end
|
774
|
+
|
775
|
+
# Update properties of this object
|
776
|
+
def update!(**args)
|
777
|
+
@cluster_network_uri = args[:cluster_network_uri] if args.key?(:cluster_network_uri)
|
778
|
+
@cluster_uri = args[:cluster_uri] if args.key?(:cluster_uri)
|
779
|
+
@external_ip = args[:external_ip] if args.key?(:external_ip)
|
780
|
+
@internal_ip = args[:internal_ip] if args.key?(:internal_ip)
|
781
|
+
end
|
782
|
+
end
|
783
|
+
|
683
784
|
# For display only. Metadata associated with a Compute Engine instance.
|
684
785
|
class InstanceInfo
|
685
786
|
include Google::Apis::Core::Hashable
|
@@ -1429,6 +1530,11 @@ module Google
|
|
1429
1530
|
attr_accessor :causes_drop
|
1430
1531
|
alias_method :causes_drop?, :causes_drop
|
1431
1532
|
|
1533
|
+
# For display only. Metadata associated with a Cloud SQL instance.
|
1534
|
+
# Corresponds to the JSON property `cloudSqlInstance`
|
1535
|
+
# @return [Google::Apis::NetworkmanagementV1::CloudSqlInstanceInfo]
|
1536
|
+
attr_accessor :cloud_sql_instance
|
1537
|
+
|
1432
1538
|
# Details of the final state "deliver" and associated resource.
|
1433
1539
|
# Corresponds to the JSON property `deliver`
|
1434
1540
|
# @return [Google::Apis::NetworkmanagementV1::DeliverInfo]
|
@@ -1467,6 +1573,12 @@ module Google
|
|
1467
1573
|
# @return [Google::Apis::NetworkmanagementV1::ForwardingRuleInfo]
|
1468
1574
|
attr_accessor :forwarding_rule
|
1469
1575
|
|
1576
|
+
# For display only. Metadata associated with a Google Kubernetes Engine (GKE)
|
1577
|
+
# cluster master.
|
1578
|
+
# Corresponds to the JSON property `gkeMaster`
|
1579
|
+
# @return [Google::Apis::NetworkmanagementV1::GkeMasterInfo]
|
1580
|
+
attr_accessor :gke_master
|
1581
|
+
|
1470
1582
|
# For display only. Metadata associated with a Compute Engine instance.
|
1471
1583
|
# Corresponds to the JSON property `instance`
|
1472
1584
|
# @return [Google::Apis::NetworkmanagementV1::InstanceInfo]
|
@@ -1515,6 +1627,7 @@ module Google
|
|
1515
1627
|
def update!(**args)
|
1516
1628
|
@abort = args[:abort] if args.key?(:abort)
|
1517
1629
|
@causes_drop = args[:causes_drop] if args.key?(:causes_drop)
|
1630
|
+
@cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
|
1518
1631
|
@deliver = args[:deliver] if args.key?(:deliver)
|
1519
1632
|
@description = args[:description] if args.key?(:description)
|
1520
1633
|
@drop = args[:drop] if args.key?(:drop)
|
@@ -1522,6 +1635,7 @@ module Google
|
|
1522
1635
|
@firewall = args[:firewall] if args.key?(:firewall)
|
1523
1636
|
@forward = args[:forward] if args.key?(:forward)
|
1524
1637
|
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
1638
|
+
@gke_master = args[:gke_master] if args.key?(:gke_master)
|
1525
1639
|
@instance = args[:instance] if args.key?(:instance)
|
1526
1640
|
@load_balancer = args[:load_balancer] if args.key?(:load_balancer)
|
1527
1641
|
@network = args[:network] if args.key?(:network)
|
@@ -1574,7 +1688,7 @@ module Google
|
|
1574
1688
|
end
|
1575
1689
|
|
1576
1690
|
# Trace represents one simulated packet forwarding path. * Each trace contains
|
1577
|
-
# multiple ordered
|
1691
|
+
# multiple ordered steps. * Each step is in a particular state with associated
|
1578
1692
|
# configuration. * State is categorized as final or non-final states. * Each
|
1579
1693
|
# final state has a reason associated. * Each trace must end with a final state (
|
1580
1694
|
# the last step). ``` |---------------------Trace----------------------| Step1(
|
@@ -1628,7 +1742,7 @@ module Google
|
|
1628
1742
|
# @return [String]
|
1629
1743
|
attr_accessor :network_uri
|
1630
1744
|
|
1631
|
-
# Name of a
|
1745
|
+
# Name of a Google Cloud region where this VPN gateway is configured.
|
1632
1746
|
# Corresponds to the JSON property `region`
|
1633
1747
|
# @return [String]
|
1634
1748
|
attr_accessor :region
|
@@ -1674,7 +1788,7 @@ module Google
|
|
1674
1788
|
# @return [String]
|
1675
1789
|
attr_accessor :network_uri
|
1676
1790
|
|
1677
|
-
# Name of a
|
1791
|
+
# Name of a Google Cloud region where this VPN tunnel is configured.
|
1678
1792
|
# Corresponds to the JSON property `region`
|
1679
1793
|
# @return [String]
|
1680
1794
|
attr_accessor :region
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkmanagementV1
|
18
18
|
# Version of the google-apis-networkmanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210429"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class CloudSqlInstanceInfo
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class ConnectivityTest
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -112,6 +118,12 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class GkeMasterInfo
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class InstanceInfo
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
@@ -285,6 +297,18 @@ module Google
|
|
285
297
|
end
|
286
298
|
end
|
287
299
|
|
300
|
+
class CloudSqlInstanceInfo
|
301
|
+
# @private
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
303
|
+
property :display_name, as: 'displayName'
|
304
|
+
property :external_ip, as: 'externalIp'
|
305
|
+
property :internal_ip, as: 'internalIp'
|
306
|
+
property :network_uri, as: 'networkUri'
|
307
|
+
property :region, as: 'region'
|
308
|
+
property :uri, as: 'uri'
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
288
312
|
class ConnectivityTest
|
289
313
|
# @private
|
290
314
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -330,6 +354,8 @@ module Google
|
|
330
354
|
class Endpoint
|
331
355
|
# @private
|
332
356
|
class Representation < Google::Apis::Core::JsonRepresentation
|
357
|
+
property :cloud_sql_instance, as: 'cloudSqlInstance'
|
358
|
+
property :gke_master_cluster, as: 'gkeMasterCluster'
|
333
359
|
property :instance, as: 'instance'
|
334
360
|
property :ip_address, as: 'ipAddress'
|
335
361
|
property :network, as: 'network'
|
@@ -399,6 +425,16 @@ module Google
|
|
399
425
|
end
|
400
426
|
end
|
401
427
|
|
428
|
+
class GkeMasterInfo
|
429
|
+
# @private
|
430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
431
|
+
property :cluster_network_uri, as: 'clusterNetworkUri'
|
432
|
+
property :cluster_uri, as: 'clusterUri'
|
433
|
+
property :external_ip, as: 'externalIp'
|
434
|
+
property :internal_ip, as: 'internalIp'
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
402
438
|
class InstanceInfo
|
403
439
|
# @private
|
404
440
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -578,6 +614,8 @@ module Google
|
|
578
614
|
property :abort, as: 'abort', class: Google::Apis::NetworkmanagementV1::AbortInfo, decorator: Google::Apis::NetworkmanagementV1::AbortInfo::Representation
|
579
615
|
|
580
616
|
property :causes_drop, as: 'causesDrop'
|
617
|
+
property :cloud_sql_instance, as: 'cloudSqlInstance', class: Google::Apis::NetworkmanagementV1::CloudSqlInstanceInfo, decorator: Google::Apis::NetworkmanagementV1::CloudSqlInstanceInfo::Representation
|
618
|
+
|
581
619
|
property :deliver, as: 'deliver', class: Google::Apis::NetworkmanagementV1::DeliverInfo, decorator: Google::Apis::NetworkmanagementV1::DeliverInfo::Representation
|
582
620
|
|
583
621
|
property :description, as: 'description'
|
@@ -591,6 +629,8 @@ module Google
|
|
591
629
|
|
592
630
|
property :forwarding_rule, as: 'forwardingRule', class: Google::Apis::NetworkmanagementV1::ForwardingRuleInfo, decorator: Google::Apis::NetworkmanagementV1::ForwardingRuleInfo::Representation
|
593
631
|
|
632
|
+
property :gke_master, as: 'gkeMaster', class: Google::Apis::NetworkmanagementV1::GkeMasterInfo, decorator: Google::Apis::NetworkmanagementV1::GkeMasterInfo::Representation
|
633
|
+
|
594
634
|
property :instance, as: 'instance', class: Google::Apis::NetworkmanagementV1::InstanceInfo, decorator: Google::Apis::NetworkmanagementV1::InstanceInfo::Representation
|
595
635
|
|
596
636
|
property :load_balancer, as: 'loadBalancer', class: Google::Apis::NetworkmanagementV1::LoadBalancerInfo, decorator: Google::Apis::NetworkmanagementV1::LoadBalancerInfo::Representation
|
@@ -88,7 +88,7 @@ module Google
|
|
88
88
|
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
89
89
|
# AIP-160](https://google.aip.dev/160).
|
90
90
|
# @param [Fixnum] page_size
|
91
|
-
# The maximum number of results to return. If not set, the service
|
91
|
+
# The maximum number of results to return. If not set, the service selects a
|
92
92
|
# default.
|
93
93
|
# @param [String] page_token
|
94
94
|
# A page token received from the `next_page_token` field in the response. Send
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkmanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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: 2021-
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkmanagement_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.4.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkmanagement_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Network Management API V1
|