google-apis-cloudsupport_v2beta 0.37.0 → 0.38.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: d6fe212355ff7a420b674a380e93a93c4c03e874cfec174328313015f0a0cc82
4
- data.tar.gz: dd71f412d0fe14a0f6869b3fb90f158ec14ab88d00ef474aae6ba68a67152cbd
3
+ metadata.gz: 9e98b92885b6d5e61fc36653aaf0ed62d51265fb8f63f7a0e23d64be6b4dcaeb
4
+ data.tar.gz: 070d0cc3f333c693afbee98769fcbe1e14b6808404625a19dd4a9ebf50e19351
5
5
  SHA512:
6
- metadata.gz: 1d29a74451625d1960a3a50ad1a006ceb7963d0bdf248ac1989edb2a5c46a095aeca896b151b5a2b509e7e21a54b18a24ecb4cc7835c9fbe96ffc99c39285b64
7
- data.tar.gz: a02dab0d55289fe875de67d7afd7af2ad9817a9a2acbcacac38d1962a51fc44cbbeaf79a67ba55fa4200a7fb8ffb16a83322200e4ac403fe1041f4dbd078bda1
6
+ metadata.gz: 3583bdde74e3c08e555bc80abce9a676e3c4e37cd6edc06daf59cf817f28460639b19acbe87c404880aee24f6504b148948a1dd76349654b2af9e9a6936f7655
7
+ data.tar.gz: d5232d60798f84525f060912bd92f6e19bc9a7f30398d3c63f4ef02a56fe7c1446b5c353f65a0d81b5921108bc535366a2f7b67b060bd24a30d0d287989ffe24
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudsupport_v2beta
2
2
 
3
+ ### v0.38.0 (2024-04-28)
4
+
5
+ * Regenerated from discovery document revision 20240424
6
+
3
7
  ### v0.37.0 (2024-04-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20240403
@@ -331,6 +331,11 @@ module Google
331
331
  # @return [String]
332
332
  attr_accessor :id
333
333
 
334
+ # The product a case may be associated with.
335
+ # Corresponds to the JSON property `product`
336
+ # @return [Google::Apis::CloudsupportV2beta::Product]
337
+ attr_accessor :product
338
+
334
339
  def initialize(**args)
335
340
  update!(**args)
336
341
  end
@@ -339,6 +344,7 @@ module Google
339
344
  def update!(**args)
340
345
  @display_name = args[:display_name] if args.key?(:display_name)
341
346
  @id = args[:id] if args.key?(:id)
347
+ @product = args[:product] if args.key?(:product)
342
348
  end
343
349
  end
344
350
 
@@ -1084,6 +1090,25 @@ module Google
1084
1090
  end
1085
1091
  end
1086
1092
 
1093
+ # The product a case may be associated with.
1094
+ class Product
1095
+ include Google::Apis::Core::Hashable
1096
+
1097
+ # The product line of the Product.
1098
+ # Corresponds to the JSON property `productLine`
1099
+ # @return [String]
1100
+ attr_accessor :product_line
1101
+
1102
+ def initialize(**args)
1103
+ update!(**args)
1104
+ end
1105
+
1106
+ # Update properties of this object
1107
+ def update!(**args)
1108
+ @product_line = args[:product_line] if args.key?(:product_line)
1109
+ end
1110
+ end
1111
+
1087
1112
  # The response message for SearchCaseClassifications endpoint.
1088
1113
  class SearchCaseClassificationsResponse
1089
1114
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudsupportV2beta
18
18
  # Version of the google-apis-cloudsupport_v2beta gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240403"
25
+ REVISION = "20240424"
26
26
  end
27
27
  end
28
28
  end
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class Product
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class SearchCaseClassificationsResponse
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -241,6 +247,8 @@ module Google
241
247
  class Representation < Google::Apis::Core::JsonRepresentation
242
248
  property :display_name, as: 'displayName'
243
249
  property :id, as: 'id'
250
+ property :product, as: 'product', class: Google::Apis::CloudsupportV2beta::Product, decorator: Google::Apis::CloudsupportV2beta::Product::Representation
251
+
244
252
  end
245
253
  end
246
254
 
@@ -455,6 +463,13 @@ module Google
455
463
  end
456
464
  end
457
465
 
466
+ class Product
467
+ # @private
468
+ class Representation < Google::Apis::Core::JsonRepresentation
469
+ property :product_line, as: 'productLine'
470
+ end
471
+ end
472
+
458
473
  class SearchCaseClassificationsResponse
459
474
  # @private
460
475
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -72,6 +72,8 @@ module Google
72
72
  # @param [String] page_token
73
73
  # A token identifying the page of results to return. If unspecified, the first
74
74
  # page is retrieved.
75
+ # @param [String] product_product_line
76
+ # The product line of the Product.
75
77
  # @param [String] query
76
78
  # An expression used to filter case classifications. If it's an empty string,
77
79
  # then no filtering happens. Otherwise, case classifications will be returned
@@ -93,12 +95,13 @@ module Google
93
95
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
94
96
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
95
97
  # @raise [Google::Apis::AuthorizationError] Authorization is required
96
- def search_case_classifications(page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
98
+ def search_case_classifications(page_size: nil, page_token: nil, product_product_line: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
97
99
  command = make_simple_command(:get, 'v2beta/caseClassifications:search', options)
98
100
  command.response_representation = Google::Apis::CloudsupportV2beta::SearchCaseClassificationsResponse::Representation
99
101
  command.response_class = Google::Apis::CloudsupportV2beta::SearchCaseClassificationsResponse
100
102
  command.query['pageSize'] = page_size unless page_size.nil?
101
103
  command.query['pageToken'] = page_token unless page_token.nil?
104
+ command.query['product.productLine'] = product_product_line unless product_product_line.nil?
102
105
  command.query['query'] = query unless query.nil?
103
106
  command.query['fields'] = fields unless fields.nil?
104
107
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -313,6 +316,9 @@ module Google
313
316
  # @param [String] page_token
314
317
  # A token identifying the page of results to return. If unspecified, the first
315
318
  # page is retrieved.
319
+ # @param [String] product_line
320
+ # The product line to request cases for. If unspecified, only Google Cloud cases
321
+ # will be returned.
316
322
  # @param [String] fields
317
323
  # Selector specifying which fields to include in a partial response.
318
324
  # @param [String] quota_user
@@ -330,7 +336,7 @@ module Google
330
336
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
331
337
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
332
338
  # @raise [Google::Apis::AuthorizationError] Authorization is required
333
- def list_cases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
339
+ def list_cases(parent, filter: nil, page_size: nil, page_token: nil, product_line: nil, fields: nil, quota_user: nil, options: nil, &block)
334
340
  command = make_simple_command(:get, 'v2beta/{+parent}/cases', options)
335
341
  command.response_representation = Google::Apis::CloudsupportV2beta::ListCasesResponse::Representation
336
342
  command.response_class = Google::Apis::CloudsupportV2beta::ListCasesResponse
@@ -338,6 +344,7 @@ module Google
338
344
  command.query['filter'] = filter unless filter.nil?
339
345
  command.query['pageSize'] = page_size unless page_size.nil?
340
346
  command.query['pageToken'] = page_token unless page_token.nil?
347
+ command.query['productLine'] = product_line unless product_line.nil?
341
348
  command.query['fields'] = fields unless fields.nil?
342
349
  command.query['quotaUser'] = quota_user unless quota_user.nil?
343
350
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudsupport_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.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: 2024-04-07 00:00:00.000000000 Z
11
+ date: 2024-04-28 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-cloudsupport_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2beta
63
63
  post_install_message:
64
64
  rdoc_options: []