Class InsightName (2.9.0)

public class InsightName implements ResourceName

Inheritance

Object > InsightName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String insightType, String insight)

public static String format(String project, String location, String insightType, String insight)
Parameters
NameDescription
projectString
locationString
insightTypeString
insightString
Returns
TypeDescription
String

formatBillingAccountLocationInsightTypeInsightName(String billingAccount, String location, String insightType, String insight)

public static String formatBillingAccountLocationInsightTypeInsightName(String billingAccount, String location, String insightType, String insight)
Parameters
NameDescription
billingAccountString
locationString
insightTypeString
insightString
Returns
TypeDescription
String

formatFolderLocationInsightTypeInsightName(String folder, String location, String insightType, String insight)

public static String formatFolderLocationInsightTypeInsightName(String folder, String location, String insightType, String insight)
Parameters
NameDescription
folderString
locationString
insightTypeString
insightString
Returns
TypeDescription
String

formatOrganizationLocationInsightTypeInsightName(String organization, String location, String insightType, String insight)

public static String formatOrganizationLocationInsightTypeInsightName(String organization, String location, String insightType, String insight)
Parameters
NameDescription
organizationString
locationString
insightTypeString
insightString
Returns
TypeDescription
String

formatProjectLocationInsightTypeInsightName(String project, String location, String insightType, String insight)

public static String formatProjectLocationInsightTypeInsightName(String project, String location, String insightType, String insight)
Parameters
NameDescription
projectString
locationString
insightTypeString
insightString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBillingAccountLocationInsightTypeInsightBuilder()

public static InsightName.BillingAccountLocationInsightTypeInsightBuilder newBillingAccountLocationInsightTypeInsightBuilder()
Returns
TypeDescription
InsightName.BillingAccountLocationInsightTypeInsightBuilder

newBuilder()

public static InsightName.Builder newBuilder()
Returns
TypeDescription
InsightName.Builder

newFolderLocationInsightTypeInsightBuilder()

public static InsightName.FolderLocationInsightTypeInsightBuilder newFolderLocationInsightTypeInsightBuilder()
Returns
TypeDescription
InsightName.FolderLocationInsightTypeInsightBuilder

newOrganizationLocationInsightTypeInsightBuilder()

public static InsightName.OrganizationLocationInsightTypeInsightBuilder newOrganizationLocationInsightTypeInsightBuilder()
Returns
TypeDescription
InsightName.OrganizationLocationInsightTypeInsightBuilder

newProjectLocationInsightTypeInsightBuilder()

public static InsightName.Builder newProjectLocationInsightTypeInsightBuilder()
Returns
TypeDescription
InsightName.Builder

of(String project, String location, String insightType, String insight)

public static InsightName of(String project, String location, String insightType, String insight)
Parameters
NameDescription
projectString
locationString
insightTypeString
insightString
Returns
TypeDescription
InsightName

ofBillingAccountLocationInsightTypeInsightName(String billingAccount, String location, String insightType, String insight)

public static InsightName ofBillingAccountLocationInsightTypeInsightName(String billingAccount, String location, String insightType, String insight)
Parameters
NameDescription
billingAccountString
locationString
insightTypeString
insightString
Returns
TypeDescription
InsightName

ofFolderLocationInsightTypeInsightName(String folder, String location, String insightType, String insight)

public static InsightName ofFolderLocationInsightTypeInsightName(String folder, String location, String insightType, String insight)
Parameters
NameDescription
folderString
locationString
insightTypeString
insightString
Returns
TypeDescription
InsightName

ofOrganizationLocationInsightTypeInsightName(String organization, String location, String insightType, String insight)

public static InsightName ofOrganizationLocationInsightTypeInsightName(String organization, String location, String insightType, String insight)
Parameters
NameDescription
organizationString
locationString
insightTypeString
insightString
Returns
TypeDescription
InsightName

ofProjectLocationInsightTypeInsightName(String project, String location, String insightType, String insight)

public static InsightName ofProjectLocationInsightTypeInsightName(String project, String location, String insightType, String insight)
Parameters
NameDescription
projectString
locationString
insightTypeString
insightString
Returns
TypeDescription
InsightName

parse(String formattedString)

public static InsightName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
InsightName

parseList(List<String> formattedStrings)

public static List<InsightName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<InsightName>

toStringList(List<InsightName> values)

public static List<String> toStringList(List<InsightName> values)
Parameter
NameDescription
valuesList<InsightName>
Returns
TypeDescription
List<String>

Constructors

InsightName()

protected InsightName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getBillingAccount()

public String getBillingAccount()
Returns
TypeDescription
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getFolder()

public String getFolder()
Returns
TypeDescription
String

getInsight()

public String getInsight()
Returns
TypeDescription
String

getInsightType()

public String getInsightType()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getOrganization()

public String getOrganization()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public InsightName.Builder toBuilder()
Returns
TypeDescription
InsightName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides