Class: Google::Cloud::Dlp::V2::CreateJobTriggerRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::CreateJobTriggerRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
Request message for CreateJobTrigger.
Instance Attribute Summary collapse
-
#job_trigger ⇒ ::Google::Cloud::Dlp::V2::JobTrigger
Required.
-
#location_id ⇒ ::String
Deprecated.
-
#parent ⇒ ::String
Required.
-
#trigger_id ⇒ ::String
The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+
.
Instance Attribute Details
#job_trigger ⇒ ::Google::Cloud::Dlp::V2::JobTrigger
Returns Required. The JobTrigger to create.
3725 3726 3727 3728 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3725 class CreateJobTriggerRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location_id ⇒ ::String
Returns Deprecated. This field has no effect.
3725 3726 3727 3728 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3725 class CreateJobTriggerRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
- Projects scope, no location specified (defaults to global):
projects/{project_id}
The following example parent
string specifies a parent project with the
identifier example-project
, and specifies the europe-west3
location
for processing data:
parent=projects/example-project/locations/europe-west3.
3725 3726 3727 3728 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3725 class CreateJobTriggerRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#trigger_id ⇒ ::String
Returns The trigger id can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
3725 3726 3727 3728 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3725 class CreateJobTriggerRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |