Class InsightName
- java.lang.Object
-
- com.google.cloud.recommender.v1beta1.InsightName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class InsightName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InsightName.BillingAccountLocationInsightTypeInsightBuilder
Builder for billingAccounts/{billing_account}/locations/{location}/insightTypes/{insight_type}/insights/{insight}.static class
InsightName.Builder
Builder for projects/{project}/locations/{location}/insightTypes/{insight_type}/insights/{insight}.static class
InsightName.FolderLocationInsightTypeInsightBuilder
Builder for folders/{folder}/locations/{location}/insightTypes/{insight_type}/insights/{insight}.static class
InsightName.OrganizationLocationInsightTypeInsightBuilder
Builder for organizations/{organization}/locations/{location}/insightTypes/{insight_type}/insights/{insight}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
InsightName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
InsightName
@Deprecated protected InsightName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getInsightType
public String getInsightType()
-
getInsight
public String getInsight()
-
getBillingAccount
public String getBillingAccount()
-
getFolder
public String getFolder()
-
getOrganization
public String getOrganization()
-
newBuilder
public static InsightName.Builder newBuilder()
-
newProjectLocationInsightTypeInsightBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static InsightName.Builder newProjectLocationInsightTypeInsightBuilder()
-
newBillingAccountLocationInsightTypeInsightBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static InsightName.BillingAccountLocationInsightTypeInsightBuilder newBillingAccountLocationInsightTypeInsightBuilder()
-
newFolderLocationInsightTypeInsightBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static InsightName.FolderLocationInsightTypeInsightBuilder newFolderLocationInsightTypeInsightBuilder()
-
newOrganizationLocationInsightTypeInsightBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static InsightName.OrganizationLocationInsightTypeInsightBuilder newOrganizationLocationInsightTypeInsightBuilder()
-
toBuilder
public InsightName.Builder toBuilder()
-
of
public static InsightName of(String project, String location, String insightType, String insight)
-
ofProjectLocationInsightTypeInsightName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static InsightName ofProjectLocationInsightTypeInsightName(String project, String location, String insightType, String insight)
-
ofBillingAccountLocationInsightTypeInsightName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static InsightName ofBillingAccountLocationInsightTypeInsightName(String billingAccount, String location, String insightType, String insight)
-
ofFolderLocationInsightTypeInsightName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static InsightName ofFolderLocationInsightTypeInsightName(String folder, String location, String insightType, String insight)
-
ofOrganizationLocationInsightTypeInsightName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static InsightName ofOrganizationLocationInsightTypeInsightName(String organization, String location, String insightType, String insight)
-
format
public static String format(String project, String location, String insightType, String insight)
-
formatProjectLocationInsightTypeInsightName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationInsightTypeInsightName(String project, String location, String insightType, String insight)
-
formatBillingAccountLocationInsightTypeInsightName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountLocationInsightTypeInsightName(String billingAccount, String location, String insightType, String insight)
-
formatFolderLocationInsightTypeInsightName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderLocationInsightTypeInsightName(String folder, String location, String insightType, String insight)
-
formatOrganizationLocationInsightTypeInsightName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationLocationInsightTypeInsightName(String organization, String location, String insightType, String insight)
-
parse
public static InsightName parse(String formattedString)
-
parseList
public static List<InsightName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<InsightName> values)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-