Types for Google Cloud Ids v1 API¶
- class google.cloud.ids_v1.types.CreateEndpointRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
- endpoint_id¶
Required. The endpoint identifier. This will be part of the endpoint’s resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.
- Type
- endpoint¶
Required. The endpoint to create.
- request_id¶
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Type
- class google.cloud.ids_v1.types.DeleteEndpointRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
- request_id¶
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Type
- class google.cloud.ids_v1.types.Endpoint(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Endpoint describes a single IDS endpoint. It defines a forwarding rule to which packets can be sent for IDS inspection.
- create_time¶
Output only. The create time timestamp.
- update_time¶
Output only. The update time timestamp.
- network¶
Required. The fully qualified URL of the network to which the IDS Endpoint is attached.
- Type
- endpoint_forwarding_rule¶
Output only. The fully qualified URL of the endpoint’s ILB Forwarding Rule.
- Type
- severity¶
Required. Lowest threat severity that this endpoint will alert on.
- state¶
Output only. Current state of the endpoint.
- class LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)¶
Bases:
proto.message.Message
- class Severity(value)[source]¶
Bases:
proto.enums.Enum
Threat severity levels.
- Values:
- SEVERITY_UNSPECIFIED (0):
Not set.
- INFORMATIONAL (1):
Informational alerts.
- LOW (2):
Low severity alerts.
- MEDIUM (3):
Medium severity alerts.
- HIGH (4):
High severity alerts.
- CRITICAL (5):
Critical severity alerts.
- class State(value)[source]¶
Bases:
proto.enums.Enum
Endpoint state
- Values:
- STATE_UNSPECIFIED (0):
Not set.
- CREATING (1):
Being created.
- READY (2):
Active and ready for traffic.
- DELETING (3):
Being deleted.
- class google.cloud.ids_v1.types.GetEndpointRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
- class google.cloud.ids_v1.types.ListEndpointsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
- page_size¶
Optional. The maximum number of endpoints to return. The service may return fewer than this value.
- Type
- page_token¶
Optional. A page token, received from a previous
ListEndpoints
call. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to
ListEndpoints
must match the call that provided the page token.- Type
- filter¶
Optional. The filter expression, following the syntax outlined in https://google.aip.dev/160.
- Type
- order_by¶
Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
- Type
- class google.cloud.ids_v1.types.ListEndpointsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
- endpoints¶
The list of endpoints response.
- Type
MutableSequence[google.cloud.ids_v1.types.Endpoint]
- next_page_token¶
A token, which can be sent as
page_token
to retrieve the next page. If this field is omitted, there are no subsequent pages.- Type
- class google.cloud.ids_v1.types.OperationMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Represents the metadata of the long-running operation.
- create_time¶
Output only. The time the operation was created.
- end_time¶
Output only. The time the operation finished running.
- requested_cancellation¶
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
Code.CANCELLED
.- Type