google-apis-networkconnectivity_v1alpha1 0.19.0 → 0.22.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 +13 -0
- data/lib/google/apis/networkconnectivity_v1alpha1/classes.rb +22 -19
- data/lib/google/apis/networkconnectivity_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/networkconnectivity_v1alpha1/service.rb +133 -11
- data/lib/google/apis/networkconnectivity_v1alpha1.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96866f26462ee820ac21bc26a4b948c11fc3bfd9946facb89f0e014244897b79
|
4
|
+
data.tar.gz: e10a506403c37b8af4ac650a1bd608225eb3e813ff072a115b091e8bddfe4813
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62e474e1c41d4312793478f703279345a172780519c0aa5fd32135e0c0a2ce17fccd581b7405fcc6a2e37575de2cb2c46f81b7e74c82e0069cf26102a0f8b4c9
|
7
|
+
data.tar.gz: 9752f01b97e82f2a642d2394074bb4fbf372f276dc42fde4a364a0393a5126cf1ef2205aadd5ba035a9e01c835de13847d046c206ee5b29966dbd0fdc1024e2c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1alpha1
|
2
2
|
|
3
|
+
### v0.22.0 (2022-08-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220809
|
6
|
+
|
7
|
+
### v0.21.0 (2022-07-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220715
|
10
|
+
* Regenerated using generator version 0.9.0
|
11
|
+
|
12
|
+
### v0.20.0 (2022-07-01)
|
13
|
+
|
14
|
+
* Regenerated using generator version 0.8.0
|
15
|
+
|
3
16
|
### v0.19.0 (2022-06-21)
|
4
17
|
|
5
18
|
* Regenerated using generator version 0.7.0
|
@@ -123,25 +123,28 @@ module Google
|
|
123
123
|
# anyone who is authenticated with a Google account or a service account. * `
|
124
124
|
# user:`emailid``: An email address that represents a specific Google account.
|
125
125
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
126
|
-
# address that represents a service account. For example, `my-other-app@
|
127
|
-
# gserviceaccount.com`. * `
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
# emailid
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
143
|
-
#
|
144
|
-
#
|
126
|
+
# address that represents a Google service account. For example, `my-other-app@
|
127
|
+
# appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
|
128
|
+
# namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
|
129
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
|
130
|
+
# accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
|
131
|
+
# . * `group:`emailid``: An email address that represents a Google group. For
|
132
|
+
# example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
|
133
|
+
# email address (plus unique identifier) representing a user that has been
|
134
|
+
# recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
|
135
|
+
# If the user is recovered, this value reverts to `user:`emailid`` and the
|
136
|
+
# recovered user retains the role in the binding. * `deleted:serviceAccount:`
|
137
|
+
# emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
138
|
+
# representing a service account that has been recently deleted. For example, `
|
139
|
+
# my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
|
140
|
+
# service account is undeleted, this value reverts to `serviceAccount:`emailid``
|
141
|
+
# and the undeleted service account retains the role in the binding. * `deleted:
|
142
|
+
# group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
143
|
+
# representing a Google group that has been recently deleted. For example, `
|
144
|
+
# admins@example.com?uid=123456789012345678901`. If the group is recovered, this
|
145
|
+
# value reverts to `group:`emailid`` and the recovered group retains the role in
|
146
|
+
# the binding. * `domain:`domain``: The G Suite domain (primary) that represents
|
147
|
+
# all the users of that domain. For example, `google.com` or `example.com`.
|
145
148
|
# Corresponds to the JSON property `members`
|
146
149
|
# @return [Array<String>]
|
147
150
|
attr_accessor :members
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkconnectivityV1alpha1
|
18
18
|
# Version of the google-apis-networkconnectivity_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.22.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220809"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module NetworkconnectivityV1alpha1
|
23
23
|
# Network Connectivity API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# This API enables connectivity with and between Google Cloud resources.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/networkconnectivity_v1alpha1'
|
@@ -243,7 +243,7 @@ module Google
|
|
243
243
|
execute_or_queue_command(command, &block)
|
244
244
|
end
|
245
245
|
|
246
|
-
# Creates a new
|
246
|
+
# Creates a new Network Connectivity Center hub in the specified project.
|
247
247
|
# @param [String] parent
|
248
248
|
# Required. The parent resource's name of the Hub.
|
249
249
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::Hub] hub_object
|
@@ -291,7 +291,7 @@ module Google
|
|
291
291
|
execute_or_queue_command(command, &block)
|
292
292
|
end
|
293
293
|
|
294
|
-
# Deletes a
|
294
|
+
# Deletes a Network Connectivity Center hub.
|
295
295
|
# @param [String] name
|
296
296
|
# Required. The name of the Hub to delete.
|
297
297
|
# @param [String] request_id
|
@@ -333,7 +333,7 @@ module Google
|
|
333
333
|
execute_or_queue_command(command, &block)
|
334
334
|
end
|
335
335
|
|
336
|
-
# Gets details
|
336
|
+
# Gets details about a Network Connectivity Center hub.
|
337
337
|
# @param [String] name
|
338
338
|
# Required. Name of the Hub resource to get.
|
339
339
|
# @param [String] fields
|
@@ -408,7 +408,7 @@ module Google
|
|
408
408
|
execute_or_queue_command(command, &block)
|
409
409
|
end
|
410
410
|
|
411
|
-
# Lists
|
411
|
+
# Lists the Network Connectivity Center hubs associated with a given project.
|
412
412
|
# @param [String] parent
|
413
413
|
# Required. The parent resource's name.
|
414
414
|
# @param [String] filter
|
@@ -450,7 +450,7 @@ module Google
|
|
450
450
|
execute_or_queue_command(command, &block)
|
451
451
|
end
|
452
452
|
|
453
|
-
# Updates the
|
453
|
+
# Updates the description and/or labels of a Network Connectivity Center hub.
|
454
454
|
# @param [String] name
|
455
455
|
# Immutable. The name of a Hub resource.
|
456
456
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::Hub] hub_object
|
@@ -849,6 +849,127 @@ module Google
|
|
849
849
|
execute_or_queue_command(command, &block)
|
850
850
|
end
|
851
851
|
|
852
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
853
|
+
# resource exists and does not have a policy set.
|
854
|
+
# @param [String] resource
|
855
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
856
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
857
|
+
# appropriate value for this field.
|
858
|
+
# @param [Fixnum] options_requested_policy_version
|
859
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
860
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
861
|
+
# rejected. Requests for policies with any conditional role bindings must
|
862
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
863
|
+
# valid value or leave the field unset. The policy in the response might use the
|
864
|
+
# policy version that you specified, or it might use a lower policy version. For
|
865
|
+
# example, if you specify version 3, but the policy has no conditional role
|
866
|
+
# bindings, the response uses version 1. To learn which resources support
|
867
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
868
|
+
# google.com/iam/help/conditions/resource-policies).
|
869
|
+
# @param [String] fields
|
870
|
+
# Selector specifying which fields to include in a partial response.
|
871
|
+
# @param [String] quota_user
|
872
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
873
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
874
|
+
# @param [Google::Apis::RequestOptions] options
|
875
|
+
# Request-specific options
|
876
|
+
#
|
877
|
+
# @yield [result, err] Result & error if block supplied
|
878
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
879
|
+
# @yieldparam err [StandardError] error object if request failed
|
880
|
+
#
|
881
|
+
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
882
|
+
#
|
883
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
884
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
885
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
886
|
+
def get_project_location_service_identifier_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
887
|
+
command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
|
888
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
889
|
+
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
890
|
+
command.params['resource'] = resource unless resource.nil?
|
891
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
892
|
+
command.query['fields'] = fields unless fields.nil?
|
893
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
894
|
+
execute_or_queue_command(command, &block)
|
895
|
+
end
|
896
|
+
|
897
|
+
# Sets the access control policy on the specified resource. Replaces any
|
898
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
899
|
+
# PERMISSION_DENIED` errors.
|
900
|
+
# @param [String] resource
|
901
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
902
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
903
|
+
# appropriate value for this field.
|
904
|
+
# @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
905
|
+
# @param [String] fields
|
906
|
+
# Selector specifying which fields to include in a partial response.
|
907
|
+
# @param [String] quota_user
|
908
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
909
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
910
|
+
# @param [Google::Apis::RequestOptions] options
|
911
|
+
# Request-specific options
|
912
|
+
#
|
913
|
+
# @yield [result, err] Result & error if block supplied
|
914
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
915
|
+
# @yieldparam err [StandardError] error object if request failed
|
916
|
+
#
|
917
|
+
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
918
|
+
#
|
919
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
920
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
921
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
922
|
+
def set_service_identifier_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
923
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
|
924
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
|
925
|
+
command.request_object = set_iam_policy_request_object
|
926
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
927
|
+
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
928
|
+
command.params['resource'] = resource unless resource.nil?
|
929
|
+
command.query['fields'] = fields unless fields.nil?
|
930
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
931
|
+
execute_or_queue_command(command, &block)
|
932
|
+
end
|
933
|
+
|
934
|
+
# Returns permissions that a caller has on the specified resource. If the
|
935
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
936
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
937
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
938
|
+
# This operation may "fail open" without warning.
|
939
|
+
# @param [String] resource
|
940
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
941
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
942
|
+
# appropriate value for this field.
|
943
|
+
# @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
944
|
+
# @param [String] fields
|
945
|
+
# Selector specifying which fields to include in a partial response.
|
946
|
+
# @param [String] quota_user
|
947
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
948
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
949
|
+
# @param [Google::Apis::RequestOptions] options
|
950
|
+
# Request-specific options
|
951
|
+
#
|
952
|
+
# @yield [result, err] Result & error if block supplied
|
953
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
|
954
|
+
# @yieldparam err [StandardError] error object if request failed
|
955
|
+
#
|
956
|
+
# @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
|
957
|
+
#
|
958
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
959
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
960
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
961
|
+
def test_service_identifier_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
962
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
|
963
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
|
964
|
+
command.request_object = test_iam_permissions_request_object
|
965
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
|
966
|
+
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
|
967
|
+
command.params['resource'] = resource unless resource.nil?
|
968
|
+
command.query['fields'] = fields unless fields.nil?
|
969
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
970
|
+
execute_or_queue_command(command, &block)
|
971
|
+
end
|
972
|
+
|
852
973
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
853
974
|
# resource exists and does not have a policy set.
|
854
975
|
# @param [String] resource
|
@@ -970,7 +1091,7 @@ module Google
|
|
970
1091
|
execute_or_queue_command(command, &block)
|
971
1092
|
end
|
972
1093
|
|
973
|
-
# Creates a
|
1094
|
+
# Creates a Network Connectivity Center spoke.
|
974
1095
|
# @param [String] parent
|
975
1096
|
# Required. The parent's resource name of the Spoke.
|
976
1097
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::Spoke] spoke_object
|
@@ -1018,7 +1139,7 @@ module Google
|
|
1018
1139
|
execute_or_queue_command(command, &block)
|
1019
1140
|
end
|
1020
1141
|
|
1021
|
-
# Deletes a
|
1142
|
+
# Deletes a Network Connectivity Center spoke.
|
1022
1143
|
# @param [String] name
|
1023
1144
|
# Required. The name of the Spoke to delete.
|
1024
1145
|
# @param [String] request_id
|
@@ -1060,7 +1181,7 @@ module Google
|
|
1060
1181
|
execute_or_queue_command(command, &block)
|
1061
1182
|
end
|
1062
1183
|
|
1063
|
-
# Gets details
|
1184
|
+
# Gets details about a Network Connectivity Center spoke.
|
1064
1185
|
# @param [String] name
|
1065
1186
|
# Required. The name of Spoke resource.
|
1066
1187
|
# @param [String] fields
|
@@ -1135,7 +1256,8 @@ module Google
|
|
1135
1256
|
execute_or_queue_command(command, &block)
|
1136
1257
|
end
|
1137
1258
|
|
1138
|
-
# Lists
|
1259
|
+
# Lists the Network Connectivity Center spokes in a specified project and
|
1260
|
+
# location.
|
1139
1261
|
# @param [String] parent
|
1140
1262
|
# Required. The parent's resource name.
|
1141
1263
|
# @param [String] filter
|
@@ -1177,7 +1299,7 @@ module Google
|
|
1177
1299
|
execute_or_queue_command(command, &block)
|
1178
1300
|
end
|
1179
1301
|
|
1180
|
-
# Updates the parameters of a
|
1302
|
+
# Updates the parameters of a Network Connectivity Center spoke.
|
1181
1303
|
# @param [String] name
|
1182
1304
|
# Immutable. The name of a Spoke resource.
|
1183
1305
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::Spoke] spoke_object
|
@@ -21,7 +21,7 @@ module Google
|
|
21
21
|
module Apis
|
22
22
|
# Network Connectivity API
|
23
23
|
#
|
24
|
-
#
|
24
|
+
# This API enables connectivity with and between Google Cloud resources.
|
25
25
|
#
|
26
26
|
# @see https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
|
27
27
|
module NetworkconnectivityV1alpha1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkconnectivity_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.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: 2022-
|
11
|
+
date: 2022-08-15 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.7'
|
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.7'
|
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_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.22.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|