google-apis-networkconnectivity_v1 0.29.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 +4 -4
- data/CHANGELOG.md +6 -2
- data/lib/google/apis/networkconnectivity_v1/classes.rb +130 -28
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +36 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +82 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59d8ef0dfff851ecc48d0702221277e7bcf1d90663b8569bce3a9713206a9c02
|
4
|
+
data.tar.gz: a842d4060a78e79b3f78e84f479e61ebfde1c15bda666578252cb41fe53fa661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa822d9d6794a2592d85a822435b463a31e8f4b4d182b02eb9c2254bc8a893d687db3f124e9a7de232488ea6fd5a40ffef93b16093ae1381fb787b3b11a92e23
|
7
|
+
data.tar.gz: 94ec49fd0e7ad176c500021a009332773871f96b3033ebc5f85c7d1a14c0dd7fd31315c0c40ab4b4d8469ade12aac55953a4bf847a75cd1c350467d0ba885c83
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1
|
2
2
|
|
3
|
-
### v0.
|
3
|
+
### v0.30.0 (2023-08-13)
|
4
4
|
|
5
|
-
* Regenerated from discovery document revision
|
5
|
+
* Regenerated from discovery document revision 20230804
|
6
|
+
|
7
|
+
### v0.29.0 (2023-08-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230727
|
6
10
|
|
7
11
|
### v0.28.0 (2023-07-23)
|
8
12
|
|
@@ -485,13 +485,13 @@ module Google
|
|
485
485
|
# @return [String]
|
486
486
|
attr_accessor :name
|
487
487
|
|
488
|
-
# The normal response of the operation
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
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`.
|
495
495
|
# Corresponds to the JSON property `response`
|
496
496
|
# @return [Hash<String,Object>]
|
497
497
|
attr_accessor :response
|
@@ -600,6 +600,69 @@ module Google
|
|
600
600
|
end
|
601
601
|
end
|
602
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
|
+
|
603
666
|
# A Network Connectivity Center hub is a global management resource to which you
|
604
667
|
# attach spokes. A single hub can contain spokes from multiple regions. However,
|
605
668
|
# if any of a hub's spokes use the site-to-site data transfer feature, the
|
@@ -943,6 +1006,39 @@ module Google
|
|
943
1006
|
end
|
944
1007
|
end
|
945
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
|
+
|
946
1042
|
# The response for HubService.ListHubSpokes.
|
947
1043
|
class ListHubSpokesResponse
|
948
1044
|
include Google::Apis::Core::Hashable
|
@@ -1449,22 +1545,22 @@ module Google
|
|
1449
1545
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
1450
1546
|
# the request, the resource, or both. To learn which resources support
|
1451
1547
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1452
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1548
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
1453
1549
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1454
1550
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1455
1551
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1456
1552
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1457
1553
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1458
1554
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1459
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
1460
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
1461
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
1462
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
1463
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
1464
|
-
# access description: Does not grant access after Sep 2020
|
1465
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
1466
|
-
# a description of IAM and its features, see the
|
1467
|
-
# 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/).
|
1468
1564
|
class Policy
|
1469
1565
|
include Google::Apis::Core::Hashable
|
1470
1566
|
|
@@ -2245,22 +2341,22 @@ module Google
|
|
2245
2341
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
2246
2342
|
# the request, the resource, or both. To learn which resources support
|
2247
2343
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2248
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2344
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
2249
2345
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
2250
2346
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
2251
2347
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
2252
2348
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
2253
2349
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
2254
2350
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2255
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
2256
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
2257
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
2258
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
2259
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
2260
|
-
# access description: Does not grant access after Sep 2020
|
2261
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
2262
|
-
# a description of IAM and its features, see the
|
2263
|
-
# 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/).
|
2264
2360
|
# Corresponds to the JSON property `policy`
|
2265
2361
|
# @return [Google::Apis::NetworkconnectivityV1::Policy]
|
2266
2362
|
attr_accessor :policy
|
@@ -2287,7 +2383,7 @@ module Google
|
|
2287
2383
|
# connectivity resources. When you create a spoke, you associate it with a hub.
|
2288
2384
|
# You must also identify a value for exactly one of the following fields: *
|
2289
2385
|
# linked_vpn_tunnels * linked_interconnect_attachments *
|
2290
|
-
# linked_router_appliance_instances
|
2386
|
+
# linked_router_appliance_instances * linked_vpc_network
|
2291
2387
|
class Spoke
|
2292
2388
|
include Google::Apis::Core::Hashable
|
2293
2389
|
|
@@ -2301,6 +2397,11 @@ module Google
|
|
2301
2397
|
# @return [String]
|
2302
2398
|
attr_accessor :description
|
2303
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
|
+
|
2304
2405
|
# Immutable. The name of the hub that this spoke is attached to.
|
2305
2406
|
# Corresponds to the JSON property `hub`
|
2306
2407
|
# @return [String]
|
@@ -2385,6 +2486,7 @@ module Google
|
|
2385
2486
|
def update!(**args)
|
2386
2487
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2387
2488
|
@description = args[:description] if args.key?(:description)
|
2489
|
+
@group = args[:group] if args.key?(:group)
|
2388
2490
|
@hub = args[:hub] if args.key?(:hub)
|
2389
2491
|
@labels = args[:labels] if args.key?(:labels)
|
2390
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.
|
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 = "
|
25
|
+
REVISION = "20230804"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class Group
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class Hub
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -136,6 +142,12 @@ module Google
|
|
136
142
|
include Google::Apis::Core::JsonObjectSupport
|
137
143
|
end
|
138
144
|
|
145
|
+
class ListGroupsResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
139
151
|
class ListHubSpokesResponse
|
140
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
153
|
|
@@ -482,6 +494,19 @@ module Google
|
|
482
494
|
end
|
483
495
|
end
|
484
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
|
+
|
485
510
|
class Hub
|
486
511
|
# @private
|
487
512
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -555,6 +580,16 @@ module Google
|
|
555
580
|
end
|
556
581
|
end
|
557
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
|
+
|
558
593
|
class ListHubSpokesResponse
|
559
594
|
# @private
|
560
595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -885,6 +920,7 @@ module Google
|
|
885
920
|
class Representation < Google::Apis::Core::JsonRepresentation
|
886
921
|
property :create_time, as: 'createTime'
|
887
922
|
property :description, as: 'description'
|
923
|
+
property :group, as: 'group'
|
888
924
|
property :hub, as: 'hub'
|
889
925
|
hash :labels, as: 'labels'
|
890
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.
|
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-08-
|
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.
|
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: []
|