google-apis-cloudsupport_v2beta 0.30.0 → 0.31.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/cloudsupport_v2beta/classes.rb +33 -0
- data/lib/google/apis/cloudsupport_v2beta/gem_version.rb +3 -3
- data/lib/google/apis/cloudsupport_v2beta/representations.rb +16 -0
- data/lib/google/apis/cloudsupport_v2beta/service.rb +7 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3fbae872ccebcbd8c9cbf0e05522f167913c5709ec73d331cb29f7ffd484a5e
|
4
|
+
data.tar.gz: f623929dca7a15dd7c234410b18caa16404f7752dc3cacf639507f68e34b6ea7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2c3339617d009059169c8c23b89b31111dd899aa9853722c5d13348875cda6764385d1e698067e1544bd07e22b1a7a0a24d5d85e304df53a840fd59fd51c4a8
|
7
|
+
data.tar.gz: ecd4d5689072f29776ba7f209ebcf076581f6e5dccb9c1247408b2b4823ffa7816216a6e7cc7213aac9e771cdcf3d2b87ed11a0706144b07a341f5789ad39444
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-cloudsupport_v2beta
|
2
2
|
|
3
|
+
### v0.31.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240120
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
3
8
|
### v0.30.0 (2023-12-24)
|
4
9
|
|
5
10
|
* 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.
|
19
|
+
GEM_VERSION = "0.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240120"
|
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(
|
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'
|
@@ -311,6 +313,8 @@ module Google
|
|
311
313
|
# @param [String] page_token
|
312
314
|
# A token identifying the page of results to return. If unspecified, the first
|
313
315
|
# page is retrieved.
|
316
|
+
# @param [String] product_line
|
317
|
+
# The product line to request cases for.
|
314
318
|
# @param [String] fields
|
315
319
|
# Selector specifying which fields to include in a partial response.
|
316
320
|
# @param [String] quota_user
|
@@ -328,7 +332,7 @@ module Google
|
|
328
332
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
329
333
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
330
334
|
# @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)
|
335
|
+
def list_cases(parent, filter: nil, page_size: nil, page_token: nil, product_line: nil, fields: nil, quota_user: nil, options: nil, &block)
|
332
336
|
command = make_simple_command(:get, 'v2beta/{+parent}/cases', options)
|
333
337
|
command.response_representation = Google::Apis::CloudsupportV2beta::ListCasesResponse::Representation
|
334
338
|
command.response_class = Google::Apis::CloudsupportV2beta::ListCasesResponse
|
@@ -336,6 +340,7 @@ module Google
|
|
336
340
|
command.query['filter'] = filter unless filter.nil?
|
337
341
|
command.query['pageSize'] = page_size unless page_size.nil?
|
338
342
|
command.query['pageToken'] = page_token unless page_token.nil?
|
343
|
+
command.query['productLine'] = product_line unless product_line.nil?
|
339
344
|
command.query['fields'] = fields unless fields.nil?
|
340
345
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
341
346
|
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.
|
4
|
+
version: 0.31.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:
|
11
|
+
date: 2024-01-23 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.
|
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.
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.31.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.
|
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
|