google-apis-cloudsupport_v2beta 0.5.0 → 0.8.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: 30a380259101ab99176a0840365b7cf4783a9cfafbef7ed4974a864d2ba063e7
4
- data.tar.gz: 21fd58b6300331b1302189f71fd5d65b0cc3c4c478cf39af604eeb8bb7d1bca6
3
+ metadata.gz: 7fc87bc7b28dc3c79f9a4fc6dd64f0b3e2a96936e88d00078eabeece9a21985f
4
+ data.tar.gz: 84241f9e45660388d4322a227831da9dbef6325f26cfdde3212f17c789e93589
5
5
  SHA512:
6
- metadata.gz: 718e30c5d565866ceb5f87cc022bfe1d3b8527dacb7757694f94c3d89d60bdddeae5d8109c5cdbcfd2e298b9bae41d70e9198d1d8c2aefa5f2eae61bec79904e
7
- data.tar.gz: b39510a8f6a8b81310d24ced84166a05eef9817375010235424de572f89c0873816b84a81e074266b072351ff0a6d4d9eac57fb3251c75634052f3e046e80e0f
6
+ metadata.gz: 12f270bd371027537887676b72877b56caff0078c07716ec5819a80add63e012c0cf4e773a84fb2aa6e6905d0c023fca91f38b70c3dac1f349183e11df458567
7
+ data.tar.gz: 2038c947dd3564585fa5af5fad2aafcc770e5303c41769063f201454e2fce4527147e9bebcf4c67fbc501f4411a452d965d1bc1971716cdb2e2be8ee2e0724ed
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-cloudsupport_v2beta
2
2
 
3
+ ### v0.8.0 (2022-06-02)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.7.0 (2022-05-18)
8
+
9
+ * Regenerated from discovery document revision 20220516
10
+
11
+ ### v0.6.0 (2022-03-04)
12
+
13
+ * Regenerated from discovery document revision 20220302
14
+
3
15
  ### v0.5.0 (2022-02-23)
4
16
 
5
17
  * Regenerated from discovery document revision 20220221
@@ -50,14 +50,6 @@ module Google
50
50
  attr_accessor :google_support
51
51
  alias_method :google_support?, :google_support
52
52
 
53
- # Output only. An ID representing the user that was authenticated when the
54
- # corresponding action was taken. This will be an email address, if one is
55
- # available, or some other unique ID. See https://cloud.google.com/docs/
56
- # authentication for more information on types of authentication.
57
- # Corresponds to the JSON property `principalId`
58
- # @return [String]
59
- attr_accessor :principal_id
60
-
61
53
  def initialize(**args)
62
54
  update!(**args)
63
55
  end
@@ -67,7 +59,6 @@ module Google
67
59
  @display_name = args[:display_name] if args.key?(:display_name)
68
60
  @email = args[:email] if args.key?(:email)
69
61
  @google_support = args[:google_support] if args.key?(:google_support)
70
- @principal_id = args[:principal_id] if args.key?(:principal_id)
71
62
  end
72
63
  end
73
64
 
@@ -278,7 +269,9 @@ module Google
278
269
  # @return [String]
279
270
  attr_accessor :display_name
280
271
 
281
- # The unique ID for a classification. Must be specified for case creation.
272
+ # The unique ID for a classification. Must be specified for case creation. To
273
+ # retrieve valid classification IDs for case creation, use `caseClassifications.
274
+ # search`.
282
275
  # Corresponds to the JSON property `id`
283
276
  # @return [String]
284
277
  attr_accessor :id
@@ -692,28 +685,12 @@ module Google
692
685
  class Escalation
693
686
  include Google::Apis::Core::Hashable
694
687
 
695
- # An object containing information about the effective user and authenticated
696
- # principal responsible for an action.
697
- # Corresponds to the JSON property `actor`
698
- # @return [Google::Apis::CloudsupportV2beta::Actor]
699
- attr_accessor :actor
700
-
701
- # Output only. The time when this escalation event was created.
702
- # Corresponds to the JSON property `createTime`
703
- # @return [String]
704
- attr_accessor :create_time
705
-
706
688
  # Required. A free text description to accompany the `reason` field above.
707
689
  # Provides additional context on why the case is being escalated.
708
690
  # Corresponds to the JSON property `justification`
709
691
  # @return [String]
710
692
  attr_accessor :justification
711
693
 
712
- # Output only. The resource name for the escalation event.
713
- # Corresponds to the JSON property `name`
714
- # @return [String]
715
- attr_accessor :name
716
-
717
694
  # Required. The reason why the Case is being escalated.
718
695
  # Corresponds to the JSON property `reason`
719
696
  # @return [String]
@@ -725,10 +702,7 @@ module Google
725
702
 
726
703
  # Update properties of this object
727
704
  def update!(**args)
728
- @actor = args[:actor] if args.key?(:actor)
729
- @create_time = args[:create_time] if args.key?(:create_time)
730
705
  @justification = args[:justification] if args.key?(:justification)
731
- @name = args[:name] if args.key?(:name)
732
706
  @reason = args[:reason] if args.key?(:reason)
733
707
  end
734
708
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudsupportV2beta
18
18
  # Version of the google-apis-cloudsupport_v2beta gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220221"
25
+ REVISION = "20220516"
26
26
  end
27
27
  end
28
28
  end
@@ -184,7 +184,6 @@ module Google
184
184
  property :display_name, as: 'displayName'
185
185
  property :email, as: 'email'
186
186
  property :google_support, as: 'googleSupport'
187
- property :principal_id, as: 'principalId'
188
187
  end
189
188
  end
190
189
 
@@ -366,11 +365,7 @@ module Google
366
365
  class Escalation
367
366
  # @private
368
367
  class Representation < Google::Apis::Core::JsonRepresentation
369
- property :actor, as: 'actor', class: Google::Apis::CloudsupportV2beta::Actor, decorator: Google::Apis::CloudsupportV2beta::Actor::Representation
370
-
371
- property :create_time, as: 'createTime'
372
368
  property :justification, as: 'justification'
373
- property :name, as: 'name'
374
369
  property :reason, as: 'reason'
375
370
  end
376
371
  end
@@ -259,17 +259,23 @@ module Google
259
259
  execute_or_queue_command(command, &block)
260
260
  end
261
261
 
262
- # Retrieve all cases under the specified parent.
262
+ # Retrieve all cases under the specified parent. Note: Listing cases under an
263
+ # Organization returns only the cases directly parented by that organization. To
264
+ # retrieve all cases under an organization, including cases parented by projects
265
+ # under that organization, use `cases.search`.
263
266
  # @param [String] parent
264
267
  # Required. The fully qualified name of parent resource to list cases under.
265
268
  # @param [String] filter
266
- # An expression written in the Cloud filter language. If non-empty, then only
267
- # cases whose fields match the filter are returned. If empty, then no messages
268
- # are filtered out. Filter strings can use the following fields: - state (
269
- # Accepted values: OPEN or CLOSED) - severity (Accepted values: S0, S1, S2, S3,
270
- # or S4) - creator.email with the operators equals (=) and AND. Additionally, a
271
- # global restriction (with no operator) can be used to search across displayName,
272
- # description, and comments (e.g. "my search").
269
+ # An expression written in filter language. If non-empty, the query returns the
270
+ # cases that match the filter. Else, the query doesn't filter the cases. Filter
271
+ # expressions use the following fields with the operators equals (`=`) and `AND`:
272
+ # - `state`: The accepted values are `OPEN` or `CLOSED`. - `priority`: The
273
+ # accepted values are `P0`, `P1`, `P2`, `P3`, or `P4`. You can specify multiple
274
+ # values for priority using the `OR` operator. For example, `priority=P1 OR
275
+ # priority=P2`. - [DEPRECATED] `severity`: The accepted values are `S0`, `S1`, `
276
+ # S2`, `S3`, or `S4`. - `creator.email`: The email address of the case creator.
277
+ # Examples: - `state=CLOSED` - `state=OPEN AND creator.email="tester@example.com"
278
+ # ` - `state=OPEN AND (priority=P0 OR priority=P1)`
273
279
  # @param [Fixnum] page_size
274
280
  # The maximum number of cases fetched with each request. Defaults to 10.
275
281
  # @param [String] page_token
@@ -357,14 +363,25 @@ module Google
357
363
  # A token identifying the page of results to return. If unspecified, the first
358
364
  # page is retrieved.
359
365
  # @param [String] query
360
- # An expression written in the Cloud filter language. Filter strings can use the
361
- # following fields: - organization (A name of the form organizations/) - project
362
- # (A name of the form projects/) - customer (A name of the form customers/) -
363
- # state (Accepted values: OPEN or CLOSED) - severity (Accepted values: S0, S1,
364
- # S2, S3, or S4) - creator.email with the operators equals (=) and AND.
365
- # Additionally, a global restriction (with no key/operator) can be used to
366
- # search across display_name, description, and comments (e.g. "my search"). One
367
- # of organization, project, or customer field must be specified.
366
+ # An expression written in filter language. A query uses the following fields
367
+ # with the operators equals (`=`) and `AND`: - `organization`: An organization
368
+ # name in the form `organizations/`. - `project`: A project name in the form `
369
+ # projects/`. - `state`: The accepted values are `OPEN` or `CLOSED`. - `priority`
370
+ # : The accepted values are `P0`, `P1`, `P2`, `P3`, or `P4`. You can specify
371
+ # multiple values for priority using the `OR` operator. For example, `priority=
372
+ # P1 OR priority=P2`. - [DEPRECATED] `severity`: The accepted values are `S0`, `
373
+ # S1`, `S2`, `S3`, or `S4`. - `creator.email`: The email address of the case
374
+ # creator. You must specify eitehr `organization` or `project`. To search across
375
+ # `displayName`, `description`, and comments, use a global restriction with no
376
+ # keyword or operator. For example, `"my search"`. To search only cases updated
377
+ # after a certain date, use `update_time` retricted with that particular date,
378
+ # time, and timezone in ISO datetime format. For example, `update_time>"2020-01-
379
+ # 01T00:00:00-05:00"`. `update_time` only supports the greater than operator (`>`
380
+ # ). Examples: - `organization="organizations/123456789"` - `project="projects/
381
+ # my-project-id"` - `project="projects/123456789"` - `organization="
382
+ # organizations/123456789" AND state=CLOSED` - `project="projects/my-project-id"
383
+ # AND creator.email="tester@example.com"` - `project="projects/my-project-id"
384
+ # AND (priority=P0 OR priority=P1)`
368
385
  # @param [String] fields
369
386
  # Selector specifying which fields to include in a partial response.
370
387
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudsupport_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2beta
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Cloud Support API V2beta