Class: Google::Apis::CloudsupportV2beta::Case
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2beta::Case
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb
Overview
A support case.
Instance Attribute Summary collapse
-
#classification ⇒ Google::Apis::CloudsupportV2beta::CaseClassification
A classification object with a product type and value.
-
#create_time ⇒ String
Output only.
-
#creator ⇒ Google::Apis::CloudsupportV2beta::Actor
An object containing information about the effective user and authenticated principal responsible for an action.
-
#description ⇒ String
A broad description of the issue.
-
#display_name ⇒ String
The short summary of the issue reported in this case.
-
#escalated ⇒ Boolean
(also: #escalated?)
Whether the case is currently escalated.
-
#name ⇒ String
The resource name for the case.
-
#priority ⇒ String
The priority of this case.
-
#severity ⇒ String
The severity of this case.
-
#state ⇒ String
Output only.
-
#subscriber_email_addresses ⇒ Array<String>
The email addresses to receive updates on this case.
-
#test_case ⇒ Boolean
(also: #test_case?)
Whether this case was created for internal API testing and should not be acted on by the support team.
-
#time_zone ⇒ String
The timezone of the user who created the support case.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Case
constructor
A new instance of Case.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Case
Returns a new instance of Case.
240 241 242 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 240 def initialize(**args) update!(**args) end |
Instance Attribute Details
#classification ⇒ Google::Apis::CloudsupportV2beta::CaseClassification
A classification object with a product type and value.
Corresponds to the JSON property classification
167 168 169 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 167 def classification @classification end |
#create_time ⇒ String
Output only. The time this case was created.
Corresponds to the JSON property createTime
172 173 174 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 172 def create_time @create_time end |
#creator ⇒ Google::Apis::CloudsupportV2beta::Actor
An object containing information about the effective user and authenticated
principal responsible for an action.
Corresponds to the JSON property creator
178 179 180 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 178 def creator @creator end |
#description ⇒ String
A broad description of the issue.
Corresponds to the JSON property description
183 184 185 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 183 def description @description end |
#display_name ⇒ String
The short summary of the issue reported in this case.
Corresponds to the JSON property displayName
188 189 190 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 188 def display_name @display_name end |
#escalated ⇒ Boolean Also known as: escalated?
Whether the case is currently escalated.
Corresponds to the JSON property escalated
193 194 195 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 193 def escalated @escalated end |
#name ⇒ String
The resource name for the case.
Corresponds to the JSON property name
199 200 201 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 199 def name @name end |
#priority ⇒ String
The priority of this case. If this is set, do not set severity.
Corresponds to the JSON property priority
204 205 206 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 204 def priority @priority end |
#severity ⇒ String
The severity of this case. Deprecated. Use priority instead.
Corresponds to the JSON property severity
209 210 211 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 209 def severity @severity end |
#state ⇒ String
Output only. The current status of the support case.
Corresponds to the JSON property state
214 215 216 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 214 def state @state end |
#subscriber_email_addresses ⇒ Array<String>
The email addresses to receive updates on this case.
Corresponds to the JSON property subscriberEmailAddresses
219 220 221 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 219 def subscriber_email_addresses @subscriber_email_addresses end |
#test_case ⇒ Boolean Also known as: test_case?
Whether this case was created for internal API testing and should not be acted
on by the support team.
Corresponds to the JSON property testCase
225 226 227 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 225 def test_case @test_case end |
#time_zone ⇒ String
The timezone of the user who created the support case. It should be in a
format IANA recognizes: https://www.iana.org/time-zones. There is no
additional validation done by the API.
Corresponds to the JSON property timeZone
233 234 235 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 233 def time_zone @time_zone end |
#update_time ⇒ String
Output only. The time this case was last updated.
Corresponds to the JSON property updateTime
238 239 240 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 238 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 245 def update!(**args) @classification = args[:classification] if args.key?(:classification) @create_time = args[:create_time] if args.key?(:create_time) @creator = args[:creator] if args.key?(:creator) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @escalated = args[:escalated] if args.key?(:escalated) @name = args[:name] if args.key?(:name) @priority = args[:priority] if args.key?(:priority) @severity = args[:severity] if args.key?(:severity) @state = args[:state] if args.key?(:state) @subscriber_email_addresses = args[:subscriber_email_addresses] if args.key?(:subscriber_email_addresses) @test_case = args[:test_case] if args.key?(:test_case) @time_zone = args[:time_zone] if args.key?(:time_zone) @update_time = args[:update_time] if args.key?(:update_time) end |