Class: Google::Cloud::NetApp::V1::Replication

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/netapp/v1/replication.rb

Overview

Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.

Defined Under Namespace

Modules: HybridReplicationType, MirrorState, ReplicationRole, ReplicationSchedule, State Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_location::String

Returns Optional. Location of the user cluster.

Returns:

  • (::String)

    Optional. Location of the user cluster.



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Replication create time.

Returns:



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#description::String

Returns A description about this replication relationship.

Returns:

  • (::String)

    A description about this replication relationship.



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#destination_volume::String (readonly)

Returns Output only. Full name of destination volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}".

Returns:

  • (::String)

    Output only. Full name of destination volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}"



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#destination_volume_parameters::Google::Cloud::NetApp::V1::DestinationVolumeParameters

Returns Required. Input only. Destination volume parameters.

Returns:



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#healthy::Boolean (readonly)

Returns Output only. Condition of the relationship. Can be one of the following:

  • true: The replication relationship is healthy. It has not missed the most recent scheduled transfer.
  • false: The replication relationship is not healthy. It has missed the most recent scheduled transfer.

Returns:

  • (::Boolean)

    Output only. Condition of the relationship. Can be one of the following:

    • true: The replication relationship is healthy. It has not missed the most recent scheduled transfer.
    • false: The replication relationship is not healthy. It has missed the most recent scheduled transfer.


122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#hybrid_peering_details::Google::Cloud::NetApp::V1::HybridPeeringDetails (readonly)

Returns Output only. Hybrid peering details.

Returns:



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#hybrid_replication_type::Google::Cloud::NetApp::V1::Replication::HybridReplicationType (readonly)

Returns Output only. Type of the hybrid replication.

Returns:



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#hybrid_replication_user_commands::Google::Cloud::NetApp::V1::UserCommands (readonly)

Returns Output only. Copy pastable snapmirror commands to be executed on onprem cluster by the customer.

Returns:



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Resource labels to represent user provided metadata.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Resource labels to represent user provided metadata.



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#mirror_state::Google::Cloud::NetApp::V1::Replication::MirrorState (readonly)

Returns Output only. Indicates the state of mirroring.

Returns:



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#name::String

Returns Identifier. The resource name of the Replication. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

Returns:

  • (::String)

    Identifier. The resource name of the Replication. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#replication_schedule::Google::Cloud::NetApp::V1::Replication::ReplicationSchedule

Returns Required. Indicates the schedule for replication.

Returns:



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#role::Google::Cloud::NetApp::V1::Replication::ReplicationRole (readonly)

Returns Output only. Indicates whether this points to source or destination.

Returns:



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#source_volume::String (readonly)

Returns Output only. Full name of source volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}".

Returns:

  • (::String)

    Output only. Full name of source volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}"



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#state::Google::Cloud::NetApp::V1::Replication::State (readonly)

Returns Output only. State of the replication.

Returns:



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#state_details::String (readonly)

Returns Output only. State details of the replication.

Returns:

  • (::String)

    Output only. State details of the replication.



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end

#transfer_stats::Google::Cloud::NetApp::V1::TransferStats (readonly)

Returns Output only. Replication transfer statistics.

Returns:



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'proto_docs/google/cloud/netapp/v1/replication.rb', line 122

class Replication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication states
  # New enum values may be added in future to indicate possible new states.
  module State
    # Unspecified replication State
    STATE_UNSPECIFIED = 0

    # Replication is creating.
    CREATING = 1

    # Replication is ready.
    READY = 2

    # Replication is updating.
    UPDATING = 3

    # Replication is deleting.
    DELETING = 5

    # Replication is in error state.
    ERROR = 6

    # Replication is waiting for cluster peering to be established.
    PENDING_CLUSTER_PEERING = 8

    # Replication is waiting for SVM peering to be established.
    PENDING_SVM_PEERING = 9

    # Replication is waiting for Commands to be executed on Onprem ONTAP.
    PENDING_REMOTE_RESYNC = 10

    # Onprem ONTAP is destination and Replication can only be managed from
    # Onprem.
    EXTERNALLY_MANAGED_REPLICATION = 11
  end

  # New enum values may be added in future to support different replication
  # topology.
  module ReplicationRole
    # Unspecified replication role
    REPLICATION_ROLE_UNSPECIFIED = 0

    # Indicates Source volume.
    SOURCE = 1

    # Indicates Destination volume.
    DESTINATION = 2
  end

  # Schedule for Replication.
  # New enum values may be added in future to support different frequency of
  # replication.
  module ReplicationSchedule
    # Unspecified ReplicationSchedule
    REPLICATION_SCHEDULE_UNSPECIFIED = 0

    # Replication happens once every 10 minutes.
    EVERY_10_MINUTES = 1

    # Replication happens once every hour.
    HOURLY = 2

    # Replication happens once every day.
    DAILY = 3
  end

  # Mirroring states.
  # No new value is expected to be added in future.
  module MirrorState
    # Unspecified MirrorState
    MIRROR_STATE_UNSPECIFIED = 0

    # Destination volume is being prepared.
    PREPARING = 1

    # Destination volume has been initialized and is ready to receive
    # replication transfers.
    MIRRORED = 2

    # Destination volume is not receiving replication transfers.
    STOPPED = 3

    # Incremental replication is in progress.
    TRANSFERRING = 4

    # Baseline replication is in progress.
    BASELINE_TRANSFERRING = 5

    # Replication is aborted.
    ABORTED = 6

    # Replication is being managed from Onprem ONTAP.
    EXTERNALLY_MANAGED = 7

    # Peering is yet to be established.
    PENDING_PEERING = 8
  end

  # Hybrid replication type.
  module HybridReplicationType
    # Unspecified hybrid replication type.
    HYBRID_REPLICATION_TYPE_UNSPECIFIED = 0

    # Hybrid replication type for migration.
    MIGRATION = 1

    # Hybrid replication type for continuous replication.
    CONTINUOUS_REPLICATION = 2

    # New field for reversible OnPrem replication, to be used for data
    # protection.
    ONPREM_REPLICATION = 3

    # Hybrid replication type for incremental Transfer in the reverse direction
    # (GCNV is source and Onprem is destination)
    REVERSE_ONPREM_REPLICATION = 4
  end
end