FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
google-cloud-php/AdsDataManager/src/V1/MatchRateRange.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
/
AdsDataManager
/
src
/
V1
/
MatchRateRange.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
118 lines (110 loc) · 4.14 KB
Breadcrumbs
google-cloud-php
/
AdsDataManager
/
src
/
V1
/
MatchRateRange.php
Copy path
File metadata and controls
118 lines (110 loc) · 4.14 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
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/datamanager/v1/match_rate.proto
namespace
Google
\
Ads
\
DataManager
\
V1
;
use
UnexpectedValueException
;
/**
* The match rate range of the upload or userlist.
*
* Protobuf type <code>google.ads.datamanager.v1.MatchRateRange</code>
*/
class
MatchRateRange
{
/**
* The match rate range is unknown.
*
* Generated from protobuf enum <code>MATCH_RATE_RANGE_UNKNOWN = 0;</code>
*/
const
MATCH_RATE_RANGE_UNKNOWN
=
0
;
/**
* The match rate range is not eligible.
*
* Generated from protobuf enum <code>MATCH_RATE_RANGE_NOT_ELIGIBLE = 1;</code>
*/
const
MATCH_RATE_RANGE_NOT_ELIGIBLE
=
1
;
/**
* The match rate range is less than 20% (in the interval `[0, 20)`).
*
* Generated from protobuf enum <code>MATCH_RATE_RANGE_LESS_THAN_20 = 2;</code>
*/
const
MATCH_RATE_RANGE_LESS_THAN_20
=
2
;
/**
* The match rate range is between 20% and 30% (in the interval `[20, 31)`).
*
* Generated from protobuf enum <code>MATCH_RATE_RANGE_20_TO_30 = 3;</code>
*/
const
MATCH_RATE_RANGE_20_TO_30
=
3
;
/**
* The match rate range is between 31% and 40% (in the interval `[31, 41)`).
*
* Generated from protobuf enum <code>MATCH_RATE_RANGE_31_TO_40 = 4;</code>
*/
const
MATCH_RATE_RANGE_31_TO_40
=
4
;
/**
* The match rate range is between 41% and 50% (in the interval `[41, 51)`).
*
* Generated from protobuf enum <code>MATCH_RATE_RANGE_41_TO_50 = 5;</code>
*/
const
MATCH_RATE_RANGE_41_TO_50
=
5
;
/**
* The match rate range is between 51% and 60% (in the interval `[51, 61)`.
*
* Generated from protobuf enum <code>MATCH_RATE_RANGE_51_TO_60 = 6;</code>
*/
const
MATCH_RATE_RANGE_51_TO_60
=
6
;
/**
* The match rate range is between 61% and 70% (in the interval `[61, 71)`).
*
* Generated from protobuf enum <code>MATCH_RATE_RANGE_61_TO_70 = 7;</code>
*/
const
MATCH_RATE_RANGE_61_TO_70
=
7
;
/**
* The match rate range is between 71% and 80% (in the interval `[71, 81)`).
*
* Generated from protobuf enum <code>MATCH_RATE_RANGE_71_TO_80 = 8;</code>
*/
const
MATCH_RATE_RANGE_71_TO_80
=
8
;
/**
* The match rate range is between 81% and 90% (in the interval `[81, 91)`).
*
* Generated from protobuf enum <code>MATCH_RATE_RANGE_81_TO_90 = 9;</code>
*/
const
MATCH_RATE_RANGE_81_TO_90
=
9
;
/**
* The match rate range is between 91% and 100% (in the interval `[91,
* 100]`).
*
* Generated from protobuf enum <code>MATCH_RATE_RANGE_91_TO_100 = 10;</code>
*/
const
MATCH_RATE_RANGE_91_TO_100
=
10
;
private
static
$
valueToName
= [
self
::
MATCH_RATE_RANGE_UNKNOWN
=>
'
MATCH_RATE_RANGE_UNKNOWN
'
,
self
::
MATCH_RATE_RANGE_NOT_ELIGIBLE
=>
'
MATCH_RATE_RANGE_NOT_ELIGIBLE
'
,
self
::
MATCH_RATE_RANGE_LESS_THAN_20
=>
'
MATCH_RATE_RANGE_LESS_THAN_20
'
,
self
::
MATCH_RATE_RANGE_20_TO_30
=>
'
MATCH_RATE_RANGE_20_TO_30
'
,
self
::
MATCH_RATE_RANGE_31_TO_40
=>
'
MATCH_RATE_RANGE_31_TO_40
'
,
self
::
MATCH_RATE_RANGE_41_TO_50
=>
'
MATCH_RATE_RANGE_41_TO_50
'
,
self
::
MATCH_RATE_RANGE_51_TO_60
=>
'
MATCH_RATE_RANGE_51_TO_60
'
,
self
::
MATCH_RATE_RANGE_61_TO_70
=>
'
MATCH_RATE_RANGE_61_TO_70
'
,
self
::
MATCH_RATE_RANGE_71_TO_80
=>
'
MATCH_RATE_RANGE_71_TO_80
'
,
self
::
MATCH_RATE_RANGE_81_TO_90
=>
'
MATCH_RATE_RANGE_81_TO_90
'
,
self
::
MATCH_RATE_RANGE_91_TO_100
=>
'
MATCH_RATE_RANGE_91_TO_100
'
,
];
public
static
function
name
(
$
value
)
{
if
(!
isset
(
self
::
$
valueToName
[
$
value
])) {
throw
new
UnexpectedValueException
(
sprintf
(
'
Enum %s has no name defined for value %s
'
,
__CLASS__
,
$
value
));
}
return
self
::
$
valueToName
[
$
value
];
}
public
static
function
value
(
$
name
)
{
$
const
=
__CLASS__
.
'
::
'
.
strtoupper
(
$
name
);
if
(!
defined
(
$
const
)) {
throw
new
UnexpectedValueException
(
sprintf
(
'
Enum %s has no value defined for name %s
'
,
__CLASS__
,
$
name
));
}
return
constant
(
$
const
);
}
}
Back
|
FazBrowse Home
|
New Git URL