google-apis-networkconnectivity_v1 0.28.0 → 0.30.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: 5a8b36812a832787f51bbbb0c1f72cb3c7911a1077c0d5626232f3dc788ae299
4
- data.tar.gz: 18ccaa86adc72580ed18eaa32b93a7e076571d581811d8069b68744c7efa983d
3
+ metadata.gz: 59d8ef0dfff851ecc48d0702221277e7bcf1d90663b8569bce3a9713206a9c02
4
+ data.tar.gz: a842d4060a78e79b3f78e84f479e61ebfde1c15bda666578252cb41fe53fa661
5
5
  SHA512:
6
- metadata.gz: 6cd2c30fdb293b9b1213dfab5c7f0faa0193832f0fd53a11b34968d5c060f317f83d84b7d12bef8933efc7c4363da7c904f28f8549cc179fa8519a2fd954f753
7
- data.tar.gz: 27d3315ab7d399f0e91ae6d72e460592224f01c40055565bf335e7c7885b7495f2d33299e154f89504bd61bf258b280eba68b9b39ff7631f6374f44a2d21a9ec
6
+ metadata.gz: aa822d9d6794a2592d85a822435b463a31e8f4b4d182b02eb9c2254bc8a893d687db3f124e9a7de232488ea6fd5a40ffef93b16093ae1381fb787b3b11a92e23
7
+ data.tar.gz: 94ec49fd0e7ad176c500021a009332773871f96b3033ebc5f85c7d1a14c0dd7fd31315c0c40ab4b4d8469ade12aac55953a4bf847a75cd1c350467d0ba885c83
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networkconnectivity_v1
2
2
 
3
+ ### v0.30.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230804
6
+
7
+ ### v0.29.0 (2023-08-06)
8
+
9
+ * Regenerated from discovery document revision 20230727
10
+
3
11
  ### v0.28.0 (2023-07-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230712
@@ -255,6 +255,18 @@ module Google
255
255
  # @return [Google::Apis::NetworkconnectivityV1::GoogleRpcStatus]
256
256
  attr_accessor :error
257
257
 
258
+ # Describes the cause of the error with structured details. Example of an error
259
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
260
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
261
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
262
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
263
+ # returned when attempting to create a Spanner instance in a region that is out
264
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
265
+ # : ` "availableRegions": "us-central1,us-east2" ` `
266
+ # Corresponds to the JSON property `errorInfo`
267
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo]
268
+ attr_accessor :error_info
269
+
258
270
  # The error type indicates whether the error is consumer facing, producer facing
259
271
  # or system internal.
260
272
  # Corresponds to the JSON property `errorType`
@@ -315,6 +327,7 @@ module Google
315
327
  # Update properties of this object
316
328
  def update!(**args)
317
329
  @error = args[:error] if args.key?(:error)
330
+ @error_info = args[:error_info] if args.key?(:error_info)
318
331
  @error_type = args[:error_type] if args.key?(:error_type)
319
332
  @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
320
333
  @gce_operation = args[:gce_operation] if args.key?(:gce_operation)
@@ -472,13 +485,13 @@ module Google
472
485
  # @return [String]
473
486
  attr_accessor :name
474
487
 
475
- # The normal response of the operation in case of success. If the original
476
- # method returns no data on success, such as `Delete`, the response is `google.
477
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
478
- # the response should be the resource. For other methods, the response should
479
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
480
- # example, if the original method name is `TakeSnapshot()`, the inferred
481
- # response type is `TakeSnapshotResponse`.
488
+ # The normal, successful response of the operation. If the original method
489
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
490
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
491
+ # response should be the resource. For other methods, the response should have
492
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
493
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
494
+ # `TakeSnapshotResponse`.
482
495
  # Corresponds to the JSON property `response`
483
496
  # @return [Hash<String,Object>]
484
497
  attr_accessor :response
@@ -497,6 +510,57 @@ module Google
497
510
  end
498
511
  end
499
512
 
513
+ # Describes the cause of the error with structured details. Example of an error
514
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
515
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
516
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
517
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
518
+ # returned when attempting to create a Spanner instance in a region that is out
519
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
520
+ # : ` "availableRegions": "us-central1,us-east2" ` `
521
+ class GoogleRpcErrorInfo
522
+ include Google::Apis::Core::Hashable
523
+
524
+ # The logical grouping to which the "reason" belongs. The error domain is
525
+ # typically the registered service name of the tool or product that generates
526
+ # the error. Example: "pubsub.googleapis.com". If the error is generated by some
527
+ # common infrastructure, the error domain must be a globally unique value that
528
+ # identifies the infrastructure. For Google API infrastructure, the error domain
529
+ # is "googleapis.com".
530
+ # Corresponds to the JSON property `domain`
531
+ # @return [String]
532
+ attr_accessor :domain
533
+
534
+ # Additional structured details about this error. Keys should match /[a-zA-Z0-9-
535
+ # _]/ and be limited to 64 characters in length. When identifying the current
536
+ # value of an exceeded limit, the units should be contained in the key, not the
537
+ # value. For example, rather than `"instanceLimit": "100/request"`, should be
538
+ # returned as, `"instanceLimitPerRequest": "100"`, if the client exceeds the
539
+ # number of instances that can be created in a single (batch) request.
540
+ # Corresponds to the JSON property `metadata`
541
+ # @return [Hash<String,String>]
542
+ attr_accessor :metadata
543
+
544
+ # The reason of the error. This is a constant value that identifies the
545
+ # proximate cause of the error. Error reasons are unique within a particular
546
+ # domain of errors. This should be at most 63 characters and match a regular
547
+ # expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
548
+ # Corresponds to the JSON property `reason`
549
+ # @return [String]
550
+ attr_accessor :reason
551
+
552
+ def initialize(**args)
553
+ update!(**args)
554
+ end
555
+
556
+ # Update properties of this object
557
+ def update!(**args)
558
+ @domain = args[:domain] if args.key?(:domain)
559
+ @metadata = args[:metadata] if args.key?(:metadata)
560
+ @reason = args[:reason] if args.key?(:reason)
561
+ end
562
+ end
563
+
500
564
  # The `Status` type defines a logical error model that is suitable for different
501
565
  # programming environments, including REST APIs and RPC APIs. It is used by [
502
566
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -536,6 +600,69 @@ module Google
536
600
  end
537
601
  end
538
602
 
603
+ # A group is a set of spokes to which you can apply policies. Each group of
604
+ # spokes has its own route table. For each group, you can also set different
605
+ # rules for whether spokes can be automatically attached to the hub.
606
+ class Group
607
+ include Google::Apis::Core::Hashable
608
+
609
+ # Output only. The time the group was created.
610
+ # Corresponds to the JSON property `createTime`
611
+ # @return [String]
612
+ attr_accessor :create_time
613
+
614
+ # Optional. The description of the group.
615
+ # Corresponds to the JSON property `description`
616
+ # @return [String]
617
+ attr_accessor :description
618
+
619
+ # Optional. Labels in key:value format. For more information about labels, see [
620
+ # Requirements for labels](https://cloud.google.com/resource-manager/docs/
621
+ # creating-managing-labels#requirements).
622
+ # Corresponds to the JSON property `labels`
623
+ # @return [Hash<String,String>]
624
+ attr_accessor :labels
625
+
626
+ # Immutable. The name of the group. Group names must be unique. They use the
627
+ # following form: `projects/`project_number`/locations/global/hubs/`hub`/groups/`
628
+ # group_id``
629
+ # Corresponds to the JSON property `name`
630
+ # @return [String]
631
+ attr_accessor :name
632
+
633
+ # Output only. The current lifecycle state of this group.
634
+ # Corresponds to the JSON property `state`
635
+ # @return [String]
636
+ attr_accessor :state
637
+
638
+ # Output only. The Google-generated UUID for the group. This value is unique
639
+ # across all group resources. If a group is deleted and another with the same
640
+ # name is created, the new route table is assigned a different unique_id.
641
+ # Corresponds to the JSON property `uid`
642
+ # @return [String]
643
+ attr_accessor :uid
644
+
645
+ # Output only. The time the group was last updated.
646
+ # Corresponds to the JSON property `updateTime`
647
+ # @return [String]
648
+ attr_accessor :update_time
649
+
650
+ def initialize(**args)
651
+ update!(**args)
652
+ end
653
+
654
+ # Update properties of this object
655
+ def update!(**args)
656
+ @create_time = args[:create_time] if args.key?(:create_time)
657
+ @description = args[:description] if args.key?(:description)
658
+ @labels = args[:labels] if args.key?(:labels)
659
+ @name = args[:name] if args.key?(:name)
660
+ @state = args[:state] if args.key?(:state)
661
+ @uid = args[:uid] if args.key?(:uid)
662
+ @update_time = args[:update_time] if args.key?(:update_time)
663
+ end
664
+ end
665
+
539
666
  # A Network Connectivity Center hub is a global management resource to which you
540
667
  # attach spokes. A single hub can contain spokes from multiple regions. However,
541
668
  # if any of a hub's spokes use the site-to-site data transfer feature, the
@@ -879,6 +1006,39 @@ module Google
879
1006
  end
880
1007
  end
881
1008
 
1009
+ # Response for HubService.ListGroups method.
1010
+ class ListGroupsResponse
1011
+ include Google::Apis::Core::Hashable
1012
+
1013
+ # The requested groups.
1014
+ # Corresponds to the JSON property `groups`
1015
+ # @return [Array<Google::Apis::NetworkconnectivityV1::Group>]
1016
+ attr_accessor :groups
1017
+
1018
+ # The token for the next page of the response. To see more results, use this
1019
+ # value as the page_token for your next request. If this value is empty, there
1020
+ # are no more results.
1021
+ # Corresponds to the JSON property `nextPageToken`
1022
+ # @return [String]
1023
+ attr_accessor :next_page_token
1024
+
1025
+ # Hubs that could not be reached.
1026
+ # Corresponds to the JSON property `unreachable`
1027
+ # @return [Array<String>]
1028
+ attr_accessor :unreachable
1029
+
1030
+ def initialize(**args)
1031
+ update!(**args)
1032
+ end
1033
+
1034
+ # Update properties of this object
1035
+ def update!(**args)
1036
+ @groups = args[:groups] if args.key?(:groups)
1037
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1038
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1039
+ end
1040
+ end
1041
+
882
1042
  # The response for HubService.ListHubSpokes.
883
1043
  class ListHubSpokesResponse
884
1044
  include Google::Apis::Core::Hashable
@@ -1385,22 +1545,22 @@ module Google
1385
1545
  # evaluates to `true`. A condition can add constraints based on attributes of
1386
1546
  # the request, the resource, or both. To learn which resources support
1387
1547
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1388
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1548
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1389
1549
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1390
1550
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1391
1551
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1392
1552
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1393
1553
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1394
1554
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1395
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1396
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1397
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1398
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1399
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1400
- # access description: Does not grant access after Sep 2020 expression: request.
1401
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1402
- # a description of IAM and its features, see the [IAM documentation](https://
1403
- # cloud.google.com/iam/docs/).
1555
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1556
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1557
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1558
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1559
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1560
+ # title: expirable access description: Does not grant access after Sep 2020
1561
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1562
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1563
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1404
1564
  class Policy
1405
1565
  include Google::Apis::Core::Hashable
1406
1566
 
@@ -1545,6 +1705,18 @@ module Google
1545
1705
  # @return [Google::Apis::NetworkconnectivityV1::GoogleRpcStatus]
1546
1706
  attr_accessor :error
1547
1707
 
1708
+ # Describes the cause of the error with structured details. Example of an error
1709
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
1710
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
1711
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
1712
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
1713
+ # returned when attempting to create a Spanner instance in a region that is out
1714
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
1715
+ # : ` "availableRegions": "us-central1,us-east2" ` `
1716
+ # Corresponds to the JSON property `errorInfo`
1717
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo]
1718
+ attr_accessor :error_info
1719
+
1548
1720
  # The error type indicates whether the error is consumer facing, producer facing
1549
1721
  # or system internal.
1550
1722
  # Corresponds to the JSON property `errorType`
@@ -1576,6 +1748,7 @@ module Google
1576
1748
  @consumer_forwarding_rule = args[:consumer_forwarding_rule] if args.key?(:consumer_forwarding_rule)
1577
1749
  @consumer_target_project = args[:consumer_target_project] if args.key?(:consumer_target_project)
1578
1750
  @error = args[:error] if args.key?(:error)
1751
+ @error_info = args[:error_info] if args.key?(:error_info)
1579
1752
  @error_type = args[:error_type] if args.key?(:error_type)
1580
1753
  @gce_operation = args[:gce_operation] if args.key?(:gce_operation)
1581
1754
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
@@ -1874,11 +2047,6 @@ module Google
1874
2047
  # @return [String]
1875
2048
  attr_accessor :service_class
1876
2049
 
1877
- # Output only. URIs of all Service Connection Maps using this service class.
1878
- # Corresponds to the JSON property `serviceConnectionMaps`
1879
- # @return [Array<String>]
1880
- attr_accessor :service_connection_maps
1881
-
1882
2050
  # Output only. Time when the ServiceClass was updated.
1883
2051
  # Corresponds to the JSON property `updateTime`
1884
2052
  # @return [String]
@@ -1896,7 +2064,6 @@ module Google
1896
2064
  @labels = args[:labels] if args.key?(:labels)
1897
2065
  @name = args[:name] if args.key?(:name)
1898
2066
  @service_class = args[:service_class] if args.key?(:service_class)
1899
- @service_connection_maps = args[:service_connection_maps] if args.key?(:service_connection_maps)
1900
2067
  @update_time = args[:update_time] if args.key?(:update_time)
1901
2068
  end
1902
2069
  end
@@ -2174,22 +2341,22 @@ module Google
2174
2341
  # evaluates to `true`. A condition can add constraints based on attributes of
2175
2342
  # the request, the resource, or both. To learn which resources support
2176
2343
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2177
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2344
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
2178
2345
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2179
2346
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2180
2347
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2181
2348
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2182
2349
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
2183
2350
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2184
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2185
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
2186
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2187
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2188
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2189
- # access description: Does not grant access after Sep 2020 expression: request.
2190
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2191
- # a description of IAM and its features, see the [IAM documentation](https://
2192
- # cloud.google.com/iam/docs/).
2351
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
2352
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
2353
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
2354
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
2355
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
2356
+ # title: expirable access description: Does not grant access after Sep 2020
2357
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
2358
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
2359
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2193
2360
  # Corresponds to the JSON property `policy`
2194
2361
  # @return [Google::Apis::NetworkconnectivityV1::Policy]
2195
2362
  attr_accessor :policy
@@ -2216,7 +2383,7 @@ module Google
2216
2383
  # connectivity resources. When you create a spoke, you associate it with a hub.
2217
2384
  # You must also identify a value for exactly one of the following fields: *
2218
2385
  # linked_vpn_tunnels * linked_interconnect_attachments *
2219
- # linked_router_appliance_instances
2386
+ # linked_router_appliance_instances * linked_vpc_network
2220
2387
  class Spoke
2221
2388
  include Google::Apis::Core::Hashable
2222
2389
 
@@ -2230,6 +2397,11 @@ module Google
2230
2397
  # @return [String]
2231
2398
  attr_accessor :description
2232
2399
 
2400
+ # The name of the group that this spoke is associated with.
2401
+ # Corresponds to the JSON property `group`
2402
+ # @return [String]
2403
+ attr_accessor :group
2404
+
2233
2405
  # Immutable. The name of the hub that this spoke is attached to.
2234
2406
  # Corresponds to the JSON property `hub`
2235
2407
  # @return [String]
@@ -2314,6 +2486,7 @@ module Google
2314
2486
  def update!(**args)
2315
2487
  @create_time = args[:create_time] if args.key?(:create_time)
2316
2488
  @description = args[:description] if args.key?(:description)
2489
+ @group = args[:group] if args.key?(:group)
2317
2490
  @hub = args[:hub] if args.key?(:hub)
2318
2491
  @labels = args[:labels] if args.key?(:labels)
2319
2492
  @linked_interconnect_attachments = args[:linked_interconnect_attachments] if args.key?(:linked_interconnect_attachments)
@@ -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.28.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230712"
25
+ REVISION = "20230804"
26
26
  end
27
27
  end
28
28
  end
@@ -88,12 +88,24 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class GoogleRpcErrorInfo
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class GoogleRpcStatus
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
94
100
  include Google::Apis::Core::JsonObjectSupport
95
101
  end
96
102
 
103
+ class Group
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
97
109
  class Hub
98
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
111
 
@@ -130,6 +142,12 @@ module Google
130
142
  include Google::Apis::Core::JsonObjectSupport
131
143
  end
132
144
 
145
+ class ListGroupsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
133
151
  class ListHubSpokesResponse
134
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
153
 
@@ -401,6 +419,8 @@ module Google
401
419
  class Representation < Google::Apis::Core::JsonRepresentation
402
420
  property :error, as: 'error', class: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus::Representation
403
421
 
422
+ property :error_info, as: 'errorInfo', class: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo::Representation
423
+
404
424
  property :error_type, as: 'errorType'
405
425
  property :forwarding_rule, as: 'forwardingRule'
406
426
  property :gce_operation, as: 'gceOperation'
@@ -456,6 +476,15 @@ module Google
456
476
  end
457
477
  end
458
478
 
479
+ class GoogleRpcErrorInfo
480
+ # @private
481
+ class Representation < Google::Apis::Core::JsonRepresentation
482
+ property :domain, as: 'domain'
483
+ hash :metadata, as: 'metadata'
484
+ property :reason, as: 'reason'
485
+ end
486
+ end
487
+
459
488
  class GoogleRpcStatus
460
489
  # @private
461
490
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -465,6 +494,19 @@ module Google
465
494
  end
466
495
  end
467
496
 
497
+ class Group
498
+ # @private
499
+ class Representation < Google::Apis::Core::JsonRepresentation
500
+ property :create_time, as: 'createTime'
501
+ property :description, as: 'description'
502
+ hash :labels, as: 'labels'
503
+ property :name, as: 'name'
504
+ property :state, as: 'state'
505
+ property :uid, as: 'uid'
506
+ property :update_time, as: 'updateTime'
507
+ end
508
+ end
509
+
468
510
  class Hub
469
511
  # @private
470
512
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -538,6 +580,16 @@ module Google
538
580
  end
539
581
  end
540
582
 
583
+ class ListGroupsResponse
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ collection :groups, as: 'groups', class: Google::Apis::NetworkconnectivityV1::Group, decorator: Google::Apis::NetworkconnectivityV1::Group::Representation
587
+
588
+ property :next_page_token, as: 'nextPageToken'
589
+ collection :unreachable, as: 'unreachable'
590
+ end
591
+ end
592
+
541
593
  class ListHubSpokesResponse
542
594
  # @private
543
595
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -720,6 +772,8 @@ module Google
720
772
  property :consumer_target_project, as: 'consumerTargetProject'
721
773
  property :error, as: 'error', class: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus::Representation
722
774
 
775
+ property :error_info, as: 'errorInfo', class: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcErrorInfo::Representation
776
+
723
777
  property :error_type, as: 'errorType'
724
778
  property :gce_operation, as: 'gceOperation'
725
779
  property :psc_connection_id, as: 'pscConnectionId'
@@ -792,7 +846,6 @@ module Google
792
846
  hash :labels, as: 'labels'
793
847
  property :name, as: 'name'
794
848
  property :service_class, as: 'serviceClass'
795
- collection :service_connection_maps, as: 'serviceConnectionMaps'
796
849
  property :update_time, as: 'updateTime'
797
850
  end
798
851
  end
@@ -867,6 +920,7 @@ module Google
867
920
  class Representation < Google::Apis::Core::JsonRepresentation
868
921
  property :create_time, as: 'createTime'
869
922
  property :description, as: 'description'
923
+ property :group, as: 'group'
870
924
  property :hub, as: 'hub'
871
925
  hash :labels, as: 'labels'
872
926
  property :linked_interconnect_attachments, as: 'linkedInterconnectAttachments', class: Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments, decorator: Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments::Representation
@@ -517,6 +517,36 @@ module Google
517
517
  execute_or_queue_command(command, &block)
518
518
  end
519
519
 
520
+ # Gets details about a Network Connectivity Center group.
521
+ # @param [String] name
522
+ # Required. The name of the route table resource.
523
+ # @param [String] fields
524
+ # Selector specifying which fields to include in a partial response.
525
+ # @param [String] quota_user
526
+ # Available to use for quota purposes for server-side applications. Can be any
527
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
528
+ # @param [Google::Apis::RequestOptions] options
529
+ # Request-specific options
530
+ #
531
+ # @yield [result, err] Result & error if block supplied
532
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::Group] parsed result object
533
+ # @yieldparam err [StandardError] error object if request failed
534
+ #
535
+ # @return [Google::Apis::NetworkconnectivityV1::Group]
536
+ #
537
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
538
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
539
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
540
+ def get_project_location_global_hub_group(name, fields: nil, quota_user: nil, options: nil, &block)
541
+ command = make_simple_command(:get, 'v1/{+name}', options)
542
+ command.response_representation = Google::Apis::NetworkconnectivityV1::Group::Representation
543
+ command.response_class = Google::Apis::NetworkconnectivityV1::Group
544
+ command.params['name'] = name unless name.nil?
545
+ command.query['fields'] = fields unless fields.nil?
546
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
547
+ execute_or_queue_command(command, &block)
548
+ end
549
+
520
550
  # Gets the access control policy for a resource. Returns an empty policy if the
521
551
  # resource exists and does not have a policy set.
522
552
  # @param [String] resource
@@ -562,6 +592,48 @@ module Google
562
592
  execute_or_queue_command(command, &block)
563
593
  end
564
594
 
595
+ # Lists groups in a given hub.
596
+ # @param [String] parent
597
+ # Required. The parent resource's name.
598
+ # @param [String] filter
599
+ # An expression that filters the list of results.
600
+ # @param [String] order_by
601
+ # Sort the results by a certain order.
602
+ # @param [Fixnum] page_size
603
+ # The maximum number of results to return per page.
604
+ # @param [String] page_token
605
+ # The page token.
606
+ # @param [String] fields
607
+ # Selector specifying which fields to include in a partial response.
608
+ # @param [String] quota_user
609
+ # Available to use for quota purposes for server-side applications. Can be any
610
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
611
+ # @param [Google::Apis::RequestOptions] options
612
+ # Request-specific options
613
+ #
614
+ # @yield [result, err] Result & error if block supplied
615
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::ListGroupsResponse] parsed result object
616
+ # @yieldparam err [StandardError] error object if request failed
617
+ #
618
+ # @return [Google::Apis::NetworkconnectivityV1::ListGroupsResponse]
619
+ #
620
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
621
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
622
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
623
+ def list_project_location_global_hub_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
624
+ command = make_simple_command(:get, 'v1/{+parent}/groups', options)
625
+ command.response_representation = Google::Apis::NetworkconnectivityV1::ListGroupsResponse::Representation
626
+ command.response_class = Google::Apis::NetworkconnectivityV1::ListGroupsResponse
627
+ command.params['parent'] = parent unless parent.nil?
628
+ command.query['filter'] = filter unless filter.nil?
629
+ command.query['orderBy'] = order_by unless order_by.nil?
630
+ command.query['pageSize'] = page_size unless page_size.nil?
631
+ command.query['pageToken'] = page_token unless page_token.nil?
632
+ command.query['fields'] = fields unless fields.nil?
633
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
634
+ execute_or_queue_command(command, &block)
635
+ end
636
+
565
637
  # Sets the access control policy on the specified resource. Replaces any
566
638
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
567
639
  # PERMISSION_DENIED` errors.
@@ -1388,7 +1460,7 @@ module Google
1388
1460
 
1389
1461
  # Lists ServiceClasses in a given project and location.
1390
1462
  # @param [String] parent
1391
- # Required. The parent resource's name.
1463
+ # Required. The parent resource's name. ex. projects/123/locations/us-east1
1392
1464
  # @param [String] filter
1393
1465
  # A filter expression that filters the results listed in the response.
1394
1466
  # @param [String] order_by
@@ -1560,7 +1632,8 @@ module Google
1560
1632
 
1561
1633
  # Creates a new ServiceConnectionMap in a given project and location.
1562
1634
  # @param [String] parent
1563
- # Required. The parent resource's name of the ServiceConnectionMap.
1635
+ # Required. The parent resource's name of the ServiceConnectionMap. ex. projects/
1636
+ # 123/locations/us-east1
1564
1637
  # @param [Google::Apis::NetworkconnectivityV1::ServiceConnectionMap] service_connection_map_object
1565
1638
  # @param [String] request_id
1566
1639
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -1731,7 +1804,7 @@ module Google
1731
1804
 
1732
1805
  # Lists ServiceConnectionMaps in a given project and location.
1733
1806
  # @param [String] parent
1734
- # Required. The parent resource's name.
1807
+ # Required. The parent resource's name. ex. projects/123/locations/us-east1
1735
1808
  # @param [String] filter
1736
1809
  # A filter expression that filters the results listed in the response.
1737
1810
  # @param [String] order_by
@@ -1903,7 +1976,8 @@ module Google
1903
1976
 
1904
1977
  # Creates a new ServiceConnectionPolicy in a given project and location.
1905
1978
  # @param [String] parent
1906
- # Required. The parent resource's name of the ServiceConnectionPolicy.
1979
+ # Required. The parent resource's name of the ServiceConnectionPolicy. ex.
1980
+ # projects/123/locations/us-east1
1907
1981
  # @param [Google::Apis::NetworkconnectivityV1::ServiceConnectionPolicy] service_connection_policy_object
1908
1982
  # @param [String] request_id
1909
1983
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -2074,7 +2148,7 @@ module Google
2074
2148
 
2075
2149
  # Lists ServiceConnectionPolicies in a given project and location.
2076
2150
  # @param [String] parent
2077
- # Required. The parent resource's name.
2151
+ # Required. The parent resource's name. ex. projects/123/locations/us-east1
2078
2152
  # @param [String] filter
2079
2153
  # A filter expression that filters the results listed in the response.
2080
2154
  # @param [String] order_by
@@ -2246,7 +2320,8 @@ module Google
2246
2320
 
2247
2321
  # Creates a new ServiceConnectionToken in a given project and location.
2248
2322
  # @param [String] parent
2249
- # Required. The parent resource's name of the ServiceConnectionToken.
2323
+ # Required. The parent resource's name of the ServiceConnectionToken. ex.
2324
+ # projects/123/locations/us-east1
2250
2325
  # @param [Google::Apis::NetworkconnectivityV1::ServiceConnectionToken] service_connection_token_object
2251
2326
  # @param [String] request_id
2252
2327
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -2372,7 +2447,7 @@ module Google
2372
2447
 
2373
2448
  # Lists ServiceConnectionTokens in a given project and location.
2374
2449
  # @param [String] parent
2375
- # Required. The parent resource's name.
2450
+ # Required. The parent resource's name. ex. projects/123/locations/us-east1
2376
2451
  # @param [String] filter
2377
2452
  # A filter expression that filters the results listed in the response.
2378
2453
  # @param [String] order_by
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.28.0
4
+ version: 0.30.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: 2023-07-23 00:00:00.000000000 Z
11
+ date: 2023-08-20 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.30.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: []