FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
google-cloud-php/Dms/src/V1/MappingRuleFilter.php at main · googleapis/google-cloud-php · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
googleapis
/
google-cloud-php
Public
Notifications
You must be signed in to change notification settings
Fork
464
Star
1.2k
Code
Issues
45
Pull requests
35
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
google-cloud-php
/
Dms
/
src
/
V1
/
MappingRuleFilter.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
241 lines (220 loc) · 8.54 KB
Breadcrumbs
google-cloud-php
/
Dms
/
src
/
V1
/
MappingRuleFilter.php
Copy path
File metadata and controls
241 lines (220 loc) · 8.54 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/clouddms/v1/conversionworkspace_resources.proto
namespace
Google
\
Cloud
\
CloudDms
\
V1
;
use
Google
\
Protobuf
\
Internal
\
GPBType
;
use
Google
\
Protobuf
\
Internal
\
GPBUtil
;
use
Google
\
Protobuf
\
RepeatedField
;
/**
* A filter defining the entities that a mapping rule should be applied to.
* When more than one field is specified, the rule is applied only to
* entities which match all the fields.
*
* Generated from protobuf message <code>google.cloud.clouddms.v1.MappingRuleFilter</code>
*/
class
MappingRuleFilter
extends
\
Google
\
Protobuf
\
Internal
\Message
{
/**
* Optional. The rule should be applied to entities whose parent entity
* (fully qualified name) matches the given value.
* For example, if the rule applies to a table entity, the expected value
* should be a schema (schema). If the rule applies to a column or index
* entity, the expected value can be either a schema (schema) or a table
* (schema.table)
*
* Generated from protobuf field <code>string parent_entity = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
*/
protected
$
parent_entity
=
''
;
/**
* Optional. The rule should be applied to entities whose non-qualified name
* starts with the given prefix.
*
* Generated from protobuf field <code>string entity_name_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
*/
protected
$
entity_name_prefix
=
''
;
/**
* Optional. The rule should be applied to entities whose non-qualified name
* ends with the given suffix.
*
* Generated from protobuf field <code>string entity_name_suffix = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
*/
protected
$
entity_name_suffix
=
''
;
/**
* Optional. The rule should be applied to entities whose non-qualified name
* contains the given string.
*
* Generated from protobuf field <code>string entity_name_contains = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
*/
protected
$
entity_name_contains
=
''
;
/**
* Optional. The rule should be applied to specific entities defined by their
* fully qualified names.
*
* Generated from protobuf field <code>repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
*/
private
$
entities
;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $parent_entity
* Optional. The rule should be applied to entities whose parent entity
* (fully qualified name) matches the given value.
* For example, if the rule applies to a table entity, the expected value
* should be a schema (schema). If the rule applies to a column or index
* entity, the expected value can be either a schema (schema) or a table
* (schema.table)
* @type string $entity_name_prefix
* Optional. The rule should be applied to entities whose non-qualified name
* starts with the given prefix.
* @type string $entity_name_suffix
* Optional. The rule should be applied to entities whose non-qualified name
* ends with the given suffix.
* @type string $entity_name_contains
* Optional. The rule should be applied to entities whose non-qualified name
* contains the given string.
* @type string[] $entities
* Optional. The rule should be applied to specific entities defined by their
* fully qualified names.
* }
*/
public
function
__construct
(
$
data
=
NULL
) {
\
GPBMetadata
\
Google
\
Cloud
\
Clouddms
\
V1
\ConversionworkspaceResources::
initOnce
();
parent
::
__construct
(
$
data
);
}
/**
* Optional. The rule should be applied to entities whose parent entity
* (fully qualified name) matches the given value.
* For example, if the rule applies to a table entity, the expected value
* should be a schema (schema). If the rule applies to a column or index
* entity, the expected value can be either a schema (schema) or a table
* (schema.table)
*
* Generated from protobuf field <code>string parent_entity = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
* @return string
*/
public
function
getParentEntity
()
{
return
$
this
->
parent_entity
;
}
/**
* Optional. The rule should be applied to entities whose parent entity
* (fully qualified name) matches the given value.
* For example, if the rule applies to a table entity, the expected value
* should be a schema (schema). If the rule applies to a column or index
* entity, the expected value can be either a schema (schema) or a table
* (schema.table)
*
* Generated from protobuf field <code>string parent_entity = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
* @param string $var
* @return $this
*/
public
function
setParentEntity
(
$
var
)
{
GPBUtil::
checkString
(
$
var
,
True
);
$
this
->
parent_entity
=
$
var
;
return
$
this
;
}
/**
* Optional. The rule should be applied to entities whose non-qualified name
* starts with the given prefix.
*
* Generated from protobuf field <code>string entity_name_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
* @return string
*/
public
function
getEntityNamePrefix
()
{
return
$
this
->
entity_name_prefix
;
}
/**
* Optional. The rule should be applied to entities whose non-qualified name
* starts with the given prefix.
*
* Generated from protobuf field <code>string entity_name_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
* @param string $var
* @return $this
*/
public
function
setEntityNamePrefix
(
$
var
)
{
GPBUtil::
checkString
(
$
var
,
True
);
$
this
->
entity_name_prefix
=
$
var
;
return
$
this
;
}
/**
* Optional. The rule should be applied to entities whose non-qualified name
* ends with the given suffix.
*
* Generated from protobuf field <code>string entity_name_suffix = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
* @return string
*/
public
function
getEntityNameSuffix
()
{
return
$
this
->
entity_name_suffix
;
}
/**
* Optional. The rule should be applied to entities whose non-qualified name
* ends with the given suffix.
*
* Generated from protobuf field <code>string entity_name_suffix = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
* @param string $var
* @return $this
*/
public
function
setEntityNameSuffix
(
$
var
)
{
GPBUtil::
checkString
(
$
var
,
True
);
$
this
->
entity_name_suffix
=
$
var
;
return
$
this
;
}
/**
* Optional. The rule should be applied to entities whose non-qualified name
* contains the given string.
*
* Generated from protobuf field <code>string entity_name_contains = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
* @return string
*/
public
function
getEntityNameContains
()
{
return
$
this
->
entity_name_contains
;
}
/**
* Optional. The rule should be applied to entities whose non-qualified name
* contains the given string.
*
* Generated from protobuf field <code>string entity_name_contains = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
* @param string $var
* @return $this
*/
public
function
setEntityNameContains
(
$
var
)
{
GPBUtil::
checkString
(
$
var
,
True
);
$
this
->
entity_name_contains
=
$
var
;
return
$
this
;
}
/**
* Optional. The rule should be applied to specific entities defined by their
* fully qualified names.
*
* Generated from protobuf field <code>repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
* @return RepeatedField<string>
*/
public
function
getEntities
()
{
return
$
this
->
entities
;
}
/**
* Optional. The rule should be applied to specific entities defined by their
* fully qualified names.
*
* Generated from protobuf field <code>repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
* @param string[] $var
* @return $this
*/
public
function
setEntities
(
$
var
)
{
$
arr
= GPBUtil::
checkRepeatedField
(
$
var
, \
Google
\
Protobuf
\
Internal
\GPBType::
STRING
);
$
this
->
entities
=
$
arr
;
return
$
this
;
}
}
Back
|
FazBrowse Home
|
New Git URL