Class: Google::Apis::ComputeBeta::ManagedInstanceScheduling

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedInstanceScheduling

Returns a new instance of ManagedInstanceScheduling.



35236
35237
35238
# File 'lib/google/apis/compute_beta/classes.rb', line 35236

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#termination_timestampString

Output only. [Output Only] The timestamp at which the managed instance will be terminated. This is in RFC3339 text format. Corresponds to the JSON property terminationTimestamp

Returns:

  • (String)


35234
35235
35236
# File 'lib/google/apis/compute_beta/classes.rb', line 35234

def termination_timestamp
  @termination_timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35241
35242
35243
# File 'lib/google/apis/compute_beta/classes.rb', line 35241

def update!(**args)
  @termination_timestamp = args[:termination_timestamp] if args.key?(:termination_timestamp)
end