RequestMetadata
class RequestMetadata extends Message
Metadata about the request.
Protobuf type Google\Cloud\Audit\RequestMetadata
Methods
No description
The IP address of the caller.
The IP address of the caller.
The user agent of the caller.
The user agent of the caller.
Details
at line 39
__construct()
at line 50
string
getCallerIp()
The IP address of the caller.
Generated from protobuf field string caller_ip = 1;
at line 61
setCallerIp(string $var)
The IP address of the caller.
Generated from protobuf field string caller_ip = 1;
at line 81
string
getCallerSuppliedUserAgent()
The user agent of the caller.
This information is not authenticated and should be treated accordingly.
For example:
+ google-api-python-client/1.4.0
:
The request was made by the Google API client for Python.
+ Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62
:
The request was made by the Google Cloud SDK CLI (gcloud).
+ AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project
:
The request was made from the my-project
App Engine app.
Generated from protobuf field string caller_supplied_user_agent = 2;
at line 100
setCallerSuppliedUserAgent(string $var)
The user agent of the caller.
This information is not authenticated and should be treated accordingly.
For example:
+ google-api-python-client/1.4.0
:
The request was made by the Google API client for Python.
+ Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62
:
The request was made by the Google Cloud SDK CLI (gcloud).
+ AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project
:
The request was made from the my-project
App Engine app.
Generated from protobuf field string caller_supplied_user_agent = 2;