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.



7720
7721
7722
# File 'lib/google/apis/apigee_v1/classes.rb', line 7720

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)


7713
7714
7715
# File 'lib/google/apis/apigee_v1/classes.rb', line 7713

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



7718
7719
7720
# File 'lib/google/apis/apigee_v1/classes.rb', line 7718

def maintenance_windows
  @maintenance_windows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7725
7726
7727
7728
# File 'lib/google/apis/apigee_v1/classes.rb', line 7725

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