class Google::Apis::LoggingV2::CopyLogEntriesRequest

The parameters to CopyLogEntries.

Attributes

destination[RW]

Required. Destination to which to copy log entries. Corresponds to the JSON property `destination` @return [String]

filter[RW]

Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries. Corresponds to the JSON property `filter` @return [String]

name[RW]

Required. Log bucket from which to copy log entries.For example:“projects/my- project/locations/global/buckets/my-source-bucket” Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/logging_v2/classes.rb, line 267
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/logging_v2/classes.rb, line 272
def update!(**args)
  @destination = args[:destination] if args.key?(:destination)
  @filter = args[:filter] if args.key?(:filter)
  @name = args[:name] if args.key?(:name)
end