google-apis-networkconnectivity_v1 0.39.0 → 0.41.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: fe25ffcc9780a75d8c7e4c322feb4cb8b8cd5957be54e276449e3fcc3dfea777
4
- data.tar.gz: 8d41472aee8e33574083b5e1747aa1251d6ccc622e9c35bd7ef7ac20f9e6b709
3
+ metadata.gz: 809f3e47d3f3e706dfcc12e40b1e83dc243d359ccc13795d12535e59e88cd052
4
+ data.tar.gz: 1ce90de86fa54d412df0fda5b8b480c61f7ff712bff725459f9e13b8fdd64b00
5
5
  SHA512:
6
- metadata.gz: f15e1acf95983610845f63431f2ec60cdef380a5ecbd83774c275967f9021f5c64402793dc6dcf157cac58dcf780945f41cd7dbc6235b12c1704a9d84409139e
7
- data.tar.gz: 1dedc2ff8f4b6da41d48d076af3d9eed19f58e133e231f32af97a5b5632b4f27bb5d4135ca23dd0a4459474c14fd84ce1730a5369b911fd785e9be66c5cd2e88
6
+ metadata.gz: a279841db02caed6b78b102a112053781bc2a108b497b320404ca4b320a650e3b7ca6100110a8e6dc56151b0517c179608f7cb90bb81ec418c2c61eeabd0ce86
7
+ data.tar.gz: d0f60795efbc8b8db4cd76245dfab15976e52dff13e90b888ab9634b9e0ddb7512f44b1dbca9f7af85c91b1f64f318651a01b06305b58e3ed80d23ee555cd434
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-networkconnectivity_v1
2
2
 
3
+ ### v0.41.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240506
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.40.0 (2024-04-28)
9
+
10
+ * Regenerated from discovery document revision 20240423
11
+
3
12
  ### v0.39.0 (2024-03-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20240228
@@ -151,6 +151,32 @@ module Google
151
151
  end
152
152
  end
153
153
 
154
+ # The auto-accept setting for a group controls whether proposed spokes are
155
+ # automatically attached to the hub. If auto-accept is enabled, the spoke
156
+ # immediately is attached to the hub and becomes part of the group. In this case,
157
+ # the new spoke is in the ACTIVE state. If auto-accept is disabled, the spoke
158
+ # goes to the INACTIVE state, and it must be reviewed and accepted by a hub
159
+ # administrator.
160
+ class AutoAccept
161
+ include Google::Apis::Core::Hashable
162
+
163
+ # A list of project ids or project numbers for which you want to enable auto-
164
+ # accept. The auto-accept setting is applied to spokes being created or updated
165
+ # in these projects.
166
+ # Corresponds to the JSON property `autoAcceptProjects`
167
+ # @return [Array<String>]
168
+ attr_accessor :auto_accept_projects
169
+
170
+ def initialize(**args)
171
+ update!(**args)
172
+ end
173
+
174
+ # Update properties of this object
175
+ def update!(**args)
176
+ @auto_accept_projects = args[:auto_accept_projects] if args.key?(:auto_accept_projects)
177
+ end
178
+ end
179
+
154
180
  # Associates `members`, or principals, with a `role`.
155
181
  class Binding
156
182
  include Google::Apis::Core::Hashable
@@ -271,6 +297,11 @@ module Google
271
297
  # @return [String]
272
298
  attr_accessor :network
273
299
 
300
+ # Immutable. An immutable identifier for the producer instance.
301
+ # Corresponds to the JSON property `producerInstanceId`
302
+ # @return [String]
303
+ attr_accessor :producer_instance_id
304
+
274
305
  # The consumer project where PSC connections are allowed to be created in.
275
306
  # Corresponds to the JSON property `project`
276
307
  # @return [String]
@@ -290,6 +321,7 @@ module Google
290
321
  def update!(**args)
291
322
  @disable_global_access = args[:disable_global_access] if args.key?(:disable_global_access)
292
323
  @network = args[:network] if args.key?(:network)
324
+ @producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
293
325
  @project = args[:project] if args.key?(:project)
294
326
  @state = args[:state] if args.key?(:state)
295
327
  end
@@ -352,6 +384,11 @@ module Google
352
384
  # @return [String]
353
385
  attr_accessor :network
354
386
 
387
+ # Immutable. An immutable identifier for the producer instance.
388
+ # Corresponds to the JSON property `producerInstanceId`
389
+ # @return [String]
390
+ attr_accessor :producer_instance_id
391
+
355
392
  # The consumer project whose PSC forwarding rule is connected to the service
356
393
  # attachments in this service connection map.
357
394
  # Corresponds to the JSON property `project`
@@ -393,6 +430,7 @@ module Google
393
430
  @gce_operation = args[:gce_operation] if args.key?(:gce_operation)
394
431
  @ip = args[:ip] if args.key?(:ip)
395
432
  @network = args[:network] if args.key?(:network)
433
+ @producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
396
434
  @project = args[:project] if args.key?(:project)
397
435
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
398
436
  @selected_subnetwork = args[:selected_subnetwork] if args.key?(:selected_subnetwork)
@@ -633,12 +671,13 @@ module Google
633
671
  # @return [String]
634
672
  attr_accessor :domain
635
673
 
636
- # Additional structured details about this error. Keys should match /[a-zA-Z0-9-
637
- # _]/ and be limited to 64 characters in length. When identifying the current
638
- # value of an exceeded limit, the units should be contained in the key, not the
639
- # value. For example, rather than `"instanceLimit": "100/request"`, should be
640
- # returned as, `"instanceLimitPerRequest": "100"`, if the client exceeds the
641
- # number of instances that can be created in a single (batch) request.
674
+ # Additional structured details about this error. Keys must match /a-z+/ but
675
+ # should ideally be lowerCamelCase. Also they must be limited to 64 characters
676
+ # in length. When identifying the current value of an exceeded limit, the units
677
+ # should be contained in the key, not the value. For example, rather than `"
678
+ # instanceLimit": "100/request"`, should be returned as, `"
679
+ # instanceLimitPerRequest": "100"`, if the client exceeds the number of
680
+ # instances that can be created in a single (batch) request.
642
681
  # Corresponds to the JSON property `metadata`
643
682
  # @return [Hash<String,String>]
644
683
  attr_accessor :metadata
@@ -706,6 +745,16 @@ module Google
706
745
  class Group
707
746
  include Google::Apis::Core::Hashable
708
747
 
748
+ # The auto-accept setting for a group controls whether proposed spokes are
749
+ # automatically attached to the hub. If auto-accept is enabled, the spoke
750
+ # immediately is attached to the hub and becomes part of the group. In this case,
751
+ # the new spoke is in the ACTIVE state. If auto-accept is disabled, the spoke
752
+ # goes to the INACTIVE state, and it must be reviewed and accepted by a hub
753
+ # administrator.
754
+ # Corresponds to the JSON property `autoAccept`
755
+ # @return [Google::Apis::NetworkconnectivityV1::AutoAccept]
756
+ attr_accessor :auto_accept
757
+
709
758
  # Output only. The time the group was created.
710
759
  # Corresponds to the JSON property `createTime`
711
760
  # @return [String]
@@ -730,6 +779,13 @@ module Google
730
779
  # @return [String]
731
780
  attr_accessor :name
732
781
 
782
+ # Output only. The name of the route table that corresponds to this group. They
783
+ # use the following form: `projects/`project_number`/locations/global/hubs/`
784
+ # hub_id`/routeTables/`route_table_id``
785
+ # Corresponds to the JSON property `routeTable`
786
+ # @return [String]
787
+ attr_accessor :route_table
788
+
733
789
  # Output only. The current lifecycle state of this group.
734
790
  # Corresponds to the JSON property `state`
735
791
  # @return [String]
@@ -753,10 +809,12 @@ module Google
753
809
 
754
810
  # Update properties of this object
755
811
  def update!(**args)
812
+ @auto_accept = args[:auto_accept] if args.key?(:auto_accept)
756
813
  @create_time = args[:create_time] if args.key?(:create_time)
757
814
  @description = args[:description] if args.key?(:description)
758
815
  @labels = args[:labels] if args.key?(:labels)
759
816
  @name = args[:name] if args.key?(:name)
817
+ @route_table = args[:route_table] if args.key?(:route_table)
760
818
  @state = args[:state] if args.key?(:state)
761
819
  @uid = args[:uid] if args.key?(:uid)
762
820
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -782,6 +840,15 @@ module Google
782
840
  # @return [String]
783
841
  attr_accessor :description
784
842
 
843
+ # Optional. Whether Private Service Connect transitivity is enabled for the hub.
844
+ # If true, Private Service Connect endpoints in VPC spokes attached to the hub
845
+ # are made accessible to other VPC spokes attached to the hub. The default value
846
+ # is false.
847
+ # Corresponds to the JSON property `exportPsc`
848
+ # @return [Boolean]
849
+ attr_accessor :export_psc
850
+ alias_method :export_psc?, :export_psc
851
+
785
852
  # Optional labels in key-value pair format. For more information about labels,
786
853
  # see [Requirements for labels](https://cloud.google.com/resource-manager/docs/
787
854
  # creating-managing-labels#requirements).
@@ -795,6 +862,21 @@ module Google
795
862
  # @return [String]
796
863
  attr_accessor :name
797
864
 
865
+ # Optional. The policy mode of this hub. This field can be either PRESET or
866
+ # CUSTOM. If unspecified, the policy_mode defaults to PRESET.
867
+ # Corresponds to the JSON property `policyMode`
868
+ # @return [String]
869
+ attr_accessor :policy_mode
870
+
871
+ # Optional. The topology implemented in this hub. Currently, this field is only
872
+ # used when policy_mode = PRESET. The available preset topologies are MESH and
873
+ # STAR. If preset_topology is unspecified and policy_mode = PRESET, the
874
+ # preset_topology defaults to MESH. When policy_mode = CUSTOM, the
875
+ # preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED.
876
+ # Corresponds to the JSON property `presetTopology`
877
+ # @return [String]
878
+ attr_accessor :preset_topology
879
+
798
880
  # Output only. The route tables that belong to this hub. They use the following
799
881
  # form: `projects/`project_number`/locations/global/hubs/`hub_id`/routeTables/`
800
882
  # route_table_id`` This field is read-only. Network Connectivity Center
@@ -843,8 +925,11 @@ module Google
843
925
  def update!(**args)
844
926
  @create_time = args[:create_time] if args.key?(:create_time)
845
927
  @description = args[:description] if args.key?(:description)
928
+ @export_psc = args[:export_psc] if args.key?(:export_psc)
846
929
  @labels = args[:labels] if args.key?(:labels)
847
930
  @name = args[:name] if args.key?(:name)
931
+ @policy_mode = args[:policy_mode] if args.key?(:policy_mode)
932
+ @preset_topology = args[:preset_topology] if args.key?(:preset_topology)
848
933
  @route_tables = args[:route_tables] if args.key?(:route_tables)
849
934
  @routing_vpcs = args[:routing_vpcs] if args.key?(:routing_vpcs)
850
935
  @spoke_summary = args[:spoke_summary] if args.key?(:spoke_summary)
@@ -910,9 +995,9 @@ module Google
910
995
 
911
996
  # The URL or resource ID of the network in which to reserve the internal range.
912
997
  # The network cannot be deleted if there are any reserved internal ranges
913
- # referring to it. Legacy networks are not supported. This can only be specified
914
- # for a global internal address. Example: - URL: /compute/v1/projects/`project`/
915
- # global/networks/`resourceId` - ID: network123
998
+ # referring to it. Legacy networks are not supported. For example: https://www.
999
+ # googleapis.com/compute/v1/projects/`project`/locations/global/networks/`
1000
+ # network` projects/`project`/locations/global/networks/`network` `network`
916
1001
  # Corresponds to the JSON property `network`
917
1002
  # @return [String]
918
1003
  attr_accessor :network
@@ -1315,6 +1400,38 @@ module Google
1315
1400
  end
1316
1401
  end
1317
1402
 
1403
+ # Response for ListRegionalEndpoints.
1404
+ class ListRegionalEndpointsResponse
1405
+ include Google::Apis::Core::Hashable
1406
+
1407
+ # The next pagination token in the List response. It should be used as
1408
+ # page_token for the following request. An empty value means no more result.
1409
+ # Corresponds to the JSON property `nextPageToken`
1410
+ # @return [String]
1411
+ attr_accessor :next_page_token
1412
+
1413
+ # Regional endpoints to be returned.
1414
+ # Corresponds to the JSON property `regionalEndpoints`
1415
+ # @return [Array<Google::Apis::NetworkconnectivityV1::RegionalEndpoint>]
1416
+ attr_accessor :regional_endpoints
1417
+
1418
+ # Locations that could not be reached.
1419
+ # Corresponds to the JSON property `unreachable`
1420
+ # @return [Array<String>]
1421
+ attr_accessor :unreachable
1422
+
1423
+ def initialize(**args)
1424
+ update!(**args)
1425
+ end
1426
+
1427
+ # Update properties of this object
1428
+ def update!(**args)
1429
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1430
+ @regional_endpoints = args[:regional_endpoints] if args.key?(:regional_endpoints)
1431
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1432
+ end
1433
+ end
1434
+
1318
1435
  # Response for HubService.ListRouteTables method.
1319
1436
  class ListRouteTablesResponse
1320
1437
  include Google::Apis::Core::Hashable
@@ -1997,6 +2114,11 @@ module Google
1997
2114
  # @return [String]
1998
2115
  attr_accessor :gce_operation
1999
2116
 
2117
+ # Immutable. An immutable identifier for the producer instance.
2118
+ # Corresponds to the JSON property `producerInstanceId`
2119
+ # @return [String]
2120
+ attr_accessor :producer_instance_id
2121
+
2000
2122
  # The PSC connection id of the PSC forwarding rule.
2001
2123
  # Corresponds to the JSON property `pscConnectionId`
2002
2124
  # @return [String]
@@ -2026,12 +2148,110 @@ module Google
2026
2148
  @error_info = args[:error_info] if args.key?(:error_info)
2027
2149
  @error_type = args[:error_type] if args.key?(:error_type)
2028
2150
  @gce_operation = args[:gce_operation] if args.key?(:gce_operation)
2151
+ @producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
2029
2152
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
2030
2153
  @selected_subnetwork = args[:selected_subnetwork] if args.key?(:selected_subnetwork)
2031
2154
  @state = args[:state] if args.key?(:state)
2032
2155
  end
2033
2156
  end
2034
2157
 
2158
+ # The RegionalEndpoint resource.
2159
+ class RegionalEndpoint
2160
+ include Google::Apis::Core::Hashable
2161
+
2162
+ # Required. The access type of this regional endpoint. This field is reflected
2163
+ # in the PSC Forwarding Rule configuration to enable global access.
2164
+ # Corresponds to the JSON property `accessType`
2165
+ # @return [String]
2166
+ attr_accessor :access_type
2167
+
2168
+ # Optional. The IP Address of the Regional Endpoint. When no address is provided,
2169
+ # an IP from the subnetwork is allocated. Use one of the following formats: *
2170
+ # IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/`project`/
2171
+ # regions/`region`/addresses/`address_name``
2172
+ # Corresponds to the JSON property `address`
2173
+ # @return [String]
2174
+ attr_accessor :address
2175
+
2176
+ # Output only. Time when the RegionalEndpoint was created.
2177
+ # Corresponds to the JSON property `createTime`
2178
+ # @return [String]
2179
+ attr_accessor :create_time
2180
+
2181
+ # Optional. A description of this resource.
2182
+ # Corresponds to the JSON property `description`
2183
+ # @return [String]
2184
+ attr_accessor :description
2185
+
2186
+ # Output only. The literal IP address of the PSC Forwarding Rule created on
2187
+ # behalf of the customer. This field is deprecated. Use address instead.
2188
+ # Corresponds to the JSON property `ipAddress`
2189
+ # @return [String]
2190
+ attr_accessor :ip_address
2191
+
2192
+ # User-defined labels.
2193
+ # Corresponds to the JSON property `labels`
2194
+ # @return [Hash<String,String>]
2195
+ attr_accessor :labels
2196
+
2197
+ # Output only. The name of a RegionalEndpoint. Format: `projects/`project`/
2198
+ # locations/`location`/regionalEndpoints/`regional_endpoint``.
2199
+ # Corresponds to the JSON property `name`
2200
+ # @return [String]
2201
+ attr_accessor :name
2202
+
2203
+ # The name of the VPC network for this private regional endpoint. Format: `
2204
+ # projects/`project`/global/networks/`network``
2205
+ # Corresponds to the JSON property `network`
2206
+ # @return [String]
2207
+ attr_accessor :network
2208
+
2209
+ # Output only. The resource reference of the PSC Forwarding Rule created on
2210
+ # behalf of the customer. Format: `//compute.googleapis.com/projects/`project`/
2211
+ # regions/`region`/forwardingRules/`forwarding_rule_name``
2212
+ # Corresponds to the JSON property `pscForwardingRule`
2213
+ # @return [String]
2214
+ attr_accessor :psc_forwarding_rule
2215
+
2216
+ # The name of the subnetwork from which the IP address will be allocated. Format:
2217
+ # `projects/`project`/regions/`region`/subnetworks/`subnetwork``
2218
+ # Corresponds to the JSON property `subnetwork`
2219
+ # @return [String]
2220
+ attr_accessor :subnetwork
2221
+
2222
+ # Required. The service endpoint this private regional endpoint connects to.
2223
+ # Format: ``apiname`.`region`.p.rep.googleapis.com` Example: "cloudkms.us-
2224
+ # central1.p.rep.googleapis.com".
2225
+ # Corresponds to the JSON property `targetGoogleApi`
2226
+ # @return [String]
2227
+ attr_accessor :target_google_api
2228
+
2229
+ # Output only. Time when the RegionalEndpoint was updated.
2230
+ # Corresponds to the JSON property `updateTime`
2231
+ # @return [String]
2232
+ attr_accessor :update_time
2233
+
2234
+ def initialize(**args)
2235
+ update!(**args)
2236
+ end
2237
+
2238
+ # Update properties of this object
2239
+ def update!(**args)
2240
+ @access_type = args[:access_type] if args.key?(:access_type)
2241
+ @address = args[:address] if args.key?(:address)
2242
+ @create_time = args[:create_time] if args.key?(:create_time)
2243
+ @description = args[:description] if args.key?(:description)
2244
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
2245
+ @labels = args[:labels] if args.key?(:labels)
2246
+ @name = args[:name] if args.key?(:name)
2247
+ @network = args[:network] if args.key?(:network)
2248
+ @psc_forwarding_rule = args[:psc_forwarding_rule] if args.key?(:psc_forwarding_rule)
2249
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
2250
+ @target_google_api = args[:target_google_api] if args.key?(:target_google_api)
2251
+ @update_time = args[:update_time] if args.key?(:update_time)
2252
+ end
2253
+ end
2254
+
2035
2255
  # The request for HubService.RejectHubSpoke.
2036
2256
  class RejectHubSpokeRequest
2037
2257
  include Google::Apis::Core::Hashable
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240228"
25
+ REVISION = "20240506"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class AutoAccept
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Binding
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -196,6 +202,12 @@ module Google
196
202
  include Google::Apis::Core::JsonObjectSupport
197
203
  end
198
204
 
205
+ class ListRegionalEndpointsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
199
211
  class ListRouteTablesResponse
200
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
213
 
@@ -292,6 +304,12 @@ module Google
292
304
  include Google::Apis::Core::JsonObjectSupport
293
305
  end
294
306
 
307
+ class RegionalEndpoint
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
295
313
  class RejectHubSpokeRequest
296
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
315
 
@@ -451,6 +469,13 @@ module Google
451
469
  end
452
470
  end
453
471
 
472
+ class AutoAccept
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ collection :auto_accept_projects, as: 'autoAcceptProjects'
476
+ end
477
+ end
478
+
454
479
  class Binding
455
480
  # @private
456
481
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -466,6 +491,7 @@ module Google
466
491
  class Representation < Google::Apis::Core::JsonRepresentation
467
492
  property :disable_global_access, as: 'disableGlobalAccess'
468
493
  property :network, as: 'network'
494
+ property :producer_instance_id, as: 'producerInstanceId'
469
495
  property :project, as: 'project'
470
496
  property :state, as: 'state'
471
497
  end
@@ -483,6 +509,7 @@ module Google
483
509
  property :gce_operation, as: 'gceOperation'
484
510
  property :ip, as: 'ip'
485
511
  property :network, as: 'network'
512
+ property :producer_instance_id, as: 'producerInstanceId'
486
513
  property :project, as: 'project'
487
514
  property :psc_connection_id, as: 'pscConnectionId'
488
515
  property :selected_subnetwork, as: 'selectedSubnetwork'
@@ -565,10 +592,13 @@ module Google
565
592
  class Group
566
593
  # @private
567
594
  class Representation < Google::Apis::Core::JsonRepresentation
595
+ property :auto_accept, as: 'autoAccept', class: Google::Apis::NetworkconnectivityV1::AutoAccept, decorator: Google::Apis::NetworkconnectivityV1::AutoAccept::Representation
596
+
568
597
  property :create_time, as: 'createTime'
569
598
  property :description, as: 'description'
570
599
  hash :labels, as: 'labels'
571
600
  property :name, as: 'name'
601
+ property :route_table, as: 'routeTable'
572
602
  property :state, as: 'state'
573
603
  property :uid, as: 'uid'
574
604
  property :update_time, as: 'updateTime'
@@ -580,8 +610,11 @@ module Google
580
610
  class Representation < Google::Apis::Core::JsonRepresentation
581
611
  property :create_time, as: 'createTime'
582
612
  property :description, as: 'description'
613
+ property :export_psc, as: 'exportPsc'
583
614
  hash :labels, as: 'labels'
584
615
  property :name, as: 'name'
616
+ property :policy_mode, as: 'policyMode'
617
+ property :preset_topology, as: 'presetTopology'
585
618
  collection :route_tables, as: 'routeTables'
586
619
  collection :routing_vpcs, as: 'routingVpcs', class: Google::Apis::NetworkconnectivityV1::RoutingVpc, decorator: Google::Apis::NetworkconnectivityV1::RoutingVpc::Representation
587
620
 
@@ -714,6 +747,16 @@ module Google
714
747
  end
715
748
  end
716
749
 
750
+ class ListRegionalEndpointsResponse
751
+ # @private
752
+ class Representation < Google::Apis::Core::JsonRepresentation
753
+ property :next_page_token, as: 'nextPageToken'
754
+ collection :regional_endpoints, as: 'regionalEndpoints', class: Google::Apis::NetworkconnectivityV1::RegionalEndpoint, decorator: Google::Apis::NetworkconnectivityV1::RegionalEndpoint::Representation
755
+
756
+ collection :unreachable, as: 'unreachable'
757
+ end
758
+ end
759
+
717
760
  class ListRouteTablesResponse
718
761
  # @private
719
762
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -886,12 +929,31 @@ module Google
886
929
 
887
930
  property :error_type, as: 'errorType'
888
931
  property :gce_operation, as: 'gceOperation'
932
+ property :producer_instance_id, as: 'producerInstanceId'
889
933
  property :psc_connection_id, as: 'pscConnectionId'
890
934
  property :selected_subnetwork, as: 'selectedSubnetwork'
891
935
  property :state, as: 'state'
892
936
  end
893
937
  end
894
938
 
939
+ class RegionalEndpoint
940
+ # @private
941
+ class Representation < Google::Apis::Core::JsonRepresentation
942
+ property :access_type, as: 'accessType'
943
+ property :address, as: 'address'
944
+ property :create_time, as: 'createTime'
945
+ property :description, as: 'description'
946
+ property :ip_address, as: 'ipAddress'
947
+ hash :labels, as: 'labels'
948
+ property :name, as: 'name'
949
+ property :network, as: 'network'
950
+ property :psc_forwarding_rule, as: 'pscForwardingRule'
951
+ property :subnetwork, as: 'subnetwork'
952
+ property :target_google_api, as: 'targetGoogleApi'
953
+ property :update_time, as: 'updateTime'
954
+ end
955
+ end
956
+
895
957
  class RejectHubSpokeRequest
896
958
  # @private
897
959
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -705,6 +705,61 @@ module Google
705
705
  execute_or_queue_command(command, &block)
706
706
  end
707
707
 
708
+ # Updates the parameters of a Network Connectivity Center group.
709
+ # @param [String] name
710
+ # Immutable. The name of the group. Group names must be unique. They use the
711
+ # following form: `projects/`project_number`/locations/global/hubs/`hub`/groups/`
712
+ # group_id``
713
+ # @param [Google::Apis::NetworkconnectivityV1::Group] group_object
714
+ # @param [String] request_id
715
+ # Optional. A request ID to identify requests. Specify a unique request ID so
716
+ # that if you must retry your request, the server knows to ignore the request if
717
+ # it has already been completed. The server guarantees that a request doesn't
718
+ # result in creation of duplicate commitments for at least 60 minutes. For
719
+ # example, consider a situation where you make an initial request and the
720
+ # request times out. If you make the request again with the same request ID, the
721
+ # server can check to see whether the original operation was received. If it was,
722
+ # the server ignores the second request. This behavior prevents clients from
723
+ # mistakenly creating duplicate commitments. The request ID must be a valid UUID,
724
+ # with the exception that zero UUID is not supported (00000000-0000-0000-0000-
725
+ # 000000000000).
726
+ # @param [String] update_mask
727
+ # Optional. In the case of an update to an existing group, field mask is used to
728
+ # specify the fields to be overwritten. The fields specified in the update_mask
729
+ # are relative to the resource, not the full request. A field is overwritten if
730
+ # it is in the mask. If the user does not provide a mask, then all fields are
731
+ # overwritten.
732
+ # @param [String] fields
733
+ # Selector specifying which fields to include in a partial response.
734
+ # @param [String] quota_user
735
+ # Available to use for quota purposes for server-side applications. Can be any
736
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
737
+ # @param [Google::Apis::RequestOptions] options
738
+ # Request-specific options
739
+ #
740
+ # @yield [result, err] Result & error if block supplied
741
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
742
+ # @yieldparam err [StandardError] error object if request failed
743
+ #
744
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
745
+ #
746
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
747
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
748
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
749
+ def patch_project_location_global_hub_group(name, group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
750
+ command = make_simple_command(:patch, 'v1/{+name}', options)
751
+ command.request_representation = Google::Apis::NetworkconnectivityV1::Group::Representation
752
+ command.request_object = group_object
753
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
754
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
755
+ command.params['name'] = name unless name.nil?
756
+ command.query['requestId'] = request_id unless request_id.nil?
757
+ command.query['updateMask'] = update_mask unless update_mask.nil?
758
+ command.query['fields'] = fields unless fields.nil?
759
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
760
+ execute_or_queue_command(command, &block)
761
+ end
762
+
708
763
  # Sets the access control policy on the specified resource. Replaces any
709
764
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
710
765
  # PERMISSION_DENIED` errors.
@@ -1570,6 +1625,170 @@ module Google
1570
1625
  execute_or_queue_command(command, &block)
1571
1626
  end
1572
1627
 
1628
+ # Creates a new RegionalEndpoint in a given project and location.
1629
+ # @param [String] parent
1630
+ # Required. The parent resource's name of the RegionalEndpoint.
1631
+ # @param [Google::Apis::NetworkconnectivityV1::RegionalEndpoint] regional_endpoint_object
1632
+ # @param [String] regional_endpoint_id
1633
+ # Required. Unique id of the Regional Endpoint to be created.
1634
+ # @param [String] request_id
1635
+ # Optional. An optional request ID to identify requests. Specify a unique
1636
+ # request ID so that if you must retry your request, the server knows to ignore
1637
+ # the request if it has already been completed. The server guarantees that for
1638
+ # at least 60 minutes since the first request. For example, consider a situation
1639
+ # where you make an initial request and the request times out. If you make the
1640
+ # request again with the same request ID, the server can check if the original
1641
+ # operation with the same request ID was received, and if so, ignores the second
1642
+ # request. This prevents clients from accidentally creating duplicate
1643
+ # commitments. The request ID must be a valid UUID with the exception that zero
1644
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1645
+ # @param [String] fields
1646
+ # Selector specifying which fields to include in a partial response.
1647
+ # @param [String] quota_user
1648
+ # Available to use for quota purposes for server-side applications. Can be any
1649
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1650
+ # @param [Google::Apis::RequestOptions] options
1651
+ # Request-specific options
1652
+ #
1653
+ # @yield [result, err] Result & error if block supplied
1654
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
1655
+ # @yieldparam err [StandardError] error object if request failed
1656
+ #
1657
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
1658
+ #
1659
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1660
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1661
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1662
+ def create_project_location_regional_endpoint(parent, regional_endpoint_object = nil, regional_endpoint_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1663
+ command = make_simple_command(:post, 'v1/{+parent}/regionalEndpoints', options)
1664
+ command.request_representation = Google::Apis::NetworkconnectivityV1::RegionalEndpoint::Representation
1665
+ command.request_object = regional_endpoint_object
1666
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
1667
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
1668
+ command.params['parent'] = parent unless parent.nil?
1669
+ command.query['regionalEndpointId'] = regional_endpoint_id unless regional_endpoint_id.nil?
1670
+ command.query['requestId'] = request_id unless request_id.nil?
1671
+ command.query['fields'] = fields unless fields.nil?
1672
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1673
+ execute_or_queue_command(command, &block)
1674
+ end
1675
+
1676
+ # Deletes a single RegionalEndpoint.
1677
+ # @param [String] name
1678
+ # Required. The name of the RegionalEndpoint to delete.
1679
+ # @param [String] request_id
1680
+ # Optional. An optional request ID to identify requests. Specify a unique
1681
+ # request ID so that if you must retry your request, the server knows to ignore
1682
+ # the request if it has already been completed. The server guarantees that for
1683
+ # at least 60 minutes since the first request. For example, consider a situation
1684
+ # where you make an initial request and the request times out. If you make the
1685
+ # request again with the same request ID, the server can check if the original
1686
+ # operation with the same request ID was received, and if so, ignores the second
1687
+ # request. This prevents clients from accidentally creating duplicate
1688
+ # commitments. The request ID must be a valid UUID with the exception that zero
1689
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1690
+ # @param [String] fields
1691
+ # Selector specifying which fields to include in a partial response.
1692
+ # @param [String] quota_user
1693
+ # Available to use for quota purposes for server-side applications. Can be any
1694
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1695
+ # @param [Google::Apis::RequestOptions] options
1696
+ # Request-specific options
1697
+ #
1698
+ # @yield [result, err] Result & error if block supplied
1699
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
1700
+ # @yieldparam err [StandardError] error object if request failed
1701
+ #
1702
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
1703
+ #
1704
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1705
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1706
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1707
+ def delete_project_location_regional_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1708
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1709
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
1710
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
1711
+ command.params['name'] = name unless name.nil?
1712
+ command.query['requestId'] = request_id unless request_id.nil?
1713
+ command.query['fields'] = fields unless fields.nil?
1714
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1715
+ execute_or_queue_command(command, &block)
1716
+ end
1717
+
1718
+ # Gets details of a single RegionalEndpoint.
1719
+ # @param [String] name
1720
+ # Required. Name of the RegionalEndpoint resource to get. Format: `projects/`
1721
+ # project`/locations/`location`/regionalEndpoints/`regional_endpoint``
1722
+ # @param [String] fields
1723
+ # Selector specifying which fields to include in a partial response.
1724
+ # @param [String] quota_user
1725
+ # Available to use for quota purposes for server-side applications. Can be any
1726
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1727
+ # @param [Google::Apis::RequestOptions] options
1728
+ # Request-specific options
1729
+ #
1730
+ # @yield [result, err] Result & error if block supplied
1731
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::RegionalEndpoint] parsed result object
1732
+ # @yieldparam err [StandardError] error object if request failed
1733
+ #
1734
+ # @return [Google::Apis::NetworkconnectivityV1::RegionalEndpoint]
1735
+ #
1736
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1737
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1738
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1739
+ def get_project_location_regional_endpoint(name, fields: nil, quota_user: nil, options: nil, &block)
1740
+ command = make_simple_command(:get, 'v1/{+name}', options)
1741
+ command.response_representation = Google::Apis::NetworkconnectivityV1::RegionalEndpoint::Representation
1742
+ command.response_class = Google::Apis::NetworkconnectivityV1::RegionalEndpoint
1743
+ command.params['name'] = name unless name.nil?
1744
+ command.query['fields'] = fields unless fields.nil?
1745
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1746
+ execute_or_queue_command(command, &block)
1747
+ end
1748
+
1749
+ # Lists RegionalEndpoints in a given project and location.
1750
+ # @param [String] parent
1751
+ # Required. The parent resource's name of the RegionalEndpoint.
1752
+ # @param [String] filter
1753
+ # A filter expression that filters the results listed in the response.
1754
+ # @param [String] order_by
1755
+ # Sort the results by a certain order.
1756
+ # @param [Fixnum] page_size
1757
+ # Requested page size. Server may return fewer items than requested. If
1758
+ # unspecified, server will pick an appropriate default.
1759
+ # @param [String] page_token
1760
+ # A page token.
1761
+ # @param [String] fields
1762
+ # Selector specifying which fields to include in a partial response.
1763
+ # @param [String] quota_user
1764
+ # Available to use for quota purposes for server-side applications. Can be any
1765
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1766
+ # @param [Google::Apis::RequestOptions] options
1767
+ # Request-specific options
1768
+ #
1769
+ # @yield [result, err] Result & error if block supplied
1770
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::ListRegionalEndpointsResponse] parsed result object
1771
+ # @yieldparam err [StandardError] error object if request failed
1772
+ #
1773
+ # @return [Google::Apis::NetworkconnectivityV1::ListRegionalEndpointsResponse]
1774
+ #
1775
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1776
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1777
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1778
+ def list_project_location_regional_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1779
+ command = make_simple_command(:get, 'v1/{+parent}/regionalEndpoints', options)
1780
+ command.response_representation = Google::Apis::NetworkconnectivityV1::ListRegionalEndpointsResponse::Representation
1781
+ command.response_class = Google::Apis::NetworkconnectivityV1::ListRegionalEndpointsResponse
1782
+ command.params['parent'] = parent unless parent.nil?
1783
+ command.query['filter'] = filter unless filter.nil?
1784
+ command.query['orderBy'] = order_by unless order_by.nil?
1785
+ command.query['pageSize'] = page_size unless page_size.nil?
1786
+ command.query['pageToken'] = page_token unless page_token.nil?
1787
+ command.query['fields'] = fields unless fields.nil?
1788
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1789
+ execute_or_queue_command(command, &block)
1790
+ end
1791
+
1573
1792
  # Deletes a single ServiceClass.
1574
1793
  # @param [String] name
1575
1794
  # Required. The name of the ServiceClass to delete.
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.39.0
4
+ version: 0.41.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-03-10 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.41.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: []