google-apis-networkconnectivity_v1alpha1 0.20.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22890db44aac447a82cc84ddd8b0acd7720081c5537b847d1695d393f875e407
|
4
|
+
data.tar.gz: 261f1354da77e3d5f6895d864189d974d5ec0d8f244f3698557a074fb54279a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b54df70157f633791cceb3ec61382e8d0a8d2a79f5cca81666a630a4992df35b51913f35af1413a463a700c49f8954ce2220d31c65a5aba058ac214ba893226e
|
7
|
+
data.tar.gz: 76c7931ff5d882d749be01d45d0c63fb3e8b41ebdd79de42854226259ce6a56e02a888207af141e90a010ea41f4ae4061f4e39cdb17f89121feb56d23dc3b4d3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1alpha1
|
2
2
|
|
3
|
+
### v0.21.0 (2022-07-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220715
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
3
8
|
### v0.20.0 (2022-07-01)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.8.0
|
@@ -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.21.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 = "20220715"
|
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.21.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-07-
|
11
|
+
date: 2022-07-25 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_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.21.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: []
|