Class: Google::Cloud::Logging::V2::ListLogsRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Logging::V2::ListLogsRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/logging/v2/logging.rb
Overview
The parameters to ListLogs.
Instance Attribute Summary collapse
-
#page_size ⇒ ::Integer
Optional.
-
#page_token ⇒ ::String
Optional.
-
#parent ⇒ ::String
Required.
-
#resource_names ⇒ ::Array<::String>
Optional.
Instance Attribute Details
#page_size ⇒ ::Integer
Returns Optional. The maximum number of results to return from this request.
Non-positive values are ignored. The presence of nextPageToken
in the
response indicates that more results might be available.
307 308 309 310 |
# File 'proto_docs/google/logging/v2/logging.rb', line 307 class ListLogsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#page_token ⇒ ::String
Returns Optional. If present, then retrieve the next batch of results from the
preceding call to this method. pageToken
must be the value of
nextPageToken
from the previous response. The values of other method
parameters should be identical to those in the previous call.
307 308 309 310 |
# File 'proto_docs/google/logging/v2/logging.rb', line 307 class ListLogsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The resource name to list logs for:
-
projects/[PROJECT_ID]
-
organizations/[ORGANIZATION_ID]
-
billingAccounts/[BILLING_ACCOUNT_ID]
-
folders/[FOLDER_ID]
.
307 308 309 310 |
# File 'proto_docs/google/logging/v2/logging.rb', line 307 class ListLogsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resource_names ⇒ ::Array<::String>
Returns Optional. List of resource names to list logs for:
projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
To support legacy queries, it could also be:
-
projects/[PROJECT_ID]
-
organizations/[ORGANIZATION_ID]
-
billingAccounts/[BILLING_ACCOUNT_ID]
-
folders/[FOLDER_ID]
The resource name in the parent
field is added to this list.
307 308 309 310 |
# File 'proto_docs/google/logging/v2/logging.rb', line 307 class ListLogsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |