Reference documentation and code samples for the Google Cloud Managed Lustre V1 API class Google::Cloud::Lustre::V1::CreateMirrorRequest.
Request for CreateMirror.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#mirror
def mirror() -> ::Google::Cloud::Lustre::V1::Mirror- (::Google::Cloud::Lustre::V1::Mirror) — Required. The mirror to create.
#mirror=
def mirror=(value) -> ::Google::Cloud::Lustre::V1::Mirror- value (::Google::Cloud::Lustre::V1::Mirror) — Required. The mirror to create.
- (::Google::Cloud::Lustre::V1::Mirror) — Required. The mirror to create.
#mirror_id
def mirror_id() -> ::String-
(::String) — Required. The ID to use for the mirror.
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
The ID cannot be changed after the mirror is created.
#mirror_id=
def mirror_id=(value) -> ::String-
value (::String) — Required. The ID to use for the mirror.
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
The ID cannot be changed after the mirror is created.
-
(::String) — Required. The ID to use for the mirror.
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-63 characters.
- Must end with a number or a letter.
The ID cannot be changed after the mirror is created.
#parent
def parent() -> ::String-
(::String) — Required. Parent instance resource where the mirror will be created, in the
format:
projects/{project}/locations/{location}/instances/{instance}
#parent=
def parent=(value) -> ::String-
value (::String) — Required. Parent instance resource where the mirror will be created, in the
format:
projects/{project}/locations/{location}/instances/{instance}
-
(::String) — Required. Parent instance resource where the mirror will be created, in the
format:
projects/{project}/locations/{location}/instances/{instance}
#request_id
def request_id() -> ::String-
(::String) — Optional. The unique ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server guarantees that a
request doesn't result in creation of duplicate mirrors for at least 60
minutes.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate mirrors.
The request ID must be a valid UUID version 4 with the exception that zero UUID is not supported (
00000000-0000-0000-0000-000000000000). This request is only idempotent if arequest_idis provided.
#request_id=
def request_id=(value) -> ::String-
value (::String) — Optional. The unique ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server guarantees that a
request doesn't result in creation of duplicate mirrors for at least 60
minutes.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate mirrors.
The request ID must be a valid UUID version 4 with the exception that zero UUID is not supported (
00000000-0000-0000-0000-000000000000). This request is only idempotent if arequest_idis provided.
-
(::String) — Optional. The unique ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server guarantees that a
request doesn't result in creation of duplicate mirrors for at least 60
minutes.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate mirrors.
The request ID must be a valid UUID version 4 with the exception that zero UUID is not supported (
00000000-0000-0000-0000-000000000000). This request is only idempotent if arequest_idis provided.