google-apis-networkservices_v1beta1 0.5.0 → 0.6.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: c52356f4f160f5bcd3672786a4b8715f654d4c3e1c09b1e60531efc6c0e09ac4
|
4
|
+
data.tar.gz: 5383066f5cd228de4126f1500171dd9b8f2058e420b68802ed9f648191bd9277
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8d5cde3746e8ffd053c765e14730eee61c1a4b8e15d666f3abfdd6329e2bb880a7968eb1260c816eb22ceb5b89d707bc2e0e9c75bb2930ea9ffe76de8f7b062
|
7
|
+
data.tar.gz: a2bb5cd463101465a48bd5a62a57e07d26dced824f5004c9deb7ad94fe5911577dc34fd4c869a4593919980a0e190192d60100911bc7c63b3dcf9bcd6c2bbaf0
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkservicesV1beta1
|
18
18
|
# Version of the google-apis-networkservices_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -569,6 +569,124 @@ module Google
|
|
569
569
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
570
570
|
execute_or_queue_command(command, &block)
|
571
571
|
end
|
572
|
+
|
573
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
574
|
+
# resource exists and does not have a policy set.
|
575
|
+
# @param [String] resource
|
576
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
577
|
+
# operation documentation for the appropriate value for this field.
|
578
|
+
# @param [Fixnum] options_requested_policy_version
|
579
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
580
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
581
|
+
# rejected. Requests for policies with any conditional role bindings must
|
582
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
583
|
+
# valid value or leave the field unset. The policy in the response might use the
|
584
|
+
# policy version that you specified, or it might use a lower policy version. For
|
585
|
+
# example, if you specify version 3, but the policy has no conditional role
|
586
|
+
# bindings, the response uses version 1. To learn which resources support
|
587
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
588
|
+
# google.com/iam/help/conditions/resource-policies).
|
589
|
+
# @param [String] fields
|
590
|
+
# Selector specifying which fields to include in a partial response.
|
591
|
+
# @param [String] quota_user
|
592
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
593
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
594
|
+
# @param [Google::Apis::RequestOptions] options
|
595
|
+
# Request-specific options
|
596
|
+
#
|
597
|
+
# @yield [result, err] Result & error if block supplied
|
598
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
|
599
|
+
# @yieldparam err [StandardError] error object if request failed
|
600
|
+
#
|
601
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Policy]
|
602
|
+
#
|
603
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
604
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
605
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
606
|
+
def get_project_location_service_binding_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
607
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
608
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
|
609
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
|
610
|
+
command.params['resource'] = resource unless resource.nil?
|
611
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
612
|
+
command.query['fields'] = fields unless fields.nil?
|
613
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
614
|
+
execute_or_queue_command(command, &block)
|
615
|
+
end
|
616
|
+
|
617
|
+
# Sets the access control policy on the specified resource. Replaces any
|
618
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
619
|
+
# PERMISSION_DENIED` errors.
|
620
|
+
# @param [String] resource
|
621
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
622
|
+
# operation documentation for the appropriate value for this field.
|
623
|
+
# @param [Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
624
|
+
# @param [String] fields
|
625
|
+
# Selector specifying which fields to include in a partial response.
|
626
|
+
# @param [String] quota_user
|
627
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
628
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
629
|
+
# @param [Google::Apis::RequestOptions] options
|
630
|
+
# Request-specific options
|
631
|
+
#
|
632
|
+
# @yield [result, err] Result & error if block supplied
|
633
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
|
634
|
+
# @yieldparam err [StandardError] error object if request failed
|
635
|
+
#
|
636
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Policy]
|
637
|
+
#
|
638
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
639
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
640
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
641
|
+
def set_service_binding_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
642
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
643
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest::Representation
|
644
|
+
command.request_object = set_iam_policy_request_object
|
645
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
|
646
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
|
647
|
+
command.params['resource'] = resource unless resource.nil?
|
648
|
+
command.query['fields'] = fields unless fields.nil?
|
649
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
650
|
+
execute_or_queue_command(command, &block)
|
651
|
+
end
|
652
|
+
|
653
|
+
# Returns permissions that a caller has on the specified resource. If the
|
654
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
655
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
656
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
657
|
+
# This operation may "fail open" without warning.
|
658
|
+
# @param [String] resource
|
659
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
660
|
+
# operation documentation for the appropriate value for this field.
|
661
|
+
# @param [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
662
|
+
# @param [String] fields
|
663
|
+
# Selector specifying which fields to include in a partial response.
|
664
|
+
# @param [String] quota_user
|
665
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
666
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
667
|
+
# @param [Google::Apis::RequestOptions] options
|
668
|
+
# Request-specific options
|
669
|
+
#
|
670
|
+
# @yield [result, err] Result & error if block supplied
|
671
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse] parsed result object
|
672
|
+
# @yieldparam err [StandardError] error object if request failed
|
673
|
+
#
|
674
|
+
# @return [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse]
|
675
|
+
#
|
676
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
677
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
678
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
679
|
+
def test_service_binding_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
680
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
681
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest::Representation
|
682
|
+
command.request_object = test_iam_permissions_request_object
|
683
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse::Representation
|
684
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse
|
685
|
+
command.params['resource'] = resource unless resource.nil?
|
686
|
+
command.query['fields'] = fields unless fields.nil?
|
687
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
688
|
+
execute_or_queue_command(command, &block)
|
689
|
+
end
|
572
690
|
|
573
691
|
protected
|
574
692
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkservices_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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-12-13 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-networkservices_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.6.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|