google-apis-networkconnectivity_v1 0.34.0 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +31 -74
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +3 -3
- data/lib/google/apis/networkconnectivity_v1/representations.rb +0 -27
- data/lib/google/apis/networkconnectivity_v1/service.rb +5 -72
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4862c0313592e514700028ec916fe5910ff2ab33f50007edb0f8f4320306e6c
|
4
|
+
data.tar.gz: d05d1a1d84866d5aa08ea147ebb46d05e837306d59628cbd5edd55f2414611eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6ec1038ea47e5544721f5ef9e39c50953cbf3684ca612e858c9cefd0afdb31e020924ba6202d4c62ec248eeaaf59e784891f7070b187a419aa12615c209d3aa
|
7
|
+
data.tar.gz: 023fafd16d6949612d93a3591252b86c2ae5fd1e8fbd2940116fcf49650f34b813008e9bb8c8dd5e435c8c984d93d5e557d9b927e83899691f279f64826a6c71
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1
|
2
2
|
|
3
|
+
### v0.36.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240103
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.35.0 (2023-11-05)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20231030
|
11
|
+
|
3
12
|
### v0.34.0 (2023-10-01)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20230921
|
@@ -80,35 +80,6 @@ module Google
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
# The request for HubService.AcceptSpoke.
|
84
|
-
class AcceptSpokeRequest
|
85
|
-
include Google::Apis::Core::Hashable
|
86
|
-
|
87
|
-
# Optional. A request ID to identify requests. Specify a unique request ID so
|
88
|
-
# that if you must retry your request, the server knows to ignore the request if
|
89
|
-
# it has already been completed. The server guarantees that a request doesn't
|
90
|
-
# result in creation of duplicate commitments for at least 60 minutes. For
|
91
|
-
# example, consider a situation where you make an initial request and the
|
92
|
-
# request times out. If you make the request again with the same request ID, the
|
93
|
-
# server can check to see whether the original operation was received. If it was,
|
94
|
-
# the server ignores the second request. This behavior prevents clients from
|
95
|
-
# mistakenly creating duplicate commitments. The request ID must be a valid UUID,
|
96
|
-
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
97
|
-
# 000000000000).
|
98
|
-
# Corresponds to the JSON property `requestId`
|
99
|
-
# @return [String]
|
100
|
-
attr_accessor :request_id
|
101
|
-
|
102
|
-
def initialize(**args)
|
103
|
-
update!(**args)
|
104
|
-
end
|
105
|
-
|
106
|
-
# Update properties of this object
|
107
|
-
def update!(**args)
|
108
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
109
|
-
end
|
110
|
-
end
|
111
|
-
|
112
83
|
# Specifies the audit configuration for a service. The configuration determines
|
113
84
|
# which permission types are logged, and what identities, if any, are exempted
|
114
85
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -219,21 +190,43 @@ module Google
|
|
219
190
|
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
220
191
|
# email address that represents a Google group. For example, `admins@example.com`
|
221
192
|
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
222
|
-
# users of that domain. For example, `google.com` or `example.com`. * `
|
223
|
-
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
193
|
+
# users of that domain. For example, `google.com` or `example.com`. * `principal:
|
194
|
+
# //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
|
195
|
+
# subject_attribute_value``: A single identity in a workforce identity pool. * `
|
196
|
+
# principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
|
197
|
+
# group/`group_id``: All workforce identities in a group. * `principalSet://iam.
|
198
|
+
# googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
|
199
|
+
# attribute_name`/`attribute_value``: All workforce identities with a specific
|
200
|
+
# attribute value. * `principalSet://iam.googleapis.com/locations/global/
|
201
|
+
# workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
|
202
|
+
# principal://iam.googleapis.com/projects/`project_number`/locations/global/
|
203
|
+
# workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
|
204
|
+
# identity in a workload identity pool. * `principalSet://iam.googleapis.com/
|
205
|
+
# projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
|
206
|
+
# group/`group_id``: A workload identity pool group. * `principalSet://iam.
|
207
|
+
# googleapis.com/projects/`project_number`/locations/global/
|
208
|
+
# workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
|
209
|
+
# All identities in a workload identity pool with a certain attribute. * `
|
210
|
+
# principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
|
211
|
+
# workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
|
212
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
213
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
214
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
215
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
216
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
217
|
+
# address (plus unique identifier) representing a service account that has been
|
218
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
230
219
|
# 123456789012345678901`. If the service account is undeleted, this value
|
231
220
|
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
232
221
|
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
233
222
|
# An email address (plus unique identifier) representing a Google group that has
|
234
223
|
# been recently deleted. For example, `admins@example.com?uid=
|
235
224
|
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
236
|
-
# group:`emailid`` and the recovered group retains the role in the binding.
|
225
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
226
|
+
# deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
|
227
|
+
# pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
|
228
|
+
# workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
|
229
|
+
# locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
237
230
|
# Corresponds to the JSON property `members`
|
238
231
|
# @return [Array<String>]
|
239
232
|
attr_accessor :members
|
@@ -2086,42 +2079,6 @@ module Google
|
|
2086
2079
|
end
|
2087
2080
|
end
|
2088
2081
|
|
2089
|
-
# The request for HubService.RejectSpoke.
|
2090
|
-
class RejectSpokeRequest
|
2091
|
-
include Google::Apis::Core::Hashable
|
2092
|
-
|
2093
|
-
# Optional. Additional information provided by the hub administrator in the `
|
2094
|
-
# RejectSpoke` call.
|
2095
|
-
# Corresponds to the JSON property `details`
|
2096
|
-
# @return [String]
|
2097
|
-
attr_accessor :details
|
2098
|
-
|
2099
|
-
# Optional. A request ID to identify requests. Specify a unique request ID so
|
2100
|
-
# that if you must retry your request, the server knows to ignore the request if
|
2101
|
-
# it has already been completed. The server guarantees that a request doesn't
|
2102
|
-
# result in creation of duplicate commitments for at least 60 minutes. For
|
2103
|
-
# example, consider a situation where you make an initial request and the
|
2104
|
-
# request times out. If you make the request again with the same request ID, the
|
2105
|
-
# server can check to see whether the original operation was received. If it was,
|
2106
|
-
# the server ignores the second request. This behavior prevents clients from
|
2107
|
-
# mistakenly creating duplicate commitments. The request ID must be a valid UUID,
|
2108
|
-
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
2109
|
-
# 000000000000).
|
2110
|
-
# Corresponds to the JSON property `requestId`
|
2111
|
-
# @return [String]
|
2112
|
-
attr_accessor :request_id
|
2113
|
-
|
2114
|
-
def initialize(**args)
|
2115
|
-
update!(**args)
|
2116
|
-
end
|
2117
|
-
|
2118
|
-
# Update properties of this object
|
2119
|
-
def update!(**args)
|
2120
|
-
@details = args[:details] if args.key?(:details)
|
2121
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
2122
|
-
end
|
2123
|
-
end
|
2124
|
-
|
2125
2082
|
# A route defines a path from VM instances within a spoke to a specific
|
2126
2083
|
# destination resource. Only VPC spokes have routes.
|
2127
2084
|
class Route
|
@@ -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.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240103"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,12 +34,6 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class AcceptSpokeRequest
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
37
|
class AuditConfig
|
44
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
39
|
|
@@ -310,12 +304,6 @@ module Google
|
|
310
304
|
include Google::Apis::Core::JsonObjectSupport
|
311
305
|
end
|
312
306
|
|
313
|
-
class RejectSpokeRequest
|
314
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
-
|
316
|
-
include Google::Apis::Core::JsonObjectSupport
|
317
|
-
end
|
318
|
-
|
319
307
|
class Route
|
320
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
309
|
|
@@ -446,13 +434,6 @@ module Google
|
|
446
434
|
end
|
447
435
|
end
|
448
436
|
|
449
|
-
class AcceptSpokeRequest
|
450
|
-
# @private
|
451
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
452
|
-
property :request_id, as: 'requestId'
|
453
|
-
end
|
454
|
-
end
|
455
|
-
|
456
437
|
class AuditConfig
|
457
438
|
# @private
|
458
439
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -926,14 +907,6 @@ module Google
|
|
926
907
|
end
|
927
908
|
end
|
928
909
|
|
929
|
-
class RejectSpokeRequest
|
930
|
-
# @private
|
931
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
932
|
-
property :details, as: 'details'
|
933
|
-
property :request_id, as: 'requestId'
|
934
|
-
end
|
935
|
-
end
|
936
|
-
|
937
910
|
class Route
|
938
911
|
# @private
|
939
912
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -32,6 +32,8 @@ module Google
|
|
32
32
|
#
|
33
33
|
# @see https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
|
34
34
|
class NetworkconnectivityService < Google::Apis::Core::BaseService
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://networkconnectivity.$UNIVERSE_DOMAIN$/"
|
36
|
+
|
35
37
|
# @return [String]
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
37
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -43,7 +45,7 @@ module Google
|
|
43
45
|
attr_accessor :quota_user
|
44
46
|
|
45
47
|
def initialize
|
46
|
-
super(
|
48
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
47
49
|
client_name: 'google-apis-networkconnectivity_v1',
|
48
50
|
client_version: Google::Apis::NetworkconnectivityV1::GEM_VERSION)
|
49
51
|
@batch_path = 'batch'
|
@@ -809,7 +811,7 @@ module Google
|
|
809
811
|
execute_or_queue_command(command, &block)
|
810
812
|
end
|
811
813
|
|
812
|
-
# Lists route tables in a given
|
814
|
+
# Lists route tables in a given hub.
|
813
815
|
# @param [String] parent
|
814
816
|
# Required. The parent resource's name.
|
815
817
|
# @param [String] filter
|
@@ -881,7 +883,7 @@ module Google
|
|
881
883
|
execute_or_queue_command(command, &block)
|
882
884
|
end
|
883
885
|
|
884
|
-
# Lists routes in a given
|
886
|
+
# Lists routes in a given route table.
|
885
887
|
# @param [String] parent
|
886
888
|
# Required. The parent resource's name.
|
887
889
|
# @param [String] filter
|
@@ -2718,39 +2720,6 @@ module Google
|
|
2718
2720
|
execute_or_queue_command(command, &block)
|
2719
2721
|
end
|
2720
2722
|
|
2721
|
-
# Accepts a proposal to attach a Network Connectivity Center spoke to the hub.
|
2722
|
-
# @param [String] name
|
2723
|
-
# Required. The name of the spoke to accept.
|
2724
|
-
# @param [Google::Apis::NetworkconnectivityV1::AcceptSpokeRequest] accept_spoke_request_object
|
2725
|
-
# @param [String] fields
|
2726
|
-
# Selector specifying which fields to include in a partial response.
|
2727
|
-
# @param [String] quota_user
|
2728
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2729
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2730
|
-
# @param [Google::Apis::RequestOptions] options
|
2731
|
-
# Request-specific options
|
2732
|
-
#
|
2733
|
-
# @yield [result, err] Result & error if block supplied
|
2734
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
2735
|
-
# @yieldparam err [StandardError] error object if request failed
|
2736
|
-
#
|
2737
|
-
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
2738
|
-
#
|
2739
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2740
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2741
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2742
|
-
def accept_spoke(name, accept_spoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2743
|
-
command = make_simple_command(:post, 'v1/{+name}:accept', options)
|
2744
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::AcceptSpokeRequest::Representation
|
2745
|
-
command.request_object = accept_spoke_request_object
|
2746
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
2747
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
2748
|
-
command.params['name'] = name unless name.nil?
|
2749
|
-
command.query['fields'] = fields unless fields.nil?
|
2750
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2751
|
-
execute_or_queue_command(command, &block)
|
2752
|
-
end
|
2753
|
-
|
2754
2723
|
# Creates a Network Connectivity Center spoke.
|
2755
2724
|
# @param [String] parent
|
2756
2725
|
# Required. The parent resource.
|
@@ -3016,42 +2985,6 @@ module Google
|
|
3016
2985
|
execute_or_queue_command(command, &block)
|
3017
2986
|
end
|
3018
2987
|
|
3019
|
-
# Rejects a Network Connectivity Center spoke from being attached to the hub. If
|
3020
|
-
# the spoke was previously in the `ACTIVE` state, it transitions to the `
|
3021
|
-
# INACTIVE` state and is no longer able to connect to other spokes that are
|
3022
|
-
# attached to the hub.
|
3023
|
-
# @param [String] name
|
3024
|
-
# Required. The name of the spoke to reject.
|
3025
|
-
# @param [Google::Apis::NetworkconnectivityV1::RejectSpokeRequest] reject_spoke_request_object
|
3026
|
-
# @param [String] fields
|
3027
|
-
# Selector specifying which fields to include in a partial response.
|
3028
|
-
# @param [String] quota_user
|
3029
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3030
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3031
|
-
# @param [Google::Apis::RequestOptions] options
|
3032
|
-
# Request-specific options
|
3033
|
-
#
|
3034
|
-
# @yield [result, err] Result & error if block supplied
|
3035
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
3036
|
-
# @yieldparam err [StandardError] error object if request failed
|
3037
|
-
#
|
3038
|
-
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
3039
|
-
#
|
3040
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3041
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3042
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3043
|
-
def reject_spoke(name, reject_spoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3044
|
-
command = make_simple_command(:post, 'v1/{+name}:reject', options)
|
3045
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::RejectSpokeRequest::Representation
|
3046
|
-
command.request_object = reject_spoke_request_object
|
3047
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
3048
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
3049
|
-
command.params['name'] = name unless name.nil?
|
3050
|
-
command.query['fields'] = fields unless fields.nil?
|
3051
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3052
|
-
execute_or_queue_command(command, &block)
|
3053
|
-
end
|
3054
|
-
|
3055
2988
|
# Sets the access control policy on the specified resource. Replaces any
|
3056
2989
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
3057
2990
|
# PERMISSION_DENIED` errors.
|
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.36.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:
|
11
|
+
date: 2024-01-23 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.
|
19
|
+
version: 0.12.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.
|
29
|
+
version: 0.12.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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Network Connectivity API V1
|