# Copyright 2019 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Shared flags definitions for multiple commands.

page_token:
  arg_name: page-token
  api_field: pageToken
  is_positional: false
  required: false
  help_text: |
    Response objects will return a non-null value for page-token to indicate that there is at least
    one additional page of data. User can either directly request that page by specifying the
    page-token explicitly or let gcloud fetch one-page-at-a-time.
read_time:
  arg_name: read-time
  type: googlecloudsdk.core.util.times:ParseDateTime
  processor: googlecloudsdk.core.util.times:FormatDateTime
  api_field: readTime
  is_positional: false
  required: false
  help_text: |
    Time used as a reference point when filtering. Absence of this field will default to the API's
    version of NOW. See `$ gcloud topic datetimes` for information on supported time formats.
