Class: Google::Apis::CesV1::Changelog
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::Changelog
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Changelogs represent a change made to the app or to an resource within the app.
Instance Attribute Summary collapse
-
#action ⇒ String
Output only.
-
#author ⇒ String
Output only.
-
#create_time ⇒ String
Output only.
-
#dependent_resources ⇒ Array<Hash<String,Object>>
Output only.
-
#description ⇒ String
Output only.
-
#display_name ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#new_resource ⇒ Hash<String,Object>
Output only.
-
#original_resource ⇒ Hash<String,Object>
Output only.
-
#resource ⇒ String
Output only.
-
#resource_type ⇒ String
Output only.
-
#sequence_number ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Changelog
constructor
A new instance of Changelog.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Changelog
Returns a new instance of Changelog.
1414 1415 1416 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1414 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Output only. The action that was performed on the resource.
Corresponds to the JSON property action
1354 1355 1356 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1354 def action @action end |
#author ⇒ String
Output only. Email address of the change author.
Corresponds to the JSON property author
1359 1360 1361 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1359 def @author end |
#create_time ⇒ String
Output only. The time when the change was made.
Corresponds to the JSON property createTime
1364 1365 1366 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1364 def create_time @create_time end |
#dependent_resources ⇒ Array<Hash<String,Object>>
Output only. The dependent resources that were changed.
Corresponds to the JSON property dependentResources
1369 1370 1371 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1369 def dependent_resources @dependent_resources end |
#description ⇒ String
Output only. Description of the change. which typically captures the changed
fields in the resource.
Corresponds to the JSON property description
1375 1376 1377 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1375 def description @description end |
#display_name ⇒ String
Output only. Display name of the change. It typically should be the display
name of the resource that was changed.
Corresponds to the JSON property displayName
1381 1382 1383 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1381 def display_name @display_name end |
#name ⇒ String
Identifier. The unique identifier of the changelog. Format: projects/project
/locations/location/apps/app/changelogs/changelog`
Corresponds to the JSON propertyname`
1387 1388 1389 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1387 def name @name end |
#new_resource ⇒ Hash<String,Object>
Output only. The new resource after the change.
Corresponds to the JSON property newResource
1392 1393 1394 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1392 def new_resource @new_resource end |
#original_resource ⇒ Hash<String,Object>
Output only. The original resource before the change.
Corresponds to the JSON property originalResource
1397 1398 1399 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1397 def original_resource @original_resource end |
#resource ⇒ String
Output only. The resource that was changed.
Corresponds to the JSON property resource
1402 1403 1404 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1402 def resource @resource end |
#resource_type ⇒ String
Output only. The type of the resource that was changed.
Corresponds to the JSON property resourceType
1407 1408 1409 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1407 def resource_type @resource_type end |
#sequence_number ⇒ Fixnum
Output only. The monotonically increasing sequence number of the changelog.
Corresponds to the JSON property sequenceNumber
1412 1413 1414 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1412 def sequence_number @sequence_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1419 def update!(**args) @action = args[:action] if args.key?(:action) @author = args[:author] if args.key?(:author) @create_time = args[:create_time] if args.key?(:create_time) @dependent_resources = args[:dependent_resources] if args.key?(:dependent_resources) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @new_resource = args[:new_resource] if args.key?(:new_resource) @original_resource = args[:original_resource] if args.key?(:original_resource) @resource = args[:resource] if args.key?(:resource) @resource_type = args[:resource_type] if args.key?(:resource_type) @sequence_number = args[:sequence_number] if args.key?(:sequence_number) end |