Class: Google::Apis::ComputeAlpha::ManagedInstanceScheduling

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedInstanceScheduling

Returns a new instance of ManagedInstanceScheduling.



34936
34937
34938
# File 'lib/google/apis/compute_alpha/classes.rb', line 34936

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

Instance Attribute Details

#termination_timestampString

[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)


34934
34935
34936
# File 'lib/google/apis/compute_alpha/classes.rb', line 34934

def termination_timestamp
  @termination_timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34941
34942
34943
# File 'lib/google/apis/compute_alpha/classes.rb', line 34941

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