FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
google-cloud-php/Dms/src/V1/DeleteMappingRuleRequest.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
32
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
/
DeleteMappingRuleRequest.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
131 lines (118 loc) · 4.54 KB
Breadcrumbs
google-cloud-php
/
Dms
/
src
/
V1
/
DeleteMappingRuleRequest.php
Copy path
File metadata and controls
131 lines (118 loc) · 4.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
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/clouddms/v1/clouddms.proto
namespace
Google
\
Cloud
\
CloudDms
\
V1
;
use
Google
\
Protobuf
\
Internal
\
GPBType
;
use
Google
\
Protobuf
\
Internal
\
GPBUtil
;
use
Google
\
Protobuf
\
RepeatedField
;
/**
* Request message for 'DeleteMappingRule' request.
*
* Generated from protobuf message <code>google.cloud.clouddms.v1.DeleteMappingRuleRequest</code>
*/
class
DeleteMappingRuleRequest
extends
\
Google
\
Protobuf
\
Internal
\Message
{
/**
* Required. Name of the mapping rule resource to delete.
*
* Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
*/
protected
$
name
=
''
;
/**
* Optional. A unique ID used to identify the request. If the server receives
* two requests with the same ID, then the second request is ignored.
* It is recommended to always set this value to a UUID.
* The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
* (_), and hyphens (-). The maximum length is 40 characters.
*
* Generated from protobuf field <code>string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
*/
protected
$
request_id
=
''
;
/**
* @param string $name Required. Name of the mapping rule resource to delete. Please see
* {@see DataMigrationServiceClient::conversionWorkspaceName()} for help formatting this field.
*
* @return \Google\Cloud\CloudDms\V1\DeleteMappingRuleRequest
*
* @experimental
*/
public
static
function
build
(
string
$
name
):
self
{
return
(
new
self
())
->
setName
(
$
name
);
}
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $name
* Required. Name of the mapping rule resource to delete.
* @type string $request_id
* Optional. A unique ID used to identify the request. If the server receives
* two requests with the same ID, then the second request is ignored.
* It is recommended to always set this value to a UUID.
* The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
* (_), and hyphens (-). The maximum length is 40 characters.
* }
*/
public
function
__construct
(
$
data
=
NULL
) {
\
GPBMetadata
\
Google
\
Cloud
\
Clouddms
\
V1
\Clouddms::
initOnce
();
parent
::
__construct
(
$
data
);
}
/**
* Required. Name of the mapping rule resource to delete.
*
* Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
* @return string
*/
public
function
getName
()
{
return
$
this
->
name
;
}
/**
* Required. Name of the mapping rule resource to delete.
*
* Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
* @param string $var
* @return $this
*/
public
function
setName
(
$
var
)
{
GPBUtil::
checkString
(
$
var
,
True
);
$
this
->
name
=
$
var
;
return
$
this
;
}
/**
* Optional. A unique ID used to identify the request. If the server receives
* two requests with the same ID, then the second request is ignored.
* It is recommended to always set this value to a UUID.
* The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
* (_), and hyphens (-). The maximum length is 40 characters.
*
* Generated from protobuf field <code>string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
* @return string
*/
public
function
getRequestId
()
{
return
$
this
->
request_id
;
}
/**
* Optional. A unique ID used to identify the request. If the server receives
* two requests with the same ID, then the second request is ignored.
* It is recommended to always set this value to a UUID.
* The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
* (_), and hyphens (-). The maximum length is 40 characters.
*
* Generated from protobuf field <code>string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
* @param string $var
* @return $this
*/
public
function
setRequestId
(
$
var
)
{
GPBUtil::
checkString
(
$
var
,
True
);
$
this
->
request_id
=
$
var
;
return
$
this
;
}
}
Back
|
FazBrowse Home
|
New Git URL