google-apis-networkconnectivity_v1alpha1 0.3.0 → 0.4.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: 87b73ed5b683b756a999fb5bb48066476a557e3f8757f71a2cb3a0f345b1e54b
4
- data.tar.gz: b7f6f38f2007cbe093132e361df225350f0dfcb44f6d72585b065dd5c37e04a9
3
+ metadata.gz: f78278f2cf02e67939af74a85bc877f33159900dc7e0cf8f0c91acd07c4ff8a3
4
+ data.tar.gz: 790c8f42937716097a3362d82c723adef1b5bc8a919ef432d6d1b71c8094bc4c
5
5
  SHA512:
6
- metadata.gz: 61a5716fd8e10f3617d74c97404db1d3be9849e70a6fb7b4fe9a072aeec19548cfae8e46b552e3fe21bb55d2f2bffaea9caa39e5054e42cbe7d83ac973228670
7
- data.tar.gz: f5b2ace46c65c005df896cc2d325321b41a4e9e7ddacfa233ce633c5c0a33ed7ce4a5b989106c0350827a1dfe21c784e7aa7a60f1cddef1f992373d8212d2394
6
+ metadata.gz: 044d9a88c8e130188bb4a4601ad6f7a31b1547f7c32ead4b08c5cedc1c3e18aedea64139b00a9bb0805d3616b9054001243c3bd71f25ebb036c6fa07331be021
7
+ data.tar.gz: c6964032e8a6d2909bab9a9c11b4692a8b77abf4a87d8695c6f2f9d8411e16bac78517673334ecd3005d3be417558fefc857154cc32f4f9d13afbd91bfdf2c7d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkconnectivity_v1alpha1
2
2
 
3
+ ### v0.4.0 (2021-04-01)
4
+
5
+ * Regenerated from discovery document revision 20210331
6
+
3
7
  ### v0.3.0 (2021-03-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20210324
@@ -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.3.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210324"
25
+ REVISION = "20210331"
26
26
  end
27
27
  end
28
28
  end
@@ -452,6 +452,121 @@ module Google
452
452
  execute_or_queue_command(command, &block)
453
453
  end
454
454
 
455
+ # Gets the access control policy for a resource. Returns an empty policy if the
456
+ # resource exists and does not have a policy set.
457
+ # @param [String] resource
458
+ # REQUIRED: The resource for which the policy is being requested. See the
459
+ # operation documentation for the appropriate value for this field.
460
+ # @param [Fixnum] options_requested_policy_version
461
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
462
+ # 3. Requests specifying an invalid value will be rejected. Requests for
463
+ # policies with any conditional bindings must specify version 3. Policies
464
+ # without any conditional bindings may specify any valid value or leave the
465
+ # field unset. To learn which resources support conditions in their IAM policies,
466
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
467
+ # resource-policies).
468
+ # @param [String] fields
469
+ # Selector specifying which fields to include in a partial response.
470
+ # @param [String] quota_user
471
+ # Available to use for quota purposes for server-side applications. Can be any
472
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
473
+ # @param [Google::Apis::RequestOptions] options
474
+ # Request-specific options
475
+ #
476
+ # @yield [result, err] Result & error if block supplied
477
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
478
+ # @yieldparam err [StandardError] error object if request failed
479
+ #
480
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
481
+ #
482
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
483
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
484
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
485
+ def get_project_location_global_policy_based_route_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
486
+ command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
487
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
488
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
489
+ command.params['resource'] = resource unless resource.nil?
490
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
491
+ command.query['fields'] = fields unless fields.nil?
492
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
493
+ execute_or_queue_command(command, &block)
494
+ end
495
+
496
+ # Sets the access control policy on the specified resource. Replaces any
497
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
498
+ # PERMISSION_DENIED` errors.
499
+ # @param [String] resource
500
+ # REQUIRED: The resource for which the policy is being specified. See the
501
+ # operation documentation for the appropriate value for this field.
502
+ # @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
503
+ # @param [String] fields
504
+ # Selector specifying which fields to include in a partial response.
505
+ # @param [String] quota_user
506
+ # Available to use for quota purposes for server-side applications. Can be any
507
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
508
+ # @param [Google::Apis::RequestOptions] options
509
+ # Request-specific options
510
+ #
511
+ # @yield [result, err] Result & error if block supplied
512
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
513
+ # @yieldparam err [StandardError] error object if request failed
514
+ #
515
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
516
+ #
517
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
518
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
519
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
520
+ def set_policy_based_route_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
521
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
522
+ command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
523
+ command.request_object = set_iam_policy_request_object
524
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
525
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
526
+ command.params['resource'] = resource unless resource.nil?
527
+ command.query['fields'] = fields unless fields.nil?
528
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
529
+ execute_or_queue_command(command, &block)
530
+ end
531
+
532
+ # Returns permissions that a caller has on the specified resource. If the
533
+ # resource does not exist, this will return an empty set of permissions, not a `
534
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
535
+ # permission-aware UIs and command-line tools, not for authorization checking.
536
+ # This operation may "fail open" without warning.
537
+ # @param [String] resource
538
+ # REQUIRED: The resource for which the policy detail is being requested. See the
539
+ # operation documentation for the appropriate value for this field.
540
+ # @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
541
+ # @param [String] fields
542
+ # Selector specifying which fields to include in a partial response.
543
+ # @param [String] quota_user
544
+ # Available to use for quota purposes for server-side applications. Can be any
545
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
546
+ # @param [Google::Apis::RequestOptions] options
547
+ # Request-specific options
548
+ #
549
+ # @yield [result, err] Result & error if block supplied
550
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
551
+ # @yieldparam err [StandardError] error object if request failed
552
+ #
553
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
554
+ #
555
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
556
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
557
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
558
+ def test_policy_based_route_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
559
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
560
+ command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
561
+ command.request_object = test_iam_permissions_request_object
562
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
563
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
564
+ command.params['resource'] = resource unless resource.nil?
565
+ command.query['fields'] = fields unless fields.nil?
566
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
567
+ execute_or_queue_command(command, &block)
568
+ end
569
+
455
570
  # Gets the access control policy for a resource. Returns an empty policy if the
456
571
  # resource exists and does not have a policy set.
457
572
  # @param [String] resource
@@ -717,121 +832,6 @@ module Google
717
832
  execute_or_queue_command(command, &block)
718
833
  end
719
834
 
720
- # Gets the access control policy for a resource. Returns an empty policy if the
721
- # resource exists and does not have a policy set.
722
- # @param [String] resource
723
- # REQUIRED: The resource for which the policy is being requested. See the
724
- # operation documentation for the appropriate value for this field.
725
- # @param [Fixnum] options_requested_policy_version
726
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
727
- # 3. Requests specifying an invalid value will be rejected. Requests for
728
- # policies with any conditional bindings must specify version 3. Policies
729
- # without any conditional bindings may specify any valid value or leave the
730
- # field unset. To learn which resources support conditions in their IAM policies,
731
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
732
- # resource-policies).
733
- # @param [String] fields
734
- # Selector specifying which fields to include in a partial response.
735
- # @param [String] quota_user
736
- # Available to use for quota purposes for server-side applications. Can be any
737
- # arbitrary string assigned to a user, but should not exceed 40 characters.
738
- # @param [Google::Apis::RequestOptions] options
739
- # Request-specific options
740
- #
741
- # @yield [result, err] Result & error if block supplied
742
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
743
- # @yieldparam err [StandardError] error object if request failed
744
- #
745
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
746
- #
747
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
748
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
749
- # @raise [Google::Apis::AuthorizationError] Authorization is required
750
- def get_project_location_policy_based_route_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
751
- command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
752
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
753
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
754
- command.params['resource'] = resource unless resource.nil?
755
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
756
- command.query['fields'] = fields unless fields.nil?
757
- command.query['quotaUser'] = quota_user unless quota_user.nil?
758
- execute_or_queue_command(command, &block)
759
- end
760
-
761
- # Sets the access control policy on the specified resource. Replaces any
762
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
763
- # PERMISSION_DENIED` errors.
764
- # @param [String] resource
765
- # REQUIRED: The resource for which the policy is being specified. See the
766
- # operation documentation for the appropriate value for this field.
767
- # @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
768
- # @param [String] fields
769
- # Selector specifying which fields to include in a partial response.
770
- # @param [String] quota_user
771
- # Available to use for quota purposes for server-side applications. Can be any
772
- # arbitrary string assigned to a user, but should not exceed 40 characters.
773
- # @param [Google::Apis::RequestOptions] options
774
- # Request-specific options
775
- #
776
- # @yield [result, err] Result & error if block supplied
777
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
778
- # @yieldparam err [StandardError] error object if request failed
779
- #
780
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
781
- #
782
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
783
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
784
- # @raise [Google::Apis::AuthorizationError] Authorization is required
785
- def set_policy_based_route_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
786
- command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
787
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
788
- command.request_object = set_iam_policy_request_object
789
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
790
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
791
- command.params['resource'] = resource unless resource.nil?
792
- command.query['fields'] = fields unless fields.nil?
793
- command.query['quotaUser'] = quota_user unless quota_user.nil?
794
- execute_or_queue_command(command, &block)
795
- end
796
-
797
- # Returns permissions that a caller has on the specified resource. If the
798
- # resource does not exist, this will return an empty set of permissions, not a `
799
- # NOT_FOUND` error. Note: This operation is designed to be used for building
800
- # permission-aware UIs and command-line tools, not for authorization checking.
801
- # This operation may "fail open" without warning.
802
- # @param [String] resource
803
- # REQUIRED: The resource for which the policy detail is being requested. See the
804
- # operation documentation for the appropriate value for this field.
805
- # @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
806
- # @param [String] fields
807
- # Selector specifying which fields to include in a partial response.
808
- # @param [String] quota_user
809
- # Available to use for quota purposes for server-side applications. Can be any
810
- # arbitrary string assigned to a user, but should not exceed 40 characters.
811
- # @param [Google::Apis::RequestOptions] options
812
- # Request-specific options
813
- #
814
- # @yield [result, err] Result & error if block supplied
815
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
816
- # @yieldparam err [StandardError] error object if request failed
817
- #
818
- # @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
819
- #
820
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
821
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
822
- # @raise [Google::Apis::AuthorizationError] Authorization is required
823
- def test_policy_based_route_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
824
- command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
825
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
826
- command.request_object = test_iam_permissions_request_object
827
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
828
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
829
- command.params['resource'] = resource unless resource.nil?
830
- command.query['fields'] = fields unless fields.nil?
831
- command.query['quotaUser'] = quota_user unless quota_user.nil?
832
- execute_or_queue_command(command, &block)
833
- end
834
-
835
835
  # Creates a new Spoke in a given project and location.
836
836
  # @param [String] parent
837
837
  # 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.3.0
4
+ version: 0.4.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-03-29 00:00:00.000000000 Z
11
+ date: 2021-04-05 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.3.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.4.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: []