Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MaintenanceUpdatePolicy

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

Overview

MaintenanceUpdatePolicy specifies the preferred window to perform maintenance on the instance (day of the week and time of day).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1MaintenanceUpdatePolicy

Returns a new instance of GoogleCloudApigeeV1MaintenanceUpdatePolicy.



7752
7753
7754
# File 'lib/google/apis/apigee_v1/classes.rb', line 7752

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

Instance Attribute Details

#maintenance_channelString

Optional. Maintenance channel to specify relative scheduling for maintenance. Corresponds to the JSON property maintenanceChannel

Returns:

  • (String)


7745
7746
7747
# File 'lib/google/apis/apigee_v1/classes.rb', line 7745

def maintenance_channel
  @maintenance_channel
end

#maintenance_windowsArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1MaintenanceUpdatePolicyMaintenanceWindow>

Optional. Preferred windows to perform maintenance. Currently limited to 1. Corresponds to the JSON property maintenanceWindows



7750
7751
7752
# File 'lib/google/apis/apigee_v1/classes.rb', line 7750

def maintenance_windows
  @maintenance_windows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7757
7758
7759
7760
# File 'lib/google/apis/apigee_v1/classes.rb', line 7757

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