google-apis-networkconnectivity_v1 0.49.0 → 0.51.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b555e6994968e0aa8675884ad70c8c4671d43a4a057f1aa1a3779cd8e070ea7
4
- data.tar.gz: 136ba0752a2c07ca20861687a57f0b640ce72bc75627a7ada1d9e1f7fd4580ca
3
+ metadata.gz: 8e52b6e69398acfee123b540b2c6955e41868eeb4dfc5ef886341b6e165833a5
4
+ data.tar.gz: 251a68d4632d3fa90f5ed0cd732f860a581c1855187da00010a2a767697e4174
5
5
  SHA512:
6
- metadata.gz: 74ffddfa9107fa618c69da5d07e7804f198bd6d68f706e16cd0fc8e8b9ab155d0eabcfa0d1ba7fa4cc87574a808ea1e4da3ea1dd0947eaf7f20fa37e45172f76
7
- data.tar.gz: 377bc181f8e48a666cf8b81a03b5a3f6ce19b3f419818dac1dc220bcc9c9eb998e223dbcc88ec2677ed832de4189f6969783402318bdf5201b31171b46120a96
6
+ metadata.gz: 79fbf83a1b4232cfe96d5ff8a5c9b8f1bea562093a686ad0f9b231d9cbd4cc6bb092daf225152b85625fc54925766eecb42bd691d7fb362023c2b51c1358d591
7
+ data.tar.gz: d2afb0e4519b39e56281a2a5c34b84f6ae1a2b8be8b97ed69b2bd27f9a03b067ff2c785d6b2e285ce7ddd32c37c21a55492e5fe7d8da9cdfafd13cd38209b8b0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networkconnectivity_v1
2
2
 
3
+ ### v0.51.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241112
6
+
7
+ ### v0.50.0 (2024-11-10)
8
+
9
+ * Regenerated from discovery document revision 20241030
10
+
3
11
  ### v0.49.0 (2024-10-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20241009
@@ -983,6 +983,37 @@ module Google
983
983
  end
984
984
  end
985
985
 
986
+ # The hub status entry.
987
+ class HubStatusEntry
988
+ include Google::Apis::Core::Hashable
989
+
990
+ # The number of status. If group_by is not set in the request, the default is 1.
991
+ # Corresponds to the JSON property `count`
992
+ # @return [Fixnum]
993
+ attr_accessor :count
994
+
995
+ # The same group_by field from the request.
996
+ # Corresponds to the JSON property `groupBy`
997
+ # @return [String]
998
+ attr_accessor :group_by
999
+
1000
+ # The PSC propagation status in a hub.
1001
+ # Corresponds to the JSON property `pscPropagationStatus`
1002
+ # @return [Google::Apis::NetworkconnectivityV1::PscPropagationStatus]
1003
+ attr_accessor :psc_propagation_status
1004
+
1005
+ def initialize(**args)
1006
+ update!(**args)
1007
+ end
1008
+
1009
+ # Update properties of this object
1010
+ def update!(**args)
1011
+ @count = args[:count] if args.key?(:count)
1012
+ @group_by = args[:group_by] if args.key?(:group_by)
1013
+ @psc_propagation_status = args[:psc_propagation_status] if args.key?(:psc_propagation_status)
1014
+ end
1015
+ end
1016
+
986
1017
  # InterconnectAttachment that this route applies to.
987
1018
  class InterconnectAttachment
988
1019
  include Google::Apis::Core::Hashable
@@ -1172,7 +1203,7 @@ module Google
1172
1203
  end
1173
1204
  end
1174
1205
 
1175
- # Next ID: 7
1206
+ #
1176
1207
  class LinkedProducerVpcNetwork
1177
1208
  include Google::Apis::Core::Hashable
1178
1209
 
@@ -1181,6 +1212,11 @@ module Google
1181
1212
  # @return [Array<String>]
1182
1213
  attr_accessor :exclude_export_ranges
1183
1214
 
1215
+ # Optional. IP ranges allowed to be included from peering.
1216
+ # Corresponds to the JSON property `includeExportRanges`
1217
+ # @return [Array<String>]
1218
+ attr_accessor :include_export_ranges
1219
+
1184
1220
  # Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered
1185
1221
  # with.
1186
1222
  # Corresponds to the JSON property `network`
@@ -1211,6 +1247,7 @@ module Google
1211
1247
  # Update properties of this object
1212
1248
  def update!(**args)
1213
1249
  @exclude_export_ranges = args[:exclude_export_ranges] if args.key?(:exclude_export_ranges)
1250
+ @include_export_ranges = args[:include_export_ranges] if args.key?(:include_export_ranges)
1214
1251
  @network = args[:network] if args.key?(:network)
1215
1252
  @peering = args[:peering] if args.key?(:peering)
1216
1253
  @producer_network = args[:producer_network] if args.key?(:producer_network)
@@ -1507,7 +1544,7 @@ module Google
1507
1544
  end
1508
1545
  end
1509
1546
 
1510
- # Response for PolicyBasedRouting.ListPolicyBasedRoutes method.
1547
+ # Response for PolicyBasedRoutingService.ListPolicyBasedRoutes method.
1511
1548
  class ListPolicyBasedRoutesResponse
1512
1549
  include Google::Apis::Core::Hashable
1513
1550
 
@@ -2038,9 +2075,9 @@ module Google
2038
2075
  attr_accessor :end_time
2039
2076
 
2040
2077
  # Output only. Identifies whether the user has requested cancellation of the
2041
- # operation. Operations that have been cancelled successfully have Operation.
2042
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
2043
- # CANCELLED`.
2078
+ # operation. Operations that have been cancelled successfully have google.
2079
+ # longrunning.Operation.error value with a google.rpc.Status.code of 1,
2080
+ # corresponding to `Code.CANCELLED`.
2044
2081
  # Corresponds to the JSON property `requestedCancellation`
2045
2082
  # @return [Boolean]
2046
2083
  attr_accessor :requested_cancellation
@@ -2476,6 +2513,88 @@ module Google
2476
2513
  end
2477
2514
  end
2478
2515
 
2516
+ # The PSC propagation status in a hub.
2517
+ class PscPropagationStatus
2518
+ include Google::Apis::Core::Hashable
2519
+
2520
+ # The propagation status.
2521
+ # Corresponds to the JSON property `code`
2522
+ # @return [String]
2523
+ attr_accessor :code
2524
+
2525
+ # The human-readable summary of the PSC connection propagation status.
2526
+ # Corresponds to the JSON property `message`
2527
+ # @return [String]
2528
+ attr_accessor :message
2529
+
2530
+ # The name of the forwarding rule exported to the hub.
2531
+ # Corresponds to the JSON property `sourceForwardingRule`
2532
+ # @return [String]
2533
+ attr_accessor :source_forwarding_rule
2534
+
2535
+ # The name of the group that the source spoke belongs to.
2536
+ # Corresponds to the JSON property `sourceGroup`
2537
+ # @return [String]
2538
+ attr_accessor :source_group
2539
+
2540
+ # The name of the spoke that the source forwarding rule belongs to.
2541
+ # Corresponds to the JSON property `sourceSpoke`
2542
+ # @return [String]
2543
+ attr_accessor :source_spoke
2544
+
2545
+ # The name of the group that the target spoke belongs to.
2546
+ # Corresponds to the JSON property `targetGroup`
2547
+ # @return [String]
2548
+ attr_accessor :target_group
2549
+
2550
+ # The name of the spoke that the source forwarding rule propagates to.
2551
+ # Corresponds to the JSON property `targetSpoke`
2552
+ # @return [String]
2553
+ attr_accessor :target_spoke
2554
+
2555
+ def initialize(**args)
2556
+ update!(**args)
2557
+ end
2558
+
2559
+ # Update properties of this object
2560
+ def update!(**args)
2561
+ @code = args[:code] if args.key?(:code)
2562
+ @message = args[:message] if args.key?(:message)
2563
+ @source_forwarding_rule = args[:source_forwarding_rule] if args.key?(:source_forwarding_rule)
2564
+ @source_group = args[:source_group] if args.key?(:source_group)
2565
+ @source_spoke = args[:source_spoke] if args.key?(:source_spoke)
2566
+ @target_group = args[:target_group] if args.key?(:target_group)
2567
+ @target_spoke = args[:target_spoke] if args.key?(:target_spoke)
2568
+ end
2569
+ end
2570
+
2571
+ # The response for HubService.QueryHubStatus.
2572
+ class QueryHubStatusResponse
2573
+ include Google::Apis::Core::Hashable
2574
+
2575
+ # The list of hub status.
2576
+ # Corresponds to the JSON property `hubStatusEntries`
2577
+ # @return [Array<Google::Apis::NetworkconnectivityV1::HubStatusEntry>]
2578
+ attr_accessor :hub_status_entries
2579
+
2580
+ # The token for the next page of the response. To see more results, use this
2581
+ # value as the page_token for your next request. If this value is empty, there
2582
+ # are no more results.
2583
+ # Corresponds to the JSON property `nextPageToken`
2584
+ # @return [String]
2585
+ attr_accessor :next_page_token
2586
+
2587
+ def initialize(**args)
2588
+ update!(**args)
2589
+ end
2590
+
2591
+ # Update properties of this object
2592
+ def update!(**args)
2593
+ @hub_status_entries = args[:hub_status_entries] if args.key?(:hub_status_entries)
2594
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2595
+ end
2596
+ end
2597
+
2479
2598
  # The RegionalEndpoint resource.
2480
2599
  class RegionalEndpoint
2481
2600
  include Google::Apis::Core::Hashable
@@ -2489,7 +2608,7 @@ module Google
2489
2608
  # Optional. The IP Address of the Regional Endpoint. When no address is provided,
2490
2609
  # an IP from the subnetwork is allocated. Use one of the following formats: *
2491
2610
  # IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/`project`/
2492
- # regions/`region`/addresses/`address_name``
2611
+ # regions/`region`/addresses/`address_name`` for an IPv4 or IPv6 address.
2493
2612
  # Corresponds to the JSON property `address`
2494
2613
  # @return [String]
2495
2614
  attr_accessor :address
@@ -2881,7 +3000,7 @@ module Google
2881
3000
  end
2882
3001
  end
2883
3002
 
2884
- # The ServiceClass resource. Next id: 9
3003
+ # The ServiceClass resource.
2885
3004
  class ServiceClass
2886
3005
  include Google::Apis::Core::Hashable
2887
3006
 
@@ -2940,7 +3059,7 @@ module Google
2940
3059
  end
2941
3060
  end
2942
3061
 
2943
- # The ServiceConnectionMap resource. Next id: 15
3062
+ # The ServiceConnectionMap resource.
2944
3063
  class ServiceConnectionMap
2945
3064
  include Google::Apis::Core::Hashable
2946
3065
 
@@ -3038,7 +3157,7 @@ module Google
3038
3157
  end
3039
3158
  end
3040
3159
 
3041
- # The ServiceConnectionPolicy resource. Next id: 12
3160
+ # The ServiceConnectionPolicy resource.
3042
3161
  class ServiceConnectionPolicy
3043
3162
  include Google::Apis::Core::Hashable
3044
3163
 
@@ -3127,7 +3246,7 @@ module Google
3127
3246
  end
3128
3247
  end
3129
3248
 
3130
- # The ServiceConnectionToken resource. Next id: 10
3249
+ # The ServiceConnectionToken resource.
3131
3250
  class ServiceConnectionToken
3132
3251
  include Google::Apis::Core::Hashable
3133
3252
 
@@ -3294,7 +3413,7 @@ module Google
3294
3413
  # @return [Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments]
3295
3414
  attr_accessor :linked_interconnect_attachments
3296
3415
 
3297
- # Next ID: 7
3416
+ # Optional. The linked producer VPC that is associated with the spoke.
3298
3417
  # Corresponds to the JSON property `linkedProducerVpcNetwork`
3299
3418
  # @return [Google::Apis::NetworkconnectivityV1::LinkedProducerVpcNetwork]
3300
3419
  attr_accessor :linked_producer_vpc_network
@@ -3327,8 +3446,7 @@ module Google
3327
3446
  # @return [String]
3328
3447
  attr_accessor :name
3329
3448
 
3330
- # Output only. The reasons for current state of the spoke. Only present when the
3331
- # spoke is in the `INACTIVE` state.
3449
+ # Output only. The reasons for current state of the spoke.
3332
3450
  # Corresponds to the JSON property `reasons`
3333
3451
  # @return [Array<Google::Apis::NetworkconnectivityV1::StateReason>]
3334
3452
  attr_accessor :reasons
@@ -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.49.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241009"
25
+ REVISION = "20241112"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class HubStatusEntry
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class InterconnectAttachment
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -334,6 +340,18 @@ module Google
334
340
  include Google::Apis::Core::JsonObjectSupport
335
341
  end
336
342
 
343
+ class PscPropagationStatus
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class QueryHubStatusResponse
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
337
355
  class RegionalEndpoint
338
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
357
 
@@ -662,6 +680,16 @@ module Google
662
680
  end
663
681
  end
664
682
 
683
+ class HubStatusEntry
684
+ # @private
685
+ class Representation < Google::Apis::Core::JsonRepresentation
686
+ property :count, as: 'count'
687
+ property :group_by, as: 'groupBy'
688
+ property :psc_propagation_status, as: 'pscPropagationStatus', class: Google::Apis::NetworkconnectivityV1::PscPropagationStatus, decorator: Google::Apis::NetworkconnectivityV1::PscPropagationStatus::Representation
689
+
690
+ end
691
+ end
692
+
665
693
  class InterconnectAttachment
666
694
  # @private
667
695
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -704,6 +732,7 @@ module Google
704
732
  # @private
705
733
  class Representation < Google::Apis::Core::JsonRepresentation
706
734
  collection :exclude_export_ranges, as: 'excludeExportRanges'
735
+ collection :include_export_ranges, as: 'includeExportRanges'
707
736
  property :network, as: 'network'
708
737
  property :peering, as: 'peering'
709
738
  property :producer_network, as: 'producerNetwork'
@@ -1030,6 +1059,28 @@ module Google
1030
1059
  end
1031
1060
  end
1032
1061
 
1062
+ class PscPropagationStatus
1063
+ # @private
1064
+ class Representation < Google::Apis::Core::JsonRepresentation
1065
+ property :code, as: 'code'
1066
+ property :message, as: 'message'
1067
+ property :source_forwarding_rule, as: 'sourceForwardingRule'
1068
+ property :source_group, as: 'sourceGroup'
1069
+ property :source_spoke, as: 'sourceSpoke'
1070
+ property :target_group, as: 'targetGroup'
1071
+ property :target_spoke, as: 'targetSpoke'
1072
+ end
1073
+ end
1074
+
1075
+ class QueryHubStatusResponse
1076
+ # @private
1077
+ class Representation < Google::Apis::Core::JsonRepresentation
1078
+ collection :hub_status_entries, as: 'hubStatusEntries', class: Google::Apis::NetworkconnectivityV1::HubStatusEntry, decorator: Google::Apis::NetworkconnectivityV1::HubStatusEntry::Representation
1079
+
1080
+ property :next_page_token, as: 'nextPageToken'
1081
+ end
1082
+ end
1083
+
1033
1084
  class RegionalEndpoint
1034
1085
  # @private
1035
1086
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -476,6 +476,66 @@ module Google
476
476
  execute_or_queue_command(command, &block)
477
477
  end
478
478
 
479
+ # Query PSC propagation status the status of a Network Connectivity Center hub.
480
+ # @param [String] name
481
+ # Required. The name of the hub.
482
+ # @param [String] filter
483
+ # Optional. An expression that filters the list of results. The filter can be
484
+ # used to filter the results by the following fields: * psc_propagation_status.
485
+ # source_spoke * psc_propagation_status.source_group * psc_propagation_status.
486
+ # source_forwarding_rule * psc_propagation_status.target_spoke *
487
+ # psc_propagation_status.target_group * psc_propagation_status.code *
488
+ # psc_propagation_status.message
489
+ # @param [String] group_by
490
+ # Optional. A field that counts are grouped by. A comma-separated list of any of
491
+ # these fields: * psc_propagation_status.source_spoke * psc_propagation_status.
492
+ # source_group * psc_propagation_status.source_forwarding_rule *
493
+ # psc_propagation_status.target_spoke * psc_propagation_status.target_group *
494
+ # psc_propagation_status.code
495
+ # @param [String] order_by
496
+ # Optional. Sort the results in the ascending order by specific fields returned
497
+ # in the response. A comma-separated list of any of these fields: *
498
+ # psc_propagation_status.source_spoke * psc_propagation_status.source_group *
499
+ # psc_propagation_status.source_forwarding_rule * psc_propagation_status.
500
+ # target_spoke * psc_propagation_status.target_group * psc_propagation_status.
501
+ # code If `group_by` is set, the value of the `order_by` field must be the same
502
+ # as or a subset of the `group_by` field.
503
+ # @param [Fixnum] page_size
504
+ # Optional. The maximum number of results to return per page.
505
+ # @param [String] page_token
506
+ # Optional. The page token.
507
+ # @param [String] fields
508
+ # Selector specifying which fields to include in a partial response.
509
+ # @param [String] quota_user
510
+ # Available to use for quota purposes for server-side applications. Can be any
511
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
512
+ # @param [Google::Apis::RequestOptions] options
513
+ # Request-specific options
514
+ #
515
+ # @yield [result, err] Result & error if block supplied
516
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::QueryHubStatusResponse] parsed result object
517
+ # @yieldparam err [StandardError] error object if request failed
518
+ #
519
+ # @return [Google::Apis::NetworkconnectivityV1::QueryHubStatusResponse]
520
+ #
521
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
522
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
523
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
524
+ def query_project_location_global_hub_status(name, filter: nil, group_by: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
525
+ command = make_simple_command(:get, 'v1/{+name}:queryStatus', options)
526
+ command.response_representation = Google::Apis::NetworkconnectivityV1::QueryHubStatusResponse::Representation
527
+ command.response_class = Google::Apis::NetworkconnectivityV1::QueryHubStatusResponse
528
+ command.params['name'] = name unless name.nil?
529
+ command.query['filter'] = filter unless filter.nil?
530
+ command.query['groupBy'] = group_by unless group_by.nil?
531
+ command.query['orderBy'] = order_by unless order_by.nil?
532
+ command.query['pageSize'] = page_size unless page_size.nil?
533
+ command.query['pageToken'] = page_token unless page_token.nil?
534
+ command.query['fields'] = fields unless fields.nil?
535
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
536
+ execute_or_queue_command(command, &block)
537
+ end
538
+
479
539
  # Rejects a Network Connectivity Center spoke from being attached to a hub. If
480
540
  # the spoke was previously in the `ACTIVE` state, it transitions to the `
481
541
  # INACTIVE` state and is no longer able to connect to other spokes that are
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.49.0
4
+ version: 0.51.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-10-27 00:00:00.000000000 Z
11
+ date: 2024-12-15 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.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.51.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.5.21
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Network Connectivity API V1