Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Create a telemetry notification config.
Delete a telemetry notification config.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List all telemetry notification configs.
Retrieves the next page of results.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Create a telemetry notification config. Args: parent: string, Required. The parent resource where this notification config will be created. Format: `customers/{customer}` (required) body: object, The request body. The object takes the form of: { # Configuration to receive notifications of telemetry data. "customer": "A String", # Output only. Google Workspace customer that owns the resource. "filter": { # Configures how the telemetry data should be filtered. # Only send notifications for telemetry data matching this filter. "deviceId": "A String", # If set, only sends notifications for telemetry data coming from this device. "deviceOrgUnitId": "A String", # If set, only sends notifications for telemetry data coming from devices in this org unit. "telemetryEventNotificationFilter": { # Configures how the telemetry events should be filtered. # Only sends notifications for the telemetry events matching this filter. "eventTypes": [ # Only sends the notifications for events of these types. Must not be empty. "A String", ], }, "userEmail": "A String", # If set, only sends notifications for telemetry data coming from devices owned by this user. "userOrgUnitId": "A String", # If set, only sends notifications for telemetry data coming from devices owned by users in this org unit. }, "googleCloudPubsubTopic": "A String", # The pubsub topic to which notifications are published to. "name": "A String", # Output only. Resource name of the notification configuration. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Configuration to receive notifications of telemetry data. "customer": "A String", # Output only. Google Workspace customer that owns the resource. "filter": { # Configures how the telemetry data should be filtered. # Only send notifications for telemetry data matching this filter. "deviceId": "A String", # If set, only sends notifications for telemetry data coming from this device. "deviceOrgUnitId": "A String", # If set, only sends notifications for telemetry data coming from devices in this org unit. "telemetryEventNotificationFilter": { # Configures how the telemetry events should be filtered. # Only sends notifications for the telemetry events matching this filter. "eventTypes": [ # Only sends the notifications for events of these types. Must not be empty. "A String", ], }, "userEmail": "A String", # If set, only sends notifications for telemetry data coming from devices owned by this user. "userOrgUnitId": "A String", # If set, only sends notifications for telemetry data coming from devices owned by users in this org unit. }, "googleCloudPubsubTopic": "A String", # The pubsub topic to which notifications are published to. "name": "A String", # Output only. Resource name of the notification configuration. }
delete(name, x__xgafv=None)
Delete a telemetry notification config. Args: name: string, Required. The name of the notification config to delete. Format: `customers/{customer}/telemetry/notificationConfigs/{notification_config}` (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } }
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List all telemetry notification configs. Args: parent: string, Required. The parent which owns the notification configs. (required) pageSize: integer, The maximum number of notification configs to return. The service may return fewer than this value. If unspecified, at most 100 notification configs will be returned. The maximum value is 100; values above 100 will be coerced to 100. pageToken: string, A page token, received from a previous `ListTelemetryNotificationConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTelemetryNotificationConfigs` must match the call that provided the page token. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for listing notification configs for a customer. "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. "telemetryNotificationConfigs": [ # The telemetry notification configs from the specified customer. { # Configuration to receive notifications of telemetry data. "customer": "A String", # Output only. Google Workspace customer that owns the resource. "filter": { # Configures how the telemetry data should be filtered. # Only send notifications for telemetry data matching this filter. "deviceId": "A String", # If set, only sends notifications for telemetry data coming from this device. "deviceOrgUnitId": "A String", # If set, only sends notifications for telemetry data coming from devices in this org unit. "telemetryEventNotificationFilter": { # Configures how the telemetry events should be filtered. # Only sends notifications for the telemetry events matching this filter. "eventTypes": [ # Only sends the notifications for events of these types. Must not be empty. "A String", ], }, "userEmail": "A String", # If set, only sends notifications for telemetry data coming from devices owned by this user. "userOrgUnitId": "A String", # If set, only sends notifications for telemetry data coming from devices owned by users in this org unit. }, "googleCloudPubsubTopic": "A String", # The pubsub topic to which notifications are published to. "name": "A String", # Output only. Resource name of the notification configuration. }, ], }
list_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.