@@ -295,8 +295,9 @@ class HttpRequest
295295 # @return [String]
296296 attr_accessor :referer
297297
298- # The IP address (IPv4 or IPv6) of the client that issued the HTTP request.
299- # Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329".
298+ # The IP address (IPv4 or IPv6) of the client that issued the HTTP request. This
299+ # field can include port information. Examples: "192.168.1.1", "10.0.0.1:80", "
300+ # FE80::0202:B3FF:FE1E:8329".
300301 # Corresponds to the JSON property `remoteIp`
301302 # @return [String]
302303 attr_accessor :remote_ip
@@ -325,7 +326,8 @@ class HttpRequest
325326 attr_accessor :response_size
326327
327328 # The IP address (IPv4 or IPv6) of the origin server that the request was sent
328- # to.
329+ # to. This field can include port information. Examples: "192.168.1.1", "10.0.0.
330+ # 1:80", "FE80::0202:B3FF:FE1E:8329".
329331 # Corresponds to the JSON property `serverIp`
330332 # @return [String]
331333 attr_accessor :server_ip
@@ -2139,6 +2141,107 @@ def update!(**args)
21392141 end
21402142 end
21412143
2144+ # Information about entries that were omitted from the session.
2145+ class SuppressionInfo
2146+ include Google ::Apis ::Core ::Hashable
2147+
2148+ # The reason that entries were omitted from the session.
2149+ # Corresponds to the JSON property `reason`
2150+ # @return [String]
2151+ attr_accessor :reason
2152+
2153+ # A lower bound on the count of entries omitted due to reason.
2154+ # Corresponds to the JSON property `suppressedCount`
2155+ # @return [Fixnum]
2156+ attr_accessor :suppressed_count
2157+
2158+ def initialize ( **args )
2159+ update! ( **args )
2160+ end
2161+
2162+ # Update properties of this object
2163+ def update! ( **args )
2164+ @reason = args [ :reason ] if args . key? ( :reason )
2165+ @suppressed_count = args [ :suppressed_count ] if args . key? ( :suppressed_count )
2166+ end
2167+ end
2168+
2169+ # The parameters to TailLogEntries.
2170+ class TailLogEntriesRequest
2171+ include Google ::Apis ::Core ::Hashable
2172+
2173+ # Optional. The amount of time to buffer log entries at the server before being
2174+ # returned to prevent out of order results due to late arriving log entries.
2175+ # Valid values are between 0-60000 milliseconds. Defaults to 2000 milliseconds.
2176+ # Corresponds to the JSON property `bufferWindow`
2177+ # @return [String]
2178+ attr_accessor :buffer_window
2179+
2180+ # Optional. A filter that chooses which log entries to return. See Advanced Logs
2181+ # Filters (https://cloud.google.com/logging/docs/view/advanced_filters). Only
2182+ # log entries that match the filter are returned. An empty filter matches all
2183+ # log entries in the resources listed in resource_names. Referencing a parent
2184+ # resource that is not in resource_names will cause the filter to return no
2185+ # results. The maximum length of the filter is 20000 characters.
2186+ # Corresponds to the JSON property `filter`
2187+ # @return [String]
2188+ attr_accessor :filter
2189+
2190+ # Required. Name of a parent resource from which to retrieve log entries: "
2191+ # projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
2192+ # BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" May alternatively be one or more
2193+ # views: "projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/
2194+ # VIEW_ID" "organization/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
2195+ # views/VIEW_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/
2196+ # buckets/BUCKET_ID/views/VIEW_ID" "folders/FOLDER_ID/locations/LOCATION_ID/
2197+ # buckets/BUCKET_ID/views/VIEW_ID"
2198+ # Corresponds to the JSON property `resourceNames`
2199+ # @return [Array<String>]
2200+ attr_accessor :resource_names
2201+
2202+ def initialize ( **args )
2203+ update! ( **args )
2204+ end
2205+
2206+ # Update properties of this object
2207+ def update! ( **args )
2208+ @buffer_window = args [ :buffer_window ] if args . key? ( :buffer_window )
2209+ @filter = args [ :filter ] if args . key? ( :filter )
2210+ @resource_names = args [ :resource_names ] if args . key? ( :resource_names )
2211+ end
2212+ end
2213+
2214+ # Result returned from TailLogEntries.
2215+ class TailLogEntriesResponse
2216+ include Google ::Apis ::Core ::Hashable
2217+
2218+ # A list of log entries. Each response in the stream will order entries with
2219+ # increasing values of LogEntry.timestamp. Ordering is not guaranteed between
2220+ # separate responses.
2221+ # Corresponds to the JSON property `entries`
2222+ # @return [Array<Google::Apis::LoggingV2::LogEntry>]
2223+ attr_accessor :entries
2224+
2225+ # If entries that otherwise would have been included in the session were not
2226+ # sent back to the client, counts of relevant entries omitted from the session
2227+ # with the reason that they were not included. There will be at most one of each
2228+ # reason per response. The counts represent the number of suppressed entries
2229+ # since the last streamed response.
2230+ # Corresponds to the JSON property `suppressionInfo`
2231+ # @return [Array<Google::Apis::LoggingV2::SuppressionInfo>]
2232+ attr_accessor :suppression_info
2233+
2234+ def initialize ( **args )
2235+ update! ( **args )
2236+ end
2237+
2238+ # Update properties of this object
2239+ def update! ( **args )
2240+ @entries = args [ :entries ] if args . key? ( :entries )
2241+ @suppression_info = args [ :suppression_info ] if args . key? ( :suppression_info )
2242+ end
2243+ end
2244+
21422245 # The parameters to UndeleteBucket.
21432246 class UndeleteBucketRequest
21442247 include Google ::Apis ::Core ::Hashable
0 commit comments