PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.3.2
ShareThis Dashboard for Google Analytics v3.3.2
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / google / cloud / AnalyticsAdmin / src / V1alpha / UserLink.php
googleanalytics / lib / analytics-admin / vendor / google / cloud / AnalyticsAdmin / src / V1alpha Last commit date
ChangeHistoryChange 3 years ago CustomDimension 3 years ago CustomMetric 3 years ago DataRetentionSettings 3 years ago DataStream 3 years ago Gapic 3 years ago resources 3 years ago Account.php 3 years ago AccountSummary.php 3 years ago AcknowledgeUserDataCollectionRequest.php 3 years ago AcknowledgeUserDataCollectionResponse.php 3 years ago ActionType.php 3 years ago ActorType.php 3 years ago AnalyticsAdminServiceClient.php 3 years ago AnalyticsAdminServiceGrpcClient.php 3 years ago AndroidAppDataStream.php 3 years ago ApproveDisplayVideo360AdvertiserLinkProposalRequest.php 3 years ago ApproveDisplayVideo360AdvertiserLinkProposalResponse.php 3 years ago ArchiveCustomDimensionRequest.php 3 years ago ArchiveCustomMetricRequest.php 3 years ago AuditUserLink.php 3 years ago AuditUserLinksRequest.php 3 years ago AuditUserLinksResponse.php 3 years ago BatchCreateUserLinksRequest.php 3 years ago BatchCreateUserLinksResponse.php 3 years ago BatchDeleteUserLinksRequest.php 3 years ago BatchGetUserLinksRequest.php 3 years ago BatchGetUserLinksResponse.php 3 years ago BatchUpdateUserLinksRequest.php 3 years ago BatchUpdateUserLinksResponse.php 3 years ago CancelDisplayVideo360AdvertiserLinkProposalRequest.php 3 years ago ChangeHistoryChange.php 3 years ago ChangeHistoryChange_ChangeHistoryResource.php 3 years ago ChangeHistoryEvent.php 3 years ago ChangeHistoryResourceType.php 3 years ago ConversionEvent.php 3 years ago CreateAndroidAppDataStreamRequest.php 3 years ago CreateConversionEventRequest.php 3 years ago CreateCustomDimensionRequest.php 3 years ago CreateCustomMetricRequest.php 3 years ago CreateDataStreamRequest.php 3 years ago CreateDisplayVideo360AdvertiserLinkProposalRequest.php 3 years ago CreateDisplayVideo360AdvertiserLinkRequest.php 3 years ago CreateFirebaseLinkRequest.php 3 years ago CreateGoogleAdsLinkRequest.php 3 years ago CreateIosAppDataStreamRequest.php 3 years ago CreateMeasurementProtocolSecretRequest.php 3 years ago CreatePropertyRequest.php 3 years ago CreateUserLinkRequest.php 3 years ago CreateWebDataStreamRequest.php 3 years ago CustomDimension.php 3 years ago CustomDimension_DimensionScope.php 3 years ago CustomMetric.php 3 years ago CustomMetric_MeasurementUnit.php 3 years ago CustomMetric_MetricScope.php 3 years ago CustomMetric_RestrictedMetricType.php 3 years ago DataRetentionSettings.php 3 years ago DataRetentionSettings_RetentionDuration.php 3 years ago DataSharingSettings.php 3 years ago DataStream.php 3 years ago DataStream_AndroidAppStreamData.php 3 years ago DataStream_DataStreamType.php 3 years ago DataStream_IosAppStreamData.php 3 years ago DataStream_WebStreamData.php 3 years ago DeleteAccountRequest.php 3 years ago DeleteAndroidAppDataStreamRequest.php 3 years ago DeleteConversionEventRequest.php 3 years ago DeleteDataStreamRequest.php 3 years ago DeleteDisplayVideo360AdvertiserLinkProposalRequest.php 3 years ago DeleteDisplayVideo360AdvertiserLinkRequest.php 3 years ago DeleteFirebaseLinkRequest.php 3 years ago DeleteGoogleAdsLinkRequest.php 3 years ago DeleteIosAppDataStreamRequest.php 3 years ago DeleteMeasurementProtocolSecretRequest.php 3 years ago DeletePropertyRequest.php 3 years ago DeleteUserLinkRequest.php 3 years ago DeleteWebDataStreamRequest.php 3 years ago DisplayVideo360AdvertiserLink.php 3 years ago DisplayVideo360AdvertiserLinkProposal.php 3 years ago EnhancedMeasurementSettings.php 3 years ago FirebaseLink.php 3 years ago GetAccountRequest.php 3 years ago GetAndroidAppDataStreamRequest.php 3 years ago GetConversionEventRequest.php 3 years ago GetCustomDimensionRequest.php 3 years ago GetCustomMetricRequest.php 3 years ago GetDataRetentionSettingsRequest.php 3 years ago GetDataSharingSettingsRequest.php 3 years ago GetDataStreamRequest.php 3 years ago GetDisplayVideo360AdvertiserLinkProposalRequest.php 3 years ago GetDisplayVideo360AdvertiserLinkRequest.php 3 years ago GetEnhancedMeasurementSettingsRequest.php 3 years ago GetGlobalSiteTagRequest.php 3 years ago GetGoogleSignalsSettingsRequest.php 3 years ago GetIosAppDataStreamRequest.php 3 years ago GetMeasurementProtocolSecretRequest.php 3 years ago GetPropertyRequest.php 3 years ago GetUserLinkRequest.php 3 years ago GetWebDataStreamRequest.php 3 years ago GlobalSiteTag.php 3 years ago GoogleAdsLink.php 3 years ago GoogleSignalsConsent.php 3 years ago GoogleSignalsSettings.php 3 years ago GoogleSignalsState.php 3 years ago IndustryCategory.php 3 years ago IosAppDataStream.php 3 years ago LinkProposalInitiatingProduct.php 3 years ago LinkProposalState.php 3 years ago LinkProposalStatusDetails.php 3 years ago ListAccountSummariesRequest.php 3 years ago ListAccountSummariesResponse.php 3 years ago ListAccountsRequest.php 3 years ago ListAccountsResponse.php 3 years ago ListAndroidAppDataStreamsRequest.php 3 years ago ListAndroidAppDataStreamsResponse.php 3 years ago ListConversionEventsRequest.php 3 years ago ListConversionEventsResponse.php 3 years ago ListCustomDimensionsRequest.php 3 years ago ListCustomDimensionsResponse.php 3 years ago ListCustomMetricsRequest.php 3 years ago ListCustomMetricsResponse.php 3 years ago ListDataStreamsRequest.php 3 years ago ListDataStreamsResponse.php 3 years ago ListDisplayVideo360AdvertiserLinkProposalsRequest.php 3 years ago ListDisplayVideo360AdvertiserLinkProposalsResponse.php 3 years ago ListDisplayVideo360AdvertiserLinksRequest.php 3 years ago ListDisplayVideo360AdvertiserLinksResponse.php 3 years ago ListFirebaseLinksRequest.php 3 years ago ListFirebaseLinksResponse.php 3 years ago ListGoogleAdsLinksRequest.php 3 years ago ListGoogleAdsLinksResponse.php 3 years ago ListIosAppDataStreamsRequest.php 3 years ago ListIosAppDataStreamsResponse.php 3 years ago ListMeasurementProtocolSecretsRequest.php 3 years ago ListMeasurementProtocolSecretsResponse.php 3 years ago ListPropertiesRequest.php 3 years ago ListPropertiesResponse.php 3 years ago ListUserLinksRequest.php 3 years ago ListUserLinksResponse.php 3 years ago ListWebDataStreamsRequest.php 3 years ago ListWebDataStreamsResponse.php 3 years ago MaximumUserAccess.php 3 years ago MeasurementProtocolSecret.php 3 years ago Property.php 3 years ago PropertySummary.php 3 years ago ProvisionAccountTicketRequest.php 3 years ago ProvisionAccountTicketResponse.php 3 years ago SearchChangeHistoryEventsRequest.php 3 years ago SearchChangeHistoryEventsResponse.php 3 years ago ServiceLevel.php 3 years ago UpdateAccountRequest.php 3 years ago UpdateAndroidAppDataStreamRequest.php 3 years ago UpdateCustomDimensionRequest.php 3 years ago UpdateCustomMetricRequest.php 3 years ago UpdateDataRetentionSettingsRequest.php 3 years ago UpdateDataStreamRequest.php 3 years ago UpdateDisplayVideo360AdvertiserLinkRequest.php 3 years ago UpdateEnhancedMeasurementSettingsRequest.php 3 years ago UpdateFirebaseLinkRequest.php 3 years ago UpdateGoogleAdsLinkRequest.php 3 years ago UpdateGoogleSignalsSettingsRequest.php 3 years ago UpdateIosAppDataStreamRequest.php 3 years ago UpdateMeasurementProtocolSecretRequest.php 3 years ago UpdatePropertyRequest.php 3 years ago UpdateUserLinkRequest.php 3 years ago UpdateWebDataStreamRequest.php 3 years ago UserLink.php 3 years ago WebDataStream.php 3 years ago gapic_metadata.json 3 years ago
UserLink.php
181 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/analytics/admin/v1alpha/resources.proto
4
5 namespace Google\Analytics\Admin\V1alpha;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * A resource message representing a user's permissions on an Account or
13 * Property resource.
14 *
15 * Generated from protobuf message <code>google.analytics.admin.v1alpha.UserLink</code>
16 */
17 class UserLink extends \Google\Protobuf\Internal\Message
18 {
19 /**
20 * Output only. Example format: properties/1234/userLinks/5678
21 *
22 * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
23 */
24 private $name = '';
25 /**
26 * Immutable. Email address of the user to link
27 *
28 * Generated from protobuf field <code>string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE];</code>
29 */
30 private $email_address = '';
31 /**
32 * Roles directly assigned to this user for this account or property.
33 * Valid values:
34 * predefinedRoles/viewer
35 * predefinedRoles/analyst
36 * predefinedRoles/editor
37 * predefinedRoles/admin
38 * predefinedRoles/no-cost-data
39 * predefinedRoles/no-revenue-data
40 * Excludes roles that are inherited from a higher-level entity, group,
41 * or organization admin role.
42 * A UserLink that is updated to have an empty list of direct_roles will be
43 * deleted.
44 *
45 * Generated from protobuf field <code>repeated string direct_roles = 3;</code>
46 */
47 private $direct_roles;
48
49 /**
50 * Constructor.
51 *
52 * @param array $data {
53 * Optional. Data for populating the Message object.
54 *
55 * @type string $name
56 * Output only. Example format: properties/1234/userLinks/5678
57 * @type string $email_address
58 * Immutable. Email address of the user to link
59 * @type string[]|\Google\Protobuf\Internal\RepeatedField $direct_roles
60 * Roles directly assigned to this user for this account or property.
61 * Valid values:
62 * predefinedRoles/viewer
63 * predefinedRoles/analyst
64 * predefinedRoles/editor
65 * predefinedRoles/admin
66 * predefinedRoles/no-cost-data
67 * predefinedRoles/no-revenue-data
68 * Excludes roles that are inherited from a higher-level entity, group,
69 * or organization admin role.
70 * A UserLink that is updated to have an empty list of direct_roles will be
71 * deleted.
72 * }
73 */
74 public function __construct($data = NULL) {
75 \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce();
76 parent::__construct($data);
77 }
78
79 /**
80 * Output only. Example format: properties/1234/userLinks/5678
81 *
82 * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
83 * @return string
84 */
85 public function getName()
86 {
87 return $this->name;
88 }
89
90 /**
91 * Output only. Example format: properties/1234/userLinks/5678
92 *
93 * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
94 * @param string $var
95 * @return $this
96 */
97 public function setName($var)
98 {
99 GPBUtil::checkString($var, True);
100 $this->name = $var;
101
102 return $this;
103 }
104
105 /**
106 * Immutable. Email address of the user to link
107 *
108 * Generated from protobuf field <code>string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE];</code>
109 * @return string
110 */
111 public function getEmailAddress()
112 {
113 return $this->email_address;
114 }
115
116 /**
117 * Immutable. Email address of the user to link
118 *
119 * Generated from protobuf field <code>string email_address = 2 [(.google.api.field_behavior) = IMMUTABLE];</code>
120 * @param string $var
121 * @return $this
122 */
123 public function setEmailAddress($var)
124 {
125 GPBUtil::checkString($var, True);
126 $this->email_address = $var;
127
128 return $this;
129 }
130
131 /**
132 * Roles directly assigned to this user for this account or property.
133 * Valid values:
134 * predefinedRoles/viewer
135 * predefinedRoles/analyst
136 * predefinedRoles/editor
137 * predefinedRoles/admin
138 * predefinedRoles/no-cost-data
139 * predefinedRoles/no-revenue-data
140 * Excludes roles that are inherited from a higher-level entity, group,
141 * or organization admin role.
142 * A UserLink that is updated to have an empty list of direct_roles will be
143 * deleted.
144 *
145 * Generated from protobuf field <code>repeated string direct_roles = 3;</code>
146 * @return \Google\Protobuf\Internal\RepeatedField
147 */
148 public function getDirectRoles()
149 {
150 return $this->direct_roles;
151 }
152
153 /**
154 * Roles directly assigned to this user for this account or property.
155 * Valid values:
156 * predefinedRoles/viewer
157 * predefinedRoles/analyst
158 * predefinedRoles/editor
159 * predefinedRoles/admin
160 * predefinedRoles/no-cost-data
161 * predefinedRoles/no-revenue-data
162 * Excludes roles that are inherited from a higher-level entity, group,
163 * or organization admin role.
164 * A UserLink that is updated to have an empty list of direct_roles will be
165 * deleted.
166 *
167 * Generated from protobuf field <code>repeated string direct_roles = 3;</code>
168 * @param string[]|\Google\Protobuf\Internal\RepeatedField $var
169 * @return $this
170 */
171 public function setDirectRoles($var)
172 {
173 $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
174 $this->direct_roles = $arr;
175
176 return $this;
177 }
178
179 }
180
181