google-apis-analyticshub_v1 0.28.0 → 0.29.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: 4e6dd27a168d018a419788a72d8e5c5245dd7bf52ad04d4bd5d24c099807d7a0
4
- data.tar.gz: bb06c6e04c8251c3d8b45b9d81a65537b341c7b0bb80e6014d95baeead3d83b9
3
+ metadata.gz: c7c467c4e74d24b4956567ca2500768063e01430f49ceb0b163c7a601f2d4248
4
+ data.tar.gz: 1409cbb643186faeef21779a5d3823a626a0086ef1e5c0a6b0e4fd4747866e6f
5
5
  SHA512:
6
- metadata.gz: 93c6f74c4ddb851862d1c3822572e8fb8e5a99e9123954b0aafc068388b90b86059352837f7e9d61c2b9f5305377add5e3ef7acd24e5fc48fa5a948c79ab3adc
7
- data.tar.gz: 2b4355382b9cd9b3bc7188064c19feed421bb2ee292f9fc3fb1eb94ddf5d359d8c3ca74273db691c1835566656e35054fb63f98c0155cae522f5f4ba1498dfaf
6
+ metadata.gz: 1a518a735b78e5eaf2365a746796319277a36c33bff172d3fcf1e507c292ad9e89a41f8e6f78a962c38895abf4aff12229e56586b07ae126072b9cc9f2bcf51c
7
+ data.tar.gz: 6b8df23829d50fca07f0933a0b9c2a9ff9566af1a9760c27df4b45ca9fb66650d224b335e5cc0ae26f5a8f5d418aad15018c91228481b396812f5332988016c8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-analyticshub_v1
2
2
 
3
+ ### v0.29.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250303
6
+
3
7
  ### v0.28.0 (2025-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20250217
@@ -2104,12 +2104,21 @@ module Google
2104
2104
  class RevokeSubscriptionRequest
2105
2105
  include Google::Apis::Core::Hashable
2106
2106
 
2107
+ # Optional. If the subscription is commercial then this field must be set to
2108
+ # true, otherwise a failure is thrown. This acts as a safety guard to avoid
2109
+ # revoking commercial subscriptions accidentally.
2110
+ # Corresponds to the JSON property `revokeCommercial`
2111
+ # @return [Boolean]
2112
+ attr_accessor :revoke_commercial
2113
+ alias_method :revoke_commercial?, :revoke_commercial
2114
+
2107
2115
  def initialize(**args)
2108
2116
  update!(**args)
2109
2117
  end
2110
2118
 
2111
2119
  # Update properties of this object
2112
2120
  def update!(**args)
2121
+ @revoke_commercial = args[:revoke_commercial] if args.key?(:revoke_commercial)
2113
2122
  end
2114
2123
  end
2115
2124
 
@@ -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.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250217"
25
+ REVISION = "20250303"
26
26
  end
27
27
  end
28
28
  end
@@ -895,6 +895,7 @@ module Google
895
895
  class RevokeSubscriptionRequest
896
896
  # @private
897
897
  class Representation < Google::Apis::Core::JsonRepresentation
898
+ property :revoke_commercial, as: 'revokeCommercial'
898
899
  end
899
900
  end
900
901
 
@@ -492,6 +492,10 @@ module Google
492
492
  # @param [String] name
493
493
  # Required. Resource name of the listing to delete. e.g. `projects/myproject/
494
494
  # locations/US/dataExchanges/123/listings/456`.
495
+ # @param [Boolean] delete_commercial
496
+ # Optional. If the listing is commercial then this field must be set to true,
497
+ # otherwise a failure is thrown. This acts as a safety guard to avoid deleting
498
+ # commercial listings accidentally.
495
499
  # @param [String] fields
496
500
  # Selector specifying which fields to include in a partial response.
497
501
  # @param [String] quota_user
@@ -509,11 +513,12 @@ module Google
509
513
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
510
514
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
511
515
  # @raise [Google::Apis::AuthorizationError] Authorization is required
512
- def delete_project_location_data_exchange_listing(name, fields: nil, quota_user: nil, options: nil, &block)
516
+ def delete_project_location_data_exchange_listing(name, delete_commercial: nil, fields: nil, quota_user: nil, options: nil, &block)
513
517
  command = make_simple_command(:delete, 'v1/{+name}', options)
514
518
  command.response_representation = Google::Apis::AnalyticshubV1::Empty::Representation
515
519
  command.response_class = Google::Apis::AnalyticshubV1::Empty
516
520
  command.params['name'] = name unless name.nil?
521
+ command.query['deleteCommercial'] = delete_commercial unless delete_commercial.nil?
517
522
  command.query['fields'] = fields unless fields.nil?
518
523
  command.query['quotaUser'] = quota_user unless quota_user.nil?
519
524
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticshub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.28.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.29.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1
62
62
  rdoc_options: []
63
63
  require_paths: