google-apis-networkconnectivity_v1 0.3.0 → 0.7.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 +18 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/networkconnectivity_v1/classes.rb +56 -21
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +3 -3
- data/lib/google/apis/networkconnectivity_v1/representations.rb +14 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +32 -23
- 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: e130a187baf7345e38d45769d48b42845af7935c702b9fb74d82567229faa6b3
|
4
|
+
data.tar.gz: 3b4f54408c408307bfa13ab58d07e083db6d52d68000c1acc6e189eb5e788ed0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f68328f16927b01338c1c12512141fcc164f0e6d2d9926e2dd90a3bb765afd1d88b57a7eda3af4201e5946769f6b7d68c12900424ba63212b95c5736f7d1b73
|
7
|
+
data.tar.gz: 9c03119c771a3d88f57a530e9eb8ab3173f850ecc531be38241204f0cc2e39d03c8a8913b3eedf08dd585a0847be991b2cfdfe3ff5040d0668303458b9dc5663
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2022-02-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220210
|
6
|
+
|
7
|
+
### v0.6.0 (2022-01-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220125
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.5.0 (2021-12-16)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211210
|
15
|
+
* Unspecified changes
|
16
|
+
|
17
|
+
### v0.4.0 (2021-11-18)
|
18
|
+
|
19
|
+
* Regenerated from discovery document revision 20211113
|
20
|
+
|
3
21
|
### v0.3.0 (2021-10-31)
|
4
22
|
|
5
23
|
* Regenerated from discovery document revision 20211026
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/networkconnectivity_v1"
|
|
51
51
|
client = Google::Apis::NetworkconnectivityV1::NetworkconnectivityService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -375,8 +375,10 @@ module Google
|
|
375
375
|
end
|
376
376
|
|
377
377
|
# A hub is a collection of spokes. A single hub can contain spokes from multiple
|
378
|
-
# regions. However,
|
379
|
-
# reside in the same VPC network.
|
378
|
+
# regions. However, if any of a hub's spokes use the data transfer feature, the
|
379
|
+
# resources associated with those spokes must all reside in the same VPC network.
|
380
|
+
# Spokes that do not use data transfer can be associated with any VPC network
|
381
|
+
# in your project.
|
380
382
|
class Hub
|
381
383
|
include Google::Apis::Core::Hashable
|
382
384
|
|
@@ -403,11 +405,9 @@ module Google
|
|
403
405
|
# @return [String]
|
404
406
|
attr_accessor :name
|
405
407
|
|
406
|
-
# The VPC
|
407
|
-
#
|
408
|
-
# spokes
|
409
|
-
# Connectivity Center automatically populates it based on the set of spokes
|
410
|
-
# attached to the hub.
|
408
|
+
# The VPC networks associated with this hub's spokes. This field is read-only.
|
409
|
+
# Network Connectivity Center automatically populates it based on the set of
|
410
|
+
# spokes attached to the hub.
|
411
411
|
# Corresponds to the JSON property `routingVpcs`
|
412
412
|
# @return [Array<Google::Apis::NetworkconnectivityV1::RoutingVpc>]
|
413
413
|
attr_accessor :routing_vpcs
|
@@ -454,8 +454,9 @@ module Google
|
|
454
454
|
include Google::Apis::Core::Hashable
|
455
455
|
|
456
456
|
# A value that controls whether site-to-site data transfer is enabled for these
|
457
|
-
# resources.
|
458
|
-
#
|
457
|
+
# resources. Data transfer is available only in [supported locations](https://
|
458
|
+
# cloud.google.com/network-connectivity/docs/network-connectivity-center/
|
459
|
+
# concepts/locations).
|
459
460
|
# Corresponds to the JSON property `siteToSiteDataTransfer`
|
460
461
|
# @return [Boolean]
|
461
462
|
attr_accessor :site_to_site_data_transfer
|
@@ -477,9 +478,10 @@ module Google
|
|
477
478
|
end
|
478
479
|
end
|
479
480
|
|
480
|
-
# A collection of router appliance instances. If you
|
481
|
-
# appliance instances
|
482
|
-
# the same
|
481
|
+
# A collection of router appliance instances. If you configure multiple router
|
482
|
+
# appliance instances to receive data from the same set of sites outside of
|
483
|
+
# Google Cloud, we recommend that you associate those instances with the same
|
484
|
+
# spoke.
|
483
485
|
class LinkedRouterApplianceInstances
|
484
486
|
include Google::Apis::Core::Hashable
|
485
487
|
|
@@ -489,8 +491,9 @@ module Google
|
|
489
491
|
attr_accessor :instances
|
490
492
|
|
491
493
|
# A value that controls whether site-to-site data transfer is enabled for these
|
492
|
-
# resources.
|
493
|
-
#
|
494
|
+
# resources. Data transfer is available only in [supported locations](https://
|
495
|
+
# cloud.google.com/network-connectivity/docs/network-connectivity-center/
|
496
|
+
# concepts/locations).
|
494
497
|
# Corresponds to the JSON property `siteToSiteDataTransfer`
|
495
498
|
# @return [Boolean]
|
496
499
|
attr_accessor :site_to_site_data_transfer
|
@@ -515,8 +518,9 @@ module Google
|
|
515
518
|
include Google::Apis::Core::Hashable
|
516
519
|
|
517
520
|
# A value that controls whether site-to-site data transfer is enabled for these
|
518
|
-
# resources.
|
519
|
-
#
|
521
|
+
# resources. Data transfer is available only in [supported locations](https://
|
522
|
+
# cloud.google.com/network-connectivity/docs/network-connectivity-center/
|
523
|
+
# concepts/locations).
|
520
524
|
# Corresponds to the JSON property `siteToSiteDataTransfer`
|
521
525
|
# @return [Boolean]
|
522
526
|
attr_accessor :site_to_site_data_transfer
|
@@ -674,6 +678,25 @@ module Google
|
|
674
678
|
end
|
675
679
|
end
|
676
680
|
|
681
|
+
# Metadata about locations
|
682
|
+
class LocationMetadata
|
683
|
+
include Google::Apis::Core::Hashable
|
684
|
+
|
685
|
+
# List of supported features
|
686
|
+
# Corresponds to the JSON property `locationFeatures`
|
687
|
+
# @return [Array<String>]
|
688
|
+
attr_accessor :location_features
|
689
|
+
|
690
|
+
def initialize(**args)
|
691
|
+
update!(**args)
|
692
|
+
end
|
693
|
+
|
694
|
+
# Update properties of this object
|
695
|
+
def update!(**args)
|
696
|
+
@location_features = args[:location_features] if args.key?(:location_features)
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
677
700
|
# Represents the metadata of the long-running operation.
|
678
701
|
class OperationMetadata
|
679
702
|
include Google::Apis::Core::Hashable
|
@@ -856,11 +879,21 @@ module Google
|
|
856
879
|
end
|
857
880
|
end
|
858
881
|
|
859
|
-
# RoutingVPC contains information about the VPC
|
860
|
-
# a hub's spokes.
|
882
|
+
# RoutingVPC contains information about the VPC networks that are associated
|
883
|
+
# with a hub's spokes.
|
861
884
|
class RoutingVpc
|
862
885
|
include Google::Apis::Core::Hashable
|
863
886
|
|
887
|
+
# Output only. If true, indicates that this VPC network is currently associated
|
888
|
+
# with spokes that use the data transfer feature (spokes where the
|
889
|
+
# site_to_site_data_transfer field is set to true). If you create new spokes
|
890
|
+
# that use data transfer, they must be associated with this VPC network. At most,
|
891
|
+
# one VPC network will have this field set to true.
|
892
|
+
# Corresponds to the JSON property `requiredForNewSiteToSiteDataTransferSpokes`
|
893
|
+
# @return [Boolean]
|
894
|
+
attr_accessor :required_for_new_site_to_site_data_transfer_spokes
|
895
|
+
alias_method :required_for_new_site_to_site_data_transfer_spokes?, :required_for_new_site_to_site_data_transfer_spokes
|
896
|
+
|
864
897
|
# The URI of the VPC network.
|
865
898
|
# Corresponds to the JSON property `uri`
|
866
899
|
# @return [String]
|
@@ -872,6 +905,7 @@ module Google
|
|
872
905
|
|
873
906
|
# Update properties of this object
|
874
907
|
def update!(**args)
|
908
|
+
@required_for_new_site_to_site_data_transfer_spokes = args[:required_for_new_site_to_site_data_transfer_spokes] if args.key?(:required_for_new_site_to_site_data_transfer_spokes)
|
875
909
|
@uri = args[:uri] if args.key?(:uri)
|
876
910
|
end
|
877
911
|
end
|
@@ -967,9 +1001,10 @@ module Google
|
|
967
1001
|
# @return [Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments]
|
968
1002
|
attr_accessor :linked_interconnect_attachments
|
969
1003
|
|
970
|
-
# A collection of router appliance instances. If you
|
971
|
-
# appliance instances
|
972
|
-
# the same
|
1004
|
+
# A collection of router appliance instances. If you configure multiple router
|
1005
|
+
# appliance instances to receive data from the same set of sites outside of
|
1006
|
+
# Google Cloud, we recommend that you associate those instances with the same
|
1007
|
+
# spoke.
|
973
1008
|
# Corresponds to the JSON property `linkedRouterApplianceInstances`
|
974
1009
|
# @return [Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances]
|
975
1010
|
attr_accessor :linked_router_appliance_instances
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkconnectivityV1
|
18
18
|
# Version of the google-apis-networkconnectivity_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220210"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,12 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class LocationMetadata
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
127
133
|
class OperationMetadata
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
@@ -331,6 +337,13 @@ module Google
|
|
331
337
|
end
|
332
338
|
end
|
333
339
|
|
340
|
+
class LocationMetadata
|
341
|
+
# @private
|
342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
343
|
+
collection :location_features, as: 'locationFeatures'
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
334
347
|
class OperationMetadata
|
335
348
|
# @private
|
336
349
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -367,6 +380,7 @@ module Google
|
|
367
380
|
class RoutingVpc
|
368
381
|
# @private
|
369
382
|
class Representation < Google::Apis::Core::JsonRepresentation
|
383
|
+
property :required_for_new_site_to_site_data_transfer_spokes, as: 'requiredForNewSiteToSiteDataTransferSpokes'
|
370
384
|
property :uri, as: 'uri'
|
371
385
|
end
|
372
386
|
end
|
@@ -127,7 +127,7 @@ module Google
|
|
127
127
|
# Required. The parent resource.
|
128
128
|
# @param [Google::Apis::NetworkconnectivityV1::Hub] hub_object
|
129
129
|
# @param [String] hub_id
|
130
|
-
#
|
130
|
+
# Required. A unique identifier for the hub.
|
131
131
|
# @param [String] request_id
|
132
132
|
# Optional. A unique request ID (optional). If you specify this ID, you can use
|
133
133
|
# it in cases when you need to retry your request. When you need to retry, this
|
@@ -250,13 +250,16 @@ module Google
|
|
250
250
|
# REQUIRED: The resource for which the policy is being requested. See the
|
251
251
|
# operation documentation for the appropriate value for this field.
|
252
252
|
# @param [Fixnum] options_requested_policy_version
|
253
|
-
# Optional. The policy
|
254
|
-
# 3. Requests specifying an invalid value will be
|
255
|
-
# policies with any conditional bindings must
|
256
|
-
#
|
257
|
-
# field unset.
|
258
|
-
#
|
259
|
-
#
|
253
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
254
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
255
|
+
# rejected. Requests for policies with any conditional role bindings must
|
256
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
257
|
+
# valid value or leave the field unset. The policy in the response might use the
|
258
|
+
# policy version that you specified, or it might use a lower policy version. For
|
259
|
+
# example, if you specify version 3, but the policy has no conditional role
|
260
|
+
# bindings, the response uses version 1. To learn which resources support
|
261
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
262
|
+
# google.com/iam/help/conditions/resource-policies).
|
260
263
|
# @param [String] fields
|
261
264
|
# Selector specifying which fields to include in a partial response.
|
262
265
|
# @param [String] quota_user
|
@@ -461,13 +464,16 @@ module Google
|
|
461
464
|
# REQUIRED: The resource for which the policy is being requested. See the
|
462
465
|
# operation documentation for the appropriate value for this field.
|
463
466
|
# @param [Fixnum] options_requested_policy_version
|
464
|
-
# Optional. The policy
|
465
|
-
# 3. Requests specifying an invalid value will be
|
466
|
-
# policies with any conditional bindings must
|
467
|
-
#
|
468
|
-
# field unset.
|
469
|
-
#
|
470
|
-
#
|
467
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
468
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
469
|
+
# rejected. Requests for policies with any conditional role bindings must
|
470
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
471
|
+
# valid value or leave the field unset. The policy in the response might use the
|
472
|
+
# policy version that you specified, or it might use a lower policy version. For
|
473
|
+
# example, if you specify version 3, but the policy has no conditional role
|
474
|
+
# bindings, the response uses version 1. To learn which resources support
|
475
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
476
|
+
# google.com/iam/help/conditions/resource-policies).
|
471
477
|
# @param [String] fields
|
472
478
|
# Selector specifying which fields to include in a partial response.
|
473
479
|
# @param [String] quota_user
|
@@ -737,7 +743,7 @@ module Google
|
|
737
743
|
# a valid UUID, with the exception that zero UUID is not supported (00000000-
|
738
744
|
# 0000-0000-0000-000000000000).
|
739
745
|
# @param [String] spoke_id
|
740
|
-
#
|
746
|
+
# Required. Unique id for the spoke to create.
|
741
747
|
# @param [String] fields
|
742
748
|
# Selector specifying which fields to include in a partial response.
|
743
749
|
# @param [String] quota_user
|
@@ -848,13 +854,16 @@ module Google
|
|
848
854
|
# REQUIRED: The resource for which the policy is being requested. See the
|
849
855
|
# operation documentation for the appropriate value for this field.
|
850
856
|
# @param [Fixnum] options_requested_policy_version
|
851
|
-
# Optional. The policy
|
852
|
-
# 3. Requests specifying an invalid value will be
|
853
|
-
# policies with any conditional bindings must
|
854
|
-
#
|
855
|
-
# field unset.
|
856
|
-
#
|
857
|
-
#
|
857
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
858
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
859
|
+
# rejected. Requests for policies with any conditional role bindings must
|
860
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
861
|
+
# valid value or leave the field unset. The policy in the response might use the
|
862
|
+
# policy version that you specified, or it might use a lower policy version. For
|
863
|
+
# example, if you specify version 3, but the policy has no conditional role
|
864
|
+
# bindings, the response uses version 1. To learn which resources support
|
865
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
866
|
+
# google.com/iam/help/conditions/resource-policies).
|
858
867
|
# @param [String] fields
|
859
868
|
# Selector specifying which fields to include in a partial response.
|
860
869
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkconnectivity_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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:
|
11
|
+
date: 2022-02-21 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-networkconnectivity_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.7.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
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.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Network Connectivity API V1
|