google-apis-analyticshub_v1 0.12.0 → 0.14.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: a49374dd3430763276f965ed863c003bbad9d84b513c4a5117136257ed5c8f99
4
- data.tar.gz: 59b4d90907c612198c1372e2d31ad2b36988a97124df7f2e10285c342e008dd7
3
+ metadata.gz: 6af5d01b914999a082f8b9032724b907f99a1950de0f14a917dfde930e416027
4
+ data.tar.gz: ece78baebc770720746378ba0757b15c405cf3b24cb2de22172fb6065d48c03d
5
5
  SHA512:
6
- metadata.gz: b33ec6cbd6ab860b809d21d533e10b5fb9ace2512089b2d63666579c4f32886a1836dff270413602fa11f9670c7db37111b33d9631811379f218e21fdbe06a69
7
- data.tar.gz: a3eeb8ea9724d80690ac56100f0fc2a6fa3f4b799391c7095213cb03419337ac41cbf63f195be08a2869823288321c28958ff5814e0faaf467f274666bad3fd0
6
+ metadata.gz: 063ad754085bea93df2118006b579f4f9c6e29300537ec9c7f56cc2a55b6398d36eba539a101bdeb038aec2416c5e7bc6b7032f0499d06c4bae3d39cb68d23fc
7
+ data.tar.gz: 42c3d4a4fe79871be5df60e85c61870369bcfc531ef8d30d1031db7dedf77024761d22ebd382a510b40f94f65477ff86b73771397e786b2eb0419841a068e59d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-analyticshub_v1
2
2
 
3
+ ### v0.14.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231106
6
+
7
+ ### v0.13.0 (2023-10-08)
8
+
9
+ * Regenerated from discovery document revision 20230923
10
+
3
11
  ### v0.12.0 (2023-09-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20230821
@@ -833,7 +833,7 @@ module Google
833
833
  end
834
834
  end
835
835
 
836
- # Represents the metadata of the long-running operation.
836
+ # Represents the metadata of a long-running operation in Analytics Hub.
837
837
  class OperationMetadata
838
838
  include Google::Apis::Core::Hashable
839
839
 
@@ -842,15 +842,6 @@ module Google
842
842
  # @return [String]
843
843
  attr_accessor :api_version
844
844
 
845
- # Output only. Identifies whether the user has requested cancellation of the
846
- # operation. Operations that have been cancelled successfully have Operation.
847
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
848
- # CANCELLED`.
849
- # Corresponds to the JSON property `cancelRequested`
850
- # @return [Boolean]
851
- attr_accessor :cancel_requested
852
- alias_method :cancel_requested?, :cancel_requested
853
-
854
845
  # Output only. The time the operation was created.
855
846
  # Corresponds to the JSON property `createTime`
856
847
  # @return [String]
@@ -861,10 +852,19 @@ module Google
861
852
  # @return [String]
862
853
  attr_accessor :end_time
863
854
 
855
+ # Output only. Identifies whether the user has requested cancellation of the
856
+ # operation. Operations that have successfully been cancelled have Operation.
857
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
858
+ # CANCELLED`.
859
+ # Corresponds to the JSON property `requestedCancellation`
860
+ # @return [Boolean]
861
+ attr_accessor :requested_cancellation
862
+ alias_method :requested_cancellation?, :requested_cancellation
863
+
864
864
  # Output only. Human-readable status of the operation, if any.
865
- # Corresponds to the JSON property `statusDetail`
865
+ # Corresponds to the JSON property `statusMessage`
866
866
  # @return [String]
867
- attr_accessor :status_detail
867
+ attr_accessor :status_message
868
868
 
869
869
  # Output only. Server-defined resource path for the target of the operation.
870
870
  # Corresponds to the JSON property `target`
@@ -883,10 +883,10 @@ module Google
883
883
  # Update properties of this object
884
884
  def update!(**args)
885
885
  @api_version = args[:api_version] if args.key?(:api_version)
886
- @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
887
886
  @create_time = args[:create_time] if args.key?(:create_time)
888
887
  @end_time = args[:end_time] if args.key?(:end_time)
889
- @status_detail = args[:status_detail] if args.key?(:status_detail)
888
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
889
+ @status_message = args[:status_message] if args.key?(:status_message)
890
890
  @target = args[:target] if args.key?(:target)
891
891
  @verb = args[:verb] if args.key?(:verb)
892
892
  end
@@ -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.12.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 = "20230821"
25
+ REVISION = "20231106"
26
26
  end
27
27
  end
28
28
  end
@@ -473,10 +473,10 @@ module Google
473
473
  # @private
474
474
  class Representation < Google::Apis::Core::JsonRepresentation
475
475
  property :api_version, as: 'apiVersion'
476
- property :cancel_requested, as: 'cancelRequested'
477
476
  property :create_time, as: 'createTime'
478
477
  property :end_time, as: 'endTime'
479
- property :status_detail, as: 'statusDetail'
478
+ property :requested_cancellation, as: 'requestedCancellation'
479
+ property :status_message, as: 'statusMessage'
480
480
  property :target, as: 'target'
481
481
  property :verb, as: 'verb'
482
482
  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.12.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-09-10 00:00:00.000000000 Z
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.12.0
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: []