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.



7703
7704
7705
# File 'lib/google/apis/apigee_v1/classes.rb', line 7703

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)


7696
7697
7698
# File 'lib/google/apis/apigee_v1/classes.rb', line 7696

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



7701
7702
7703
# File 'lib/google/apis/apigee_v1/classes.rb', line 7701

def maintenance_windows
  @maintenance_windows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7708
7709
7710
7711
# File 'lib/google/apis/apigee_v1/classes.rb', line 7708

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