google-cloud-support-v2beta 0.6.0 → 0.7.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: 67397b686b69e591ea707a7fd6d51af39033a976c643c6e8d77941943ca7d1ce
4
- data.tar.gz: bf96ce1ea68255fcc5ab1cf643ec7dd233ddd0d5ab156d7eb53dbe19853692f9
3
+ metadata.gz: 5b07129e835ccd2dd5d24cfcad567a505256f30c7989c8e2904d090c8ea2aa83
4
+ data.tar.gz: b4a793c660e672ec25db4df5d95956f558ce5903318207091d93c9e5757b0b6a
5
5
  SHA512:
6
- metadata.gz: a646841df6cfc13d1fcbc12bb7b56371c2049d40bbda4c74323be2a3d9d971227fb129a9b8991dd366eda37a663ea08abf43ed2bd0d7aaa0cc4acb652b8cf2e4
7
- data.tar.gz: b918c3682c323625f9cf675be6e82b6ddc0f231583eed6b8fabd71b36cb533dc52323547dc540fa93afcdf140be50d1a9e6c013e55b9986ec75ae9575ef47ea6
6
+ metadata.gz: ab35c7833ad2d4f3b058056cba01bd093ef61117b3c765ae9ac687f71666f5271eba8f0525fea28605aa3b62046eccde173326abb8a93e9f35ed5bc9bde02390
7
+ data.tar.gz: 35ce16421fdd9fd8ed810150e3b6708e10962871299ea59f63962f4323a1efd8065329283515415a3fd77a2ac34ddc69486e53c26c65c0ead298c22d36635b07
@@ -445,17 +445,12 @@ module Google
445
445
  # Expressions use the following fields separated by `AND` and specified with
446
446
  # `=`:
447
447
  #
448
- # - `organization`: An organization name in the form
449
- # `organizations/<organization_id>`.
450
- # - `project`: A project name in the form `projects/<project_id>`.
451
448
  # - `state`: Can be `OPEN` or `CLOSED`.
452
449
  # - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You
453
450
  # can specify multiple values for priority using the `OR` operator. For
454
451
  # example, `priority=P1 OR priority=P2`.
455
452
  # - `creator.email`: The email address of the case creator.
456
453
  #
457
- # You must specify either `organization` or `project`.
458
- #
459
454
  # To search across `displayName`, `description`, and comments, use a global
460
455
  # restriction with no keyword or operator. For example, `"my search"`.
461
456
  #
@@ -464,8 +459,29 @@ module Google
464
459
  # format. For example, `update_time>"2020-01-01T00:00:00-05:00"`.
465
460
  # `update_time` only supports the greater than operator (`>`).
466
461
  #
462
+ # If you are using the `v2` version of the API, you must specify the case
463
+ # parent in the `parent` field. If you provide an empty `query`, all cases
464
+ # under the parent resource will be returned.
465
+ #
466
+ # If you are using the `v2beta` version of the API, you must specify the case
467
+ # parent in the `query` field using one of the two fields below, which are
468
+ # only available for `v2beta`. The `parent` field will be ignored.
469
+ #
470
+ # - `organization`: An organization name in the form
471
+ # `organizations/<organization_id>`.
472
+ # - `project`: A project name in the form `projects/<project_id>`.
473
+ #
467
474
  # Examples:
468
475
  #
476
+ # For `v2`:
477
+ #
478
+ # - `state=CLOSED`
479
+ # - `state=OPEN AND creator.email="tester@example.com"`
480
+ # - `state=OPEN AND (priority=P0 OR priority=P1)`
481
+ # - `update_time>"2020-01-01T00:00:00-05:00"`
482
+ #
483
+ # For `v2beta`:
484
+ #
469
485
  # - `organization="organizations/123456789"`
470
486
  # - `project="projects/my-project-id"`
471
487
  # - `project="projects/123456789"`
@@ -424,17 +424,12 @@ module Google
424
424
  # Expressions use the following fields separated by `AND` and specified with
425
425
  # `=`:
426
426
  #
427
- # - `organization`: An organization name in the form
428
- # `organizations/<organization_id>`.
429
- # - `project`: A project name in the form `projects/<project_id>`.
430
427
  # - `state`: Can be `OPEN` or `CLOSED`.
431
428
  # - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You
432
429
  # can specify multiple values for priority using the `OR` operator. For
433
430
  # example, `priority=P1 OR priority=P2`.
434
431
  # - `creator.email`: The email address of the case creator.
435
432
  #
436
- # You must specify either `organization` or `project`.
437
- #
438
433
  # To search across `displayName`, `description`, and comments, use a global
439
434
  # restriction with no keyword or operator. For example, `"my search"`.
440
435
  #
@@ -443,8 +438,29 @@ module Google
443
438
  # format. For example, `update_time>"2020-01-01T00:00:00-05:00"`.
444
439
  # `update_time` only supports the greater than operator (`>`).
445
440
  #
441
+ # If you are using the `v2` version of the API, you must specify the case
442
+ # parent in the `parent` field. If you provide an empty `query`, all cases
443
+ # under the parent resource will be returned.
444
+ #
445
+ # If you are using the `v2beta` version of the API, you must specify the case
446
+ # parent in the `query` field using one of the two fields below, which are
447
+ # only available for `v2beta`. The `parent` field will be ignored.
448
+ #
449
+ # - `organization`: An organization name in the form
450
+ # `organizations/<organization_id>`.
451
+ # - `project`: A project name in the form `projects/<project_id>`.
452
+ #
446
453
  # Examples:
447
454
  #
455
+ # For `v2`:
456
+ #
457
+ # - `state=CLOSED`
458
+ # - `state=OPEN AND creator.email="tester@example.com"`
459
+ # - `state=OPEN AND (priority=P0 OR priority=P1)`
460
+ # - `update_time>"2020-01-01T00:00:00-05:00"`
461
+ #
462
+ # For `v2beta`:
463
+ #
448
464
  # - `organization="organizations/123456789"`
449
465
  # - `project="projects/my-project-id"`
450
466
  # - `project="projects/123456789"`
@@ -20,6 +20,7 @@ require "google/cloud/support/v2beta/case_attachment_service/rest"
20
20
  require "google/cloud/support/v2beta/case_service/rest"
21
21
  require "google/cloud/support/v2beta/comment_service/rest"
22
22
  require "google/cloud/support/v2beta/feed_service/rest"
23
+ require "google/cloud/support/v2beta/support_event_subscription_service/rest"
23
24
  require "google/cloud/support/v2beta/version"
24
25
 
25
26
  module Google
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/support/v2beta/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 = "\n<google/cloud/support/v2beta/support_event_subscription.proto\x12\x1bgoogle.cloud.support.v2beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc9\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\x12O\n\x05state\x18\x03 \x01(\x0e\x32;.google.cloud.support.v2beta.SupportEventSubscription.StateB\x03\xe0\x41\x03\x12`\n\x0e\x66\x61ilure_reason\x18\x04 \x01(\x0e\x32\x43.google.cloud.support.v2beta.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\xda\x01\n\x1f\x63om.google.cloud.support.v2betaB\x1dSupportEventSubscriptionProtoP\x01Z9cloud.google.com/go/support/apiv2beta/supportpb;supportpb\xaa\x02\x1bGoogle.Cloud.Support.V2Beta\xca\x02\x1bGoogle\\Cloud\\Support\\V2beta\xea\x02\x1eGoogle::Cloud::Support::V2betab\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 V2beta
21
+ SupportEventSubscription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.SupportEventSubscription").msgclass
22
+ SupportEventSubscription::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.SupportEventSubscription.State").enummodule
23
+ SupportEventSubscription::FailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.SupportEventSubscription.FailureReason").enummodule
24
+ end
25
+ end
26
+ end
27
+ end