google-apis-privateca_v1 0.12.0 → 0.13.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/privateca_v1/gem_version.rb +3 -3
- data/lib/google/apis/privateca_v1/service.rb +44 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41a311b25d201e4c2a698ad6aa4873b4ccd6670b2bd9310aa1d001ce50c6d156
|
4
|
+
data.tar.gz: dfa42a8dda0baf624f7832bf237c94838c629a45313d6880ddcccb4e9e6c1b15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c532d46227cdfdae3bef54a88c2c22da2c1b9dd56402257f57aa11530c5404d008194bd640289b7c3d56037daa1caed656f858beab409dc224184bbd78831c15
|
7
|
+
data.tar.gz: d9f181192eb316561f365e529edbdc4827ac88d6d68d4ec0254c871c1d02d5edffba9a1a42847f561de231e6e1c386e0a28ec7614abbecb00e84ebb606225915
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module PrivatecaV1
|
18
18
|
# Version of the google-apis-privateca_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220107"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1715,6 +1715,50 @@ module Google
|
|
1715
1715
|
execute_or_queue_command(command, &block)
|
1716
1716
|
end
|
1717
1717
|
|
1718
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1719
|
+
# resource exists and does not have a policy set.
|
1720
|
+
# @param [String] resource
|
1721
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
1722
|
+
# operation documentation for the appropriate value for this field.
|
1723
|
+
# @param [Fixnum] options_requested_policy_version
|
1724
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1725
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1726
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1727
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1728
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1729
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1730
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1731
|
+
# bindings, the response uses version 1. To learn which resources support
|
1732
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1733
|
+
# google.com/iam/help/conditions/resource-policies).
|
1734
|
+
# @param [String] fields
|
1735
|
+
# Selector specifying which fields to include in a partial response.
|
1736
|
+
# @param [String] quota_user
|
1737
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1738
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1739
|
+
# @param [Google::Apis::RequestOptions] options
|
1740
|
+
# Request-specific options
|
1741
|
+
#
|
1742
|
+
# @yield [result, err] Result & error if block supplied
|
1743
|
+
# @yieldparam result [Google::Apis::PrivatecaV1::Policy] parsed result object
|
1744
|
+
# @yieldparam err [StandardError] error object if request failed
|
1745
|
+
#
|
1746
|
+
# @return [Google::Apis::PrivatecaV1::Policy]
|
1747
|
+
#
|
1748
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1749
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1750
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1751
|
+
def get_project_location_managed_pki_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1752
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1753
|
+
command.response_representation = Google::Apis::PrivatecaV1::Policy::Representation
|
1754
|
+
command.response_class = Google::Apis::PrivatecaV1::Policy
|
1755
|
+
command.params['resource'] = resource unless resource.nil?
|
1756
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1757
|
+
command.query['fields'] = fields unless fields.nil?
|
1758
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1759
|
+
execute_or_queue_command(command, &block)
|
1760
|
+
end
|
1761
|
+
|
1718
1762
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1719
1763
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1720
1764
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-privateca_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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-01-
|
11
|
+
date: 2022-01-17 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-privateca_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-privateca_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-privateca_v1/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-privateca_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Certificate Authority API V1
|