google-cloud-support-v2 1.9.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/lib/google/cloud/support/v2/case_service/client.rb +21 -5
- 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 +10 -1
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
|
|
@@ -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"`
|
|
@@ -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
|