google-apis-analyticshub_v1 0.13.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c6b406f65a4b9edc0af2582ae6086d33159ba4504257dd57f3fcc30d9f2fb7f
4
- data.tar.gz: 92fe3b22cd5b2860d5b28cccc622d22cf31bfcd66769752a719844ea6cf96747
3
+ metadata.gz: 5b49546e367fa0addd718c97744755d420670d83b4c4f87453a7b49c5095ed3b
4
+ data.tar.gz: 2c406c828eb80340df928bdb1f8972e370f0be9d2dfc198823e643f68ed56b3d
5
5
  SHA512:
6
- metadata.gz: cd942838234134e76b5b195d8fa27286116680e0607a4cc5b9ba964be21bd28610b4c86b1b1b1a915d9cd65f8146f104b40f40282772f295b5ff8d73959a0226
7
- data.tar.gz: fad381b630ac171aaa2ebf0fa8bc07348b19b78df2bb12232d1c379e9d2c9935223c7d9154b8841592f727f0c721f63b367e512bfbaf22fe0662a3be30beb430
6
+ metadata.gz: ea3d4141c1b5dcc68708622d1363ee145e3c28ee08d4372154705071670c30d61b0c06e8a94daffffc936385e3e46d6fba709b58d2ad291e6c8c8d7c92dc65ef
7
+ data.tar.gz: 7162e88daed728c674c6dd5727220c70c7ab6114a53d15d7888cd68a30f770c4bc076b6fcff6fbe0a427e76eb5c425055f54775dfa98a67d51c4adbd56f1a17f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-analyticshub_v1
2
2
 
3
+ ### v0.15.0 (2023-12-24)
4
+
5
+ * Regenerated from discovery document revision 20231217
6
+
7
+ ### v0.14.0 (2023-11-19)
8
+
9
+ * Regenerated from discovery document revision 20231106
10
+
3
11
  ### v0.13.0 (2023-10-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20230923
@@ -157,21 +157,43 @@ module Google
157
157
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
158
158
  # email address that represents a Google group. For example, `admins@example.com`
159
159
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
160
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
161
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
162
- # representing a user that has been recently deleted. For example, `alice@
163
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
164
- # reverts to `user:`emailid`` and the recovered user retains the role in the
165
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
166
- # (plus unique identifier) representing a service account that has been recently
167
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
160
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
161
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
162
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
163
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
164
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
165
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
166
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
167
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
168
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
169
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
170
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
171
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
172
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
173
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
174
+ # googleapis.com/projects/`project_number`/locations/global/
175
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
176
+ # All identities in a workload identity pool with a certain attribute. * `
177
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
178
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
179
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
180
+ # identifier) representing a user that has been recently deleted. For example, `
181
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
182
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
183
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
184
+ # address (plus unique identifier) representing a service account that has been
185
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
168
186
  # 123456789012345678901`. If the service account is undeleted, this value
169
187
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
170
188
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
171
189
  # An email address (plus unique identifier) representing a Google group that has
172
190
  # been recently deleted. For example, `admins@example.com?uid=
173
191
  # 123456789012345678901`. If the group is recovered, this value reverts to `
174
- # group:`emailid`` and the recovered group retains the role in the binding.
192
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
193
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
194
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
195
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
196
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
175
197
  # Corresponds to the JSON property `members`
176
198
  # @return [Array<String>]
177
199
  attr_accessor :members
@@ -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.13.0"
19
+ GEM_VERSION = "0.15.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 = "20230923"
25
+ REVISION = "20231217"
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.13.0
4
+ version: 0.15.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-10-15 00:00:00.000000000 Z
11
+ date: 2023-12-24 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.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.15.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: []