google-cloud-support-v2 1.8.0 → 1.10.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/README.md +1 -1
- data/lib/google/cloud/support/v2/case_attachment_service/client.rb +2 -0
- data/lib/google/cloud/support/v2/case_service/client.rb +23 -5
- data/lib/google/cloud/support/v2/comment_service/client.rb +2 -0
- data/lib/google/cloud/support/v2/support_event_subscription_pb.rb +27 -0
- data/lib/google/cloud/support/v2/support_event_subscription_service/client.rb +979 -0
- data/lib/google/cloud/support/v2/support_event_subscription_service/credentials.rb +47 -0
- data/lib/google/cloud/support/v2/support_event_subscription_service/paths.rb +64 -0
- data/lib/google/cloud/support/v2/support_event_subscription_service.rb +49 -0
- data/lib/google/cloud/support/v2/support_event_subscription_service_pb.rb +34 -0
- data/lib/google/cloud/support/v2/support_event_subscription_service_services_pb.rb +55 -0
- data/lib/google/cloud/support/v2/version.rb +1 -1
- data/lib/google/cloud/support/v2.rb +1 -0
- data/proto_docs/google/cloud/support/v2/case_service.rb +21 -5
- data/proto_docs/google/cloud/support/v2/support_event_subscription.rb +93 -0
- data/proto_docs/google/cloud/support/v2/support_event_subscription_service.rb +136 -0
- metadata +12 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a551be7e8071a2a4517b924a395d4b0eecb4d5de6bd8d63e3c277bb9ac995555
|
|
4
|
+
data.tar.gz: 44decd56b73c5135be7162f569b5dc7c0b758cb10eee5d3b59e4c3820f64a68f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cfa6a7e2142dafe6836ed2b43bc7f05041eec44ca91742f1e587c2f077a3be0e305b7cbc85340b189cbc1b231ee24d4088bfe2340f5292faddb1597b5632eb1e
|
|
7
|
+
data.tar.gz: 0ff808f318668f84e8e6a526254b67247224d599d8112d4036841e4599ed614f617c2dad8cb7b3dce547d0f422b9c2e47053bfee6883a679ed4f42eea839210a
|
data/README.md
CHANGED
|
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
|
86
86
|
|
|
87
87
|
## Supported Ruby Versions
|
|
88
88
|
|
|
89
|
-
This library is supported on Ruby 3.
|
|
89
|
+
This library is supported on Ruby 3.2+.
|
|
90
90
|
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
|
@@ -502,6 +502,7 @@ module Google
|
|
|
502
502
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
503
503
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
504
504
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
505
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
505
506
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
506
507
|
# trigger a retry.
|
|
507
508
|
# @return [::Hash]
|
|
@@ -585,6 +586,7 @@ module Google
|
|
|
585
586
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
586
587
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
587
588
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
589
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
588
590
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
589
591
|
# trigger a retry.
|
|
590
592
|
#
|
|
@@ -442,17 +442,12 @@ module Google
|
|
|
442
442
|
# Expressions use the following fields separated by `AND` and specified with
|
|
443
443
|
# `=`:
|
|
444
444
|
#
|
|
445
|
-
# - `organization`: An organization name in the form
|
|
446
|
-
# `organizations/<organization_id>`.
|
|
447
|
-
# - `project`: A project name in the form `projects/<project_id>`.
|
|
448
445
|
# - `state`: Can be `OPEN` or `CLOSED`.
|
|
449
446
|
# - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You
|
|
450
447
|
# can specify multiple values for priority using the `OR` operator. For
|
|
451
448
|
# example, `priority=P1 OR priority=P2`.
|
|
452
449
|
# - `creator.email`: The email address of the case creator.
|
|
453
450
|
#
|
|
454
|
-
# You must specify either `organization` or `project`.
|
|
455
|
-
#
|
|
456
451
|
# To search across `displayName`, `description`, and comments, use a global
|
|
457
452
|
# restriction with no keyword or operator. For example, `"my search"`.
|
|
458
453
|
#
|
|
@@ -461,8 +456,29 @@ module Google
|
|
|
461
456
|
# format. For example, `update_time>"2020-01-01T00:00:00-05:00"`.
|
|
462
457
|
# `update_time` only supports the greater than operator (`>`).
|
|
463
458
|
#
|
|
459
|
+
# If you are using the `v2` version of the API, you must specify the case
|
|
460
|
+
# parent in the `parent` field. If you provide an empty `query`, all cases
|
|
461
|
+
# under the parent resource will be returned.
|
|
462
|
+
#
|
|
463
|
+
# If you are using the `v2beta` version of the API, you must specify the case
|
|
464
|
+
# parent in the `query` field using one of the two fields below, which are
|
|
465
|
+
# only available for `v2beta`. The `parent` field will be ignored.
|
|
466
|
+
#
|
|
467
|
+
# - `organization`: An organization name in the form
|
|
468
|
+
# `organizations/<organization_id>`.
|
|
469
|
+
# - `project`: A project name in the form `projects/<project_id>`.
|
|
470
|
+
#
|
|
464
471
|
# Examples:
|
|
465
472
|
#
|
|
473
|
+
# For `v2`:
|
|
474
|
+
#
|
|
475
|
+
# - `state=CLOSED`
|
|
476
|
+
# - `state=OPEN AND creator.email="tester@example.com"`
|
|
477
|
+
# - `state=OPEN AND (priority=P0 OR priority=P1)`
|
|
478
|
+
# - `update_time>"2020-01-01T00:00:00-05:00"`
|
|
479
|
+
#
|
|
480
|
+
# For `v2beta`:
|
|
481
|
+
#
|
|
466
482
|
# - `organization="organizations/123456789"`
|
|
467
483
|
# - `project="projects/my-project-id"`
|
|
468
484
|
# - `project="projects/123456789"`
|
|
@@ -1105,6 +1121,7 @@ module Google
|
|
|
1105
1121
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1106
1122
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1107
1123
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1124
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1108
1125
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1109
1126
|
# trigger a retry.
|
|
1110
1127
|
# @return [::Hash]
|
|
@@ -1188,6 +1205,7 @@ module Google
|
|
|
1188
1205
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
1189
1206
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
1190
1207
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
1208
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
1191
1209
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
1192
1210
|
# trigger a retry.
|
|
1193
1211
|
#
|
|
@@ -585,6 +585,7 @@ module Google
|
|
|
585
585
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
586
586
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
587
587
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
588
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
588
589
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
589
590
|
# trigger a retry.
|
|
590
591
|
# @return [::Hash]
|
|
@@ -668,6 +669,7 @@ module Google
|
|
|
668
669
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
669
670
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
670
671
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
672
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
671
673
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
672
674
|
# trigger a retry.
|
|
673
675
|
#
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/support/v2/support_event_subscription.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n8google/cloud/support/v2/support_event_subscription.proto\x12\x17google.cloud.support.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc1\x06\n\x18SupportEventSubscription\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1a\n\rpub_sub_topic\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\x05state\x18\x03 \x01(\x0e\x32\x37.google.cloud.support.v2.SupportEventSubscription.StateB\x03\xe0\x41\x03\x12\\\n\x0e\x66\x61ilure_reason\x18\x04 \x01(\x0e\x32?.google.cloud.support.v2.SupportEventSubscription.FailureReasonB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\npurge_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07WORKING\x10\x01\x12\x0b\n\x07\x46\x41ILING\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\"f\n\rFailureReason\x12\x1e\n\x1a\x46\x41ILURE_REASON_UNSPECIFIED\x10\x00\x12\x15\n\x11PERMISSION_DENIED\x10\x01\x12\x13\n\x0fTOPIC_NOT_FOUND\x10\x02\x12\t\n\x05OTHER\x10\x03:\xc4\x01\xea\x41\xc0\x01\n4cloudsupport.googleapis.com/SupportEventSubscription\x12Sorganizations/{organization}/supportEventSubscriptions/{support_event_subscription}*\x19supportEventSubscriptions2\x18supportEventSubscriptionB\xc6\x01\n\x1b\x63om.google.cloud.support.v2B\x1dSupportEventSubscriptionProtoP\x01Z5cloud.google.com/go/support/apiv2/supportpb;supportpb\xaa\x02\x17Google.Cloud.Support.V2\xca\x02\x17Google\\Cloud\\Support\\V2\xea\x02\x1aGoogle::Cloud::Support::V2b\x06proto3"
|
|
13
|
+
|
|
14
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
|
|
17
|
+
module Google
|
|
18
|
+
module Cloud
|
|
19
|
+
module Support
|
|
20
|
+
module V2
|
|
21
|
+
SupportEventSubscription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.SupportEventSubscription").msgclass
|
|
22
|
+
SupportEventSubscription::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.SupportEventSubscription.State").enummodule
|
|
23
|
+
SupportEventSubscription::FailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2.SupportEventSubscription.FailureReason").enummodule
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|