google-apis-cloudsupport_v2 0.16.0 → 0.18.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f4a27b3c7a2f51681af24e4d75096347826ae465685097631c304e6291c2a13
|
4
|
+
data.tar.gz: 2e2c701bf875dfd2866db91ce825b101bce4fb427cb078e4813463bc0b28b51f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f5cbd1b641c77e74cc960848f9d2fb017e79b71fcb9795026eea5af6bf18855f2725a1d57cc413cdeeb9e648da63490fda69283e7d2c04c3226a34adbc7aa90
|
7
|
+
data.tar.gz: ab5161c3a71f15f298bb7255f3ab7fa4c2ddcf8ae95c977775546c57f95b0dea6035a18884801a526631adb9ae9ea176a20bedff3bbad6f2454b91502fe9bf36
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudsupport_v2
|
2
2
|
|
3
|
+
### v0.18.0 (2025-06-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250609
|
6
|
+
|
7
|
+
### v0.17.0 (2025-06-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250602
|
10
|
+
|
3
11
|
### v0.16.0 (2025-05-25)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250521
|
@@ -1132,38 +1132,6 @@ module Google
|
|
1132
1132
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1133
1133
|
end
|
1134
1134
|
end
|
1135
|
-
|
1136
|
-
# Metadata about the operation. Used to lookup the current status.
|
1137
|
-
class WorkflowOperationMetadata
|
1138
|
-
include Google::Apis::Core::Hashable
|
1139
|
-
|
1140
|
-
# The namespace that the job was scheduled in. Must be included in the workflow
|
1141
|
-
# metadata so the workflow status can be retrieved.
|
1142
|
-
# Corresponds to the JSON property `namespace`
|
1143
|
-
# @return [String]
|
1144
|
-
attr_accessor :namespace
|
1145
|
-
|
1146
|
-
# The type of action the operation is classified as.
|
1147
|
-
# Corresponds to the JSON property `operationAction`
|
1148
|
-
# @return [String]
|
1149
|
-
attr_accessor :operation_action
|
1150
|
-
|
1151
|
-
# Which version of the workflow service this operation came from.
|
1152
|
-
# Corresponds to the JSON property `workflowOperationType`
|
1153
|
-
# @return [String]
|
1154
|
-
attr_accessor :workflow_operation_type
|
1155
|
-
|
1156
|
-
def initialize(**args)
|
1157
|
-
update!(**args)
|
1158
|
-
end
|
1159
|
-
|
1160
|
-
# Update properties of this object
|
1161
|
-
def update!(**args)
|
1162
|
-
@namespace = args[:namespace] if args.key?(:namespace)
|
1163
|
-
@operation_action = args[:operation_action] if args.key?(:operation_action)
|
1164
|
-
@workflow_operation_type = args[:workflow_operation_type] if args.key?(:workflow_operation_type)
|
1165
|
-
end
|
1166
|
-
end
|
1167
1135
|
end
|
1168
1136
|
end
|
1169
1137
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudsupportV2
|
18
18
|
# Version of the google-apis-cloudsupport_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250609"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,12 +172,6 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
-
class WorkflowOperationMetadata
|
176
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
-
|
178
|
-
include Google::Apis::Core::JsonObjectSupport
|
179
|
-
end
|
180
|
-
|
181
175
|
class Actor
|
182
176
|
# @private
|
183
177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -471,15 +465,6 @@ module Google
|
|
471
465
|
property :next_page_token, as: 'nextPageToken'
|
472
466
|
end
|
473
467
|
end
|
474
|
-
|
475
|
-
class WorkflowOperationMetadata
|
476
|
-
# @private
|
477
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
478
|
-
property :namespace, as: 'namespace'
|
479
|
-
property :operation_action, as: 'operationAction'
|
480
|
-
property :workflow_operation_type, as: 'workflowOperationType'
|
481
|
-
end
|
482
|
-
end
|
483
468
|
end
|
484
469
|
end
|
485
470
|
end
|
@@ -599,17 +599,19 @@ module Google
|
|
599
599
|
execute_or_queue_command(command, &block)
|
600
600
|
end
|
601
601
|
|
602
|
-
# Download a file attached to a case.
|
603
|
-
#
|
604
|
-
#
|
605
|
-
#
|
606
|
-
#
|
607
|
-
#
|
608
|
-
#
|
609
|
-
#
|
610
|
-
#
|
611
|
-
#
|
612
|
-
#
|
602
|
+
# Download a file attached to a case. When this endpoint is called, no "response
|
603
|
+
# body" will be returned. Instead, the attachment's blob will be returned. Note:
|
604
|
+
# HTTP requests must append "?alt=media" to the URL. EXAMPLES: cURL: ```shell
|
605
|
+
# name="projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ"
|
606
|
+
# curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "
|
607
|
+
# https://cloudsupport.googleapis.com/v2/$name:download?alt=media" ``` Python: ``
|
608
|
+
# `python import googleapiclient.discovery api_version = "v2" supportApiService =
|
609
|
+
# googleapiclient.discovery.build( serviceName="cloudsupport", version=
|
610
|
+
# api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$
|
611
|
+
# discovery/rest?version=`api_version`", ) request = supportApiService.media().
|
612
|
+
# download( name="projects/some-project/cases/43595344/attachments/
|
613
|
+
# 0684M00000Pw6pHQAR" ) request.uri = request.uri.split("?")[0] + "?alt=media"
|
614
|
+
# print(request.execute()) ```
|
613
615
|
# @param [String] name
|
614
616
|
# The name of the file attachment to download.
|
615
617
|
# @param [String] fields
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudsupport_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -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-cloudsupport_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2/v0.18.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|