google-apis-cloudsupport_v2beta 0.30.0 → 0.32.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: 60b587971c26792180f3e50037112626cb0694e231879c7ac29384671190c903
4
- data.tar.gz: e1849c4c3eb317c1c591bd8c8b926787a7181eb3e8a7d58e1f2fa8cc743b87e4
3
+ metadata.gz: 6000ad7ccc1f8c0d85fff34cd138784e43e0c87978db19366ba24ebaca5f63ec
4
+ data.tar.gz: b9676a66387dc9f3973f5d315233ea146b8408c14becb741b253798cca9ea032
5
5
  SHA512:
6
- metadata.gz: c8471742b07bafee3d606362e14811961d8b6a9d44808a826ee65211bf99e24bd73c21e7937d30e9edf16f32f2edb066781d568f0a4166175336bf66cedff407
7
- data.tar.gz: a02e2a43f578872298968aaf3dca6b662723c26faca2cdfc07cee7b9b19e699a7a6fe389766556b3b4cb9a19f856d427cbfced08ca96b25b18ff61cae7edbbdf
6
+ metadata.gz: df4a08e18433d9d164d467a735c4291e5d369876d709522ccc365391ebdcf1d0f153a8a2ec81156fb508acbd7a0748e1ca3eb6df01f65adad756d620640f046b
7
+ data.tar.gz: b43aa1fe219c8d13ff01710abe4aee1be1f700a38ea143f06dfcf3b3dbc39ec1ce50dd99795a8566c4bbff1e8b22d2dfeea20bb44d0fd7b63a31d07534cf08d4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-cloudsupport_v2beta
2
2
 
3
+ ### v0.32.0 (2024-02-04)
4
+
5
+ * Regenerated from discovery document revision 20240129
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.31.0 (2024-01-23)
9
+
10
+ * Regenerated from discovery document revision 20240120
11
+ * Regenerated using generator version 0.13.0
12
+
3
13
  ### v0.30.0 (2023-12-24)
4
14
 
5
15
  * Regenerated from discovery document revision 20231217
@@ -331,6 +331,12 @@ module Google
331
331
  # @return [String]
332
332
  attr_accessor :id
333
333
 
334
+ # The full product a case may be associated with, including Product Line and
335
+ # Product Subline.
336
+ # Corresponds to the JSON property `product`
337
+ # @return [Google::Apis::CloudsupportV2beta::Product]
338
+ attr_accessor :product
339
+
334
340
  def initialize(**args)
335
341
  update!(**args)
336
342
  end
@@ -339,6 +345,7 @@ module Google
339
345
  def update!(**args)
340
346
  @display_name = args[:display_name] if args.key?(:display_name)
341
347
  @id = args[:id] if args.key?(:id)
348
+ @product = args[:product] if args.key?(:product)
342
349
  end
343
350
  end
344
351
 
@@ -1085,6 +1092,32 @@ module Google
1085
1092
  end
1086
1093
  end
1087
1094
 
1095
+ # The full product a case may be associated with, including Product Line and
1096
+ # Product Subline.
1097
+ class Product
1098
+ include Google::Apis::Core::Hashable
1099
+
1100
+ # The Product Line of the Product.
1101
+ # Corresponds to the JSON property `productLine`
1102
+ # @return [String]
1103
+ attr_accessor :product_line
1104
+
1105
+ # The Product Subline of the Product, such as "Maps Billing".
1106
+ # Corresponds to the JSON property `productSubline`
1107
+ # @return [String]
1108
+ attr_accessor :product_subline
1109
+
1110
+ def initialize(**args)
1111
+ update!(**args)
1112
+ end
1113
+
1114
+ # Update properties of this object
1115
+ def update!(**args)
1116
+ @product_line = args[:product_line] if args.key?(:product_line)
1117
+ @product_subline = args[:product_subline] if args.key?(:product_subline)
1118
+ end
1119
+ end
1120
+
1088
1121
  # The response message for SearchCaseClassifications endpoint.
1089
1122
  class SearchCaseClassificationsResponse
1090
1123
  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.30.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231217"
25
+ REVISION = "20240129"
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,14 @@ 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
+ property :product_subline, as: 'productSubline'
471
+ end
472
+ end
473
+
458
474
  class SearchCaseClassificationsResponse
459
475
  # @private
460
476
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://cloud.google.com/support/docs/apis
35
35
  class CloudSupportService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://cloudsupport.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://cloudsupport.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-cloudsupport_v2beta',
49
51
  client_version: Google::Apis::CloudsupportV2beta::GEM_VERSION)
50
52
  @batch_path = 'batch'
@@ -70,6 +72,10 @@ module Google
70
72
  # @param [String] page_token
71
73
  # A token identifying the page of results to return. If unspecified, the first
72
74
  # page is retrieved.
75
+ # @param [String] product_product_line
76
+ # The Product Line of the Product.
77
+ # @param [String] product_product_subline
78
+ # The Product Subline of the Product, such as "Maps Billing".
73
79
  # @param [String] query
74
80
  # An expression used to filter case classifications. If it's an empty string,
75
81
  # then no filtering happens. Otherwise, case classifications will be returned
@@ -91,12 +97,14 @@ module Google
91
97
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
92
98
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
93
99
  # @raise [Google::Apis::AuthorizationError] Authorization is required
94
- def search_case_classifications(page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
100
+ def search_case_classifications(page_size: nil, page_token: nil, product_product_line: nil, product_product_subline: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
95
101
  command = make_simple_command(:get, 'v2beta/caseClassifications:search', options)
96
102
  command.response_representation = Google::Apis::CloudsupportV2beta::SearchCaseClassificationsResponse::Representation
97
103
  command.response_class = Google::Apis::CloudsupportV2beta::SearchCaseClassificationsResponse
98
104
  command.query['pageSize'] = page_size unless page_size.nil?
99
105
  command.query['pageToken'] = page_token unless page_token.nil?
106
+ command.query['product.productLine'] = product_product_line unless product_product_line.nil?
107
+ command.query['product.productSubline'] = product_product_subline unless product_product_subline.nil?
100
108
  command.query['query'] = query unless query.nil?
101
109
  command.query['fields'] = fields unless fields.nil?
102
110
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -311,6 +319,8 @@ module Google
311
319
  # @param [String] page_token
312
320
  # A token identifying the page of results to return. If unspecified, the first
313
321
  # page is retrieved.
322
+ # @param [String] product_line
323
+ # The product line to request cases for.
314
324
  # @param [String] fields
315
325
  # Selector specifying which fields to include in a partial response.
316
326
  # @param [String] quota_user
@@ -328,7 +338,7 @@ module Google
328
338
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
329
339
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
330
340
  # @raise [Google::Apis::AuthorizationError] Authorization is required
331
- def list_cases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
341
+ def list_cases(parent, filter: nil, page_size: nil, page_token: nil, product_line: nil, fields: nil, quota_user: nil, options: nil, &block)
332
342
  command = make_simple_command(:get, 'v2beta/{+parent}/cases', options)
333
343
  command.response_representation = Google::Apis::CloudsupportV2beta::ListCasesResponse::Representation
334
344
  command.response_class = Google::Apis::CloudsupportV2beta::ListCasesResponse
@@ -336,6 +346,7 @@ module Google
336
346
  command.query['filter'] = filter unless filter.nil?
337
347
  command.query['pageSize'] = page_size unless page_size.nil?
338
348
  command.query['pageToken'] = page_token unless page_token.nil?
349
+ command.query['productLine'] = product_line unless product_line.nil?
339
350
  command.query['fields'] = fields unless fields.nil?
340
351
  command.query['quotaUser'] = quota_user unless quota_user.nil?
341
352
  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.30.0
4
+ version: 0.32.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-12-24 00:00:00.000000000 Z
11
+ date: 2024-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.32.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Cloud Support API V2beta