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.
1239 1240 1241 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1239 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
1179 1180 1181 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1179 def action @action end |
#author ⇒ String
Output only. Email address of the change author.
Corresponds to the JSON property author
1184 1185 1186 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1184 def @author end |
#create_time ⇒ String
Output only. The time when the change was made.
Corresponds to the JSON property createTime
1189 1190 1191 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1189 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
1194 1195 1196 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1194 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
1200 1201 1202 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1200 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
1206 1207 1208 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1206 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`
1212 1213 1214 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1212 def name @name end |
#new_resource ⇒ Hash<String,Object>
Output only. The new resource after the change.
Corresponds to the JSON property newResource
1217 1218 1219 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1217 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
1222 1223 1224 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1222 def original_resource @original_resource end |
#resource ⇒ String
Output only. The resource that was changed.
Corresponds to the JSON property resource
1227 1228 1229 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1227 def resource @resource end |
#resource_type ⇒ String
Output only. The type of the resource that was changed.
Corresponds to the JSON property resourceType
1232 1233 1234 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1232 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
1237 1238 1239 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1237 def sequence_number @sequence_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1244 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 |