OrganizationsLocationsBucketsViews
class OrganizationsLocationsBucketsViews extends Resource (View source)
The "views" collection of methods.
Typical usage is:
$loggingService = new Google\Service\Logging(...);
$views = $loggingService->organizations_locations_buckets_views;
Methods
Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes. (views.delete)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (views.getIamPolicy)
Lists views on a log bucket. (views.listOrganizationsLocationsBucketsViews)
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. (views.setIamPolicy)
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking.
Details
LogView
create(string $parent, LogView $postBody, array $optParams = [])
Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views. (views.create)
LoggingEmpty
delete(string $name, array $optParams = [])
Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes. (views.delete)
LogView
get(string $name, array $optParams = [])
Gets a view on a log bucket. (views.get)
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (views.getIamPolicy)
ListViewsResponse
listOrganizationsLocationsBucketsViews(string $parent, array $optParams = [])
Lists views on a log bucket. (views.listOrganizationsLocationsBucketsViews)
LogView
patch(string $name, LogView $postBody, array $optParams = [])
Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view.
If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes. (views.patch)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. (views.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning. (views.testIamPermissions)