googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
cloud
/
AnalyticsAdmin
/
src
/
V1alpha
/
AnalyticsAdminServiceGrpcClient.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
AnalyticsAdminServiceGrpcClient.php
1168 lines
| 1 | <?php |
| 2 | // GENERATED CODE -- DO NOT EDIT! |
| 3 | |
| 4 | // Original file comments: |
| 5 | // Copyright 2020 Google LLC |
| 6 | // |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | // you may not use this file except in compliance with the License. |
| 9 | // You may obtain a copy of the License at |
| 10 | // |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | // |
| 13 | // Unless required by applicable law or agreed to in writing, software |
| 14 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | // See the License for the specific language governing permissions and |
| 17 | // limitations under the License. |
| 18 | // |
| 19 | namespace Google\Analytics\Admin\V1alpha; |
| 20 | |
| 21 | /** |
| 22 | * Service Interface for the Analytics Admin API (GA4). |
| 23 | */ |
| 24 | class AnalyticsAdminServiceGrpcClient extends \Grpc\BaseStub { |
| 25 | |
| 26 | /** |
| 27 | * @param string $hostname hostname |
| 28 | * @param array $opts channel options |
| 29 | * @param \Grpc\Channel $channel (optional) re-use channel object |
| 30 | */ |
| 31 | public function __construct($hostname, $opts, $channel = null) { |
| 32 | parent::__construct($hostname, $opts, $channel); |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Lookup for a single Account. |
| 37 | * @param \Google\Analytics\Admin\V1alpha\GetAccountRequest $argument input argument |
| 38 | * @param array $metadata metadata |
| 39 | * @param array $options call options |
| 40 | * @return \Grpc\UnaryCall |
| 41 | */ |
| 42 | public function GetAccount(\Google\Analytics\Admin\V1alpha\GetAccountRequest $argument, |
| 43 | $metadata = [], $options = []) { |
| 44 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetAccount', |
| 45 | $argument, |
| 46 | ['\Google\Analytics\Admin\V1alpha\Account', 'decode'], |
| 47 | $metadata, $options); |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Returns all accounts accessible by the caller. |
| 52 | * |
| 53 | * Note that these accounts might not currently have GA4 properties. |
| 54 | * Soft-deleted (ie: "trashed") accounts are excluded by default. |
| 55 | * Returns an empty list if no relevant accounts are found. |
| 56 | * @param \Google\Analytics\Admin\V1alpha\ListAccountsRequest $argument input argument |
| 57 | * @param array $metadata metadata |
| 58 | * @param array $options call options |
| 59 | * @return \Grpc\UnaryCall |
| 60 | */ |
| 61 | public function ListAccounts(\Google\Analytics\Admin\V1alpha\ListAccountsRequest $argument, |
| 62 | $metadata = [], $options = []) { |
| 63 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListAccounts', |
| 64 | $argument, |
| 65 | ['\Google\Analytics\Admin\V1alpha\ListAccountsResponse', 'decode'], |
| 66 | $metadata, $options); |
| 67 | } |
| 68 | |
| 69 | /** |
| 70 | * Marks target Account as soft-deleted (ie: "trashed") and returns it. |
| 71 | * |
| 72 | * This API does not have a method to restore soft-deleted accounts. |
| 73 | * However, they can be restored using the Trash Can UI. |
| 74 | * |
| 75 | * If the accounts are not restored before the expiration time, the account |
| 76 | * and all child resources (eg: Properties, GoogleAdsLinks, Streams, |
| 77 | * UserLinks) will be permanently purged. |
| 78 | * https://support.google.com/analytics/answer/6154772 |
| 79 | * |
| 80 | * Returns an error if the target is not found. |
| 81 | * @param \Google\Analytics\Admin\V1alpha\DeleteAccountRequest $argument input argument |
| 82 | * @param array $metadata metadata |
| 83 | * @param array $options call options |
| 84 | * @return \Grpc\UnaryCall |
| 85 | */ |
| 86 | public function DeleteAccount(\Google\Analytics\Admin\V1alpha\DeleteAccountRequest $argument, |
| 87 | $metadata = [], $options = []) { |
| 88 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteAccount', |
| 89 | $argument, |
| 90 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 91 | $metadata, $options); |
| 92 | } |
| 93 | |
| 94 | /** |
| 95 | * Updates an account. |
| 96 | * @param \Google\Analytics\Admin\V1alpha\UpdateAccountRequest $argument input argument |
| 97 | * @param array $metadata metadata |
| 98 | * @param array $options call options |
| 99 | * @return \Grpc\UnaryCall |
| 100 | */ |
| 101 | public function UpdateAccount(\Google\Analytics\Admin\V1alpha\UpdateAccountRequest $argument, |
| 102 | $metadata = [], $options = []) { |
| 103 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateAccount', |
| 104 | $argument, |
| 105 | ['\Google\Analytics\Admin\V1alpha\Account', 'decode'], |
| 106 | $metadata, $options); |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * Requests a ticket for creating an account. |
| 111 | * @param \Google\Analytics\Admin\V1alpha\ProvisionAccountTicketRequest $argument input argument |
| 112 | * @param array $metadata metadata |
| 113 | * @param array $options call options |
| 114 | * @return \Grpc\UnaryCall |
| 115 | */ |
| 116 | public function ProvisionAccountTicket(\Google\Analytics\Admin\V1alpha\ProvisionAccountTicketRequest $argument, |
| 117 | $metadata = [], $options = []) { |
| 118 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ProvisionAccountTicket', |
| 119 | $argument, |
| 120 | ['\Google\Analytics\Admin\V1alpha\ProvisionAccountTicketResponse', 'decode'], |
| 121 | $metadata, $options); |
| 122 | } |
| 123 | |
| 124 | /** |
| 125 | * Returns summaries of all accounts accessible by the caller. |
| 126 | * @param \Google\Analytics\Admin\V1alpha\ListAccountSummariesRequest $argument input argument |
| 127 | * @param array $metadata metadata |
| 128 | * @param array $options call options |
| 129 | * @return \Grpc\UnaryCall |
| 130 | */ |
| 131 | public function ListAccountSummaries(\Google\Analytics\Admin\V1alpha\ListAccountSummariesRequest $argument, |
| 132 | $metadata = [], $options = []) { |
| 133 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListAccountSummaries', |
| 134 | $argument, |
| 135 | ['\Google\Analytics\Admin\V1alpha\ListAccountSummariesResponse', 'decode'], |
| 136 | $metadata, $options); |
| 137 | } |
| 138 | |
| 139 | /** |
| 140 | * Lookup for a single "GA4" Property. |
| 141 | * @param \Google\Analytics\Admin\V1alpha\GetPropertyRequest $argument input argument |
| 142 | * @param array $metadata metadata |
| 143 | * @param array $options call options |
| 144 | * @return \Grpc\UnaryCall |
| 145 | */ |
| 146 | public function GetProperty(\Google\Analytics\Admin\V1alpha\GetPropertyRequest $argument, |
| 147 | $metadata = [], $options = []) { |
| 148 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetProperty', |
| 149 | $argument, |
| 150 | ['\Google\Analytics\Admin\V1alpha\Property', 'decode'], |
| 151 | $metadata, $options); |
| 152 | } |
| 153 | |
| 154 | /** |
| 155 | * Returns child Properties under the specified parent Account. |
| 156 | * |
| 157 | * Only "GA4" properties will be returned. |
| 158 | * Properties will be excluded if the caller does not have access. |
| 159 | * Soft-deleted (ie: "trashed") properties are excluded by default. |
| 160 | * Returns an empty list if no relevant properties are found. |
| 161 | * @param \Google\Analytics\Admin\V1alpha\ListPropertiesRequest $argument input argument |
| 162 | * @param array $metadata metadata |
| 163 | * @param array $options call options |
| 164 | * @return \Grpc\UnaryCall |
| 165 | */ |
| 166 | public function ListProperties(\Google\Analytics\Admin\V1alpha\ListPropertiesRequest $argument, |
| 167 | $metadata = [], $options = []) { |
| 168 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListProperties', |
| 169 | $argument, |
| 170 | ['\Google\Analytics\Admin\V1alpha\ListPropertiesResponse', 'decode'], |
| 171 | $metadata, $options); |
| 172 | } |
| 173 | |
| 174 | /** |
| 175 | * Creates an "GA4" property with the specified location and attributes. |
| 176 | * @param \Google\Analytics\Admin\V1alpha\CreatePropertyRequest $argument input argument |
| 177 | * @param array $metadata metadata |
| 178 | * @param array $options call options |
| 179 | * @return \Grpc\UnaryCall |
| 180 | */ |
| 181 | public function CreateProperty(\Google\Analytics\Admin\V1alpha\CreatePropertyRequest $argument, |
| 182 | $metadata = [], $options = []) { |
| 183 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateProperty', |
| 184 | $argument, |
| 185 | ['\Google\Analytics\Admin\V1alpha\Property', 'decode'], |
| 186 | $metadata, $options); |
| 187 | } |
| 188 | |
| 189 | /** |
| 190 | * Marks target Property as soft-deleted (ie: "trashed") and returns it. |
| 191 | * |
| 192 | * This API does not have a method to restore soft-deleted properties. |
| 193 | * However, they can be restored using the Trash Can UI. |
| 194 | * |
| 195 | * If the properties are not restored before the expiration time, the Property |
| 196 | * and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) |
| 197 | * will be permanently purged. |
| 198 | * https://support.google.com/analytics/answer/6154772 |
| 199 | * |
| 200 | * Returns an error if the target is not found, or is not an GA4 Property. |
| 201 | * @param \Google\Analytics\Admin\V1alpha\DeletePropertyRequest $argument input argument |
| 202 | * @param array $metadata metadata |
| 203 | * @param array $options call options |
| 204 | * @return \Grpc\UnaryCall |
| 205 | */ |
| 206 | public function DeleteProperty(\Google\Analytics\Admin\V1alpha\DeletePropertyRequest $argument, |
| 207 | $metadata = [], $options = []) { |
| 208 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteProperty', |
| 209 | $argument, |
| 210 | ['\Google\Analytics\Admin\V1alpha\Property', 'decode'], |
| 211 | $metadata, $options); |
| 212 | } |
| 213 | |
| 214 | /** |
| 215 | * Updates a property. |
| 216 | * @param \Google\Analytics\Admin\V1alpha\UpdatePropertyRequest $argument input argument |
| 217 | * @param array $metadata metadata |
| 218 | * @param array $options call options |
| 219 | * @return \Grpc\UnaryCall |
| 220 | */ |
| 221 | public function UpdateProperty(\Google\Analytics\Admin\V1alpha\UpdatePropertyRequest $argument, |
| 222 | $metadata = [], $options = []) { |
| 223 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateProperty', |
| 224 | $argument, |
| 225 | ['\Google\Analytics\Admin\V1alpha\Property', 'decode'], |
| 226 | $metadata, $options); |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * Gets information about a user's link to an account or property. |
| 231 | * @param \Google\Analytics\Admin\V1alpha\GetUserLinkRequest $argument input argument |
| 232 | * @param array $metadata metadata |
| 233 | * @param array $options call options |
| 234 | * @return \Grpc\UnaryCall |
| 235 | */ |
| 236 | public function GetUserLink(\Google\Analytics\Admin\V1alpha\GetUserLinkRequest $argument, |
| 237 | $metadata = [], $options = []) { |
| 238 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetUserLink', |
| 239 | $argument, |
| 240 | ['\Google\Analytics\Admin\V1alpha\UserLink', 'decode'], |
| 241 | $metadata, $options); |
| 242 | } |
| 243 | |
| 244 | /** |
| 245 | * Gets information about multiple users' links to an account or property. |
| 246 | * @param \Google\Analytics\Admin\V1alpha\BatchGetUserLinksRequest $argument input argument |
| 247 | * @param array $metadata metadata |
| 248 | * @param array $options call options |
| 249 | * @return \Grpc\UnaryCall |
| 250 | */ |
| 251 | public function BatchGetUserLinks(\Google\Analytics\Admin\V1alpha\BatchGetUserLinksRequest $argument, |
| 252 | $metadata = [], $options = []) { |
| 253 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/BatchGetUserLinks', |
| 254 | $argument, |
| 255 | ['\Google\Analytics\Admin\V1alpha\BatchGetUserLinksResponse', 'decode'], |
| 256 | $metadata, $options); |
| 257 | } |
| 258 | |
| 259 | /** |
| 260 | * Lists all user links on an account or property. |
| 261 | * @param \Google\Analytics\Admin\V1alpha\ListUserLinksRequest $argument input argument |
| 262 | * @param array $metadata metadata |
| 263 | * @param array $options call options |
| 264 | * @return \Grpc\UnaryCall |
| 265 | */ |
| 266 | public function ListUserLinks(\Google\Analytics\Admin\V1alpha\ListUserLinksRequest $argument, |
| 267 | $metadata = [], $options = []) { |
| 268 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListUserLinks', |
| 269 | $argument, |
| 270 | ['\Google\Analytics\Admin\V1alpha\ListUserLinksResponse', 'decode'], |
| 271 | $metadata, $options); |
| 272 | } |
| 273 | |
| 274 | /** |
| 275 | * Lists all user links on an account or property, including implicit ones |
| 276 | * that come from effective permissions granted by groups or organization |
| 277 | * admin roles. |
| 278 | * |
| 279 | * If a returned user link does not have direct permissions, they cannot |
| 280 | * be removed from the account or property directly with the DeleteUserLink |
| 281 | * command. They have to be removed from the group/etc that gives them |
| 282 | * permissions, which is currently only usable/discoverable in the GA or GMP |
| 283 | * UIs. |
| 284 | * @param \Google\Analytics\Admin\V1alpha\AuditUserLinksRequest $argument input argument |
| 285 | * @param array $metadata metadata |
| 286 | * @param array $options call options |
| 287 | * @return \Grpc\UnaryCall |
| 288 | */ |
| 289 | public function AuditUserLinks(\Google\Analytics\Admin\V1alpha\AuditUserLinksRequest $argument, |
| 290 | $metadata = [], $options = []) { |
| 291 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/AuditUserLinks', |
| 292 | $argument, |
| 293 | ['\Google\Analytics\Admin\V1alpha\AuditUserLinksResponse', 'decode'], |
| 294 | $metadata, $options); |
| 295 | } |
| 296 | |
| 297 | /** |
| 298 | * Creates a user link on an account or property. |
| 299 | * |
| 300 | * If the user with the specified email already has permissions on the |
| 301 | * account or property, then the user's existing permissions will be unioned |
| 302 | * with the permissions specified in the new UserLink. |
| 303 | * @param \Google\Analytics\Admin\V1alpha\CreateUserLinkRequest $argument input argument |
| 304 | * @param array $metadata metadata |
| 305 | * @param array $options call options |
| 306 | * @return \Grpc\UnaryCall |
| 307 | */ |
| 308 | public function CreateUserLink(\Google\Analytics\Admin\V1alpha\CreateUserLinkRequest $argument, |
| 309 | $metadata = [], $options = []) { |
| 310 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateUserLink', |
| 311 | $argument, |
| 312 | ['\Google\Analytics\Admin\V1alpha\UserLink', 'decode'], |
| 313 | $metadata, $options); |
| 314 | } |
| 315 | |
| 316 | /** |
| 317 | * Creates information about multiple users' links to an account or property. |
| 318 | * |
| 319 | * This method is transactional. If any UserLink cannot be created, none of |
| 320 | * the UserLinks will be created. |
| 321 | * @param \Google\Analytics\Admin\V1alpha\BatchCreateUserLinksRequest $argument input argument |
| 322 | * @param array $metadata metadata |
| 323 | * @param array $options call options |
| 324 | * @return \Grpc\UnaryCall |
| 325 | */ |
| 326 | public function BatchCreateUserLinks(\Google\Analytics\Admin\V1alpha\BatchCreateUserLinksRequest $argument, |
| 327 | $metadata = [], $options = []) { |
| 328 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/BatchCreateUserLinks', |
| 329 | $argument, |
| 330 | ['\Google\Analytics\Admin\V1alpha\BatchCreateUserLinksResponse', 'decode'], |
| 331 | $metadata, $options); |
| 332 | } |
| 333 | |
| 334 | /** |
| 335 | * Updates a user link on an account or property. |
| 336 | * @param \Google\Analytics\Admin\V1alpha\UpdateUserLinkRequest $argument input argument |
| 337 | * @param array $metadata metadata |
| 338 | * @param array $options call options |
| 339 | * @return \Grpc\UnaryCall |
| 340 | */ |
| 341 | public function UpdateUserLink(\Google\Analytics\Admin\V1alpha\UpdateUserLinkRequest $argument, |
| 342 | $metadata = [], $options = []) { |
| 343 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateUserLink', |
| 344 | $argument, |
| 345 | ['\Google\Analytics\Admin\V1alpha\UserLink', 'decode'], |
| 346 | $metadata, $options); |
| 347 | } |
| 348 | |
| 349 | /** |
| 350 | * Updates information about multiple users' links to an account or property. |
| 351 | * @param \Google\Analytics\Admin\V1alpha\BatchUpdateUserLinksRequest $argument input argument |
| 352 | * @param array $metadata metadata |
| 353 | * @param array $options call options |
| 354 | * @return \Grpc\UnaryCall |
| 355 | */ |
| 356 | public function BatchUpdateUserLinks(\Google\Analytics\Admin\V1alpha\BatchUpdateUserLinksRequest $argument, |
| 357 | $metadata = [], $options = []) { |
| 358 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/BatchUpdateUserLinks', |
| 359 | $argument, |
| 360 | ['\Google\Analytics\Admin\V1alpha\BatchUpdateUserLinksResponse', 'decode'], |
| 361 | $metadata, $options); |
| 362 | } |
| 363 | |
| 364 | /** |
| 365 | * Deletes a user link on an account or property. |
| 366 | * @param \Google\Analytics\Admin\V1alpha\DeleteUserLinkRequest $argument input argument |
| 367 | * @param array $metadata metadata |
| 368 | * @param array $options call options |
| 369 | * @return \Grpc\UnaryCall |
| 370 | */ |
| 371 | public function DeleteUserLink(\Google\Analytics\Admin\V1alpha\DeleteUserLinkRequest $argument, |
| 372 | $metadata = [], $options = []) { |
| 373 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteUserLink', |
| 374 | $argument, |
| 375 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 376 | $metadata, $options); |
| 377 | } |
| 378 | |
| 379 | /** |
| 380 | * Deletes information about multiple users' links to an account or property. |
| 381 | * @param \Google\Analytics\Admin\V1alpha\BatchDeleteUserLinksRequest $argument input argument |
| 382 | * @param array $metadata metadata |
| 383 | * @param array $options call options |
| 384 | * @return \Grpc\UnaryCall |
| 385 | */ |
| 386 | public function BatchDeleteUserLinks(\Google\Analytics\Admin\V1alpha\BatchDeleteUserLinksRequest $argument, |
| 387 | $metadata = [], $options = []) { |
| 388 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/BatchDeleteUserLinks', |
| 389 | $argument, |
| 390 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 391 | $metadata, $options); |
| 392 | } |
| 393 | |
| 394 | /** |
| 395 | * Creates a FirebaseLink. |
| 396 | * |
| 397 | * Properties can have at most one FirebaseLink. |
| 398 | * @param \Google\Analytics\Admin\V1alpha\CreateFirebaseLinkRequest $argument input argument |
| 399 | * @param array $metadata metadata |
| 400 | * @param array $options call options |
| 401 | * @return \Grpc\UnaryCall |
| 402 | */ |
| 403 | public function CreateFirebaseLink(\Google\Analytics\Admin\V1alpha\CreateFirebaseLinkRequest $argument, |
| 404 | $metadata = [], $options = []) { |
| 405 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateFirebaseLink', |
| 406 | $argument, |
| 407 | ['\Google\Analytics\Admin\V1alpha\FirebaseLink', 'decode'], |
| 408 | $metadata, $options); |
| 409 | } |
| 410 | |
| 411 | /** |
| 412 | * Deletes a FirebaseLink on a property |
| 413 | * @param \Google\Analytics\Admin\V1alpha\DeleteFirebaseLinkRequest $argument input argument |
| 414 | * @param array $metadata metadata |
| 415 | * @param array $options call options |
| 416 | * @return \Grpc\UnaryCall |
| 417 | */ |
| 418 | public function DeleteFirebaseLink(\Google\Analytics\Admin\V1alpha\DeleteFirebaseLinkRequest $argument, |
| 419 | $metadata = [], $options = []) { |
| 420 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteFirebaseLink', |
| 421 | $argument, |
| 422 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 423 | $metadata, $options); |
| 424 | } |
| 425 | |
| 426 | /** |
| 427 | * Lists FirebaseLinks on a property. |
| 428 | * Properties can have at most one FirebaseLink. |
| 429 | * @param \Google\Analytics\Admin\V1alpha\ListFirebaseLinksRequest $argument input argument |
| 430 | * @param array $metadata metadata |
| 431 | * @param array $options call options |
| 432 | * @return \Grpc\UnaryCall |
| 433 | */ |
| 434 | public function ListFirebaseLinks(\Google\Analytics\Admin\V1alpha\ListFirebaseLinksRequest $argument, |
| 435 | $metadata = [], $options = []) { |
| 436 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListFirebaseLinks', |
| 437 | $argument, |
| 438 | ['\Google\Analytics\Admin\V1alpha\ListFirebaseLinksResponse', 'decode'], |
| 439 | $metadata, $options); |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * Returns the Site Tag for the specified web stream. |
| 444 | * Site Tags are immutable singletons. |
| 445 | * @param \Google\Analytics\Admin\V1alpha\GetGlobalSiteTagRequest $argument input argument |
| 446 | * @param array $metadata metadata |
| 447 | * @param array $options call options |
| 448 | * @return \Grpc\UnaryCall |
| 449 | */ |
| 450 | public function GetGlobalSiteTag(\Google\Analytics\Admin\V1alpha\GetGlobalSiteTagRequest $argument, |
| 451 | $metadata = [], $options = []) { |
| 452 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetGlobalSiteTag', |
| 453 | $argument, |
| 454 | ['\Google\Analytics\Admin\V1alpha\GlobalSiteTag', 'decode'], |
| 455 | $metadata, $options); |
| 456 | } |
| 457 | |
| 458 | /** |
| 459 | * Creates a GoogleAdsLink. |
| 460 | * @param \Google\Analytics\Admin\V1alpha\CreateGoogleAdsLinkRequest $argument input argument |
| 461 | * @param array $metadata metadata |
| 462 | * @param array $options call options |
| 463 | * @return \Grpc\UnaryCall |
| 464 | */ |
| 465 | public function CreateGoogleAdsLink(\Google\Analytics\Admin\V1alpha\CreateGoogleAdsLinkRequest $argument, |
| 466 | $metadata = [], $options = []) { |
| 467 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateGoogleAdsLink', |
| 468 | $argument, |
| 469 | ['\Google\Analytics\Admin\V1alpha\GoogleAdsLink', 'decode'], |
| 470 | $metadata, $options); |
| 471 | } |
| 472 | |
| 473 | /** |
| 474 | * Updates a GoogleAdsLink on a property |
| 475 | * @param \Google\Analytics\Admin\V1alpha\UpdateGoogleAdsLinkRequest $argument input argument |
| 476 | * @param array $metadata metadata |
| 477 | * @param array $options call options |
| 478 | * @return \Grpc\UnaryCall |
| 479 | */ |
| 480 | public function UpdateGoogleAdsLink(\Google\Analytics\Admin\V1alpha\UpdateGoogleAdsLinkRequest $argument, |
| 481 | $metadata = [], $options = []) { |
| 482 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateGoogleAdsLink', |
| 483 | $argument, |
| 484 | ['\Google\Analytics\Admin\V1alpha\GoogleAdsLink', 'decode'], |
| 485 | $metadata, $options); |
| 486 | } |
| 487 | |
| 488 | /** |
| 489 | * Deletes a GoogleAdsLink on a property |
| 490 | * @param \Google\Analytics\Admin\V1alpha\DeleteGoogleAdsLinkRequest $argument input argument |
| 491 | * @param array $metadata metadata |
| 492 | * @param array $options call options |
| 493 | * @return \Grpc\UnaryCall |
| 494 | */ |
| 495 | public function DeleteGoogleAdsLink(\Google\Analytics\Admin\V1alpha\DeleteGoogleAdsLinkRequest $argument, |
| 496 | $metadata = [], $options = []) { |
| 497 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteGoogleAdsLink', |
| 498 | $argument, |
| 499 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 500 | $metadata, $options); |
| 501 | } |
| 502 | |
| 503 | /** |
| 504 | * Lists GoogleAdsLinks on a property. |
| 505 | * @param \Google\Analytics\Admin\V1alpha\ListGoogleAdsLinksRequest $argument input argument |
| 506 | * @param array $metadata metadata |
| 507 | * @param array $options call options |
| 508 | * @return \Grpc\UnaryCall |
| 509 | */ |
| 510 | public function ListGoogleAdsLinks(\Google\Analytics\Admin\V1alpha\ListGoogleAdsLinksRequest $argument, |
| 511 | $metadata = [], $options = []) { |
| 512 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListGoogleAdsLinks', |
| 513 | $argument, |
| 514 | ['\Google\Analytics\Admin\V1alpha\ListGoogleAdsLinksResponse', 'decode'], |
| 515 | $metadata, $options); |
| 516 | } |
| 517 | |
| 518 | /** |
| 519 | * Get data sharing settings on an account. |
| 520 | * Data sharing settings are singletons. |
| 521 | * @param \Google\Analytics\Admin\V1alpha\GetDataSharingSettingsRequest $argument input argument |
| 522 | * @param array $metadata metadata |
| 523 | * @param array $options call options |
| 524 | * @return \Grpc\UnaryCall |
| 525 | */ |
| 526 | public function GetDataSharingSettings(\Google\Analytics\Admin\V1alpha\GetDataSharingSettingsRequest $argument, |
| 527 | $metadata = [], $options = []) { |
| 528 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetDataSharingSettings', |
| 529 | $argument, |
| 530 | ['\Google\Analytics\Admin\V1alpha\DataSharingSettings', 'decode'], |
| 531 | $metadata, $options); |
| 532 | } |
| 533 | |
| 534 | /** |
| 535 | * Lookup for a single "GA4" MeasurementProtocolSecret. |
| 536 | * @param \Google\Analytics\Admin\V1alpha\GetMeasurementProtocolSecretRequest $argument input argument |
| 537 | * @param array $metadata metadata |
| 538 | * @param array $options call options |
| 539 | * @return \Grpc\UnaryCall |
| 540 | */ |
| 541 | public function GetMeasurementProtocolSecret(\Google\Analytics\Admin\V1alpha\GetMeasurementProtocolSecretRequest $argument, |
| 542 | $metadata = [], $options = []) { |
| 543 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetMeasurementProtocolSecret', |
| 544 | $argument, |
| 545 | ['\Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret', 'decode'], |
| 546 | $metadata, $options); |
| 547 | } |
| 548 | |
| 549 | /** |
| 550 | * Returns child MeasurementProtocolSecrets under the specified parent |
| 551 | * Property. |
| 552 | * @param \Google\Analytics\Admin\V1alpha\ListMeasurementProtocolSecretsRequest $argument input argument |
| 553 | * @param array $metadata metadata |
| 554 | * @param array $options call options |
| 555 | * @return \Grpc\UnaryCall |
| 556 | */ |
| 557 | public function ListMeasurementProtocolSecrets(\Google\Analytics\Admin\V1alpha\ListMeasurementProtocolSecretsRequest $argument, |
| 558 | $metadata = [], $options = []) { |
| 559 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListMeasurementProtocolSecrets', |
| 560 | $argument, |
| 561 | ['\Google\Analytics\Admin\V1alpha\ListMeasurementProtocolSecretsResponse', 'decode'], |
| 562 | $metadata, $options); |
| 563 | } |
| 564 | |
| 565 | /** |
| 566 | * Creates a measurement protocol secret. |
| 567 | * @param \Google\Analytics\Admin\V1alpha\CreateMeasurementProtocolSecretRequest $argument input argument |
| 568 | * @param array $metadata metadata |
| 569 | * @param array $options call options |
| 570 | * @return \Grpc\UnaryCall |
| 571 | */ |
| 572 | public function CreateMeasurementProtocolSecret(\Google\Analytics\Admin\V1alpha\CreateMeasurementProtocolSecretRequest $argument, |
| 573 | $metadata = [], $options = []) { |
| 574 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateMeasurementProtocolSecret', |
| 575 | $argument, |
| 576 | ['\Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret', 'decode'], |
| 577 | $metadata, $options); |
| 578 | } |
| 579 | |
| 580 | /** |
| 581 | * Deletes target MeasurementProtocolSecret. |
| 582 | * @param \Google\Analytics\Admin\V1alpha\DeleteMeasurementProtocolSecretRequest $argument input argument |
| 583 | * @param array $metadata metadata |
| 584 | * @param array $options call options |
| 585 | * @return \Grpc\UnaryCall |
| 586 | */ |
| 587 | public function DeleteMeasurementProtocolSecret(\Google\Analytics\Admin\V1alpha\DeleteMeasurementProtocolSecretRequest $argument, |
| 588 | $metadata = [], $options = []) { |
| 589 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteMeasurementProtocolSecret', |
| 590 | $argument, |
| 591 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 592 | $metadata, $options); |
| 593 | } |
| 594 | |
| 595 | /** |
| 596 | * Updates a measurement protocol secret. |
| 597 | * @param \Google\Analytics\Admin\V1alpha\UpdateMeasurementProtocolSecretRequest $argument input argument |
| 598 | * @param array $metadata metadata |
| 599 | * @param array $options call options |
| 600 | * @return \Grpc\UnaryCall |
| 601 | */ |
| 602 | public function UpdateMeasurementProtocolSecret(\Google\Analytics\Admin\V1alpha\UpdateMeasurementProtocolSecretRequest $argument, |
| 603 | $metadata = [], $options = []) { |
| 604 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateMeasurementProtocolSecret', |
| 605 | $argument, |
| 606 | ['\Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret', 'decode'], |
| 607 | $metadata, $options); |
| 608 | } |
| 609 | |
| 610 | /** |
| 611 | * Acknowledges the terms of user data collection for the specified property. |
| 612 | * |
| 613 | * This acknowledgement must be completed (either in the Google Analytics UI |
| 614 | * or via this API) before MeasurementProtocolSecret resources may be created. |
| 615 | * @param \Google\Analytics\Admin\V1alpha\AcknowledgeUserDataCollectionRequest $argument input argument |
| 616 | * @param array $metadata metadata |
| 617 | * @param array $options call options |
| 618 | * @return \Grpc\UnaryCall |
| 619 | */ |
| 620 | public function AcknowledgeUserDataCollection(\Google\Analytics\Admin\V1alpha\AcknowledgeUserDataCollectionRequest $argument, |
| 621 | $metadata = [], $options = []) { |
| 622 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/AcknowledgeUserDataCollection', |
| 623 | $argument, |
| 624 | ['\Google\Analytics\Admin\V1alpha\AcknowledgeUserDataCollectionResponse', 'decode'], |
| 625 | $metadata, $options); |
| 626 | } |
| 627 | |
| 628 | /** |
| 629 | * Searches through all changes to an account or its children given the |
| 630 | * specified set of filters. |
| 631 | * @param \Google\Analytics\Admin\V1alpha\SearchChangeHistoryEventsRequest $argument input argument |
| 632 | * @param array $metadata metadata |
| 633 | * @param array $options call options |
| 634 | * @return \Grpc\UnaryCall |
| 635 | */ |
| 636 | public function SearchChangeHistoryEvents(\Google\Analytics\Admin\V1alpha\SearchChangeHistoryEventsRequest $argument, |
| 637 | $metadata = [], $options = []) { |
| 638 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/SearchChangeHistoryEvents', |
| 639 | $argument, |
| 640 | ['\Google\Analytics\Admin\V1alpha\SearchChangeHistoryEventsResponse', 'decode'], |
| 641 | $metadata, $options); |
| 642 | } |
| 643 | |
| 644 | /** |
| 645 | * Lookup for Google Signals settings for a property. |
| 646 | * @param \Google\Analytics\Admin\V1alpha\GetGoogleSignalsSettingsRequest $argument input argument |
| 647 | * @param array $metadata metadata |
| 648 | * @param array $options call options |
| 649 | * @return \Grpc\UnaryCall |
| 650 | */ |
| 651 | public function GetGoogleSignalsSettings(\Google\Analytics\Admin\V1alpha\GetGoogleSignalsSettingsRequest $argument, |
| 652 | $metadata = [], $options = []) { |
| 653 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetGoogleSignalsSettings', |
| 654 | $argument, |
| 655 | ['\Google\Analytics\Admin\V1alpha\GoogleSignalsSettings', 'decode'], |
| 656 | $metadata, $options); |
| 657 | } |
| 658 | |
| 659 | /** |
| 660 | * Updates Google Signals settings for a property. |
| 661 | * @param \Google\Analytics\Admin\V1alpha\UpdateGoogleSignalsSettingsRequest $argument input argument |
| 662 | * @param array $metadata metadata |
| 663 | * @param array $options call options |
| 664 | * @return \Grpc\UnaryCall |
| 665 | */ |
| 666 | public function UpdateGoogleSignalsSettings(\Google\Analytics\Admin\V1alpha\UpdateGoogleSignalsSettingsRequest $argument, |
| 667 | $metadata = [], $options = []) { |
| 668 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateGoogleSignalsSettings', |
| 669 | $argument, |
| 670 | ['\Google\Analytics\Admin\V1alpha\GoogleSignalsSettings', 'decode'], |
| 671 | $metadata, $options); |
| 672 | } |
| 673 | |
| 674 | /** |
| 675 | * Creates a conversion event with the specified attributes. |
| 676 | * @param \Google\Analytics\Admin\V1alpha\CreateConversionEventRequest $argument input argument |
| 677 | * @param array $metadata metadata |
| 678 | * @param array $options call options |
| 679 | * @return \Grpc\UnaryCall |
| 680 | */ |
| 681 | public function CreateConversionEvent(\Google\Analytics\Admin\V1alpha\CreateConversionEventRequest $argument, |
| 682 | $metadata = [], $options = []) { |
| 683 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateConversionEvent', |
| 684 | $argument, |
| 685 | ['\Google\Analytics\Admin\V1alpha\ConversionEvent', 'decode'], |
| 686 | $metadata, $options); |
| 687 | } |
| 688 | |
| 689 | /** |
| 690 | * Retrieve a single conversion event. |
| 691 | * @param \Google\Analytics\Admin\V1alpha\GetConversionEventRequest $argument input argument |
| 692 | * @param array $metadata metadata |
| 693 | * @param array $options call options |
| 694 | * @return \Grpc\UnaryCall |
| 695 | */ |
| 696 | public function GetConversionEvent(\Google\Analytics\Admin\V1alpha\GetConversionEventRequest $argument, |
| 697 | $metadata = [], $options = []) { |
| 698 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetConversionEvent', |
| 699 | $argument, |
| 700 | ['\Google\Analytics\Admin\V1alpha\ConversionEvent', 'decode'], |
| 701 | $metadata, $options); |
| 702 | } |
| 703 | |
| 704 | /** |
| 705 | * Deletes a conversion event in a property. |
| 706 | * @param \Google\Analytics\Admin\V1alpha\DeleteConversionEventRequest $argument input argument |
| 707 | * @param array $metadata metadata |
| 708 | * @param array $options call options |
| 709 | * @return \Grpc\UnaryCall |
| 710 | */ |
| 711 | public function DeleteConversionEvent(\Google\Analytics\Admin\V1alpha\DeleteConversionEventRequest $argument, |
| 712 | $metadata = [], $options = []) { |
| 713 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteConversionEvent', |
| 714 | $argument, |
| 715 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 716 | $metadata, $options); |
| 717 | } |
| 718 | |
| 719 | /** |
| 720 | * Returns a list of conversion events in the specified parent property. |
| 721 | * |
| 722 | * Returns an empty list if no conversion events are found. |
| 723 | * @param \Google\Analytics\Admin\V1alpha\ListConversionEventsRequest $argument input argument |
| 724 | * @param array $metadata metadata |
| 725 | * @param array $options call options |
| 726 | * @return \Grpc\UnaryCall |
| 727 | */ |
| 728 | public function ListConversionEvents(\Google\Analytics\Admin\V1alpha\ListConversionEventsRequest $argument, |
| 729 | $metadata = [], $options = []) { |
| 730 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListConversionEvents', |
| 731 | $argument, |
| 732 | ['\Google\Analytics\Admin\V1alpha\ListConversionEventsResponse', 'decode'], |
| 733 | $metadata, $options); |
| 734 | } |
| 735 | |
| 736 | /** |
| 737 | * Look up a single DisplayVideo360AdvertiserLink |
| 738 | * @param \Google\Analytics\Admin\V1alpha\GetDisplayVideo360AdvertiserLinkRequest $argument input argument |
| 739 | * @param array $metadata metadata |
| 740 | * @param array $options call options |
| 741 | * @return \Grpc\UnaryCall |
| 742 | */ |
| 743 | public function GetDisplayVideo360AdvertiserLink(\Google\Analytics\Admin\V1alpha\GetDisplayVideo360AdvertiserLinkRequest $argument, |
| 744 | $metadata = [], $options = []) { |
| 745 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetDisplayVideo360AdvertiserLink', |
| 746 | $argument, |
| 747 | ['\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink', 'decode'], |
| 748 | $metadata, $options); |
| 749 | } |
| 750 | |
| 751 | /** |
| 752 | * Lists all DisplayVideo360AdvertiserLinks on a property. |
| 753 | * @param \Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinksRequest $argument input argument |
| 754 | * @param array $metadata metadata |
| 755 | * @param array $options call options |
| 756 | * @return \Grpc\UnaryCall |
| 757 | */ |
| 758 | public function ListDisplayVideo360AdvertiserLinks(\Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinksRequest $argument, |
| 759 | $metadata = [], $options = []) { |
| 760 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListDisplayVideo360AdvertiserLinks', |
| 761 | $argument, |
| 762 | ['\Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinksResponse', 'decode'], |
| 763 | $metadata, $options); |
| 764 | } |
| 765 | |
| 766 | /** |
| 767 | * Creates a DisplayVideo360AdvertiserLink. |
| 768 | * This can only be utilized by users who have proper authorization both on |
| 769 | * the Google Analytics property and on the Display & Video 360 advertiser. |
| 770 | * Users who do not have access to the Display & Video 360 advertiser should |
| 771 | * instead seek to create a DisplayVideo360LinkProposal. |
| 772 | * @param \Google\Analytics\Admin\V1alpha\CreateDisplayVideo360AdvertiserLinkRequest $argument input argument |
| 773 | * @param array $metadata metadata |
| 774 | * @param array $options call options |
| 775 | * @return \Grpc\UnaryCall |
| 776 | */ |
| 777 | public function CreateDisplayVideo360AdvertiserLink(\Google\Analytics\Admin\V1alpha\CreateDisplayVideo360AdvertiserLinkRequest $argument, |
| 778 | $metadata = [], $options = []) { |
| 779 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateDisplayVideo360AdvertiserLink', |
| 780 | $argument, |
| 781 | ['\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink', 'decode'], |
| 782 | $metadata, $options); |
| 783 | } |
| 784 | |
| 785 | /** |
| 786 | * Deletes a DisplayVideo360AdvertiserLink on a property. |
| 787 | * @param \Google\Analytics\Admin\V1alpha\DeleteDisplayVideo360AdvertiserLinkRequest $argument input argument |
| 788 | * @param array $metadata metadata |
| 789 | * @param array $options call options |
| 790 | * @return \Grpc\UnaryCall |
| 791 | */ |
| 792 | public function DeleteDisplayVideo360AdvertiserLink(\Google\Analytics\Admin\V1alpha\DeleteDisplayVideo360AdvertiserLinkRequest $argument, |
| 793 | $metadata = [], $options = []) { |
| 794 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDisplayVideo360AdvertiserLink', |
| 795 | $argument, |
| 796 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 797 | $metadata, $options); |
| 798 | } |
| 799 | |
| 800 | /** |
| 801 | * Updates a DisplayVideo360AdvertiserLink on a property. |
| 802 | * @param \Google\Analytics\Admin\V1alpha\UpdateDisplayVideo360AdvertiserLinkRequest $argument input argument |
| 803 | * @param array $metadata metadata |
| 804 | * @param array $options call options |
| 805 | * @return \Grpc\UnaryCall |
| 806 | */ |
| 807 | public function UpdateDisplayVideo360AdvertiserLink(\Google\Analytics\Admin\V1alpha\UpdateDisplayVideo360AdvertiserLinkRequest $argument, |
| 808 | $metadata = [], $options = []) { |
| 809 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateDisplayVideo360AdvertiserLink', |
| 810 | $argument, |
| 811 | ['\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink', 'decode'], |
| 812 | $metadata, $options); |
| 813 | } |
| 814 | |
| 815 | /** |
| 816 | * Lookup for a single DisplayVideo360AdvertiserLinkProposal. |
| 817 | * @param \Google\Analytics\Admin\V1alpha\GetDisplayVideo360AdvertiserLinkProposalRequest $argument input argument |
| 818 | * @param array $metadata metadata |
| 819 | * @param array $options call options |
| 820 | * @return \Grpc\UnaryCall |
| 821 | */ |
| 822 | public function GetDisplayVideo360AdvertiserLinkProposal(\Google\Analytics\Admin\V1alpha\GetDisplayVideo360AdvertiserLinkProposalRequest $argument, |
| 823 | $metadata = [], $options = []) { |
| 824 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetDisplayVideo360AdvertiserLinkProposal', |
| 825 | $argument, |
| 826 | ['\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal', 'decode'], |
| 827 | $metadata, $options); |
| 828 | } |
| 829 | |
| 830 | /** |
| 831 | * Lists DisplayVideo360AdvertiserLinkProposals on a property. |
| 832 | * @param \Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinkProposalsRequest $argument input argument |
| 833 | * @param array $metadata metadata |
| 834 | * @param array $options call options |
| 835 | * @return \Grpc\UnaryCall |
| 836 | */ |
| 837 | public function ListDisplayVideo360AdvertiserLinkProposals(\Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinkProposalsRequest $argument, |
| 838 | $metadata = [], $options = []) { |
| 839 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListDisplayVideo360AdvertiserLinkProposals', |
| 840 | $argument, |
| 841 | ['\Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinkProposalsResponse', 'decode'], |
| 842 | $metadata, $options); |
| 843 | } |
| 844 | |
| 845 | /** |
| 846 | * Creates a DisplayVideo360AdvertiserLinkProposal. |
| 847 | * @param \Google\Analytics\Admin\V1alpha\CreateDisplayVideo360AdvertiserLinkProposalRequest $argument input argument |
| 848 | * @param array $metadata metadata |
| 849 | * @param array $options call options |
| 850 | * @return \Grpc\UnaryCall |
| 851 | */ |
| 852 | public function CreateDisplayVideo360AdvertiserLinkProposal(\Google\Analytics\Admin\V1alpha\CreateDisplayVideo360AdvertiserLinkProposalRequest $argument, |
| 853 | $metadata = [], $options = []) { |
| 854 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateDisplayVideo360AdvertiserLinkProposal', |
| 855 | $argument, |
| 856 | ['\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal', 'decode'], |
| 857 | $metadata, $options); |
| 858 | } |
| 859 | |
| 860 | /** |
| 861 | * Deletes a DisplayVideo360AdvertiserLinkProposal on a property. |
| 862 | * This can only be used on cancelled proposals. |
| 863 | * @param \Google\Analytics\Admin\V1alpha\DeleteDisplayVideo360AdvertiserLinkProposalRequest $argument input argument |
| 864 | * @param array $metadata metadata |
| 865 | * @param array $options call options |
| 866 | * @return \Grpc\UnaryCall |
| 867 | */ |
| 868 | public function DeleteDisplayVideo360AdvertiserLinkProposal(\Google\Analytics\Admin\V1alpha\DeleteDisplayVideo360AdvertiserLinkProposalRequest $argument, |
| 869 | $metadata = [], $options = []) { |
| 870 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDisplayVideo360AdvertiserLinkProposal', |
| 871 | $argument, |
| 872 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 873 | $metadata, $options); |
| 874 | } |
| 875 | |
| 876 | /** |
| 877 | * Approves a DisplayVideo360AdvertiserLinkProposal. |
| 878 | * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new |
| 879 | * DisplayVideo360AdvertiserLink will be created. |
| 880 | * @param \Google\Analytics\Admin\V1alpha\ApproveDisplayVideo360AdvertiserLinkProposalRequest $argument input argument |
| 881 | * @param array $metadata metadata |
| 882 | * @param array $options call options |
| 883 | * @return \Grpc\UnaryCall |
| 884 | */ |
| 885 | public function ApproveDisplayVideo360AdvertiserLinkProposal(\Google\Analytics\Admin\V1alpha\ApproveDisplayVideo360AdvertiserLinkProposalRequest $argument, |
| 886 | $metadata = [], $options = []) { |
| 887 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ApproveDisplayVideo360AdvertiserLinkProposal', |
| 888 | $argument, |
| 889 | ['\Google\Analytics\Admin\V1alpha\ApproveDisplayVideo360AdvertiserLinkProposalResponse', 'decode'], |
| 890 | $metadata, $options); |
| 891 | } |
| 892 | |
| 893 | /** |
| 894 | * Cancels a DisplayVideo360AdvertiserLinkProposal. |
| 895 | * Cancelling can mean either: |
| 896 | * - Declining a proposal initiated from Display & Video 360 |
| 897 | * - Withdrawing a proposal initiated from Google Analytics |
| 898 | * After being cancelled, a proposal will eventually be deleted automatically. |
| 899 | * @param \Google\Analytics\Admin\V1alpha\CancelDisplayVideo360AdvertiserLinkProposalRequest $argument input argument |
| 900 | * @param array $metadata metadata |
| 901 | * @param array $options call options |
| 902 | * @return \Grpc\UnaryCall |
| 903 | */ |
| 904 | public function CancelDisplayVideo360AdvertiserLinkProposal(\Google\Analytics\Admin\V1alpha\CancelDisplayVideo360AdvertiserLinkProposalRequest $argument, |
| 905 | $metadata = [], $options = []) { |
| 906 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CancelDisplayVideo360AdvertiserLinkProposal', |
| 907 | $argument, |
| 908 | ['\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal', 'decode'], |
| 909 | $metadata, $options); |
| 910 | } |
| 911 | |
| 912 | /** |
| 913 | * Creates a CustomDimension. |
| 914 | * @param \Google\Analytics\Admin\V1alpha\CreateCustomDimensionRequest $argument input argument |
| 915 | * @param array $metadata metadata |
| 916 | * @param array $options call options |
| 917 | * @return \Grpc\UnaryCall |
| 918 | */ |
| 919 | public function CreateCustomDimension(\Google\Analytics\Admin\V1alpha\CreateCustomDimensionRequest $argument, |
| 920 | $metadata = [], $options = []) { |
| 921 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateCustomDimension', |
| 922 | $argument, |
| 923 | ['\Google\Analytics\Admin\V1alpha\CustomDimension', 'decode'], |
| 924 | $metadata, $options); |
| 925 | } |
| 926 | |
| 927 | /** |
| 928 | * Updates a CustomDimension on a property. |
| 929 | * @param \Google\Analytics\Admin\V1alpha\UpdateCustomDimensionRequest $argument input argument |
| 930 | * @param array $metadata metadata |
| 931 | * @param array $options call options |
| 932 | * @return \Grpc\UnaryCall |
| 933 | */ |
| 934 | public function UpdateCustomDimension(\Google\Analytics\Admin\V1alpha\UpdateCustomDimensionRequest $argument, |
| 935 | $metadata = [], $options = []) { |
| 936 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateCustomDimension', |
| 937 | $argument, |
| 938 | ['\Google\Analytics\Admin\V1alpha\CustomDimension', 'decode'], |
| 939 | $metadata, $options); |
| 940 | } |
| 941 | |
| 942 | /** |
| 943 | * Lists CustomDimensions on a property. |
| 944 | * @param \Google\Analytics\Admin\V1alpha\ListCustomDimensionsRequest $argument input argument |
| 945 | * @param array $metadata metadata |
| 946 | * @param array $options call options |
| 947 | * @return \Grpc\UnaryCall |
| 948 | */ |
| 949 | public function ListCustomDimensions(\Google\Analytics\Admin\V1alpha\ListCustomDimensionsRequest $argument, |
| 950 | $metadata = [], $options = []) { |
| 951 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListCustomDimensions', |
| 952 | $argument, |
| 953 | ['\Google\Analytics\Admin\V1alpha\ListCustomDimensionsResponse', 'decode'], |
| 954 | $metadata, $options); |
| 955 | } |
| 956 | |
| 957 | /** |
| 958 | * Archives a CustomDimension on a property. |
| 959 | * @param \Google\Analytics\Admin\V1alpha\ArchiveCustomDimensionRequest $argument input argument |
| 960 | * @param array $metadata metadata |
| 961 | * @param array $options call options |
| 962 | * @return \Grpc\UnaryCall |
| 963 | */ |
| 964 | public function ArchiveCustomDimension(\Google\Analytics\Admin\V1alpha\ArchiveCustomDimensionRequest $argument, |
| 965 | $metadata = [], $options = []) { |
| 966 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ArchiveCustomDimension', |
| 967 | $argument, |
| 968 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 969 | $metadata, $options); |
| 970 | } |
| 971 | |
| 972 | /** |
| 973 | * Lookup for a single CustomDimension. |
| 974 | * @param \Google\Analytics\Admin\V1alpha\GetCustomDimensionRequest $argument input argument |
| 975 | * @param array $metadata metadata |
| 976 | * @param array $options call options |
| 977 | * @return \Grpc\UnaryCall |
| 978 | */ |
| 979 | public function GetCustomDimension(\Google\Analytics\Admin\V1alpha\GetCustomDimensionRequest $argument, |
| 980 | $metadata = [], $options = []) { |
| 981 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetCustomDimension', |
| 982 | $argument, |
| 983 | ['\Google\Analytics\Admin\V1alpha\CustomDimension', 'decode'], |
| 984 | $metadata, $options); |
| 985 | } |
| 986 | |
| 987 | /** |
| 988 | * Creates a CustomMetric. |
| 989 | * @param \Google\Analytics\Admin\V1alpha\CreateCustomMetricRequest $argument input argument |
| 990 | * @param array $metadata metadata |
| 991 | * @param array $options call options |
| 992 | * @return \Grpc\UnaryCall |
| 993 | */ |
| 994 | public function CreateCustomMetric(\Google\Analytics\Admin\V1alpha\CreateCustomMetricRequest $argument, |
| 995 | $metadata = [], $options = []) { |
| 996 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateCustomMetric', |
| 997 | $argument, |
| 998 | ['\Google\Analytics\Admin\V1alpha\CustomMetric', 'decode'], |
| 999 | $metadata, $options); |
| 1000 | } |
| 1001 | |
| 1002 | /** |
| 1003 | * Updates a CustomMetric on a property. |
| 1004 | * @param \Google\Analytics\Admin\V1alpha\UpdateCustomMetricRequest $argument input argument |
| 1005 | * @param array $metadata metadata |
| 1006 | * @param array $options call options |
| 1007 | * @return \Grpc\UnaryCall |
| 1008 | */ |
| 1009 | public function UpdateCustomMetric(\Google\Analytics\Admin\V1alpha\UpdateCustomMetricRequest $argument, |
| 1010 | $metadata = [], $options = []) { |
| 1011 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateCustomMetric', |
| 1012 | $argument, |
| 1013 | ['\Google\Analytics\Admin\V1alpha\CustomMetric', 'decode'], |
| 1014 | $metadata, $options); |
| 1015 | } |
| 1016 | |
| 1017 | /** |
| 1018 | * Lists CustomMetrics on a property. |
| 1019 | * @param \Google\Analytics\Admin\V1alpha\ListCustomMetricsRequest $argument input argument |
| 1020 | * @param array $metadata metadata |
| 1021 | * @param array $options call options |
| 1022 | * @return \Grpc\UnaryCall |
| 1023 | */ |
| 1024 | public function ListCustomMetrics(\Google\Analytics\Admin\V1alpha\ListCustomMetricsRequest $argument, |
| 1025 | $metadata = [], $options = []) { |
| 1026 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListCustomMetrics', |
| 1027 | $argument, |
| 1028 | ['\Google\Analytics\Admin\V1alpha\ListCustomMetricsResponse', 'decode'], |
| 1029 | $metadata, $options); |
| 1030 | } |
| 1031 | |
| 1032 | /** |
| 1033 | * Archives a CustomMetric on a property. |
| 1034 | * @param \Google\Analytics\Admin\V1alpha\ArchiveCustomMetricRequest $argument input argument |
| 1035 | * @param array $metadata metadata |
| 1036 | * @param array $options call options |
| 1037 | * @return \Grpc\UnaryCall |
| 1038 | */ |
| 1039 | public function ArchiveCustomMetric(\Google\Analytics\Admin\V1alpha\ArchiveCustomMetricRequest $argument, |
| 1040 | $metadata = [], $options = []) { |
| 1041 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ArchiveCustomMetric', |
| 1042 | $argument, |
| 1043 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 1044 | $metadata, $options); |
| 1045 | } |
| 1046 | |
| 1047 | /** |
| 1048 | * Lookup for a single CustomMetric. |
| 1049 | * @param \Google\Analytics\Admin\V1alpha\GetCustomMetricRequest $argument input argument |
| 1050 | * @param array $metadata metadata |
| 1051 | * @param array $options call options |
| 1052 | * @return \Grpc\UnaryCall |
| 1053 | */ |
| 1054 | public function GetCustomMetric(\Google\Analytics\Admin\V1alpha\GetCustomMetricRequest $argument, |
| 1055 | $metadata = [], $options = []) { |
| 1056 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetCustomMetric', |
| 1057 | $argument, |
| 1058 | ['\Google\Analytics\Admin\V1alpha\CustomMetric', 'decode'], |
| 1059 | $metadata, $options); |
| 1060 | } |
| 1061 | |
| 1062 | /** |
| 1063 | * Returns the singleton data retention settings for this property. |
| 1064 | * @param \Google\Analytics\Admin\V1alpha\GetDataRetentionSettingsRequest $argument input argument |
| 1065 | * @param array $metadata metadata |
| 1066 | * @param array $options call options |
| 1067 | * @return \Grpc\UnaryCall |
| 1068 | */ |
| 1069 | public function GetDataRetentionSettings(\Google\Analytics\Admin\V1alpha\GetDataRetentionSettingsRequest $argument, |
| 1070 | $metadata = [], $options = []) { |
| 1071 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetDataRetentionSettings', |
| 1072 | $argument, |
| 1073 | ['\Google\Analytics\Admin\V1alpha\DataRetentionSettings', 'decode'], |
| 1074 | $metadata, $options); |
| 1075 | } |
| 1076 | |
| 1077 | /** |
| 1078 | * Updates the singleton data retention settings for this property. |
| 1079 | * @param \Google\Analytics\Admin\V1alpha\UpdateDataRetentionSettingsRequest $argument input argument |
| 1080 | * @param array $metadata metadata |
| 1081 | * @param array $options call options |
| 1082 | * @return \Grpc\UnaryCall |
| 1083 | */ |
| 1084 | public function UpdateDataRetentionSettings(\Google\Analytics\Admin\V1alpha\UpdateDataRetentionSettingsRequest $argument, |
| 1085 | $metadata = [], $options = []) { |
| 1086 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateDataRetentionSettings', |
| 1087 | $argument, |
| 1088 | ['\Google\Analytics\Admin\V1alpha\DataRetentionSettings', 'decode'], |
| 1089 | $metadata, $options); |
| 1090 | } |
| 1091 | |
| 1092 | /** |
| 1093 | * Creates a DataStream. |
| 1094 | * @param \Google\Analytics\Admin\V1alpha\CreateDataStreamRequest $argument input argument |
| 1095 | * @param array $metadata metadata |
| 1096 | * @param array $options call options |
| 1097 | * @return \Grpc\UnaryCall |
| 1098 | */ |
| 1099 | public function CreateDataStream(\Google\Analytics\Admin\V1alpha\CreateDataStreamRequest $argument, |
| 1100 | $metadata = [], $options = []) { |
| 1101 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateDataStream', |
| 1102 | $argument, |
| 1103 | ['\Google\Analytics\Admin\V1alpha\DataStream', 'decode'], |
| 1104 | $metadata, $options); |
| 1105 | } |
| 1106 | |
| 1107 | /** |
| 1108 | * Deletes a DataStream on a property. |
| 1109 | * @param \Google\Analytics\Admin\V1alpha\DeleteDataStreamRequest $argument input argument |
| 1110 | * @param array $metadata metadata |
| 1111 | * @param array $options call options |
| 1112 | * @return \Grpc\UnaryCall |
| 1113 | */ |
| 1114 | public function DeleteDataStream(\Google\Analytics\Admin\V1alpha\DeleteDataStreamRequest $argument, |
| 1115 | $metadata = [], $options = []) { |
| 1116 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDataStream', |
| 1117 | $argument, |
| 1118 | ['\Google\Protobuf\GPBEmpty', 'decode'], |
| 1119 | $metadata, $options); |
| 1120 | } |
| 1121 | |
| 1122 | /** |
| 1123 | * Updates a DataStream on a property. |
| 1124 | * @param \Google\Analytics\Admin\V1alpha\UpdateDataStreamRequest $argument input argument |
| 1125 | * @param array $metadata metadata |
| 1126 | * @param array $options call options |
| 1127 | * @return \Grpc\UnaryCall |
| 1128 | */ |
| 1129 | public function UpdateDataStream(\Google\Analytics\Admin\V1alpha\UpdateDataStreamRequest $argument, |
| 1130 | $metadata = [], $options = []) { |
| 1131 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateDataStream', |
| 1132 | $argument, |
| 1133 | ['\Google\Analytics\Admin\V1alpha\DataStream', 'decode'], |
| 1134 | $metadata, $options); |
| 1135 | } |
| 1136 | |
| 1137 | /** |
| 1138 | * Lists DataStreams on a property. |
| 1139 | * @param \Google\Analytics\Admin\V1alpha\ListDataStreamsRequest $argument input argument |
| 1140 | * @param array $metadata metadata |
| 1141 | * @param array $options call options |
| 1142 | * @return \Grpc\UnaryCall |
| 1143 | */ |
| 1144 | public function ListDataStreams(\Google\Analytics\Admin\V1alpha\ListDataStreamsRequest $argument, |
| 1145 | $metadata = [], $options = []) { |
| 1146 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListDataStreams', |
| 1147 | $argument, |
| 1148 | ['\Google\Analytics\Admin\V1alpha\ListDataStreamsResponse', 'decode'], |
| 1149 | $metadata, $options); |
| 1150 | } |
| 1151 | |
| 1152 | /** |
| 1153 | * Lookup for a single DataStream. |
| 1154 | * @param \Google\Analytics\Admin\V1alpha\GetDataStreamRequest $argument input argument |
| 1155 | * @param array $metadata metadata |
| 1156 | * @param array $options call options |
| 1157 | * @return \Grpc\UnaryCall |
| 1158 | */ |
| 1159 | public function GetDataStream(\Google\Analytics\Admin\V1alpha\GetDataStreamRequest $argument, |
| 1160 | $metadata = [], $options = []) { |
| 1161 | return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetDataStream', |
| 1162 | $argument, |
| 1163 | ['\Google\Analytics\Admin\V1alpha\DataStream', 'decode'], |
| 1164 | $metadata, $options); |
| 1165 | } |
| 1166 | |
| 1167 | } |
| 1168 |