The parameters to ListLogEntries
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#filter
def filter() -> ::String
-
(::String) — Optional. A filter that chooses which log entries to return. See Advanced
Logs Queries.
Only log entries that match the filter are returned. An empty filter
matches all log entries in the resources listed in
resource_names
. Referencing a parent resource that is not listed inresource_names
will cause the filter to return no results. The maximum length of the filter is 20000 characters.
#filter=
def filter=(value) -> ::String
-
value (::String) — Optional. A filter that chooses which log entries to return. See Advanced
Logs Queries.
Only log entries that match the filter are returned. An empty filter
matches all log entries in the resources listed in
resource_names
. Referencing a parent resource that is not listed inresource_names
will cause the filter to return no results. The maximum length of the filter is 20000 characters.
-
(::String) — Optional. A filter that chooses which log entries to return. See Advanced
Logs Queries.
Only log entries that match the filter are returned. An empty filter
matches all log entries in the resources listed in
resource_names
. Referencing a parent resource that is not listed inresource_names
will cause the filter to return no results. The maximum length of the filter is 20000 characters.
#order_by
def order_by() -> ::String
-
(::String) — Optional. How the results should be sorted. Presently, the only permitted
values are
"timestamp asc"
(default) and"timestamp desc"
. The first option returns entries in order of increasing values ofLogEntry.timestamp
(oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of theirinsert_id
values.
#order_by=
def order_by=(value) -> ::String
-
value (::String) — Optional. How the results should be sorted. Presently, the only permitted
values are
"timestamp asc"
(default) and"timestamp desc"
. The first option returns entries in order of increasing values ofLogEntry.timestamp
(oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of theirinsert_id
values.
-
(::String) — Optional. How the results should be sorted. Presently, the only permitted
values are
"timestamp asc"
(default) and"timestamp desc"
. The first option returns entries in order of increasing values ofLogEntry.timestamp
(oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of theirinsert_id
values.
#page_size
def page_size() -> ::Integer
-
(::Integer) — Optional. The maximum number of results to return from this request.
Default is 50. If the value is negative or exceeds 1000,
the request is rejected. The presence of
next_page_token
in the response indicates that more results might be available.
#page_size=
def page_size=(value) -> ::Integer
-
value (::Integer) — Optional. The maximum number of results to return from this request.
Default is 50. If the value is negative or exceeds 1000,
the request is rejected. The presence of
next_page_token
in the response indicates that more results might be available.
-
(::Integer) — Optional. The maximum number of results to return from this request.
Default is 50. If the value is negative or exceeds 1000,
the request is rejected. The presence of
next_page_token
in the response indicates that more results might be available.
#page_token
def page_token() -> ::String
-
(::String) — Optional. If present, then retrieve the next batch of results from the
preceding call to this method.
page_token
must be the value ofnext_page_token
from the previous response. The values of other method parameters should be identical to those in the previous call.
#page_token=
def page_token=(value) -> ::String
-
value (::String) — Optional. If present, then retrieve the next batch of results from the
preceding call to this method.
page_token
must be the value ofnext_page_token
from the previous response. The values of other method parameters should be identical to those in the previous call.
-
(::String) — Optional. If present, then retrieve the next batch of results from the
preceding call to this method.
page_token
must be the value ofnext_page_token
from the previous response. The values of other method parameters should be identical to those in the previous call.
#resource_names
def resource_names() -> ::Array<::String>
-
(::Array<::String>) — Required. Names of one or more parent resources from which to
retrieve log entries:
"projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
May alternatively be one or more views projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organization/[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]
Projects listed in the
project_ids
field are added to this list.
#resource_names=
def resource_names=(value) -> ::Array<::String>
-
value (::Array<::String>) — Required. Names of one or more parent resources from which to
retrieve log entries:
"projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
May alternatively be one or more views projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organization/[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]
Projects listed in the
project_ids
field are added to this list.
-
(::Array<::String>) — Required. Names of one or more parent resources from which to
retrieve log entries:
"projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
May alternatively be one or more views projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organization/[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]
Projects listed in the
project_ids
field are added to this list.