Skip to content

Commit cadaf50

Browse files
1 parent d7b6bcb commit cadaf50

3 files changed

Lines changed: 51 additions & 27 deletions

File tree

src/Logging/ListLogEntriesRequest.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ class ListLogEntriesRequest extends \Google\Collection
2222
protected $collection_key = 'resourceNames';
2323
/**
2424
* Optional. A filter that chooses which log entries to return. For more
25-
* information, see Logging query language
26-
* (https://cloud.google.com/logging/docs/view/logging-query-language).Only
27-
* log entries that match the filter are returned. An empty filter matches all
28-
* log entries in the resources listed in resource_names. Referencing a parent
25+
* information, see Logging query language (https://{$universe.dns_names.final
26+
* _documentation_domain}/logging/docs/view/logging-query-language).Only log
27+
* entries that match the filter are returned. An empty filter matches all log
28+
* entries in the resources listed in resource_names. Referencing a parent
2929
* resource that is not listed in resource_names will cause the filter to
3030
* return no results. The maximum length of a filter is 20,000 characters.To
3131
* make queries faster, you can make the filter more selective by using
32-
* restrictions on indexed fields
33-
* (https://cloud.google.com/logging/docs/view/logging-query-language#indexed-
34-
* fields) as well as limit the time range of the query by adding range
35-
* restrictions on the timestamp field.
32+
* restrictions on indexed fields (https://{$universe.dns_names.final_document
33+
* ation_domain}/logging/docs/view/logging-query-language#indexed-fields) as
34+
* well as limit the time range of the query by adding range restrictions on
35+
* the timestamp field.
3636
*
3737
* @var string
3838
*/
@@ -101,17 +101,17 @@ class ListLogEntriesRequest extends \Google\Collection
101101

102102
/**
103103
* Optional. A filter that chooses which log entries to return. For more
104-
* information, see Logging query language
105-
* (https://cloud.google.com/logging/docs/view/logging-query-language).Only
106-
* log entries that match the filter are returned. An empty filter matches all
107-
* log entries in the resources listed in resource_names. Referencing a parent
104+
* information, see Logging query language (https://{$universe.dns_names.final
105+
* _documentation_domain}/logging/docs/view/logging-query-language).Only log
106+
* entries that match the filter are returned. An empty filter matches all log
107+
* entries in the resources listed in resource_names. Referencing a parent
108108
* resource that is not listed in resource_names will cause the filter to
109109
* return no results. The maximum length of a filter is 20,000 characters.To
110110
* make queries faster, you can make the filter more selective by using
111-
* restrictions on indexed fields
112-
* (https://cloud.google.com/logging/docs/view/logging-query-language#indexed-
113-
* fields) as well as limit the time range of the query by adding range
114-
* restrictions on the timestamp field.
111+
* restrictions on indexed fields (https://{$universe.dns_names.final_document
112+
* ation_domain}/logging/docs/view/logging-query-language#indexed-fields) as
113+
* well as limit the time range of the query by adding range restrictions on
114+
* the timestamp field.
115115
*
116116
* @param string $filter
117117
*/

src/Logging/LogEntry.php

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ class LogEntry extends \Google\Collection
6161
protected $apphubDataType = '';
6262
protected $apphubDestinationType = AppHub::class;
6363
protected $apphubDestinationDataType = '';
64+
protected $apphubSourceType = AppHub::class;
65+
protected $apphubSourceDataType = '';
6466
protected $errorGroupsType = LogErrorGroup::class;
6567
protected $errorGroupsDataType = 'array';
6668
protected $httpRequestType = HttpRequest::class;
@@ -244,7 +246,7 @@ public function getApphub()
244246
/**
245247
* Output only. AppHub application metadata associated with the destination
246248
* application. This is only populated if the log represented "edge"-like data
247-
* (such as for VPC flow logs) with a source and destination.
249+
* (such as for VPC flow logs) with a destination.
248250
*
249251
* @param AppHub $apphubDestination
250252
*/
@@ -259,6 +261,24 @@ public function getApphubDestination()
259261
{
260262
return $this->apphubDestination;
261263
}
264+
/**
265+
* Output only. AppHub application metadata associated with the source
266+
* application. This is only populated if the log represented "edge"-like data
267+
* (such as for VPC flow logs) with a source.
268+
*
269+
* @param AppHub $apphubSource
270+
*/
271+
public function setApphubSource(AppHub $apphubSource)
272+
{
273+
$this->apphubSource = $apphubSource;
274+
}
275+
/**
276+
* @return AppHub
277+
*/
278+
public function getApphubSource()
279+
{
280+
return $this->apphubSource;
281+
}
262282
/**
263283
* Output only. The Error Reporting (https://cloud.google.com/error-reporting)
264284
* error groups associated with this LogEntry. Error Reporting sets the values

src/Logging/TailLogEntriesRequest.php

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ class TailLogEntriesRequest extends \Google\Collection
3030
*/
3131
public $bufferWindow;
3232
/**
33-
* Optional. Only log entries that match the filter are returned. An empty
34-
* filter matches all log entries in the resources listed in resource_names.
35-
* Referencing a parent resource that is not listed in resource_names will
36-
* cause the filter to return no results. The maximum length of a filter is
37-
* 20,000 characters.
33+
* Optional. A filter that chooses which log entries to return. For more
34+
* information, see Logging query language (https://{$universe.dns_names.final
35+
* _documentation_domain}/logging/docs/view/logging-query-language).Only log
36+
* entries that match the filter are returned. An empty filter matches all log
37+
* entries in the resources listed in resource_names. Referencing a parent
38+
* resource that is not listed in resource_names will cause the filter to
39+
* return no results. The maximum length of a filter is 20,000 characters.
3840
*
3941
* @var string
4042
*/
@@ -73,11 +75,13 @@ public function getBufferWindow()
7375
return $this->bufferWindow;
7476
}
7577
/**
76-
* Optional. Only log entries that match the filter are returned. An empty
77-
* filter matches all log entries in the resources listed in resource_names.
78-
* Referencing a parent resource that is not listed in resource_names will
79-
* cause the filter to return no results. The maximum length of a filter is
80-
* 20,000 characters.
78+
* Optional. A filter that chooses which log entries to return. For more
79+
* information, see Logging query language (https://{$universe.dns_names.final
80+
* _documentation_domain}/logging/docs/view/logging-query-language).Only log
81+
* entries that match the filter are returned. An empty filter matches all log
82+
* entries in the resources listed in resource_names. Referencing a parent
83+
* resource that is not listed in resource_names will cause the filter to
84+
* return no results. The maximum length of a filter is 20,000 characters.
8185
*
8286
* @param string $filter
8387
*/

0 commit comments

Comments
 (0)