google-apis-analyticshub_v1 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/analyticshub_v1/gem_version.rb +2 -2
- data/lib/google/apis/analyticshub_v1/service.rb +70 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6af5d01b914999a082f8b9032724b907f99a1950de0f14a917dfde930e416027
|
4
|
+
data.tar.gz: ece78baebc770720746378ba0757b15c405cf3b24cb2de22172fb6065d48c03d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 063ad754085bea93df2118006b579f4f9c6e29300537ec9c7f56cc2a55b6398d36eba539a101bdeb038aec2416c5e7bc6b7032f0499d06c4bae3d39cb68d23fc
|
7
|
+
data.tar.gz: 42c3d4a4fe79871be5df60e85c61870369bcfc531ef8d30d1031db7dedf77024761d22ebd382a510b40f94f65477ff86b73771397e786b2eb0419841a068e59d
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AnalyticshubV1
|
18
18
|
# Version of the google-apis-analyticshub_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -871,6 +871,41 @@ module Google
|
|
871
871
|
execute_or_queue_command(command, &block)
|
872
872
|
end
|
873
873
|
|
874
|
+
# Gets the IAM policy.
|
875
|
+
# @param [String] resource
|
876
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
877
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
878
|
+
# appropriate value for this field.
|
879
|
+
# @param [Google::Apis::AnalyticshubV1::GetIamPolicyRequest] get_iam_policy_request_object
|
880
|
+
# @param [String] fields
|
881
|
+
# Selector specifying which fields to include in a partial response.
|
882
|
+
# @param [String] quota_user
|
883
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
884
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
885
|
+
# @param [Google::Apis::RequestOptions] options
|
886
|
+
# Request-specific options
|
887
|
+
#
|
888
|
+
# @yield [result, err] Result & error if block supplied
|
889
|
+
# @yieldparam result [Google::Apis::AnalyticshubV1::Policy] parsed result object
|
890
|
+
# @yieldparam err [StandardError] error object if request failed
|
891
|
+
#
|
892
|
+
# @return [Google::Apis::AnalyticshubV1::Policy]
|
893
|
+
#
|
894
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
895
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
896
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
897
|
+
def get_subscription_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
898
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
899
|
+
command.request_representation = Google::Apis::AnalyticshubV1::GetIamPolicyRequest::Representation
|
900
|
+
command.request_object = get_iam_policy_request_object
|
901
|
+
command.response_representation = Google::Apis::AnalyticshubV1::Policy::Representation
|
902
|
+
command.response_class = Google::Apis::AnalyticshubV1::Policy
|
903
|
+
command.params['resource'] = resource unless resource.nil?
|
904
|
+
command.query['fields'] = fields unless fields.nil?
|
905
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
906
|
+
execute_or_queue_command(command, &block)
|
907
|
+
end
|
908
|
+
|
874
909
|
# Lists all subscriptions in a given project and location.
|
875
910
|
# @param [String] parent
|
876
911
|
# Required. The parent resource path of the subscription. e.g. projects/
|
@@ -980,6 +1015,41 @@ module Google
|
|
980
1015
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
981
1016
|
execute_or_queue_command(command, &block)
|
982
1017
|
end
|
1018
|
+
|
1019
|
+
# Sets the IAM policy.
|
1020
|
+
# @param [String] resource
|
1021
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1022
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1023
|
+
# appropriate value for this field.
|
1024
|
+
# @param [Google::Apis::AnalyticshubV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1025
|
+
# @param [String] fields
|
1026
|
+
# Selector specifying which fields to include in a partial response.
|
1027
|
+
# @param [String] quota_user
|
1028
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1029
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1030
|
+
# @param [Google::Apis::RequestOptions] options
|
1031
|
+
# Request-specific options
|
1032
|
+
#
|
1033
|
+
# @yield [result, err] Result & error if block supplied
|
1034
|
+
# @yieldparam result [Google::Apis::AnalyticshubV1::Policy] parsed result object
|
1035
|
+
# @yieldparam err [StandardError] error object if request failed
|
1036
|
+
#
|
1037
|
+
# @return [Google::Apis::AnalyticshubV1::Policy]
|
1038
|
+
#
|
1039
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1040
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1041
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1042
|
+
def set_subscription_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1043
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1044
|
+
command.request_representation = Google::Apis::AnalyticshubV1::SetIamPolicyRequest::Representation
|
1045
|
+
command.request_object = set_iam_policy_request_object
|
1046
|
+
command.response_representation = Google::Apis::AnalyticshubV1::Policy::Representation
|
1047
|
+
command.response_class = Google::Apis::AnalyticshubV1::Policy
|
1048
|
+
command.params['resource'] = resource unless resource.nil?
|
1049
|
+
command.query['fields'] = fields unless fields.nil?
|
1050
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1051
|
+
execute_or_queue_command(command, &block)
|
1052
|
+
end
|
983
1053
|
|
984
1054
|
protected
|
985
1055
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-analyticshub_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.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: 2023-
|
11
|
+
date: 2023-11-19 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-analyticshub_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.14.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|