final case class ListBackupsRequest(parent: String = "", filter: String = "", pageSize: Int = 0, pageToken: String = "", unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[ListBackupsRequest] with Product with Serializable
The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
- parent
Required. The instance to list backups from. Values are of the form
projects/<project>/instances/<instance>.- filter
An expression that filters the list of returned backups. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of:
<,>,<=,>=,!=,=, or:. Colon:is the contains operator. Filter rules are not case sensitive. The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: *name*database*state*create_time(and values are of the format YYYY-MM-DDTHH:MM:SSZ) *expire_time(and values are of the format YYYY-MM-DDTHH:MM:SSZ) *size_bytesYou can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic, but you can specify AND, OR, and NOT logic explicitly. Here are a few examples: *name:Howl- The backup's name contains the string "howl". *database:prod- The database's name contains the string "prod".
*
state:CREATING- The backup is pending creation. *state:READY- The backup is fully created and ready for use. *(name:howl) AND (create_time < &92;"2018-03-28T14:50:00Z&92;") - The backup name contains the string "howl" and
create_timeof the backup is before 2018-03-28T14:50:00Z. *expire_time < &92;"2018-03-28T14:50:00Z&92;" - The backup
expire_timeis before 2018-03-28T14:50:00Z. *size_bytes > 10000000000- The backup's size is greater than 10GB
- The database's name contains the string "prod".
*
- pageSize
Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
- pageToken
If non-empty,
page_tokenshould contain a [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the sameparentand with the samefilter.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- ListBackupsRequest
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ListBackupsRequest(parent: String = "", filter: String = "", pageSize: Int = 0, pageToken: String = "", unknownFields: UnknownFieldSet = ...)
- parent
Required. The instance to list backups from. Values are of the form
projects/<project>/instances/<instance>.- filter
An expression that filters the list of returned backups. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of:
<,>,<=,>=,!=,=, or:. Colon:is the contains operator. Filter rules are not case sensitive. The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: *name*database*state*create_time(and values are of the format YYYY-MM-DDTHH:MM:SSZ) *expire_time(and values are of the format YYYY-MM-DDTHH:MM:SSZ) *size_bytesYou can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic, but you can specify AND, OR, and NOT logic explicitly. Here are a few examples: *name:Howl- The backup's name contains the string "howl". *database:prod- The database's name contains the string "prod".
*
state:CREATING- The backup is pending creation. *state:READY- The backup is fully created and ready for use. *(name:howl) AND (create_time < &92;"2018-03-28T14:50:00Z&92;") - The backup name contains the string "howl" and
create_timeof the backup is before 2018-03-28T14:50:00Z. *expire_time < &92;"2018-03-28T14:50:00Z&92;" - The backup
expire_timeis before 2018-03-28T14:50:00Z. *size_bytes > 10000000000- The backup's size is greater than 10GB
- The database's name contains the string "prod".
*
- pageSize
Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
- pageToken
If non-empty,
page_tokenshould contain a [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the sameparentand with the samefilter.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: ListBackupsRequest.type
- Definition Classes
- ListBackupsRequest → GeneratedMessage
- def discardUnknownFields: ListBackupsRequest
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val filter: String
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- ListBackupsRequest → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ListBackupsRequest → GeneratedMessage
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pageSize: Int
- val pageToken: String
- val parent: String
-
def
serializedSize: Int
- Definition Classes
- ListBackupsRequest → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- ListBackupsRequest → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[ListBackupsRequest, ListBackupsRequest]) ⇒ Mutation[ListBackupsRequest]*): ListBackupsRequest
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withFilter(__v: String): ListBackupsRequest
- def withPageSize(__v: Int): ListBackupsRequest
- def withPageToken(__v: String): ListBackupsRequest
- def withParent(__v: String): ListBackupsRequest
- def withUnknownFields(__v: UnknownFieldSet): ListBackupsRequest
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ListBackupsRequest → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage