google-apis-cloudsupport_v2 0.24.0 → 0.25.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: 93a0aa0ef9864773c3e7900b58b5da68a9ae555c5dd7699ae19265c8b575a429
|
|
4
|
+
data.tar.gz: 75a8f3681d420d578cd7bc40a5234dc9177ac9304a5791d8602d2b5b39a414c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 987f2d7a5646ade3b6b3ce524b6879015cc13970e6853c3b2f8abe27d672386e0601c7d1b773bd7a3c4f793f8732d8f5bc75f1407466c63180d18b9f12d2dcfc
|
|
7
|
+
data.tar.gz: 1478304979a96fd2c228c10d9a869fc214e10d6ce65b1cc314a1b8c89dfbcbd05225c5eec6299c907f577421605e4703aec5fd9f975d88536c488daafdf89fe9
|
data/CHANGELOG.md
CHANGED
|
@@ -744,6 +744,22 @@ module Google
|
|
|
744
744
|
end
|
|
745
745
|
end
|
|
746
746
|
|
|
747
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
748
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
|
749
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
750
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
|
751
|
+
class Empty
|
|
752
|
+
include Google::Apis::Core::Hashable
|
|
753
|
+
|
|
754
|
+
def initialize(**args)
|
|
755
|
+
update!(**args)
|
|
756
|
+
end
|
|
757
|
+
|
|
758
|
+
# Update properties of this object
|
|
759
|
+
def update!(**args)
|
|
760
|
+
end
|
|
761
|
+
end
|
|
762
|
+
|
|
747
763
|
# The request message for the EscalateCase endpoint.
|
|
748
764
|
class EscalateCaseRequest
|
|
749
765
|
include Google::Apis::Core::Hashable
|
|
@@ -789,6 +805,19 @@ module Google
|
|
|
789
805
|
end
|
|
790
806
|
end
|
|
791
807
|
|
|
808
|
+
# Request message for ExpungeSupportEventSubscription.
|
|
809
|
+
class ExpungeSupportEventSubscriptionRequest
|
|
810
|
+
include Google::Apis::Core::Hashable
|
|
811
|
+
|
|
812
|
+
def initialize(**args)
|
|
813
|
+
update!(**args)
|
|
814
|
+
end
|
|
815
|
+
|
|
816
|
+
# Update properties of this object
|
|
817
|
+
def update!(**args)
|
|
818
|
+
end
|
|
819
|
+
end
|
|
820
|
+
|
|
792
821
|
# The response message for the ListAttachments endpoint.
|
|
793
822
|
class ListAttachmentsResponse
|
|
794
823
|
include Google::Apis::Core::Hashable
|
|
@@ -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.25.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260707"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -118,6 +118,12 @@ module Google
|
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
+
class Empty
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
121
127
|
class EscalateCaseRequest
|
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
129
|
|
|
@@ -130,6 +136,12 @@ module Google
|
|
|
130
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
131
137
|
end
|
|
132
138
|
|
|
139
|
+
class ExpungeSupportEventSubscriptionRequest
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
133
145
|
class ListAttachmentsResponse
|
|
134
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
147
|
|
|
@@ -372,6 +384,12 @@ module Google
|
|
|
372
384
|
end
|
|
373
385
|
end
|
|
374
386
|
|
|
387
|
+
class Empty
|
|
388
|
+
# @private
|
|
389
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
390
|
+
end
|
|
391
|
+
end
|
|
392
|
+
|
|
375
393
|
class EscalateCaseRequest
|
|
376
394
|
# @private
|
|
377
395
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -388,6 +406,12 @@ module Google
|
|
|
388
406
|
end
|
|
389
407
|
end
|
|
390
408
|
|
|
409
|
+
class ExpungeSupportEventSubscriptionRequest
|
|
410
|
+
# @private
|
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
412
|
+
end
|
|
413
|
+
end
|
|
414
|
+
|
|
391
415
|
class ListAttachmentsResponse
|
|
392
416
|
# @private
|
|
393
417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -790,7 +790,18 @@ module Google
|
|
|
790
790
|
execute_or_queue_command(command, &block)
|
|
791
791
|
end
|
|
792
792
|
|
|
793
|
-
# Creates a support event subscription for an organization.
|
|
793
|
+
# Creates a support event subscription for an organization. EXAMPLES: cURL: ```
|
|
794
|
+
# shell parent="organizations/123456789" curl \ --request POST \ --header "
|
|
795
|
+
# Authorization: Bearer $(gcloud auth print-access-token)" \ --header 'Content-
|
|
796
|
+
# Type: application/json' \ --data '` "pub_sub_topic": "projects/my-project/
|
|
797
|
+
# topics/my-topic" `' \ "https://cloudsupport.googleapis.com/v2/$parent/
|
|
798
|
+
# supportEventSubscriptions" ``` Python: ```python import googleapiclient.
|
|
799
|
+
# discovery api_version = "v2" supportApiService = googleapiclient.discovery.
|
|
800
|
+
# build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
|
|
801
|
+
# https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
|
|
802
|
+
# request = supportApiService.supportEventSubscriptions().create( parent="
|
|
803
|
+
# organizations/123456789", body=` "pub_sub_topic": "projects/my-project/topics/
|
|
804
|
+
# my-topic" `, ) print(request.execute()) ```
|
|
794
805
|
# @param [String] parent
|
|
795
806
|
# Required. The parent resource name where the support event subscription will
|
|
796
807
|
# be created. Format: organizations/`organization_id`
|
|
@@ -824,7 +835,17 @@ module Google
|
|
|
824
835
|
execute_or_queue_command(command, &block)
|
|
825
836
|
end
|
|
826
837
|
|
|
827
|
-
# Soft deletes a support event subscription.
|
|
838
|
+
# Soft deletes a support event subscription. EXAMPLES: cURL: ```shell
|
|
839
|
+
# support_event_subscription="organizations/123456789/supportEventSubscriptions/
|
|
840
|
+
# abcdef123456" curl \ --request DELETE \ --header "Authorization: Bearer $(
|
|
841
|
+
# gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$
|
|
842
|
+
# support_event_subscription" ``` Python: ```python import googleapiclient.
|
|
843
|
+
# discovery api_version = "v2" supportApiService = googleapiclient.discovery.
|
|
844
|
+
# build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
|
|
845
|
+
# https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
|
|
846
|
+
# request = supportApiService).supportEventSubscriptions().delete( name="
|
|
847
|
+
# organizations/123456789/supportEventSubscriptions/abcdef123456" ) print(
|
|
848
|
+
# request.execute()) ```
|
|
828
849
|
# @param [String] name
|
|
829
850
|
# Required. The name of the support event subscription to delete. Format:
|
|
830
851
|
# organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
|
|
@@ -855,7 +876,51 @@ module Google
|
|
|
855
876
|
execute_or_queue_command(command, &block)
|
|
856
877
|
end
|
|
857
878
|
|
|
858
|
-
#
|
|
879
|
+
# Expunges a support event subscription.
|
|
880
|
+
# @param [String] name
|
|
881
|
+
# Required. The name of the support event subscription to expunge. Format:
|
|
882
|
+
# organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
|
|
883
|
+
# @param [Google::Apis::CloudsupportV2::ExpungeSupportEventSubscriptionRequest] expunge_support_event_subscription_request_object
|
|
884
|
+
# @param [String] fields
|
|
885
|
+
# Selector specifying which fields to include in a partial response.
|
|
886
|
+
# @param [String] quota_user
|
|
887
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
888
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
889
|
+
# @param [Google::Apis::RequestOptions] options
|
|
890
|
+
# Request-specific options
|
|
891
|
+
#
|
|
892
|
+
# @yield [result, err] Result & error if block supplied
|
|
893
|
+
# @yieldparam result [Google::Apis::CloudsupportV2::Empty] parsed result object
|
|
894
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
895
|
+
#
|
|
896
|
+
# @return [Google::Apis::CloudsupportV2::Empty]
|
|
897
|
+
#
|
|
898
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
899
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
900
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
901
|
+
def expunge_support_event_subscription(name, expunge_support_event_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
902
|
+
command = make_simple_command(:post, 'v2/{+name}:expunge', options)
|
|
903
|
+
command.request_representation = Google::Apis::CloudsupportV2::ExpungeSupportEventSubscriptionRequest::Representation
|
|
904
|
+
command.request_object = expunge_support_event_subscription_request_object
|
|
905
|
+
command.response_representation = Google::Apis::CloudsupportV2::Empty::Representation
|
|
906
|
+
command.response_class = Google::Apis::CloudsupportV2::Empty
|
|
907
|
+
command.params['name'] = name unless name.nil?
|
|
908
|
+
command.query['fields'] = fields unless fields.nil?
|
|
909
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
910
|
+
execute_or_queue_command(command, &block)
|
|
911
|
+
end
|
|
912
|
+
|
|
913
|
+
# Gets a support event subscription. EXAMPLES: cURL: ```shell
|
|
914
|
+
# support_event_subscription="organizations/123456789/supportEventSubscriptions/
|
|
915
|
+
# abcdef123456" curl \ --header "Authorization: Bearer $(gcloud auth print-
|
|
916
|
+
# access-token)" \ "https://cloudsupport.googleapis.com/v2/$
|
|
917
|
+
# support_event_subscription" ``` Python: ```python import googleapiclient.
|
|
918
|
+
# discovery api_version = "v2" supportApiService = googleapiclient.discovery.
|
|
919
|
+
# build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
|
|
920
|
+
# https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
|
|
921
|
+
# request = supportApiService.supportEventSubscriptions().get( name="
|
|
922
|
+
# organizations/123456789/supportEventSubscriptions/abcdef123456" ) print(
|
|
923
|
+
# request.execute()) ```
|
|
859
924
|
# @param [String] name
|
|
860
925
|
# Required. The name of the support event subscription to retrieve. Format:
|
|
861
926
|
# organizations/`organization_id`/supportEventSubscriptions/`subscription_id`
|
|
@@ -886,7 +951,15 @@ module Google
|
|
|
886
951
|
execute_or_queue_command(command, &block)
|
|
887
952
|
end
|
|
888
953
|
|
|
889
|
-
# Lists support event subscriptions.
|
|
954
|
+
# Lists support event subscriptions. EXAMPLES: cURL: ```shell parent="
|
|
955
|
+
# organizations/123456789" curl \ --header "Authorization: Bearer $(gcloud auth
|
|
956
|
+
# print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$parent/
|
|
957
|
+
# supportEventSubscriptions" ``` Python: ```python import googleapiclient.
|
|
958
|
+
# discovery api_version = "v2" supportApiService = googleapiclient.discovery.
|
|
959
|
+
# build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"
|
|
960
|
+
# https://cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", )
|
|
961
|
+
# request = supportApiService.supportEventSubscriptions().list( parent="
|
|
962
|
+
# organizations/123456789" ) print(request.execute()) ```
|
|
890
963
|
# @param [String] parent
|
|
891
964
|
# Required. The fully qualified name of the Cloud resource to list support event
|
|
892
965
|
# subscriptions under. Format: organizations/`organization_id`
|
|
@@ -936,7 +1009,19 @@ module Google
|
|
|
936
1009
|
execute_or_queue_command(command, &block)
|
|
937
1010
|
end
|
|
938
1011
|
|
|
939
|
-
# Updates a support event subscription.
|
|
1012
|
+
# Updates a support event subscription. EXAMPLES: cURL: ```shell
|
|
1013
|
+
# support_event_subscription="organizations/123456789/supportEventSubscriptions/
|
|
1014
|
+
# abcdef123456" curl \ --request PATCH \ --header "Authorization: Bearer $(
|
|
1015
|
+
# gcloud auth print-access-token)" \ --header "Content-Type: application/json" \
|
|
1016
|
+
# --data '` "pub_sub_topic": "projects/my-project/topics/new-topic" `' \ "https:/
|
|
1017
|
+
# /cloudsupport.googleapis.com/v2/$support_event_subscription?updateMask=
|
|
1018
|
+
# pub_sub_topic" ``` Python: ```python import googleapiclient.discovery
|
|
1019
|
+
# api_version = "v2" supportApiService = googleapiclient.discovery.build(
|
|
1020
|
+
# serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://
|
|
1021
|
+
# cloudsupport.googleapis.com/$discovery/rest?version=`api_version`", ) request =
|
|
1022
|
+
# supportApiService.supportEventSubscriptions().patch( name="organizations/
|
|
1023
|
+
# 123456789/supportEventSubscriptions/abcdef123456", body=` "pub_sub_topic": "
|
|
1024
|
+
# projects/my-project/topics/new-topic" `, ) print(request.execute()) ```
|
|
940
1025
|
# @param [String] name
|
|
941
1026
|
# Identifier. The resource name of the support event subscription.
|
|
942
1027
|
# @param [Google::Apis::CloudsupportV2::SupportEventSubscription] support_event_subscription_object
|
|
@@ -973,6 +1058,17 @@ module Google
|
|
|
973
1058
|
execute_or_queue_command(command, &block)
|
|
974
1059
|
end
|
|
975
1060
|
|
|
1061
|
+
# Undeletes a support event subscription. EXAMPLES: cURL: ```shell
|
|
1062
|
+
# support_event_subscription="organizations/123456789/supportEventSubscriptions/
|
|
1063
|
+
# abcdef123456" curl \ --request POST \ --header "Authorization: Bearer $(gcloud
|
|
1064
|
+
# auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$
|
|
1065
|
+
# support_event_subscription:undelete" ``` Python: ```python import
|
|
1066
|
+
# googleapiclient.discovery api_version = "v2" supportApiService =
|
|
1067
|
+
# googleapiclient.discovery.build( serviceName="cloudsupport", version=
|
|
1068
|
+
# api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$
|
|
1069
|
+
# discovery/rest?version=`api_version`", ) request = supportApiService.
|
|
1070
|
+
# supportEventSubscriptions().undelete( name="organizations/123456789/
|
|
1071
|
+
# supportEventSubscriptions/abcdef123456" ) print(request.execute()) ```
|
|
976
1072
|
# Undeletes a support event subscription.
|
|
977
1073
|
# @param [String] name
|
|
978
1074
|
# Required. The name of the support event subscription to undelete. Format:
|
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.25.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.25.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:
|