google-apis-networkconnectivity_v1alpha1 0.1.0 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdd6e9e8195e0d3da1c29df6d5984d21b0365cac00c75ae98d516114a69ba1bd
|
4
|
+
data.tar.gz: de2274c194a4e79d6ad86fb0a8116130367a8b9a85040b42236b8533b9abb578
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f86c67abbe216d75eac12c72cbe8df6c57505f235eb394e4cfd0f9f26919578a7a2ca60f83765fb9e459f17f5e11d524744a0fc09a7cd285e4ad8c4fe6116ed
|
7
|
+
data.tar.gz: 0de46f18bd5a5daf856689740405646136b2ea7b41070db8cb0fff50a85ce65b7bd5a44d8771d54c7ba9708956a9b43e93fd7ca0bb159bca6385522c4037c7aa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1alpha1
|
2
2
|
|
3
|
+
### v0.2.0 (2021-03-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210303
|
6
|
+
* Unspecified changes
|
7
|
+
|
3
8
|
### v0.1.0 (2021-02-03)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20210129
|
@@ -1427,8 +1427,7 @@ module Google
|
|
1427
1427
|
attr_accessor :trace_spans
|
1428
1428
|
|
1429
1429
|
# Private Preview. This feature is only available for approved services. User
|
1430
|
-
# defined labels for the resource that this operation is associated with.
|
1431
|
-
# combination of 1000 user labels per consumer project are allowed.
|
1430
|
+
# defined labels for the resource that this operation is associated with.
|
1432
1431
|
# Corresponds to the JSON property `userLabels`
|
1433
1432
|
# @return [Hash<String,String>]
|
1434
1433
|
attr_accessor :user_labels
|
@@ -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.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210303"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -448,6 +448,121 @@ module Google
|
|
448
448
|
execute_or_queue_command(command, &block)
|
449
449
|
end
|
450
450
|
|
451
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
452
|
+
# resource exists and does not have a policy set.
|
453
|
+
# @param [String] resource
|
454
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
455
|
+
# operation documentation for the appropriate value for this field.
|
456
|
+
# @param [Fixnum] options_requested_policy_version
|
457
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
458
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
459
|
+
# policies with any conditional bindings must specify version 3. Policies
|
460
|
+
# without any conditional bindings may specify any valid value or leave the
|
461
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
462
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
463
|
+
# resource-policies).
|
464
|
+
# @param [String] fields
|
465
|
+
# Selector specifying which fields to include in a partial response.
|
466
|
+
# @param [String] quota_user
|
467
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
468
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
469
|
+
# @param [Google::Apis::RequestOptions] options
|
470
|
+
# Request-specific options
|
471
|
+
#
|
472
|
+
# @yield [result, err] Result & error if block supplied
|
473
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
474
|
+
# @yieldparam err [StandardError] error object if request failed
|
475
|
+
#
|
476
|
+
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
477
|
+
#
|
478
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
479
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
480
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
481
|
+
def get_project_location_internal_range_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
482
|
+
command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
|
483
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
484
|
+
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
485
|
+
command.params['resource'] = resource unless resource.nil?
|
486
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
487
|
+
command.query['fields'] = fields unless fields.nil?
|
488
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
489
|
+
execute_or_queue_command(command, &block)
|
490
|
+
end
|
491
|
+
|
492
|
+
# Sets the access control policy on the specified resource. Replaces any
|
493
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
494
|
+
# PERMISSION_DENIED` errors.
|
495
|
+
# @param [String] resource
|
496
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
497
|
+
# operation documentation for the appropriate value for this field.
|
498
|
+
# @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
499
|
+
# @param [String] fields
|
500
|
+
# Selector specifying which fields to include in a partial response.
|
501
|
+
# @param [String] quota_user
|
502
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
503
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
504
|
+
# @param [Google::Apis::RequestOptions] options
|
505
|
+
# Request-specific options
|
506
|
+
#
|
507
|
+
# @yield [result, err] Result & error if block supplied
|
508
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
509
|
+
# @yieldparam err [StandardError] error object if request failed
|
510
|
+
#
|
511
|
+
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
512
|
+
#
|
513
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
514
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
515
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
516
|
+
def set_internal_range_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
517
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
|
518
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
|
519
|
+
command.request_object = set_iam_policy_request_object
|
520
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
521
|
+
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
522
|
+
command.params['resource'] = resource unless resource.nil?
|
523
|
+
command.query['fields'] = fields unless fields.nil?
|
524
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
525
|
+
execute_or_queue_command(command, &block)
|
526
|
+
end
|
527
|
+
|
528
|
+
# Returns permissions that a caller has on the specified resource. If the
|
529
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
530
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
531
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
532
|
+
# This operation may "fail open" without warning.
|
533
|
+
# @param [String] resource
|
534
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
535
|
+
# operation documentation for the appropriate value for this field.
|
536
|
+
# @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
537
|
+
# @param [String] fields
|
538
|
+
# Selector specifying which fields to include in a partial response.
|
539
|
+
# @param [String] quota_user
|
540
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
541
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
542
|
+
# @param [Google::Apis::RequestOptions] options
|
543
|
+
# Request-specific options
|
544
|
+
#
|
545
|
+
# @yield [result, err] Result & error if block supplied
|
546
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
|
547
|
+
# @yieldparam err [StandardError] error object if request failed
|
548
|
+
#
|
549
|
+
# @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
|
550
|
+
#
|
551
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
552
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
553
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
554
|
+
def test_internal_range_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
555
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
|
556
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
|
557
|
+
command.request_object = test_iam_permissions_request_object
|
558
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
|
559
|
+
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
|
560
|
+
command.params['resource'] = resource unless resource.nil?
|
561
|
+
command.query['fields'] = fields unless fields.nil?
|
562
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
563
|
+
execute_or_queue_command(command, &block)
|
564
|
+
end
|
565
|
+
|
451
566
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
452
567
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
453
568
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -713,121 +828,6 @@ module Google
|
|
713
828
|
execute_or_queue_command(command, &block)
|
714
829
|
end
|
715
830
|
|
716
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
717
|
-
# resource exists and does not have a policy set.
|
718
|
-
# @param [String] resource
|
719
|
-
# REQUIRED: The resource for which the policy is being requested. See the
|
720
|
-
# operation documentation for the appropriate value for this field.
|
721
|
-
# @param [Fixnum] options_requested_policy_version
|
722
|
-
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
723
|
-
# 3. Requests specifying an invalid value will be rejected. Requests for
|
724
|
-
# policies with any conditional bindings must specify version 3. Policies
|
725
|
-
# without any conditional bindings may specify any valid value or leave the
|
726
|
-
# field unset. To learn which resources support conditions in their IAM policies,
|
727
|
-
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
728
|
-
# resource-policies).
|
729
|
-
# @param [String] fields
|
730
|
-
# Selector specifying which fields to include in a partial response.
|
731
|
-
# @param [String] quota_user
|
732
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
733
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
734
|
-
# @param [Google::Apis::RequestOptions] options
|
735
|
-
# Request-specific options
|
736
|
-
#
|
737
|
-
# @yield [result, err] Result & error if block supplied
|
738
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
739
|
-
# @yieldparam err [StandardError] error object if request failed
|
740
|
-
#
|
741
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
742
|
-
#
|
743
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
744
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
745
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
746
|
-
def get_project_location_private_range_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
747
|
-
command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
|
748
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
749
|
-
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
750
|
-
command.params['resource'] = resource unless resource.nil?
|
751
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
752
|
-
command.query['fields'] = fields unless fields.nil?
|
753
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
754
|
-
execute_or_queue_command(command, &block)
|
755
|
-
end
|
756
|
-
|
757
|
-
# Sets the access control policy on the specified resource. Replaces any
|
758
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
759
|
-
# PERMISSION_DENIED` errors.
|
760
|
-
# @param [String] resource
|
761
|
-
# REQUIRED: The resource for which the policy is being specified. See the
|
762
|
-
# operation documentation for the appropriate value for this field.
|
763
|
-
# @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
764
|
-
# @param [String] fields
|
765
|
-
# Selector specifying which fields to include in a partial response.
|
766
|
-
# @param [String] quota_user
|
767
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
768
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
769
|
-
# @param [Google::Apis::RequestOptions] options
|
770
|
-
# Request-specific options
|
771
|
-
#
|
772
|
-
# @yield [result, err] Result & error if block supplied
|
773
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
774
|
-
# @yieldparam err [StandardError] error object if request failed
|
775
|
-
#
|
776
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
777
|
-
#
|
778
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
779
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
780
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
781
|
-
def set_private_range_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
782
|
-
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
|
783
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
|
784
|
-
command.request_object = set_iam_policy_request_object
|
785
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
786
|
-
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
787
|
-
command.params['resource'] = resource unless resource.nil?
|
788
|
-
command.query['fields'] = fields unless fields.nil?
|
789
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
790
|
-
execute_or_queue_command(command, &block)
|
791
|
-
end
|
792
|
-
|
793
|
-
# Returns permissions that a caller has on the specified resource. If the
|
794
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
795
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
796
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
797
|
-
# This operation may "fail open" without warning.
|
798
|
-
# @param [String] resource
|
799
|
-
# REQUIRED: The resource for which the policy detail is being requested. See the
|
800
|
-
# operation documentation for the appropriate value for this field.
|
801
|
-
# @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
802
|
-
# @param [String] fields
|
803
|
-
# Selector specifying which fields to include in a partial response.
|
804
|
-
# @param [String] quota_user
|
805
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
806
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
807
|
-
# @param [Google::Apis::RequestOptions] options
|
808
|
-
# Request-specific options
|
809
|
-
#
|
810
|
-
# @yield [result, err] Result & error if block supplied
|
811
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
|
812
|
-
# @yieldparam err [StandardError] error object if request failed
|
813
|
-
#
|
814
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
|
815
|
-
#
|
816
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
817
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
818
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
819
|
-
def test_private_range_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
820
|
-
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
|
821
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
|
822
|
-
command.request_object = test_iam_permissions_request_object
|
823
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
|
824
|
-
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
|
825
|
-
command.params['resource'] = resource unless resource.nil?
|
826
|
-
command.query['fields'] = fields unless fields.nil?
|
827
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
828
|
-
execute_or_queue_command(command, &block)
|
829
|
-
end
|
830
|
-
|
831
831
|
# Creates a new Spoke in a given project and location.
|
832
832
|
# @param [String] parent
|
833
833
|
# Required. The parent's resource name of the Spoke.
|
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.2.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: 2021-
|
11
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkconnectivity_v1alpha1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.2.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkconnectivity_v1alpha1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Network Connectivity API V1alpha1
|