FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
google-cloud-php/AdsDataManager/src/V1/EventParameter.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
/
AdsDataManager
/
src
/
V1
/
EventParameter.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
101 lines (89 loc) · 2.81 KB
Breadcrumbs
google-cloud-php
/
AdsDataManager
/
src
/
V1
/
EventParameter.php
Copy path
File metadata and controls
101 lines (89 loc) · 2.81 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
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/datamanager/v1/event.proto
namespace
Google
\
Ads
\
DataManager
\
V1
;
use
Google
\
Protobuf
\
Internal
\
GPBType
;
use
Google
\
Protobuf
\
Internal
\
GPBUtil
;
use
Google
\
Protobuf
\
RepeatedField
;
/**
* Event parameter for GA4 events.
*
* Generated from protobuf message <code>google.ads.datamanager.v1.EventParameter</code>
*/
class
EventParameter
extends
\
Google
\
Protobuf
\
Internal
\Message
{
/**
* Required. The name of the parameter to use.
*
* Generated from protobuf field <code>string parameter_name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
*/
protected
$
parameter_name
=
''
;
/**
* Required. The string representation of the value of the parameter to set.
*
* Generated from protobuf field <code>string value = 2 [(.google.api.field_behavior) = REQUIRED];</code>
*/
protected
$
value
=
''
;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $parameter_name
* Required. The name of the parameter to use.
* @type string $value
* Required. The string representation of the value of the parameter to set.
* }
*/
public
function
__construct
(
$
data
=
NULL
) {
\
GPBMetadata
\
Google
\
Ads
\
Datamanager
\
V1
\Event::
initOnce
();
parent
::
__construct
(
$
data
);
}
/**
* Required. The name of the parameter to use.
*
* Generated from protobuf field <code>string parameter_name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
* @return string
*/
public
function
getParameterName
()
{
return
$
this
->
parameter_name
;
}
/**
* Required. The name of the parameter to use.
*
* Generated from protobuf field <code>string parameter_name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
* @param string $var
* @return $this
*/
public
function
setParameterName
(
$
var
)
{
GPBUtil::
checkString
(
$
var
,
True
);
$
this
->
parameter_name
=
$
var
;
return
$
this
;
}
/**
* Required. The string representation of the value of the parameter to set.
*
* Generated from protobuf field <code>string value = 2 [(.google.api.field_behavior) = REQUIRED];</code>
* @return string
*/
public
function
getValue
()
{
return
$
this
->
value
;
}
/**
* Required. The string representation of the value of the parameter to set.
*
* Generated from protobuf field <code>string value = 2 [(.google.api.field_behavior) = REQUIRED];</code>
* @param string $var
* @return $this
*/
public
function
setValue
(
$
var
)
{
GPBUtil::
checkString
(
$
var
,
True
);
$
this
->
value
=
$
var
;
return
$
this
;
}
}
Back
|
FazBrowse Home
|
New Git URL