google-apis-networkconnectivity_v1 0.3.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65780ed0005b0337dc361570462aa6e64c9f5b16538807dd45e52ea27fad467e
4
- data.tar.gz: 0a57aaaf28ac3104e3cf480594b430059ddb100bb01296fbdb1715b3d0f5cdc1
3
+ metadata.gz: e130a187baf7345e38d45769d48b42845af7935c702b9fb74d82567229faa6b3
4
+ data.tar.gz: 3b4f54408c408307bfa13ab58d07e083db6d52d68000c1acc6e189eb5e788ed0
5
5
  SHA512:
6
- metadata.gz: 68a9b779f1fd92d5a4d11c0414ce0f9f037637985a081dbbf81add6496ddeb8652dab49d0a837cee4865938842e34cf067aefdc35193125940d4212b53cc8cef
7
- data.tar.gz: b8359276c82a0bf71efefb5a9da3da354f637eb149272785b8f615eb1374c86450acf22cb4e71056785e456ca8ad45a27a65af1287a72a031424b9a087981d51
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.authentication = # ... use the googleauth gem to create credentials
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, all of a hub's spokes must be associated with resources that
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 network associated with this hub's spokes. All of the VPN tunnels,
407
- # VLAN attachments, and router appliance instances referenced by this hub's
408
- # spokes must belong to this VPC network. This field is read-only. Network
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. This field is set to false by default, but you must set it to true.
458
- # Note that data transfer is available only in supported locations.
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 have multiple router
481
- # appliance instances connected to the same site, they should all be attached to
482
- # the same spoke.
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. This field is set to false by default, but you must set it to true.
493
- # Note that data transfer is available only in supported locations.
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. This field is set to false by default, but you must set it to true.
519
- # Note that data transfer is available only in supported locations.
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 network that is associated with
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 have multiple router
971
- # appliance instances connected to the same site, they should all be attached to
972
- # the same spoke.
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.3.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.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211026"
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
- # Optional. A unique identifier for the hub.
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 format version to be returned. Valid values are 0, 1, and
254
- # 3. Requests specifying an invalid value will be rejected. Requests for
255
- # policies with any conditional bindings must specify version 3. Policies
256
- # without any conditional bindings may specify any valid value or leave the
257
- # field unset. To learn which resources support conditions in their IAM policies,
258
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
259
- # resource-policies).
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 format version to be returned. Valid values are 0, 1, and
465
- # 3. Requests specifying an invalid value will be rejected. Requests for
466
- # policies with any conditional bindings must specify version 3. Policies
467
- # without any conditional bindings may specify any valid value or leave the
468
- # field unset. To learn which resources support conditions in their IAM policies,
469
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
470
- # resource-policies).
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
- # Optional. Unique id for the spoke to create.
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 format version to be returned. Valid values are 0, 1, and
852
- # 3. Requests specifying an invalid value will be rejected. Requests for
853
- # policies with any conditional bindings must specify version 3. Policies
854
- # without any conditional bindings may specify any valid value or leave the
855
- # field unset. To learn which resources support conditions in their IAM policies,
856
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
857
- # resource-policies).
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.3.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: 2021-11-01 00:00:00.000000000 Z
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.3.0
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.2.17
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