google-apis-networkconnectivity_v1 0.53.0 → 0.54.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 +4 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +116 -0
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +35 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +66 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4735fe0d300f5304c752b76b373ca76c72ba496be368ec3461e762e78a2325c
|
4
|
+
data.tar.gz: c0de43c8f389c7496f50b2a387309c956dfee3cac9059eb872e5a2fb372f220a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f323e72ec29af00164326a08f4fdedf66ca30e09db8ef2c9bdfd8555acc35179fd6fbd20b981a050284fec37e5fd6e6a4390a930c3cd00348bd724f23c1cad62
|
7
|
+
data.tar.gz: 60c3f77aeb4e8f73aaae105793e6461afa001610961ca202565accfb95810125c11eae244784ec195a90ecefef66288d240dc8bed81101c29c9df463e4bc18b8
|
data/CHANGELOG.md
CHANGED
@@ -80,6 +80,47 @@ module Google
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
+
# The request for HubService.AcceptSpokeUpdate.
|
84
|
+
class AcceptSpokeUpdateRequest
|
85
|
+
include Google::Apis::Core::Hashable
|
86
|
+
|
87
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
88
|
+
# that if you must retry your request, the server knows to ignore the request if
|
89
|
+
# it has already been completed. The server guarantees that a request doesn't
|
90
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
91
|
+
# example, consider a situation where you make an initial request and the
|
92
|
+
# request times out. If you make the request again with the same request ID, the
|
93
|
+
# server can check to see whether the original operation was received. If it was,
|
94
|
+
# the server ignores the second request. This behavior prevents clients from
|
95
|
+
# mistakenly creating duplicate commitments. The request ID must be a valid UUID,
|
96
|
+
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
97
|
+
# 000000000000).
|
98
|
+
# Corresponds to the JSON property `requestId`
|
99
|
+
# @return [String]
|
100
|
+
attr_accessor :request_id
|
101
|
+
|
102
|
+
# Required. The etag of the spoke to accept update.
|
103
|
+
# Corresponds to the JSON property `spokeEtag`
|
104
|
+
# @return [String]
|
105
|
+
attr_accessor :spoke_etag
|
106
|
+
|
107
|
+
# Required. The URI of the spoke to accept update.
|
108
|
+
# Corresponds to the JSON property `spokeUri`
|
109
|
+
# @return [String]
|
110
|
+
attr_accessor :spoke_uri
|
111
|
+
|
112
|
+
def initialize(**args)
|
113
|
+
update!(**args)
|
114
|
+
end
|
115
|
+
|
116
|
+
# Update properties of this object
|
117
|
+
def update!(**args)
|
118
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
119
|
+
@spoke_etag = args[:spoke_etag] if args.key?(:spoke_etag)
|
120
|
+
@spoke_uri = args[:spoke_uri] if args.key?(:spoke_uri)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
83
124
|
# Specifies the audit configuration for a service. The configuration determines
|
84
125
|
# which permission types are logged, and what identities, if any, are exempted
|
85
126
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -1240,6 +1281,12 @@ module Google
|
|
1240
1281
|
# @return [String]
|
1241
1282
|
attr_accessor :producer_network
|
1242
1283
|
|
1284
|
+
# Optional. The proposed include export IP ranges waiting for hub administration'
|
1285
|
+
# s approval.
|
1286
|
+
# Corresponds to the JSON property `proposedIncludeExportRanges`
|
1287
|
+
# @return [Array<String>]
|
1288
|
+
attr_accessor :proposed_include_export_ranges
|
1289
|
+
|
1243
1290
|
# Output only. The Service Consumer Network spoke.
|
1244
1291
|
# Corresponds to the JSON property `serviceConsumerVpcSpoke`
|
1245
1292
|
# @return [String]
|
@@ -1256,6 +1303,7 @@ module Google
|
|
1256
1303
|
@network = args[:network] if args.key?(:network)
|
1257
1304
|
@peering = args[:peering] if args.key?(:peering)
|
1258
1305
|
@producer_network = args[:producer_network] if args.key?(:producer_network)
|
1306
|
+
@proposed_include_export_ranges = args[:proposed_include_export_ranges] if args.key?(:proposed_include_export_ranges)
|
1259
1307
|
@service_consumer_vpc_spoke = args[:service_consumer_vpc_spoke] if args.key?(:service_consumer_vpc_spoke)
|
1260
1308
|
end
|
1261
1309
|
end
|
@@ -1332,6 +1380,12 @@ module Google
|
|
1332
1380
|
# @return [Array<String>]
|
1333
1381
|
attr_accessor :producer_vpc_spokes
|
1334
1382
|
|
1383
|
+
# Optional. The proposed include export IP ranges waiting for hub administration'
|
1384
|
+
# s approval.
|
1385
|
+
# Corresponds to the JSON property `proposedIncludeExportRanges`
|
1386
|
+
# @return [Array<String>]
|
1387
|
+
attr_accessor :proposed_include_export_ranges
|
1388
|
+
|
1335
1389
|
# Required. The URI of the VPC network resource.
|
1336
1390
|
# Corresponds to the JSON property `uri`
|
1337
1391
|
# @return [String]
|
@@ -1346,6 +1400,7 @@ module Google
|
|
1346
1400
|
@exclude_export_ranges = args[:exclude_export_ranges] if args.key?(:exclude_export_ranges)
|
1347
1401
|
@include_export_ranges = args[:include_export_ranges] if args.key?(:include_export_ranges)
|
1348
1402
|
@producer_vpc_spokes = args[:producer_vpc_spokes] if args.key?(:producer_vpc_spokes)
|
1403
|
+
@proposed_include_export_ranges = args[:proposed_include_export_ranges] if args.key?(:proposed_include_export_ranges)
|
1349
1404
|
@uri = args[:uri] if args.key?(:uri)
|
1350
1405
|
end
|
1351
1406
|
end
|
@@ -2767,6 +2822,53 @@ module Google
|
|
2767
2822
|
end
|
2768
2823
|
end
|
2769
2824
|
|
2825
|
+
# The request for HubService.RejectSpokeUpdate.
|
2826
|
+
class RejectSpokeUpdateRequest
|
2827
|
+
include Google::Apis::Core::Hashable
|
2828
|
+
|
2829
|
+
# Optional. Additional information provided by the hub administrator.
|
2830
|
+
# Corresponds to the JSON property `details`
|
2831
|
+
# @return [String]
|
2832
|
+
attr_accessor :details
|
2833
|
+
|
2834
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
2835
|
+
# that if you must retry your request, the server knows to ignore the request if
|
2836
|
+
# it has already been completed. The server guarantees that a request doesn't
|
2837
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
2838
|
+
# example, consider a situation where you make an initial request and the
|
2839
|
+
# request times out. If you make the request again with the same request ID, the
|
2840
|
+
# server can check to see whether the original operation was received. If it was,
|
2841
|
+
# the server ignores the second request. This behavior prevents clients from
|
2842
|
+
# mistakenly creating duplicate commitments. The request ID must be a valid UUID,
|
2843
|
+
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
2844
|
+
# 000000000000).
|
2845
|
+
# Corresponds to the JSON property `requestId`
|
2846
|
+
# @return [String]
|
2847
|
+
attr_accessor :request_id
|
2848
|
+
|
2849
|
+
# Required. The etag of the spoke to reject update.
|
2850
|
+
# Corresponds to the JSON property `spokeEtag`
|
2851
|
+
# @return [String]
|
2852
|
+
attr_accessor :spoke_etag
|
2853
|
+
|
2854
|
+
# Required. The URI of the spoke to reject update.
|
2855
|
+
# Corresponds to the JSON property `spokeUri`
|
2856
|
+
# @return [String]
|
2857
|
+
attr_accessor :spoke_uri
|
2858
|
+
|
2859
|
+
def initialize(**args)
|
2860
|
+
update!(**args)
|
2861
|
+
end
|
2862
|
+
|
2863
|
+
# Update properties of this object
|
2864
|
+
def update!(**args)
|
2865
|
+
@details = args[:details] if args.key?(:details)
|
2866
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
2867
|
+
@spoke_etag = args[:spoke_etag] if args.key?(:spoke_etag)
|
2868
|
+
@spoke_uri = args[:spoke_uri] if args.key?(:spoke_uri)
|
2869
|
+
end
|
2870
|
+
end
|
2871
|
+
|
2770
2872
|
# A route defines a path from VM instances within a spoke to a specific
|
2771
2873
|
# destination resource. Only VPC spokes have routes.
|
2772
2874
|
class Route
|
@@ -3399,6 +3501,18 @@ module Google
|
|
3399
3501
|
# @return [String]
|
3400
3502
|
attr_accessor :description
|
3401
3503
|
|
3504
|
+
# Optional. This checksum is computed by the server based on the value of other
|
3505
|
+
# fields, and may be sent on update and delete requests to ensure the client has
|
3506
|
+
# an up-to-date value before proceeding.
|
3507
|
+
# Corresponds to the JSON property `etag`
|
3508
|
+
# @return [String]
|
3509
|
+
attr_accessor :etag
|
3510
|
+
|
3511
|
+
# Optional. The list of fields waiting for hub administration's approval.
|
3512
|
+
# Corresponds to the JSON property `fieldPathsPendingUpdate`
|
3513
|
+
# @return [Array<String>]
|
3514
|
+
attr_accessor :field_paths_pending_update
|
3515
|
+
|
3402
3516
|
# Optional. The name of the group that this spoke is associated with.
|
3403
3517
|
# Corresponds to the JSON property `group`
|
3404
3518
|
# @return [String]
|
@@ -3492,6 +3606,8 @@ module Google
|
|
3492
3606
|
def update!(**args)
|
3493
3607
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3494
3608
|
@description = args[:description] if args.key?(:description)
|
3609
|
+
@etag = args[:etag] if args.key?(:etag)
|
3610
|
+
@field_paths_pending_update = args[:field_paths_pending_update] if args.key?(:field_paths_pending_update)
|
3495
3611
|
@group = args[:group] if args.key?(:group)
|
3496
3612
|
@hub = args[:hub] if args.key?(:hub)
|
3497
3613
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -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.54.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250226"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AcceptSpokeUpdateRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class AuditConfig
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -370,6 +376,12 @@ module Google
|
|
370
376
|
include Google::Apis::Core::JsonObjectSupport
|
371
377
|
end
|
372
378
|
|
379
|
+
class RejectSpokeUpdateRequest
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
373
385
|
class Route
|
374
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
387
|
|
@@ -500,6 +512,15 @@ module Google
|
|
500
512
|
end
|
501
513
|
end
|
502
514
|
|
515
|
+
class AcceptSpokeUpdateRequest
|
516
|
+
# @private
|
517
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
518
|
+
property :request_id, as: 'requestId'
|
519
|
+
property :spoke_etag, as: 'spokeEtag'
|
520
|
+
property :spoke_uri, as: 'spokeUri'
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
503
524
|
class AuditConfig
|
504
525
|
# @private
|
505
526
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -736,6 +757,7 @@ module Google
|
|
736
757
|
property :network, as: 'network'
|
737
758
|
property :peering, as: 'peering'
|
738
759
|
property :producer_network, as: 'producerNetwork'
|
760
|
+
collection :proposed_include_export_ranges, as: 'proposedIncludeExportRanges'
|
739
761
|
property :service_consumer_vpc_spoke, as: 'serviceConsumerVpcSpoke'
|
740
762
|
end
|
741
763
|
end
|
@@ -757,6 +779,7 @@ module Google
|
|
757
779
|
collection :exclude_export_ranges, as: 'excludeExportRanges'
|
758
780
|
collection :include_export_ranges, as: 'includeExportRanges'
|
759
781
|
collection :producer_vpc_spokes, as: 'producerVpcSpokes'
|
782
|
+
collection :proposed_include_export_ranges, as: 'proposedIncludeExportRanges'
|
760
783
|
property :uri, as: 'uri'
|
761
784
|
end
|
762
785
|
end
|
@@ -1116,6 +1139,16 @@ module Google
|
|
1116
1139
|
end
|
1117
1140
|
end
|
1118
1141
|
|
1142
|
+
class RejectSpokeUpdateRequest
|
1143
|
+
# @private
|
1144
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1145
|
+
property :details, as: 'details'
|
1146
|
+
property :request_id, as: 'requestId'
|
1147
|
+
property :spoke_etag, as: 'spokeEtag'
|
1148
|
+
property :spoke_uri, as: 'spokeUri'
|
1149
|
+
end
|
1150
|
+
end
|
1151
|
+
|
1119
1152
|
class Route
|
1120
1153
|
# @private
|
1121
1154
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1254,6 +1287,8 @@ module Google
|
|
1254
1287
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1255
1288
|
property :create_time, as: 'createTime'
|
1256
1289
|
property :description, as: 'description'
|
1290
|
+
property :etag, as: 'etag'
|
1291
|
+
collection :field_paths_pending_update, as: 'fieldPathsPendingUpdate'
|
1257
1292
|
property :group, as: 'group'
|
1258
1293
|
property :hub, as: 'hub'
|
1259
1294
|
hash :labels, as: 'labels'
|
@@ -157,6 +157,39 @@ module Google
|
|
157
157
|
execute_or_queue_command(command, &block)
|
158
158
|
end
|
159
159
|
|
160
|
+
# Accepts a proposal to update a Network Connectivity Center spoke in a hub.
|
161
|
+
# @param [String] name
|
162
|
+
# Required. The name of the hub to accept spoke update.
|
163
|
+
# @param [Google::Apis::NetworkconnectivityV1::AcceptSpokeUpdateRequest] accept_spoke_update_request_object
|
164
|
+
# @param [String] fields
|
165
|
+
# Selector specifying which fields to include in a partial response.
|
166
|
+
# @param [String] quota_user
|
167
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
168
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
169
|
+
# @param [Google::Apis::RequestOptions] options
|
170
|
+
# Request-specific options
|
171
|
+
#
|
172
|
+
# @yield [result, err] Result & error if block supplied
|
173
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
174
|
+
# @yieldparam err [StandardError] error object if request failed
|
175
|
+
#
|
176
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
177
|
+
#
|
178
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
179
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
180
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
181
|
+
def accept_hub_spoke_update(name, accept_spoke_update_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
182
|
+
command = make_simple_command(:post, 'v1/{+name}:acceptSpokeUpdate', options)
|
183
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::AcceptSpokeUpdateRequest::Representation
|
184
|
+
command.request_object = accept_spoke_update_request_object
|
185
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
186
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
187
|
+
command.params['name'] = name unless name.nil?
|
188
|
+
command.query['fields'] = fields unless fields.nil?
|
189
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
190
|
+
execute_or_queue_command(command, &block)
|
191
|
+
end
|
192
|
+
|
160
193
|
# Creates a new Network Connectivity Center hub in the specified project.
|
161
194
|
# @param [String] parent
|
162
195
|
# Required. The parent resource.
|
@@ -573,6 +606,39 @@ module Google
|
|
573
606
|
execute_or_queue_command(command, &block)
|
574
607
|
end
|
575
608
|
|
609
|
+
# Rejects a proposal to update a Network Connectivity Center spoke in a hub.
|
610
|
+
# @param [String] name
|
611
|
+
# Required. The name of the hub to reject spoke update.
|
612
|
+
# @param [Google::Apis::NetworkconnectivityV1::RejectSpokeUpdateRequest] reject_spoke_update_request_object
|
613
|
+
# @param [String] fields
|
614
|
+
# Selector specifying which fields to include in a partial response.
|
615
|
+
# @param [String] quota_user
|
616
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
617
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
618
|
+
# @param [Google::Apis::RequestOptions] options
|
619
|
+
# Request-specific options
|
620
|
+
#
|
621
|
+
# @yield [result, err] Result & error if block supplied
|
622
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
623
|
+
# @yieldparam err [StandardError] error object if request failed
|
624
|
+
#
|
625
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
626
|
+
#
|
627
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
628
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
629
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
630
|
+
def reject_hub_spoke_update(name, reject_spoke_update_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
631
|
+
command = make_simple_command(:post, 'v1/{+name}:rejectSpokeUpdate', options)
|
632
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::RejectSpokeUpdateRequest::Representation
|
633
|
+
command.request_object = reject_spoke_update_request_object
|
634
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
635
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
636
|
+
command.params['name'] = name unless name.nil?
|
637
|
+
command.query['fields'] = fields unless fields.nil?
|
638
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
639
|
+
execute_or_queue_command(command, &block)
|
640
|
+
end
|
641
|
+
|
576
642
|
# Sets the access control policy on the specified resource. Replaces any
|
577
643
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
578
644
|
# PERMISSION_DENIED` errors.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.54.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-09 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.54.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|