googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
cloud
/
AnalyticsAdmin
/
src
/
V1alpha
/
DataSharingSettings.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
DataSharingSettings.php
263 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 data sharing settings of a Google Analytics |
| 13 | * account. |
| 14 | * |
| 15 | * Generated from protobuf message <code>google.analytics.admin.v1alpha.DataSharingSettings</code> |
| 16 | */ |
| 17 | class DataSharingSettings extends \Google\Protobuf\Internal\Message |
| 18 | { |
| 19 | /** |
| 20 | * Output only. Resource name. |
| 21 | * Format: accounts/{account}/dataSharingSettings |
| 22 | * Example: "accounts/1000/dataSharingSettings" |
| 23 | * |
| 24 | * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 25 | */ |
| 26 | private $name = ''; |
| 27 | /** |
| 28 | * Allows Google support to access the data in order to help troubleshoot |
| 29 | * issues. |
| 30 | * |
| 31 | * Generated from protobuf field <code>bool sharing_with_google_support_enabled = 2;</code> |
| 32 | */ |
| 33 | private $sharing_with_google_support_enabled = false; |
| 34 | /** |
| 35 | * Allows Google sales teams that are assigned to the customer to access the |
| 36 | * data in order to suggest configuration changes to improve results. |
| 37 | * Sales team restrictions still apply when enabled. |
| 38 | * |
| 39 | * Generated from protobuf field <code>bool sharing_with_google_assigned_sales_enabled = 3;</code> |
| 40 | */ |
| 41 | private $sharing_with_google_assigned_sales_enabled = false; |
| 42 | /** |
| 43 | * Allows any of Google sales to access the data in order to suggest |
| 44 | * configuration changes to improve results. |
| 45 | * |
| 46 | * Generated from protobuf field <code>bool sharing_with_google_any_sales_enabled = 4;</code> |
| 47 | */ |
| 48 | private $sharing_with_google_any_sales_enabled = false; |
| 49 | /** |
| 50 | * Allows Google to use the data to improve other Google products or services. |
| 51 | * |
| 52 | * Generated from protobuf field <code>bool sharing_with_google_products_enabled = 5;</code> |
| 53 | */ |
| 54 | private $sharing_with_google_products_enabled = false; |
| 55 | /** |
| 56 | * Allows Google to share the data anonymously in aggregate form with others. |
| 57 | * |
| 58 | * Generated from protobuf field <code>bool sharing_with_others_enabled = 6;</code> |
| 59 | */ |
| 60 | private $sharing_with_others_enabled = false; |
| 61 | |
| 62 | /** |
| 63 | * Constructor. |
| 64 | * |
| 65 | * @param array $data { |
| 66 | * Optional. Data for populating the Message object. |
| 67 | * |
| 68 | * @type string $name |
| 69 | * Output only. Resource name. |
| 70 | * Format: accounts/{account}/dataSharingSettings |
| 71 | * Example: "accounts/1000/dataSharingSettings" |
| 72 | * @type bool $sharing_with_google_support_enabled |
| 73 | * Allows Google support to access the data in order to help troubleshoot |
| 74 | * issues. |
| 75 | * @type bool $sharing_with_google_assigned_sales_enabled |
| 76 | * Allows Google sales teams that are assigned to the customer to access the |
| 77 | * data in order to suggest configuration changes to improve results. |
| 78 | * Sales team restrictions still apply when enabled. |
| 79 | * @type bool $sharing_with_google_any_sales_enabled |
| 80 | * Allows any of Google sales to access the data in order to suggest |
| 81 | * configuration changes to improve results. |
| 82 | * @type bool $sharing_with_google_products_enabled |
| 83 | * Allows Google to use the data to improve other Google products or services. |
| 84 | * @type bool $sharing_with_others_enabled |
| 85 | * Allows Google to share the data anonymously in aggregate form with others. |
| 86 | * } |
| 87 | */ |
| 88 | public function __construct($data = NULL) { |
| 89 | \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); |
| 90 | parent::__construct($data); |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * Output only. Resource name. |
| 95 | * Format: accounts/{account}/dataSharingSettings |
| 96 | * Example: "accounts/1000/dataSharingSettings" |
| 97 | * |
| 98 | * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 99 | * @return string |
| 100 | */ |
| 101 | public function getName() |
| 102 | { |
| 103 | return $this->name; |
| 104 | } |
| 105 | |
| 106 | /** |
| 107 | * Output only. Resource name. |
| 108 | * Format: accounts/{account}/dataSharingSettings |
| 109 | * Example: "accounts/1000/dataSharingSettings" |
| 110 | * |
| 111 | * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 112 | * @param string $var |
| 113 | * @return $this |
| 114 | */ |
| 115 | public function setName($var) |
| 116 | { |
| 117 | GPBUtil::checkString($var, True); |
| 118 | $this->name = $var; |
| 119 | |
| 120 | return $this; |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * Allows Google support to access the data in order to help troubleshoot |
| 125 | * issues. |
| 126 | * |
| 127 | * Generated from protobuf field <code>bool sharing_with_google_support_enabled = 2;</code> |
| 128 | * @return bool |
| 129 | */ |
| 130 | public function getSharingWithGoogleSupportEnabled() |
| 131 | { |
| 132 | return $this->sharing_with_google_support_enabled; |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * Allows Google support to access the data in order to help troubleshoot |
| 137 | * issues. |
| 138 | * |
| 139 | * Generated from protobuf field <code>bool sharing_with_google_support_enabled = 2;</code> |
| 140 | * @param bool $var |
| 141 | * @return $this |
| 142 | */ |
| 143 | public function setSharingWithGoogleSupportEnabled($var) |
| 144 | { |
| 145 | GPBUtil::checkBool($var); |
| 146 | $this->sharing_with_google_support_enabled = $var; |
| 147 | |
| 148 | return $this; |
| 149 | } |
| 150 | |
| 151 | /** |
| 152 | * Allows Google sales teams that are assigned to the customer to access the |
| 153 | * data in order to suggest configuration changes to improve results. |
| 154 | * Sales team restrictions still apply when enabled. |
| 155 | * |
| 156 | * Generated from protobuf field <code>bool sharing_with_google_assigned_sales_enabled = 3;</code> |
| 157 | * @return bool |
| 158 | */ |
| 159 | public function getSharingWithGoogleAssignedSalesEnabled() |
| 160 | { |
| 161 | return $this->sharing_with_google_assigned_sales_enabled; |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * Allows Google sales teams that are assigned to the customer to access the |
| 166 | * data in order to suggest configuration changes to improve results. |
| 167 | * Sales team restrictions still apply when enabled. |
| 168 | * |
| 169 | * Generated from protobuf field <code>bool sharing_with_google_assigned_sales_enabled = 3;</code> |
| 170 | * @param bool $var |
| 171 | * @return $this |
| 172 | */ |
| 173 | public function setSharingWithGoogleAssignedSalesEnabled($var) |
| 174 | { |
| 175 | GPBUtil::checkBool($var); |
| 176 | $this->sharing_with_google_assigned_sales_enabled = $var; |
| 177 | |
| 178 | return $this; |
| 179 | } |
| 180 | |
| 181 | /** |
| 182 | * Allows any of Google sales to access the data in order to suggest |
| 183 | * configuration changes to improve results. |
| 184 | * |
| 185 | * Generated from protobuf field <code>bool sharing_with_google_any_sales_enabled = 4;</code> |
| 186 | * @return bool |
| 187 | */ |
| 188 | public function getSharingWithGoogleAnySalesEnabled() |
| 189 | { |
| 190 | return $this->sharing_with_google_any_sales_enabled; |
| 191 | } |
| 192 | |
| 193 | /** |
| 194 | * Allows any of Google sales to access the data in order to suggest |
| 195 | * configuration changes to improve results. |
| 196 | * |
| 197 | * Generated from protobuf field <code>bool sharing_with_google_any_sales_enabled = 4;</code> |
| 198 | * @param bool $var |
| 199 | * @return $this |
| 200 | */ |
| 201 | public function setSharingWithGoogleAnySalesEnabled($var) |
| 202 | { |
| 203 | GPBUtil::checkBool($var); |
| 204 | $this->sharing_with_google_any_sales_enabled = $var; |
| 205 | |
| 206 | return $this; |
| 207 | } |
| 208 | |
| 209 | /** |
| 210 | * Allows Google to use the data to improve other Google products or services. |
| 211 | * |
| 212 | * Generated from protobuf field <code>bool sharing_with_google_products_enabled = 5;</code> |
| 213 | * @return bool |
| 214 | */ |
| 215 | public function getSharingWithGoogleProductsEnabled() |
| 216 | { |
| 217 | return $this->sharing_with_google_products_enabled; |
| 218 | } |
| 219 | |
| 220 | /** |
| 221 | * Allows Google to use the data to improve other Google products or services. |
| 222 | * |
| 223 | * Generated from protobuf field <code>bool sharing_with_google_products_enabled = 5;</code> |
| 224 | * @param bool $var |
| 225 | * @return $this |
| 226 | */ |
| 227 | public function setSharingWithGoogleProductsEnabled($var) |
| 228 | { |
| 229 | GPBUtil::checkBool($var); |
| 230 | $this->sharing_with_google_products_enabled = $var; |
| 231 | |
| 232 | return $this; |
| 233 | } |
| 234 | |
| 235 | /** |
| 236 | * Allows Google to share the data anonymously in aggregate form with others. |
| 237 | * |
| 238 | * Generated from protobuf field <code>bool sharing_with_others_enabled = 6;</code> |
| 239 | * @return bool |
| 240 | */ |
| 241 | public function getSharingWithOthersEnabled() |
| 242 | { |
| 243 | return $this->sharing_with_others_enabled; |
| 244 | } |
| 245 | |
| 246 | /** |
| 247 | * Allows Google to share the data anonymously in aggregate form with others. |
| 248 | * |
| 249 | * Generated from protobuf field <code>bool sharing_with_others_enabled = 6;</code> |
| 250 | * @param bool $var |
| 251 | * @return $this |
| 252 | */ |
| 253 | public function setSharingWithOthersEnabled($var) |
| 254 | { |
| 255 | GPBUtil::checkBool($var); |
| 256 | $this->sharing_with_others_enabled = $var; |
| 257 | |
| 258 | return $this; |
| 259 | } |
| 260 | |
| 261 | } |
| 262 | |
| 263 |