/// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerConversionCustomVariable: return(s_customerConversionCustomVariable.Expand(CustomerId, ConversionCustomVariableId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerKeywordPlanAdGroupKeyword: return(s_customerKeywordPlanAdGroupKeyword.Expand(CustomerId, KeywordPlanAdGroupKeywordId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.ProjectLocationRepositoryDockerImage: return(s_projectLocationRepositoryDockerImage.Expand(ProjectId, LocationId, RepositoryId, DockerImageId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #4
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.GeoTargetConstant: return(s_geoTargetConstant.Expand(GeoTargetConstantId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #5
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerExpandedLandingPageView: return(s_customerExpandedLandingPageView.Expand(CustomerId, ExpandedLandingPageViewId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerOfflineUserDataJob: return(s_customerOfflineUserDataJob.Expand(CustomerId, OfflineUserDataJobId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerCampaignAdGroupQuery: return(s_customerCampaignAdGroupQuery.Expand(CustomerId, $"{CampaignId}~{AdGroupId}~{QueryId}"));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.OrganizationNotificationConfig: return(s_organizationNotificationConfig.Expand(OrganizationId, NotificationConfigId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.ProjectTenantProfile: return(s_projectTenantProfile.Expand(ProjectId, TenantId, ProfileId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #10
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerTimestampMicrosCommandIndexMutateIndex: return(s_customerTimestampMicrosCommandIndexMutateIndex.Expand(CustomerId, $"{TimestampMicrosId}~{CommandIndexId}~{MutateIndexId}"));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerAccountBudgetProposal: return(s_customerAccountBudgetProposal.Expand(CustomerId, AccountBudgetProposalId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #12
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.GoogleAdsField: return(s_googleAdsField.Expand(GoogleAdsFieldId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #13
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.AccountCustomerEntitlement: return(s_accountCustomerEntitlement.Expand(AccountId, CustomerId, EntitlementId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #14
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerAdGroupAdAssetCombinationIdLowAssetCombinationIdHigh: return(s_customerAdGroupAdAssetCombinationIdLowAssetCombinationIdHigh.Expand(CustomerId, $"{AdGroupId}~{AdId}~{AssetCombinationIdLowId}~{AssetCombinationIdHighId}"));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerDomainCategory: return(s_customerDomainCategory.Expand(CustomerId, DomainCategoryId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #16
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerAdGroupBase64Placement: return(s_customerAdGroupBase64Placement.Expand(CustomerId, $"{AdGroupId}~{Base64PlacementId}"));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #17
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.ProjectInstanceBackup: return(s_projectInstanceBackup.Expand(ProjectId, InstanceId, BackupId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.ProjectServiceAccountKey: return(s_projectServiceAccountKey.Expand(ProjectId, ServiceAccountId, KeyId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerAdGroupCriterionTypeModificationMethodStartDateEndDate: return(s_customerAdGroupCriterionTypeModificationMethodStartDateEndDate.Expand(CustomerId, $"{AdGroupId}~{CriterionId}~{TypeId}~{ModificationMethodId}~{StartDateId}~{EndDateId}"));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #20
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.ServiceSku: return(s_serviceSku.Expand(ServiceId, SkuId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #21
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerMerchantCenterLink: return(s_customerMerchantCenterLink.Expand(CustomerId, MerchantCenterLinkId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #22
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerFeedFeedItemSet: return(s_customerFeedFeedItemSet.Expand(CustomerId, $"{FeedId}~{FeedItemSetId}"));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerCampaignCriterion: return(s_customerCampaignCriterion.Expand(CustomerId, CampaignCriterionId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.ProjectLocationKeyRingCryptoKeyCryptoKeyVersion: return(s_projectLocationKeyRingCryptoKeyCryptoKeyVersion.Expand(ProjectId, LocationId, KeyRingId, CryptoKeyId, CryptoKeyVersionId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <inheritdoc/>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.ProjectLocationDeployment: return(s_projectLocationDeployment.Expand(ProjectId, LocationId, DeploymentId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.TagBinding: return(s_tagBinding.Expand(TagBindingId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.CustomerPlaceholderChainDistanceBucket: return(s_customerPlaceholderChainDistanceBucket.Expand(CustomerId, $"{PlaceholderChainId}~{DistanceBucketId}"));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
Example #28
0
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.ItemAItemBDetailsADetailsBDetailsCExtra: return(s_itemAItemBDetailsADetailsBDetailsCExtra.Expand($"{ItemAId}.{ItemBId}", $"{DetailsAId}_{DetailsBId}-{DetailsCId}", ExtraId));

            case ResourceNameType.AB1B2B3: return(s_aB1B2B3.Expand(AId, $"{B1Id}~{B2Id}~{B3Id}"));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.RootAItem: return(s_rootAItem.Expand(RootAId, ItemId));

            case ResourceNameType.RootBItem: return(s_rootBItem.Expand(RootBId, ItemId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }
        /// <summary>The string representation of the resource name.</summary>
        /// <returns>The string representation of the resource name.</returns>
        public override string ToString()
        {
            switch (Type)
            {
            case ResourceNameType.Unparsed: return(UnparsedResource.ToString());

            case ResourceNameType.OrganizationAsset: return(s_organizationAsset.Expand(OrganizationId, AssetId));

            case ResourceNameType.OrganizationSourceFinding: return(s_organizationSourceFinding.Expand(OrganizationId, SourceId, FindingId));

            default: throw new sys::InvalidOperationException("Unrecognized resource-type.");
            }
        }