googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
cloud
/
AnalyticsAdmin
/
src
/
V1alpha
/
LinkProposalState.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
LinkProposalState.php
98 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 UnexpectedValueException; |
| 8 | |
| 9 | /** |
| 10 | * The state of a link proposal resource. |
| 11 | * |
| 12 | * Protobuf type <code>google.analytics.admin.v1alpha.LinkProposalState</code> |
| 13 | */ |
| 14 | class LinkProposalState |
| 15 | { |
| 16 | /** |
| 17 | * Unspecified state |
| 18 | * |
| 19 | * Generated from protobuf enum <code>LINK_PROPOSAL_STATE_UNSPECIFIED = 0;</code> |
| 20 | */ |
| 21 | const LINK_PROPOSAL_STATE_UNSPECIFIED = 0; |
| 22 | /** |
| 23 | * This proposal is awaiting review from a Google Analytics user. This |
| 24 | * proposal will automatically expire after some time. |
| 25 | * |
| 26 | * Generated from protobuf enum <code>AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS = 1;</code> |
| 27 | */ |
| 28 | const AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS = 1; |
| 29 | /** |
| 30 | * This proposal is awaiting review from a user of a linked product. This |
| 31 | * proposal will automatically expire after some time. |
| 32 | * |
| 33 | * Generated from protobuf enum <code>AWAITING_REVIEW_FROM_LINKED_PRODUCT = 2;</code> |
| 34 | */ |
| 35 | const AWAITING_REVIEW_FROM_LINKED_PRODUCT = 2; |
| 36 | /** |
| 37 | * This proposal has been withdrawn by an admin on the initiating product. |
| 38 | * This proposal will be automatically deleted after some time. |
| 39 | * |
| 40 | * Generated from protobuf enum <code>WITHDRAWN = 3;</code> |
| 41 | */ |
| 42 | const WITHDRAWN = 3; |
| 43 | /** |
| 44 | * This proposal has been declined by an admin on the receiving product. This |
| 45 | * proposal will be automatically deleted after some time. |
| 46 | * |
| 47 | * Generated from protobuf enum <code>DECLINED = 4;</code> |
| 48 | */ |
| 49 | const DECLINED = 4; |
| 50 | /** |
| 51 | * This proposal expired due to lack of response from an admin on the |
| 52 | * receiving product. This proposal will be automatically deleted after some |
| 53 | * time. |
| 54 | * |
| 55 | * Generated from protobuf enum <code>EXPIRED = 5;</code> |
| 56 | */ |
| 57 | const EXPIRED = 5; |
| 58 | /** |
| 59 | * This proposal has become obsolete because a link was directly created to |
| 60 | * the same external product resource that this proposal specifies. This |
| 61 | * proposal will be automatically deleted after some time. |
| 62 | * |
| 63 | * Generated from protobuf enum <code>OBSOLETE = 6;</code> |
| 64 | */ |
| 65 | const OBSOLETE = 6; |
| 66 | |
| 67 | private static $valueToName = [ |
| 68 | self::LINK_PROPOSAL_STATE_UNSPECIFIED => 'LINK_PROPOSAL_STATE_UNSPECIFIED', |
| 69 | self::AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS => 'AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS', |
| 70 | self::AWAITING_REVIEW_FROM_LINKED_PRODUCT => 'AWAITING_REVIEW_FROM_LINKED_PRODUCT', |
| 71 | self::WITHDRAWN => 'WITHDRAWN', |
| 72 | self::DECLINED => 'DECLINED', |
| 73 | self::EXPIRED => 'EXPIRED', |
| 74 | self::OBSOLETE => 'OBSOLETE', |
| 75 | ]; |
| 76 | |
| 77 | public static function name($value) |
| 78 | { |
| 79 | if (!isset(self::$valueToName[$value])) { |
| 80 | throw new UnexpectedValueException(sprintf( |
| 81 | 'Enum %s has no name defined for value %s', __CLASS__, $value)); |
| 82 | } |
| 83 | return self::$valueToName[$value]; |
| 84 | } |
| 85 | |
| 86 | |
| 87 | public static function value($name) |
| 88 | { |
| 89 | $const = __CLASS__ . '::' . strtoupper($name); |
| 90 | if (!defined($const)) { |
| 91 | throw new UnexpectedValueException(sprintf( |
| 92 | 'Enum %s has no value defined for name %s', __CLASS__, $name)); |
| 93 | } |
| 94 | return constant($const); |
| 95 | } |
| 96 | } |
| 97 | |
| 98 |